FreeBSD CI Weekly Report 2019-06-02
===================================
Here is a summary of the FreeBSD Continuous Integration results for the period from 2019-05-27 to 2019-06-02.
During this period, we have:
* 1752 builds (97.8% passed, 2.2% failed) were executed on aarch64, amd64, armv6, armv7, i386, mips, mips64, powerpc, powerpc64, powerpcspe, riscv64, sparc64 architectures for head, stable/12, stable/11 branches.
* 327 test runs (36.7% passed, 63.3% unstable) were executed on amd64, i386, riscv64 architectures for head, stable/12, stable/11 branches.
* 23 doc builds (100% passed)
(The statistics from experimental jobs are omitted)
If any of the issues found by CI are in your area of interest or expertise please investigate the PRs listed below.
The latest web version of this report is available at https://hackmd.io/s/ryVi1WiaN and archive is available at http://hackfoldr.org/freebsd-ci-report/, any help is welcome.
## Removed Failing Tests
* https://ci.freebsd.org/job/FreeBSD-head-amd64-test/
* sys.geom.class.eli.init_test.init
* sys.geom.class.eli.init_test.init_a
* sys.geom.class.eli.init_test.init_alias
* sys.geom.class.eli.integrity_test.copy
* sys.geom.class.eli.integrity_test.data
* sys.geom.class.eli.integrity_test.hmac
Those geli(8) test cases are failing because some algorithms are deprecated in [r348206](https://reviews.freebsd.org/rS348206) and the return value and output are changed. The fix to the test cases are under development. Those tests are removed in [r348454](https://reviews.freebsd.org/rS348454), while it is still wothy to adjust the test code to check if the deprecated algorithms are correctly marked deprecated in the future.
* https://ci.freebsd.org/job/FreeBSD-head-i386-test/
* Same as amd64
## Failing Tests
* https://ci.freebsd.org/job/FreeBSD-head-amd64-test/
* sys.netinet.socket_afinet.socket_afinet_bind_zero
Affected by mac_portacl(4), which is loaded by MAC tests. Need to specify AF_INET to workaround and fix is being discussed.
* https://ci.freebsd.org/job/FreeBSD-head-i386-test/
* i386 test is current suffering from loading ipsec(4) kernel module, which is needed after https://svnweb.freebsd.org/changeset/base/347410 , causes kernel panic.
For more information, see:
* https://bugs.freebsd.org/238012
* https://bugs.freebsd.org/230857
* https://reviews.freebsd.org/D17512
* Same as amd64:
* sys.netinet.socket_afinet.socket_afinet_bind_zero
* Others:
* sys.netpfil.pf.forward.v6
* sys.netpfil.pf.forward.v4
* sys.netpfil.pf.set_tos.v4
* sys.opencrypto.runtests.main
* https://ci.freebsd.org/job/FreeBSD-stable-12-i386-test/
* sys.netpfil.pf.forward.v6
* sys.netpfil.pf.forward.v4
* sys.netpfil.pf.set_tos.v4
* lib.libc.regex.exhaust_test.regcomp_too_big
* lib.libregex.exhaust_test.regcomp_too_big
* sys.opencrypto.runtests.main
Failed with:
```
File "/usr/tests/sys/opencrypto/cryptodev.py", line 179, in __init__
ioctl(_cryptodev, CIOCGSESSION2, s, 1)
IOError: [Errno 22] Invalid argument
```
* https://ci.freebsd.org/job/FreeBSD-stable-11-i386-test/
* local.kyua.* (31 cases)
* local.lutok.* (3 cases)
## Fixed Tests (from experimental jobs)
* https://ci.freebsd.org/job/FreeBSD-head-amd64-dtrace_test/
* There are ~980 test cases failure with message:
`dtrace: failed to compile script err.D_AGG_SCALAR.maxnoarg.d: [D_UNKNOWN] "/usr/lib/dtrace/mbuf.d", line 114: failed to copy type of 'm_data': Type information is in parent and unavailable`
Fixed by https://svnweb.freebsd.org/changeset/base/348329
## Failing and Flaky Tests (from experimental jobs)
* https://ci.freebsd.org/job/FreeBSD-head-amd64-dtrace_test/
* Flakey test case: common.misc.t_dtrace_contrib.tst_dynopt_d
https://bugs.freebsd.org/237641
* https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/
* This job is currently suffering from timeout because of https://bugs.freebsd.org/237652
* There are ~60 failing cases, including flakey ones, see https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/lastCompletedBuild/testReport/ for more details
## Disabled Tests
* lib.libc.sys.mmap_test.mmap_truncate_signal
https://bugs.freebsd.org/211924
* sys.fs.tmpfs.mount_test.large
https://bugs.freebsd.org/212862
* sys.fs.tmpfs.link_test.kqueue
https://bugs.freebsd.org/213662
* sys.kqueue.libkqueue.kqueue_test.main
https://bugs.freebsd.org/233586
* usr.bin.procstat.procstat_test.command_loogle.com/ine_arguments
https://bugs.freebsd.org/233587
* usr.bin.procstat.procstat_test.environment
https://bugs.freebsd.org/233588
## Open Issues
* https://bugs.freebsd.org/237077 possible race in build: /usr/src/sys/amd64/linux/linux_support.s:38:2: error: expected relocatable expression
* https://bugs.freebsd.org/237403 Tests in sys/opencrypto should be converted to Python3
* https://bugs.freebsd.org/237641 Flakey test case: common.misc.t_dtrace_contrib.tst_dynopt_d
* https://bugs.freebsd.org/237652 tests.hotspare.hotspare_test.hotspare_snapshot_001_pos timeout since somewhere in (r346814, r 346845]
* https://bugs.freebsd.org/237655 Non-deterministic panic when running pf tests in interface ioctl code (NULL passed to strncmp)
* https://bugs.freebsd.org/237656 "Freed UMA keg (rtentry) was not empty (18 items). Lost 1 pages of memory." seen when running sys/netipsec tests
* https://bugs.freebsd.org/237657 sys.kern.pdeathsig.signal_delivered_ptrace timing out periodically on i386
### Cause build fails
* [233735: Possible build race: genoffset.o /usr/src/sys/sys/types.h: error: machine/endian.h: No such file or directory](https://bugs.freebsd.org/233735)
* [233769: Possible build race: ld: error: unable to find library -lgcc_s](https://bugs.freebsd.org/233769)
### Others
[Tickets related to testing@](https://preview.tinyurl.com/y9maauwg)
## Other News
* https://issues.tmatesoft.com/issue/SVNKIT-740
The patch is asked to be updated and help wanted.
* https://bugs.freebsd.org/235356
Help on how to reproduce and analyze is wanted.
* "FreeBSD CI Tasks and Ideas", discussed in the [DevSummit201905](https://wiki.freebsd.org/DevSummit/201905/):
https://hackmd.io/bWCGgdDFTTK_FG0X7J1Vmg