Skip to content

Conversation

chenrui333
Copy link
Contributor

@chenrui333 chenrui333 changed the title Go modules Move to go modules Dec 13, 2019
@chenrui333
Copy link
Contributor Author

chenrui333 commented Dec 13, 2019

$ go test -race -covermode=atomic -c
# github.com/containerd/aufs [github.com/containerd/aufs.test]
./aufs.go:246: undefined: snapshots.WalkFunc
./aufs.go:252: too many arguments in call to storage.WalkInfo
./aufs.go:441: undefined: unix.Mount

@AkihiroSuda
Copy link
Member

should be consistent with containerd/zfs#26

Signed-off-by: Rui Chen <chenrui333@gmail.com>
Signed-off-by: Rui Chen <chenrui333@gmail.com>
@chenrui333
Copy link
Contributor Author

@AkihiroSuda FYI, I will spend more time on this later today or tomorrow. :)

Signed-off-by: Rui Chen <chenrui333@gmail.com>
@codecov-io
Copy link

Codecov Report

Merging #18 into master will decrease coverage by 54.35%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #18       +/-   ##
==========================================
- Coverage   56.01%   1.65%   -54.36%     
==========================================
  Files           1       1               
  Lines         241     241               
==========================================
- Hits          135       4      -131     
- Misses         72     236      +164     
+ Partials       34       1       -33
Impacted Files Coverage Δ
aufs.go 1.65% <0%> (-54.36%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 371312c...6f1a47b. Read the comment docs.

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fuweid fuweid merged commit 76944a9 into containerd:master Jan 6, 2020

before_script:
- pushd ..; git clone https://github.com/containerd/project; popd

script:
- DCO_VERBOSITY=-q ../project/script/validate/dco
- ../project/script/validate/fileheader ../project/
- go test -race -covermode=atomic -c
- sudo ./aufs.test -test.root -test.v -test.coverprofile=coverage.txt
- go test -v -race -covermode=atomic -coverprofile=coverage.txt ./...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this part broke the CI, @chenrui333 could you revert this part?

=== RUN   TestAufs
--- SKIP: TestAufs (0.00s)
    helpers_unix.go:41: skipping test that requires root

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, I will fix it now!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR, #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants