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

Tests fail locally #499

Closed
fonsp opened this issue Nov 2, 2022 · 3 comments
Closed

Tests fail locally #499

fonsp opened this issue Nov 2, 2022 · 3 comments

Comments

@fonsp
Copy link
Contributor

fonsp commented Nov 2, 2022

I cloned the repository and ran the tests, but they fail. This makes it hard to make a contribution :(

➜  ~ julia18x86
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.0 (2022-08-17)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.8) pkg> activate --temp
  Activating new project at `/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_oZ6tvQ`

(jl_oZ6tvQ) pkg> dev /Users/fons/Documents/WebIO.jl/
   Resolving package versions...
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_oZ6tvQ/Project.toml`
  [0f1e0344] + WebIO v0.8.18 `~/Documents/WebIO.jl`
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_oZ6tvQ/Manifest.toml`
  [bf4720bc] + AssetRegistry v0.1.0
  [3da002f7] + ColorTypes v0.11.4
  [5ae59095] + Colors v0.12.8
  [53c48c17] + FixedPointNumbers v0.8.4
  [de31a74c] + FunctionalCollections v0.5.0
⌅ [cd3eb016] + HTTP v0.9.17
  [83e8ac13] + IniFile v0.5.1
  [682c06a0] + JSON v0.21.3
  [739be429] + MbedTLS v1.1.7
  [510215fc] + Observables v0.5.2
  [bac558e1] + OrderedCollections v1.4.1
  [69de0a69] + Parsers v2.4.2
  [fa939f87] + Pidfile v1.3.0
  [189a3867] + Reexport v1.2.2
  [ae029012] + Requires v1.3.0
  [5c2747f8] + URIs v1.4.0
  [0f1e0344] + WebIO v0.8.18 `~/Documents/WebIO.jl`
  [104b5d7c] + WebSockets v1.5.9
  [cc8bc4a8] + Widgets v0.6.6
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8ba89e20] + Distributed
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.8.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [fa267f1f] + TOML v1.0.0
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v0.5.2+0
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.0+0
  [14a3606d] + MozillaCACerts_jll v2022.2.1
  [4536629a] + OpenBLAS_jll v0.3.20+0
  [83775a58] + Zlib_jll v1.2.12+3
  [8e850b90] + libblastrampoline_jll v5.1.1+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌅ have new versions available but cannot be upgraded. To see why use `status --outdated -m`

(jl_oZ6tvQ) pkg> test WebIO
     Testing WebIO
      Status `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_v2uiIe/Project.toml`
  [bf4720bc] AssetRegistry v0.1.0
  [ad839575] Blink v0.12.5
  [8f4d0f93] Conda v1.7.0
  [864edb3b] DataStructures v0.18.13
  [de31a74c] FunctionalCollections v0.5.0
  [7073ff75] IJulia v1.23.3
  [97c1335a] JSExpr v0.5.4
  [682c06a0] JSON v0.21.3
⌅ [a975b10e] Mux v0.7.6
  [0db19996] NBInclude v2.3.0
  [510215fc] Observables v0.5.2
  [ae029012] Requires v1.3.0
  [0f1e0344] WebIO v0.8.18 `~/Documents/WebIO.jl`
  [104b5d7c] WebSockets v1.5.9
  [cc8bc4a8] Widgets v0.6.6
  [2a0f44e3] Base64 `@stdlib/Base64`
  [ade2ca70] Dates `@stdlib/Dates`
  [8ba89e20] Distributed `@stdlib/Distributed`
  [56ddb016] Logging `@stdlib/Logging`
  [44cfe95a] Pkg v1.8.0 `@stdlib/Pkg`
  [9a3f8284] Random `@stdlib/Random`
  [6462fe0b] Sockets `@stdlib/Sockets`
  [8dfed614] Test `@stdlib/Test`
  [cf7118a7] UUIDs `@stdlib/UUIDs`
      Status `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_v2uiIe/Manifest.toml`
  [bf4720bc] AssetRegistry v0.1.0
  [9e28174c] BinDeps v1.0.2
  [ad839575] Blink v0.12.5
  [3da002f7] ColorTypes v0.11.4
  [5ae59095] Colors v0.12.8
  [34da2185] Compat v4.3.0
  [8f4d0f93] Conda v1.7.0
  [9a962f9c] DataAPI v1.12.0
  [864edb3b] DataStructures v0.18.13
  [e2d170a0] DataValueInterfaces v1.0.0
  [53c48c17] FixedPointNumbers v0.8.4
  [de31a74c] FunctionalCollections v0.5.0
⌅ [cd3eb016] HTTP v0.9.17
  [9fb69e20] Hiccup v0.2.2
  [7073ff75] IJulia v1.23.3
  [83e8ac13] IniFile v0.5.1
  [82899510] IteratorInterfaceExtensions v1.0.0
  [692b3bcd] JLLWrappers v1.4.1
  [97c1335a] JSExpr v0.5.4
  [682c06a0] JSON v0.21.3
  [50d2b5c4] Lazy v0.15.1
  [1914dd2f] MacroTools v0.5.10
  [739be429] MbedTLS v1.1.7
  [ffc61752] Mustache v1.0.14
⌅ [a975b10e] Mux v0.7.6
  [0db19996] NBInclude v2.3.0
  [510215fc] Observables v0.5.2
  [bac558e1] OrderedCollections v1.4.1
  [69de0a69] Parsers v2.4.2
  [fa939f87] Pidfile v1.3.0
  [21216c6a] Preferences v1.3.0
  [189a3867] Reexport v1.2.2
  [ae029012] Requires v1.3.0
  [b85f4697] SoftGlobalScope v1.1.0
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.10.0
  [30578b45] URIParser v0.4.1
  [5c2747f8] URIs v1.4.0
  [81def892] VersionParsing v1.3.0
  [0f1e0344] WebIO v0.8.18 `~/Documents/WebIO.jl`
  [104b5d7c] WebSockets v1.5.9
  [cc8bc4a8] Widgets v0.6.6
  [c2297ded] ZMQ v1.2.2
  [8f1865be] ZeroMQ_jll v4.3.4+0
  [a9144af2] libsodium_jll v1.0.20+0
  [0dad84c5] ArgTools v1.1.1 `@stdlib/ArgTools`
  [56f22d72] Artifacts `@stdlib/Artifacts`
  [2a0f44e3] Base64 `@stdlib/Base64`
  [ade2ca70] Dates `@stdlib/Dates`
  [8ba89e20] Distributed `@stdlib/Distributed`
  [f43a241f] Downloads v1.6.0 `@stdlib/Downloads`
  [7b1f6079] FileWatching `@stdlib/FileWatching`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [b27032c2] LibCURL v0.6.3 `@stdlib/LibCURL`
  [76f85450] LibGit2 `@stdlib/LibGit2`
  [8f399da3] Libdl `@stdlib/Libdl`
  [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
  [56ddb016] Logging `@stdlib/Logging`
  [d6f4376e] Markdown `@stdlib/Markdown`
  [a63ad114] Mmap `@stdlib/Mmap`
  [ca575930] NetworkOptions v1.2.0 `@stdlib/NetworkOptions`
  [44cfe95a] Pkg v1.8.0 `@stdlib/Pkg`
  [de0858da] Printf `@stdlib/Printf`
  [3fa0cd96] REPL `@stdlib/REPL`
  [9a3f8284] Random `@stdlib/Random`
  [ea8e919c] SHA v0.7.0 `@stdlib/SHA`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [6462fe0b] Sockets `@stdlib/Sockets`
  [2f01184e] SparseArrays `@stdlib/SparseArrays`
  [10745b16] Statistics `@stdlib/Statistics`
  [fa267f1f] TOML v1.0.0 `@stdlib/TOML`
  [a4e569a6] Tar v1.10.0 `@stdlib/Tar`
  [8dfed614] Test `@stdlib/Test`
  [cf7118a7] UUIDs `@stdlib/UUIDs`
  [4ec0a83e] Unicode `@stdlib/Unicode`
  [e66e0078] CompilerSupportLibraries_jll v0.5.2+0 `@stdlib/CompilerSupportLibraries_jll`
  [deac9b47] LibCURL_jll v7.84.0+0 `@stdlib/LibCURL_jll`
  [29816b5a] LibSSH2_jll v1.10.2+0 `@stdlib/LibSSH2_jll`
  [c8ffd9c3] MbedTLS_jll v2.28.0+0 `@stdlib/MbedTLS_jll`
  [14a3606d] MozillaCACerts_jll v2022.2.1 `@stdlib/MozillaCACerts_jll`
  [4536629a] OpenBLAS_jll v0.3.20+0 `@stdlib/OpenBLAS_jll`
  [83775a58] Zlib_jll v1.2.12+3 `@stdlib/Zlib_jll`
  [8e850b90] libblastrampoline_jll v5.1.1+0 `@stdlib/libblastrampoline_jll`
  [8e850ede] nghttp2_jll v1.48.0+0 `@stdlib/nghttp2_jll`
  [3f19e933] p7zip_jll v17.4.0+0 `@stdlib/p7zip_jll`
        Info Packages marked with ⌅ have new versions available but cannot be upgraded.
Precompiling project...
  36 dependencies successfully precompiled in 14 seconds. 15 already precompiled.
     Testing Running tests...
┌ Info: Installing NPM dependencies...
└   cmd = `npm -C /Users/fons/Documents/WebIO.jl/packages install --scripts-prepend-node-path=auto --unsafe-perm`

up to date, audited 1231 packages in 1s

69 packages are looking for funding
  run `npm fund` for details

39 vulnerabilities (3 moderate, 36 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
┌ Info: Building packages...
└   cmd = `npm -C /Users/fons/Documents/WebIO.jl/packages run build-prod --scripts-prepend-node-path=auto --unsafe-perm --`

> build-prod
> lerna run build-prod

lerna notice cli v3.22.1
lerna info Executing command in 4 packages: "npm run build-prod"
lerna ERR! npm run build-prod exited 2 in '@webio/webio'
lerna ERR! npm run build-prod stdout:

> @webio/[email protected] build-prod
> npm run build && webpack -p


> @webio/[email protected] build
> tsc -p . && webpack

Hash: 244c379e1fd63993874b
Version: webpack 4.46.0
Time: 328ms
Built at: 02-11-2022 13:07:55
              Asset      Size  Chunks                   Chunk Names
    webio.bundle.js  7.16 KiB   webio  [emitted]        webio
webio.bundle.js.map  3.96 KiB   webio  [emitted] [dev]  webio
Entrypoint webio = webio.bundle.js webio.bundle.js.map
[0] multi index.ts 28 bytes {webio} [built]
[./index.ts] 2.82 KiB {webio} [built] [failed] [1 error]

ERROR in ./index.ts
Module build failed (from /Users/fons/Documents/WebIO.jl/packages/node_modules/ts-loader/index.js):
Error: Debug Failure. False expression: Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.
    at Object.resolveTypeReferenceDirective (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:43193:18)
    at /Users/fons/Documents/WebIO.jl/packages/node_modules/ts-loader/dist/servicesHost.js:244:56
    at /Users/fons/Documents/WebIO.jl/packages/node_modules/ts-loader/dist/servicesHost.js:87:142
    at Array.map (<anonymous>)
    at Object.resolveTypeReferenceDirectives (/Users/fons/Documents/WebIO.jl/packages/node_modules/ts-loader/dist/servicesHost.js:87:125)
    at actualResolveTypeReferenceDirectiveNamesWorker (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:118257:163)
    at resolveTypeReferenceDirectiveNamesWorker (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:118557:26)
    at processTypeReferenceDirectives (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:120054:31)
    at findSourceFileWorker (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:119939:21)
    at findSourceFile (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:119791:26)
    at /Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:119740:85
    at getSourceFileFromReferenceWorker (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:119706:34)
    at processSourceFile (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:119740:13)
    at processTypeReferenceDirectiveWorker (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:120104:25)
    at processTypeReferenceDirective (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:120070:13)
    at Object.createProgram (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:118360:21)
    at synchronizeHostData (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:167688:26)
    at Object.getProgram (/Users/fons/Documents/WebIO.jl/packages/node_modules/typescript/lib/typescript.js:167802:13)
    at successfulTypeScriptInstance (/Users/fons/Documents/WebIO.jl/packages/node_modules/ts-loader/dist/instances.js:171:80)
    at Object.getTypeScriptInstance (/Users/fons/Documents/WebIO.jl/packages/node_modules/ts-loader/dist/instances.js:34:12)
    at Object.loader (/Users/fons/Documents/WebIO.jl/packages/node_modules/ts-loader/dist/index.js:17:41)
 @ multi index.ts webio[0]

lerna ERR! npm run build-prod exited 2 in '@webio/webio'
Build JavaScript: Error During Test at /Users/fons/Documents/WebIO.jl/test/bundling.jl:4
  Got exception outside of a @test
  LoadError: failed process: Process(`npm -C /Users/fons/Documents/WebIO.jl/packages run build-prod --scripts-prepend-node-path=auto --unsafe-perm --`, ProcessExited(2)) [2]
  
  Stacktrace:
    [1] pipeline_error
      @ ./process.jl:565 [inlined]
    [2] run(::Cmd; wait::Bool)
      @ Base ./process.jl:480
    [3] run(::Cmd)
      @ Base ./process.jl:477
    [4] top-level scope
      @ ~/Documents/WebIO.jl/deps/_bundlejs.jl:26
    [5] include(mod::Module, _path::String)
      @ Base ./Base.jl:419
    [6] include
      @ ~/Documents/WebIO.jl/src/WebIO.jl:1 [inlined]
    [7] bundlejs()
      @ WebIO ~/Documents/WebIO.jl/src/devsetup.jl:6
    [8] macro expansion
      @ ~/Documents/WebIO.jl/test/bundling.jl:9 [inlined]
    [9] macro expansion
      @ /Applications/Julia-1.8 x86.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Test/src/Test.jl:1357 [inlined]
   [10] top-level scope
      @ ~/Documents/WebIO.jl/test/bundling.jl:5
   [11] include(fname::String)
      @ Base.MainInclude ./client.jl:476
   [12] top-level scope
      @ ~/Documents/WebIO.jl/test/runtests.jl:7
   [13] include(fname::String)
      @ Base.MainInclude ./client.jl:476
   [14] top-level scope
      @ none:6
   [15] eval
      @ ./boot.jl:368 [inlined]
   [16] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:276
   [17] _start()
      @ Base ./client.jl:522
  in expression starting at /Users/fons/Documents/WebIO.jl/deps/_bundlejs.jl:8
Test Summary:    | Error  Total  Time
Build JavaScript |     1      1  7.2s
ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /Users/fons/Documents/WebIO.jl/test/bundling.jl:4
in expression starting at /Users/fons/Documents/WebIO.jl/test/runtests.jl:7
ERROR: Package WebIO errored during testing

(jl_oZ6tvQ) pkg> 

julia> versioninfo()
Julia Version 1.8.0
Commit 5544a0fab76 (2022-08-17 13:38 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin21.4.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, westmere)
  Threads: 1 on 8 virtual cores

Tested on Julia 1.8 arm64 and Julia 1.8 x86 on MacOS

@fonsp
Copy link
Contributor Author

fonsp commented Nov 2, 2022

@olegshtch
Copy link
Contributor

olegshtch commented Nov 2, 2022

#497 fixes most of failures except bundling one. Bundling should be fixed with webpack update.

@fonsp
Copy link
Contributor Author

fonsp commented Nov 9, 2022

Still failing, but close enough I guess:

(jl_UsoA3P) pkg> test WebIO
     Testing WebIO
      Status `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_HuEod1/Project.toml`
  [bf4720bc] AssetRegistry v0.1.0
  [ad839575] Blink v0.12.5
  [8f4d0f93] Conda v1.7.0
  [864edb3b] DataStructures v0.18.13
  [de31a74c] FunctionalCollections v0.5.0
  [7073ff75] IJulia v1.23.3
  [97c1335a] JSExpr v0.5.4
  [682c06a0] JSON v0.21.3
⌅ [a975b10e] Mux v0.7.6
  [0db19996] NBInclude v2.3.0
  [510215fc] Observables v0.5.4
  [ae029012] Requires v1.3.0
  [0f1e0344] WebIO v0.8.19 `~/Documents/WebIO.jl`
  [104b5d7c] WebSockets v1.5.9
  [cc8bc4a8] Widgets v0.6.6
  [2a0f44e3] Base64 `@stdlib/Base64`
  [ade2ca70] Dates `@stdlib/Dates`
  [8ba89e20] Distributed `@stdlib/Distributed`
  [56ddb016] Logging `@stdlib/Logging`
  [44cfe95a] Pkg v1.8.0 `@stdlib/Pkg`
  [9a3f8284] Random `@stdlib/Random`
  [6462fe0b] Sockets `@stdlib/Sockets`
  [8dfed614] Test `@stdlib/Test`
  [cf7118a7] UUIDs `@stdlib/UUIDs`
      Status `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_HuEod1/Manifest.toml`
  [bf4720bc] AssetRegistry v0.1.0
  [9e28174c] BinDeps v1.0.2
  [ad839575] Blink v0.12.5
  [3da002f7] ColorTypes v0.11.4
  [5ae59095] Colors v0.12.8
  [34da2185] Compat v4.3.0
  [8f4d0f93] Conda v1.7.0
  [9a962f9c] DataAPI v1.12.0
  [864edb3b] DataStructures v0.18.13
  [e2d170a0] DataValueInterfaces v1.0.0
  [53c48c17] FixedPointNumbers v0.8.4
  [de31a74c] FunctionalCollections v0.5.0
⌅ [cd3eb016] HTTP v0.9.17
  [9fb69e20] Hiccup v0.2.2
  [7073ff75] IJulia v1.23.3
  [83e8ac13] IniFile v0.5.1
  [82899510] IteratorInterfaceExtensions v1.0.0
  [692b3bcd] JLLWrappers v1.4.1
  [97c1335a] JSExpr v0.5.4
  [682c06a0] JSON v0.21.3
  [50d2b5c4] Lazy v0.15.1
  [1914dd2f] MacroTools v0.5.10
  [739be429] MbedTLS v1.1.7
  [ffc61752] Mustache v1.0.14
⌅ [a975b10e] Mux v0.7.6
  [0db19996] NBInclude v2.3.0
  [510215fc] Observables v0.5.4
  [bac558e1] OrderedCollections v1.4.1
  [69de0a69] Parsers v2.5.0
  [fa939f87] Pidfile v1.3.0
  [21216c6a] Preferences v1.3.0
  [189a3867] Reexport v1.2.2
  [ae029012] Requires v1.3.0
  [66db9d55] SnoopPrecompile v1.0.1
  [b85f4697] SoftGlobalScope v1.1.0
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.10.0
  [30578b45] URIParser v0.4.1
  [5c2747f8] URIs v1.4.0
  [81def892] VersionParsing v1.3.0
  [0f1e0344] WebIO v0.8.19 `~/Documents/WebIO.jl`
  [104b5d7c] WebSockets v1.5.9
  [cc8bc4a8] Widgets v0.6.6
  [c2297ded] ZMQ v1.2.2
  [8f1865be] ZeroMQ_jll v4.3.4+0
  [a9144af2] libsodium_jll v1.0.20+0
  [0dad84c5] ArgTools v1.1.1 `@stdlib/ArgTools`
  [56f22d72] Artifacts `@stdlib/Artifacts`
  [2a0f44e3] Base64 `@stdlib/Base64`
  [ade2ca70] Dates `@stdlib/Dates`
  [8ba89e20] Distributed `@stdlib/Distributed`
  [f43a241f] Downloads v1.6.0 `@stdlib/Downloads`
  [7b1f6079] FileWatching `@stdlib/FileWatching`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [b27032c2] LibCURL v0.6.3 `@stdlib/LibCURL`
  [76f85450] LibGit2 `@stdlib/LibGit2`
  [8f399da3] Libdl `@stdlib/Libdl`
  [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
  [56ddb016] Logging `@stdlib/Logging`
  [d6f4376e] Markdown `@stdlib/Markdown`
  [a63ad114] Mmap `@stdlib/Mmap`
  [ca575930] NetworkOptions v1.2.0 `@stdlib/NetworkOptions`
  [44cfe95a] Pkg v1.8.0 `@stdlib/Pkg`
  [de0858da] Printf `@stdlib/Printf`
  [3fa0cd96] REPL `@stdlib/REPL`
  [9a3f8284] Random `@stdlib/Random`
  [ea8e919c] SHA v0.7.0 `@stdlib/SHA`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [6462fe0b] Sockets `@stdlib/Sockets`
  [2f01184e] SparseArrays `@stdlib/SparseArrays`
  [10745b16] Statistics `@stdlib/Statistics`
  [fa267f1f] TOML v1.0.0 `@stdlib/TOML`
  [a4e569a6] Tar v1.10.0 `@stdlib/Tar`
  [8dfed614] Test `@stdlib/Test`
  [cf7118a7] UUIDs `@stdlib/UUIDs`
  [4ec0a83e] Unicode `@stdlib/Unicode`
  [e66e0078] CompilerSupportLibraries_jll v0.5.2+0 `@stdlib/CompilerSupportLibraries_jll`
  [deac9b47] LibCURL_jll v7.84.0+0 `@stdlib/LibCURL_jll`
  [29816b5a] LibSSH2_jll v1.10.2+0 `@stdlib/LibSSH2_jll`
  [c8ffd9c3] MbedTLS_jll v2.28.0+0 `@stdlib/MbedTLS_jll`
  [14a3606d] MozillaCACerts_jll v2022.2.1 `@stdlib/MozillaCACerts_jll`
  [4536629a] OpenBLAS_jll v0.3.20+0 `@stdlib/OpenBLAS_jll`
  [83775a58] Zlib_jll v1.2.12+3 `@stdlib/Zlib_jll`
  [8e850b90] libblastrampoline_jll v5.1.1+0 `@stdlib/libblastrampoline_jll`
  [8e850ede] nghttp2_jll v1.48.0+0 `@stdlib/nghttp2_jll`
  [3f19e933] p7zip_jll v17.4.0+0 `@stdlib/p7zip_jll`
        Info Packages marked with ⌅ have new versions available but cannot be upgraded.
Precompiling project...
  5 dependencies successfully precompiled in 8 seconds. 47 already precompiled.
     Testing Running tests...
┌ Info: Installing NPM dependencies...
└   cmd = `npm -C /Users/fons/Documents/WebIO.jl/packages install --scripts-prepend-node-path=auto --unsafe-perm`
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/webpack
npm WARN   dev webpack@"^5.74.0" from the root project
npm WARN   5 more (babel-loader, terser-webpack-plugin, @webio/webio, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer webpack@"^4.0.0" from [email protected]
npm WARN node_modules/uglifyjs-webpack-plugin
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/webpack
npm WARN   peer webpack@"^4.0.0" from [email protected]
npm WARN   node_modules/uglifyjs-webpack-plugin

added 46 packages, removed 168 packages, changed 30 packages, and audited 1109 packages in 9s

73 packages are looking for funding
  run `npm fund` for details

33 vulnerabilities (3 moderate, 30 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
┌ Info: Building packages...
└   cmd = `npm -C /Users/fons/Documents/WebIO.jl/packages run build-prod --scripts-prepend-node-path=auto --unsafe-perm --`

> build-prod
> lerna run build-prod

lerna notice cli v3.22.1
lerna info Executing command in 4 packages: "npm run build-prod"
lerna info run Ran npm script 'build-prod' in '@webio/webio' in 11.2s:

> @webio/[email protected] build-prod
> npm run build && webpack


> @webio/[email protected] build
> tsc -p . && webpack

assets by status 27.5 KiB [compared for emit]
  asset Scope.d.ts 4.42 KiB [compared for emit]
  asset DomNode.d.ts 4.07 KiB [compared for emit]
  asset imports.d.ts 3.61 KiB [compared for emit]
  asset Observable.d.ts 3.25 KiB [compared for emit]
  asset message.d.ts 3.21 KiB [compared for emit]
  asset Node.d.ts 2.46 KiB [compared for emit]
  asset IFrame.d.ts 1.42 KiB [compared for emit]
  asset events.d.ts 1.17 KiB [compared for emit]
  asset ObservableNode.d.ts 1.04 KiB [compared for emit]
  asset utils.d.ts 938 bytes [compared for emit]
  + 4 assets
assets by status 94.7 KiB [emitted]
  asset webio.bundle.js 88.9 KiB [emitted] [minimized] (name: webio) 2 related assets
  asset WebIO.d.ts 5.72 KiB [emitted]
runtime modules 221 bytes 1 module
modules by path ./*.ts 77.1 KiB
  ./index.ts 1.68 KiB [built] [code generated]
  ./WebIO.ts 17.6 KiB [built] [code generated]
  ./createNode.ts 2.31 KiB [built] [code generated]
  ./DomNode.ts 8.19 KiB [built] [code generated]
  + 11 modules
modules by path ../../node_modules/ 83.1 KiB
  modules by path ../../node_modules/uuid/ 2.62 KiB 3 modules
  modules by path ../../node_modules/debug/src/*.js 13.8 KiB
    ../../node_modules/debug/src/browser.js 5.91 KiB [built] [code generated]
    ../../node_modules/debug/src/common.js 7.94 KiB [built] [code generated]
  ../../node_modules/systemjs/dist/system.js 63.3 KiB [built] [code generated]
  ../../node_modules/ms/index.js 3.26 KiB [built] [code generated]
fs (ignored) 15 bytes [built] [code generated]
webpack 5.74.0 compiled successfully in 3357 ms
asset webio.bundle.js 88.9 KiB [compared for emit] [minimized] (name: webio) 2 related assets
asset WebIO.d.ts 5.72 KiB [compared for emit]
asset Scope.d.ts 4.42 KiB [compared for emit]
asset DomNode.d.ts 4.07 KiB [compared for emit]
asset imports.d.ts 3.61 KiB [compared for emit]
asset Observable.d.ts 3.25 KiB [compared for emit]
asset message.d.ts 3.21 KiB [compared for emit]
asset Node.d.ts 2.46 KiB [compared for emit]
asset IFrame.d.ts 1.42 KiB [compared for emit]
asset events.d.ts 1.17 KiB [compared for emit]
asset ObservableNode.d.ts 1.04 KiB [compared for emit]
asset utils.d.ts 938 bytes [compared for emit]
asset setInnerHTML.d.ts 625 bytes [compared for emit]
asset createNode.d.ts 512 bytes [compared for emit]
+ 2 assets
runtime modules 221 bytes 1 module
modules by path ./*.ts 77.1 KiB
  ./index.ts 1.68 KiB [built] [code generated]
  ./WebIO.ts 17.6 KiB [built] [code generated]
  ./createNode.ts 2.31 KiB [built] [code generated]
  ./DomNode.ts 8.19 KiB [built] [code generated]
  + 11 modules
modules by path ../../node_modules/ 83.1 KiB
  modules by path ../../node_modules/uuid/ 2.62 KiB 3 modules
  modules by path ../../node_modules/debug/src/*.js 13.8 KiB
    ../../node_modules/debug/src/browser.js 5.91 KiB [built] [code generated]
    ../../node_modules/debug/src/common.js 7.94 KiB [built] [code generated]
  ../../node_modules/systemjs/dist/system.js 63.3 KiB [built] [code generated]
  ../../node_modules/ms/index.js 3.26 KiB [built] [code generated]
fs (ignored) 15 bytes [built] [code generated]
webpack 5.74.0 compiled successfully in 3246 ms
lerna info run Ran npm script 'build-prod' in '@webio/blink-provider' in 10.5s:

> @webio/[email protected] build-prod
> webpack-cli

asset blink.bundle.js 237 KiB [emitted] [minimized] (name: blink) 1 related asset
runtime modules 1.25 KiB 6 modules
modules by path ../../node_modules/core-js/modules/*.js 193 KiB 273 modules
modules by path ../../webio/dist/*.js 77.1 KiB 15 modules
modules by path ../../node_modules/core-js/fn/ 1.28 KiB 11 modules
modules by path ../../node_modules/uuid/ 2.62 KiB
  ../../node_modules/uuid/v4.js 669 bytes [built] [code generated]
  + 2 modules
modules by path ../../node_modules/@babel/polyfill/ 582 bytes
  ../../node_modules/@babel/polyfill/noConflict.js 28 bytes [built] [code generated]
  ../../node_modules/@babel/polyfill/lib/noConflict.js 554 bytes [built] [code generated]
modules by path ../../node_modules/debug/src/*.js 13.8 KiB
  ../../node_modules/debug/src/browser.js 5.91 KiB [built] [code generated]
  ../../node_modules/debug/src/common.js 7.94 KiB [built] [code generated]
+ 7 modules
webpack 5.74.0 compiled successfully in 9674 ms
lerna info run Ran npm script 'build-prod' in '@webio/generic-http-provider' in 10.6s:

> @webio/[email protected] build-prod
> webpack-cli

asset generic-http.bundle.js 243 KiB [emitted] [minimized] (name: generic-http) 1 related asset
runtime modules 1.25 KiB 6 modules
modules by path ../../node_modules/core-js/modules/*.js 193 KiB 273 modules
modules by path ../../node_modules/core-js/library/ 6.86 KiB 18 modules
modules by path ../../webio/dist/*.js 77.1 KiB 15 modules
modules by path ../../node_modules/core-js/fn/ 1.28 KiB 11 modules
modules by path ../../node_modules/uuid/ 2.62 KiB
  ../../node_modules/uuid/v4.js 669 bytes [built] [code generated]
  + 2 modules
modules by path ../../node_modules/@babel/polyfill/lib/*.js 1.21 KiB
  ../../node_modules/@babel/polyfill/lib/index.js 690 bytes [built] [code generated]
  ../../node_modules/@babel/polyfill/lib/noConflict.js 554 bytes [built] [code generated]
modules by path ../../node_modules/debug/src/*.js 13.8 KiB
  ../../node_modules/debug/src/browser.js 5.91 KiB [built] [code generated]
  ../../node_modules/debug/src/common.js 7.94 KiB [built] [code generated]
+ 7 modules
webpack 5.74.0 compiled successfully in 9798 ms
lerna info run Ran npm script 'build-prod' in '@webio/mux-provider' in 10.8s:

> @webio/[email protected] build-prod
> webpack-cli

asset mux.bundle.js 250 KiB [emitted] [minimized] (name: mux) 1 related asset
runtime modules 1.25 KiB 6 modules
modules by path ../../node_modules/core-js/modules/*.js 193 KiB 273 modules
modules by path ../../node_modules/core-js/library/ 6.86 KiB 18 modules
modules by path ../../webio/dist/*.js 77.1 KiB 15 modules
modules by path ../../node_modules/core-js/fn/ 1.28 KiB 11 modules
modules by path ../../node_modules/uuid/ 2.62 KiB
  ../../node_modules/uuid/v4.js 669 bytes [built] [code generated]
  + 2 modules
modules by path ../../node_modules/@babel/polyfill/lib/*.js 1.21 KiB
  ../../node_modules/@babel/polyfill/lib/index.js 690 bytes [built] [code generated]
  ../../node_modules/@babel/polyfill/lib/noConflict.js 554 bytes [built] [code generated]
modules by path ../../node_modules/debug/src/*.js 13.8 KiB
  ../../node_modules/debug/src/browser.js 5.91 KiB [built] [code generated]
  ../../node_modules/debug/src/common.js 7.94 KiB [built] [code generated]
+ 7 modules
webpack 5.74.0 compiled successfully in 9950 ms
lerna success run Ran npm script 'build-prod' in 4 packages in 22.0s:
lerna success - @webio/blink-provider
lerna success - @webio/generic-http-provider
lerna success - @webio/mux-provider
lerna success - @webio/webio
[ Info: Copying /Users/fons/Documents/WebIO.jl/packages/webio/dist/webio.bundle.js to /Users/fons/Documents/WebIO.jl/deps/bundles/webio.bundle.js...
[ Info: Copying /Users/fons/Documents/WebIO.jl/packages/generic-http-provider/dist/generic-http.bundle.js to /Users/fons/Documents/WebIO.jl/deps/bundles/generic-http.bundle.js...
[ Info: Copying /Users/fons/Documents/WebIO.jl/packages/mux-provider/dist/mux.bundle.js to /Users/fons/Documents/WebIO.jl/deps/bundles/mux.bundle.js...
[ Info: Copying /Users/fons/Documents/WebIO.jl/packages/blink-provider/dist/blink.bundle.js to /Users/fons/Documents/WebIO.jl/deps/bundles/blink.bundle.js...
Test Summary:    | Time
Build JavaScript | None  32.0s
Test Summary: | Pass  Total  Time
node          |   12     12  1.2s
Test Summary:              | Pass  Total  Time
syntax for extending Nodes |    4      4  0.1s
Test Summary:      | Pass  Total  Time
plaintext printing |    5      5  0.1s
Test Summary: | Pass  Total  Time
@js_str       |    4      4  0.1s
Test Summary: | Pass  Total  Time
Issue 156     |    3      3  0.1s
Test Summary:                   | Pass  Total  Time
Constructing Nodes from Strings |    1      1  0.1s
Test Summary:       | Pass  Total  Time
Setting node fields |   11     11  0.2s
Test Summary: | Pass  Total  Time
HTTP provider |    5      5  4.3s
Test Summary: | Pass  Total  Time
Mux sanity    |    1      1  0.0s
ERROR: LoadError: IOError: connect: connection refused (ECONNREFUSED)
Stacktrace:
  [1] wait_connected(x::TCPSocket)
    @ Sockets /Applications/Julia-1.8 ARM.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Sockets/src/Sockets.jl:529
  [2] connect
    @ /Applications/Julia-1.8 ARM.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Sockets/src/Sockets.jl:564 [inlined]
  [3] connect(addr::IPv4, port::Int64)
    @ Sockets /Applications/Julia-1.8 ARM.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Sockets/src/Sockets.jl:550
  [4] try_connect(::IPv4, ::Vararg{Any}; interval::Float64, attempts::Int64)
    @ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:79
  [5] try_connect
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:76 [inlined]
  [6] init(; debug::Bool)
    @ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:93
  [7] #shell#11
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:149 [inlined]
  [8] shell
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:140 [inlined]
  [9] #Window#16
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/window.jl:89 [inlined]
 [10] Window
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/window.jl:89 [inlined]
 [11] open_window()
    @ Main ~/Documents/WebIO.jl/test/test-utils.jl:28
 [12] top-level scope
    @ ~/Documents/WebIO.jl/test/blink-tests.jl:32
 [13] include(fname::String)
    @ Base.MainInclude ./client.jl:476
 [14] top-level scope
    @ ~/Documents/WebIO.jl/test/runtests.jl:81
 [15] include(fname::String)
    @ Base.MainInclude ./client.jl:476
 [16] top-level scope
    @ none:6
in expression starting at /Users/fons/Documents/WebIO.jl/test/blink-tests.jl:32
in expression starting at /Users/fons/Documents/WebIO.jl/test/runtests.jl:81
ERROR: Package WebIO errored during testing


@fonsp fonsp closed this as completed Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants