← Back to team overview

maas-devel team mailing list archive

Build failed in Jenkins: saucy-adt-maas-daily » amd64,lenovo-RD230-01 #79

 

See <http://10.189.74.2:8080/job/saucy-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/79/>

------------------------------------------
[...truncated 4215 lines...]
    web              A general-purpose web server which can serve from a
                     filesystem or application resource.
    words            A modern words server
    xmpp-router      An XMPP Router server

/usr/bin/twistd: Unknown command: maas-pserv
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 614, in parseOptions
    usage.Options.parseOptions(self, options)
  File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 261, in parseOptions
    for (cmd, short, parser, doc) in self.subCommands:
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 631, in subCommands
    for plug in sorted(plugins, key=attrgetter('tapname')):
  File "/usr/lib/python2.7/dist-packages/twisted/plugin.py", line 209, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/plugin.py", line 167, in getCache
    provider = pluginModule.load()
  File "/usr/lib/python2.7/dist-packages/twisted/python/modules.py", line 383, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python2.7/dist-packages/twisted/python/_reflectpy3.py", line 268, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python2.7/dist-packages/twisted/python/_reflectpy3.py", line 211, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/usr/lib/python2.7/dist-packages/twisted/plugins/txlongpoll.py", line 6, in <module>
    from txlongpoll.plugin import AMQServiceMaker
  File "/usr/lib/python2.7/dist-packages/txlongpoll/plugin.py", line 39, in <module>
    from txlongpoll.services import (
  File "/usr/lib/python2.7/dist-packages/txlongpoll/services.py", line 21, in <module>
    from oops_datedir_repo import DateDirRepo
  File "/usr/lib/python2.7/dist-packages/oops_datedir_repo/__init__.py", line 34, in <module>
    from oops_datedir_repo.repository import DateDirRepo
  File "/usr/lib/python2.7/dist-packages/oops_datedir_repo/repository.py", line 35, in <module>
    import serializer
  File "/usr/lib/python2.7/dist-packages/oops_datedir_repo/serializer.py", line 39, in <module>
    from oops_datedir_repo import (
  File "/usr/lib/python2.7/dist-packages/oops_datedir_repo/serializer_rfc822.py", line 61, in <module>
    import iso8601
exceptions.ImportError: No module named iso8601
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 450, in __str__
    return self.getSynopsis() + '\n' + self.getUsage(width=None)
  File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 486, in getUsage
    for (cmd, short, parser, desc) in self.subCommands:
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 631, in subCommands
    for plug in sorted(plugins, key=attrgetter('tapname')):
  File "/usr/lib/python2.7/dist-packages/twisted/plugin.py", line 209, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/plugin.py", line 167, in getCache
    provider = pluginModule.load()
  File "/usr/lib/python2.7/dist-packages/twisted/python/modules.py", line 383, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python2.7/dist-packages/twisted/python/_reflectpy3.py", line 268, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python2.7/dist-packages/twisted/python/_reflectpy3.py", line 211, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/usr/lib/python2.7/dist-packages/twisted/plugins/txlongpoll.py", line 6, in <module>
    from txlongpoll.plugin import AMQServiceMaker
  File "/usr/lib/python2.7/dist-packages/txlongpoll/plugin.py", line 39, in <module>
    from txlongpoll.services import (
  File "/usr/lib/python2.7/dist-packages/txlongpoll/services.py", line 21, in <module>
    from oops_datedir_repo import DateDirRepo
  File "/usr/lib/python2.7/dist-packages/oops_datedir_repo/__init__.py", line 34, in <module>
    from oops_datedir_repo.repository import DateDirRepo
  File "/usr/lib/python2.7/dist-packages/oops_datedir_repo/repository.py", line 35, in <module>
    import serializer
  File "/usr/lib/python2.7/dist-packages/oops_datedir_repo/serializer.py", line 39, in <module>
    from oops_datedir_repo import (
  File "/usr/lib/python2.7/dist-packages/oops_datedir_repo/serializer_rfc822.py", line 61, in <module>
    import iso8601
exceptions.ImportError: No module named iso8601
Usage: twistd [options]
Options:
      --savestats      save the Stats object rather than the text output of the
                       profiler.
  -o, --no_save        do not save state on shutdown
  -e, --encrypted      The specified tap/aos file is encrypted.
  -n, --nodaemon       don't daemonize, don't use default umask of 0077
      --originalname   Don't try to change the process name
      --syslog         Log to syslog, not to file
      --euid           Set only effective user-id rather than real user-id.
                       (This option has no effect unless the server is running
                       as root, in which case it means not to shed all
                       privileges after binding ports, retaining the option to
                       regain privileges in cases such as spawning processes.
                       Use with caution.)
  -l, --logfile=       log to a specified file, - for stdout
      --logger=        A fully-qualified name to a log observer factory to use
                       for the initial log observer. Takes precedence over
                       --logfile and --syslog (when available).
  -p, --profile=       Run in profile mode, dumping results to specified file
      --profiler=      Name of the profiler to use (profile, cprofile, hotshot).
                       [default: hotshot]
  -f, --file=          read the given .tap file [default: twistd.tap]
  -y, --python=        read an application from within a Python file (implies
                       -o)
  -s, --source=        Read an application from a .tas file (AOT format).
  -d, --rundir=        Change to a supplied directory before running [default:
                       .]
      --prefix=        use the given prefix when syslogging [default: twisted]
      --pidfile=       Name of the pidfile [default: twistd.pid]
      --chroot=        Chroot to a supplied directory before running
  -u, --uid=           The uid to run as.
  -g, --gid=           The gid to run as.
      --umask=         The (octal) file creation mask to apply.
      --help-reactors  Display a list of possibly available reactor names.
      --version        Print version information and exit.
      --spew           Print an insanely verbose log of everything that happens.
                       Useful when debugging freezes or locks in complex code.
  -b, --debug          Run the application in the Python Debugger (implies
                       nodaemon), sending SIGUSR2 will drop into debugger
  -r, --reactor=       Which reactor to use (see --help-reactors for a list of
                       possibilities)
      --help           Display this help and exit.

twistd reads a twisted.application.service.Application out of a file and runs
it.
Commands:
    conch            A Conch SSH service.
    dns              A domain name server.
    ftp              An FTP server.
    inetd            An inetd(8) replacement.
    mail             An email service
    manhole          An interactive remote debugger service accessible via
                     telnet and ssh and providing syntax coloring and basic line
                     editing functionality.
    manhole-old      An interactive remote debugger service.
    news             A news server.
    portforward      A simple port-forwarder.
    procmon          A process watchdog / supervisor
    socks            A SOCKSv4 proxy service.
    telnet           A simple, telnet-based remote debugging service.
    tftp             A TFTP Server
    web              A general-purpose web server which can serve from a
                     filesystem or application resource.
    words            A modern words server
    xmpp-router      An XMPP Router server

/usr/bin/twistd: Unknown command: maas-pserv
}}}

File /var/log/upstart/maas-region-celery.log content: {{{
/usr/lib/python2.7/dist-packages/celery/utils/__init__.py:64: CPendingDeprecationWarning: 
    The 'CELERYD_LOG_LEVEL' setting is scheduled for deprecation in     version 2.4 and removal in version v3.0.     --loglevel argument

  warnings.warn(w)
/usr/lib/python2.7/dist-packages/celery/utils/__init__.py:64: CPendingDeprecationWarning: 
    The 'CELERYD_LOG_FILE' setting is scheduled for deprecation in     version 2.4 and removal in version v3.0.     None

  warnings.warn(w)
}}}

Traceback (most recent call last):
  File "/tmp/tmp.zz7CzN5zfA/ubtree1-ubtree/debian/tests/maas-integration.py", line 279, in test_check_initial_services
    self, 'maas-pserv', '/var/log/upstart/maas-pserv.log')
  File "/tmp/tmp.zz7CzN5zfA/ubtree1-ubtree/debian/tests/utils.py", line 98, in assertStartedUpstartService
    runner.assertThat(output, Contains(service_name + " start/running"))
MismatchError: 'maas-pserv start/running' not in 'maas-pserv stop/waiting\n'


maas-integration.TestMAASIntegration.test_disable_raring: 0.0002s
maas-integration.TestMAASIntegration.test_restart_dbus_avahi: 0.1312s
maas-integration.TestMAASIntegration.test_create_admin: 0.1359s
maas-integration.TestMAASIntegration.test_update_maas_url: 1.1089s
maas-integration.TestMAASIntegration.test_check_initial_services: 6.0908s
----------------------------------------------------------------------
Ran 5 tests in 7.469s

FAILED (SKIP=1, failures=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.zz7CzN5zfA:-/|/tmp/tmp.zz7CzN5zfA/!
+ 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-07-01 10:02:32: Failure: adt-run exited with status 4.\n
2013-07-01 10:02:32: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p <http://10.189.74.2:8080/job/saucy-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/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/disks/adtkey -P 54323 ubuntu@localhost:/root/adt-log/*
    /var/crash/*crash /var/log/syslog <http://10.189.74.2:8080/job/saucy-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/saucy-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/saucy-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/ws/results\n>
+ date +%F %X
+ printf 2013-07-01 10:02:33: Info: Test artifacts copied to <http://10.189.74.2:8080/job/saucy-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/ws/results\n>
2013-07-01 10:02:33: Info: Test artifacts copied to <http://10.189.74.2:8080/job/saucy-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/ws/results>
+ [ -n 2013-07-01_13-57-05 ]
+ log_info_msg Updating Jenkins results
+ log_msg Info: Updating Jenkins results\n
+ date +%F %X
+ printf 2013-07-01 10:02:33: Info: Updating Jenkins results\n
2013-07-01 10:02:33: Info: Updating Jenkins results
+ rsync -a <http://10.189.74.2:8080/job/saucy-adt-maas-daily/./ARCH=amd64,label=lenovo-RD230-01/ws/results/saucy_amd64_maas_20130701-140239.result> /saucy/out/
rsync: mkdir "/saucy/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/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-07-01 10:02:33: Info: Cleaning up\n
2013-07-01 10:02:33: Info: Cleaning up
+ [ -f /var/tmp/adt/disks/saucy-amd64-maas-20130701_095658.EWyzZz.img.pid ]
+ cat /var/tmp/adt/disks/saucy-amd64-maas-20130701_095658.EWyzZz.img.pid
+ kill -9 19103
+ rm -f /var/tmp/adt/disks/saucy-amd64-maas-20130701_095658.EWyzZz.img.pid
+ rm -f /var/tmp/adt/disks/saucy-amd64-maas-20130701_095658.EWyzZz.img
+ rm -f /var/lock/adt/ssh.54323.lock
+ rm -f /var/lock/adt/vnc.5911.lock
+ [ -d /tmp/adt-amd64.6HwqPV ]
+ rm -Rf /tmp/adt-amd64.6HwqPV
+ rm -f /var/tmp/adt/disks/saucy-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