~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image:100_code_coverage

Last commit made on 2018-01-05
Get this branch:
git clone -b 100_code_coverage https://git.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image
Only Gary.Wang can upload to this branch. If you are Gary.Wang please log in for upload directions.

Branch merges

Branch information

Name:
100_code_coverage
Repository:
lp:~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image

Recent commits

32ae961... by Gary.Wang

Address the review comments and revert the spec folder name.

55ae35e... by Gary.Wang

Merge git+ssh://git.launchpad.net//~snappy-hwe-team/snappy-hwe-snaps/+git/ubuntu-custom-image into 100_code_coverage

f6afad0... by System Enablement CI Bot <email address hidden>

Merge remote tracking branch code_coverage_custom_builder

Merge-Proposal: https://code.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image/+merge/334013

Author: Gary.Wang <email address hidden>

[WIP]Add unit tests for exception handling in custom builder.

This branch also makes a small refactoring on all mockers we're using to mock out
subprocess_run in some cases.

d560bc6... by Gary.Wang

Address the review comments.

77675c6... by Gary.Wang

Fix flake8 error and failure test cases.

d66e64a... by Gary.Wang

Merge git+ssh://git.launchpad.net//~snappy-hwe-team/snappy-hwe-snaps/+git/ubuntu-custom-image into code_coverage_custom_builder

fec9150... by System Enablement CI Bot <email address hidden>

Merge remote tracking branch test_tooling

Merge-Proposal: https://code.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image/+merge/334810

Author: Gary.Wang <email address hidden>

Install all test tools from run-tests.sh to make it easy to integrate into CI.

We install all test tools from run-tests script in a clean docker
instance so that we keep a minimum docker image size(snap-spread-tests).
Also, on docker instance, there's no symlink(/etc/resolv.conf)
pointing to /run/resolvconf/resolv.conf file which make all apt related
command failed due to the DNS issue. We create a symlink under
/run/resolvconf/ to point to actual /etc/resolv.conf file in this case.

ec92eae... by Gary.Wang

Address the review comment.

One second waiting time for later check mapper device is probably good
good enough(at least no issue were found during my testing on CI). So
it's worth a try. Let's see how the Jenkins reacts about this change.

6438f37... by Gary.Wang

A better way to resolve dns issue no matter in host machine or docker(CI).

54ed3f1... by Gary.Wang

Install all test tools from run-tests.sh to make it easy to integrate into CI.

We install all test tools from run-tests script in a clean docker
instance so that we keep a minimum docker image size(snap-spread-tests).
Also, on docker instance, there's no symlink(/etc/resolv.conf)
pointing to /run/resolvconf/resolv.conf file which make all apt related
command failed due to the DNS issue. We create a symlink under
/run/resolvconf/ to point to actual /etc/resolv.conf file in this case.