Merge lp:~sergiusens/snappy/backportReviewNOT into lp:~snappy-dev/snappy/15.04-deprecated

Proposed by Sergio Schvezov
Status: Merged
Approved by: Sergio Schvezov
Approved revision: 439
Merged at revision: 439
Proposed branch: lp:~sergiusens/snappy/backportReviewNOT
Merge into: lp:~snappy-dev/snappy/15.04-deprecated
Diff against target: 43 lines (+14/-12)
1 file modified
cmd/snappy/cmd_build.go (+14/-12)
To merge this branch: bzr merge lp:~sergiusens/snappy/backportReviewNOT
Reviewer Review Type Date Requested Status
John Lenton (community) Approve
Review via email: mp+258549@code.launchpad.net

This proposal supersedes a proposal from 2015-05-07.

Commit message

Backport disablement of review tools

To post a comment you must log in.
Revision history for this message
John Lenton (chipaca) :
review: Approve
Revision history for this message
Snappy Tarmac (snappydevtarmac) wrote :
Download full text (6.4 KiB)

The attempt to merge lp:~sergiusens/snappy/backportReviewNOT into lp:snappy/15.04 failed. Below is the output from the failed tests.

Checking formatting
Installing godeps
Install golint
Obtaining dependencies
update code.google.com/p/go.crypto failed; trying to fetch newer version
update github.com/blakesmith/ar failed; trying to fetch newer version
code.google.com/p/go.crypto now at 69e2a90ed92d03812364aeb947b7068dc42e561e
update github.com/cheggaaa/pb failed; trying to fetch newer version
github.com/blakesmith/ar now at c9a977dd0cc1392b023382c7bfa5a22af8d3b730
update github.com/jessevdk/go-flags failed; trying to fetch newer version
github.com/cheggaaa/pb now at e8c7cc515bfde3e267957a3b110080ceed51354e
update github.com/juju/loggo failed; trying to fetch newer version
github.com/jessevdk/go-flags now at 15347ef417a300349807983f15af9e65cd2e1b3a
update github.com/mvo5/goconfigparser failed; trying to fetch newer version
github.com/juju/loggo now at 4c7cbce140ca070eeb59a28f4bf9507e511711f9
update gopkg.in/yaml.v2 failed; trying to fetch newer version
github.com/mvo5/goconfigparser now at 26426272dda20cc76aa1fa44286dc743d2972fe8
update launchpad.net/gocheck failed; trying to fetch newer version
gopkg.in/yaml.v2 now at 49c95bdc21843256fb6c4e0d370a05f24a0bf213
launchpad.net/gocheck now at <email address hidden>
Building
Running tests from /tmp/tmp.TGky9uJAEX/src/launchpad.net/snappy
=== RUN Test
OK: 8 passed
--- PASS: Test (0.89 seconds)
PASS
coverage: 79.9% of statements
ok launchpad.net/snappy/clickdeb 0.904s coverage: 79.9% of statements
FAIL launchpad.net/snappy/cmd/snappy [build failed]
=== RUN Test
OK: 24 passed
--- PASS: Test (0.15 seconds)
PASS
coverage: 100.0% of statements
ok launchpad.net/snappy/coreconfig 0.159s coverage: 100.0% of statements
=== RUN Test
OK: 30 passed
--- PASS: Test (1.64 seconds)
PASS
coverage: 80.3% of statements
ok launchpad.net/snappy/helpers 1.653s coverage: 80.3% of statements
=== RUN Test
OK: 7 passed
--- PASS: Test (0.10 seconds)
PASS
coverage: 92.5% of statements
ok launchpad.net/snappy/logger 0.113s coverage: 92.5% of statements
=== RUN Test
OK: 36 passed
--- PASS: Test (0.29 seconds)
PASS
coverage: 81.5% of statements
ok launchpad.net/snappy/partition 0.305s coverage: 81.5% of statements
=== RUN Test
OK: 12 passed
--- PASS: Test (0.22 seconds)
PASS
coverage: 87.8% of statements
ok launchpad.net/snappy/policy 0.250s coverage: 87.8% of statements
=== RUN Test
OK: 3 passed
--- PASS: Test (0.01 seconds)
PASS
coverage: 84.8% of statements
ok launchpad.net/snappy/priv 0.009s coverage: 84.8% of statements
=== RUN Test
OK: 4 passed
--- PASS: Test (0.01 seconds)
PASS
coverage: 50.0% of statements
ok launchpad.net/snappy/progress 0.040s coverage: 50.0% of statements
=== RUN Test
OK: 6 passed
--- PASS: Test (0.01 seconds)
PASS
coverage: 100.0% of statements
ok launchpad.net/snappy/release 0.020s coverage: 100.0% of statements
=== RUN Test
2015-05-07 20:43:52 ERROR snappy logger.go:199 hello-app.potato failed to install: a package by that name is already installed
2015-05-07 20:43:52 ERROR snappy logger.go:199 foo failed to install: the given snap is already installed
f...

Read more...

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'cmd/snappy/cmd_build.go'
2--- cmd/snappy/cmd_build.go 2015-04-20 10:40:12 +0000
3+++ cmd/snappy/cmd_build.go 2015-05-07 21:10:59 +0000
4@@ -19,8 +19,6 @@
5
6 import (
7 "fmt"
8- "os"
9- "os/exec"
10
11 "launchpad.net/snappy/snappy"
12 )
13@@ -53,16 +51,20 @@
14 return err
15 }
16
17- _, err = exec.LookPath(clickReview)
18- if err != nil {
19- fmt.Fprintf(os.Stderr, "Warning: could not review package (%s not available)\n", clickReview)
20- }
21-
22- cmd := exec.Command(clickReview, snapPackage)
23- cmd.Stdout = os.Stdout
24- cmd.Stderr = os.Stderr
25- // we ignore the error for now
26- _ = cmd.Run()
27+ /*
28+ Disabling review tools run until the output reflects reality more closely
29+
30+ _, err = exec.LookPath(clickReview)
31+ if err != nil {
32+ fmt.Fprintf(os.Stderr, "Warning: could not review package (%s not available)\n", clickReview)
33+ }
34+
35+ cmd := exec.Command(clickReview, snapPackage)
36+ cmd.Stdout = os.Stdout
37+ cmd.Stderr = os.Stderr
38+ // we ignore the error for now
39+ _ = cmd.Run()
40+ */
41
42 fmt.Printf("Generated '%s' snap\n", snapPackage)
43 return nil

Subscribers

People subscribed via source and target branches