Skip to contentSkip to conversation

gitrepotest: add Upstream-Status to 0001-testpatch.patch

PATCH In review Martin Jansa 4 participants 7 messages May 31, 2024 – Jun 4, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gitrepotest: add Upstream-Status to 0001-testpatch.patch

---
 .../recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch   | 2 ++
 1 file changed, 2 insertions(+)
meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch +2 -0
index bccda17ee9..c3f99455ca 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [this is useless patch only for selftest]
+
 diff --git a/Makefile.am b/Makefile.am
 index 432a9b4..bbf7c74 100644
 --- a/Makefile.am
Signature · 1 line
2.45.1
#1 lore raw

PATCH 2/2 insane: add patch-status to default ERROR_QA

* it's enabled for patches in oe-core for very long time and I was using it for many other layers as well, so most layers should be in good shape

* it's also possible to disable it for individual layer as shown by oe-core in:
https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

---
 meta/classes-global/insane.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes-global/insane.bbclass +1 -2
index 99736830b9..6d2f83c6f7 100644
@@ -45,11 +45,10 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
             already-stripped installed-vs-shipped ldflags compile-host-path \
             install-host-path pn-overrides unknown-configure-option \
             useless-rpaths rpaths staticdev empty-dirs \
-            patch-fuzz \
+            patch-fuzz patch-status \
             "
 # Add usrmerge QA check based on distro feature
 ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
-ERROR_QA:append:layer-core = " patch-status"
 WARN_QA:append:layer-core = " missing-metadata missing-maintainer"
 
 FAKEROOT_QA = "host-user-contaminated"
Signature · 1 line
2.45.1
#2 lore raw

Re: [OE-core] [RESENDv2][PATCH 2/2] insane: add patch-status to default ERROR_QA

Quoted 10 lines · Martin Jansa via lists.openembedded.org

* it's enabled for patches in oe-core for very long time and I was using
  it for many other layers as well, so most layers should be in good shape

* it's also possible to disable it for individual layer as shown by oe-core in:

https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

Quoted 4 lines

---
 meta/classes-global/insane.bbclass | 3 +--

 1 file changed, 1 insertion(+), 2 deletions(-)

I'm pretty sure this is causing at least some of the failures in oe- selftest:

https://valkyrie.yoctoproject.org/#/builders/35/builds/36/steps/14/logs/stdio

Cheers,

Richard

#3 lore raw

Re: [OE-core] [RESENDv2][PATCH 2/2] insane: add patch-status to default ERROR_QA

Thanks and sorry for not catching it earlier.

The errors refer to these 5 files:
/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-795212/meta-selftest/recipes-test/recipetool/files/add-file.patch /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-795262/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-795262/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-795274/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-795274/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/backported.patch

will check where they are used and send v3 with fixes.

Regards,

Quoted 26 lines · Richard Purdie
Quoted 8 lines · Martin Jansa via lists.openembedded.org

* it's enabled for patches in oe-core for very long time and I was using
it for many other layers as well, so most layers should be in good shape

* it's also possible to disable it for individual layer as shown by oe-core in:

Quoted 6 lines

https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

---
 meta/classes-global/insane.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

I'm pretty sure this is causing at least some of the failures in oe- selftest:

https://valkyrie.yoctoproject.org/#/builders/35/builds/36/steps/14/logs/stdio

Cheers,

Richard

#4 lore raw

Re: [OE-core] [RESENDv2][PATCH 2/2] insane: add patch-status to default ERROR_QA

In reply to Martin Jansa
Quoted 4 lines · Martin Jansa via lists.openembedded.org

* it's enabled for patches in oe-core for very long time and I was using it for many other layers as well, so most layers should be in good shape

Do other layers have the patches taken care of is what you mean here ? otherwise I would suggest sending those fixes ahead of merging this.

Quoted 39 lines

* it's also possible to disable it for individual layer as shown by oe-core in:
https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

---
 meta/classes-global/insane.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes-global/insane.bbclass +1 -3
index 99736830b9..6d2f83c6f7 100644
@@ -45,11 +45,10 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
             already-stripped installed-vs-shipped ldflags compile-host-path \
             install-host-path pn-overrides unknown-configure-option \
             useless-rpaths rpaths staticdev empty-dirs \
-            patch-fuzz \
+            patch-fuzz patch-status \
             "
 # Add usrmerge QA check based on distro feature
 ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
-ERROR_QA:append:layer-core = " patch-status"
 WARN_QA:append:layer-core = " missing-metadata missing-maintainer"
 
 FAKEROOT_QA = "host-user-contaminated"
--

2.45.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#200091): https://lists.openembedded.org/g/openembedded-core/message/200091
Mute This Topic: https://lists.openembedded.org/mt/106418259/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

Re: [OE-core] [RESENDv2][PATCH 2/2] insane: add patch-status to default ERROR_QA

Quoted 11 lines · Khem Raj
Quoted 4 lines · Martin Jansa via lists.openembedded.org

* it's enabled for patches in oe-core for very long time and I was using it for many other layers as well, so most layers should be in good shape

Do other layers have the patches taken care of is what you mean here ? otherwise I would suggest sending those fixes ahead of merging this.

The layers I sometimes use were already fixed, the list of fixes was included in:
https://lists.openembedded.org/g/openembedded-core/message/197115

#6 lore raw

Patchtest results for [RESENDv2][PATCH 1/2] gitrepotest: add Upstream-Status to 0001-testpatch.patch

In reply to Martin Jansa

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/RESENDv2-1-2-gitrepotest-add-Upstream-Status-to-0001-testpatch.patch.patch

FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)

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 max line length (test_metadata.TestMetadata.test_max_line_length)
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: pretest src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.pretest_src_uri_left_files)
SKIP: test CVE check ignore: No modified recipes or older target branch, skipping test (test_metadata.TestMetadata.test_cve_check_ignore)
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 lic files chksum modified not mentioned: No modified recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
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)
SKIP: test src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.test_src_uri_left_files)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)
SKIP: test target mailing list: Series merged, no reason to check other mailing lists (test_mbox.TestMbox.test_target_mailing_list)

---

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!