Closed Bug 1410909 Opened 7 years ago Closed 7 years ago

automatic NSS/NSPR ABI checks are broken

Categories

(NSS :: Test, defect)

3.34
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KaiE, Assigned: KaiE)

Details

Attachments

(2 files)

The ABI checks are broken.
Buildbot reports:

touch: cannot touch 'nss/automation/abi-check/expected-report-libfreebl3.so.txt': No such file or directory
hg/nss/automation/buildbot-slave/build.sh: line 268: nss/automation/abi-check/new-report-libfreebl3.so.txt: No such file or directory
diff: nss/automation/abi-check/expected-report-libfreebl3.so.txt: No such file or directory
diff: nss/automation/abi-check/new-report-libfreebl3.so.txt: No such file or directory


Unfortunately these error messags didn't result in a test failure.

The problem was apparently the use of relative paths in the abi-check commands, which didn't work for the current work directory.

I'll attach a patch to set that to absolute paths, and I'll add more checks to detect and report failures.
Attached patch patch v1Splinter Review
I'll request review after it works.

We don't have a try build environment for buildbot, the easiest is to check the new automation script in.
Assignee: nobody → kaie
Attachment #8921078 - Flags: review?
Comment on attachment 8921078 [details] [diff] [review]
patch v1

This patch works, it reports our one ABI change.

Franziskus, I've already checked this in. Would you like to do a review after-the-fact? Thanks
Attachment #8921078 - Flags: review? → review?(franziskuskiefer)
Comment on attachment 8921078 [details] [diff] [review]
patch v1

Review of attachment 8921078 [details] [diff] [review]:
-----------------------------------------------------------------

lgtm

We should get this running on Taskcluster then we can use try.
Attachment #8921078 - Flags: review?(franziskuskiefer) → review+
(In reply to Franziskus Kiefer [:fkiefer or :franziskus] from comment #3)
> We should get this running on Taskcluster then we can use try.

I still need buildbot for the FIPS and RHEL configurations that Mozilla doesn't test.

For abi-check on taskcluster we have bug 1367470 in the backlog.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.34
I'd like to add another minor fix as part of this bug.

When I added additional whitelisting, by copy/pasting from buildbot output, I added an additional blank line, which caused the abi check to fail.

I suggest that we ignore all whitespace changes, including blank lines.
Attachment #8921911 - Flags: review?(franziskuskiefer)
Comment on attachment 8921911 [details] [diff] [review]
1410909-ignore-whitespace.patch

Review of attachment 8921911 [details] [diff] [review]:
-----------------------------------------------------------------

makes sense
Attachment #8921911 - Flags: review?(franziskuskiefer) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: