Build failed in Jenkins: ovirt_4.0_he-system-tests #638

jenkins at jenkins.phx.ovirt.org jenkins at jenkins.phx.ovirt.org
Tue Jan 17 17:47:35 UTC 2017


See <http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/638/changes>

Changes:

[Gal Ben Haim] Output ldap logs to /var/log

------------------------------------------
[...truncated 99.48 KB...]
++ awk '{split($4,a,"."); print a[1] "." a[2] "." a[3] ".1"}'
++ awk -F/ '{print $1}'
+ HEGW=192.168.200.1
++ /sbin/ip -4 -o addr show dev eth0
++ awk '{split($4,a,"."); print a[1] "." a[2] "." a[3] ".99"}'
++ awk -F/ '{print $1}'
+ HEADDR=192.168.200.99
+ echo '192.168.200.99 lago-he-basic-suite-4-0-engine lago-he-basic-suite-4-0-engine.lago.local'
+ VMPASS=123456
+ ENGINEPASS=123
++ tail -11
++ ls /usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.0-20170116.1.el7.centos.ova
+ OVAIMAGE=/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.0-20170116.1.el7.centos.ova
+ sed -e s, at GW@,192.168.200.1,g -e s, at ADDR@,192.168.200.99,g -e s, at OVAIMAGE@,/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.0-20170116.1.el7.centos.ova,g -e s, at VMPASS@,123456,g -e s, at ENGINEPASS@,123,g -e s, at DOMAIN@,lago.local,g -e s, at MYHOSTNAME@,lago-he-basic-suite-4-0-host0,g -e s, at HOSTEDENGINE@,lago-he-basic-suite-4-0-engine,g
+ fstrim -va
/var/tmp: 60 GiB (64392904704 bytes) trimmed
+ rm -rf /dev/shm/yum
+ hosted-engine --deploy --config-append=/root/hosted-engine-deploy-answers-file.conf
[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
          During customization use CTRL-D to abort.
[ INFO  ] Hardware supports virtualization
          Configuration files: ['/root/hosted-engine-deploy-answers-file.conf']
          Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20170117124637-923bru.log
          Version: otopi-1.5.3_master (otopi-1.5.3-0.0.master.20160904080106.git4d1e74e.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Generating libvirt-spice certificates
[WARNING] Cannot locate gluster packages, Hyper Converged setup support will be disabled.
[ INFO  ] Please abort the setup and install vdsm-gluster, gluster-server >= 3.7.2 and restart vdsmd service in order to gain Hyper Converged setup support.
[ INFO  ] Stage: Environment customization
         
          --== STORAGE CONFIGURATION ==--
         
[ INFO  ] Installing on first host
         
          --== SYSTEM CONFIGURATION ==--
         
         
          --== NETWORK CONFIGURATION ==--
         
         
          --== VM CONFIGURATION ==--
         
[ INFO  ] Checking OVF archive content (could take a few minutes depending on archive size)
[ INFO  ] Checking OVF XML content (could take a few minutes depending on archive size)
[WARNING] OVF does not contain a valid image description, using default.
          The following CPU types are supported by this host:
          	 - model_Westmere: Intel Westmere Family
          	 - model_Nehalem: Intel Nehalem Family
          	 - model_Penryn: Intel Penryn Family
          	 - model_Conroe: Intel Conroe Family
[ ERROR ] Failed to execute stage 'Environment customization': Invalid CPU type specified: model_SandyBridge
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20170117124727.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed
          Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20170117124637-923bru.log
hosted-engine deploy on lago-he-basic-suite-4-0-host0 failed with status 1.
+ RET_CODE=1
+ '[' 1 -ne 0 ']'
+ echo 'hosted-engine deploy on lago-he-basic-suite-4-0-host0 failed with status 1.'
+ exit 1
+ RET_CODE=1
+ '[' 1 -ne 0 ']'
+ echo 'hosted-engine setup on lago-he-basic-suite-4-0-host0 failed with status 1.'
hosted-engine setup on lago-he-basic-suite-4-0-host0 failed with status 1.
+ exit 1
+ res=1
+ exit 1
+ cleanup /dev/shm/ost/deployment-he-basic-suite-4.0
+ local run_path=/dev/shm/ost/deployment-he-basic-suite-4.0
+ echo 'suite.sh: moving artifacts'
suite.sh: moving artifacts
+ rm -rf exported-artifacts
+ mkdir -p exported-artifacts
+ [[ -d /dev/shm/ost/deployment-he-basic-suite-4.0/current/logs ]]
+ mv /dev/shm/ost/deployment-he-basic-suite-4.0/current/logs exported-artifacts/lago_logs
+ find /dev/shm/ost/deployment-he-basic-suite-4.0 -iname 'nose*.xml' -exec mv '{}' exported-artifacts/ ';'
+ [[ -d test_logs ]]
+ [[ -e failure_msg.txt ]]
+ mv failure_msg.txt exported-artifacts/
+ ./run_suite.sh -o /dev/shm/ost/deployment-he-basic-suite-4.0 --cleanup he-basic-suite-4.0
+ CLI=lago
+ DO_CLEANUP=false
+ RECOMMENDED_RAM_IN_MB=8196
+ EXTRA_SOURCES=()
++ getopt -o ho:e:n:b:cs:r: --long help,output:,engine:,node:,boot-iso:,cleanup --long extra-rpm-source,reposync-config: -n run_suite.sh -- -o /dev/shm/ost/deployment-he-basic-suite-4.0 --cleanup he-basic-suite-4.0
+ options=' -o '\''/dev/shm/ost/deployment-he-basic-suite-4.0'\'' --cleanup -- '\''he-basic-suite-4.0'\'''
+ [[ 0 != \0 ]]
+ eval set -- ' -o '\''/dev/shm/ost/deployment-he-basic-suite-4.0'\'' --cleanup -- '\''he-basic-suite-4.0'\'''
++ set -- -o /dev/shm/ost/deployment-he-basic-suite-4.0 --cleanup -- he-basic-suite-4.0
+ true
+ case $1 in
++ realpath /dev/shm/ost/deployment-he-basic-suite-4.0
+ PREFIX=/dev/shm/ost/deployment-he-basic-suite-4.0
+ shift 2
+ true
+ case $1 in
+ DO_CLEANUP=true
+ shift
+ true
+ case $1 in
+ shift
+ break
+ [[ -z he-basic-suite-4.0 ]]
++ realpath he-basic-suite-4.0
+ export SUITE=<http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/he-basic-suite-4.0>
+ SUITE=<http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/he-basic-suite-4.0>
+ '[' -z /dev/shm/ost/deployment-he-basic-suite-4.0 ']'
+ true
+ env_cleanup
+ echo '#########################'
#########################
+ local res=0
+ local uuid
+ echo '======== Cleaning up'
======== Cleaning up
+ [[ -e /dev/shm/ost/deployment-he-basic-suite-4.0 ]]
+ echo '----------- Cleaning with lago'
----------- Cleaning with lago
+ lago --workdir /dev/shm/ost/deployment-he-basic-suite-4.0 destroy --yes --all-prefixes
current session does not belong to lago group.
@ Cleanup prefix: 
  # Stop prefix: 
  # Stop prefix: 
    * Stop vms: 
    * Stop vms: Success (in 0:00:00)
    * Stop nets: 
    * Stop nets: Success (in 0:00:00)
  # Stop prefix: Success (in 0:00:00)
  # Tag prefix as uninitialized: 
  # Tag prefix as uninitialized: Success (in 0:00:00)
@ Cleanup prefix: Success (in 0:00:00)
+ echo '----------- Cleaning with lago done'
----------- Cleaning with lago done
+ [[ 0 != \0 ]]
+ echo '======== Cleanup done'
======== Cleanup done
+ exit 0
+ exit
Took 318 seconds
===================================
logout
Finish: shell
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@ Tue Jan 17 17:47:29 UTC 2017 automation/he_basic_suite_4.0.sh chroot finished
@@      took 414 seconds
@@      rc = 1
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
========== Scrubbing chroot
    mock \
        --configdir="<http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests"> \
        --root="mocker-epel-7-x86_64.el7" \
        --resultdir="./mock_logs.LEwg3iWs/mocker-epel-7-x86_64.el7.scrub" \
        --scrub=chroot
WARNING: Could not find required logging config file: <http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/logging.ini.> Using default...
INFO: mock.py version 1.2.21 starting (python version = 3.4.3)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: scrub ['chroot']
INFO: scrubbing chroot for mocker-epel-7-x86_64.el7
Finish: scrub ['chroot']
Finish: run
Scrub chroot took 6 seconds
============================
##########################################################
## Tue Jan 17 17:47:35 UTC 2017 Finished env: el7:epel-7-x86_64
##      took 420 seconds
##      rc = 1
##########################################################
##! ERROR vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
##! Last 20 log entries: ./mock_logs.LEwg3iWs/mocker-epel-7-x86_64.el7.he_basic_suite_4.0.sh/he_basic_suite_4.0.sh.log
##!
@ Cleanup prefix: 
  # Stop prefix: 
  # Stop prefix: 
    * Stop vms: 
    * Stop vms: Success (in 0:00:00)
    * Stop nets: 
    * Stop nets: Success (in 0:00:00)
  # Stop prefix: Success (in 0:00:00)
  # Tag prefix as uninitialized: 
  # Tag prefix as uninitialized: Success (in 0:00:00)
@ Cleanup prefix: Success (in 0:00:00)
+ echo '----------- Cleaning with lago done'
----------- Cleaning with lago done
+ [[ 0 != \0 ]]
+ echo '======== Cleanup done'
======== Cleanup done
+ exit 0
+ exit
Took 318 seconds
===================================
##!
##! ERROR ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
##!########################################################
Collecting mock logs
‘./mock_logs.LEwg3iWs/mocker-epel-7-x86_64.el7.clean_rpmdb’ -> ‘exported-artifacts/mock_logs/mocker-epel-7-x86_64.el7.clean_rpmdb’
‘./mock_logs.LEwg3iWs/mocker-epel-7-x86_64.el7.he_basic_suite_4.0.sh’ -> ‘exported-artifacts/mock_logs/mocker-epel-7-x86_64.el7.he_basic_suite_4.0.sh’
‘./mock_logs.LEwg3iWs/mocker-epel-7-x86_64.el7.init’ -> ‘exported-artifacts/mock_logs/mocker-epel-7-x86_64.el7.init’
##########################################################
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for :.* : True
Logical operation result is TRUE
Running script  : #!/bin/bash -xe
echo 'shell_scripts/system_tests.collect_logs.sh'

#
# Required jjb vars:
#    version
#
VERSION=4.0
SUITE_TYPE=

WORKSPACE="$PWD"
OVIRT_SUITE="$SUITE_TYPE_suite_$VERSION"
TESTS_LOGS="$WORKSPACE/ovirt-system-tests/exported-artifacts"

rm -rf "$WORKSPACE/exported-artifacts"
mkdir -p "$WORKSPACE/exported-artifacts"

if [[ -d "$TESTS_LOGS" ]]; then
    mv "$TESTS_LOGS/"* "$WORKSPACE/exported-artifacts/"
fi

[ovirt_4.0_he-system-tests] $ /bin/bash -xe /tmp/hudson8948629729969729385.sh
+ echo shell_scripts/system_tests.collect_logs.sh
shell_scripts/system_tests.collect_logs.sh
+ VERSION=4.0
+ SUITE_TYPE=
+ WORKSPACE=<http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/>
+ OVIRT_SUITE=4.0
+ TESTS_LOGS=<http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/exported-artifacts>
+ rm -rf <http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/638/artifact/exported-artifacts>
+ mkdir -p <http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/638/artifact/exported-artifacts>
+ [[ -d <http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/exported-artifacts> ]]
+ mv <http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/exported-artifacts/failure_msg.txt> <http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/exported-artifacts/lago_logs> <http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/exported-artifacts/mock_logs> <http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/638/artifact/exported-artifacts/>
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Archiving artifacts


More information about the Infra mailing list