Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920347 - app-editors/emacs-29.1-r5 violates network-sandbox during tests: Error: file-error ("Writing to process" "Network is unreachable" #<process dns>)
Summary: app-editors/emacs-29.1-r5 violates network-sandbox during tests: Error: file-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 916676
  Show dependency tree
 
Reported: 2023-12-20 03:27 UTC by matoro
Modified: 2024-04-13 06:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_920347.txt,465.08 KB, text/plain)
2023-12-20 03:28 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2023-12-20 03:27:11 UTC
Seen on sparc, but don't know why this would be arch-specific.  build.log and emerge --info in attachment.

Writing to process: Network is unreachable, dns

Error: file-error ("Writing to process" "Network is unreachable" #<process dns>)
  mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode 0x195f3838fbf53acd>))
  debug-early-backtrace()
  debug-early(error (file-error "Writing to process" "Network is unreachable" #<process dns>))
  process-send-string(#<process dns> "\221:\1\0\0\1\0\0\0\0\0\0\6google\3com\0\0\1\0\1")
  dns--lookup("google.com" #f(compiled-function (response) #<bytecode -0xff595b58b81eb79>) A nil)
  dns-query-asynchronous("google.com" #f(compiled-function (response) #<bytecode -0xff595b58b81eb79>) nil nil nil)
  dns-query("google.com")
  byte-code("\300\301!\210\302\303!\207" [require dns dns-query "google.com"] 2)
  (defvar internet-is-working (byte-code "\300\301!\210\302\303!\207" [require dns dns-query "google.com"] 2))
  load("src/process-tests" nil t)
  command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq ert-batch-backtrace-right-margin nil)" "-l" "src/process-tests" "--eval" "(ert-run-tests-batch-and-exit (quote (not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))))"))
  command-line()
  normal-top-level()
make[3]: *** [Makefile:180: src/process-tests.log] Error 255
make[3]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.1-r5/work/emacs-29.1/test'
make[2]: [Makefile:340: check-doit] Error 2 (ignored)

SUMMARY OF TEST RESULTS
-----------------------
Files examined: 461
Ran 6794 tests, 6565 results as expected, 0 unexpected, 229 skipped
1 files did not contain any tests:
  src/process-tests.log
make[2]: *** [Makefile:341: check-doit] Error 2
make[2]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.1-r5/work/emacs-29.1/test'
make[1]: *** [Makefile:310: check] Error 2
make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.1-r5/work/emacs-29.1/test'
make: *** [Makefile:1100: check] Error 2
 * ERROR: app-editors/emacs-29.1-r5::gentoo failed (test phase):

Reproducible: Always
Comment 1 matoro archtester 2023-12-20 03:28:20 UTC
Created attachment 880023 [details]
build.log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-12-20 09:22:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e0c32ccecf458c16549a125e490d87a74cf04c0

commit 1e0c32ccecf458c16549a125e490d87a74cf04c0
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-12-20 09:18:00 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-12-20 09:21:42 +0000

    app-editors/emacs: Disable src/process-tests.el tests
    
    Closes: https://bugs.gentoo.org/920347
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/emacs/emacs-29.1-r5.ebuild   | 4 ++++
 app-editors/emacs/emacs-29.1-r6.ebuild   | 4 ++++
 app-editors/emacs/emacs-29.1.90.ebuild   | 4 ++++
 app-editors/emacs/emacs-29.1.9999.ebuild | 4 ++++
 app-editors/emacs/emacs-30.0.9999.ebuild | 4 ++++
 5 files changed, 20 insertions(+)
Comment 3 matoro archtester 2024-04-12 21:10:52 UTC
Reopening this because it applies to 28.2-r11 and now blocks bug 927819
Comment 4 Larry the Git Cow gentoo-dev 2024-04-13 06:39:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=206f134336d886fd3ef752c1de4849d44994b538

commit 206f134336d886fd3ef752c1de4849d44994b538
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2024-04-13 06:37:29 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2024-04-13 06:38:35 +0000

    app-editors/emacs: Disable src/process-tests.el tests
    
    Closes: https://bugs.gentoo.org/920347
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/emacs/emacs-28.2-r11.ebuild | 4 ++++
 1 file changed, 4 insertions(+)