https://bugzilla.redhat.com/show_bug.cgi?id=2271914
--- Comment #7 from Frank Dedden frank@systemf.dev --- Apparently it still fails. On my end it gave me (from a `fedora-review -b 2271914`):
Failures: tests/unit/Stack/ConfigSpec.hs:278:5: 1) Stack.Config.loadConfig finds the config file in a parent directory uncaught exception: PantryException Error: [S-775] Exception while reading snapshot from https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/maste...: HttpExceptionRequest Request { host = "raw.githubusercontent.com" port = 443 secure = True requestHeaders = [("User-Agent","Haskell pantry package")] path = "/commercialhaskell/stackage-snapshots/master/lts/22/21.yaml" queryString = "" method = "GET" proxy = Nothing rawBody = False redirectCount = 10 responseTimeout = ResponseTimeoutDefault requestVersion = HTTP/1.1 proxySecureMode = ProxySecureWithConnect } (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: Just "raw.githubusercontent.com", service name: Just "443"): does not exist (Temporary failure in name resolution)) To rerun use: --match "/Stack.Config/loadConfig/finds the config file in a parent directory/" --seed 359307225 tests/unit/Stack/ConfigSpec.hs:289:5: 2) Stack.Config.loadConfig respects the STACK_YAML env variable uncaught exception: PantryException Error: [S-775] Exception while reading snapshot from https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/maste...: HttpExceptionRequest Request { host = "raw.githubusercontent.com" port = 443 secure = True requestHeaders = [("User-Agent","Haskell pantry package")] path = "/commercialhaskell/stackage-snapshots/master/lts/22/21.yaml" queryString = "" method = "GET" proxy = Nothing rawBody = False redirectCount = 10 responseTimeout = ResponseTimeoutDefault requestVersion = HTTP/1.1 proxySecureMode = ProxySecureWithConnect } (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: Just "raw.githubusercontent.com", service name: Just "443"): does not exist (Temporary failure in name resolution)) To rerun use: --match "/Stack.Config/loadConfig/respects the STACK_YAML env variable/" --seed 359307225 Randomized with seed 359307225 Finished in 0.3782 seconds 673 examples, 2 failures Test suite stack-unit-test: FAIL Test suite logged to: dist/test/stack-2.15.7-stack-unit-test.log 0 of 1 test suites (0 of 1 test cases) passed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.NHarc6 (%check) Bad exit status from /var/tmp/rpm-tmp.NHarc6 (%check) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/stack.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/stack.spec'
Mock Version: 5.9