Push event to branch master
16:07:37 Connecting to https://api.github.com using sjoelund.se/****** (GitHub Access Token)
Obtained .CI/Jenkinsfile from aa657a7e8c541508b6b9880450cdeb2738a4b5c8
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on asap-1 in /var/lib/jenkins1/ws/MetaModelica.jl_master
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Agent Setup)
[Pipeline] isUnix
[Pipeline] sh
+ docker pull julia:1.1-buster
1.1-buster: Pulling from library/julia
1ab2bdfe9778: Pulling fs layer
71a44a025121: Pulling fs layer
4b925085e052: Pulling fs layer
71a44a025121: Verifying Checksum
71a44a025121: Download complete
1ab2bdfe9778: Verifying Checksum
1ab2bdfe9778: Download complete
4b925085e052: Verifying Checksum
4b925085e052: Download complete
1ab2bdfe9778: Pull complete
71a44a025121: Pull complete
4b925085e052: Pull complete
Digest: sha256:39501819ee040615680e1c48efe79a7323af9eb4bebef44bfec625064546a564
Status: Downloaded newer image for julia:1.1-buster
docker.io/library/julia:1.1-buster
[Pipeline] }
[Pipeline] // stage
[Pipeline] isUnix
[Pipeline] sh
+ docker inspect -f . julia:1.1-buster
.
[Pipeline] withDockerContainer
asap-1 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 --privileged -w /var/lib/jenkins1/ws/MetaModelica.jl_master -v /var/lib/jenkins1/ws/MetaModelica.jl_master:/var/lib/jenkins1/ws/MetaModelica.jl_master:rw,z -v /var/lib/jenkins1/ws/MetaModelica.jl_master@tmp:/var/lib/jenkins1/ws/MetaModelica.jl_master@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 ******** julia:1.1-buster cat
$ docker top cba55caf806d79436544aa9940cb88d5f01b6ef35912819b6ed6d15025f57206 -eo pid,comm
[Pipeline] {
[Pipeline] stage
[Pipeline] { (build)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] dir
Running in /var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl
[Pipeline] {
[Pipeline] checkout
The recommended git tool is: NONE
using credential github
Warning: JENKINS-30600: special launcher org.jenkinsci.plugins.docker.workflow.WithContainerStep$Decorator$1@7695abad; decorates RemoteLauncher[hudson.remoting.Channel@a741952:asap-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
Cloning repository https://github.com/OpenModelica/MetaModelica.jl.git
> git init /var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl # timeout=10
Fetching upstream changes from https://github.com/OpenModelica/MetaModelica.jl.git
> git --version # timeout=10
> git --version # 'git version 2.17.1'
using GIT_ASKPASS to set credentials GitHub Access Token
> git fetch --no-tags --progress -- https://github.com/OpenModelica/MetaModelica.jl.git +refs/heads/master:refs/remotes/origin/master # timeout=10
Avoid second fetch
Checking out Revision aa657a7e8c541508b6b9880450cdeb2738a4b5c8 (master)
Commit message: "Reverted faulty commit"
> git config remote.origin.url https://github.com/OpenModelica/MetaModelica.jl.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f aa657a7e8c541508b6b9880450cdeb2738a4b5c8 # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b master aa657a7e8c541508b6b9880450cdeb2738a4b5c8 # timeout=10
> git rev-list --no-walk ff4e1452f72cb5c2b6a79ae240b40934f675194d # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
[Pipeline] sh
+ pwd
/var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl
[Pipeline] sh
+ export HOME=/var/lib/jenkins1/ws/MetaModelica.jl_master/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"))
Cloning default registries into `~/.julia`
Cloning registry from "https://github.com/JuliaRegistries/General.git"
[?25l Fetching: [> ] 0.0 %
Fetching: [=====> ] 11.8 %
Fetching: [================> ] 39.7 %
Fetching: [====================> ] 49.0 %
Fetching: [==========================> ] 64.2 %
[2K[?25h Added registry `General` to `~/.julia/registries/General`
Resolving package versions...
Installed ExportAll ─ v0.1.2
Updating `~/.julia/environments/v1.1/Project.toml`
[ad2082ca] + ExportAll v0.1.2
Updating `~/.julia/environments/v1.1/Manifest.toml`
[ad2082ca] + ExportAll v0.1.2
[2a0f44e3] + Base64
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[56ddb016] + Logging
[d6f4376e] + Markdown
[9a3f8284] + Random
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[8dfed614] + Test
Resolving package versions...
Installed Compat ───────────── v3.31.0
Installed OrderedCollections ─ v1.4.1
Installed DataStructures ───── v0.18.9
Updating `~/.julia/environments/v1.1/Project.toml`
[864edb3b] + DataStructures v0.18.9
Updating `~/.julia/environments/v1.1/Manifest.toml`
[34da2185] + Compat v3.31.0
[864edb3b] + DataStructures v0.18.9
[bac558e1] + OrderedCollections v1.4.1
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[ea8e919c] + SHA
[1a1011a3] + SharedArrays
[2f01184e] + SparseArrays
[10745b16] + Statistics
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Resolving package versions...
Installed MacroTools ─ v0.5.6
Updating `~/.julia/environments/v1.1/Project.toml`
[1914dd2f] + MacroTools v0.5.6
Updating `~/.julia/environments/v1.1/Manifest.toml`
[1914dd2f] + MacroTools v0.5.6
Resolving package versions...
Updating `~/.julia/environments/v1.1/Project.toml`
[8dfed614] + Test
Updating `~/.julia/environments/v1.1/Manifest.toml`
[no changes]
Cloning git-repo `https://github.com/OpenModelica/ImmutableList.jl`
[?25l Fetching: [> ] 0.0 %
[2K[?25h Updating git-repo `https://github.com/OpenModelica/ImmutableList.jl`
[?25l Fetching: [> ] 0.0 %
[2K[?25h Resolving package versions...
Updating `~/.julia/environments/v1.1/Project.toml`
[4a558cac] + ImmutableList v0.1.2 #master (https://github.com/OpenModelica/ImmutableList.jl)
Updating `~/.julia/environments/v1.1/Manifest.toml`
[4a558cac] + ImmutableList v0.1.2 #master (https://github.com/OpenModelica/ImmutableList.jl)
[Pipeline] sh
+ export HOME=/var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl
+ julia -e using Pkg; Pkg.REPLMode.pkgstr("add /var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl")
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
[?25l[2K[?25h Cloning git-repo `/var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl`
[?25l[2K[?25h Updating git-repo `/var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl`
[?25l[2K[?25h Resolving package versions...
Installed ConstructionBase ─ v1.3.0
Installed Requires ───────── v1.1.3
Installed Setfield ───────── v0.7.0
Updating `~/.julia/environments/v1.1/Project.toml`
[9d7f2a79] + MetaModelica v0.0.2 #master (/var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl)
Updating `~/.julia/environments/v1.1/Manifest.toml`
[187b0558] + ConstructionBase v1.3.0
[9d7f2a79] + MetaModelica v0.0.2 #master (/var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl)
[ae029012] + Requires v1.1.3
[efcf1570] + Setfield v0.7.0
[9fa8497b] + Future
Building MetaModelica → `~/.julia/packages/MetaModelica/vj6h5/deps/build.log`
[Pipeline] sh
+ export HOME=/var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl
+ julia -e using Pkg; Pkg.test("MetaModelica", coverage=true)
ERROR: LoadError: Some tests did not pass: 88 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl/.julia/packages/MetaModelica/vj6h5/test/runtests.jl:6
Runtime tests: Error During Test at /var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl/.julia/packages/MetaModelica/vj6h5/test/runtests.jl:31
Got exception outside of a @test
LoadError: ArgumentError: Package Revise not found in current path:
- Run `import Pkg; Pkg.add("Revise")` to install the Revise package.
Stacktrace:
[1] require(::Module, ::Symbol) at ./loading.jl:823
[2] include at ./boot.jl:326 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1038
[4] include at ./sysimg.jl:29 [inlined]
[5] include(::String) at /var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl/.julia/packages/MetaModelica/vj6h5/test/runtests.jl:1
[6] top-level scope at /var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl/.julia/packages/MetaModelica/vj6h5/test/runtests.jl:32
[7] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[8] top-level scope at /var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl/.julia/packages/MetaModelica/vj6h5/test/runtests.jl:32
[9] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[10] top-level scope at /var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl/.julia/packages/MetaModelica/vj6h5/test/runtests.jl:8
[11] include at ./boot.jl:326 [inlined]
[12] include_relative(::Module, ::String) at ./loading.jl:1038
[13] include(::Module, ::String) at ./sysimg.jl:29
[14] include(::String) at ./client.jl:403
[15] top-level scope at none:0
[16] eval(::Module, ::Any) at ./boot.jl:328
[17] exec_options(::Base.JLOptions) at ./client.jl:243
[18] _start() at ./client.jl:436
in expression starting at /var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl/.julia/packages/MetaModelica/vj6h5/test/runtimeTest.jl:49
Test Summary: | Pass Error Total
MetaModelica | 88 1 89
@match | 20 20
list | 32 32
metaModelicatypes | 3 3
Uniontype | 6 6
Function extension test | No tests
Runtime tests | 22 1 23
Testing Array creation | 6 6
Common conversions betwen MetaArrays and Lists | 16 16
Cross module match | 2 2
Should fail tests | 3 3
ERROR: Package MetaModelica errored during testing
Stacktrace:
[1] pkgerror(::String, ::Vararg{String,N} where N) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:120
[2] #test#66(::Bool, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1329
[3] #test at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:0 [inlined]
[4] #test#46(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:198
[5] #test at ./none:0 [inlined]
[6] #test#45 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:180 [inlined]
[7] #test at ./none:0 [inlined]
[8] #test#44 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:179 [inlined]
[9] #test at ./none:0 [inlined]
[10] #test#43(::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:coverage,),Tuple{Bool}}}, ::Function, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:178
[11] (::getfield(Pkg.API, Symbol("#kw##test")))(::NamedTuple{(:coverage,),Tuple{Bool}}, ::typeof(Pkg.API.test), ::String) at ./none:0
[12] top-level scope at none:0
Testing MetaModelica
Status `/tmp/tmpvK3ilZ/Manifest.toml`
[34da2185] Compat v3.31.0
[187b0558] ConstructionBase v1.3.0
[864edb3b] DataStructures v0.18.9
[ad2082ca] ExportAll v0.1.2
[4a558cac] ImmutableList v0.1.2 #master (https://github.com/OpenModelica/ImmutableList.jl)
[1914dd2f] MacroTools v0.5.6
[9d7f2a79] MetaModelica v0.0.2 #master (/var/lib/jenkins1/ws/MetaModelica.jl_master/MetaModelica.jl)
[bac558e1] OrderedCollections v1.4.1
[ae029012] Requires v1.1.3
[efcf1570] Setfield v0.7.0
[2a0f44e3] Base64 [`@stdlib/Base64`]
[ade2ca70] Dates [`@stdlib/Dates`]
[8bb1440f] DelimitedFiles [`@stdlib/DelimitedFiles`]
[8ba89e20] Distributed [`@stdlib/Distributed`]
[9fa8497b] Future [`@stdlib/Future`]
[b77e0a4c] InteractiveUtils [`@stdlib/InteractiveUtils`]
[76f85450] LibGit2 [`@stdlib/LibGit2`]
[8f399da3] Libdl [`@stdlib/Libdl`]
[37e2e46d] LinearAlgebra [`@stdlib/LinearAlgebra`]
[56ddb016] Logging [`@stdlib/Logging`]
[d6f4376e] Markdown [`@stdlib/Markdown`]
[a63ad114] Mmap [`@stdlib/Mmap`]
[44cfe95a] Pkg [`@stdlib/Pkg`]
[de0858da] Printf [`@stdlib/Printf`]
[3fa0cd96] REPL [`@stdlib/REPL`]
[9a3f8284] Random [`@stdlib/Random`]
[ea8e919c] SHA [`@stdlib/SHA`]
[9e88b42a] Serialization [`@stdlib/Serialization`]
[1a1011a3] SharedArrays [`@stdlib/SharedArrays`]
[6462fe0b] Sockets [`@stdlib/Sockets`]
[2f01184e] SparseArrays [`@stdlib/SparseArrays`]
[10745b16] Statistics [`@stdlib/Statistics`]
[8dfed614] Test [`@stdlib/Test`]
[cf7118a7] UUIDs [`@stdlib/UUIDs`]
[4ec0a83e] Unicode [`@stdlib/Unicode`]
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 cba55caf806d79436544aa9940cb88d5f01b6ef35912819b6ed6d15025f57206
$ docker rm -f cba55caf806d79436544aa9940cb88d5f01b6ef35912819b6ed6d15025f57206
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
GitHub has been notified of this commit’s build result
ERROR: script returned exit code 1
Finished: FAILURE