<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib, branch 5.0_M1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=5.0_M1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=5.0_M1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2023-12-17T19:07:21+00:00</updated>
<entry>
<title>bitbake: runqueue: Remove tie between rqexe and starts_worker</title>
<updated>2023-12-17T19:07:21+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-12-15T15:58:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=69a4180c88ddd231c99baf76d5b606e6fd2b4875'/>
<id>urn:sha1:69a4180c88ddd231c99baf76d5b606e6fd2b4875</id>
<content type='text'>
We've been moving to try and separate several pieces of runqueue. Allow
start_worker to operate separately to rqexe since they don't need to be
tied. This allows rqexe to be available to print_diff for future
improvements.

(Bitbake rev: 834e452243ff2eea6e8e2e7f4935b5233ffb4b00)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: utils: Fix mkdir with PosixPath</title>
<updated>2023-12-17T19:07:21+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-12-17T13:11:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e706249f7b68fdb57b8400d5d09ac4555a0868b5'/>
<id>urn:sha1:e706249f7b68fdb57b8400d5d09ac4555a0868b5</id>
<content type='text'>
Avoid:
    Exception: AttributeError: 'PosixPath' object has no attribute 'find'

(Bitbake rev: 0b37fe89ba12549109905b6d0e6d07d342162436)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: Added validation to stop import if there is a build in progress</title>
<updated>2023-12-16T13:06:11+00:00</updated>
<author>
<name>Marlon Rodriguez Garcia</name>
<email>marlon.rodriguez-garcia@savoirfairelinux.com</email>
</author>
<published>2023-12-14T19:44:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ff7aba28f7071a787ed3c0b230139512bf05f86a'/>
<id>urn:sha1:ff7aba28f7071a787ed3c0b230139512bf05f86a</id>
<content type='text'>
Added validation to prevent simultaneous imports from running because the database fails at runtime.
The option to create a queue was taken into consideration. However, it will require the use of Celery https://pypi.org/project/celery/ or Background Task https://pypi.org/project/django-background-tasks/ which require the use of external services and multiple dependencies.
If required we could explore the alternative in the future.

(Bitbake rev: eb417e27be5717a259f27e98dbd73255b1a42fc9)

Signed-off-by: Marlon Rodriguez Garcia &lt;marlon.rodriguez-garcia@savoirfairelinux.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster/tests: Fixes functional tests warning on autobuilder</title>
<updated>2023-12-15T14:37:28+00:00</updated>
<author>
<name>Alassane Yattara</name>
<email>alassane.yattara@savoirfairelinux.com</email>
</author>
<published>2023-12-12T14:17:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a02138ad48a9a5b1aea18d0e8fcf067de46c608a'/>
<id>urn:sha1:a02138ad48a9a5b1aea18d0e8fcf067de46c608a</id>
<content type='text'>
tests/functional/test_project_config.py::TestProjectConfig::test_set_download_dir
  /home/pokybuild/yocto-worker/toaster/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (&lt;bound method TestProjectConfig.test_set_download_dir of &lt;toaster.tests.functional.test_project_config.TestProjectConfig testMethod=test_set_download_dir&gt;&gt;)
    return self.run(*args, **kwds)

tests/functional/test_project_config.py::TestProjectConfig::test_set_sstate_dir
  /home/pokybuild/yocto-worker/toaster/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (&lt;bound method TestProjectConfig.test_set_sstate_dir of &lt;toaster.tests.functional.test_project_config.TestProjectConfig testMethod=test_set_sstate_dir&gt;&gt;)
    return self.run(*args, **kwds)

(Bitbake rev: 938cba3e80f26589ccbe34483c79e17056346fde)

Signed-off-by: Alassane Yattara &lt;alassane.yattara@savoirfairelinux.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster/tests: Update tests/functional/functional_helpers test_functional_basic</title>
<updated>2023-12-15T14:37:28+00:00</updated>
<author>
<name>Alassane Yattara</name>
<email>alassane.yattara@savoirfairelinux.com</email>
</author>
<published>2023-12-15T11:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ad2ffefb147fce64a3061c91d98fadffde2f79e6'/>
<id>urn:sha1:ad2ffefb147fce64a3061c91d98fadffde2f79e6</id>
<content type='text'>
- Remove unused import time functional_helpers
- Delay driver actions from test_functional_basic

(Bitbake rev: c7a305f0ff3cd32875e2eb80bc0848f533209745)

Signed-off-by: Alassane Yattara &lt;alassane.yattara@savoirfairelinux.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster/tests: bug-fix element click intercepted in browser/test_layerdetails_page.py</title>
<updated>2023-12-15T14:37:28+00:00</updated>
<author>
<name>Alassane Yattara</name>
<email>alassane.yattara@savoirfairelinux.com</email>
</author>
<published>2023-12-15T11:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=adb7efe522074f8deb8d422fdfb288b34bf831f6'/>
<id>urn:sha1:adb7efe522074f8deb8d422fdfb288b34bf831f6</id>
<content type='text'>
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted

(Bitbake rev: d1936616cafc1aced69c7b5758e44638eb62b5ac)

Signed-off-by: Alassane Yattara &lt;alassane.yattara@savoirfairelinux.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster/tests: Bug-Fix testcase functional/test_project_page_tab_config.py</title>
<updated>2023-12-15T14:37:28+00:00</updated>
<author>
<name>Alassane Yattara</name>
<email>alassane.yattara@savoirfairelinux.com</email>
</author>
<published>2023-12-14T22:11:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=81a0110ca532fb4f60b3ea4cd6a977e9c967ac62'/>
<id>urn:sha1:81a0110ca532fb4f60b3ea4cd6a977e9c967ac62</id>
<content type='text'>
All issues and failures stemmed from a specific test case:
test_project_config_tab_right_section in the file
bitbake/lib/toaster/tests/functional/test_project_page_tab_config.py.

This test was designed to verify whether the "Most built recipes"
section on the project page correctly displays the latest and oldest
recipes built by the user, irrespective of the build outcome (failed,
        cancelled, succeeded, or errored).

The errors and failures arose because the build process did not
terminate as expected, particularly when attempting to build recipe
images such as "core-image-minimal" or "bash." It was discovered that
building a real recipe/image was unnecessary for the test's purpose.
Instead, building a fake recipe like "foo" provided a reliable way to
ensure the build would fail or be interrupted.

(Bitbake rev: 5162db5305826235c09d9fcd38b5fb48ded31622)

Signed-off-by: Alassane Yattara &lt;alassane.yattara@savoirfairelinux.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster/tests: Removed all time.sleep occurrence</title>
<updated>2023-12-15T14:37:28+00:00</updated>
<author>
<name>Alassane Yattara</name>
<email>alassane.yattara@savoirfairelinux.com</email>
</author>
<published>2023-12-14T22:11:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c8382b35e843591a34f867c5eb34a24cc17634e2'/>
<id>urn:sha1:c8382b35e843591a34f867c5eb34a24cc17634e2</id>
<content type='text'>
Use wait_until_visible instead of time.sleep to delay driver actions
(Bitbake rev: 96bf461d5860dad2377963c8dad6c754670738a6)

Signed-off-by: Alassane Yattara &lt;alassane.yattara@savoirfairelinux.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster/tests: logging warning in console, trying to kill unavailable Runbuilds process</title>
<updated>2023-12-15T14:37:28+00:00</updated>
<author>
<name>Alassane Yattara</name>
<email>alassane.yattara@savoirfairelinux.com</email>
</author>
<published>2023-12-14T22:11:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5648636a8b5c7b45d5c37a73bfd41cb416f91557'/>
<id>urn:sha1:5648636a8b5c7b45d5c37a73bfd41cb416f91557</id>
<content type='text'>
(Bitbake rev: 26100ca3b5e451e9d296654fc8c47a4299fea835)

Signed-off-by: Alassane Yattara &lt;alassane.yattara@savoirfairelinux.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster/tests: fix chrome argument syntax and wait for driver exit</title>
<updated>2023-12-15T14:37:28+00:00</updated>
<author>
<name>Alexander Lussier-Cullen</name>
<email>alexander.lussier-cullen@savoirfairelinux.com</email>
</author>
<published>2023-12-14T21:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0fd93b86c46d96fd14a67b5ef516fdafd788efb8'/>
<id>urn:sha1:0fd93b86c46d96fd14a67b5ef516fdafd788efb8</id>
<content type='text'>
The chrome driver sometimes fails with a page crash for a full suite
of tests, pointing to a failure in the setup of the driver due to
resource limitations.
To mitigate these crashes, add a wait between driver driven tests to
ensure resources are freed.

(Bitbake rev: 8f998e27aae694c16f788aac12558621089d0839)

Signed-off-by: Alexander Lussier-Cullen &lt;alexander.lussier-cullen@savoirfairelinux.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
