Summary: | gnustep-base/gnustep-base-1.27.0: test failures | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Gnustep project <gnustep> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | toralf |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 761070 | ||
Attachments: |
build.log
tests.log.xz |
Description
Sam James
2020-12-31 04:18:35 UTC
Created attachment 680344 [details]
tests.log.xz
The failures here (to an untrained eye in GNUstep) look network-sandbox and TMPDIR related:
$ grep -rsin "Failed:" tests.log -A 2 -B 2
tests.log-3650-2020-12-31 04:12:43.316 general[6326:6326] File NSPathUtilities.m: 2034. In NSTemporaryDirectory Temporary directory (GNUmakefile base) does not exist
tests.log-3651-2020-12-31 04:12:43.316 general[6326:6326] part of the path to the lock file '(null)' is missing
tests.log:3652:2020-12-31 04:12:43.316 general[6326:6326] MethodSignature Test Failed:
tests.log-3653-2020-12-31 04:12:43.316 general[6326:6326] NSGenericException Failed to lock names for NSMessagePortNameServer (null)
tests.log-3654-Completed file: general.m
--
--
tests.log-10861-2020-12-31 04:15:04.698 test00[12600:12600] Host 'www.gnustep.org' not found using 'gethostbyname()' - perhaps the hostname is wrong or networking is not set up on your machine
tests.log-10862-2020-12-31 04:15:04.699 test00[12600:12600] bad address-service-protocol combination
tests.log:10863:2020-12-31 04:15:04.699 test00[12600:12600] Load failed: further tests may fail. Reason: Unable to connect to www.gnustep.org:80 ... No such file or directory
tests.log-10864-Failed test: test00.m:120 ... URLHandleResourceDidBeginLoading called
tests.log-10865-Completed file: test00.m
*** Bug 635762 has been marked as a duplicate of this bug. *** Good recap from what I checked so far, indeed we have some network-related tests that fail, and some issue with temp dir issued by NSTemporaryDirectory() First series, I have not found how to easily disable such tests (except removing the source code for it) Second series, somehow with sandbox this part in Source/NSPathUtilities.m: NSDictionary *env = [[NSProcessInfo processInfo] environment]; baseTempDirName = [env objectForKey: @"TEMP"]; will return the listing of Tests dir ("GNUmakefile base" first, then showing the test result files) I guess sandbox messes with the environment get call and that results in incorrect TEMP key. Hard to fix as this code is not in test but in main library. Anyway at least both series are not blocking stabilization, and relevant tests passed when run as normal user |