Skip to content

[Dev] Source Release an Merge script job fails when RC0 is opened #46127

Closed

Description

@raulcd

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

The current source release and merge script tests fail on 02-source-test.rb with:

 diff:
  To: dev@arrow.apache.org
  Subject: [VOTE] Release Apache Arrow 20.0.0 - RC0
  
  Hi,
  
  I would like to propose the following release candidate (RC0) of Apache
  Arrow version 20.0.0. This is a release consisting of 241
  resolved GitHub issues[1].
  
  This release candidate is based on commit:
  9e7b3a2195a130a21625250087c812fcfc0de5d4 [2]
  
  The source release rc0 is hosted at [3].
  The binary artifacts are hosted at [4][5][6][7][8][9].
  The changelog is located at [10].
  
  Please download, verify checksums and signatures, run the unit tests,
  and vote on the release. See [11] for how to validate a release candidate.
  
  See also a verification result on GitHub pull request [12].
  
  The vote will be open for at least 72 hours.
  
  [ ] +1 Release this as Apache Arrow 20.0.0
  [ ] +0
  [ ] -1 Do not release this as Apache Arrow 20.0.0 because...
  
  [1]: https://github.com/apache/arrow/issues?q=is%3Aissue+milestone%3A20.0.0+is%3Aclosed
  [2]: https://github.com/apache/arrow/tree/9e7b3a2195a130a21625250087c812fcfc0de5d4
  [3]: https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-20.0.0-rc0
  [4]: https://apache.jfrog.io/artifactory/arrow/almalinux-rc/
  [5]: https://apache.jfrog.io/artifactory/arrow/amazon-linux-rc/
  [6]: https://apache.jfrog.io/artifactory/arrow/centos-rc/
  [7]: https://apache.jfrog.io/artifactory/arrow/debian-rc/
  [8]: https://apache.jfrog.io/artifactory/arrow/python-rc/20.0.0-rc0
  [9]: https://apache.jfrog.io/artifactory/arrow/ubuntu-rc/
  [10]: https://github.com/apache/arrow/blob/9e7b3a2195a130a21625250087c812fcfc0de5d4/CHANGELOG.md
  [11]: https://arrow.apache.org/docs/developers/release_verification.html
? [12]: 
https://github.com/apache/arrow/p
ull/46064
?       n                                         
?       ?????????????????????????????????                                   ------

See:

The check should take into account the PR as per:

    response = Net::HTTP.post(uri,
                              n_issues_query.to_json,
                              "Content-Type" => "application/json",
                              "Authorization" => "Bearer #{github_token}")
    n_resolved_issues = JSON.parse(response.body)["data"]["search"]["issueCount"]
    github_api_url = "https://api.github.com"
    verify_prs = URI("#{github_api_url}/repos/apache/arrow/pulls" +
                     "?state=open" +
                     "&head=apache:release-#{@release_version}-rc0")
    verify_pr_url = nil
    headers = {
      "Accept" => "application/vnd.github+json",
    }

    if github_token
      headers["Authorization"] = "Bearer #{github_token}"
    end
    verify_prs.open(headers) do |response|
      verify_pr_url = (JSON.parse(response.read)[0] || {})["html_url"]
    end

but it seems to fail.

Component(s)

Developer Tools

Activity

  1. raulcd commented on Apr 14, 2025

    @raulcd
    MemberAuthor

    I think this fails on the fork action but succeeds on the arrow/repo action and I looked on the wrong one.

  2. added a commit that references this issue on Apr 14, 2025
  3. added a commit that references this issue on Apr 15, 2025
  4. added this to the 21.0.0 milestone on Apr 15, 2025
  5. raulcd commented on Apr 15, 2025

    @raulcd
    MemberAuthor

    Issue resolved by pull request 46143
    #46143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions