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

[Release][CI] dev/release/run-test.rb failed on RC branch #38363

Closed
kou opened this issue Oct 19, 2023 · 0 comments · Fixed by #38365
Closed

[Release][CI] dev/release/run-test.rb failed on RC branch #38363

kou opened this issue Oct 19, 2023 · 0 comments · Fixed by #38365

Comments

@kou
Copy link
Member

kou commented Oct 19, 2023

Describe the bug, including details regarding any error messages, version, and platform.

https://github.com/apache/arrow/actions/runs/6572413706/job/17853497262?pr=38343#step:7:26

  test_deb_package_names[bump_type: :minor_on_main]:	E
===============================================================================
Error: test_deb_package_names[bump_type: :minor_on_main](PostBumpVersionsTest): NoMethodError: undefined method `split' for nil:NilClass
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:58:in `bump_versions'
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:329:in `test_deb_package_names'
     326:   data(:bump_type, [nil, :minor_on_main, :patch_on_main])
     327:   def test_deb_package_names
     328:     current_commit = git_current_commit
  => 329:     stdout = bump_versions("DEB_PACKAGE_NAMES")
     330:     changes = parse_patch(git("log", "-p", "#{current_commit}.."))
     331:     sampled_changes = changes.collect do |change|
     332:       first_hunk = change[:hunks][0]
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:35:in `block (2 levels) in setup'
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:31:in `chdir'
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:31:in `block in setup'
/Users/runner/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/2.7.0/tmpdir.rb:89:in `mktmpdir'
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:28:in `setup'
===============================================================================
: (4.771456)
  test_deb_package_names[bump_type: :patch_on_main]:	E
===============================================================================
Error: test_deb_package_names[bump_type: :patch_on_main](PostBumpVersionsTest): NoMethodError: undefined method `split' for nil:NilClass
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:58:in `bump_versions'
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:329:in `test_deb_package_names'
     326:   data(:bump_type, [nil, :minor_on_main, :patch_on_main])
     327:   def test_deb_package_names
     328:     current_commit = git_current_commit
  => 329:     stdout = bump_versions("DEB_PACKAGE_NAMES")
     330:     changes = parse_patch(git("log", "-p", "#{current_commit}.."))
     331:     sampled_changes = changes.collect do |change|
     332:       first_hunk = change[:hunks][0]
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:35:in `block (2 levels) in setup'
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:31:in `chdir'
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:31:in `block in setup'
/Users/runner/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/2.7.0/tmpdir.rb:89:in `mktmpdir'
/Users/runner/work/arrow/arrow/dev/release/post-11-bump-versions-test.rb:28:in `setup'

Component(s)

Continuous Integration, Release

@kou kou added the Type: bug label Oct 19, 2023
kou added a commit to kou/arrow that referenced this issue Oct 19, 2023
…s on RC branch

Tests of deb package names for the following patterns are only for
main/maintenance branches:

* `dev/release/post-11-bump-versions.sh 14.1.0 15.0.0`
  (minor release -> major release)
* `dev/release/post-11-bump-versions.sh 14.0.1 15.0.0`
  (patch release -> major release)
kou added a commit that referenced this issue Oct 20, 2023
…C branch (#38365)

### Rationale for this change

Tests of deb package names for the following patterns are only for main/maintenance branches:

* `dev/release/post-11-bump-versions.sh 14.1.0 15.0.0` (minor release -> major release)
* `dev/release/post-11-bump-versions.sh 14.0.1 15.0.0` (patch release -> major release)

### What changes are included in this PR?

Omit these patterns.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #38363

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@kou kou added this to the 15.0.0 milestone Oct 20, 2023
JerAguilon pushed a commit to JerAguilon/arrow that referenced this issue Oct 23, 2023
…s on RC branch (apache#38365)

### Rationale for this change

Tests of deb package names for the following patterns are only for main/maintenance branches:

* `dev/release/post-11-bump-versions.sh 14.1.0 15.0.0` (minor release -> major release)
* `dev/release/post-11-bump-versions.sh 14.0.1 15.0.0` (patch release -> major release)

### What changes are included in this PR?

Omit these patterns.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38363

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
JerAguilon pushed a commit to JerAguilon/arrow that referenced this issue Oct 25, 2023
…s on RC branch (apache#38365)

### Rationale for this change

Tests of deb package names for the following patterns are only for main/maintenance branches:

* `dev/release/post-11-bump-versions.sh 14.1.0 15.0.0` (minor release -> major release)
* `dev/release/post-11-bump-versions.sh 14.0.1 15.0.0` (patch release -> major release)

### What changes are included in this PR?

Omit these patterns.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38363

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
…s on RC branch (apache#38365)

### Rationale for this change

Tests of deb package names for the following patterns are only for main/maintenance branches:

* `dev/release/post-11-bump-versions.sh 14.1.0 15.0.0` (minor release -> major release)
* `dev/release/post-11-bump-versions.sh 14.0.1 15.0.0` (patch release -> major release)

### What changes are included in this PR?

Omit these patterns.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38363

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
dgreiss pushed a commit to dgreiss/arrow that referenced this issue Feb 19, 2024
…s on RC branch (apache#38365)

### Rationale for this change

Tests of deb package names for the following patterns are only for main/maintenance branches:

* `dev/release/post-11-bump-versions.sh 14.1.0 15.0.0` (minor release -> major release)
* `dev/release/post-11-bump-versions.sh 14.0.1 15.0.0` (patch release -> major release)

### What changes are included in this PR?

Omit these patterns.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38363

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant