[HELP] deploy stage failes on missing `dpl/provider/releases`

Starting from yesterday evening, the deploy stage, of at least my repo, fails w/ what looks to be a missing Ruby module: dpl/provider/releases. What do you think I am doing wrong or missing? Thanks,


Here’s the relevant section from .travis.yml:

    - stage: deploy

    - name: Create github release
      os: linux
      dist: jammy
      before_deploy: >-
        [[ -z "$BMAKELIB_VERSION" ]] && export BMAKELIB_VERSION="$(<src/VERSION)"
      deploy:
        provider: releases
        draft: true
        cleanup: false
        overwrite: true
        on:
          tags: true
        token:
          secure: '...'
        file_glob: true
        file:
          - dist/bmakelib-${BMAKELIB_VERSION}.tar.gz
          - dist/bmakelib-${BMAKELIB_VERSION}-*.noarch.rpm
          - dist/bmakelib_${BMAKELIB_VERSION}-*_all.deb


And here’s the full log from the deploy stage:

$ sudo systemctl start docker
git.checkout

$ git clone --depth=50 --branch=test https://github.com/bahmanm/bmakelib.git bahmanm/bmakelib

$ bash -c 'echo $BASH_VERSION'

5.1.16(1)-release

The command "bash -c 'echo $BASH_VERSION'" exited with 0.

before_deploy

$ [[ -z "$BMAKELIB_VERSION" ]] && export BMAKELIB_VERSION="$(<src/VERSION)"

$ rvm $(travis_internal_ruby) --fuzzy do ruby -S gem install dpl

Installing deploy dependencies
Successfully installed public_suffix-3.0.3
Successfully installed multipart-post-2.3.0
Successfully installed faraday-0.15.4
Successfully installed addressable-2.8.5
Successfully installed sawyer-0.8.2
Successfully installed octokit-4.6.2
Successfully installed mime-types-data-3.2023.0808
Successfully installed mime-types-3.5.1
Successfully installed dpl-releases-1.10.16
9 gems installed

/home/travis/.rvm/gems/ruby-3.1.2/gems/faraday-0.15.4/lib/faraday/options.rb:166:in `new': tried to create Proc object without a block (ArgumentError)
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/faraday-0.15.4/lib/faraday/options.rb:166:in `memoized'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/faraday-0.15.4/lib/faraday/options.rb:247:in `<class:ProxyOptions>'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/faraday-0.15.4/lib/faraday/options.rb:229:in `<module:Faraday>'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/faraday-0.15.4/lib/faraday/options.rb:1:in `<top (required)>'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/faraday-0.15.4/lib/faraday.rb:80:in `block in require_libs'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/faraday-0.15.4/lib/faraday.rb:79:in `each'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/faraday-0.15.4/lib/faraday.rb:79:in `require_libs'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/faraday-0.15.4/lib/faraday.rb:242:in `<module:Faraday>'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/faraday-0.15.4/lib/faraday.rb:16:in `<top (required)>'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/sawyer-0.8.2/lib/sawyer/agent.rb:1:in `<top (required)>'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/sawyer-0.8.2/lib/sawyer.rb:17:in `block in <top (required)>'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/sawyer-0.8.2/lib/sawyer.rb:17:in `each'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/sawyer-0.8.2/lib/sawyer.rb:17:in `<top (required)>'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/octokit-4.6.2/lib/octokit/connection.rb:1:in `<top (required)>'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/octokit-4.6.2/lib/octokit/client.rb:1:in `<top (required)>'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/octokit-4.6.2/lib/octokit.rb:1:in `<top (required)>'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-releases-1.10.16/lib/dpl/provider/releases.rb:1:in `<top (required)>'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:160:in `require'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:149:in `require'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/provider.rb:93:in `rescue in block in new'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/provider.rb:68:in `block in new'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/cli.rb:41:in `fold'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/provider.rb:67:in `new'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/cli.rb:31:in `run'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/cli.rb:7:in `run'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/bin/dpl:5:in `<top (required)>'
	from /home/travis/.rvm/gems/ruby-3.1.2/bin/dpl:25:in `load'
	from /home/travis/.rvm/gems/ruby-3.1.2/bin/dpl:25:in `<main>'

<internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- dpl/provider/releases (LoadError)
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/provider.rb:93:in `rescue in block in new'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/provider.rb:68:in `block in new'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/cli.rb:41:in `fold'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/provider.rb:67:in `new'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/cli.rb:31:in `run'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/cli.rb:7:in `run'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/bin/dpl:5:in `<top (required)>'
	from /home/travis/.rvm/gems/ruby-3.1.2/bin/dpl:25:in `load'
	from /home/travis/.rvm/gems/ruby-3.1.2/bin/dpl:25:in `<main>'

<internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- dpl/provider/releases (LoadError)
	from <internal:/home/travis/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/provider.rb:73:in `block in new'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/cli.rb:41:in `fold'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/provider.rb:67:in `new'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/cli.rb:31:in `run'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/lib/dpl/cli.rb:7:in `run'
	from /home/travis/.rvm/gems/ruby-3.1.2/gems/dpl-1.10.16/bin/dpl:5:in `<top (required)>'
	from /home/travis/.rvm/gems/ruby-3.1.2/bin/dpl:25:in `load'
	from /home/travis/.rvm/gems/ruby-3.1.2/bin/dpl:25:in `<main>'

failed to deploy

Did a bit of search in the forums and it looks like there have been similar reports in the past couple of weeks, such as Ubuntu jammy: Installing deploy dependencies: failed to deploy

Any updates on this? It’s been blocking my release pipelines for a few days now already :frowning:

For posterity, I’ve been trying to reach out to the support team for the past 3 days to get an ETA/more information about this bug to no avail: no replies to my inquiries. This is sad, Travis :confused:

Got a reply from Travis folks suggesting to use Focal over Jammy. And that fixed the problem.

Better late than never :confused: