oxinabox / DataDeps.jl

reproducible data setup for reproducible science
Other
150 stars 43 forks source link

Error during test #174

Open francispoulin opened 2 months ago

francispoulin commented 2 months ago

I am testing out a new server that we have set up and for reasons I don't understand I get an error when when running examples.jl. I copy the error below. Might there be a problem with our set up?

julia> include("examples.jl")
This program has requested access to the data dependency Pi.
which is not currently installed. It can be installed automatically, and you will not see this message again.

There is no real reason to download Pi, unlike say lists of prime numbers, it is always faster to compute than it is to download. No matter how many digits you want.

Do you want to download the dataset from https://www.angio.net/pi/digits/10000.txt to "/u/fpoulin/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/Pi"?
[y/n]
y
┌ Info: Downloading
│   source = "https://www.angio.net/pi/digits/10000.txt"
│   dest = "/u/fpoulin/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/Pi/10000.txt"
│   progress = NaN
│   time_taken = "0.04 s"
│   time_remaining = "NaN s"
│   average_speed = "232.538 KiB/s"
│   downloaded = "9.767 KiB"
│   remaining = "∞ B"
└   total = "∞ B"
┌ Warning: Checksum not provided, add to the Datadep Registration the following hash line
│   hash = "1f08958df70c30bbf3f7205ad5f9b2b9430e3378b4e4e6300063bd9fbd83d6e3"
└ @ DataDeps ~/software/DataDeps.jl/src/verification.jl:44
Test Summary: | Pass  Total   Time
Pi            |    2      2  10.5s
This program has requested access to the data dependency TrumpTweets.
which is not currently installed. It can be installed automatically, and you will not see this message again.

Tweets from 538's article:
[The World’s Favorite Donald Trump Tweets](https://fivethirtyeight.com/features/the-worlds-favorite-donald-trump-tweets/)

Includes a filtered view that is the tweats filtered to remove any tweets that @mention anyone,
so no conversations etc, just announcements of opinions/thoughts.

Used under Creative Commons Attribution 4.0 International License.

Do you want to download the dataset from https://rawcdn.githack.com/fivethirtyeight/data/f8c2c4beab87e21fe05d5559d0db2a1051c28abe/trump-twitter/realDonaldTrump_poll_tweets.csv to "/u/fpoulin/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/TrumpTweets"?
[y/n]
y
┌ Info: Downloading
│   source = "https://rawcdn.githack.com/fivethirtyeight/data/f8c2c4beab87e21fe05d5559d0db2a1051c28abe/trump-twitter/realDonaldTrump_poll_tweets.csv"
│   dest = "/u/fpoulin/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/TrumpTweets/realDonaldTrump_poll_tweets.csv"
│   progress = NaN
│   time_taken = "0.02 s"
│   time_remaining = "NaN s"
│   average_speed = "3.314 MiB/s"
│   downloaded = "71.274 KiB"
│   remaining = "∞ B"
└   total = "∞ B"
nonmentions_realDonaldTrump_poll_tweets.csvTest Summary: | Pass  Total  Time
TrumpTweets   |    2      2  2.4s
This program has requested access to the data dependency MNIST.
which is not currently installed. It can be installed automatically, and you will not see this message again.

Dataset: THE MNIST DATABASE of handwritten digits
Authors: Yann LeCun, Corinna Cortes, Christopher J.C. Burges
Website: http://yann.lecun.com/exdb/mnist/
[LeCun et al., 1998a]
    Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner.
    "Gradient-based learning applied to document recognition."
    Proceedings of the IEEE, 86(11):2278-2324, November 1998
The files are available for download at the official
website linked above. We can download these files for you
if you wish, but that doesn't free you from the burden of
using the data responsibly and respect copyright. The
authors of MNIST aren't really explicit about any terms
of use, so please read the website to make sure you want
to download the dataset.

Do you want to download the dataset from ["http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz", "http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz", "http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz", "http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz"] to "/u/fpoulin/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/MNIST"?
[y/n]
y
┌ Info: Downloading
│   source = "http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz"
│   dest = "/u/fpoulin/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/MNIST/t10k-labels-idx1-ubyte.gz"
│   progress = 1.0
│   time_taken = "0.0 s"
│   time_remaining = "0.0 s"
│   average_speed = "123.372 KiB/s"
│   downloaded = "379 bytes"
│   remaining = "0 bytes"
└   total = "379 bytes"
┌ Info: Downloading
│   source = "http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz"
│   dest = "/u/fpoulin/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/MNIST/train-labels-idx1-ubyte.gz"
│   progress = 1.0
│   time_taken = "0.0 s"
│   time_remaining = "0.0 s"
│   average_speed = "∞ B/s"
│   downloaded = "379 bytes"
│   remaining = "0 bytes"
└   total = "379 bytes"
┌ Info: Downloading
│   source = "http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz"
│   dest = "/u/fpoulin/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/MNIST/t10k-images-idx3-ubyte.gz"
│   progress = 1.0
│   time_taken = "0.0 s"
│   time_remaining = "0.0 s"
│   average_speed = "∞ B/s"
│   downloaded = "379 bytes"
│   remaining = "0 bytes"
└   total = "379 bytes"
┌ Info: Downloading
│   source = "http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz"
│   dest = "/u/fpoulin/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/MNIST/train-images-idx3-ubyte.gz"
│   progress = 1.0
│   time_taken = "0.0 s"
│   time_remaining = "0.0 s"
│   average_speed = "∞ B/s"
│   downloaded = "379 bytes"
│   remaining = "0 bytes"
└   total = "379 bytes"
MNIST: Error During Test at /u/fpoulin/software/DataDeps.jl/test/examples.jl:61
  Got exception outside of a @test
  HTTP.Exceptions.StatusError(503, "GET", "/exdb/mnist/train-images-idx3-ubyte.gz", HTTP.Messages.Response:
  """
  HTTP/1.1 503 Service Unavailable
  Date: Wed, 24 Apr 2024 14:48:08 GMT
  Server: Apache/2.4.18 (Ubuntu)
  Content-Length: 379
  Connection: close
  Content-Type: text/html; charset=iso-8859-1

  """)
  Stacktrace:
    [1] (::HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::HTTP.var"#11#17"{Float32, String, String, Vector{String}, HTTP.var"#format_bytes_per_second#16"{HTTP.var"#format_bytes#14"}, HTTP.var"#format_seconds#15", HTTP.var"#format_bytes#14", HTTP.var"#format_progress#13"}, decompress::Bool, verbose::Int64})
      @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/PnoHb/src/clientlayers/ConnectionRequest.jl:141
    [2] connections
      @ ~/.julia/packages/HTTP/PnoHb/src/clientlayers/ConnectionRequest.jl:58 [inlined]
    [3] (::Base.var"#96#98"{Base.var"#96#97#99"{ExponentialBackOff, HTTP.RetryRequest.var"#2#5"{Int64, typeof(HTTP.RetryRequest.FALSE), HTTP.Messages.Request, Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::HTTP.var"#11#17"{Float32, String, String, Vector{String}, HTTP.var"#format_bytes_per_second#16"{HTTP.var"#format_bytes#14"}, HTTP.var"#format_seconds#15", HTTP.var"#format_bytes#14", HTTP.var"#format_progress#13"}, decompress::Bool, verbose::Int64})
      @ Base ./error.jl:296
    [4] (::HTTP.RetryRequest.var"#manageretries#3"{HTTP.RetryRequest.var"#manageretries#1#4"{HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::HTTP.var"#11#17"{Float32, String, String, Vector{String}, HTTP.var"#format_bytes_per_second#16"{HTTP.var"#format_bytes#14"}, HTTP.var"#format_seconds#15", HTTP.var"#format_bytes#14", HTTP.var"#format_progress#13"}, decompress::Bool, verbose::Int64})
      @ HTTP.RetryRequest ~/.julia/packages/HTTP/PnoHb/src/clientlayers/RetryRequest.jl:75
    [5] manageretries
      @ ~/.julia/packages/HTTP/PnoHb/src/clientlayers/RetryRequest.jl:30 [inlined]
    [6] (::HTTP.CookieRequest.var"#managecookies#4"{HTTP.CookieRequest.var"#managecookies#1#5"{HTTP.RetryRequest.var"#manageretries#3"{HTTP.RetryRequest.var"#manageretries#1#4"{HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::HTTP.var"#11#17"{Float32, String, String, Vector{String}, HTTP.var"#format_bytes_per_second#16"{HTTP.var"#format_bytes#14"}, HTTP.var"#format_seconds#15", HTTP.var"#format_bytes#14", HTTP.var"#format_progress#13"}, decompress::Bool, verbose::Int64})
      @ HTTP.CookieRequest ~/.julia/packages/HTTP/PnoHb/src/clientlayers/CookieRequest.jl:42
    [7] (::HTTP.HeadersRequest.var"#defaultheaders#2"{HTTP.HeadersRequest.var"#defaultheaders#1#3"{HTTP.CookieRequest.var"#managecookies#4"{HTTP.CookieRequest.var"#managecookies#1#5"{HTTP.RetryRequest.var"#manageretries#3"{HTTP.RetryRequest.var"#manageretries#1#4"{HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Function, decompress::Bool, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64})
      @ HTTP.HeadersRequest ~/.julia/packages/HTTP/PnoHb/src/clientlayers/HeadersRequest.jl:71
    [8] defaultheaders
      @ ~/.julia/packages/HTTP/PnoHb/src/clientlayers/HeadersRequest.jl:14 [inlined]
    [9] (::HTTP.RedirectRequest.var"#redirects#3"{HTTP.RedirectRequest.var"#redirects#1#4"{HTTP.HeadersRequest.var"#defaultheaders#2"{HTTP.HeadersRequest.var"#defaultheaders#1#3"{HTTP.CookieRequest.var"#managecookies#4"{HTTP.CookieRequest.var"#managecookies#1#5"{HTTP.RetryRequest.var"#manageretries#3"{HTTP.RetryRequest.var"#manageretries#1#4"{HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64, iofunction::HTTP.var"#11#17"{Float32, String, String, Vector{String}, HTTP.var"#format_bytes_per_second#16"{HTTP.var"#format_bytes#14"}, HTTP.var"#format_seconds#15", HTTP.var"#format_bytes#14", HTTP.var"#format_progress#13"}, decompress::Bool})
      @ HTTP.RedirectRequest ~/.julia/packages/HTTP/PnoHb/src/clientlayers/RedirectRequest.jl:25
   [10] redirects
      @ ~/.julia/packages/HTTP/PnoHb/src/clientlayers/RedirectRequest.jl:14 [inlined]
   [11] (::HTTP.MessageRequest.var"#makerequest#3"{HTTP.MessageRequest.var"#makerequest#1#4"{HTTP.RedirectRequest.var"#redirects#3"{HTTP.RedirectRequest.var"#redirects#1#4"{HTTP.HeadersRequest.var"#defaultheaders#2"{HTTP.HeadersRequest.var"#defaultheaders#1#3"{HTTP.CookieRequest.var"#managecookies#4"{HTTP.CookieRequest.var"#managecookies#1#5"{HTTP.RetryRequest.var"#manageretries#3"{HTTP.RetryRequest.var"#manageretries#1#4"{HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Nothing; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{iofunction::HTTP.var"#11#17"{Float32, String, String, Vector{String}, HTTP.var"#format_bytes_per_second#16"{HTTP.var"#format_bytes#14"}, HTTP.var"#format_seconds#15", HTTP.var"#format_bytes#14", HTTP.var"#format_progress#13"}, decompress::Bool})
      @ HTTP.MessageRequest ~/.julia/packages/HTTP/PnoHb/src/clientlayers/MessageRequest.jl:35
   [12] makerequest
      @ ~/.julia/packages/HTTP/PnoHb/src/clientlayers/MessageRequest.jl:24 [inlined]
   [13] request(stack::HTTP.MessageRequest.var"#makerequest#3"{HTTP.MessageRequest.var"#makerequest#1#4"{HTTP.RedirectRequest.var"#redirects#3"{HTTP.RedirectRequest.var"#redirects#1#4"{HTTP.HeadersRequest.var"#defaultheaders#2"{HTTP.HeadersRequest.var"#defaultheaders#1#3"{HTTP.CookieRequest.var"#managecookies#4"{HTTP.CookieRequest.var"#managecookies#1#5"{HTTP.RetryRequest.var"#manageretries#3"{HTTP.RetryRequest.var"#manageretries#1#4"{HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}}, method::String, url::String, h::Vector{Pair{SubString{String}, SubString{String}}}, b::Nothing, q::Nothing; headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Nothing, query::Nothing, kw::@Kwargs{iofunction::HTTP.var"#11#17"{Float32, String, String, Vector{String}, HTTP.var"#format_bytes_per_second#16"{HTTP.var"#format_bytes#14"}, HTTP.var"#format_seconds#15", HTTP.var"#format_bytes#14", HTTP.var"#format_progress#13"}, decompress::Bool})
      @ HTTP ~/.julia/packages/HTTP/PnoHb/src/HTTP.jl:457
   [14] #request#20
      @ ~/.julia/packages/HTTP/PnoHb/src/HTTP.jl:315 [inlined]
   [15] request
      @ ~/.julia/packages/HTTP/PnoHb/src/HTTP.jl:313 [inlined]
   [16] open
      @ ~/.julia/packages/HTTP/PnoHb/src/HTTP.jl:579 [inlined]
   [17] download(url::String, local_path::String, headers::Vector{Pair{SubString{String}, SubString{String}}}; update_period::Float32, kw::@Kwargs{decompress::Bool})
      @ HTTP ~/.julia/packages/HTTP/PnoHb/src/download.jl:106
   [18] download (repeats 2 times)
      @ ~/.julia/packages/HTTP/PnoHb/src/download.jl:96 [inlined]
   [19] #fetch_http#26
      @ ~/software/DataDeps.jl/src/fetch_helpers.jl:80 [inlined]
   [20] fetch_http(remotepath::String, localdir::String)
      @ DataDeps ~/software/DataDeps.jl/src/fetch_helpers.jl:78
   [21] fetch_default(remotepath::String, localdir::String)
      @ DataDeps ~/software/DataDeps.jl/src/fetch_helpers.jl:33
   [22] run_fetch
      @ ~/software/DataDeps.jl/src/resolution_automatic.jl:99 [inlined]
   [23] #12
      @ ~/software/DataDeps.jl/src/resolution_automatic.jl:104 [inlined]
   [24] (::Base.var"#1023#1028"{DataDeps.var"#12#13"{typeof(DataDeps.fetch_default), String}})(r::Base.RefValue{Any}, args::Tuple{String})
      @ Base ./asyncmap.jl:94
   [25] (::Base.var"#1039#1040"{Base.var"#1023#1028"{DataDeps.var"#12#13"{typeof(DataDeps.fetch_default), String}}, Channel{Any}, Nothing})()
      @ Base ./asyncmap.jl:228
  Stacktrace:
    [1] (::Base.var"#1033#1035")(x::Task)
      @ Base ./asyncmap.jl:171
    [2] foreach(f::Base.var"#1033#1035", itr::Vector{Any})
      @ Base ./abstractarray.jl:3097
    [3] maptwice(wrapped_f::Function, chnl::Channel{Any}, worker_tasks::Vector{Any}, c::Vector{String})
      @ Base ./asyncmap.jl:171
    [4] wrap_n_exec_twice
      @ ./asyncmap.jl:147 [inlined]
    [5] async_usemap(f::DataDeps.var"#12#13"{typeof(DataDeps.fetch_default), String}, c::Vector{String}; ntasks::Int64, batch_size::Nothing)
      @ Base ./asyncmap.jl:97
    [6] #asyncmap#1017
      @ ./asyncmap.jl:75 [inlined]
    [7] asyncmap
      @ ./asyncmap.jl:74 [inlined]
    [8] run_fetch(fetch_method::Function, remotepaths::Vector{String}, localdir::String)
      @ DataDeps ~/software/DataDeps.jl/src/resolution_automatic.jl:104
    [9] download(datadep::DataDep, localdir::String; remotepath::Vector{String}, i_accept_the_terms_of_use::Nothing, skip_checksum::Bool)
      @ DataDeps ~/software/DataDeps.jl/src/resolution_automatic.jl:78
   [10] download(datadep::DataDep, localdir::String)
      @ DataDeps ~/software/DataDeps.jl/src/resolution_automatic.jl:63
   [11] handle_missing
      @ ~/software/DataDeps.jl/src/resolution_automatic.jl:10 [inlined]
   [12] _resolve
      @ ~/software/DataDeps.jl/src/resolution.jl:83 [inlined]
   [13] resolve(datadep::DataDep, inner_filepath::String, calling_filepath::String)
      @ DataDeps ~/software/DataDeps.jl/src/resolution.jl:29
   [14] resolve(datadep_name::String, inner_filepath::String, calling_filepath::String)
      @ DataDeps ~/software/DataDeps.jl/src/resolution.jl:54
   [15] resolve(namepath::String, calling_filepath::String)
      @ DataDeps ~/software/DataDeps.jl/src/resolution.jl:73
   [16] macro expansion
      @ ~/software/DataDeps.jl/test/examples.jl:108 [inlined]
   [17] macro expansion
      @ ~/software/julia-1.10.2/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
   [18] top-level scope
      @ ~/software/DataDeps.jl/test/examples.jl:63
   [19] include(fname::String)
      @ Base.MainInclude ./client.jl:489
   [20] top-level scope
      @ REPL[5]:1
   [21] eval
      @ ./boot.jl:385 [inlined]
   [22] eval_user_input(ast::Any, backend::REPL.REPLBackend, mod::Module)
      @ REPL ~/software/julia-1.10.2/share/julia/stdlib/v1.10/REPL/src/REPL.jl:150
   [23] repl_backend_loop(backend::REPL.REPLBackend, get_module::Function)
      @ REPL ~/software/julia-1.10.2/share/julia/stdlib/v1.10/REPL/src/REPL.jl:246
   [24] start_repl_backend(backend::REPL.REPLBackend, consumer::Any; get_module::Function)
      @ REPL ~/software/julia-1.10.2/share/julia/stdlib/v1.10/REPL/src/REPL.jl:231
   [25] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool, backend::Any)
      @ REPL ~/software/julia-1.10.2/share/julia/stdlib/v1.10/REPL/src/REPL.jl:389
   [26] run_repl(repl::REPL.AbstractREPL, consumer::Any)
      @ REPL ~/software/julia-1.10.2/share/julia/stdlib/v1.10/REPL/src/REPL.jl:375
   [27] (::Base.var"#1013#1015"{Bool, Bool, Bool})(REPL::Module)
      @ Base ./client.jl:432
   [28] #invokelatest#2
      @ ./essentials.jl:892 [inlined]
   [29] invokelatest
      @ ./essentials.jl:889 [inlined]
   [30] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
      @ Base ./client.jl:416
   [31] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:333
   [32] _start()
      @ Base ./client.jl:552
Test Summary: | Error  Total  Time
MNIST         |     1      1  4.1s
ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /u/fpoulin/software/DataDeps.jl/test/examples.jl:61
francispoulin commented 2 months ago

In case it helps, here is what I get when I try and run all of the tests.

Test Summary:                             | Pass  Error  Total  Time
DataDeps.jl                               |   35      4     39  7.2s
  tests                                   |   17      2     19  2.0s
    util                                  |    5             5  0.2s
    locations                             |    3             3  0.5s
    main                                  |           1      1  0.3s
    preupload                             |           1      1  0.2s
    fetch_helpers                         |    9             9  0.8s
  examples                                |   16      2     18  5.2s
    examples.jl                           |   16      2     18  5.2s
      download and use                    |    8      1      9  4.8s
        Pi                                |    2             2  0.0s
        TrumpTweets                       |    2             2  0.0s
        MNIST                             |           1      1  0.3s
        UCI Banking                       |    2             2  2.1s
        UCI Adult, Hierarchical checksums |    1             1  1.9s
        gzipped source code               |    1             1  0.5s
      use already downloaded              |    8      1      9  0.3s
        Pi                                |    2             2  0.0s
        TrumpTweets                       |    2             2  0.0s
        MNIST                             |           1      1  0.2s
        UCI Banking                       |    2             2  0.0s
        UCI Adult, Hierarchical checksums |    1             1  0.0s
        gzipped source code               |    1             1  0.0s
  examples                                |    2             2  0.1s
ERROR: LoadError: Some tests did not pass: 35 passed, 0 failed, 4 errored, 0 broken.
oxinabox commented 2 months ago

HTTP 503 error means the server was unavailable, likely that it was down for maintainance. Try again now and see if it still occurs?

francispoulin commented 2 months ago

Thanks @oxinabox for the advice.

I tried it again now and the problem seems to persist. I guess I should try again later today or tomorrow?

To be clear, I don't really need this example to work but I need to use DataDeps.jl in another library and it has a similar problem on one server but not another. I thought if I could understand what's going on with this example, it might help me to fix my other problem.