-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: add a test kernel extension to mockpkg #4776
Conversation
The CI failure is unrelated and something that I have noticed a few times:
|
Yeah, probably need to sprinkle a few |
I've restarted this twice now: the first time it failed the
Any idea what that's about? |
d9a855f
to
b1a527d
Compare
I think I understand: Since the branch of this PR is actually on this repo, then every time you push, two builds are triggered: the one for pushing a branch, and the one for updating a PR. For some reason, the PR build is the newest one (but it is immediately skipped because it's a duplicate). When the push CI finishes on the pushed branch, it runs the It finds the build on the branch triggered by the PR update. This build was skipped.
The correct approach would be for |
I have made a change to |
Ahhh OK. Thanks for the analysis!! Well, normally I always push branches to my repo, here I just screwed up. So I'll just ignore it. |
Thanks for the fix. Let's wait then if it works. If not, though, don't worry too much about it, we can just merge the PR anyway |
@wilfwilson seems your change did fix it, yay :-) |
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, it doesn't necessarily work properly... https://github.com/gap-system/gap/runs/5254890953?check_suite_focus=true
┌───────┐ GAP 4.12dev built on 2022-02-18 23:39:17+0000
│ GAP │ https://www.gap-system.org
└───────┘ Architecture: x86_64-pc-cygwin-default64-kv8
Configuration: gmp 6.2.1, GASMAN, KernelDebug
Loading the library and packages ...
Packages: GAPDoc 1.6.5, PrimGrp 3.4.1, SmallGrp 1.4.2, TransGrp 3.3
Try '??help' for help. See also '?copyright', '?cite' and '?authors'
Could not read file "/cygdrive/d/a/gap/gap/tst/mockpkg;".
Could not read file "coverage/testmockpkg.coverage".
########> Diff in /cygdrive/d/a/gap/gap/tst/mockpkg/tst/kext.tst:4
# Input is:
LoadPackage("mockpkg");
# Expected output:
true
# But found:
#I mockpkg package is not available. Check that the name is correct
#I and it is present in one of the GAP root directories (see '??RootPaths')
fail
########
########> Diff in /cygdrive/d/a/gap/gap/tst/mockpkg/tst/kext.tst:6
# Input is:
IsKernelExtensionAvailable("mockpkg");
# Expected output:
true
# But found:
false
########
########> Diff in /cygdrive/d/a/gap/gap/tst/mockpkg/tst/kext.tst:8
# Input is:
LoadKernelExtension("mockpkg");
# Expected output:
true
# But found:
false
########
########> Diff in /cygdrive/d/a/gap/gap/tst/mockpkg/tst/kext.tst:10
# Input is:
TestCommand();
# Expected output:
true
# But found:
Error, Variable: 'TestCommand' must have a value
########
I guess the test file needs to be run in such a way that GAP returns a non-zero exit code when it fails. |
Argh, I wanted to run |
fa76518
to
57152e3
Compare
57152e3
to
f1df36a
Compare
Seems to be really working now, even on Cygwin (as in: I checked the logs) The build failure earlier was because I stupidly messed up the order of some command line arguments for gap 🙄 |
This is preparation for PR #4746 but also useful on its own.