[Pkg-javascript-devel] Bug#1003621: emscripten: test_icu and test_pthread_icu attempt to download files from github

Mike Gerow gerow at google.com
Wed Jan 12 18:40:33 GMT 2022


Source: emscripten
Version: 3.0.0~dfsg+~1.39.6-2
Severity: serious
Tags: patch
Justification: Policy 4.9
thanks

The test_icu and test_pthread_icu tests both attempt to download the
file <https://github.com/unicode-org/icu/releases/download/release-68-2/icu4c-68_2-src.zip>.
This leads to an error like this on builders where access to the
network is restricted:

```
ports:INFO: retrieving port: icu from
https://github.com/unicode-org/icu/releases/download/release-68-2/icu4c-68_2-src.zip
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line
169, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py",
line 73, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.9/socket.py", line 954, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
```

I've attached a patch that disables the offending tests.

-- 
Mike Gerow
gerow at google.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Disable-test_-pthread-_icu-since-it-opens-sockets.patch
Type: text/x-patch
Size: 1163 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220112/365747ce/attachment.bin>


More information about the Pkg-javascript-devel mailing list