Bug 458728 - tarme fails because it wants to communicate with Jenkins
Summary: tarme fails because it wants to communicate with Jenkins
Status: RESOLVED FIXED
Alias: None
Product: releaseme
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-05 06:16 UTC by Tobias Leupold
Modified: 2022-09-05 12:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2022-09-05 06:16:43 UTC
tarme.rb currently fails when taring a release, with something like

Traceback (most recent call last):
        8: from ./tarme.rb:74:in `<main>'
        7: from ./tarme.rb:74:in `collect'
        6: from ./tarme.rb:81:in `block in <main>'
        5: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/release.rb:66:in `get'
        4: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/release.rb:154:in `check_ci!'
        3: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/jenkins.rb:60:in `from_name_and_branch'
        2: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/jenkins.rb:23:in `get'
        1: from /usr/lib64/ruby/2.7.0/net/http/response.rb:133:in `value' /usr/lib64/ruby/2.7.0/net/http/response.rb:124:in `error!': 302 "Found" (Net::HTTPRetriableError)

This seems to be due to releaseme wanting to check the Jenkins CI state of the project to be released, and build.kde.org meanwhile being redirected to metrics.kde.org/login (or, more essentially, Jenkins being retired).

After commenting out the "check_ci!" call in "lib/releaseme/release.rb", creating a release tarball works again.
Comment 1 Bug Janitor Service 2022-09-05 11:01:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/sdk/releaseme/-/merge_requests/20
Comment 2 Harald Sitter 2022-09-05 12:18:28 UTC
Git commit 5aaa5d4cdb630a4bab474cbc917350f5144ead8d by Harald Sitter.
Committed on 05/09/2022 at 11:00.
Pushed by sitter into branch 'master'.

replace jenkins with gitlab

the former is no more, CI is now on gitlab

M  +1    -1    lib/releaseme.rb
A  +52   -0    lib/releaseme/gitlab.rb
D  +0    -136  lib/releaseme/jenkins.rb
M  +17   -17   lib/releaseme/release.rb
A  +42   -0    test/gitlab_test.rb
D  +0    -175  test/jenkins_test.rb
M  +18   -56   test/release_test.rb

https://invent.kde.org/sdk/releaseme/commit/5aaa5d4cdb630a4bab474cbc917350f5144ead8d
Comment 3 Tobias Leupold 2022-09-05 12:28:28 UTC
Thanks for the immediate fix!