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

[production][trigger_workflow#create] Failed to open TCP connection to gitlab.suse.de:443 (getaddrinfo: Name or service not known) #15677

Open
hennevogel opened this issue Feb 22, 2024 · 1 comment
Labels
Bug Frontend Things related to the OBS RoR app

Comments

@hennevogel
Copy link
Member

See this exception on Errbit

Failed to open TCP connection to gitlab.suse.de:443 (getaddrinfo: Name or service not known)

Summary

URL

https://build.opensuse.org/trigger/workflow?id=5230"

Where

trigger_workflow#create

Occured

Feb 21 10:41pm

Similar

0

Params

{
  "action" => "create",
  "after" => "16b0c2ec1bf1f7132af8123ef438486d1d78a492",
  "before" => "f98ed2b0da2501cad8c1933b99204b10c465e914",
  "checkout_sha" => "16b0c2ec1bf1f7132af8123ef438486d1d78a492",
  "commits" => [{"id"=>"16b0c2ec1bf1f7132af8123ef438486d1d78a492", "message"=>"Update parsing new netdev format\n", "title"=>"Update parsing new netdev format", "timestamp"=>"2024-02-21T15:40:51-07:00", "url"=>"https://gitlab.suse.de/kallan/qcmdln/-/commit/16b0c2ec1bf1f7132af8123ef438486d1d78a492", "author"=>{"name"=>"Kirk Allan", "email"=>"kallan@suse.com"}, "added"=>[], "modified"=>["qcmdln.c", "qcmdln.rs"], "removed"=>[]}],
  "controller" => "trigger_workflow",
  "event_name" => "push",
  "id" => "5230",
  "message" => nil,
  "object_kind" => "push",
  "project" => {
    "avatar_url" => nil,
    "ci_config_path" => nil,
    "default_branch" => "master",
    "description" => "",
    "git_http_url" => "https://gitlab.suse.de/kallan/qcmdln.git",
    "git_ssh_url" => "gitlab@gitlab.suse.de:kallan/qcmdln.git",
    "homepage" => "https://gitlab.suse.de/kallan/qcmdln",
    "http_url" => "https://gitlab.suse.de/kallan/qcmdln.git",
    "id" => 2281,
    "name" => "qcmdln",
    "namespace" => "kallan",
    "path_with_namespace" => "kallan/qcmdln",
    "ssh_url" => "gitlab@gitlab.suse.de:kallan/qcmdln.git",
    "url" => "gitlab@gitlab.suse.de:kallan/qcmdln.git",
    "visibility_level" => 10,
    "web_url" => "https://gitlab.suse.de/kallan/qcmdln"
  },
  "project_id" => 2281,
  "push_options" => {},
  "ref" => "refs/heads/master",
  "ref_protected" => true,
  "repository" => {
    "description" => "",
    "git_http_url" => "https://gitlab.suse.de/kallan/qcmdln.git",
    "git_ssh_url" => "gitlab@gitlab.suse.de:kallan/qcmdln.git",
    "homepage" => "https://gitlab.suse.de/kallan/qcmdln",
    "name" => "qcmdln",
    "url" => "gitlab@gitlab.suse.de:kallan/qcmdln.git",
    "visibility_level" => 10
  },
  "total_commits_count" => 1,
  "user_avatar" => nil,
  "user_email" => "",
  "user_id" => 133,
  "user_name" => "kallan",
  "user_username" => "kallan"
}

Session

{}

Backtrace

1603:  /GEM_ROOT/gems/net-http-0.4.1/lib/net/http.rb -> **initialize**
1603:  /GEM_ROOT/gems/net-http-0.4.1/lib/net/http.rb -> **open**
1603:  /GEM_ROOT/gems/net-http-0.4.1/lib/net/http.rb -> **block in connect**
186:  /GEM_ROOT/gems/timeout-0.4.1/lib/timeout.rb -> **block in timeout**
193:  /GEM_ROOT/gems/timeout-0.4.1/lib/timeout.rb -> **timeout**
1601:  /GEM_ROOT/gems/net-http-0.4.1/lib/net/http.rb -> **connect**
1580:  /GEM_ROOT/gems/net-http-0.4.1/lib/net/http.rb -> **do_start**
1569:  /GEM_ROOT/gems/net-http-0.4.1/lib/net/http.rb -> **start**
2297:  /GEM_ROOT/gems/net-http-0.4.1/lib/net/http.rb -> **request**
156:  /GEM_ROOT/gems/httparty-0.21.0/lib/httparty/request.rb -> **perform**
612:  /GEM_ROOT/gems/httparty-0.21.0/lib/httparty.rb -> **perform_request**
526:  /GEM_ROOT/gems/httparty-0.21.0/lib/httparty.rb -> **get**
54:  /GEM_ROOT/gems/gitlab-4.19.0/lib/gitlab/request.rb -> **block (2 levels) in <class:Request>**
20:  /GEM_ROOT/gems/gitlab-4.19.0/lib/gitlab/client/repository_files.rb -> **file_contents**
54:  app/services/workflows/yaml_downloader.rb -> **download_gitlab_yaml_file**
20:  app/services/workflows/yaml_downloader.rb -> **call**
39:  app/models/token/workflow.rb -> **call**
27:  app/controllers/trigger_workflow_controller.rb -> **block in create**
863:  app/models/user.rb -> **run_as**
26:  app/controllers/trigger_workflow_controller.rb -> **create**
6:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_controller/metal/basic_implicit_render.rb -> **send_action**
215:  /GEM_ROOT/gems/actionpack-7.0.8/lib/abstract_controller/base.rb -> **process_action**
165:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_controller/metal/rendering.rb -> **process_action**
234:  /GEM_ROOT/gems/actionpack-7.0.8/lib/abstract_controller/callbacks.rb -> **block in process_action**
107:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **run_callbacks**
233:  /GEM_ROOT/gems/actionpack-7.0.8/lib/abstract_controller/callbacks.rb -> **process_action**
23:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_controller/metal/rescue.rb -> **process_action**
67:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_controller/metal/instrumentation.rb -> **block in process_action**
206:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/notifications.rb -> **block in instrument**
24:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/notifications/instrumenter.rb -> **instrument**
206:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/notifications.rb -> **instrument**
66:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_controller/metal/instrumentation.rb -> **process_action**
259:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_controller/metal/params_wrapper.rb -> **process_action**
27:  /GEM_ROOT/gems/activerecord-7.0.8/lib/active_record/railties/controller_runtime.rb -> **process_action**
151:  /GEM_ROOT/gems/actionpack-7.0.8/lib/abstract_controller/base.rb -> **process**
39:  /GEM_ROOT/gems/actionview-7.0.8/lib/action_view/rendering.rb -> **process**
188:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_controller/metal.rb -> **dispatch**
251:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_controller/metal.rb -> **dispatch**
49:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/routing/route_set.rb -> **dispatch**
32:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/routing/route_set.rb -> **serve**
18:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/routing/mapper.rb -> **block in <class:Constraints>**
48:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/routing/mapper.rb -> **serve**
50:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/journey/router.rb -> **block in serve**
32:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/journey/router.rb -> **each**
32:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/journey/router.rb -> **serve**
852:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/routing/route_set.rb -> **call**
87:  /GEM_ROOT/gems/flipper-1.1.2/lib/flipper/middleware/memoizer.rb -> **memoized_call**
45:  /GEM_ROOT/gems/flipper-1.1.2/lib/flipper/middleware/memoizer.rb -> **call**
15:  config/initializers/prefer_xml_over_html.rb -> **call**
44:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/deflater.rb -> **call**
15:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/tempfile_reaper.rb -> **call**
27:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/etag.rb -> **call**
40:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/conditional_get.rb -> **call**
12:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/head.rb -> **call**
38:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/http/permissions_policy.rb -> **call**
36:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/http/content_security_policy.rb -> **call**
266:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/session/abstract/id.rb -> **context**
260:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/session/abstract/id.rb -> **call**
704:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/middleware/cookies.rb -> **call**
27:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/middleware/callbacks.rb -> **block in call**
99:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **run_callbacks**
26:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/middleware/callbacks.rb -> **call**
32:  /GEM_ROOT/gems/airbrake-9.4.3/lib/airbrake/rack/middleware.rb -> **call!**
21:  /GEM_ROOT/gems/airbrake-9.4.3/lib/airbrake/rack/middleware.rb -> **call**
28:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/middleware/debug_exceptions.rb -> **call**
29:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/middleware/show_exceptions.rb -> **call**
18:  /GEM_ROOT/gems/lograge-0.14.0/lib/lograge/rails_ext/rack/logger.rb -> **call_app**
25:  /GEM_ROOT/gems/railties-7.0.8/lib/rails/rack/logger.rb -> **block in call**
99:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/tagged_logging.rb -> **block in tagged**
37:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/tagged_logging.rb -> **tagged**
99:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/tagged_logging.rb -> **tagged**
25:  /GEM_ROOT/gems/railties-7.0.8/lib/rails/rack/logger.rb -> **call**
93:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/middleware/remote_ip.rb -> **call**
93:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/middleware/remote_ip.rb -> **call**
19:  /GEM_ROOT/gems/request_store-1.6.0/lib/request_store/middleware.rb -> **call**
26:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/middleware/request_id.rb -> **call**
24:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/method_override.rb -> **call**
22:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/runtime.rb -> **call**
29:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/cache/strategy/local_cache_middleware.rb -> **call**
14:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/middleware/executor.rb -> **call**
18:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/lock.rb -> **call**
110:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/sendfile.rb -> **call**
131:  /GEM_ROOT/gems/actionpack-7.0.8/lib/action_dispatch/middleware/host_authorization.rb -> **call**
530:  /GEM_ROOT/gems/railties-7.0.8/lib/rails/engine.rb -> **call**
226:  /GEM_ROOT/gems/railties-7.0.8/lib/rails/railtie.rb -> **public_send**
226:  /GEM_ROOT/gems/railties-7.0.8/lib/rails/railtie.rb -> **method_missing**
74:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/urlmap.rb -> **block in call**
58:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/urlmap.rb -> **each**
58:  /GEM_ROOT/gems/rack-2.2.8/lib/rack/urlmap.rb -> **call**
107:  /usr/lib64/ruby/gems/3.1.0/gems/passenger-6.0.14/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb -> **process_request**
157:  /usr/lib64/ruby/gems/3.1.0/gems/passenger-6.0.14/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb -> **accept_and_process_next_request**
110:  /usr/lib64/ruby/gems/3.1.0/gems/passenger-6.0.14/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb -> **main_loop**
419:  /usr/lib64/ruby/gems/3.1.0/gems/passenger-6.0.14/src/ruby_supportlib/phusion_passenger/request_handler.rb -> **block (3 levels) in start_threads**
113:  /usr/lib64/ruby/gems/3.1.0/gems/passenger-6.0.14/src/ruby_supportlib/phusion_passenger/utils.rb -> **block in create_thread_and_abort_on_exception**

Environment

Key Value
program_name Passenger RubyApp: /srv/www/obs/api (production)
HTTP_USER_AGENT GitLab/16.5.1
@hennevogel hennevogel added Bug Frontend Things related to the OBS RoR app labels Feb 22, 2024
@hennevogel
Copy link
Member Author

This should not have passed SCMExceptionHandler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app
Projects
None yet
Development

No branches or pull requests

1 participant