-
Notifications
You must be signed in to change notification settings - Fork 6k
Started identifying fuchsia sdk rom files as binary files in license checker #41900
Started identifying fuchsia sdk rom files as binary files in license checker #41900
Conversation
|
This solves the issue but now we are running into an infra issue: |
d1c0d30 to
b25562a
Compare
| case '.icc': return FileType.binary; // Color profile | ||
| case '.swp': return FileType.binary; // Vim swap file | ||
| case '.bfbs': return FileType.binary; // Flatbuffers Binary Schema | ||
| case '.rom': return FileType.binary; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.rom-files that are part of fuchsia/sdk/linux/tools should be already skipped by https://github.com/flutter/engine/blob/main/tools/licenses/lib/paths.dart#L40.
Were you able to confirm where other .rom-files are coming?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, it's in the linked issue: ../../../fuchsia/sdk/core.tar.gz!core.tar!/tools/arm64/aemu_internal/lib/pc-bios/efi-e1000.rom.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were you able to confirm where core.tar.gz came from? I don't think it's part of fuchsia sdk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, I didn't look deeply into it since this is a blocker and it's there somehow, and in no case do we want to do license checks on rom files. I assume its presence is justified somewhere else since the engine code isn't doing it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would be wary of this being another symptom of some issue with newly introduced license builder. Similar to how 'gclient' was missing, for example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I just verified that srujans PR still needs this fix)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, every PR needs this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we're not expecting the core.tar.gz file we should figure out where it is coming from.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(especially a .tar.gz file, which is probably adding more time to the already slow license script process)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I filed an issue: flutter/flutter#126475
|
CI seems hung, i'll push an empty commit to retrigger everything. |
b25562a to
12bcb6e
Compare
|
Sorry, this is a different license checker error that was related to godofredos revert. |
12bcb6e to
516b9ad
Compare
Linux linux_license
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
Linux linux_license|
This may not be necessary. Godofredo reverted the We have an issue for the residual files that seem to be tripping up the license checker and godofredo has an idea how to fix it. |
|
From Triage: This was an issue with the bot not clearing artifacts from previous runs and should no longer be necessary. Closing. |
fixes flutter/flutter#126441
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.