Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package testing now uses ubuntu 24.04 with gcc 14 #23649

Open
wants to merge 24 commits into
base: devel
Choose a base branch
from

Merge branch 'devel' into ringabout-patch-5

fb30e06
Select commit
Loading
Failed to load commit list.
Open

Package testing now uses ubuntu 24.04 with gcc 14 #23649

Merge branch 'devel' into ringabout-patch-5
fb30e06
Select commit
Loading
Failed to load commit list.
Azure Pipelines / nim-lang.Nim failed Aug 29, 2024 in 1h 3m 5s

Build #20240829.4 had test failures

Details

Tests

  • Failed: 7 (0.04%)
  • Passed: 8,210 (48.59%)
  • Other: 8,680 (51.37%)
  • Total: 16,897

Annotations

Check failure on line 4702 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

Build log #L4702

Bash exited with code '1'.

Check failure on line 5152 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

Build log #L5152

Bash exited with code '1'.

Check failure on line 1 in tests/misc/trunner_special.nim cpp

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

tests/misc/trunner_special.nim cpp

Failure: reExitcodesDiffer
Expected:
exitcode: 0

Gotten:
exitcode: 1

Output:

[Suite] SSL certificate check - disabled
thttpclient_ssl_remotenetwork.nim(22, 5) Warning: use the nimble packages `malebolgia`, `taskpools` or `weave` instead; threadpool is deprecated [Deprecated]
thttpclient_ssl_remotenetwork.nim(142, 3) template/generic instantiation of `suite` from here
thttpclient_ssl_remotenetwork.nim(146, 7) template/generic instantiation of `test` from here
thttpclient_ssl_remotenetwork.nim(153, 11) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept]
thttpclient_ssl_remotenetwork.nim(214, 3) template/generic instantiation of `suite` from here
thttpclient_ssl_remotenetwork.nim(218, 7) template/generic instantiation of `test` from here
thttpclient_ssl_remotenetwork.nim(227, 11) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept]
thttpclient_ssl_remotenetwork.nim(22, 5) Warning: imported and not used: 'threadpool' [UnusedImport]

[Suite] SSL certificate check - httpclient
thttpclient_ssl_remotenetwork.nim(112) thttpclient_ssl_remotenetwork
assertions.nim(41)       failedAssertImpl
assertions.nim(36)       raiseAssert
fatal.nim(53)            sysFatal

    Unhandled exception: thttpclient_ssl_remotenetwork.nim(112, 9) `exception_msg == "No SSL certificate found." or
    exception_msg == "SSL Certificate check failed." or
    exception_msg.contains("certificate verify failed") or
    exception_msg.contains("key too small") or
    exception_msg.contains("alert handshake failure") or
    exception_msg.contains("bad dh p length") or
    exception_msg.contains("excessive message size")` Connection timed out [AssertionDefect]
  [FAILED] self-signed
unittest.nim(515)        thttpclient_ssl_remotenetwork
fatal.nim(53)            sysFatal
Error: unhandled exception: no exception to reraise [ReraiseDefect]
Error: execution of an external program failed: '/home/vsts/.cache/nim/thttpclient_ssl_remotenetwork_d/thttpclient_ssl_remotenetwork_C55414B26336ADE67B7CCDF2813800DECA765CF6'
/home/vsts/work/1/s/tests/misc/trunner_special.nim(27, 12): Check failed: ret == 0
ret was 1

Check failure on line 1 in tests/misc/trunner_special.nim cpp

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

tests/misc/trunner_special.nim cpp

Failure: reExitcodesDiffer
Expected:


Gotten:
$ /home/vsts/work/1/s/bin/nim cpp --hints:on -d:testing --nimblePath:build/deps/pkgs2   --nimCache:nimcache/tests/misc/trunner_special.nim_2c5f2cba9af7f92986d3de1e753f3faa  tests/misc/trunner_special.nim
Hint: used config file '/home/vsts/work/1/s/config/nim.cfg' [Conf]
Hint: used config file '/home/vsts/work/1/s/config/config.nims' [Conf]
Hint: used config file '/home/vsts/work/1/s/tests/config.nims' [Conf]
CC: ../../lib/system/exceptions.nim
CC: ../../lib/std/private/digitsutils.nim
CC: ../../lib/std/assertions.nim
CC: ../../lib/system/dollars.nim
CC: ../../lib/std/syncio.nim
CC: ../../lib/system.nim
CC: ../../lib/pure/unicode.nim
CC: ../../lib/pure/math.nim
CC: ../../lib/pure/strutils.nim
CC: ../../lib/pure/strformat.nim
CC: ../../lib/posix/posix.nim
CC: ../../lib/pure/times.nim
CC: ../../lib/std/envvars.nim
CC: ../../lib/std/cmdline.nim
CC: ../../lib/pure/os.nim
CC: ../../lib/std/exitprocs.nim
CC: ../../lib/pure/streams.nim
CC: ../../lib/pure/hashes.nim
CC: ../../lib/pure/collections/sets.nim
CC: ../../lib/pure/terminal.nim
CC: ../../lib/pure/unittest.nim
CC: trunner_special.nim
Hint:  [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
71209 lines; 2.768s; 91.863MiB peakmem; proj: trunner_special; out: trunner_special [SuccessX]

Check failure on line 1 in tests/misc/trunner_special.nim c

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

tests/misc/trunner_special.nim c

Failure: reExitcodesDiffer
Expected:
exitcode: 0

Gotten:
exitcode: 1

Output:

[Suite] SSL certificate check - disabled
thttpclient_ssl_disabled.nim(24) thttpclient_ssl_disabled
httpclient.nim(1256)     getContent
httpclient.nim(1251)     get
httpclient.nim(1178)     request
httpclient.nim(1079)     requestAux
httpclient.nim(971)      newConnection
net.nim(2044)            dial
oserrors.nim(92)         raiseOSError

    Unhandled exception: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
 [OSError]
  [FAILED] httpclient in insecure mode
thttpclient_ssl_disabled.nim(29) thttpclient_ssl_disabled
httpclient.nim(1256)     getContent
httpclient.nim(1251)     get
httpclient.nim(1178)     request
httpclient.nim(1079)     requestAux
httpclient.nim(971)      newConnection
net.nim(2044)            dial
oserrors.nim(92)         raiseOSError

    Unhandled exception: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
 [OSError]
  [FAILED] httpclient in insecure mode
Error: execution of an external program failed: 'C:\Users\VssAdministrator\nimcache\thttpclient_ssl_disabled_d\thttpclient_ssl_disabled_631A8B80A4004D2044D2C427C1DCB9366E815150.exe'
D:\a\1\s\tests\misc\trunner_special.nim(27, 12): Check failed: ret == 0
ret was 1

Check failure on line 1 in tests/misc/trunner_special.nim c

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

tests/misc/trunner_special.nim c

Failure: reExitcodesDiffer
Expected:


Gotten:
$ D:\a\1\s\bin\nim.exe c --hints:on -d:testing --nimblePath:build/deps/pkgs2   --nimCache:nimcache\tests\misc\trunner_special.nim_4a8a08f09d37b73795649038408b5f33  tests\misc\trunner_special.nim
Hint: used config file 'D:\a\1\s\config\nim.cfg' [Conf]
Hint: used config file 'D:\a\1\s\config\config.nims' [Conf]
Hint: used config file 'D:\a\1\s\tests\config.nims' [Conf]
CC: ../../lib/system/exceptions.nim
CC: ../../lib/std/private/since.nim
CC: ../../lib/system/ctypes.nim
CC: ../../lib/std/sysatomics.nim
CC: ../../lib/system/ansi_c.nim
CC: ../../lib/system/memory.nim
CC: ../../lib/std/private/syslocks.nim
CC: ../../lib/std/private/threadtypes.nim
CC: ../../lib/std/private/digitsutils.nim
CC: ../../lib/std/private/miscdollars.nim
CC: ../../lib/std/assertions.nim
CC: ../../lib/system/iterators.nim
CC: ../../lib/system/coro_detection.nim
CC: ../../lib/std/private/dragonbox.nim
CC: ../../lib/std/private/schubfach.nim
CC: ../../lib/std/formatfloat.nim
CC: ../../lib/std/objectdollar.nim
CC: ../../lib/system/dollars.nim
CC: ../../lib/std/typedthreads.nim
CC: ../../lib/system/stacktraces.nim
CC: ../../lib/std/private/bitops_utils.nim
CC: ../../lib/system/countbits_impl.nim
CC: ../../lib/system/repr_v2.nim
CC: ../../lib/std/widestrs.nim
CC: ../../lib/core/locks.nim
CC: ../../lib/std/exitprocs.nim
CC: ../../lib/std/syncio.nim
CC: ../../lib/system.nim
CC: ../../lib/core/macros.nim
CC: ../../lib/pure/parseutils.nim
CC: ../../lib/std/strbasics.nim
CC: ../../lib/pure/unicode.nim
CC: ../../lib/pure/bitops.nim
CC: ../../lib/pure/fenv.nim
CC: ../../lib/pure/math.nim
CC: ../../lib/pure/algorithm.nim
CC: ../../lib/pure/typetraits.nim
CC: ../../lib/std/enumutils.nim
CC: ../../lib/std/private/jsutils.nim
CC: ../../lib/std/private/strimpl.nim
CC: ../../lib/pure/strutils.nim
CC: ../../lib/pure/strformat.nim
CC: ../../lib/std/private/osseps.nim
CC: ../../lib/std/private/ntpath.nim
CC: ../../lib/pure/pathnorm.nim
CC: ../../lib/pure/dynlib.nim
CC: ../../lib/windows/winlean.nim
CC: ../../lib/std/oserrors.nim
CC: ../../lib/pure/options.nim
CC: ../../lib/std/time_t.nim
CC: ../../lib/pure/times.nim
CC: ../../lib/std/private/oscommon.nim
CC: ../../lib/std/private/ospaths2.nim
CC: ../../lib/std/private/ossymlinks.nim
CC: ../../lib/std/private/osfiles.nim
CC: ../../lib/std/private/osdirs.nim
CC: ../../lib/std/private/win_setenv.nim
CC: ../../lib/std/envvars.nim
CC: ../../lib/std/private/osappdirs.nim
CC: ../../lib/std/cmdline.nim
CC: ../../lib/pure/os.nim
CC: ../../lib/pure/streams.nim
CC: ../../lib/pure/hashes.nim
CC: ../../lib/std/outparams.nim
CC: ../../lib/pure/collections/sets.nim
CC: ../../lib/pure/collections/sequtils.nim
CC: ../../lib/pure/colors.nim
CC: ../../lib/pure/terminal.nim
CC: ../../lib/pure/unittest.nim
CC: ../../lib/std/compilesettings.nim
CC: ../../testament/lib/stdtest/specialpaths.nim
CC: ../../lib/std/genasts.nim
CC: ../../testament/lib/stdtest/testutils.nim
CC: trunner_special.nim
Hint:  [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
69907 lines; 11.265s; 91.664MiB peakmem; proj: trunner_special; out: trunner_special.exe [SuccessX]