diff options
| author | Alassane Yattara <alassane.yattara@savoirfairelinux.com> | 2023-12-08 02:56:33 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-08 17:17:42 +0000 |
| commit | 6d91225651573ab19b81a4430bccfc85f05a8173 (patch) | |
| tree | a78a20a27c5b83729735eafda5a6fd361c55b2fc /bitbake/lib/toaster/tests/functional | |
| parent | 23d3e2c718d6eab5151a425e835554bd4fe20a8b (diff) | |
| download | poky-6d91225651573ab19b81a4430bccfc85f05a8173.tar.gz | |
bitbake: toaster/tests: Fixes warnings in autobuilder
../bitbake/lib/toaster/tests/functional/functional_helpers.py:66
/home/pokybuild/yocto-worker/toaster/build/bitbake/lib/toaster/tests/functional/functional_helpers.py:66: DeprecationWarning: invalid escape sequence '\s'
project_url=re.search("(projectPageUrl\s:\s\")(.*)(\",)",rc)
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/pokybuild/yocto-worker/toaster/build/bitbake/lib/toaster/tests/commands/test_runbuilds.py", line 39, in run
os.kill(int(pid), signal.SIGTERM)
ProcessLookupError: [Errno 3] No such process
(Bitbake rev: 5a4732d5e4437cfc366c6b034868903ad6f0088c)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/tests/functional')
| -rw-r--r-- | bitbake/lib/toaster/tests/functional/functional_helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/tests/functional/functional_helpers.py b/bitbake/lib/toaster/tests/functional/functional_helpers.py index c37c5f8d2f..d3e037a6d0 100644 --- a/bitbake/lib/toaster/tests/functional/functional_helpers.py +++ b/bitbake/lib/toaster/tests/functional/functional_helpers.py | |||
| @@ -63,7 +63,7 @@ class SeleniumFunctionalTestCase(SeleniumTestCaseBase): | |||
| 63 | 63 | ||
| 64 | def get_URL(self): | 64 | def get_URL(self): |
| 65 | rc=self.get_page_source() | 65 | rc=self.get_page_source() |
| 66 | project_url=re.search("(projectPageUrl\s:\s\")(.*)(\",)",rc) | 66 | project_url=re.search(r"(projectPageUrl\s:\s\")(.*)(\",)",rc) |
| 67 | return project_url.group(2) | 67 | return project_url.group(2) |
| 68 | 68 | ||
| 69 | 69 | ||
