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

Invocation errors should log URL #137

Open
maleadt opened this issue Nov 21, 2022 · 0 comments
Open

Invocation errors should log URL #137

maleadt opened this issue Nov 21, 2022 · 0 comments

Comments

@maleadt
Copy link
Member

maleadt commented Nov 21, 2022

Otherwise it's hard to know where this came from:

Nov 21 07:27:12 amdci8 bash[14662]: [ Info: [Node 1 | 2022-11-21T07:27:12.709]: considering job submission with phrase RegexMatch("@nanosoldier `runtests(ALL, vs=:master)`")
Nov 21 07:27:17 amdci8 bash[14662]: ┌ Error: [Node 1 | 2022-11-21T07:27:14.363]: Encountered error: failed to constuct Nanosoldier.PkgEvalJob with a supposedly valid submission: MethodError(iterate, (:(:master),), 0x0000000000007ee1)
Nov 21 07:27:17 amdci8 bash[14662]: │   exception =
Nov 21 07:27:17 amdci8 bash[14662]: │    MethodError: no method matching iterate(::QuoteNode)
Nov 21 07:27:17 amdci8 bash[14662]: │    Closest candidates are:
Nov 21 07:27:17 amdci8 bash[14662]: │      iterate(!Matched::Union{LinRange, StepRangeLen}) at range.jl:872
Nov 21 07:27:17 amdci8 bash[14662]: │      iterate(!Matched::Union{LinRange, StepRangeLen}, !Matched::Integer) at range.jl:872
Nov 21 07:27:17 amdci8 bash[14662]: │      iterate(!Matched::T) where T<:Union{Base.KeySet{<:Any, <:Dict}, Base.ValueIterator{<:Dict}} at dict.jl:712
Nov 21 07:27:17 amdci8 bash[14662]: │      ...
Nov 21 07:27:17 amdci8 bash[14662]: │    Stacktrace:
Nov 21 07:27:17 amdci8 bash[14662]: │      [1] in(x::Char, itr::QuoteNode)
Nov 21 07:27:17 amdci8 bash[14662]: │        @ Base ./operators.jl:1242
Nov 21 07:27:17 amdci8 bash[14662]: │      [2] Nanosoldier.PkgEvalJob(submission::Nanosoldier.JobSubmission)
Nov 21 07:27:17 amdci8 bash[14662]: │        @ Nanosoldier /storage/pkgeval/Nanosoldier/src/jobs/PkgEvalJob.jl:95
Nov 21 07:27:17 amdci8 bash[14662]: │      [3] (::Nanosoldier.var"#63#64"{Nanosoldier.Config, Vector{Nanosoldier.AbstractJob}})(event::GitHub.WebhookEvent, phrase::RegexMatch)
Nov 21 07:27:17 amdci8 bash[14662]: │        @ Nanosoldier /storage/pkgeval/Nanosoldier/src/server.jl:26
Nov 21 07:27:17 amdci8 bash[14662]: │      [4] handle_comment(handle::Nanosoldier.var"#63#64"{Nanosoldier.Config, Vector{Nanosoldier.AbstractJob}}, event::GitHub.WebhookEvent, auth::GitHub.OAuth2, trigger::Regex, check_collab::Bool, use_access_token::Bool)
Nov 21 07:27:17 amdci8 bash[14662]: │        @ GitHub /storage/pkgeval/depot/packages/GitHub/O5XRk/src/activity/events.jl:200
Nov 21 07:27:17 amdci8 bash[14662]: │      [5] #249
Nov 21 07:27:17 amdci8 bash[14662]: │        @ /storage/pkgeval/depot/packages/GitHub/O5XRk/src/activity/events.jl:156 [inlined]
Nov 21 07:27:17 amdci8 bash[14662]: │      [6] handle_event_request(request::HTTP.Messages.Request, handle::GitHub.var"#249#251"{GitHub.OAuth2, Bool, Bool, Nanosoldier.var"#63#64"{Nanosoldier.Config, Vector{Nanosoldier.AbstractJob}}, Regex}; auth::GitHub.OAuth2, secret::String, events::Vector{String}, repos::Vector{String}, forwards::Nothing)
Nov 21 07:27:17 amdci8 bash[14662]: │        @ GitHub /storage/pkgeval/depot/packages/GitHub/O5XRk/src/activity/events.jl:112
Nov 21 07:27:17 amdci8 bash[14662]: │      [7] (::GitHub.var"#241#243"{GitHub.OAuth2, String, Vector{String}, GitHub.var"#249#251"{GitHub.OAuth2, Bool, Bool, Nanosoldier.var"#63#64"{Nanosoldier.Config, Vector{Nanosoldier.AbstractJob}}, Regex}})(request::HTTP.Messages.Request)
Nov 21 07:27:17 amdci8 bash[14662]: │        @ GitHub /storage/pkgeval/depot/packages/GitHub/O5XRk/src/activity/events.jl:79
Nov 21 07:27:17 amdci8 bash[14662]: │      [8] handle
Nov 21 07:27:17 amdci8 bash[14662]: │        @ /storage/pkgeval/depot/packages/HTTP/aTjcj/src/Handlers.jl:254 [inlined]
Nov 21 07:27:17 amdci8 bash[14662]: │      [9] handle(::HTTP.Handlers.RequestHandlerFunction{GitHub.var"#241#243"{GitHub.OAuth2, String, Vector{String}, GitHub.var"#249#251"{GitHub.OAuth2, Bool, Bool, Nanosoldier.var"#63#64"{Nanosoldier.Config, Vector{Nanosoldier.AbstractJob}}, Regex}}}, ::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{TCPSocket}})
Nov 21 07:27:17 amdci8 bash[14662]: │        @ HTTP.Handlers /storage/pkgeval/depot/packages/HTTP/aTjcj/src/Handlers.jl:277
Nov 21 07:27:17 amdci8 bash[14662]: │     [10] #4
Nov 21 07:27:17 amdci8 bash[14662]: │        @ /storage/pkgeval/depot/packages/HTTP/aTjcj/src/Handlers.jl:351 [inlined]
Nov 21 07:27:17 amdci8 bash[14662]: │     [11] macro expansion
Nov 21 07:27:17 amdci8 bash[14662]: │        @ /storage/pkgeval/depot/packages/HTTP/aTjcj/src/Servers.jl:415 [inlined]
Nov 21 07:27:17 amdci8 bash[14662]: │     [12] (::HTTP.Servers.var"#13#14"{HTTP.Handlers.var"#4#5"{HTTP.Handlers.RequestHandlerFunction{GitHub.var"#241#243"{GitHub.OAuth2, String, Vector{String}, GitHub.var"#249#251"{GitHub.OAuth2, Bool, Bool, Nanosoldier.var"#63#64"{Nanosoldier.Config, Vector{Nanosoldier.AbstractJob}}, Regex}}}}, HTTP.ConnectionPool.Transaction{TCPSocket}, HTTP.Servers.Server{Nothing, Sockets.TCPServer}, HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{TCPSocket}}})()
Nov 21 07:27:17 amdci8 bash[14662]: │        @ HTTP.Servers ./task.jl:484
Nov 21 07:27:17 amdci8 bash[14662]: └ @ Nanosoldier /storage/pkgeval/Nanosoldier/src/config.jl:48
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

1 participant