Skip to content

Console Output

Pull request #68 updated
11:12:36 Connecting to https://api.github.com using GitHub Access Token
Connecting to https://api.github.com to check permissions of obtain list of AnHeuermann for OpenModelica/OMJulia.jl
Obtained .CI/Jenkinsfile from 47e5c43ddeb222332c9e3233f87683116d8f538e+2bef4f8a23f5cbbd21349a3abec15a63912ccde3 (56b8e682108dfe13d140fd2ce9ca4b89ad92e8da)
[Pipeline] Start of Pipeline
[Pipeline] node
Running on ryzen-5950x-2-1 in /var/lib/jenkins1/ws/OMJulia.jl_PR-68
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Agent Setup)
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker pull docker.openmodelica.org/omjulia-build-deps:v0.1.0
v0.1.0: Pulling from omjulia-build-deps
741437d97401: Pulling fs layer
82ad57f7f512: Pulling fs layer
cc3d78a412d8: Pulling fs layer
5f4b255c720c: Pulling fs layer
bb764ce8a1e0: Pulling fs layer
5f4b255c720c: Waiting
82ad57f7f512: Verifying Checksum
82ad57f7f512: Download complete
741437d97401: Verifying Checksum
741437d97401: Download complete
741437d97401: Pull complete
82ad57f7f512: Pull complete
cc3d78a412d8: Verifying Checksum
cc3d78a412d8: Download complete
bb764ce8a1e0: Verifying Checksum
bb764ce8a1e0: Download complete
cc3d78a412d8: Pull complete
5f4b255c720c: Verifying Checksum
5f4b255c720c: Download complete
5f4b255c720c: Pull complete
bb764ce8a1e0: Pull complete
Digest: sha256:015c182823cdb8a603b1e2a69a87c7f1ad1e3c71e50c43a6aa1066f8b1ce4990
Status: Downloaded newer image for docker.openmodelica.org/omjulia-build-deps:v0.1.0
docker.openmodelica.org/omjulia-build-deps:v0.1.0
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . docker.openmodelica.org/omjulia-build-deps:v0.1.0
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
ryzen-5950x-2-1 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 --privileged -w /var/lib/jenkins1/ws/OMJulia.jl_PR-68 -v /var/lib/jenkins1/ws/OMJulia.jl_PR-68:/var/lib/jenkins1/ws/OMJulia.jl_PR-68:rw,z -v /var/lib/jenkins1/ws/OMJulia.jl_PR-68@tmp:/var/lib/jenkins1/ws/OMJulia.jl_PR-68@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 ******** -e ******** docker.openmodelica.org/omjulia-build-deps:v0.1.0 cat
$ docker top 8e0c6f1cddb94b841233e41ce47aa17e42e24dba126bd79c89e1eeda241d6f65 -eo pid,comm
[Pipeline] {
[Pipeline] stage
[Pipeline] { (build)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] dir
Running in /var/lib/jenkins1/ws/OMJulia.jl_PR-68/OMJulia.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@41070958; decorates RemoteLauncher[hudson.remoting.Channel@570e941f:ryzen-5950x-2-1] will be ignored (a typical symptom is the Git executable not being run inside a designated container)
Fetching changes from the remote Git repository
Cleaning workspace
Fetching without tags
Merging remotes/origin/master commit 2bef4f8a23f5cbbd21349a3abec15a63912ccde3 into PR head commit 47e5c43ddeb222332c9e3233f87683116d8f538e
Merge succeeded, producing 47e5c43ddeb222332c9e3233f87683116d8f538e
Checking out Revision 47e5c43ddeb222332c9e3233f87683116d8f538e (PR-68)
Commit message: "Fix indentation, move function definition"
 > git rev-parse --resolve-git-dir /var/lib/jenkins1/ws/OMJulia.jl_PR-68/OMJulia.jl/.git # timeout=10
 > git config remote.origin.url https://github.com/OpenModelica/OMJulia.jl.git # timeout=10
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from https://github.com/OpenModelica/OMJulia.jl.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials GitHub Access Token
 > git fetch --no-tags --force --progress -- https://github.com/OpenModelica/OMJulia.jl.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 47e5c43ddeb222332c9e3233f87683116d8f538e # 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 2bef4f8a23f5cbbd21349a3abec15a63912ccde3 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 47e5c43ddeb222332c9e3233f87683116d8f538e # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D PR-68 # timeout=10
 > git checkout -b PR-68 47e5c43ddeb222332c9e3233f87683116d8f538e # timeout=10
 > git rev-list --no-walk 4906d8c53186ad4d0b12d2e44edc9ef0fd8a7bda # 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
+ hostname
8e0c6f1cddb9
[Pipeline] sh
+ cd /home/julia
+ tar xf /home/julia.tar
[Pipeline] sh
+ test -d /home/julia/.julia/compiled/v1.0/PEG/
[Pipeline] sh
+ julia -e using Pkg; Pkg.REPLMode.pkgstr("add /var/lib/jenkins1/ws/OMJulia.jl_PR-68/OMJulia.jl");
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
[?25l    Fetching: [>                                        ]  0.0 %
    Fetching: [====>                                    ]  9.3 %
    Fetching: [===================>                     ]  47.0 %
    Fetching: [==============================>          ]  72.9 %
    Fetching: [=======================================> ]  95.1 %
[?25h   Cloning git-repo `/var/lib/jenkins1/ws/OMJulia.jl_PR-68/OMJulia.jl`
[?25l[?25h  Updating git-repo `/var/lib/jenkins1/ws/OMJulia.jl_PR-68/OMJulia.jl`
[?25l[?25h Resolving package versions...
 Installed DataValueInterfaces ───────── v1.0.0
 Installed CodecZlib ─────────────────── v0.6.0
 Installed DataAPI ───────────────────── v1.12.0
 Installed Missings ──────────────────── v0.4.5
 Installed TableTraits ───────────────── v1.0.1
 Installed Parsers ───────────────────── v2.4.1
 Installed DataStreams ───────────────── v0.4.2
 Installed OrderedCollections ────────── v1.4.1
 Installed WeakRefStrings ────────────── v0.5.8
 Installed IteratorInterfaceExtensions ─ v1.0.0
 Installed Tables ────────────────────── v0.2.11
 Installed JSON ──────────────────────── v0.21.3
 Installed BinaryProvider ────────────── v0.5.10
 Installed StatsBase ─────────────────── v0.32.0
 Installed CategoricalArrays ─────────── v0.7.7
 Installed TranscodingStreams ────────── v0.9.9
  Updating `~/.julia/environments/v1.0/Project.toml`
  [0f4fe800] + OMJulia v0.2.0 #PR-68 (/var/lib/jenkins1/ws/OMJulia.jl_PR-68/OMJulia.jl)
  Updating `~/.julia/environments/v1.0/Manifest.toml`
  [b99e7846] ↑ BinaryProvider v0.5.3 ⇒ v0.5.10
  [324d7699] ↑ CategoricalArrays v0.5.2 ⇒ v0.7.7
  [944b1d66] ↑ CodecZlib v0.5.1 ⇒ v0.6.0
  [9a962f9c] + DataAPI v1.12.0
  [9a8bc11e] ↑ DataStreams v0.4.1 ⇒ v0.4.2
  [e2d170a0] + DataValueInterfaces v1.0.0
  [82899510] ↑ IteratorInterfaceExtensions v0.1.1 ⇒ v1.0.0
  [682c06a0] + JSON v0.21.3
  [e1d29d7a] ↑ Missings v0.4.0 ⇒ v0.4.5
  [0f4fe800] + OMJulia v0.2.0 #PR-68 (/var/lib/jenkins1/ws/OMJulia.jl_PR-68/OMJulia.jl)
  [bac558e1] ↑ OrderedCollections v1.0.2 ⇒ v1.4.1
  [69de0a69] + Parsers v2.4.1
  [ae029012] - Requires v0.5.2
  [2913bbd2] ↑ StatsBase v0.27.0 ⇒ v0.32.0
  [3783bdb8] ↑ TableTraits v0.4.1 ⇒ v1.0.1
  [bd369af6] ↑ Tables v0.1.15 ⇒ v0.2.11
  [3bb67fe8] ↑ TranscodingStreams v0.8.1 ⇒ v0.9.9
  [ea10d353] ↑ WeakRefStrings v0.5.7 ⇒ v0.5.8
  Building CodecZlib → `~/.julia/packages/CodecZlib/5t9zO/deps/build.log`
[Pipeline] sh
+ julia -e using Pkg; Pkg.test("OMJulia", coverage=true)
ERROR: LoadError: Some tests did not pass: 19 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /home/julia/.julia/packages/OMJulia/evtha/test/runtests.jl:10
OpenModelica: Error During Test at /home/julia/.julia/packages/OMJulia/evtha/test/runtests.jl:33
  Got exception outside of a @test
  MethodError: no method matching rawhandle(::Base.GenericIOBuffer{Array{UInt8,1}})
  Closest candidates are:
    rawhandle(!Matched::RawFD) at process.jl:149
    rawhandle(!Matched::Base.DevNull) at process.jl:148
    rawhandle(!Matched::Base.Filesystem.File) at filesystem.jl:69
    ...
  Stacktrace:
   [1] _jl_spawn(::String, ::Array{String,1}, ::Cmd, ::Tuple{Base.DevNull,Base.GenericIOBuffer{Array{UInt8,1}},Base.GenericIOBuffer{Array{UInt8,1}}}) at ./process.jl:345
   [2] (::getfield(Base, Symbol("##493#494")){Cmd})(::Tuple{Base.DevNull,Base.GenericIOBuffer{Array{UInt8,1}},Base.GenericIOBuffer{Array{UInt8,1}}}) at ./process.jl:509
   [3] setup_stdio(::getfield(Base, Symbol("##493#494")){Cmd}, ::Tuple{Base.DevNull,Base.GenericIOBuffer{Array{UInt8,1}},Base.GenericIOBuffer{Array{UInt8,1}}}) at ./process.jl:490
   [4] #_spawn#492(::Nothing, ::Function, ::Cmd, ::Tuple{Base.DevNull,Base.GenericIOBuffer{Array{UInt8,1}},Base.GenericIOBuffer{Array{UInt8,1}}}) at ./process.jl:508
   [5] (::getfield(Base, Symbol("#kw##_spawn")))(::NamedTuple{(:chain,),Tuple{Nothing}}, ::typeof(Base._spawn), ::Cmd, ::Tuple{Base.DevNull,Base.GenericIOBuffer{Array{UInt8,1}},Base.GenericIOBuffer{Array{UInt8,1}}}) at ./none:0
   [6] #_spawn#489(::Nothing, ::Function, ::Base.CmdRedirect, ::Tuple{Base.DevNull,Pipe,Base.GenericIOBuffer{Array{UInt8,1}}}) at ./process.jl:398
   [7] (::getfield(Base, Symbol("#kw##_spawn")))(::NamedTuple{(:chain,),Tuple{Nothing}}, ::typeof(Base._spawn), ::Base.CmdRedirect, ::Tuple{Base.DevNull,Pipe,Base.GenericIOBuffer{Array{UInt8,1}}}) at ./none:0
   [8] #_spawn#489(::Nothing, ::Function, ::Base.CmdRedirect, ::Tuple{Base.DevNull,Pipe,IOStream}) at ./process.jl:398
   [9] _spawn(::Base.CmdRedirect, ::Tuple{Base.DevNull,Pipe,IOStream}) at ./process.jl:398
   [10] #open#502(::Bool, ::Bool, ::Function, ::Base.CmdRedirect, ::Base.DevNull) at ./process.jl:594
   [11] open at ./process.jl:584 [inlined] (repeats 2 times)
   [12] OMJulia.OMCSession(::Nothing) at /home/julia/.julia/packages/OMJulia/evtha/src/OMJulia.jl:159
   [13] OMJulia.OMCSession() at /home/julia/.julia/packages/OMJulia/evtha/src/OMJulia.jl:89
   [14] macro expansion at /home/julia/.julia/packages/OMJulia/evtha/test/runtests.jl:34 [inlined]
   [15] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
   [16] macro expansion at /home/julia/.julia/packages/OMJulia/evtha/test/runtests.jl:34 [inlined]
   [17] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
   [18] top-level scope at /home/julia/.julia/packages/OMJulia/evtha/test/runtests.jl:11
   [19] include at ./boot.jl:317 [inlined]
   [20] include_relative(::Module, ::String) at ./loading.jl:1044
   [21] include(::Module, ::String) at ./sysimg.jl:29
   [22] include(::String) at ./client.jl:392
   [23] top-level scope at none:0
   [24] eval(::Module, ::Any) at ./boot.jl:319
   [25] exec_options(::Base.JLOptions) at ./client.jl:243
   [26] _start() at ./client.jl:425
Test Summary:  | Pass  Error  Total
OMJulia        |   19      1     20
  Parser       |   19            19
  OpenModelica |           1      1
ERROR: Package OMJulia errored during testing
Stacktrace:
 [1] pkgerror(::String, ::Vararg{String,N} where N) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:120
 [2] #test#65(::Bool, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1357
 [3] #test at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:0 [inlined]
 [4] #test#42(::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.0/Pkg/src/API.jl:273
 [5] #test at ./none:0 [inlined]
 [6] #test#41 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:255 [inlined]
 [7] #test at ./none:0 [inlined]
 [8] #test#40 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:254 [inlined]
 [9] #test at ./none:0 [inlined]
 [10] #test#39 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:253 [inlined]
 [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 OMJulia
    Status `/tmp/tmpMI0MIf/Manifest.toml`
  [b99e7846] BinaryProvider v0.5.10
  [324d7699] CategoricalArrays v0.7.7
  [944b1d66] CodecZlib v0.6.0
  [34da2185] Compat v1.5.1
  [9a962f9c] DataAPI v1.12.0
  [a93c6f00] DataFrames v0.17.1
  [9a8bc11e] DataStreams v0.4.2
  [864edb3b] DataStructures v0.15.0
  [e2d170a0] DataValueInterfaces v1.0.0
  [82899510] IteratorInterfaceExtensions v1.0.0
  [682c06a0] JSON v0.21.3
  [9c8b4983] LightXML v0.8.0
  [e1d29d7a] Missings v0.4.5
  [0f4fe800] OMJulia v0.2.0 #PR-68 (/var/lib/jenkins1/ws/OMJulia.jl_PR-68/OMJulia.jl)
  [bac558e1] OrderedCollections v1.4.1
  [69de0a69] Parsers v2.4.1
  [189a3867] Reexport v0.2.0
  [a2af1166] SortingAlgorithms v0.3.1
  [2913bbd2] StatsBase v0.32.0
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v0.2.11
  [3bb67fe8] TranscodingStreams v0.9.9
  [ea10d353] WeakRefStrings v0.5.8
  [c2297ded] ZMQ v1.0.0
  [2a0f44e3] Base64  [`@stdlib/Base64`]
  [ade2ca70] Dates  [`@stdlib/Dates`]
  [8bb1440f] DelimitedFiles  [`@stdlib/DelimitedFiles`]
  [8ba89e20] Distributed  [`@stdlib/Distributed`]
  [7b1f6079] FileWatching  [`@stdlib/FileWatching`]
  [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 8e0c6f1cddb94b841233e41ce47aa17e42e24dba126bd79c89e1eeda241d6f65
$ docker rm -f 8e0c6f1cddb94b841233e41ce47aa17e42e24dba126bd79c89e1eeda241d6f65
[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