Merge lp:~fgimenez/snappy/build-test into lp:~snappy-dev/snappy/snappy-moved-to-github
| Status: | Merged |
|---|---|
| Approved by: | Leo Arias on 2015-07-06 |
| Approved revision: | 564 |
| Merged at revision: | 560 |
| Proposed branch: | lp:~fgimenez/snappy/build-test |
| Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
| Prerequisite: | lp:~elopio/snappy/upgrade-test |
| Diff against target: |
269 lines (+153/-13) 9 files modified
_integration-tests/data/snaps/basic/meta/package.yaml (+4/-0) _integration-tests/data/snaps/basic/meta/readme.md (+3/-0) _integration-tests/data/snaps/missing-readme/meta/package.yaml (+4/-0) _integration-tests/data/snaps/wrong-yaml/meta/package.yaml (+5/-0) _integration-tests/data/snaps/wrong-yaml/meta/readme.md (+3/-0) _integration-tests/tests/common/common.go (+10/-0) _integration-tests/tests/latest/base_test.go (+29/-0) _integration-tests/tests/latest/build_test.go (+90/-0) _integration-tests/tests/latest/install_test.go (+5/-13) |
| To merge this branch: | bzr merge lp:~fgimenez/snappy/build-test |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Leo Arias | 2015-06-30 | Approve on 2015-07-06 | |
|
Review via email:
|
|||
Commit Message
Snap build test
Description of the Change
Includes a basic buildable snap test and two erroneous snaps to check the build errors
| Federico Gimenez (fgimenez) wrote : | # |
- 558. By Federico Gimenez on 2015-07-02
-
updated readme for wrong-yaml
| Leo Arias (elopio) wrote : | # |
I like this very much Federico! thanks!
I left some small comments.
- 559. By Federico Gimenez on 2015-07-03
-
renamed wrong-readme to missing-readme; added comment in yaml file for wrong-yaml; using defer to remove installed snap
| Federico Gimenez (fgimenez) wrote : | # |
Thanks a lot Leo, the issues should be fixed now
Cheers!
- 560. By Federico Gimenez on 2015-07-03
-
basic snap name parameterized
- 561. By Federico Gimenez on 2015-07-03
-
rename wrong readme test
- 562. By Federico Gimenez on 2015-07-03
-
merged trunk
| Leo Arias (elopio) wrote : | # |
+11!
changing to needs info, because I think you added this file by mistake:
=== added file '_integration-
Or maybe you have a reason I failed to notice.
- 563. By Federico Gimenez on 2015-07-04
-
removedd snap file
| Federico Gimenez (fgimenez) wrote : | # |
No, totally by mistake, sorry :)
I'll try to setup a specific rule for the files that should be ignored in my bazaar home configuration, thanks!
- 564. By Federico Gimenez on 2015-07-04
-
removing generated snap file after the test
| Federico Gimenez (fgimenez) wrote : | # |
A little better now, the generated snap file is removed after the test.
Cheers!
| Leo Arias (elopio) wrote : | # |
I'm testing this with image #92 because I still can't udf the latest one. I'm getting this error:
basic_1.0_all.snap failed to install: Signature verification failed: No signatures, or no origin signature. (exit code 10)
With --allow-
| Federico Gimenez (fgimenez) wrote : | # |
mmm I have it passing with the current code [1], what command did you use to generate the #92 image? Did you include --developer-mode?
Which brings another question, why aren't you able to use udf? These are my installed versions [2]
Thanks!
[1] http://
[2] http://
| Leo Arias (elopio) wrote : | # |
mmm, weird.
I installed udf from the proposed ppa, and I could flash the latest and it worked there indeed. So, approving.
I don't understand why it failed on 92, but lets keep running it and if we see a signature failure we dig deeper on it.
To answer your questinos, I generated #92 just by hardcoding "92" on the calls to createImage. So it has --developer-mode, because I didn't change that part of the ExecuteCommand.
I'm not able to use udf from the tools ppa because it has the guid bug. Fixed on the proposed ppa, so that's good now.


@Leo comments addressed, thx! Good idea the data directory, we can put the control template in a subdir there too
Cheers!