CVS commit: src/tests/lib/libarchive
Module Name:src Committed By: kre Date: Mon Jun 10 10:51:36 UTC 2024 Modified Files: src/tests/lib/libarchive: Makefile Log Message: One more no-longer-existing file we cannot install To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libarchive/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libarchive/Makefile diff -u src/tests/lib/libarchive/Makefile:1.10 src/tests/lib/libarchive/Makefile:1.11 --- src/tests/lib/libarchive/Makefile:1.10 Mon Jun 10 10:09:34 2024 +++ src/tests/lib/libarchive/Makefile Mon Jun 10 10:51:35 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2024/06/10 10:09:34 kre Exp $ +# $NetBSD: Makefile,v 1.11 2024/06/10 10:51:35 kre Exp $ NOMAN= @@ -577,7 +577,6 @@ test_read_large_splitted_rar_ab.uu \ test_read_large_splitted_rar_ac.uu \ test_read_large_splitted_rar_ad.uu \ test_read_large_splitted_rar_ae.uu \ -test_read_pax_schily_xattr.tar.uu \ test_read_splitted_rar_aa.uu \ test_read_splitted_rar_ab.uu \ test_read_splitted_rar_ac.uu \
CVS commit: src/tests/lib/libarchive
Module Name:src Committed By: kre Date: Mon Jun 10 10:51:36 UTC 2024 Modified Files: src/tests/lib/libarchive: Makefile Log Message: One more no-longer-existing file we cannot install To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libarchive/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libarchive
Module Name:src Committed By: kre Date: Mon Jun 10 10:09:34 UTC 2024 Modified Files: src/tests/lib/libarchive: Makefile Log Message: More libarchive update fallout. There are no _2x files any more. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tests/lib/libarchive/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libarchive/Makefile diff -u src/tests/lib/libarchive/Makefile:1.9 src/tests/lib/libarchive/Makefile:1.10 --- src/tests/lib/libarchive/Makefile:1.9 Mon Jun 10 07:31:51 2024 +++ src/tests/lib/libarchive/Makefile Mon Jun 10 10:09:34 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2024/06/10 07:31:51 kre Exp $ +# $NetBSD: Makefile,v 1.10 2024/06/10 10:09:34 kre Exp $ NOMAN= @@ -327,7 +327,6 @@ test_compat_lzop_2.tar.lzo.uu \ test_compat_lzop_3.tar.lzo.uu \ test_compat_mac-1.tar.Z.uu \ test_compat_mac-2.tar.Z.uu \ -test_compat_pax_libarchive_2x.tar.Z.uu \ test_compat_perl_archive_tar.tar.uu \ test_compat_plexus_archiver_tar.tar.uu \ test_compat_solaris_pax_sparse_1.pax.Z.uu \
CVS commit: src/tests/lib/libarchive
Module Name:src Committed By: kre Date: Mon Jun 10 10:09:34 UTC 2024 Modified Files: src/tests/lib/libarchive: Makefile Log Message: More libarchive update fallout. There are no _2x files any more. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tests/lib/libarchive/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libarchive
Module Name:src Committed By: christos Date: Mon Jun 10 00:35:38 UTC 2024 Modified Files: src/tests/lib/libarchive: Makefile Log Message: make it build (should add more tests) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libarchive/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libarchive/Makefile diff -u src/tests/lib/libarchive/Makefile:1.7 src/tests/lib/libarchive/Makefile:1.8 --- src/tests/lib/libarchive/Makefile:1.7 Sun Jun 9 18:12:46 2024 +++ src/tests/lib/libarchive/Makefile Sun Jun 9 20:35:38 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2024/06/09 22:12:46 kre Exp $ +# $NetBSD: Makefile,v 1.8 2024/06/10 00:35:38 christos Exp $ NOMAN= @@ -608,4 +608,5 @@ list.h: ${SRCS.h_libarchive} Makefile ${TOOL_GREP} -v test_compat_pax_libarchive_2x > ${.TARGET} COPTS.test_archive_string_conversion.c+= ${CC_WNO_STRINGOP_TRUNCATION} +COPTS.test_main.c+= ${CC_WNO_STRINGOP_OVERFLOW}
CVS commit: src/tests/lib/libarchive
Module Name:src Committed By: christos Date: Mon Jun 10 00:35:38 UTC 2024 Modified Files: src/tests/lib/libarchive: Makefile Log Message: make it build (should add more tests) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libarchive/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libarchive
Module Name:src Committed By: kre Date: Sun Jun 9 22:12:46 UTC 2024 Modified Files: src/tests/lib/libarchive: Makefile Log Message: Don't try to build test_compat_pax_libarchive_2x or test_read_pax_schily_xattr Both of those were removed in the recent libarchive update: Removed Files: src/external/bsd/libarchive/dist: CONTRIBUTING.md src/external/bsd/libarchive/dist/libarchive/test: test_compat_pax_libarchive_2x.c test_compat_pax_libarchive_2x.tar.Z.uu test_read_pax_schily_xattr.c test_read_pax_schily_xattr.tar.uu To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libarchive/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libarchive/Makefile diff -u src/tests/lib/libarchive/Makefile:1.6 src/tests/lib/libarchive/Makefile:1.7 --- src/tests/lib/libarchive/Makefile:1.6 Sat Jun 3 09:09:15 2023 +++ src/tests/lib/libarchive/Makefile Sun Jun 9 22:12:46 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2023/06/03 09:09:15 lukem Exp $ +# $NetBSD: Makefile,v 1.7 2024/06/09 22:12:46 kre Exp $ NOMAN= @@ -73,7 +73,6 @@ test_compat_lzip.c \ test_compat_lzma.c \ test_compat_lzop.c \ test_compat_mac.c \ -test_compat_pax_libarchive_2x.c \ test_compat_perl_archive_tar.c \ test_compat_plexus_archiver_tar.c \ test_compat_solaris_pax_sparse.c \ @@ -204,7 +203,6 @@ test_read_format_zip_winzip_aes_large.c test_read_format_zip_with_invalid_traditional_eocd.c \ test_read_format_zip_zip64.c \ test_read_large.c \ -test_read_pax_schily_xattr.c \ test_read_pax_truncated.c \ test_read_position.c \ test_read_set_format.c \
CVS commit: src/tests/lib/libarchive
Module Name:src Committed By: kre Date: Sun Jun 9 22:12:46 UTC 2024 Modified Files: src/tests/lib/libarchive: Makefile Log Message: Don't try to build test_compat_pax_libarchive_2x or test_read_pax_schily_xattr Both of those were removed in the recent libarchive update: Removed Files: src/external/bsd/libarchive/dist: CONTRIBUTING.md src/external/bsd/libarchive/dist/libarchive/test: test_compat_pax_libarchive_2x.c test_compat_pax_libarchive_2x.tar.Z.uu test_read_pax_schily_xattr.c test_read_pax_schily_xattr.tar.uu To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libarchive/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/tests/lib/libarchive
On Tue, 16 Jun 2020, Martin Husemann wrote: On Tue, Jun 16, 2020 at 09:12:40AM -0700, Paul Goyette wrote: It might be better to run the test in a rump-kernel rather than in a "live" environment The test this is about is a plain userland test: it extracts/compresses/decompresses various archive formats and compares results. Only thing "special" is that it is in big parts cpu bound, and multi-threaded. If NetBSD can not gracefully deal with that, something is very wrong (which since about a month it is). This PR is on the "must be fixed before branching netbsd-10" list, and I hope it will be fixed quickly. Ah, my bad. I thought it was the watch-dog that was being tested. I certainly agree that it needs to fixed ASAP. ++--+---+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com | | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | ++--+---+
Re: CVS commit: src/tests/lib/libarchive
On Tue, Jun 16, 2020 at 09:12:40AM -0700, Paul Goyette wrote: > It might be better to run the test in a rump-kernel rather than in a > "live" environment The test this is about is a plain userland test: it extracts/compresses/decompresses various archive formats and compares results. Only thing "special" is that it is in big parts cpu bound, and multi-threaded. If NetBSD can not gracefully deal with that, something is very wrong (which since about a month it is). This PR is on the "must be fixed before branching netbsd-10" list, and I hope it will be fixed quickly. Martin
Re: CVS commit: src/tests/lib/libarchive
On Tue, 16 Jun 2020, Greg Troxel wrote: Jason Thorpe writes: On Jun 16, 2020, at 8:43 AM, Martin Husemann wrote: No, that is definitively not OK, which is what the PR is about. It is not OK for a regular atf run to cause a reboot of the test machine though, so this is a temporary hack around the issue (and admitedly a very ugly hack). At the very least, the user-land watchdog tickler should wire itself down. My impression of the point is that it be normal, so that the system reboots if normal processes cannot be run.It seems like once whatever bug exists is fixed, wiring is probably not necessary anyway. It might be better to run the test in a rump-kernel rather than in a "live" environment ++--+---+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com | | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | ++--+---+
Re: CVS commit: src/tests/lib/libarchive
Jason Thorpe writes: >> On Jun 16, 2020, at 8:43 AM, Martin Husemann wrote: >> >> No, that is definitively not OK, which is what the PR is about. >> >> It is not OK for a regular atf run to cause a reboot of the test machine >> though, so this is a temporary hack around the issue (and admitedly a very >> ugly hack). > > At the very least, the user-land watchdog tickler should wire itself down. My impression of the point is that it be normal, so that the system reboots if normal processes cannot be run.It seems like once whatever bug exists is fixed, wiring is probably not necessary anyway.
Re: CVS commit: src/tests/lib/libarchive
> On Jun 16, 2020, at 8:43 AM, Martin Husemann wrote: > > No, that is definitively not OK, which is what the PR is about. > > It is not OK for a regular atf run to cause a reboot of the test machine > though, so this is a temporary hack around the issue (and admitedly a very > ugly hack). At the very least, the user-land watchdog tickler should wire itself down. -- thorpej
Re: CVS commit: src/tests/lib/libarchive
On Tue, Jun 16, 2020 at 03:38:26PM -, Christos Zoulas wrote: > So we are saying that it is ok for process running with regular priority, > to be able to starve another process at the same priority from getting > any runtime for 21 seconds in a uniprocessor kernel, and this does not > indicate any problem with the scheduler implementation? This would mean > that for a HZ=100 kernel in 2100 rescheduling opportunities, the watchdog > thread was never selected to run? No, that is definitively not OK, which is what the PR is about. It is not OK for a regular atf run to cause a reboot of the test machine though, so this is a temporary hack around the issue (and admitedly a very ugly hack). Martin
Re: CVS commit: src/tests/lib/libarchive
In article <20200616075907.ecafcf...@cvs.netbsd.org>, Martin Husemann wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: martin >Date: Tue Jun 16 07:59:07 UTC 2020 > >Modified Files: > src/tests/lib/libarchive: t_libarchive.sh > >Log Message: >PR kern/55272: skip this test on uniprocessor machines, it is too dangerous >and can kill the host kernel if a userland watchdog is running So we are saying that it is ok for process running with regular priority, to be able to starve another process at the same priority from getting any runtime for 21 seconds in a uniprocessor kernel, and this does not indicate any problem with the scheduler implementation? This would mean that for a HZ=100 kernel in 2100 rescheduling opportunities, the watchdog thread was never selected to run? christos
re: CVS commit: src/tests/lib/libarchive
"Martin Husemann" writes: > Module Name: src > Committed By: martin > Date: Tue Jan 28 18:18:32 UTC 2020 > > Modified Files: > src/tests/lib/libarchive: t_libarchive.sh > > Log Message: > Bump timeout to 3600 - the libarchive tests take quite a while to > complete (on a nearly 1 GHz dual armv7 machine it takes more than 700s) this seems awfully excessive. can we tone down the libarchive tests to something reasonable for netbsd? .mrg.