Get this repository:
git clone https://git.launchpad.net/ubuntu-advantage-script

Import details

Import Status: Reviewed

This repository is an import of the Git repository at https://github.com/CanonicalLtd/ubuntu-advantage-script.

The next import is scheduled to run .

Last successful import was .

Import started on alnitak and finished taking 50 seconds — see the log
Import started on alnitak and finished taking 1 minute — see the log
Import started on alnitak and finished taking 4 minutes — see the log
Import started on izar and finished taking 6 minutes — see the log
Import started on izar and finished taking 9 minutes — see the log
Import started on izar and finished taking 1 minute — see the log
Import started on izar and finished taking 50 seconds — see the log
Import started on alnitak and finished taking 30 seconds — see the log
Import started on alnitak and finished taking 1 minute — see the log
Import started on alnitak and finished taking 50 seconds — see the log

Branches

Name Last Modified Last Commit
main 2021-06-22 18:12:56 UTC 21 hours ago
proxy: move config fields under ua_config

Author: Grant Orndorff
Author Date: 2021-06-22 15:08:48 UTC

proxy: move config fields under ua_config

release-27 2021-06-16 20:31:00 UTC 2021-06-16
tests: noninteractive mode when installing ssh components in tests

Author: Grant Orndorff
Author Date: 2021-06-11 19:55:51 UTC

tests: noninteractive mode when installing ssh components in tests

postinst-dont-setup-beta 2021-04-16 20:10:21 UTC 2021-04-16
Fix integration test for esm-apps postinst setup

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2021-04-16 20:08:09 UTC

Fix integration test for esm-apps postinst setup

release-26 2021-04-07 22:48:14 UTC 2021-04-07
changelog modifications for 26.3 release

Author: Grant Orndorff
Author Date: 2021-04-07 19:53:57 UTC

changelog modifications for 26.3 release

ubuntu/xenial 2021-04-07 02:27:25 UTC 2021-04-07
d/control: replace dh-systemd package dependency for xenial and earlier

Author: Chad Smith
Author Date: 2021-04-07 02:27:25 UTC

d/control: replace dh-systemd package dependency for xenial and earlier

release-to-ppa-docs 2021-04-06 21:29:14 UTC 2021-04-06
docs: add entry for uploading new version to ppa

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2021-04-06 18:03:59 UTC

docs: add entry for uploading new version to ppa

Add documentation informing how we should upload new uaclient
packages to our maintained ppas

api/full-cve-relations 2021-03-29 16:11:01 UTC 2021-03-29
Use correct CVE/USN properties on security module

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2021-03-29 16:11:01 UTC

Use correct CVE/USN properties on security module

Currently, we are using incorrect properties to handle
CVE and USN metadata. We are now fixing this on the security
module

fix/multiple-usns 2021-03-17 21:13:49 UTC 2021-03-17
tests: refactor integration tests for ua fix cmd

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2021-03-17 20:43:59 UTC

tests: refactor integration tests for ua fix cmd

fix-pip-version-for-older-release-tests 2021-01-15 18:08:17 UTC 2021-01-15
Set pip version for testing older releases

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2021-01-13 15:22:55 UTC

Set pip version for testing older releases

When we run flake8 and pytest jobs using dependencies
based on older ubuntu releases, we must ensure that
we are using an older version of pip. If we do not do that,
new versions of pip will not be able to parse the specified
dependencies tree and it will fail to run the test

do-not-install-pro-debs-by-default 2021-01-11 13:47:45 UTC 2021-01-11
Pin importlib-metadata for mypy tests

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2021-01-11 13:47:45 UTC

Pin importlib-metadata for mypy tests

The lib importlib-metadata was recently updated bringing
a typing annotation that is not supported by python 3.4.
This is problematic because our mypy tests covers this python
version. To allow the mypy tests to run as expected, we are
now pinning the importlib-metadata to a version that does
not break the mypy tests.

fix-esm-number-of-packages-test 2021-01-08 20:00:26 UTC 2021-01-08
Disable azuregeneric test from Jenkins

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2021-01-08 20:00:26 UTC

Disable azuregeneric test from Jenkins

Currently, we are experiencing issues when we try
to ssh into an Azure instance. Says this is
a basic step of the azure tests they are all
failing. To not block unrelated work to land,
we are removing that job from Jenkinsfile
until we can figure out what is happening with it

livepatch-init-script 2021-01-05 15:29:46 UTC 2021-01-05
Log when we install pkgs because of contract delta

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2021-01-04 20:49:26 UTC

Log when we install pkgs because of contract delta

cis/add-key-rename 2020-12-22 16:22:08 UTC 2020-12-22
jenkins: awspro 18.04

Author: Chad Smith
Author Date: 2020-12-22 16:22:08 UTC

jenkins: awspro 18.04

gce-remove-env-var 2020-12-17 22:22:09 UTC 2020-12-17
Remove setting GCP credentials for behave tests

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-12-17 22:22:09 UTC

Remove setting GCP credentials for behave tests

pycloudlib is now handling setting the correct environment
variables for GCP. We no longer need uaclient to do that on
our tests

freeze-pytest-version 2020-12-17 21:00:08 UTC 2020-12-17
Add pytest constraint for mypy tests

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-12-15 20:39:27 UTC

Add pytest constraint for mypy tests

pytest was recently updated to a version that breaks the mypy tests. The
reason for that is because the new version of pytest uses a type
annotation that is only supported on python3.6 and later. Therefore
we cannot run all of the mypy tests using the latest version. Because
of that we are now adding a pytest constraint for mypy tests

gce-support 2020-12-17 13:35:25 UTC 2020-12-17
Add GCE support for integration tests

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-12-15 20:34:46 UTC

Add GCE support for integration tests

Add support for launching GCE instances and running
integration test scenarios on them

fips-new-origin 2020-12-15 19:29:29 UTC 2020-12-15
fips: update origin UbuntuFIPSUpdates

Author: Chad Smith
Author Date: 2020-12-15 19:29:29 UTC

fips: update origin UbuntuFIPSUpdates

fix-vm-tests 2020-12-14 21:16:50 UTC 2020-12-14
Fix upgrade scenario tests for fips

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-12-14 20:25:39 UTC

Fix upgrade scenario tests for fips

Some commands were failing on the fips service upgrade
integration tests. The first one was related to using
a wildcard in the egrep command, which is not supported
on the current way we shellify commands on pycloudlib.
Also, we are now covering possibilities were we need to
downgrade a package on dist-upgrade or that a package
requires reboot after upgrading it. Additionally,
we are now dropping the past fips-updates upgrade test,
since now the fips metapckage is no longer being
uninstalled after a do-release-upgrade for fips-updates

drop-travis-yml 2020-12-08 19:11:35 UTC 2020-12-08
travis: drop travis.yml trigger file

Author: Chad Smith
Author Date: 2020-12-08 19:11:35 UTC

travis: drop travis.yml trigger file

sync-release-25 2020-12-07 21:56:27 UTC 2020-12-07
changelog: import changelog entries from release-25 branch

Author: Chad Smith
Author Date: 2020-12-07 21:56:27 UTC

changelog: import changelog entries from release-25 branch

release-25 2020-12-07 20:06:16 UTC 2020-12-07
changelog: release version 25.0

Author: Chad Smith
Author Date: 2020-12-04 20:33:48 UTC

changelog: release version 25.0

gce/add-pro 2020-12-04 21:52:33 UTC 2020-12-04
Merge branch 'master' into gce/add-pro

Author: Joshua Powers
Author Date: 2020-12-04 21:52:33 UTC

Merge branch 'master' into gce/add-pro

release-25-changlog 2020-12-04 20:33:48 UTC 2020-12-04
changelog: release version 25.0

Author: Chad Smith
Author Date: 2020-12-04 20:33:48 UTC

changelog: release version 25.0

fix-fips-updates 2020-12-03 22:05:08 UTC 2020-12-03
Remove package hold from fips updates test

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-12-03 22:01:00 UTC

Remove package hold from fips updates test

On the fips test, we are running apt-mark hold on some package
before enabling fips. This works for FIPS, because we unhold
those packages before we setup fips. However, this is not the case
for fips updates. We are now splitting the fips integration tests
to avoid this issue.

testing/change-ppa 2020-12-03 20:34:32 UTC 2020-12-03
travis: cron runs on release-\d+ run against ppa:ua-client/staging

Author: Chad Smith
Author Date: 2020-12-03 19:52:07 UTC

travis: cron runs on release-\d+ run against ppa:ua-client/staging

release-fake 2020-12-03 20:34:32 UTC 2020-12-03
travis: cron runs on release-\d+ run against ppa:ua-client/staging

Author: Chad Smith
Author Date: 2020-12-03 19:52:07 UTC

travis: cron runs on release-\d+ run against ppa:ua-client/staging

unattached-noop-upgrade-process-deltas 2020-12-03 16:28:15 UTC 2020-12-03
upgrade-lts-contract: noop during do-release-upgrade on unattached

Author: Chad Smith
Author Date: 2020-12-03 04:53:50 UTC

upgrade-lts-contract: noop during do-release-upgrade on unattached

Fast exit and don't print any messages during do-release-upgrade
if the machine is not attached to a UA contract

Fixes: #1255

lp-1899299-cloud-init-trusty-upgrade-paths-run-dir-bug 2020-12-03 04:58:16 UTC 2020-12-03
upgrade-test: fix upgrade path restart failures on trusty

Author: Chad Smith
Author Date: 2020-12-03 03:22:47 UTC

upgrade-test: fix upgrade path restart failures on trusty

When upgrading trusty machines to xenial, cloud-init has a bug in
re-constituting the pickled trusty-based datasource on xenial.

That cloud-init bug is LP: #1899299

This results in the following error from cloud-init status --wait:
  'Paths' object has no attribute 'run_dir'

To avoid this error until an SRU fixes cloud-init on Xenial,
integration tests can use:
   instance.shutdown(wait=True)
   instance.start()
   instance.wait(raise_on_cloudinit_failure=False)

Fixes: #1257

fix-integration-scripts 2020-12-02 21:18:27 UTC 2020-12-02
Fix integration test setup scripts

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-12-02 21:18:27 UTC

Fix integration test setup scripts

One check on both lxd and azure setup scripts were incorrect.
We are fixing that check to allow the builds to function as expected

autoattach-before-cloud-init-config 2020-12-02 17:12:18 UTC 2020-12-02
ua-auto-attach: order systemd unit before cloud-config.service

Author: Chad Smith
Author Date: 2020-12-02 17:12:18 UTC

ua-auto-attach: order systemd unit before cloud-config.service

unhold-fips-pkgs 2020-11-23 21:12:55 UTC 2020-11-23
fips: unmark held fips packages for ubuntu pro fips image support

Author: Chad Smith
Author Date: 2020-11-17 03:26:32 UTC

fips: unmark held fips packages for ubuntu pro fips image support

setup_apt_config will unmark fips-specific held packages if present
prior to enabling the FIPS service.

Fixes: #1109

auto-attach-earlier 2020-11-20 00:05:26 UTC 2020-11-20
pro: trigger auto-attach as soon as instance-data.json is available

Author: Chad Smith
Author Date: 2020-11-16 20:32:05 UTC

pro: trigger auto-attach as soon as instance-data.json is available

Fixes: #1234

fips-disable 2020-11-12 20:30:46 UTC 2020-11-12
fips: allow disable

Author: Chad Smith
Author Date: 2020-11-10 03:12:18 UTC

fips: allow disable

ua disable fips or fips-update will now uninstall the ubuntu-fips
meta package. This will remove package holds and disable fips-related
settings in grub.

Add post_disable messaging mentioning reboot-required.

Fixes: #1168

client-version-overrides 2020-11-12 18:07:33 UTC 2020-11-12
contract: allow contract overrides based on ua client version

Author: Chad Smith
Author Date: 2020-11-11 19:35:56 UTC

contract: allow contract overrides based on ua client version

When processing applicable directives, affordances and obligations from a
contract, the client will first override any series-specific config options
matching the running Ubuntu series under the top-level "series" key. After
applying any series overrides, the client will then process any applicable
client config options present under a top-level "client" key.

The subkeys below "client" will be of the form "XX.Y" where XX is the major version and Y is the minor version of the release. Any version less than or equal
to the current version of ubuntu-advantage client will be applied to the
contract. Any version number greater than the running client version is
ignored.

driveby 2020-11-03 21:06:31 UTC 2020-11-03
Fix shell condition in run_azure_travis_integration_tests.sh

Author: Dan Watkins
Author Date: 2020-11-03 21:06:31 UTC

Fix shell condition in run_azure_travis_integration_tests.sh

update-fips 2020-10-29 18:58:15 UTC 2020-10-29
Install fips metapacking when enabling service

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-10-28 13:54:23 UTC

Install fips metapacking when enabling service

Closes #1221

fix-travis-master-build 2020-10-29 13:21:04 UTC 2020-10-29
Update esm-apps check on staging_commands tests

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-10-29 13:18:55 UTC

Update esm-apps check on staging_commands tests

bbsw-release-25 2020-10-27 02:08:01 UTC 2020-10-27
changelog for 25.0 beta2

Author: Chad Smith
Author Date: 2020-10-27 02:08:01 UTC

changelog for 25.0 beta2

enable-when-invalid-repos-are-found 2020-10-26 20:47:18 UTC 2020-10-26
Show error when enabling service with invalid repo

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-10-14 19:03:30 UTC

Show error when enabling service with invalid repo

When we enable a service and a user has an invalid repository in the
system, apt update commands will fail to run. Because we run
apt update when we enable repo type services, we stumble upon this
issue and fail to enable the service. However, we are not showing
the user the reason why the enable command failed. We are now updating
the logic to display this apt issue when this problem happen during an
enable operation.

Fixes #954

vm-tests 2020-10-16 17:55:50 UTC 2020-10-16
Merge branch 'master' into vm-tests

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-10-16 17:55:50 UTC

Merge branch 'master' into vm-tests

port/release-25 2020-10-13 20:01:59 UTC 2020-10-13
changelog imports from release-25

Author: Chad Smith
Author Date: 2020-10-13 20:01:59 UTC

changelog imports from release-25

status-trusty-upgrade 2020-10-13 15:14:21 UTC 2020-10-13
changelog release version 25.0~20.10.1~beta1

Author: Chad Smith
Author Date: 2020-10-13 15:14:21 UTC

changelog release version 25.0~20.10.1~beta1

refactor-travis 2020-10-08 14:05:03 UTC 2020-10-08
Refactor travis file

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-10-07 14:05:37 UTC

Refactor travis file

release/25.0beta 2020-10-08 02:23:24 UTC 2020-10-08
changelog updates from release-24

Author: Chad Smith
Author Date: 2020-10-08 02:23:24 UTC

changelog updates from release-24

deps/trusty-virtualenv 2020-10-02 20:59:49 UTC 2020-10-02
make: trusty install virtualenv 20.0.31. disallow failures trusty-flake8

Author: Chad Smith
Author Date: 2020-10-02 20:55:49 UTC

make: trusty install virtualenv 20.0.31. disallow failures trusty-flake8

bbsw/add-upgrade-test 2020-09-21 02:25:43 UTC 2020-09-21
test: add upgrade test

Author: Chad Smith
Author Date: 2020-09-21 02:25:43 UTC

test: add upgrade test

release-24 2020-09-01 17:37:32 UTC 2020-09-01
apt-based services use addtionalPackages contract directives

Author: Chad Smith
Author Date: 2020-09-01 17:37:32 UTC

apt-based services use addtionalPackages contract directives

Backport cfde367 to release-24 branch to fix issues on Bionic Ubuntu PRO FIPS pre-release images.

Fixes: #1173

release-24-fips 2020-09-01 17:17:56 UTC 2020-09-01
changelog: update 24.4 version for bug-fix-release

Author: Chad Smith
Author Date: 2020-09-01 17:17:56 UTC

changelog: update 24.4 version for bug-fix-release

dist-upgrade-test 2020-08-27 21:31:27 UTC 2020-08-27
Add script to test dist upgrade scenarios

Author: Lucas Albuquerque Medeiros de Moura
Author Date: 2020-08-25 20:33:40 UTC

Add script to test dist upgrade scenarios

testing/apt-notifier-motd 2020-08-21 12:52:38 UTC 2020-08-21
tests: handle plural and singular messages

Author: Chad Smith
Author Date: 2020-08-14 14:55:10 UTC

tests: handle plural and singular messages

testing/azure-pro-trusty 2020-08-21 05:29:39 UTC 2020-08-21
travis: add workspaces to each pro series test

Author: Chad Smith
Author Date: 2020-08-21 04:42:17 UTC

travis: add workspaces to each pro series test

cleanup/leaky-tests 2020-08-18 22:53:43 UTC 2020-08-18
tests: avoid leaky calls to contract-server

Author: Chad Smith
Author Date: 2020-08-18 22:16:15 UTC

tests: avoid leaky calls to contract-server

testing/aws-non-pro 2020-08-09 20:57:14 UTC 2020-08-09
tests: add pro trusty, aws.generic and azure.generic test cases

Author: Chad Smith
Author Date: 2020-08-09 20:57:14 UTC

tests: add pro trusty, aws.generic and azure.generic test cases

testing/aws-pro 2020-07-27 16:33:11 UTC 2020-07-27
tests: log warning for aws.pro machine_type when missing aws creds

Author: Chad Smith
Author Date: 2020-07-27 16:31:57 UTC

tests: log warning for aws.pro machine_type when missing aws creds

19.6-trusty 2019-11-13 17:54:06 UTC 2019-11-13
Merge pull request #915 from panlinux/ua-nonx86-fix

Author: Chad Smith
Author Date: 2019-11-13 17:54:06 UTC

Merge pull request #915 from panlinux/ua-nonx86-fix

Ua nonx86 fix

old-master-trusty 2019-04-18 19:58:46 UTC 2019-04-18
Merge pull request #414 from panlinux/review-fixes

Author: Pan Linux (test)
Author Date: 2019-04-18 19:58:46 UTC

Merge pull request #414 from panlinux/review-fixes

Review fixes

old-master 2019-01-23 11:33:00 UTC 2019-01-23
Merge pull request #162 from panlinux/v18-update

Author: Pan Linux (test)
Author Date: 2019-01-23 11:33:00 UTC

Merge pull request #162 from panlinux/v18-update

V18 update

157 of 57 results

Other repositories

Name Last Modified
lp:ubuntu-advantage-script 40 minutes ago
11 of 1 result
You can't create new repositories for ubuntu-advantage-script.