<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/lib/oeqa, branch mickledore-4.2.3</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=mickledore-4.2.3</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=mickledore-4.2.3'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2023-08-18T13:57:05+00:00</updated>
<entry>
<title>oeqa/ssh: Further improve process exit handling</title>
<updated>2023-08-18T13:57:05+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-07-29T08:00:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7e020d4aea4d0378a6bb1dabf0cd3a46066b2a4b'/>
<id>urn:sha1:7e020d4aea4d0378a6bb1dabf0cd3a46066b2a4b</id>
<content type='text'>
It looks like there were further cases where orphaned processes may be left
behind since the .kill() calls may be unsuccessful if the process terminated
due to the terminate or through normal exit. In that situation .wait()
wouldn't have been called.

Further tweak the exit code paths to ensure .wait() is called to update the
returncode value before returning in all cases.

(From OE-Core rev: f647d1400bfa5b8eab81b2b2e2c86df306970a71)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 0a0a1731e38edfa72a141e8fd8f2de52be562e94)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>target/ssh: Ensure exit code set for commands</title>
<updated>2023-08-15T16:18:49+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-07-28T10:16:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=998d1cf1d9505344b630f9d80918a0e77d5585e1'/>
<id>urn:sha1:998d1cf1d9505344b630f9d80918a0e77d5585e1</id>
<content type='text'>
As spotted by Joshua Watt, the returncode isn't set until .poll() or .wait()
is called so we need to call this after the .kill() call.

This fixes return code reporting so that timeouts for example now return an
exit code when they didn't before.

(From OE-Core rev: 6bd6b7110ea2029fc736a40760536adfaf28eec0)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 3924e94214b5135369be2551d54fb92097d35e95)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>oeqa/runtime/ltp: Increase ltp test output timeout</title>
<updated>2023-08-15T16:18:49+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-07-27T16:25:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9ddf095096c5d04e129d7b621f1a942d26b5dab2'/>
<id>urn:sha1:9ddf095096c5d04e129d7b621f1a942d26b5dab2</id>
<content type='text'>
On our slower arm server, the tests currently timeout leading to inconsistent test
results. Increase the timeout to avoid this and aim to make the test results
consistent.

(From OE-Core rev: a9e2179f3b4a4fe7321539de9e8e2707c9ca350a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 9a8b49208f3c99e184eab426360b137bc773aa31)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>oeqa/target/ssh: Ensure EAGAIN doesn't truncate output</title>
<updated>2023-08-15T16:18:49+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-07-27T14:17:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=468ff997f4e79b7fd217df9d92b7d002c5723e8b'/>
<id>urn:sha1:468ff997f4e79b7fd217df9d92b7d002c5723e8b</id>
<content type='text'>
We have a suspicion that the read() call may return EAGAIN on the non-blocking
fd and this may truncate test output leading to some of our intermittent failures.
Tweak the code to avoid this potential issue.

(From OE-Core rev: fd9e47ee5653dad1f24d823d32d2012e7f8bb3a6)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit a8920c105725431e989cceb616bd04eaa52127ec)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>selftest/cases/glibc.py: switch to using NFS over TCP</title>
<updated>2023-08-15T16:18:49+00:00</updated>
<author>
<name>Anuj Mittal</name>
<email>anuj.mittal@intel.com</email>
</author>
<published>2023-07-26T16:22:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9c34365a3d56520117938aba7c05deb4746f0b4d'/>
<id>urn:sha1:9c34365a3d56520117938aba7c05deb4746f0b4d</id>
<content type='text'>
This provides a more reliable test execution when running tests that
write a large buffer/file and significantly reduces the localedata test
failures.

(From OE-Core rev: e138b648a56a0146588dc52edd9b44929ed8a73e)

Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 97a7612e3959bc9c75116a4e696f47cc31aea75d)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>oeqa/utils/nfs: allow requesting non-udp ports</title>
<updated>2023-08-15T16:18:49+00:00</updated>
<author>
<name>Anuj Mittal</name>
<email>anuj.mittal@intel.com</email>
</author>
<published>2023-07-26T16:22:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6fa4e40651e8f3c11d036aa58146dedf0ef2a885'/>
<id>urn:sha1:6fa4e40651e8f3c11d036aa58146dedf0ef2a885</id>
<content type='text'>
Allows setting up NFS over TCP as well.

(From OE-Core rev: a177ce907ec7a044659ec49c679e66f49cd71c43)

Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit e1ff9b9a3b7f7924aea67d2024581bea2e916036)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>selftest/cases/glibc.py: increase the memory for testing</title>
<updated>2023-08-15T16:18:49+00:00</updated>
<author>
<name>Anuj Mittal</name>
<email>anuj.mittal@intel.com</email>
</author>
<published>2023-07-26T16:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=13a94b094b6e0f72352f65af82ff43614d306953'/>
<id>urn:sha1:13a94b094b6e0f72352f65af82ff43614d306953</id>
<content type='text'>
Some of the tests trigger OOM and fail. Increase the amount of memory
available so we dont run into these issues.

(From OE-Core rev: b4e7158aca35235c86afee2b68236e250488ef98)

Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 4d22dba482cb19ffcff5abee73f24526ea9d1c2a)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>selftest/cases/glibc.py: fix the override syntax</title>
<updated>2023-08-15T16:18:49+00:00</updated>
<author>
<name>Anuj Mittal</name>
<email>anuj.mittal@intel.com</email>
</author>
<published>2023-07-21T05:30:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=07fc9ad254055ca87302e1c0c74d50775b8550a6'/>
<id>urn:sha1:07fc9ad254055ca87302e1c0c74d50775b8550a6</id>
<content type='text'>
Fix the override so we actually pass the correct value to glibc.

(From OE-Core rev: 8ad6000c814631e1147fddd5d2462b39ea44b99e)

Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 38fd2120f0f48512091ddad6205ce19839eaf589)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>oeqa/selftest/devtool: add unit test for "devtool add -b"</title>
<updated>2023-08-01T16:17:28+00:00</updated>
<author>
<name>Yoann Congal</name>
<email>yoann.congal@smile.fr</email>
</author>
<published>2023-07-05T15:30:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=29ef95012555a1ea113c29d0096fc61386b5e5a5'/>
<id>urn:sha1:29ef95012555a1ea113c29d0096fc61386b5e5a5</id>
<content type='text'>
Fix [Yocto #15085]

Co-authored-by: Fawzi KHABER &lt;fawzi.khaber@smile.fr&gt;
(From OE-Core rev: 2dca7cba28a08d63e0ca88bb9897e01661e177ef)

Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit d5eedf8ca689ccb433c2f5d0b324378f966dd627)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure case</title>
<updated>2023-08-01T16:17:28+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2023-07-05T10:50:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1b61d1fedb620eafc872686c842be2ecfabe9684'/>
<id>urn:sha1:1b61d1fedb620eafc872686c842be2ecfabe9684</id>
<content type='text'>
str.format() doesn't use % notation, update the formatting to work.

assertTrue() is a member of self not a global, and assertTrue(True) will
always pass. Change this to just self.fail() as this is the failure case.

(From OE-Core rev: c88b9eedc81529c67f2e628ae5e7325daff2535e)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 017f3a0b1265c1a3b69c20bdb56bbf446111977e)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
</feed>
