[openstack-qa] Build failed in Jenkins: periodic-tempest-devstack-vm-full #25

Daryl Walleck daryl.walleck at RACKSPACE.COM
Mon Nov 26 23:09:34 UTC 2012


I had mentioned this at the design summit, but the reason of all these failures (or at least much better info than "my server went into error status") is stored in the Nova database. It's a bit white box, but to help with debugging, we reach into the DB to grab that error to make the test failure more meaningful. Is there any reason we couldn't do that here as well?

Daryl
________________________________________
From: David Kranz [david.kranz at qrclab.com]
Sent: Monday, November 26, 2012 4:22 PM
To: openstack-qa at lists.openstack.org
Subject: Re: [openstack-qa] Build failed in Jenkins: periodic-tempest-devstack-vm-full #25

There is a bug ticket for this and I discussed it with Vish last week.
He seemed to have some idea of what might be causing it
so I suggest touching base with him. Based on the hourly run results,
currently only being reported to me, I agree this is the big one.

https://bugs.launchpad.net/nova/+bug/1079687

  -David

On 11/26/2012 5:15 PM, Sean Dague wrote:
> I think this is the last big flakey in tempest, which is a nova race
> some where. Will be digging into this later this week.
>
> On 11/25/2012 07:28 PM, OpenStack Jenkins wrote:
>> See
>> <https://jenkins.openstack.org/job/periodic-tempest-devstack-vm-full/25/>
>>
>> ------------------------------------------
>> [...truncated 12845 lines...]
>> Attempt to assign a role on a non existent tenant should fail ... ok
>> Attempt to assign a role to a non existent user should fail ... ok
>> Request to assign a role to a user without a valid token ... ok
>> Return a list of all roles ... ok
>> Non admin user should not be able to list roles ... ok
>> Request to list roles without a valid token should fail ... ok
>> List roles assigned to a user on tenant ... ok
>> Non admin user should not be authorized to list a user's roles ... ok
>> Attempt to list roles of a non existent user should fail ... ok
>> Request to list user's roles without a valid token should fail ... ok
>> Remove a role assigned to a user on a tenant ... ok
>> Non admin user should not be authorized to remove a user's role ... ok
>> Attempt to delete a non existent role from a user should fail ... ok
>> Attempt to remove a role from a non existent tenant should fail ... ok
>> Attempt to remove a role from a non existent user should fail ... ok
>> Request to remove a user's role without a valid token ... ok
>> Should not be able to create a role with a blank name ... ok
>> Role should be created, verified, and deleted ... ok
>> Role names should be unique ... ok
>> GET Service ... ok
>> SKIP: Skipping until Bug #1061738 resolved
>> Non-admin user should not be authorized to create a tenant ... ok
>> Create tenant request without a token should not be authorized ... ok
>> Tenant name should not be empty ... ok
>> Tenant name length should not be greater than 64 characters ... ok
>> Attempt to delete a non existent tenant should fail ... ok
>> Request to list tenants without a valid token should fail ... ok
>> Return a list of all tenants ... ok
>> Non-admin user should not be able to list tenants ... ok
>> Tenant names should be unique ... ok
>> Create a tenant that is enabled ... ok
>> Create a tenant that is not enabled ... ok
>> Create tenant with a description ... ok
>> Create several tenants and delete them ... ok
>> Non-admin user should not be able to delete a tenant ... ok
>> Request to delete a tenant without a valid token should fail ... ok
>> Update description attribute of a tenant ... ok
>> Update the enabled attribute of a tenant ... ok
>> Update name attribute of a tenant ... ok
>> Non-admin user should not be authorized to create a tenant ... ok
>> Create tenant request without a token should not be authorized ... ok
>> Tenant name should not be empty ... ok
>> Tenant name length should not be greater than 64 characters ... ok
>> Attempt to delete a non existent tenant should fail ... ok
>> Request to list tenants without a valid token should fail ... ok
>> Return a list of all tenants ... ok
>> Non-admin user should not be able to list tenants ... ok
>> Tenant names should be unique ... ok
>> Create a tenant that is enabled ... ok
>> Create a tenant that is not enabled ... ok
>> Create tenant with a description ... ok
>> Create several tenants and delete them ... ok
>> Non-admin user should not be able to delete a tenant ... ok
>> Request to delete a tenant without a valid token should fail ... ok
>> Update description attribute of a tenant ... ok
>> Update the enabled attribute of a tenant ... ok
>> Update name attribute of a tenant ... ok
>> Disabled user's token should not get authenticated ... ok
>> Request for token authentication with a valid token in header ... ok
>> User's token for a disabled tenant should not be authenticated ...
>> SKIP: Until Bug 988920 is fixed
>> User's token with invalid password should not be authenticated ... ok
>> User's token for an invalid tenant should not be authenticated ...
>> SKIP: Until Bug 988920 is fixed
>> Non-existent user's token should not get authenticated ... ok
>> Create a user ... ok
>> Non-admin should not be authorized to create a user ... ok
>> Attempt to create a user in a non-existent tenant should fail ... ok
>> Request to create a user without a valid token should fail ... ok
>> Duplicate user should not be created ... ok
>> User with an empty name should not be created ... ok
>> User with an empty password should not be created ... SKIP: Until Bug
>> 999084 is fixed
>> Email format should be validated while creating a user ... SKIP:
>> Until Bug 999084 is fixed
>> User having password exceeding max length should not be created ...
>> SKIP: Until Bug 999084 is fixed
>> Length of user name filed should be restricted to 64 characters ...
>> SKIP: Until Bug 966251 is fixed
>> Attempt to delete a non-existent user should fail ... ok
>> Delete a user ... ok
>> Non admin user should not be authorized to delete a user ... ok
>> Get a list of users and find the test user ... ok
>> Non admin user should not be authorized to get user list ... ok
>> Request to get list of users without a valid token should fail ... ok
>> Return a list of all users for a tenant ... ok
>> Should not be able to return a list of all ... ok
>> Return list of users on tenant when roles are assigned to users ... ok
>> Valid user's token is authenticated ... ok
>> Disabled user's token should not get authenticated ... ok
>> Request for token authentication with a valid token in header ... ok
>> User's token for a disabled tenant should not be authenticated ...
>> SKIP: Until Bug 988920 is fixed
>> User's token with invalid password should not be authenticated ... ok
>> User's token for an invalid tenant should not be authenticated ...
>> SKIP: Until Bug 988920 is fixed
>> Non-existent user's token should not get authenticated ... ok
>> Create a user ... ok
>> Non-admin should not be authorized to create a user ... ok
>> Attempt to create a user in a non-existent tenant should fail ... ok
>> Request to create a user without a valid token should fail ... ok
>> Duplicate user should not be created ... ok
>> User with an empty name should not be created ... ok
>> User with an empty password should not be created ... SKIP: Until Bug
>> 999084 is fixed
>> Email format should be validated while creating a user ... SKIP:
>> Until Bug 999084 is fixed
>> User having password exceeding max length should not be created ...
>> SKIP: Until Bug 999084 is fixed
>> Length of user name filed should be restricted to 64 characters ...
>> SKIP: Until Bug 966251 is fixed
>> Attempt to delete a non-existent user should fail ... ok
>> Delete a user ... ok
>> Non admin user should not be authorized to delete a user ... ok
>> Get a list of users and find the test user ... ok
>> Non admin user should not be authorized to get user list ... ok
>> Request to get list of users without a valid token should fail ... ok
>> Return a list of all users for a tenant ... ok
>> Should not be able to return a list of all ... ok
>> Return list of users on tenant when roles are assigned to users ... ok
>> Valid user's token is authenticated ... ok
>> Register a new remote image ... ok
>> Register, then upload an image ... ok
>> Negative tests for invalid data supplied to POST /images ... ok
>> Simple test to see all fixture images returned ... ok
>> SKIP: No OpenStack Network API endpoint
>> SKIP: No OpenStack Object Storage API endpoint
>> SKIP: No OpenStack Object Storage API endpoint
>> SKIP: No OpenStack Object Storage API endpoint
>> Volume is attached and detached successfully from an instance ... ok
>> Verify that a volume's attachment information is retrieved ... ok
>> Create a volume, Get it's details and Delete the volume ... ok
>> Create a volume without passing metadata, get details, and delete ... ok
>> Create a volume, Get it's details and Delete the volume ... ok
>> Create a volume without passing metadata, get details, and delete ... ok
>> Get a list of Volumes ... ok
>> Get a list of Volumes with details ... ok
>> Get a list of Volumes ... ok
>> Get a list of Volumes with details ... ok
>> Should not be able to create volume with invalid size ... ok
>> Should not be able to create volume without passing size ... ok
>> Should not be able to create volume with size zero ... ok
>> Should not be able to delete volume when invalid ID is passed ... ok
>> Should not be able to delete volume when empty ID is passed ... ok
>> Should not be able to get volume with invalid id ... ok
>> Should not be able to get volume when empty ID is passed ... ok
>> Should not be able to delete a nonexistant Volume ... ok
>> Should not be able to get a nonexistant volume ... ok
>> Should not be able to create volume with invalid size ... ok
>> Should not be able to create volume without passing size ... ok
>> Should not be able to create volume with size zero ... ok
>> Should not be able to delete volume when invalid ID is passed ... ok
>> Should not be able to delete volume when empty ID is passed ... ok
>> Should not be able to get volume with invalid id ... ok
>> Should not be able to get volume when empty ID is passed ... ok
>> Should not be able to delete a nonexistant Volume ... ok
>> Should not be able to get a nonexistant volume ... ok
>>
>> ======================================================================
>> ERROR: The server's access addresses should reflect the provided values
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>    File
>> "/opt/stack/tempest/tempest/tests/compute/servers/test_servers.py",
>> line 125, in test_update_access_server_address
>>      self.client.wait_for_server_status(server['id'], 'ACTIVE')
>>    File
>> "/opt/stack/tempest/tempest/services/compute/json/servers_client.py",
>> line 162, in wait_for_server_status
>>      raise exceptions.BuildErrorException(server_id=server_id)
>> BuildErrorException: Server 6ebd86e8-ca3c-4e28-937f-608799a603bd
>> failed to build and is in ERROR status
>>
>> ======================================================================
>> ERROR: The server name should be changed to the the provided value
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>    File
>> "/opt/stack/tempest/tempest/tests/compute/servers/test_servers.py",
>> line 100, in test_update_server_name
>>      self.client.wait_for_server_status(server['id'], 'ACTIVE')
>>    File
>> "/opt/stack/tempest/tempest/services/compute/json/servers_client.py",
>> line 162, in wait_for_server_status
>>      raise exceptions.BuildErrorException(server_id=server_id)
>> BuildErrorException: Server 504a5ff7-8eed-440e-bd41-609e66fa2386
>> failed to build and is in ERROR status
>>
>> ======================================================================
>> ERROR: Specify a keypair while creating a server
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>    File
>> "/opt/stack/tempest/tempest/tests/compute/servers/test_servers.py",
>> line 86, in test_create_specify_keypair
>>      self.client.wait_for_server_status(server['id'], 'ACTIVE')
>>    File
>> "/opt/stack/tempest/tempest/services/compute/xml/servers_client.py",
>> line 195, in wait_for_server_status
>>      raise exceptions.BuildErrorException(server_id=server_id)
>> BuildErrorException: Server a5fc08f3-f677-4379-97ba-c73cfd57dcef
>> failed to build and is in ERROR status
>>
>> ======================================================================
>> ERROR: Creating a server with a name that already exists is allowed
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>    File
>> "/opt/stack/tempest/tempest/tests/compute/servers/test_servers.py",
>> line 68, in test_create_with_existing_server_name
>>      for server_id in (id1, id2):
>> UnboundLocalError: local variable 'id1' referenced before assignment
>>
>> ======================================================================
>> ERROR: Delete a server while it's VM state is Building
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>    File
>> "/opt/stack/tempest/tempest/tests/compute/servers/test_servers.py",
>> line 148, in test_delete_server_while_in_building_state
>>      self.client.wait_for_server_status(server['id'], 'BUILD')
>>    File
>> "/opt/stack/tempest/tempest/services/compute/xml/servers_client.py",
>> line 195, in wait_for_server_status
>>      raise exceptions.BuildErrorException(server_id=server_id)
>> BuildErrorException: Server c0cc67a0-84b4-4cb1-bd75-e5827fc56c21
>> failed to build and is in ERROR status
>>
>> ======================================================================
>> ERROR: The server's access addresses should reflect the provided values
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>    File
>> "/opt/stack/tempest/tempest/tests/compute/servers/test_servers.py",
>> line 125, in test_update_access_server_address
>>      self.client.wait_for_server_status(server['id'], 'ACTIVE')
>>    File
>> "/opt/stack/tempest/tempest/services/compute/xml/servers_client.py",
>> line 195, in wait_for_server_status
>>      raise exceptions.BuildErrorException(server_id=server_id)
>> BuildErrorException: Server e00f020f-0781-4b0e-b6ca-3fb941b547b3
>> failed to build and is in ERROR status
>>
>> ======================================================================
>> ERROR: The server name should be changed to the the provided value
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>    File
>> "/opt/stack/tempest/tempest/tests/compute/servers/test_servers.py",
>> line 100, in test_update_server_name
>>      self.client.wait_for_server_status(server['id'], 'ACTIVE')
>>    File
>> "/opt/stack/tempest/tempest/services/compute/xml/servers_client.py",
>> line 195, in wait_for_server_status
>>      raise exceptions.BuildErrorException(server_id=server_id)
>> BuildErrorException: Server 54044ce5-715d-4b36-9c28-c0a74999e555
>> failed to build and is in ERROR status
>>
>> ----------------------------------------------------------------------
>> XML: nosetests-full.xml
>> ----------------------------------------------------------------------
>> Ran 500 tests in 847.530s
>>
>> FAILED (SKIP=53, errors=7)
>> Process leaked file descriptors. See
>> http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build
>> for more information
>> Build step 'Execute shell' marked build as failure
>> [SCP] Connecting to static.openstack.org
>> [SCP] Trying to create
>> /srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25
>> [SCP] Trying to create
>> /srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/devstack-gate-cleanup-host.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/devstack-gate-setup-host.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/devstack-gate-setup-workspace.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/devstacklog.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/kern_log.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/localrc.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-c-api.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-c-sch.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-c-vol.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-g-api.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-g-reg.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-horizon.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-key.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-n-api.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-n-cond.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-n-cpu.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-n-crt.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-n-net.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-n-obj.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-n-sch.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/screen-swift.txt'
>> [SCP] uploading file:
>> '/srv/static/logs/periodic/periodic-tempest-devstack-vm-full/25/logs/syslog.txt'
>> [SCP] Connecting to static.openstack.org
>> [SCP] Copying console log.
>>
>> _______________________________________________
>> openstack-qa mailing list
>> openstack-qa at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-qa
>>
>
>


_______________________________________________
openstack-qa mailing list
openstack-qa at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-qa



More information about the openstack-qa mailing list