Repository navigation
fix(api-conformance): follow the 4.0.3 units and install script in Tier 1 - #26642
antobinary merged 1 commit into
Conversation
…er 1 Since 4.0.3 was merged into v4.0.x-develop (bigbluebutton#26631), check-copies.sh has warned on every api-conformance run: three of the package files Tier 1 mirrors by hand had changed. - bbb-web.service and bbb-apps-akka's unit set JAVA_TOOL_OPTIONS=-XX:-UseBASE64Intrinsics (bigbluebutton#26603). Both images' start scripts now set it too. bbb-web's keeps a JAVA_TOOL_OPTIONS that compose.yaml passes in, such as a coverage agent, after the flag. - akka-apps' start script also sets MALLOC_ARENA_MAX=2, which its unit has set since 9d4dc4b. Tier 1 had followed that only for bbb-web. - bbb-web's after-install.sh writes a random pageTokenSecret. Tier 1 already sets a known one in tier1.properties.in (bigbluebutton#26634); the Dockerfile's note on what after-install.sh does now names it. copies.sha256 records the three sources as they are now.
|
No actionable comments were generated in the recent review. WalkthroughThe API conformance environment startup scripts now export memory and Java options. A Dockerfile comment adds the page-token secret to its description of bbb-web properties. The Tier 1 README clarifies the manually mirrored package details and source-change warnings. The checksum file adds an entry for Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Suggested reviewers: Merge Risk:
|
✅ Automated tests have passed! |
Brings v4.0.x-develop to 932c31d: the merged bigbluebutton#26631 and the fixes that followed it on 4.0 (bigbluebutton#26642 and bigbluebutton#26634 for the API conformance Tier 1 stack, bigbluebutton#26641 for the presentation conversion tests, bigbluebutton#26636 and bigbluebutton#26617 for the middleware limits, bigbluebutton#26581 for failed uploads), plus bigbluebutton#26583, bigbluebutton#26548 and bigbluebutton#26615. Resolutions: - api-conformance env/tier1/copies.sha256: each hash matches the merged file. preinst is 4.1's own (0413ab4), so 4.1's line; start-template has 4.0.3's change on both lines now, so 4.0's line. - docs new-features.md: 4.1's file, unchanged. # Conflicts: # bigbluebutton-tests/api-conformance/env/tier1/copies.sha256 # docs/docs/new-features.md
What does this PR do?
Brings api-conformance's Tier 1 stack back in line with the three package files it mirrors by hand that changed with 4.0.3:
bbb-web.serviceand bbb-apps-akka's unit setJAVA_TOOL_OPTIONS=-XX:-UseBASE64Intrinsics([4.0] build(security): run the Java services without the JVM Base64 intrinsics #26603). Both images' start scripts now set it too. bbb-web's keeps aJAVA_TOOL_OPTIONSthatcompose.yamlpasses in, such as a coverage agent, after the flag.MALLOC_ARENA_MAX=2, which its unit has set since 9d4dc4b. Tier 1 had followed that only for bbb-web.after-install.shwrites a randompageTokenSecret. Tier 1 already sets a known one intier1.properties.in(test(api-conformance): give Tier 1 a known pageTokenSecret #26634), so only the Dockerfile's note on whatafter-install.shdoes changes, to name it.env/tier1/copies.sha256records the three sources as they are now. The README's list of what Tier 1 mirrors now includes the units' environment.Only the test environment changes.
Closes Issue(s)
None.
Motivation
Since #26631 merged 4.0.3 into
v4.0.x-develop, every api-conformance run has had three "Tier 1 copies" warnings, for example develop's push run on db0f377. They don't fail the job, but they mean Tier 1 no longer starts bbb-web and akka-apps the way the packages do. #26634 left theJAVA_TOOL_OPTIONSchange out because it was then only onv4.0.x-release. It is on develop now.How to test
What was run for this PR, on Tier 1 with the five debs built from develop db0f377 (plus #26583's test-only changes):
check-copies.shwarned about the three files before the change, and is silent after it.JAVA_TOOL_OPTIONS=-XX:-UseBASE64IntrinsicsandMALLOC_ARENA_MAX=2in their environment, and logPicked up JAVA_TOOL_OPTIONS: -XX:-UseBASE64Intrinsicsat start. Tier 1's JDK 21 reportsUseBASE64Intrinsics = false.bbb-web/start, theJAVA_TOOL_OPTIONSline gives the flag alone when the variable is unset or empty, and the flag followed by the caller's options when it is set (checked underdashwithset -eu).make -C env reset: 896 cases, 894 passed, 2 expected failures, 0 skipped. That is the same as develop's own run.. /etc/default/bbb-web.More
v4.0.x-releasewith the next develop→release merge, together with test(api-conformance): give Tier 1 a known pageTokenSecret #26634, whosepageTokenSecretthis relies on.