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

[Bug] CI: travis does not find ubuntu ppa #3202

Closed
neteler opened this issue Oct 13, 2023 · 4 comments
Closed

[Bug] CI: travis does not find ubuntu ppa #3202

neteler opened this issue Oct 13, 2023 · 4 comments
Labels
bug Something isn't working CI Continuous integration
Milestone

Comments

@neteler
Copy link
Member

neteler commented Oct 13, 2023

By chance I discovered that this line fails:

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y

...
Setting up build cache

$ gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ./.travis/$TRAVIS_OS_NAME.before_install.sh
Cannot add PPA: 'ppa:~ubuntugis/ubuntu/ubuntugis-unstable'.
The team named '~ubuntugis' has no PPA named 'ubuntu/ubuntugis-unstable'
Please choose from the following available PPAs:
 * 'ppa':  ubuntugis-stable
 * 'ubuntugis-experimental':  ubuntugis-experimental
 * 'ubuntugis-testing':  ubuntugis-testing
 * 'ubuntugis-unstable':  ubuntugis-unstable

The command "./.travis/$TRAVIS_OS_NAME.before_install.sh" failed and exited with 1 during .
Your build has been stopped.

See log: https://app.travis-ci.com/github/OSGeo/grass/jobs/611517273

@neteler neteler added bug Something isn't working CI Continuous integration backport to 8.3 labels Oct 13, 2023
@neteler neteler added this to the 8.4.0 milestone Oct 13, 2023
@wenzeslaus
Copy link
Member

I had the same issue with GitHub CI. I updated from Ubuntu 20.04 to 22.04 which solved the problem (or happened to solve the problem).

@neteler
Copy link
Member Author

neteler commented Oct 22, 2023

I updated from Ubuntu 20.04 to 22.04 which solved the problem

To be honest, I don't understand what has to be changed.

@wenzeslaus
Copy link
Member

It seems that the PPA issue is fixed. I don't think it was anything in this repo. The main in this repo built successfully 5 days ago and PRs are building.

However, the main does not build anymore due to permissions. Its says: "Sender {name} is not allowed to trigger build in this repo." I don't see any settings in the repo page. I guess I don't have permissions (I have Settings under More options for my repos).

It's a separate issue from the OP, but who has the permissions for Travis?

I updated from Ubuntu 20.04 to 22.04 which solved the problem

To be honest, I don't understand what has to be changed.

For me, updating from Ubuntu 20.04 to 22.04 fixed the PPA issue.

@wenzeslaus
Copy link
Member

Travis check is running again (Travis CI - Branch Successful in 9m - Build Passed). Thanks for fixing the permission issue. I'm closing this as completed since the PPA issue is no longer present either.

@neteler neteler modified the milestones: 8.4.0, 8.3.2 Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI Continuous integration
Projects
None yet
Development

No branches or pull requests

2 participants