← Back to team overview

maas-devel team mailing list archive

Re: Build failed in Jenkins: quantal-adt-maas » amd64,maas-lenovo-lab #203

 

I think this one failed because jenkins is using the testing PPA rather
than the dailybuilds. We have another job for the dailybuilds package which
passes all tests with a more recent quantal package.



On Wed, Feb 27, 2013 at 10:34 AM, Jenkins Notification <
devnull@xxxxxxxxxxxxx> wrote:

> See <
> http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/203/
> >
>
> ------------------------------------------
> [...truncated 1623 lines...]
>  * Restarting message broker rabbitmq-server
>    ...done.
> Creating user "maas_longpoll" ...
> ...done.
> Creating vhost "/maas_longpoll" ...
> ...done.
> Setting permissions for user "maas_longpoll" in vhost "/maas_longpoll" ...
> ...done.
> Creating user "maas_workers" ...
> ...done.
> Creating vhost "/maas_workers" ...
> ...done.
> Setting permissions for user "maas_workers" in vhost "/maas_workers" ...
> ...done.
>  * Restarting PostgreSQL 9.1 database server
>    ...done.
> dbconfig-common: writing config to
> /etc/dbconfig-common/maas-region-controller.conf
>
> Creating config file /etc/dbconfig-common/maas-region-controller.conf with
> new version
> creating postgres user maas:  success.
> verifying creation of user: success.
> creating database maasdb: success.
> verifying database maasdb exists: success.
> dbconfig-common: flushing administrative password
> Syncing...
> Creating tables ...
> Creating table auth_permission
> Creating table auth_group_permissions
> Creating table auth_group
> Creating table auth_user_user_permissions
> Creating table auth_user_groups
> Creating table auth_user
> Creating table django_content_type
> Creating table django_session
> Creating table django_site
> Creating table piston_nonce
> Creating table piston_consumer
> Creating table piston_token
> Creating table south_migrationhistory
> Installing custom SQL ...
> Installing indexes ...
> Installed 0 object(s) from 0 fixture(s)
>
> Synced:
>  > django.contrib.auth
>  > django.contrib.contenttypes
>  > django.contrib.sessions
>  > django.contrib.sites
>  > django.contrib.messages
>  > django.contrib.staticfiles
>  > piston
>  > south
>
> Not synced (use migrations):
>  - maasserver
>  - metadataserver
> (use ./manage.py migrate to migrate these)
> Running migrations for maasserver:
>  - Migrating forwards to 0046_add_nodegroup_maas_url.
>  > maasserver:0001_initial
>  > maasserver:0002_add_token_to_node
>  > maasserver:0002_macaddress_unique
>  > maasserver:0003_rename_sshkeys
>  > maasserver:0004_add_node_error
>  > maasserver:0005_sshkey_user_and_key_unique_together
>  > maasserver:0006_increase_filestorage_filename_length
>  > maasserver:0007_common_info_created_add_time
>  > maasserver:0008_node_power_address
>  > maasserver:0009_add_nodegroup
>  > maasserver:0010_add_node_netboot
>  > maasserver:0011_add_dns_zone_serial_sequence
>  > maasserver:0012_DHCPLease
>  > maasserver:0013_connect_node_node_group
>  > maasserver:0014_nodegroup_dhcp_settings_are_optional
>  > maasserver:0016_node_nodegroup_not_null
>  > maasserver:0017_add_dhcp_key_to_nodegroup
>  > maasserver:0018_activate_worker_user
>  > maasserver:0019_add_nodegroup_dhcp_interface
>  > maasserver:0020_nodegroup_dhcp_interfaces_is_plural
>  > maasserver:0021_add_uuid_to_nodegroup
>  > maasserver:0022_add_status_to_nodegroup
>  > maasserver:0023_add_bootimage_model
>  > maasserver:0024_add_nodegroupinterface
>  > maasserver:0025_remove_unused_fields_in_nodegroup
>  > maasserver:0026_add_node_distro_series
>  > maasserver:0027_add_tag_table
>  > maasserver:0028_add_node_hardware_details
>  > maasserver:0029_zone_sharing
>  > maasserver:0030_ip_address_to_generic_ip_address
>  > maasserver:0031_node_architecture_field_size
>  > maasserver:0032_node_subarch
>  > maasserver:0033_component_error
>  > maasserver:0034_timestamp_component_error
>  > maasserver:0035_add_nodegroup_cluster_name
>  > maasserver:0036_populate_nodegroup_cluster_name
>  > maasserver:0037_nodegroup_cluster_name_unique
>  > maasserver:0038_nodegroupinterface_ip_range_fix
>  > maasserver:0039_add_filestorage_content
>  > maasserver:0039_add_nodegroup_to_bootimage
>  > maasserver:0040_make_filestorage_data_not_null
>  > maasserver:0041_remove_filestorage_data
>  > maasserver:0042_fix_039_conflict
>  > maasserver:0043_unique_hostname_preparation
>  > maasserver:0044_node_hostname_unique
>  > maasserver:0045_add_tag_kernel_opts
>  > maasserver:0046_add_nodegroup_maas_url
>  - Loading initial data for maasserver.
> Installed 0 object(s) from 0 fixture(s)
> Running migrations for metadataserver:
>  - Migrating forwards to 0003_populate_hardware_details.
>  > metadataserver:0001_initial
>  > metadataserver:0002_add_nodecommissionresult
>  > metadataserver:0003_populate_hardware_details
>  - Loading initial data for metadataserver.
> Installed 1 object(s) from 1 fixture(s)
>  * Restarting web server apache2
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.1.1 for ServerName
>  ... waiting .apache2: Could not reliably determine the server's fully
> qualified domain name, using 127.0.1.1 for ServerName
>    ...done.
> squid-deb-proxy stop/waiting
> squid-deb-proxy start/running, process 30312
> maas-txlongpoll start/running, process 30381
> maas-region-celery start/running, process 30445
> Processing triggers for ureadahead ...
> Setting up maas (0.1+bzr1343+dfsg-0ubuntu1) ...
> Setting up maas-dns (0.1+bzr1343+dfsg-0ubuntu1) ...
>  * Stopping domain name service... bind9
> waiting for pid 28081 to die
>    ...done.
>  * Starting domain name service... bind9
>    ...done.
> Processing triggers for libc-bin ...
> ldconfig deferred processing now taking place
>  -> Finished parsing the build-deps
> adt-run: trace: & ubtree1t-maas-package-test:
> [----------------------------------------
> + buildtree=/tmp/tmp.lXQf01af2E/ubtree1-ubtree/
> + shift
> + rm -rf -- /tmp/tmp.lXQf01af2E/ubtree1t-maas-package-test-testtmp
> /tmp/tmp.lXQf01af2E/ubtree1t-maas-package-test-testtmp/tmpdir
> /tmp/tmp.lXQf01af2E/ubtree1t-maas-package-test-testtmp/adttmp
> + mkdir -- /tmp/tmp.lXQf01af2E/ubtree1t-maas-package-test-testtmp
> /tmp/tmp.lXQf01af2E/ubtree1t-maas-package-test-testtmp/tmpdir
> /tmp/tmp.lXQf01af2E/ubtree1t-maas-package-test-testtmp/adttmp
> adt-run: trace: & ubtree1t-maas-package-test:  - - - - - - - - - - results
> - - - - - - - - - -
> ubtree1t-maas-package-test FAIL non-zero exit status 1
> adt-run: trace: & ubtree1t-maas-package-test:  - - - - - - - - - - stdout
> - - - - - - - - - -
> Ignoring indexes: http://pypi.python.org/simple/
> Downloading/unpacking nose-timer
>   Running setup.py egg_info for package nose-timer
>
> Installing collected packages: nose-timer
>   Running setup.py install for nose-timer
>
> Successfully installed nose-timer
> Cleaning up...
> Failure: ImportError (cannot import name get_local_cluster_UUID) ... ERROR
>
> ======================================================================
> ERROR: Failure: ImportError (cannot import name get_local_cluster_UUID)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 39, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/tmp/tmp.lXQf01af2E/ubtree1-ubtree/debian/tests/maas-integration.py", line
> 26, in <module>
>     from maasserver.utils import get_local_cluster_UUID
> ImportError: cannot import name get_local_cluster_UUID
>
> nose.failure.Failure.runTest: 0.0002s
> ----------------------------------------------------------------------
> Ran 1 test in 0.001s
>
> FAILED (errors=1)
> adt-run: trace: & ubtree1t-maas-package-test:
> ----------------------------------------]
> adt-run: trace1: ** needs_reset, previously=False
> adt-run: trace: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests done.
> adt-run: trace: ** stop
> adt-run: trace: ** close,
> scratch=tb-scratch~/tmp/tmp.lXQf01af2E:-/|/tmp/tmp.lXQf01af2E/!
> + RC=4
> + [ 4 -eq 20 ]
> + [ 0 -eq 1 ]
> + [ -x /home/ubuntu/adt-export-result ]
> + RES=PASS
> + [ 4 -gt 0 ]
> + RES=FAIL
> + /home/ubuntu/adt-export-result -D /root/adt-log maas FAIL
> + chown -R ubuntu /root/adt-log
> + chmod og+r /var/log/syslog
> + chmod og+r /var/crash/*
> + true
> + exit 4
> + RET=4
> + [ 0 -eq 1 ]
> + [ 4 -gt 0 ]
> + log_failure_msg adt-run exited with status 4.
> + log_msg Failure: adt-run exited with status 4.\n
> + date +%F %X
> + printf 2013-02-27 08:34:04: Failure: adt-run exited with status 4.\n
> 2013-02-27 08:34:04: Failure: adt-run exited with status 4.
> + [ 0 -eq 0 ]
> + mkdir -p <
> http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results
> >
> + dirname /root/adt-log
> + ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o
> CheckHostIP=no -i /var/tmp/adt/jenkins/disks/adtkey -p 54323 -t -o
> BatchMode=yes -l ubuntu localhost sudo chown -R ubuntu /root; find
> /root/adt-log -type f -empty | xargs rm -Rf
> Pseudo-terminal will not be allocated because stdin is not a terminal.
> Warning: Permanently added '[localhost]:54323' (ECDSA) to the list of
> known hosts.
> + scp -r -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o
> CheckHostIP=no -i /var/tmp/adt/jenkins/disks/adtkey -P 54323
> ubuntu@localhost:/root/adt-log/*
>     /var/crash/*crash /var/log/syslog <
> http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results
> >
> + true
> + log_info_msg Test artifacts copied to <
> http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results
> >
> + log_msg Info: Test artifacts copied to <
> http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results\n
> >
> + date +%F %X
> + printf 2013-02-27 08:34:05: Info: Test artifacts copied to <
> http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results\n
> >
> 2013-02-27 08:34:05: Info: Test artifacts copied to <
> http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results
> >
> + [ -n 2013-02-27_12-51-03 ]
> + log_info_msg Updating Jenkins results
> + log_msg Info: Updating Jenkins results\n
> + date +%F %X
> + printf 2013-02-27 08:34:05: Info: Updating Jenkins results\n
> 2013-02-27 08:34:05: Info: Updating Jenkins results
> + rsync -a <
> http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results/quantal_amd64_maas_20130227-133406.result>
> /quantal/out/
> rsync: mkdir "/quantal/out" failed: No such file or directory (2)
> rsync error: error in file IO (code 11) at main.c(605) [Receiver=3.0.9]
> rsync: connection unexpectedly closed (9 bytes received so far) [sender]
> rsync error: error in rsync protocol data stream (code 12) at io.c(605)
> [sender=3.0.9]
> + true
> + [ 0 -eq 0 ]
> + ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o
> CheckHostIP=no -i /var/tmp/adt/jenkins/disks/adtkey -p 54323 -t -o
> BatchMode=yes -l ubuntu localhost sudo poweroff
> Pseudo-terminal will not be allocated because stdin is not a terminal.
> Warning: Permanently added '[localhost]:54323' (ECDSA) to the list of
> known hosts.
> + exit 4
> + on_exit
> + log_info_msg Cleaning up
> + log_msg Info: Cleaning up\n
> + date +%F %X
> + printf 2013-02-27 08:34:06: Info: Cleaning up\n
> 2013-02-27 08:34:06: Info: Cleaning up
> + [ -f
> /var/tmp/adt/jenkins/disks/quantal-amd64-maas-20130227_083003.63z1rC.img.pid
> ]
> + cat
> /var/tmp/adt/jenkins/disks/quantal-amd64-maas-20130227_083003.63z1rC.img.pid
> + kill -9 6906
> + rm -f
> /var/tmp/adt/jenkins/disks/quantal-amd64-maas-20130227_083003.63z1rC.img.pid
> + rm -f
> /var/tmp/adt/jenkins/disks/quantal-amd64-maas-20130227_083003.63z1rC.img
> + rm -f /var/lock/adt/ssh.54323.lock
> + rm -f /var/lock/adt/vnc.5911.lock
> + [ -d /tmp/adt-amd64.dFITZ7 ]
> + rm -Rf /tmp/adt-amd64.dFITZ7
> + rm -f /var/tmp/adt/jenkins/disks/quantal-amd64-maas-*.img*
> + find /var/lock/adt -name *.lock -mtime +1
> + exit 4
> Build step 'Execute shell' marked build as failure
> Archiving artifacts
>
> --
> Mailing list: https://launchpad.net/~maas-devel
> Post to     : maas-devel@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maas-devel
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Diogo M. Matsubara

Follow ups

References