Open Bug 2063073 Opened 3 months ago Updated 2 hours ago

Automated updates for vendored third-party libraries

Categories

(Thunderbird :: Upstream Synchronization, task)

task

Tracking

(Not tracked)

REOPENED
163 Branch

People

(Reporter: ebaginski, Assigned: thunderbird+phabricator)

Details

(Keywords: leave-open)

Attachments

(4 external files, 2 obsolete files)

Bug for third-party vendor automation to use.

Attachment #9625953 - Attachment is obsolete: true
Attachment #9625954 - Attachment is obsolete: true
Keywords: leave-open

Vendored with: ./mach vendor -r v1.4 comm/third_party/zlib/moz.yaml

./mach vendor does not update moz.build for this library, so the source
file lists need checking if upstream added or removed files.

Assignee: nobody → thunderbird+phabricator
Status: NEW → ASSIGNED
Target Milestone: --- → 163 Branch

Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/d4e3797e551d
Update zlib to v1.4. r=thunderbird-build-system-reviewers,ebaginski,BenC

Status: ASSIGNED → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED

Vendored with: ./mach vendor -r json-c-0.19-20260627 comm/third_party/json-c/moz.yaml

./mach vendor does not update moz.build for this library, so the source
file lists need checking if upstream added or removed files.

I've looked at the JSON-C patch and the code matches the snapshot I've downloaded.

However, we don't know if the RNP library snapshot we're using is fully compatible with this newer JSON-C version.

We don't run the RNP tests inside our environments, so we wouldn't notice a regression.

I'd prefer if you could please do the following, once, locally, on one platform of your choice:

  • checkout the upstream RNP version equivalent to the version we're using
  • combine it with the version of JSON-C you want to upgrade to
  • execute the full RNP test suite.

If it passes, we're good.

Vendored with: ./mach vendor -r v3.1.0 comm/third_party/asn1js/moz.yaml

./mach vendor does not update moz.build for this library, so the source
file lists need checking if upstream added or removed files.

@KaiE, I've built RNP 0.18.1 against both json-c 0.19 and 0.17 (botan 3.14.1). I'm seeing the same 5 flaky test failures (out of 282 tests) on both versions, which according to LLM none of which seem to exercise json-c. All of the ones that do were a pass.

  • RNP built against json-c 0.17:
grep -i json /tmp/rnp-jsonc/rnp-build-0.17/CMakeCache.txt | grep PC_JSON-C_VERSION:INTERNAL 
PC_JSON-C_VERSION:INTERNAL=0.17
98% tests passed, 5 tests failed out of 282

Total Test time (real) = 210.55 sec

The following tests FAILED:
	 26 - rnp_tests.test_cipher_aes_128_ocb (Failed)
	106 - rnp_tests.test_ffi_decrypt_small_rsa (Failed)
	121 - rnp_tests.test_ffi_rsa_small_sig (Failed)
	180 - rnp_tests.rnpkeys_generatekey_testEncryption (Failed)
	278 - cli_tests-SignDefault (Failed)
  • RNP built against json-c 0.19:
grep -i json /tmp/rnp-jsonc/rnp-build/CMakeCache.txt | grep PC_JSON-C_VERSION:INTERNAL      
PC_JSON-C_VERSION:INTERNAL=0.19
98% tests passed, 5 tests failed out of 282

Total Test time (real) = 210.55 sec

The following tests FAILED:
	 26 - rnp_tests.test_cipher_aes_128_ocb (Failed)
	106 - rnp_tests.test_ffi_decrypt_small_rsa (Failed)
	121 - rnp_tests.test_ffi_rsa_small_sig (Failed)
	180 - rnp_tests.rnpkeys_generatekey_testEncryption (Failed)
	278 - cli_tests-SignDefault (Failed)
Flags: needinfo?(kaie)
Flags: needinfo?(kaie)

looks good, thank you

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 8 days ago → 1 day ago
Resolution: --- → FIXED

Vendored with: ./mach vendor -r 4.14.1 comm/third_party/axe-core/moz.yaml

./mach vendor does not update moz.build for this library, so the source
file lists need checking if upstream added or removed files.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/5775d9ec1b81
Update json-c to json-c-0.19-20260627. r=thunderbird-build-system-reviewers,ebaginski,BenC

Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/b10045cfc5e1
Update asn1js to v3.1.0. r=thunderbird-build-system-reviewers,ebaginski,BenC

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: