maas-devel team mailing list archive
-
maas-devel team
-
Mailing list archive
-
Message #00845
Build failed in Jenkins: raring-adt-maas-daily » amd64,lenovo-RD230-01 #13
See <http://10.189.74.2:8080/job/raring-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/13/>
------------------------------------------
[...truncated 2747 lines...]
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: apr_sockaddr_info_get() failed for autopkgtest
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
... waiting .apache2: apr_sockaddr_info_get() failed for autopkgtest
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
...done.
squid-deb-proxy stop/waiting
squid-deb-proxy start/running, process 32233
maas-txlongpoll start/running, process 32323
maas-region-celery start/running, process 32399
Processing triggers for ureadahead ...
Setting up maas (1.2+bzr1349+dfsg-0ubuntu1) ...
Setting up maas-dns (1.2+bzr1349+dfsg-0ubuntu1) ...
* Stopping domain name service... bind9
waiting for pid 29043 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: & ubtree0t-maas-package-test: [----------------------------------------
+ buildtree=/tmp/tmp.iEXis1qqbA/ubtree0-ubtree/
+ shift
+ rm -rf -- /tmp/tmp.iEXis1qqbA/ubtree0t-maas-package-test-testtmp /tmp/tmp.iEXis1qqbA/ubtree0t-maas-package-test-testtmp/tmpdir /tmp/tmp.iEXis1qqbA/ubtree0t-maas-package-test-testtmp/adttmp
+ mkdir -- /tmp/tmp.iEXis1qqbA/ubtree0t-maas-package-test-testtmp /tmp/tmp.iEXis1qqbA/ubtree0t-maas-package-test-testtmp/tmpdir /tmp/tmp.iEXis1qqbA/ubtree0t-maas-package-test-testtmp/adttmp
+ chown ubuntu /tmp/tmp.iEXis1qqbA/ubtree0t-maas-package-test-testtmp /tmp/tmp.iEXis1qqbA/ubtree0t-maas-package-test-testtmp/tmpdir /tmp/tmp.iEXis1qqbA/ubtree0t-maas-package-test-testtmp/adttmp
adt-run: trace: & ubtree0t-maas-package-test: - - - - - - - - - - results - - - - - - - - - -
ubtree0t-maas-package-test FAIL non-zero exit status 1
adt-run: trace: & ubtree0t-maas-package-test: - - - - - - - - - - stdout - - - - - - - - - -
maas-integration.TestMAASIntegration.test_01_create_admin ... ERROR
======================================================================
ERROR: maas-integration.TestMAASIntegration.test_01_create_admin
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/tmp/tmp.iEXis1qqbA/ubtree0-ubtree/debian/tests/maas-integration.py", line 184, in test_01_create_admin
email="example@xxxxxxxxxxxxx", noinput=True)
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 150, in call_command
return klass.execute(*args, **defaults)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/usr/lib/python2.7/dist-packages/maasserver/management/commands/createadmin.py", line 49, in handle
username, email=email, password=password)
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 164, in create_superuser
u = self.create_user(username, email, password)
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 160, in create_user
user.save(using=self._db)
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 463, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 551, in save_base
result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw)
File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 203, in _insert
return insert_query(self.model, objs, fields, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1593, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 910, in execute_sql
cursor = self.connection.cursor()
File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 308, in cursor
cursor = util.CursorWrapper(self._cursor(), self)
File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 177, in _cursor
self.connection = Database.connect(**conn_params)
File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
connection_factory=connection_factory, async=async)
OperationalError: FATAL: role "ubuntu" does not exist
----------------------------------------------------------------------
Ran 1 test in 0.119s
FAILED (errors=1)
adt-run: trace: & ubtree0t-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.iEXis1qqbA:-/|/tmp/tmp.iEXis1qqbA/!
+ 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-01-30 06:49:40: Failure: adt-run exited with status 4.\n
2013-01-30 06:49:40: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p <http://10.189.74.2:8080/job/raring-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/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
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '[localhost]:54323' (ECDSA) to the list of known hosts.
sudo: unable to resolve host autopkgtest
+ 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/raring-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/ws/results>
+ true
+ log_info_msg Test artifacts copied to <http://10.189.74.2:8080/job/raring-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/ws/results>
+ log_msg Info: Test artifacts copied to <http://10.189.74.2:8080/job/raring-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/ws/results\n>
+ date +%F %X
+ printf 2013-01-30 06:49:41: Info: Test artifacts copied to <http://10.189.74.2:8080/job/raring-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/ws/results\n>
2013-01-30 06:49:41: Info: Test artifacts copied to <http://10.189.74.2:8080/job/raring-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/ws/results>
+ [ -n 2013-01-30_11-43-46 ]
+ log_info_msg Updating Jenkins results
+ log_msg Info: Updating Jenkins results\n
+ date +%F %X
+ printf 2013-01-30 06:49:41: Info: Updating Jenkins results\n
2013-01-30 06:49:41: Info: Updating Jenkins results
+ rsync -a <http://10.189.74.2:8080/job/raring-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/ws/results/raring_amd64_maas_20130130-114940.result> /raring/out/
rsync: mkdir "/raring/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.
sudo: unable to resolve host autopkgtest
+ exit 4
+ on_exit
+ log_info_msg Cleaning up
+ log_msg Info: Cleaning up\n
+ date +%F %X
+ printf 2013-01-30 06:49:42: Info: Cleaning up\n
2013-01-30 06:49:42: Info: Cleaning up
+ [ -f /var/tmp/adt/jenkins/disks/raring-amd64-maas-20130130_064347.IuO6C5.img.pid ]
+ cat /var/tmp/adt/jenkins/disks/raring-amd64-maas-20130130_064347.IuO6C5.img.pid
+ kill -9 6742
+ rm -f /var/tmp/adt/jenkins/disks/raring-amd64-maas-20130130_064347.IuO6C5.img.pid
+ rm -f /var/tmp/adt/jenkins/disks/raring-amd64-maas-20130130_064347.IuO6C5.img
+ rm -f /var/lock/adt/ssh.54323.lock
+ rm -f /var/lock/adt/vnc.5911.lock
+ [ -d /tmp/adt-amd64.qKBfsg ]
+ rm -Rf /tmp/adt-amd64.qKBfsg
+ rm -f /var/tmp/adt/jenkins/disks/raring-amd64-maas-*.img*
+ find /var/lock/adt -name *.lock -mtime +1
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts
Follow ups
References