Re: [oVirt Jenkins] ovirt-engine_master_dao-unit-tests_merged - Build # 13748 - Failure!

On Mon, Nov 16, 2015 at 12:05 PM, <jenkins@ovirt.org> wrote:
*** WARNING: THE ATTACHED DOCUMENT(S) CONTAIN MACROS *** *** MACROS MAY CONTAIN MALICIOUS CODE *** *** Open only if you can verify and trust the sender *** *** Please contact infosec@redhat.com if you have questions or concerns **
Project: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/ Build: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/13748... Build Number: 13748 Build Status: Failure Triggered By: Triggered by Gerrit: https://gerrit.ovirt.org/48591
Console has: 10:05:27 [ERROR] COMPILATION ERROR : 10:05:27 [INFO] ------------------------------------------------------------- 10:05:27 [ERROR] Failure executing javac, but could not parse the error: 10:05:27 javac: invalid target release: 1.8 Also (before that): 10:01:32 + DB_NAME=ovirt_engine_master_dao_unit_tests_merged_13748 10:01:32 + pwd 10:01:32 /home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged 10:01:32 + sudo -u postgres psql -d template1 -c 'create role engine;' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ERROR: role "engine" already exists 10:01:32 + : 10:01:32 + sudo -u postgres psql -d template1 -c 'ALTER ROLE engine WITH login' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ALTER ROLE 10:01:32 + sudo -u postgres dropdb engine 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:33 dropdb: database removal failed: ERROR: database "engine" does not exist 10:01:33 + : 10:01:33 + sudo -u postgres psql -d template1 -c 'create database ovirt_engine_master_dao_unit_tests_merged_13748 owner engine;' 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:02:07 CREATE DATABASE 10:02:07 + PGPASSWORD=engine 10:02:07 + ./packaging/dbscripts/schema.sh -c apply -d ovirt_engine_master_dao_unit_tests_merged_13748 -u engine Perhaps a full disk or something. Also not sure what exactly we are doing there. Why not just run 'engine-setup' and let it create stuff?
------------------------------------- Changes Since Last Success: ------------------------------------- Changes for Build #13748 [Yedidyah Bar David] packaging: engine-backup: Fix failure notifications
----------------- Failed Tests: ----------------- No tests ran.
-- Didi

On Mon, Nov 16, 2015 at 12:36 PM, Yedidyah Bar David <didi@redhat.com> wrote:
On Mon, Nov 16, 2015 at 12:05 PM, <jenkins@ovirt.org> wrote:
*** WARNING: THE ATTACHED DOCUMENT(S) CONTAIN MACROS *** *** MACROS MAY CONTAIN MALICIOUS CODE *** *** Open only if you can verify and trust the sender *** *** Please contact infosec@redhat.com if you have questions or concerns **
Project: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/ Build: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/13748... Build Number: 13748 Build Status: Failure Triggered By: Triggered by Gerrit: https://gerrit.ovirt.org/48591
Console has:
10:05:27 [ERROR] COMPILATION ERROR : 10:05:27 [INFO] ------------------------------------------------------------- 10:05:27 [ERROR] Failure executing javac, but could not parse the error: 10:05:27 javac: invalid target release: 1.8
looks like java 1.8 isn't installed on the slave, barak - can you check?
Also (before that):
10:01:32 + DB_NAME=ovirt_engine_master_dao_unit_tests_merged_13748 10:01:32 + pwd 10:01:32 /home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged 10:01:32 + sudo -u postgres psql -d template1 -c 'create role engine;' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ERROR: role "engine" already exists 10:01:32 + : 10:01:32 + sudo -u postgres psql -d template1 -c 'ALTER ROLE engine WITH login' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ALTER ROLE 10:01:32 + sudo -u postgres dropdb engine 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:33 dropdb: database removal failed: ERROR: database "engine" does not exist 10:01:33 + : 10:01:33 + sudo -u postgres psql -d template1 -c 'create database ovirt_engine_master_dao_unit_tests_merged_13748 owner engine;' 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:02:07 CREATE DATABASE 10:02:07 + PGPASSWORD=engine 10:02:07 + ./packaging/dbscripts/schema.sh -c apply -d ovirt_engine_master_dao_unit_tests_merged_13748 -u engine
Perhaps a full disk or something.
Also not sure what exactly we are doing there. Why not just run 'engine-setup' and let it create stuff?
its not the purpose of the test, this is like unit tests, but for engine-db. the same reason you're not running engine-setup when you run unit-tests, there is separate job to test the setup.
------------------------------------- Changes Since Last Success: ------------------------------------- Changes for Build #13748 [Yedidyah Bar David] packaging: engine-backup: Fix failure notifications
----------------- Failed Tests: ----------------- No tests ran.
-- Didi _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Eyal Edri Supervisor, RHEV CI EMEA ENG Virtualization R&D Red Hat Israel phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)

On 16 November 2015 at 12:36, Yedidyah Bar David <didi@redhat.com> wrote:
On Mon, Nov 16, 2015 at 12:05 PM, <jenkins@ovirt.org> wrote:
*** WARNING: THE ATTACHED DOCUMENT(S) CONTAIN MACROS *** *** MACROS MAY CONTAIN MALICIOUS CODE *** *** Open only if you can verify and trust the sender *** *** Please contact infosec@redhat.com if you have questions or concerns **
Project: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/ Build: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/13748... Build Number: 13748 Build Status: Failure Triggered By: Triggered by Gerrit: https://gerrit.ovirt.org/48591
Console has:
10:05:27 [ERROR] COMPILATION ERROR : 10:05:27 [INFO] ------------------------------------------------------------- 10:05:27 [ERROR] Failure executing javac, but could not parse the error: 10:05:27 javac: invalid target release: 1.8
This looks like the job is using java 7 instead of java 8, it probably need to be updated to set the right JAVA_HOME.
Also (before that):
10:01:32 + DB_NAME=ovirt_engine_master_dao_unit_tests_merged_13748 10:01:32 + pwd 10:01:32 /home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged 10:01:32 + sudo -u postgres psql -d template1 -c 'create role engine;' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ERROR: role "engine" already exists 10:01:32 + : 10:01:32 + sudo -u postgres psql -d template1 -c 'ALTER ROLE engine WITH login' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ALTER ROLE 10:01:32 + sudo -u postgres dropdb engine 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:33 dropdb: database removal failed: ERROR: database "engine" does not exist 10:01:33 + : 10:01:33 + sudo -u postgres psql -d template1 -c 'create database ovirt_engine_master_dao_unit_tests_merged_13748 owner engine;' 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:02:07 CREATE DATABASE 10:02:07 + PGPASSWORD=engine 10:02:07 + ./packaging/dbscripts/schema.sh -c apply -d ovirt_engine_master_dao_unit_tests_merged_13748 -u engine
Perhaps a full disk or something.
Also not sure what exactly we are doing there. Why not just run 'engine-setup' and let it create stuff?
Not sure either, who is responsible for this job? (hint, not the infra team, I don't think its even YAMLized...)
------------------------------------- Changes Since Last Success: ------------------------------------- Changes for Build #13748 [Yedidyah Bar David] packaging: engine-backup: Fix failure notifications
----------------- Failed Tests: ----------------- No tests ran.
-- Didi _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Barak Korren bkorren@redhat.com RHEV-CI Team

On Mon, Nov 16, 2015 at 12:47 PM, Barak Korren <bkorren@redhat.com> wrote:
On 16 November 2015 at 12:36, Yedidyah Bar David <didi@redhat.com> wrote:
On Mon, Nov 16, 2015 at 12:05 PM, <jenkins@ovirt.org> wrote:
*** WARNING: THE ATTACHED DOCUMENT(S) CONTAIN MACROS *** *** MACROS MAY CONTAIN MALICIOUS CODE *** *** Open only if you can verify and trust the sender *** *** Please contact infosec@redhat.com if you have questions or concerns **
Project: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/ Build: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/13748... Build Number: 13748 Build Status: Failure Triggered By: Triggered by Gerrit: https://gerrit.ovirt.org/48591
Console has:
10:05:27 [ERROR] COMPILATION ERROR : 10:05:27 [INFO]
10:05:27 [ERROR] Failure executing javac, but could not parse the error: 10:05:27 javac: invalid target release: 1.8
This looks like the job is using java 7 instead of java 8, it probably need to be updated to set the right JAVA_HOME.
Also (before that):
10:01:32 + DB_NAME=ovirt_engine_master_dao_unit_tests_merged_13748 10:01:32 + pwd 10:01:32 /home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged 10:01:32 + sudo -u postgres psql -d template1 -c 'create role engine;' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ERROR: role "engine" already exists 10:01:32 + : 10:01:32 + sudo -u postgres psql -d template1 -c 'ALTER ROLE engine WITH login' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ALTER ROLE 10:01:32 + sudo -u postgres dropdb engine 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:33 dropdb: database removal failed: ERROR: database "engine" does not exist 10:01:33 + : 10:01:33 + sudo -u postgres psql -d template1 -c 'create database ovirt_engine_master_dao_unit_tests_merged_13748 owner engine;' 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:02:07 CREATE DATABASE 10:02:07 + PGPASSWORD=engine 10:02:07 + ./packaging/dbscripts/schema.sh -c apply -d ovirt_engine_master_dao_unit_tests_merged_13748 -u engine
Perhaps a full disk or something.
Also not sure what exactly we are doing there. Why not just run 'engine-setup' and let it create stuff?
Not sure either, who is responsible for this job? (hint, not the infra team, I don't think its even YAMLized...)
first contact for this job for dev issues is the ovirt infra dev team, same as unit tests. (email to devel@ovirt.org also can work) but of course this is an infra ci issue of missing jdk, so we'll handle it.
------------------------------------- Changes Since Last Success: ------------------------------------- Changes for Build #13748 [Yedidyah Bar David] packaging: engine-backup: Fix failure notifications
----------------- Failed Tests: ----------------- No tests ran.
-- Didi _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Barak Korren bkorren@redhat.com RHEV-CI Team _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Eyal Edri Supervisor, RHEV CI EMEA ENG Virtualization R&D Red Hat Israel phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)

On 16 November 2015 at 12:48, Eyal Edri <eedri@redhat.com> wrote:
On Mon, Nov 16, 2015 at 12:47 PM, Barak Korren <bkorren@redhat.com> wrote:
On 16 November 2015 at 12:36, Yedidyah Bar David <didi@redhat.com> wrote:
On Mon, Nov 16, 2015 at 12:05 PM, <jenkins@ovirt.org> wrote:
*** WARNING: THE ATTACHED DOCUMENT(S) CONTAIN MACROS *** *** MACROS MAY CONTAIN MALICIOUS CODE *** *** Open only if you can verify and trust the sender *** *** Please contact infosec@redhat.com if you have questions or concerns **
Project: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/ Build: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/13748... Build Number: 13748 Build Status: Failure Triggered By: Triggered by Gerrit: https://gerrit.ovirt.org/48591
Console has:
10:05:27 [ERROR] COMPILATION ERROR : 10:05:27 [INFO] ------------------------------------------------------------- 10:05:27 [ERROR] Failure executing javac, but could not parse the error: 10:05:27 javac: invalid target release: 1.8
This looks like the job is using java 7 instead of java 8, it probably need to be updated to set the right JAVA_HOME.
Also (before that):
10:01:32 + DB_NAME=ovirt_engine_master_dao_unit_tests_merged_13748 10:01:32 + pwd 10:01:32 /home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged 10:01:32 + sudo -u postgres psql -d template1 -c 'create role engine;' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ERROR: role "engine" already exists 10:01:32 + : 10:01:32 + sudo -u postgres psql -d template1 -c 'ALTER ROLE engine WITH login' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ALTER ROLE 10:01:32 + sudo -u postgres dropdb engine 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:33 dropdb: database removal failed: ERROR: database "engine" does not exist 10:01:33 + : 10:01:33 + sudo -u postgres psql -d template1 -c 'create database ovirt_engine_master_dao_unit_tests_merged_13748 owner engine;' 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:02:07 CREATE DATABASE 10:02:07 + PGPASSWORD=engine 10:02:07 + ./packaging/dbscripts/schema.sh -c apply -d ovirt_engine_master_dao_unit_tests_merged_13748 -u engine
Perhaps a full disk or something.
Also not sure what exactly we are doing there. Why not just run 'engine-setup' and let it create stuff?
Not sure either, who is responsible for this job? (hint, not the infra team, I don't think its even YAMLized...)
first contact for this job for dev issues is the ovirt infra dev team, same as unit tests. (email to devel@ovirt.org also can work) but of course this is an infra ci issue of missing jdk, so we'll handle it.
AFAIK there should already be both java 7 and java 8 on all slaves, we updated Puppet for this weeks ago. But this is running on EL6 where java 7 is still supposed to be used AFAIK. So it might actually be a code problem or we need to move the job. (Hmm, its a master job so shouldn't it run on EL7?)
------------------------------------- Changes Since Last Success: ------------------------------------- Changes for Build #13748 [Yedidyah Bar David] packaging: engine-backup: Fix failure notifications
----------------- Failed Tests: ----------------- No tests ran.
-- Didi _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Barak Korren bkorren@redhat.com RHEV-CI Team _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Eyal Edri Supervisor, RHEV CI EMEA ENG Virtualization R&D Red Hat Israel
phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)
-- Barak Korren bkorren@redhat.com RHEV-CI Team

another possible issue is master is probably using postgres server 9.x while 3.6 used 8.x, so it might cause some versions diffs (if not now, then surely as we move into 4.0) e. On Mon, Nov 16, 2015 at 12:55 PM, Barak Korren <bkorren@redhat.com> wrote:
On 16 November 2015 at 12:48, Eyal Edri <eedri@redhat.com> wrote:
On Mon, Nov 16, 2015 at 12:47 PM, Barak Korren <bkorren@redhat.com>
wrote:
On 16 November 2015 at 12:36, Yedidyah Bar David <didi@redhat.com>
wrote:
On Mon, Nov 16, 2015 at 12:05 PM, <jenkins@ovirt.org> wrote:
*** WARNING: THE ATTACHED DOCUMENT(S) CONTAIN MACROS *** *** MACROS MAY CONTAIN MALICIOUS CODE *** *** Open only if you can verify and trust the sender *** *** Please contact infosec@redhat.com if you have questions or concerns **
Project:
http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/
Build:
http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/13748...
Build Number: 13748 Build Status: Failure Triggered By: Triggered by Gerrit: https://gerrit.ovirt.org/48591
Console has:
10:05:27 [ERROR] COMPILATION ERROR : 10:05:27 [INFO] ------------------------------------------------------------- 10:05:27 [ERROR] Failure executing javac, but could not parse the error: 10:05:27 javac: invalid target release: 1.8
This looks like the job is using java 7 instead of java 8, it probably need to be updated to set the right JAVA_HOME.
Also (before that):
10:01:32 + DB_NAME=ovirt_engine_master_dao_unit_tests_merged_13748 10:01:32 + pwd 10:01:32 /home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged 10:01:32 + sudo -u postgres psql -d template1 -c 'create role engine;' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ERROR: role "engine" already exists 10:01:32 + : 10:01:32 + sudo -u postgres psql -d template1 -c 'ALTER ROLE engine WITH login' 10:01:32 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:32 ALTER ROLE 10:01:32 + sudo -u postgres dropdb engine 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:01:33 dropdb: database removal failed: ERROR: database "engine" does not exist 10:01:33 + : 10:01:33 + sudo -u postgres psql -d template1 -c 'create database ovirt_engine_master_dao_unit_tests_merged_13748 owner engine;' 10:01:33 could not change directory to "/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_merged" 10:02:07 CREATE DATABASE 10:02:07 + PGPASSWORD=engine 10:02:07 + ./packaging/dbscripts/schema.sh -c apply -d ovirt_engine_master_dao_unit_tests_merged_13748 -u engine
Perhaps a full disk or something.
Also not sure what exactly we are doing there. Why not just run 'engine-setup' and let it create stuff?
Not sure either, who is responsible for this job? (hint, not the infra team, I don't think its even YAMLized...)
first contact for this job for dev issues is the ovirt infra dev team, same as unit tests. (email to devel@ovirt.org also can work) but of course this is an infra ci issue of missing jdk, so we'll handle it.
AFAIK there should already be both java 7 and java 8 on all slaves, we updated Puppet for this weeks ago. But this is running on EL6 where java 7 is still supposed to be used AFAIK. So it might actually be a code problem or we need to move the job. (Hmm, its a master job so shouldn't it run on EL7?)
------------------------------------- Changes Since Last Success: ------------------------------------- Changes for Build #13748 [Yedidyah Bar David] packaging: engine-backup: Fix failure notifications
----------------- Failed Tests: ----------------- No tests ran.
-- Didi _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Barak Korren bkorren@redhat.com RHEV-CI Team _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Eyal Edri Supervisor, RHEV CI EMEA ENG Virtualization R&D Red Hat Israel
phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)
-- Barak Korren bkorren@redhat.com RHEV-CI Team
-- Eyal Edri Supervisor, RHEV CI EMEA ENG Virtualization R&D Red Hat Israel phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)
participants (3)
-
Barak Korren
-
Eyal Edri
-
Yedidyah Bar David