← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2063429] [NEW] worker killing doesn't work with bos02

 

Public bug reported:

```
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 systemd[1]: Stopping autopkgtest worker bos02-arm64-27...
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]: Traceback (most recent call last):
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/home/ubuntu/autopkgtest-cloud/worker/worker", line 1659, in <module>
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     main()
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/home/ubuntu/autopkgtest-cloud/worker/worker", line 1652, in main
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     queue.wait()
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/usr/lib/python3/dist-packages/amqplib/client_0_8/abstract_channel.py", line 97, in wait
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     return self.dispatch_method(method_sig, args, content)
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/usr/lib/python3/dist-packages/amqplib/client_0_8/abstract_channel.py", line 117, in dispatch_method
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     return amqp_method(self, args, content)
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/usr/lib/python3/dist-packages/amqplib/client_0_8/channel.py", line 2060, in _basic_deliver
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     func(msg)
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/home/ubuntu/autopkgtest-cloud/worker/worker", line 1327, in request
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     kill_openstack_server(test_uuid)
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/home/ubuntu/autopkgtest-cloud/worker/worker", line 630, in kill_openstack_server
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     if int(os.environ.get("OS_IDENTITY_API_VERSION")) == 3:
Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
```

This is because this variable isn't present in the rc files for bos02
for some reason

** Affects: auto-package-testing
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Auto Package Testing.
https://bugs.launchpad.net/bugs/2063429

Title:
  worker killing doesn't work with bos02

Status in Auto Package Testing:
  New

Bug description:
  ```
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 systemd[1]: Stopping autopkgtest worker bos02-arm64-27...
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]: Traceback (most recent call last):
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/home/ubuntu/autopkgtest-cloud/worker/worker", line 1659, in <module>
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     main()
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/home/ubuntu/autopkgtest-cloud/worker/worker", line 1652, in main
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     queue.wait()
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/usr/lib/python3/dist-packages/amqplib/client_0_8/abstract_channel.py", line 97, in wait
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     return self.dispatch_method(method_sig, args, content)
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/usr/lib/python3/dist-packages/amqplib/client_0_8/abstract_channel.py", line 117, in dispatch_method
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     return amqp_method(self, args, content)
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/usr/lib/python3/dist-packages/amqplib/client_0_8/channel.py", line 2060, in _basic_deliver
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     func(msg)
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/home/ubuntu/autopkgtest-cloud/worker/worker", line 1327, in request
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     kill_openstack_server(test_uuid)
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:   File "/home/ubuntu/autopkgtest-cloud/worker/worker", line 630, in kill_openstack_server
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]:     if int(os.environ.get("OS_IDENTITY_API_VERSION")) == 3:
  Apr 25 07:44:58 juju-7f2275-prod-proposed-migration-environment-2 sh[3280816]: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
  ```

  This is because this variable isn't present in the rc files for bos02
  for some reason

To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/2063429/+subscriptions



Follow ups