Re: fsck vs zvol

2019-06-12 Thread O'Connor, Daniel



> On 12 Jun 2019, at 22:21, Eugene Grosbein  wrote:
> 
> 12.06.2019 12:17, O'Connor, Daniel wrote:
> 
 The Samba 4 ZFS is from https://wiki.freebsd.org/Samba4ZFS (which I 
 wrote..)
> 
> You should correct this page and change the line for /etc/fstab
> and use non-zero value for fsck pass number.

Good idea, done.

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


FreeBSD CI Weekly Report 2019-06-09

2019-06-12 Thread Li-Wen Hsu
(Please send the followup discussions to freebsd-testing@ list.)

FreeBSD CI Weekly Report 2019-06-09
===

Here is a summary of the FreeBSD Continuous Integration results for
the period from 2019-06-03 to 2019-06-09.

During this period, we have:

* 2444 builds (92.9% passed, 7.1% failed) were executed on aarch64,
amd64, armv6, armv7, i386, mips, mips64, powerpc, powerpc64,
powerpcspe, riscv64, sparc64 architectures for head, stable/12,
stable/11 branches.
* 247 test runs (51% passed, 49% unstable) were executed on amd64,
i386, riscv64 architectures for head, stable/12, stable/11 branches.
* 76 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/BJI5k8RRV and archive is available at
http://hackfoldr.org/freebsd-ci-report/, any help is welcome.

## Fixed Tests

* https://ci.freebsd.org/job/FreeBSD-head-i386-test/
* [r348808](https://reviews.freebsd.org/rS348808) fixed i386
kernel panics on loading ipsec(4) kernel module, which is needed after
[347410](https://svnweb.freebsd.org/changeset/base/347410). For more
information, see:
* https://bugs.freebsd.org/238012
* https://bugs.freebsd.org/230857
* https://reviews.freebsd.org/D17512

## Failing builds

* https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/
* See https://reviews.freebsd.org/D20622

* pkg(8) now requires `/dev/null` which doesn't exist on jail builds
test VM image.  Fix is under development now.

## 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/
* 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)

## 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

Re: fsck vs zvol

2019-06-12 Thread Eugene Grosbein
12.06.2019 12:17, O'Connor, Daniel wrote:

>>> The Samba 4 ZFS is from https://wiki.freebsd.org/Samba4ZFS (which I wrote..)

You should correct this page and change the line for /etc/fstab
and use non-zero value for fsck pass number.

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: fsck vs zvol

2019-06-12 Thread O'Connor, Daniel



> On 12 Jun 2019, at 15:47, Patrick M. Hausen  wrote:
>> Am 12.06.2019 um 03:04 schrieb O'Connor, Daniel :
>> I have a small UFS partition that is the sysvol for Samba 4 (otherwise it 
>> doesn't work due to ACL issues).
> 
> AFAIK this was fixed by iX Systems for Samba 4.9:
> 
>   https://jira.ixsystems.com/browse/NAS-100698
> 
> You might want to check if they upstreamed it or if the patch can be
> incorporated in the FreeBSD port if not.

Thanks, I see the samba48 port has a ZFS provisioning patch so I guess it's not 
necessary anymore.
https://svnweb.freebsd.org/ports/head/net/samba48/files/0001-Zfs-provision-1.patch?revision=475995=markup

I'll find out when I get around to setting up another Samba 4 on ZFS but not 
sure how long that will be :(

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: fsck vs zvol

2019-06-12 Thread O'Connor, Daniel



> On 12 Jun 2019, at 15:51, Eugene Grosbein  wrote:
> 
>> 
>> Oh I see for the passno field.. It must be non-zero it fsck won't check it 
>> at all!
> 
> And you don't need to change /etc/rc.d/fsck script at all.

Yeah I reverted that change now.

Thanks again :)

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: fsck vs zvol

2019-06-12 Thread Eugene Grosbein
12.06.2019 12:17, O'Connor, Daniel wrote:

>> Please show your /etc/fstab line for this UFS-inside-ZVOL and your changes 
>> to rc.d/fsck.
>> Your logs do not show that fsck is started so I presume some mistake in the 
>> /etc/fstab.
>> Maybe you forgot that it needs non-zero sixth field.
> 
> The fsck line is..
> /dev/zvol/zroot/samba4sysvol /var/db/samba4/sysvol ufs   rw,acls 0   0
> 
> The diff is just..
> --- fsck.orig 2019-06-12 14:43:03.279407000 +0930
> +++ fsck  2019-06-12 14:42:51.094142000 +0930
> @@ -24,6 +24,10 @@
>   # During fsck ignore SIGQUIT
>   trap : 3
> 
> + echo "Samba FS hack"
> + fsck -y /dev/zvol/zroot/samba4sysvol
> + err=$?
> +
>   check_startmsgs && echo "Starting file system checks:"
>   if checkyesno background_fsck; then
>   fsck -F -p
> 
> Oh I see for the passno field.. It must be non-zero it fsck won't check it at 
> all!

And you don't need to change /etc/rc.d/fsck script at all.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: fsck vs zvol

2019-06-12 Thread Patrick M. Hausen
Hi all,


> Am 12.06.2019 um 03:04 schrieb O'Connor, Daniel :
> I have a small UFS partition that is the sysvol for Samba 4 (otherwise it 
> doesn't work due to ACL issues).

AFAIK this was fixed by iX Systems for Samba 4.9:

https://jira.ixsystems.com/browse/NAS-100698

You might want to check if they upstreamed it or if the patch can be
incorporated in the FreeBSD port if not.

Kind regards,
Patrick
-- 
punkt.de GmbH   Internet - Dienstleistungen - Beratung
Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
76133 Karlsruhe i...@punkt.de   http://punkt.de
AG Mannheim 108285  Gf: Juergen Egeling

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"