-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
gmeasure
tests failing on Windows 10 with go1.19
#578
Comments
hey there - are these happening consistently or are they flaky? |
I'm running |
SummaryThanks for the pointer! The tests always fail regardless if they are run in serial or parallel. They do seem to consistently fail at the boundary (e.g., $ systeminfo
<redacted>
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 158 Stepping 10 GenuineIntel ~2592 Mhz
Total Physical Memory: 16,224 MB
Available Physical Memory: 5,194 MB Furthermore, All the tests are run against unmodified 061fd26. Please let me know if any additional info is needed from my side, thanks! Test OutputSerialDavid@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ cat test.sh
#!/usr/bin/env bash
fails=0
for ((i=0;i<10;i++)); do
if ! ginkgo -until-it-fails > "logs/$i.log" 2>&1; then
((fails++))
fi
done
printf "%d failures" "$fails"
David@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ time ./test.sh
10 failures
real 0m52.634s
user 0m0.077s
sys 0m0.261s
David@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ grep -l "D:/main/dev/onsi/gomega/gmeasure/experiment_test.go:211" logs/*.log | wc
10 10 110
David@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ grep -l "D:/main/dev/onsi/gomega/gmeasure/experiment_test.go:238" logs/*.log | wc
1 1 11
David@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ grep -l "<int>: 6" logs/*.log | wc
10 10 110 ParallelDavid@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ cat test.sh
#!/usr/bin/env bash
fails=0
for ((i=0;i<100;i++)); do
if ! ginkgo -p -until-it-fails > "logs/$i.log" 2>&1; then
((fails++))
fi
done
printf "%d failures" "$fails"
David@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ time ./test.sh
100 failures
real 5m35.485s
user 0m0.732s
sys 0m2.050s
David@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ grep -l "D:/main/dev/onsi/gomega/gmeasure/experiment_test.go:211" logs/*.log | wc
100 100 1190
David@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ grep -l "D:/main/dev/onsi/gomega/gmeasure/experiment_test.go:238" logs/*.log | wc
62 62 736
# Change the name of the log directory out-of-bound
David@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ grep -l "<int>: 6" logs_parallel/*.log | wc
71 71 1484
David@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ grep -l "<int>: 5" logs_parallel/*.log | wc
27 27 564
David@David-Dell MINGW64 /d/main/dev/onsi/gomega/gmeasure (master)
$ grep -l "<int>: 4" logs_parallel/*.log | wc
2 2 42 |
Summary
gmeasure
tests are failing on the latestmaster
.System information:
go1.19 windows/amd64
10.0.19043 N/A Build 19043
(obtained bysysteminfo
)Test Output
The text was updated successfully, but these errors were encountered: