Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: Traceback (most recent call last):
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/lib/python3.10/site-packages/maasserver/start_up.py", line 134, in start_up
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: yield deferToDatabase(inner_start_up, master=master)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 244, in inContext
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: result = inContext.theWork() # type: ignore[attr-defined]
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 260, in <lambda>
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: inContext.theWork = lambda: context.call( # type: ignore[attr-defined]
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/usr/lib/python3/dist-packages/twisted/python/context.py", line 117, in callWithContext
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: return self.currentContext().callWithContext(ctx, func, *args, **kw)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/usr/lib/python3/dist-packages/twisted/python/context.py", line 82, in callWithContext
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: return func(*args, **kw)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/lib/python3.10/site-packages/provisioningserver/utils/twisted.py", line 856, in callInContext
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: return func(*args, **kwargs)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/lib/python3.10/site-packages/provisioningserver/utils/twisted.py", line 203, in wrapper
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: result = func(*args, **kwargs)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/lib/python3.10/site-packages/maasserver/utils/orm.py", line 726, in call_with_connection
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: return func(*args, **kwargs)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/lib/python3.10/site-packages/maasserver/utils/__init__.py", line 177, in call_with_lock
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: return func(*args, **kwargs)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/lib/python3.10/site-packages/maasserver/utils/orm.py", line 771, in call_within_transaction
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: return func_outside_txn(*args, **kwargs)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/lib/python3.10/site-packages/maasserver/utils/orm.py", line 574, in retrier
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: return func(*args, **kwargs)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/usr/lib/python3.10/contextlib.py", line 79, in inner
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: return func(*args, **kwds)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/lib/python3.10/site-packages/maasserver/start_up.py", line 240, in inner_start_up
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: initialize_image_storage(node)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/snap/maas/32570/lib/python3.10/site-packages/maasserver/bootresources.py", line 1564, in initialize_image_storage
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: shutil.rmtree(file)
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/usr/lib/python3.10/shutil.py", line 737, in rmtree
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: onerror(os.path.islink, path, sys.exc_info())
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: File "/usr/lib/python3.10/shutil.py", line 735, in rmtree
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: raise OSError("Cannot call rmtree on a symbolic link")
Jan 08 08:23:58 jenkins-slave-2 maas-regiond[3813093]: OSError: Cannot call rmtree on a symbolic link