Merge ~michal-maloszewski99/ubuntu/+source/apache2:passing-health-check-lp2003189-kinetic into ubuntu/+source/apache2:ubuntu/kinetic-devel
- Git
- lp:~michal-maloszewski99/ubuntu/+source/apache2
- passing-health-check-lp2003189-kinetic
- Merge into ubuntu/kinetic-devel
Status: | Approved | ||||
---|---|---|---|---|---|
Approved by: | git-ubuntu bot | ||||
Approved revision: | not available | ||||
Proposed branch: | ~michal-maloszewski99/ubuntu/+source/apache2:passing-health-check-lp2003189-kinetic | ||||
Merge into: | ubuntu/+source/apache2:ubuntu/kinetic-devel | ||||
Diff against target: |
74 lines (+17/-8) 2 files modified
debian/changelog (+8/-0) debian/patches/reenable-workers-in-standard-error-state-kinetic-apache2.patch (+9/-8) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bryce Harrington (community) | Approve | ||
git-ubuntu bot | Approve | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+439392@code.staging.launchpad.net |
Commit message
Description of the change
Michał Małoszewski (michal-maloszewski99) wrote : | # |
I am writing SRU template which will be attached here asap.
Michał Małoszewski (michal-maloszewski99) wrote : | # |
Results: (from http://
apache2 @ amd64:
http://
22.02.23 18:55:55 ❌ Triggers: apache2/
run-
http://
21.03.23 17:24:47 ✅ Triggers: apache2/
apache2 @ arm64:
http://
22.02.23 16:48:40 ❌ Triggers: apache2/
run-
http://
21.03.23 11:10:32 ❌ Triggers: apache2/
run-
apache2 @ armhf:
http://
22.02.23 13:29:53 ❌ Triggers: apache2/
run-
http://
21.03.23 10:48:26 ✅ Triggers: apache2/
apache2 @ ppc64el:
http://
22.02.23 13:26:36 ❌ Triggers: apache2/
run-
http://
21.03.23 10:34:12 ✅ Triggers: apache2/
apache2 @ s390x:
http://
22.02.23 13:19:12 ❌ Triggers: apache2/
run-
I have run the autopkgtests locally and re-tested on the same infrastructure and it looks like above.
Michał Małoszewski (michal-maloszewski99) wrote : | # |
I don't see any notifications from git about conflicts. Moreover locally when I open d/changelog, the changelog stanza/version is ok.
Michał Małoszewski (michal-maloszewski99) wrote : | # |
Conflict fixed on both MP's.
Michał Małoszewski (michal-maloszewski99) wrote : | # |
Michał Małoszewski (michal-maloszewski99) wrote : | # |
Autopkgtests being run locally work, so it shows that apache2 PPA dep8 tests are fleaky.
```
welcome to localhost:8529
ok 2
500 Server closed connection without sending any data back
Content-Type: text/plain
Client-Date: Wed, 22 Mar 2023 13:34:44 GMT
Client-Warning: Internal response
Server closed connection without sending any data back at /usr/share/
ok 3
ok
All tests successful.
Files=142, Tests=7294, 296 wallclock secs ( 2.25 usr 0.38 sys + 178.13 cusr 51.98 csys = 232.74 CPU)
Result: PASS
[warning] server localhost:8529 shutdown
Files=142, Tests=7294, 296 wallclock secs ( 2.25 usr 0.38 sys + 178.13 cusr 51.98 csys = 232.74 CPU)
+ grep -E '^Files=[0-9]+, Tests=[0-9]+' testlog.mpm_event
+ grep -E '^Result: PASS' testlog.mpm_event
+ grep -E '^Result: FAIL' testlog.mpm_event
+ grep -E 'server dumped core' testlog.mpm_event
+ return 0
Result: PASS
autopkgtest [14:34:46]: test run-test-suite: -------
autopkgtest [14:34:47]: test run-test-suite: - - - - - - - - - - results - - - - - - - - - -
run-test-suite PASS
autopkgtest [14:34:48]: @@@@@@@
run-test-suite PASS
qemu-system-x86_64: terminating on signal 15 from pid 63458 (/usr/bin/python3)
Bryce Harrington (bryce) wrote : | # |
Looks like the arm64 test still failed, but I'm going to assume that's just flaky if you can make sure to check that it builds and passes its test after uploading. Might need a rebuild/retrigger or two. That's not unusual for apache.
triage-
triage-
Vcs-Git: https:/
Vcs-Git-Commit: d3a421de7af1f49
Vcs-Git-Ref: refs/heads/
triage-
signfile dsc ../apache2_
fixup_buildinfo ../apache2_
signfile buildinfo ../apache2_
fixup_changes dsc ../apache2_
fixup_changes buildinfo ../apache2_
signfile changes ../apache2_
Successfully signed dsc, buildinfo, changes files
triage-
gpg: Signature made Thu 04 May 2023 02:29:22 AM UTC
gpg: using RSA key A661100B3DAC1D4
gpg: Good signature from "Bryce Harrington <email address hidden>" [ultimate]
gpg: aka "Bryce Harrington <email address hidden>" [ultimate]
gpg: aka "Bryce Harrington <email address hidden>" [ultimate]
triage-
D: Setting host argument.
Checking signature on .changes
gpg: ../apache2_
Checking signature on .dsc
gpg: ../apache2_
Uploading to ubuntu (via ftp to upload.ubuntu.com):
Uploading apache2_
Uploading apache2_
Uploading apache2_
Uploading apache2_
Successfully uploaded packages.
git-ubuntu bot (git-ubuntu-bot) wrote : | # |
Approvers: bryce, michal-
Uploaders: bryce
MP auto-approved
Michał Małoszewski (michal-maloszewski99) wrote : | # |
Autopkgtests run locally work fine.
welcome to localhost:8529
ok 2
500 Server closed connection without sending any data back
Content-Type: text/plain
Client-Date: Thu, 04 May 2023 08:41:54 GMT
Client-Warning: Internal response
Server closed connection without sending any data back at /usr/share/
ok 3
ok
All tests successful.
Files=142, Tests=7294, 372 wallclock secs ( 2.93 usr 0.49 sys + 228.47 cusr 69.56 csys = 301.45 CPU)
Result: PASS
[warning] server localhost:8529 shutdown
grep -E '^Files=[0-9]+, Tests=[0-9]+' testlog.mpm_event
Files=142, Tests=7294, 372 wallclock secs ( 2.93 usr 0.49 sys + 228.47 cusr 69.56 csys = 301.45 CPU)
Result: PASS
grep -E '^Result: PASS' testlog.mpm_event
grep -E '^Result: FAIL' testlog.mpm_event
grep -E 'server dumped core' testlog.mpm_event
return 0
autopkgtest [10:41:56]: test run-test-suite: -------
autopkgtest [10:41:57]: test run-test-suite: - - - - - - - - - - results - - - - - - - - - -
run-test-suite PASS
autopkgtest [10:41:58]: @@@@@@@
run-test-suite PASS
qemu-system-x86_64: terminating on signal 15 from pid 10608 (/usr/bin/python3)
Michał Małoszewski (michal-maloszewski99) wrote (last edit ): | # |
Fixed the problem which caused the autopkgtests error in -proposed. Autopkgtests PASS.
Results: (from http://
apache2 @ amd64:
http://
21.06.23 12:07:58 ✅ Triggers: apache2/
apache2 @ arm64:
http://
21.06.23 13:11:43 ✅ Triggers: apache2/
apache2 @ armhf:
http://
21.06.23 12:17:40 ⚪ Triggers: apache2/
No valid results
apache2 @ ppc64el:
http://
21.06.23 12:11:16 ✅ Triggers: apache2/
apache2 @ s390x:
http://
21.06.23 12:13:19 ✅ Triggers: apache2/
Running: (none)
Waiting: (none)
Michał Małoszewski (michal-maloszewski99) wrote : | # |
I need to fix weird conflicts and will be ready to be sponsored.
Michał Małoszewski (michal-maloszewski99) wrote : | # |
I am pretty sure that after resolving conflicts it can be uploaded and we will observe how autopkgtests behave in the -proposed.
Bryce Harrington (bryce) wrote : | # |
Glad to hear you got a lead on a solution. Can you explain a bit more either here or in the bug report how MODULE_MAGIC_COOKIE caused the autopkgtest failure? Since the only change appears to be the addition of a comment, did you find some code that parses and uses that? (I haven't run into this problem with other patches so it seems a bit weird.) Also, why did this fail on Kinetic but not on Jammy?
Michał Małoszewski (michal-maloszewski99) wrote (last edit ): | # |
Sure, Bryce, I will explain.
11320 # Test 2 got: "126" (t/apache/mmn.t at line 42)
11321 # Expected: "125"
11322 t/apache/mmn.t .......
It is a snippet of the log, I saw it, and there it came to my mind that there is a problem with that "magic number".
Btw, it was not only a comment that was changed.
Let me copy some part of the code from the Preview Diff from 3rd of May:
1. + * 20120211.124 (2.4.51-dev) Add name_ex to struct proxy_worker_shared
2. +- *
3. ++ * 20120211.125 (2.4.55-dev) Add additional hcmethod_t enums and
4.
5. + */
6. +
7. + #define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */
8. +@@ -600,7 +601,7 @@
9. + #ifndef MODULE_
10. + #define MODULE_
11. + #endif
12. +-#define MODULE_
13. ++#define MODULE_
Line number 3: * 20120211.125 (2.4.55-dev) Add additional hcmethod_t enums and
Line number 13: #define MODULE_
There was a discrepancy in terms of incrementation -> 125!=126
That was an easy mistake that was not spotted.
Why did it not fail on Jammy?
1. +- *
2. ++ * 20120211.126 (2.4.55-dev) Add additional hcmethod_t enums and
3. ++ PROXY_WORKER_
4. + */
5. +
6. + #define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */
7. +@@ -595,7 +596,7 @@
8. + #ifndef MODULE_
9. + #define MODULE_
10. + #endif
11. +-#define MODULE_
12. ++#define MODULE_
There we have:
Line 2 - 126
Line 12 - 126
126=126
Michał Małoszewski (michal-maloszewski99) wrote : | # |
After retriggering autopkgtests - armhf passed:
Results: (from http://
apache2 @ amd64:
http://
21.06.23 12:07:58 ✅ Triggers: apache2/
apache2 @ arm64:
http://
21.06.23 13:11:43 ✅ Triggers: apache2/
apache2 @ armhf:
http://
21.06.23 12:17:40 ⚪ Triggers: apache2/
No valid results
http://
21.06.23 16:13:47 ✅ Triggers: apache2/
apache2 @ ppc64el:
http://
21.06.23 12:11:16 ✅ Triggers: apache2/
apache2 @ s390x:
http://
21.06.23 12:13:19 ✅ Triggers: apache2/
I think we can think about uploading now.
Michał Małoszewski (michal-maloszewski99) wrote : | # |
So tests are green
Michał Małoszewski (michal-maloszewski99) wrote (last edit ): | # |
I added a more concise explanation to the bug report as a comment.
Bryce Harrington (bryce) wrote : | # |
$ ppa tests ppa:michal-
* Triggers:
- Source apache2/
+ Trigger basic @amd64♻️ Trigger all-proposed @amd64💍
+ Trigger basic @arm64♻️ Trigger all-proposed @arm64💍
+ Trigger basic @armhf♻️ Trigger all-proposed @armhf💍
+ Trigger basic @i386♻️ Trigger all-proposed @i386💍
+ Trigger basic @ppc64el♻️ Trigger all-proposed @ppc64el💍
+ Trigger basic @s390x♻️ Trigger all-proposed @s390x💍
* Results:
- apache2/
+ ✅ apache2 on kinetic for amd64 @ 21.06.23 12:07:58 Log️ 🗒️
+ ✅ apache2 on kinetic for arm64 @ 21.06.23 13:11:43 Log️ 🗒️
+ ✅ apache2 on kinetic for armhf @ 21.06.23 12:17:40 Log️ 🗒️
+ ✅ apache2 on kinetic for armhf @ 21.06.23 16:13:47 Log️ 🗒️
+ ✅ apache2 on kinetic for ppc64el @ 21.06.23 12:11:16 Log️ 🗒️
+ ✅ apache2 on kinetic for s390x @ 21.06.23 12:13:19 Log️ 🗒️
* Running: (none)
* Waiting: (none)
Confirmed, looks good.
$ grep ^Vcs apache2_
Vcs-Git: https:/
Vcs-Git-Commit: 9cc9c9bcdf8bf1f
Vcs-Git-Ref: refs/heads/
$ dput ubuntu apache2_
D: Setting host argument.
Checking signature on .changes
gpg: /home/bryce/
Checking signature on .dsc
gpg: /home/bryce/
Uploading to ubuntu (via ftp to upload.ubuntu.com):
Uploading apache2_
Uploading apache2_
Uploading apache2_
Uploading apache2_
Successfully uploaded packages.
Bryce Harrington (bryce) wrote : | # |
The kinetic upload got rejected but I've re-checked and I do think the upload is correct. Possibly there was confusion similar to what I had in the above "Needs Information" comment above. You probably should have stated more explicitly that the test failure is caused by a check of the number in the *comment* so the *comment* is the actual "fix" with this upload. It might be worth checking with Andreas on what the policy/process is for getting a re-look by the sru team.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
I didn't see any merge conflicts locally so far. I'm going to fix it.