← Back to team overview

maas-builds team mailing list archive

maas-xenial-trunk - Build # 166 - Still Failing! - Built with lp:maas (revno: 5127) and lp:~maas-maintainers/maas/packaging (revno: 503)

 

Built with lp:maas (revno: 5127) and lp:~maas-maintainers/maas/packaging (revno: 503)

See http://162.213.35.104:8080/job/maas-xenial-trunk/166/

[...truncated 7242 lines...]
adt-run: DBG: testbed does not have AppArmor/click or already has Autopilot click rules, no need to adjust rules
adt-run: DBG: testbed command ['which', 'dpkg-query'], kind short, sout pipe, serr pipe, env []
adt-run: DBG: testbed command exited with code 0
adt-run: DBG: testbed command ['sh', '-ec', "dpkg-query --show -f '${Package}\\t${Version}\\n' > /tmp/autopkgtest.YzvUz1/maas-package-test-packages.all"], kind short, sout raw, serr pipe, env []
adt-run: DBG: testbed command exited with code 0
adt-run: DBG: sending command to testbed: copyup /tmp/autopkgtest.YzvUz1/maas-package-test-packages.all /var/lib/jenkins/workspace/maas-xenial-trunk/results/maas-package-test-packages.all
adt-virt-qemu: DBG: executing copyup /tmp/autopkgtest.YzvUz1/maas-package-test-packages.all /var/lib/jenkins/workspace/maas-xenial-trunk/results/maas-package-test-packages.all
adt-virt-qemu: DBG: ['cmdls', "(['/tmp/adt-virt-qemu.kijbgeyf/runcmd', 'sh', '-ec', 'cat </tmp/autopkgtest.YzvUz1/maas-package-test-packages.all'], ['cat'])"]
adt-virt-qemu: DBG: ['srcstdin', "<_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>", 'deststdout', "<_io.TextIOWrapper name='/var/lib/jenkins/workspace/maas-xenial-trunk/results/maas-package-test-packages.all' mode='w' encoding='ANSI_X3.4-1968'>", 'devnull_read', <_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>]
adt-virt-qemu: DBG:  +< /tmp/adt-virt-qemu.kijbgeyf/runcmd sh -ec cat </tmp/autopkgtest.YzvUz1/maas-package-test-packages.all
adt-virt-qemu: DBG:  +> cat
adt-virt-qemu: DBG:  +>?
adt-virt-qemu: DBG:  +<?
adt-run: DBG: got reply from testbed: ok
adt-run: DBG: testbed command ['test', '-e', '/tmp/autopkgtest.YzvUz1/build.miR/real-tree'], kind short, sout raw, serr raw, env []
adt-run: DBG: testbed command exited with code 1
adt-run: DBG: testbed command ['mkdir', '-p', '/tmp/autopkgtest.YzvUz1/build.miR'], kind short, sout raw, serr pipe, env []
adt-run: DBG: testbed command exited with code 0
adt-run: DBG: sending command to testbed: copydown /var/lib/jenkins/workspace/maas-xenial-trunk/results/tests-tree/ /tmp/autopkgtest.YzvUz1/build.miR/real-tree/
adt-virt-qemu: DBG: executing copydown /var/lib/jenkins/workspace/maas-xenial-trunk/results/tests-tree/ /tmp/autopkgtest.YzvUz1/build.miR/real-tree/
adt-virt-qemu: DBG: ['cmdls', "(['tar', '--directory', '/var/lib/jenkins/workspace/maas-xenial-trunk/results/tests-tree/', '--warning=none', '-c', '.', '-f', '-'], ['/tmp/adt-virt-qemu.kijbgeyf/runcmd', 'sh', '-ec', 'if ! test -d /tmp/autopkgtest.YzvUz1/build.miR/real-tree/; then mkdir -- /tmp/autopkgtest.YzvUz1/build.miR/real-tree/; fi; cd /tmp/autopkgtest.YzvUz1/build.miR/real-tree/; tar --warning=none --preserve-permissions --extract --no-same-owner -f -'])"]
adt-virt-qemu: DBG: ['srcstdin', "<_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>", 'deststdout', "<_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>", 'devnull_read', <_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>]
adt-virt-qemu: DBG:  +< tar --directory /var/lib/jenkins/workspace/maas-xenial-trunk/results/tests-tree/ --warning=none -c . -f -
adt-virt-qemu: DBG:  +> /tmp/adt-virt-qemu.kijbgeyf/runcmd sh -ec if ! test -d /tmp/autopkgtest.YzvUz1/build.miR/real-tree/; then mkdir -- /tmp/autopkgtest.YzvUz1/build.miR/real-tree/; fi; cd /tmp/autopkgtest.YzvUz1/build.miR/real-tree/; tar --warning=none --preserve-permissions --extract --no-same-owner -f -
adt-virt-qemu: DBG:  +>?
adt-virt-qemu: DBG:  +<?
adt-run: DBG: got reply from testbed: ok
adt-run: DBG: testbed command ['chown', '-R', 'ubuntu', '--', '/tmp/autopkgtest.YzvUz1/build.miR/real-tree'], kind short, sout raw, serr pipe, env []
adt-run: DBG: testbed command exited with code 0
adt-run [11:42:15]: test maas-package-test: [-----------------------
adt-run: DBG: testbed command ['su', '-s', '/bin/bash', 'root', '-c', 'set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true;  . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.YzvUz1/build.miR/real-tree"; mkdir -p -m 1777 -- "/tmp/autopkgtest.YzvUz1/maas-package-test-artifacts"; export ADT_ARTIFACTS="/tmp/autopkgtest.YzvUz1/maas-package-test-artifacts"; mkdir -p -m 755 "/tmp/autopkgtest.YzvUz1/adttmp"; export ADTTMP="/tmp/autopkgtest.YzvUz1/adttmp" export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE   LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS   LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/adt_test_script_pid; set -C; echo $$ > /tmp/adt_test_script_pid; set +C; trap "rm -f /tmp/adt_test_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export ADT_NORMAL_USER=ubuntu; chmod +x /tmp/autopkgtest.YzvUz1/build.miR/real-tree/debian/tests/maas-package-test; touch /tmp/autopkgtest.YzvUz1/maas-package-test-stdout /tmp/autopkgtest.YzvUz1/maas-package-test-stderr; /tmp/autopkgtest.YzvUz1/build.miR/real-tree/debian/tests/maas-package-test 2> >(tee -a /tmp/autopkgtest.YzvUz1/maas-package-test-stderr >&2) > >(tee -a /tmp/autopkgtest.YzvUz1/maas-package-test-stdout); '], kind test, sout raw, serr raw, env []
maas-integration.TestMAASIntegration.test_create_admin ... ok
maas-integration.TestMAASIntegration.test_restart_dbus_avahi ... SKIP: Avahi/DBUS are not used anymore
maas-integration.TestMAASIntegration.test_update_maas_url ... ok
maas-integration.TestMAASIntegration.test_restart_provisioning_server_systemctl ... ok
maas-integration.TestMAASIntegration.test_check_initial_services_systemctl ... ok
maas-integration.TestMAASIntegration.test_check_rpc_info ... ok
maas-integration.TestMAASIntegration.test_update_preseed_arm ... SKIP: Don't test ARM nodes
maas-integration.TestMAASIntegration.test_login_api ... ok
maas-integration.TestMAASIntegration.test_maas_logged_in ... ok
maas-integration.TestMAASIntegration.test_set_http_proxy ... ok
maas-integration.TestMAASIntegration.test_import_boot_resources ... ok
maas-integration.TestMAASIntegration.test_rack_connected ... SKIP: Skip this test for now until we can check cluster connectivity
maas-integration.TestMAASIntegration.test_create_dynamic_range ... ok
maas-integration.TestMAASIntegration.test_set_up_dhcp_vlan ... ok
maas-integration.TestMAASIntegration.test_check_dhcp_service_systemctl ... ok
maas-integration.TestMAASIntegration.test_update_dns_config_systemctl ... ok
maas-integration.TestMAASIntegration.test_add_new_zones ... ok
maas-integration.TestMAASIntegration.test_list_zones ... ok
maas-integration.TestMAASIntegration.test_delete_zone ... ok
maas-integration.TestMAASIntegration.test_add_new_spaces ... ok
maas-integration.TestMAASIntegration.test_add_subnet_to_space ... ok
maas-integration.TestMAASIntegration.test_list_spaces ... ok
maas-integration.TestMAASIntegration.test_list_subnets ... ok
maas-integration.TestMAASIntegration.test_delete_subnet ... ok
maas-integration.TestMAASIntegration.test_delete_space ... ok
maas-integration.TestMAASIntegration.test_add_new_fabrics ... ok
maas-integration.TestMAASIntegration.test_add_vlan_to_fabric ... ok
maas-integration.TestMAASIntegration.test_list_fabrics ... FAIL
SKIP: Not testing Cluster controller

======================================================================
FAIL: maas-integration.TestMAASIntegration.test_list_fabrics
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
  stderr for maas maas ['fabrics', 'read']

retcode for maas maas ['fabrics', 'read']: {{{0}}}
stdout for maas maas ['fabrics', 'read']: {{{
[
    {
        "vlans": [
            {
                "fabric": "fabric-0",
                "id": 5001,
                "resource_uri": "/MAAS/api/2.0/vlans/5001/",
                "name": "untagged",
                "vid": 0,
                "dhcp_on": false,
                "secondary_rack": null,
                "primary_rack": null,
                "external_dhcp": null,
                "mtu": 1500
            }
        ],
        "id": 0,
        "resource_uri": "/MAAS/api/2.0/fabrics/0/",
        "name": "fabric-0",
        "class_type": null
    },
    {
        "vlans": [
            {
                "fabric": "fabric-3",
                "id": 5004,
                "resource_uri": "/MAAS/api/2.0/vlans/5004/",
                "name": "untagged",
                "vid": 0,
                "dhcp_on": true,
                "secondary_rack": null,
                "primary_rack": "4y3h7n",
                "external_dhcp": null,
                "mtu": 1500
            }
        ],
        "id": 3,
        "resource_uri": "/MAAS/api/2.0/fabrics/3/",
        "name": "fabric-3",
        "class_type": null
    },
    {
        "vlans": [
            {
                "fabric": "test-fabric",
                "id": 5007,
                "resource_uri": "/MAAS/api/2.0/vlans/5007/",
                "name": "test-vlan",
                "vid": 2,
                "dhcp_on": false,
                "secondary_rack": null,
                "primary_rack": null,
                "external_dhcp": null,
                "mtu": 1500
            },
            {
                "fabric": "test-fabric",
                "id": 5005,
                "resource_uri": "/MAAS/api/2.0/vlans/5005/",
                "name": "untagged",
                "vid": 0,
                "dhcp_on": false,
                "secondary_rack": null,
                "primary_rack": null,
                "external_dhcp": null,
                "mtu": 1500
            }
        ],
        "id": 4,
        "resource_uri": "/MAAS/api/2.0/fabrics/4/",
        "name": "test-fabric",
        "class_type": ""
    },
    {
        "vlans": [
            {
                "fabric": "delete-fabric",
                "id": 5006,
                "resource_uri": "/MAAS/api/2.0/vlans/5006/",
                "name": "untagged",
                "vid": 0,
                "dhcp_on": false,
                "secondary_rack": null,
                "primary_rack": null,
                "external_dhcp": null,
                "mtu": 1500
            }
        ],
        "id": 5,
        "resource_uri": "/MAAS/api/2.0/fabrics/5/",
        "name": "delete-fabric",
        "class_type": ""
    }
]
}}}

Traceback (most recent call last):
  File "/tmp/autopkgtest.YzvUz1/build.miR/real-tree/debian/tests/maas-integration.py", line 804, in test_list_fabrics
    expected, [item['name'] for item in out_dict])
  File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1182, in assertItemsEqual
    return self.assertSequenceEqual(expected, actual, msg=msg)
  File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1014, in assertSequenceEqual
    self.fail(msg)
  File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail
    raise self.failureException(msg)
AssertionError: Sequences differ: ['delete-fabric', 'fabric-0', 'fabric-1', 'test-fabric'] != ['delete-fabric', 'fabric-0', 'fabric-3', 'test-fabric']

First differing element 2:
fabric-1
fabric-3

- ['delete-fabric', 'fabric-0', 'fabric-1', 'test-fabric']
?                                       ^

+ ['delete-fabric', 'fabric-0', 'fabric-3', 'test-fabric']
?                                       ^


----------------------------------------------------------------------
XML: /tmp/autopkgtest.YzvUz1/maas-package-test-artifacts/nosetests.xml
----------------------------------------------------------------------
Ran 28 tests in 213.803s

FAILED (SKIP=4, failures=1)
adt-run: DBG: testbed command exited with code 1
adt-run [11:45:56]: test maas-package-test: -----------------------]
adt-run: DBG: testbed executing test finished with exit status 1
adt-run: DBG: sending command to testbed: copyup /tmp/autopkgtest.YzvUz1/maas-package-test-stdout /var/lib/jenkins/workspace/maas-xenial-trunk/results/maas-package-test-stdout
adt-virt-qemu: DBG: executing copyup /tmp/autopkgtest.YzvUz1/maas-package-test-stdout /var/lib/jenkins/workspace/maas-xenial-trunk/results/maas-package-test-stdout
adt-virt-qemu: DBG: ['cmdls', "(['/tmp/adt-virt-qemu.kijbgeyf/runcmd', 'sh', '-ec', 'cat </tmp/autopkgtest.YzvUz1/maas-package-test-stdout'], ['cat'])"]
adt-virt-qemu: DBG: ['srcstdin', "<_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>", 'deststdout', "<_io.TextIOWrapper name='/var/lib/jenkins/workspace/maas-xenial-trunk/results/maas-package-test-stdout' mode='w' encoding='ANSI_X3.4-1968'>", 'devnull_read', <_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>]
adt-virt-qemu: DBG:  +< /tmp/adt-virt-qemu.kijbgeyf/runcmd sh -ec cat </tmp/autopkgtest.YzvUz1/maas-package-test-stdout
adt-virt-qemu: DBG:  +> cat
adt-virt-qemu: DBG:  +>?
adt-virt-qemu: DBG:  +<?
adt-run: DBG: got reply from testbed: ok
adt-run: DBG: sending command to testbed: copyup /tmp/autopkgtest.YzvUz1/maas-package-test-stderr /var/lib/jenkins/workspace/maas-xenial-trunk/results/maas-package-test-stderr
adt-virt-qemu: DBG: executing copyup /tmp/autopkgtest.YzvUz1/maas-package-test-stderr /var/lib/jenkins/workspace/maas-xenial-trunk/results/maas-package-test-stderr
adt-virt-qemu: DBG: ['cmdls', "(['/tmp/adt-virt-qemu.kijbgeyf/runcmd', 'sh', '-ec', 'cat </tmp/autopkgtest.YzvUz1/maas-package-test-stderr'], ['cat'])"]
adt-virt-qemu: DBG: ['srcstdin', "<_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>", 'deststdout', "<_io.TextIOWrapper name='/var/lib/jenkins/workspace/maas-xenial-trunk/results/maas-package-test-stderr' mode='w' encoding='ANSI_X3.4-1968'>", 'devnull_read', <_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>]
adt-virt-qemu: DBG:  +< /tmp/adt-virt-qemu.kijbgeyf/runcmd sh -ec cat </tmp/autopkgtest.YzvUz1/maas-package-test-stderr
adt-virt-qemu: DBG:  +> cat
adt-virt-qemu: DBG:  +>?
adt-virt-qemu: DBG:  +<?
adt-run: DBG: got reply from testbed: ok
adt-run [11:45:57]: test maas-package-test:  - - - - - - - - - - results - - - - - - - - - -
maas-package-test    FAIL non-zero exit status 1
adt-run: DBG: sending command to testbed: copyup /tmp/autopkgtest.YzvUz1/maas-package-test-artifacts/ /var/lib/jenkins/workspace/maas-xenial-trunk/results/artifacts/
adt-virt-qemu: DBG: executing copyup /tmp/autopkgtest.YzvUz1/maas-package-test-artifacts/ /var/lib/jenkins/workspace/maas-xenial-trunk/results/artifacts/
adt-virt-qemu: DBG: ['cmdls', "(['/tmp/adt-virt-qemu.kijbgeyf/runcmd', 'sh', '-ec', 'cd /tmp/autopkgtest.YzvUz1/maas-package-test-artifacts/; tar --warning=none -c . -f -'], ['tar', '--directory', '/var/lib/jenkins/workspace/maas-xenial-trunk/results/artifacts/', '--warning=none', '--preserve-permissions', '--extract', '--no-same-owner', '-f', '-'])"]
adt-virt-qemu: DBG: ['srcstdin', "<_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>", 'deststdout', "<_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>", 'devnull_read', <_io.TextIOWrapper name='/dev/null' mode='r' encoding='ANSI_X3.4-1968'>]
adt-virt-qemu: DBG:  +< /tmp/adt-virt-qemu.kijbgeyf/runcmd sh -ec cd /tmp/autopkgtest.YzvUz1/maas-package-test-artifacts/; tar --warning=none -c . -f -
adt-virt-qemu: DBG:  +> tar --directory /var/lib/jenkins/workspace/maas-xenial-trunk/results/artifacts/ --warning=none --preserve-permissions --extract --no-same-owner -f -
adt-virt-qemu: DBG:  +>?
adt-virt-qemu: DBG:  +<?
adt-run: DBG: got reply from testbed: ok
adt-run: DBG: testbed command ['rm', '-rf', '/tmp/autopkgtest.YzvUz1/maas-package-test-artifacts', '/tmp/autopkgtest.YzvUz1/adttmp'], kind short, sout raw, serr pipe, env []
adt-run: DBG: testbed command exited with code 0
adt-run: DBG: no need to restore click AppArmor profiles
adt-run: DBG: needs_reset, previously=False, requested by run_tests() line 161
adt-run [11:45:58]: @@@@@@@@@@@@@@@@@@@@ summary
maas-package-test    FAIL non-zero exit status 1
adt-run: DBG: testbed stop
adt-run: DBG: testbed close, scratch=/tmp/autopkgtest.YzvUz1
adt-run: DBG: sending command to testbed: close
adt-virt-qemu: DBG: executing close
adt-virt-qemu: DBG: cleanup...
qemu: terminating on signal 15 from pid 31416
adt-run: DBG: got reply from testbed: ok
adt-run: DBG: sending command to testbed: quit
adt-virt-qemu: DBG: executing quit
adt-virt-qemu: DBG: cleanup...
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any


Follow ups

References