diff mbox series

[meta-selftest] meta-selftest/files: add postfix/vmail/postgrop to static-passwd/-group

Message ID 20260513072651.2235181-1-changqing.li@windriver.com
State Changes Requested
Headers show
Series [meta-selftest] meta-selftest/files: add postfix/vmail/postgrop to static-passwd/-group | expand

Commit Message

Changqing Li May 13, 2026, 7:26 a.m. UTC
Package postfix-bin create postfix/vmail, and group
postfix/vmail/postgrop, add them in static-passwd/-group to fix the
failure as below:
2026-05-13 15:16:49,656 - oe-selftest - INFO -       ERROR: Nothing PROVIDES 'postfix'
2026-05-13 15:16:49,656 - oe-selftest - INFO -       postfix was skipped: Recipe postfix, package postfix-bin: system username "postfix" does not have a static ID defined. Add postfix to one of these files: /build-st/meta-selftest/files/static-passwd

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 meta-selftest/files/static-group  | 3 +++
 meta-selftest/files/static-passwd | 2 ++
 2 files changed, 5 insertions(+)

Comments

patchtest@automation.yoctoproject.org May 13, 2026, 10:14 a.m. UTC | #1
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch /home/patchtest/share/mboxes/meta-selftest-meta-selftest-files-add-postfix-vmail-postgrop-to-static-passwd--group.patch

FAIL: test target mailing list: Series sent to the wrong mailing list or some patches from the series correspond to different mailing lists (test_mbox.TestMbox.test_target_mailing_list)

PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!
Yoann Congal May 21, 2026, 9 a.m. UTC | #2
On Wed May 13, 2026 at 9:26 AM CEST, Changqing Li via lists.openembedded.org wrote:
> Package postfix-bin create postfix/vmail, and group
> postfix/vmail/postgrop, add them in static-passwd/-group to fix the
> failure as below:
> 2026-05-13 15:16:49,656 - oe-selftest - INFO -       ERROR: Nothing PROVIDES 'postfix'
> 2026-05-13 15:16:49,656 - oe-selftest - INFO -       postfix was skipped: Recipe postfix, package postfix-bin: system username "postfix" does not have a static ID defined. Add postfix to one of these files: /build-st/meta-selftest/files/static-passwd
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---

Hello,

Postfix is a meta-openembedded/meta-networking recipe and postfix has
already a static id defined in
https://git.openembedded.org/meta-openembedded/tree/meta-networking/files/static-passwd-meta-networking#n4

You may use this file by adding
  USERADD_GID_TABLES:append = ' files/static-group-meta-networking'
  USERADD_UID_TABLES:append = ' files/static-passwd-meta-networking'
to your configuration

(This is what AB does: https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json#n396)

>  meta-selftest/files/static-group  | 3 +++
>  meta-selftest/files/static-passwd | 2 ++
>  2 files changed, 5 insertions(+)
>
> diff --git a/meta-selftest/files/static-group b/meta-selftest/files/static-group
> index 6a9ece20a8..914d387ee1 100644
> --- a/meta-selftest/files/static-group
> +++ b/meta-selftest/files/static-group
> @@ -31,4 +31,7 @@ audio:x:532:
>  empower:x:533:
>  cmake-example:x:534:
>  meson-example:x:535:
> +postfix:x:536:
> +vmail:x:537:
> +postgrop:x:538:
>  nogroup:x:65534:
> diff --git a/meta-selftest/files/static-passwd b/meta-selftest/files/static-passwd
> index 98017c8153..3a75aea754 100644
> --- a/meta-selftest/files/static-passwd
> +++ b/meta-selftest/files/static-passwd
> @@ -21,3 +21,5 @@ ptest:x:529:529::/:/bin/nologin
>  xuser:x:530:530::/:/bin/nologin
>  cmake-example:x:534:534::/var/lib/cmake-example:/bin/false
>  meson-example:x:535:535::/var/lib/meson-example:/bin/false
> +postfix:x:536:536::/:/bin/nologin
> +vmail:x:537:537::/:/bin/nologin
Changqing Li May 21, 2026, 10:55 a.m. UTC | #3
On 5/21/26 17:00, Yoann Congal wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
> On Wed May 13, 2026 at 9:26 AM CEST, Changqing Li via lists.openembedded.org wrote:
>> Package postfix-bin create postfix/vmail, and group
>> postfix/vmail/postgrop, add them in static-passwd/-group to fix the
>> failure as below:
>> 2026-05-13 15:16:49,656 - oe-selftest - INFO -       ERROR: Nothing PROVIDES 'postfix'
>> 2026-05-13 15:16:49,656 - oe-selftest - INFO -       postfix was skipped: Recipe postfix, package postfix-bin: system username "postfix" does not have a static ID defined. Add postfix to one of these files: /build-st/meta-selftest/files/static-passwd
>>
>> Signed-off-by: Changqing Li <changqing.li@windriver.com>
>> ---
> Hello,
>
> Postfix is a meta-openembedded/meta-networking recipe and postfix has
> already a static id defined in
> https://git.openembedded.org/meta-openembedded/tree/meta-networking/files/static-passwd-meta-networking#n4
>
> You may use this file by adding
>    USERADD_GID_TABLES:append = ' files/static-group-meta-networking'
>    USERADD_UID_TABLES:append = ' files/static-passwd-meta-networking'
> to your configuration
>
> (This is what AB does: https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json#n396)

Hi, Yoann

Thanks. I did not notice that before.

Regards

Changqing

>>   meta-selftest/files/static-group  | 3 +++
>>   meta-selftest/files/static-passwd | 2 ++
>>   2 files changed, 5 insertions(+)
>>
>> diff --git a/meta-selftest/files/static-group b/meta-selftest/files/static-group
>> index 6a9ece20a8..914d387ee1 100644
>> --- a/meta-selftest/files/static-group
>> +++ b/meta-selftest/files/static-group
>> @@ -31,4 +31,7 @@ audio:x:532:
>>   empower:x:533:
>>   cmake-example:x:534:
>>   meson-example:x:535:
>> +postfix:x:536:
>> +vmail:x:537:
>> +postgrop:x:538:
>>   nogroup:x:65534:
>> diff --git a/meta-selftest/files/static-passwd b/meta-selftest/files/static-passwd
>> index 98017c8153..3a75aea754 100644
>> --- a/meta-selftest/files/static-passwd
>> +++ b/meta-selftest/files/static-passwd
>> @@ -21,3 +21,5 @@ ptest:x:529:529::/:/bin/nologin
>>   xuser:x:530:530::/:/bin/nologin
>>   cmake-example:x:534:534::/var/lib/cmake-example:/bin/false
>>   meson-example:x:535:535::/var/lib/meson-example:/bin/false
>> +postfix:x:536:536::/:/bin/nologin
>> +vmail:x:537:537::/:/bin/nologin
>
> --
> Yoann Congal
> Smile ECS
>
diff mbox series

Patch

diff --git a/meta-selftest/files/static-group b/meta-selftest/files/static-group
index 6a9ece20a8..914d387ee1 100644
--- a/meta-selftest/files/static-group
+++ b/meta-selftest/files/static-group
@@ -31,4 +31,7 @@  audio:x:532:
 empower:x:533:
 cmake-example:x:534:
 meson-example:x:535:
+postfix:x:536:
+vmail:x:537:
+postgrop:x:538:
 nogroup:x:65534:
diff --git a/meta-selftest/files/static-passwd b/meta-selftest/files/static-passwd
index 98017c8153..3a75aea754 100644
--- a/meta-selftest/files/static-passwd
+++ b/meta-selftest/files/static-passwd
@@ -21,3 +21,5 @@  ptest:x:529:529::/:/bin/nologin
 xuser:x:530:530::/:/bin/nologin
 cmake-example:x:534:534::/var/lib/cmake-example:/bin/false
 meson-example:x:535:535::/var/lib/meson-example:/bin/false
+postfix:x:536:536::/:/bin/nologin
+vmail:x:537:537::/:/bin/nologin