Merge ~alextu/pc-enablement/+git/prepare-checkbox-sanity:autopkgtest-init into ~oem-solutions-engineers/pc-enablement/+git/prepare-checkbox-sanity:master

Proposed by Alex Tu
Status: Merged
Merged at revision: 365319a002f30f85aaf8985e1950c3146a1f0890
Proposed branch: ~alextu/pc-enablement/+git/prepare-checkbox-sanity:autopkgtest-init
Merge into: ~oem-solutions-engineers/pc-enablement/+git/prepare-checkbox-sanity:master
Diff against target: 224 lines (+70/-55)
7 files modified
README.md (+23/-47)
TODO (+2/-0)
debian/changelog (+6/-0)
debian/tests/control (+2/-0)
debian/tests/help (+2/-0)
usr/lib/prepare-checkbox-sanity/fall-back-checkbox.conf (+20/-0)
usr/sbin/checkbox-run-plan (+15/-8)
Reviewer Review Type Date Requested Status
Shih-Yuan Lee Approve
Yuan-Chen Cheng Pending
OEM Solutions Group: Engineers Pending
Review via email: mp+384079@code.staging.launchpad.net

Description of the change

the work prepared for autopkgtest.

created testbed by referring to comment of commit d2f8a10

$ sudo autopkgtest -U --summary-file=summary.log --log-file=complete.log -- lxc autopkgtest-focal-amd64

$ cat complete.log
https://pastebin.canonical.com/p/2HvJGFHSDZ/

$ cat
help PASS

To post a comment you must log in.
Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

LGTM

But it has the following problem that makes me have to checkout it manually.

$ sudo autopkgtest https://git.launchpad.net/~alextu/pc-enablement/+git/prepare-checkbox-sanity -- lxc autopkgtest-focal-amd64
...
Cloning into 'prepare-checkbox-sanity'...
remote: Counting objects: 98, done.
remote: Compressing objects: 100% (86/86), done.
remote: Total 98 (delta 38), reused 0 (delta 0)
Unpacking objects: 100% (98/98), 14.48 KiB | 322.00 KiB/s, done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.

sed: can't read debian/changelog: No such file or directory
blame: https://git.launchpad.net/~alextu/pc-enablement/+git/prepare-checkbox-sanity
badpkg: rules extract failed with exit code 2
autopkgtest [12:29:00]: ERROR: erroneous package: rules extract failed with exit code 2

review: Approve
Revision history for this message
Alex Tu (alextu) wrote :

refer to [1] the correct parameter to autopkgtest a branch should be: URL#branch

e.g.
$ sudo autopkgtest https://git.launchpad.net/\~alextu/pc-enablement/+git/prepare-checkbox-sanity\#autopkgtest-init -- lxc autopkgtest-focal-amd64

[1] https://manpages.debian.org/testing/autopkgtest/autopkgtest.1.en.html

Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches