Skip to content
Failed

Console Output

Pull request #67 opened
09:03:17 Connecting to https://api.github.com using GitHub Access Token
Obtained .CI/Jenkinsfile from 0e236a956537a03f306d54702d90d7868e6458aa+730412ebe4e35ddca5a51ed549b8aa36d54a9992 (d466237f84f26910c4cd11e92e13f270567ac935)
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘linux’
Running on r7945-1 in /var/lib/jenkins/ws/MetaModelica.jl_PR-67
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Agent Setup)
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker pull julia:1.10.0-bookworm
1.10.0-bookworm: Pulling from library/julia
Digest: sha256:ae0f50e0d812f1537df24444125ca4b894e0e4a0e293b897b9ada6726f0ac007
Status: Image is up to date for julia:1.10.0-bookworm
docker.io/library/julia:1.10.0-bookworm
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . julia:1.10.0-bookworm
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
r7945-1 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 --privileged -w /var/lib/jenkins/ws/MetaModelica.jl_PR-67 -v /var/lib/jenkins/ws/MetaModelica.jl_PR-67:/var/lib/jenkins/ws/MetaModelica.jl_PR-67:rw,z -v /var/lib/jenkins/ws/MetaModelica.jl_PR-67_tmp:/var/lib/jenkins/ws/MetaModelica.jl_PR-67_tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** julia:1.10.0-bookworm cat
$ docker top f3d89234083e3154da6f8cd0a34ebf85636f538ae2551bb13ab1296deae34caf -eo pid,comm
[Pipeline] {
[Pipeline] stage
[Pipeline] { (build)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] dir
Running in /var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl
[Pipeline] {
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential github
Warning: JENKINS-30600: special launcher org.jenkinsci.plugins.docker.workflow.WithContainerStep$Decorator$1@6e808c6; decorates RemoteLauncher[hudson.remoting.Channel@1ca40b86:r7945-1] will be ignored (a typical symptom is the Git executable not being run inside a designated container)
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cleaning workspace
Fetching without tags
Cloning repository https://github.com/OpenModelica/MetaModelica.jl.git
 > git init /var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl # timeout=10
Fetching upstream changes from https://github.com/OpenModelica/MetaModelica.jl.git
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
using GIT_ASKPASS to set credentials GitHub Access Token
 > git fetch --no-tags --force --progress -- https://github.com/OpenModelica/MetaModelica.jl.git +refs/pull/67/head:refs/remotes/origin/PR-67 +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config remote.origin.url https://github.com/OpenModelica/MetaModelica.jl.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/67/head:refs/remotes/origin/PR-67 # timeout=10
 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config remote.origin.url https://github.com/OpenModelica/MetaModelica.jl.git # timeout=10
 > git rev-parse --verify HEAD # timeout=10
No valid HEAD. Skipping the resetting
 > git clean -fdx # timeout=10
Fetching upstream changes from https://github.com/OpenModelica/MetaModelica.jl.git
using GIT_ASKPASS to set credentials GitHub Access Token
 > git fetch --no-tags --force --progress -- https://github.com/OpenModelica/MetaModelica.jl.git +refs/pull/67/head:refs/remotes/origin/PR-67 +refs/heads/master:refs/remotes/origin/master # timeout=10
Merging remotes/origin/master commit 730412ebe4e35ddca5a51ed549b8aa36d54a9992 into PR head commit 0e236a956537a03f306d54702d90d7868e6458aa
Merge succeeded, producing 0e236a956537a03f306d54702d90d7868e6458aa
Checking out Revision 0e236a956537a03f306d54702d90d7868e6458aa (PR-67)
Commit message: "Updated .gitignore"
First time build. Skipping changelog.
Cleaning workspace
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
[Pipeline] sh
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0e236a956537a03f306d54702d90d7868e6458aa # timeout=10
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials GitHub Access Token
 > git merge 730412ebe4e35ddca5a51ed549b8aa36d54a9992 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0e236a956537a03f306d54702d90d7868e6458aa # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b PR-67 0e236a956537a03f306d54702d90d7868e6458aa # timeout=10
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
+ pwd
/var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl
[Pipeline] sh
+ export HOME=/var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl
+ julia -e using Pkg;
          Pkg.add("ExportAll");
          Pkg.add("DataStructures");
          Pkg.add("MacroTools");
          Pkg.add("Test");
          Pkg.add(PackageSpec(url="https://github.com/OpenModelica/ImmutableList.jl"))
  Installing known registries into `~/.julia`
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed ExportAll ─ v0.1.2
    Updating `~/.julia/environments/v1.10/Project.toml`
  [ad2082ca] + ExportAll v0.1.2
    Updating `~/.julia/environments/v1.10/Manifest.toml`
  [ad2082ca] + ExportAll v0.1.2
  [2a0f44e3] + Base64
  [b77e0a4c] + InteractiveUtils
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [8dfed614] + Test
Precompiling project...
  ✓ ExportAll
  1 dependency successfully precompiled in 1 seconds. 1 already precompiled.
   Resolving package versions...
   Installed OrderedCollections ─ v1.8.1
   Installed DataStructures ───── v0.19.4
    Updating `~/.julia/environments/v1.10/Project.toml`
  [864edb3b] + DataStructures v0.19.4
    Updating `~/.julia/environments/v1.10/Manifest.toml`
  [864edb3b] + DataStructures v0.19.4
  [bac558e1] + OrderedCollections v1.8.1
Precompiling project...
  ✓ OrderedCollections
  ✓ DataStructures
  2 dependencies successfully precompiled in 1 seconds. 2 already precompiled.
   Resolving package versions...
   Installed MacroTools ─ v0.5.16
    Updating `~/.julia/environments/v1.10/Project.toml`
  [1914dd2f] + MacroTools v0.5.16
    Updating `~/.julia/environments/v1.10/Manifest.toml`
  [1914dd2f] + MacroTools v0.5.16
Precompiling project...
  ✓ MacroTools
  1 dependency successfully precompiled in 1 seconds. 4 already precompiled.
   Resolving package versions...
    Updating `~/.julia/environments/v1.10/Project.toml`
  [8dfed614] + Test
  No Changes to `~/.julia/environments/v1.10/Manifest.toml`
     Cloning git-repo `https://github.com/OpenModelica/ImmutableList.jl`
    Updating git-repo `https://github.com/OpenModelica/ImmutableList.jl`
   Resolving package versions...
    Updating `~/.julia/environments/v1.10/Project.toml`
  [4a558cac] + ImmutableList v0.3.0 `https://github.com/OpenModelica/ImmutableList.jl#master`
    Updating `~/.julia/environments/v1.10/Manifest.toml`
  [4a558cac] + ImmutableList v0.3.0 `https://github.com/OpenModelica/ImmutableList.jl#master`
Precompiling project...
  ✓ ImmutableList
  1 dependency successfully precompiled in 0 seconds. 5 already precompiled.
[Pipeline] sh
+ export HOME=/var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl
+ julia -e using Pkg; Pkg.REPLMode.pkgstr("add /var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl")
┌ Warning: The Pkg REPL mode is intended for interactive use only, and should not be used from scripts. It is recommended to use the functional API instead.
└ @ Pkg.REPLMode /usr/local/julia/share/julia/stdlib/v1.10/Pkg/src/REPLMode/REPLMode.jl:382
     Cloning git-repo `/var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl`
    Updating git-repo `/var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl`
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed InverseFunctions ─ v0.1.17
   Installed FastClosures ───── v0.3.2
   Installed FunctionWrappers ─ v1.1.3
   Installed CompositionsBase ─ v0.1.2
   Installed ConstructionBase ─ v1.6.0
   Installed Accessors ──────── v0.1.44
    Updating `~/.julia/environments/v1.10/Project.toml`
  [9d7f2a79] + MetaModelica v0.1.0 `/var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl#PR-67`
    Updating `~/.julia/environments/v1.10/Manifest.toml`
  [7d9f7c33] + Accessors v0.1.44
  [a33af91c] + CompositionsBase v0.1.2
  [187b0558] + ConstructionBase v1.6.0
  [9aa1b823] + FastClosures v0.3.2
  [069b7b12] + FunctionWrappers v1.1.3
  [3587e190] + InverseFunctions v0.1.17
  [9d7f2a79] + MetaModelica v0.1.0 `/var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl#PR-67`
  [ade2ca70] + Dates
  [de0858da] + Printf
  [4ec0a83e] + Unicode
    Building MetaModelica → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/0c4480797c46902006e40ad03fe2448f7a87388b/build.log`
Precompiling project...
  ✓ CompositionsBase
  ✓ FastClosures
  ✓ ConstructionBase
  ✓ InverseFunctions
  ✓ FunctionWrappers
  ✓ ConstructionBase → ConstructionBaseLinearAlgebraExt
  ✓ CompositionsBase → CompositionsBaseInverseFunctionsExt
  ✓ InverseFunctions → InverseFunctionsTestExt
  ✓ InverseFunctions → InverseFunctionsDatesExt
  ✓ Accessors
  ✓ Accessors → LinearAlgebraExt
  ✓ Accessors → TestExt
  ✓ MetaModelica
  13 dependencies successfully precompiled in 4 seconds. 6 already precompiled.
[Pipeline] sh
+ export HOME=/var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl
+ julia -e using Pkg; Pkg.test("MetaModelica", coverage=true)
Precompiling project...
  ✓ CompositionsBase
  ✓ FastClosures
  ✓ InverseFunctions
  ✓ ExportAll
  ✓ ConstructionBase
  ✓ OrderedCollections
  ✓ FunctionWrappers
  ✓ ImmutableList
  ✓ ConstructionBase → ConstructionBaseLinearAlgebraExt
  ✓ CompositionsBase → CompositionsBaseInverseFunctionsExt
  ✓ InverseFunctions → InverseFunctionsTestExt
  ✓ MacroTools
  ✓ InverseFunctions → InverseFunctionsDatesExt
  ✓ DataStructures
  ✓ Accessors
  ✓ Accessors → LinearAlgebraExt
  ✓ Accessors → TestExt
  ✓ MetaModelica
  18 dependencies successfully precompiled in 4 seconds. 1 already precompiled.
     Testing MetaModelica
      Status `/tmp/jl_MFxxmf/Project.toml`
  [7d9f7c33] Accessors v0.1.44
  [864edb3b] DataStructures v0.19.4
  [ad2082ca] ExportAll v0.1.2
  [9aa1b823] FastClosures v0.3.2
  [069b7b12] FunctionWrappers v1.1.3
  [4a558cac] ImmutableList v0.3.0 `https://github.com/OpenModelica/ImmutableList.jl#master`
  [1914dd2f] MacroTools v0.5.16
  [9d7f2a79] MetaModelica v0.1.0 `/var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl#PR-67`
  [8dfed614] Test
      Status `/tmp/jl_MFxxmf/Manifest.toml`
  [7d9f7c33] Accessors v0.1.44
  [a33af91c] CompositionsBase v0.1.2
  [187b0558] ConstructionBase v1.6.0
  [864edb3b] DataStructures v0.19.4
  [ad2082ca] ExportAll v0.1.2
  [9aa1b823] FastClosures v0.3.2
  [069b7b12] FunctionWrappers v1.1.3
  [4a558cac] ImmutableList v0.3.0 `https://github.com/OpenModelica/ImmutableList.jl#master`
  [3587e190] InverseFunctions v0.1.17
  [1914dd2f] MacroTools v0.5.16
  [9d7f2a79] MetaModelica v0.1.0 `/var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl#PR-67`
  [bac558e1] OrderedCollections v1.8.1
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [b77e0a4c] InteractiveUtils
  [56ddb016] Logging
  [d6f4376e] Markdown
  [de0858da] Printf
  [9a3f8284] Random
  [ea8e919c] SHA v0.7.0
  [9e88b42a] Serialization
  [8dfed614] Test
  [4ec0a83e] Unicode
     Testing Running tests...
ERROR: LoadError: Some tests did not pass: 116 passed, 1 failed, 0 errored, 0 broken.
in expression starting at /var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl/.julia/packages/MetaModelica/IHFnt/test/runtests.jl:4
Common conversions betwen MetaArrays and Lists: Test Failed at /var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl/.julia/packages/MetaModelica/IHFnt/test/runtimeTest.jl:34
  Expression: listAppend(list(1, 2, 3), list(4.0, 5)) == begin
        #= /var/lib/jenkins/ws/MetaModelica.jl_PR-67/MetaModelica.jl/.julia/packages/MetaModelica/IHFnt/test/runtimeTest.jl:36 =#
        Cons{Real}(1, Cons{Real}(2, Cons{Real}(3, Cons{Real}(4.0, Cons{Real}(5, Nil())))))
    end
   Evaluated: Cons{Int64}(1, Cons{Int64}(2, Cons{Int64}(3, Cons{Int64}(4, Cons{Int64}(5, Nil{Any}()))))) == Cons{Real}(1, Cons{Real}(2, Cons{Real}(3, Cons{Real}(4.0, Cons{Real}(5, Nil{Any}())))))

Stacktrace:
 [1] macro expansion
   @ /usr/local/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined]
 [2] macro expansion
   @ ~/.julia/packages/MetaModelica/IHFnt/test/runtimeTest.jl:34 [inlined]
 [3] macro expansion
   @ /usr/local/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
 [4] top-level scope
   @ ~/.julia/packages/MetaModelica/IHFnt/test/runtimeTest.jl:19
Test Summary:                                      | Pass  Fail  Total  Time
MetaModelica                                       |  116     1    117  3.3s
  @match                                           |   20           20  1.1s
  list                                             |   32           32  1.0s
  metaModelicatypes                                |    3            3  0.0s
  Uniontype                                        |    6            6  0.2s
  Function extension test                          |              None  0.0s
  Runtime tests                                    |   50     1     51  1.0s
    Testing Array creation                         |    6            6  0.0s
    Common conversions betwen MetaArrays and Lists |   15     1     16  0.5s
    Complex structure test                         |   10           10  0.1s
    Testing array copy                             |    1            1  0.0s
    Testing tick()                                 |    4            4  0.0s
    Testing the Optional type                      |   14           14  0.1s
  Cross module match                               |    2            2  0.0s
  Should fail tests                                |    3            3  0.0s
ERROR: Package MetaModelica errored during testing
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types /usr/local/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool)
   @ Pkg.Operations /usr/local/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:2018
 [3] test
   @ /usr/local/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1899 [inlined]
 [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOStream})
   @ Pkg.API /usr/local/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:444
 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOStream, kwargs::@Kwargs{coverage::Bool})
   @ Pkg.API /usr/local/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
 [6] test
   @ Pkg.API /usr/local/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
 [7] #test#74
   @ Pkg.API /usr/local/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
 [8] top-level scope
   @ none:1
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 f3d89234083e3154da6f8cd0a34ebf85636f538ae2551bb13ab1296deae34caf
$ docker rm -f --volumes f3d89234083e3154da6f8cd0a34ebf85636f538ae2551bb13ab1296deae34caf
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1

GitHub has been notified of this commit’s build result

Finished: FAILURE