Skip to content

Fixes #38241 - Extend userdata API by MAC address endpoint #17

Fixes #38241 - Extend userdata API by MAC address endpoint

Fixes #38241 - Extend userdata API by MAC address endpoint #17

Triggered via pull request February 25, 2025 12:40
Status Failure
Total duration 2m 9s
Artifacts 2

smart-proxy.yml

on: pull_request
Setup matrix
2s
Setup matrix
Matrix: tests
Test suite
1s
Test suite
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Error: test/templates/templates_userdata_api_test.rb#L31
ArgumentError: wrong number of arguments (given 2, expected 1) /home/runner/work/smart-proxy/smart-proxy/modules/templates/templates_userdata_api.rb:12:in `block in <class:TemplatesUserdataApi>' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1696:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1696:in `block in compile!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1030:in `block (3 levels) in route!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1049:in `route_eval' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1030:in `block (2 levels) in route!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1078:in `block in process_route' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1076:in `catch' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1076:in `process_route' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1028:in `block in route!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1025:in `each' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1025:in `route!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1147:in `block in dispatch!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `block in invoke' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `catch' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `invoke' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1142:in `dispatch!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:956:in `block in call!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `block in invoke' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `catch' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `invoke' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:956:in `call!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:945:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.4/lib/rack/protection/xss_header.rb:18:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.4/lib/rack/protection/path_traversal.rb:16:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.4/lib/rack/protection/json_csrf.rb:26:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.4/lib/rack/protection/base.rb:50:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.4/lib/rack/protection/base.rb:50:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.4/lib/rack/protection/frame_options.rb:31:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/rack-2.2.11/lib/rack/null_logger.rb:11:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/2.7.0/gems/rack-2.2.11/lib/rack/head.rb:12:in `call' /home
Test - Ruby 2.7
Process completed with exit code 1.
Error: test/templates/templates_userdata_api_test.rb#L31
ArgumentError: wrong number of arguments (given 2, expected 1) /home/runner/work/smart-proxy/smart-proxy/modules/templates/templates_userdata_api.rb:12:in `block in <class:TemplatesUserdataApi>' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1696:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1696:in `block in compile!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1030:in `block (3 levels) in route!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1049:in `route_eval' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1030:in `block (2 levels) in route!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1078:in `block in process_route' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1076:in `catch' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1076:in `process_route' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1028:in `block in route!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1025:in `each' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1025:in `route!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1147:in `block in dispatch!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `block in invoke' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `catch' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `invoke' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1142:in `dispatch!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:956:in `block in call!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `block in invoke' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `catch' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `invoke' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:956:in `call!' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:945:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.2.4/lib/rack/protection/xss_header.rb:18:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.2.4/lib/rack/protection/path_traversal.rb:16:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.2.4/lib/rack/protection/json_csrf.rb:26:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.2.4/lib/rack/protection/base.rb:50:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.2.4/lib/rack/protection/base.rb:50:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/rack-protection-2.2.4/lib/rack/protection/frame_options.rb:31:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/rack-2.2.11/lib/rack/null_logger.rb:11:in `call' /home/runner/work/smart-proxy/smart-proxy/vendor/bundle/ruby/3.0.0/gems/rack-2.2.11/lib/rack/head.rb:12:in `call' /home
Test - Ruby 3.0
Process completed with exit code 1.
Test suite
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-2.7.lock
1.47 KB
Gemfile-ruby-3.0.lock
1.5 KB