Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

cli: fix build#710

Merged
jodh-intel merged 1 commit intokata-containers:masterfrom
bergwolf:build
Sep 11, 2018
Merged

cli: fix build#710
jodh-intel merged 1 commit intokata-containers:masterfrom
bergwolf:build

Conversation

@bergwolf
Copy link
Copy Markdown
Member

Sadly CI failed to catch the broken line due to the fact that it is introduced by a different
PR that passed w/o the naming PR.

./config.go:604:27: config.DefaultMemSz undefined (type virtcontainers.HypervisorConfig has no field or method DefaultMemSz)
Makefile:331: recipe for target '/golang/src/github.com/kata-containers/runtime/kata-runtime' failed
make: *** [/golang/src/github.com/kata-containers/runtime/kata-runtime] Error 2

Fixes: #709

@katacontainersbot
Copy link
Copy Markdown
Contributor

PSS Measurement:
Qemu: 168151 KB
Proxy: 4209 KB
Shim: 8828 KB

Memory inside container:
Total Memory: 2043460 KB
Free Memory: 2003448 KB

@opendev-zuul
Copy link
Copy Markdown

opendev-zuul bot commented Sep 11, 2018

Build failed (third-party-check pipeline) integration testing with
OpenStack. For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

Sadly CI failed to catch the broken line due to the fact that it is introduced by a different
PR that passed w/o the naming PR.

./config.go:604:27: config.DefaultMemSz undefined (type virtcontainers.HypervisorConfig has no field or method DefaultMemSz)
Makefile:331: recipe for target '/golang/src/github.com/kata-containers/runtime/kata-runtime' failed
make: *** [/golang/src/github.com/kata-containers/runtime/kata-runtime] Error 2

Fixes: kata-containers#709

Signed-off-by: Peng Tao <bergwolf@gmail.com>
@katacontainersbot
Copy link
Copy Markdown
Contributor

PSS Measurement:
Qemu: 169860 KB
Proxy: 4065 KB
Shim: 8771 KB

Memory inside container:
Total Memory: 2043460 KB
Free Memory: 2003884 KB

@WeiZhang555
Copy link
Copy Markdown
Member

WeiZhang555 commented Sep 11, 2018

LGTM

Why CI didn't catch the broken line? Weird

Approved with PullApprove

@bergwolf
Copy link
Copy Markdown
Member Author

@WeiZhang555 It was merged in as a different PR which passed itself w/o the hypervisor config field rename. CI validation only merges the current PR to master. So even if two PRs both pass independently but when they are both merged to master, build may still break.

@opendev-zuul
Copy link
Copy Markdown

opendev-zuul bot commented Sep 11, 2018

Build failed (third-party-check pipeline) integration testing with
OpenStack. For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

@WeiZhang555
Copy link
Copy Markdown
Member

I see. This is hard to resolve, unless we force each PR to rebase and run another round of CI test before merging, even so there's still potential break possibility.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 11, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@52394c3). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #710   +/-   ##
=========================================
  Coverage          ?   65.32%           
=========================================
  Files             ?       85           
  Lines             ?     9945           
  Branches          ?        0           
=========================================
  Hits              ?     6497           
  Misses            ?     2796           
  Partials          ?      652

Copy link
Copy Markdown

@jodh-intel jodh-intel left a comment

Choose a reason for hiding this comment

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

Good catch and ... ouch! 😭

/cc @chavafg.

@jodh-intel
Copy link
Copy Markdown

Merging as we kinda need a buildable source tree... ;)

@jodh-intel jodh-intel merged commit daa80c2 into kata-containers:master Sep 11, 2018
@egernst egernst removed the review label Sep 11, 2018
@sboeuf sboeuf added the bug Incorrect behaviour label Sep 12, 2018
@sboeuf
Copy link
Copy Markdown

sboeuf commented Sep 12, 2018

@bergwolf @egernst correct me if I'm wrong, but even if this is a bug fix, it cannot be backported as the previous PR introducing the bug is not part of the stable branch (and should not be part of it), right?

@bergwolf bergwolf deleted the build branch September 13, 2018 03:25
@bergwolf
Copy link
Copy Markdown
Member Author

@sboeuf Yes, you are right.

@sboeuf
Copy link
Copy Markdown

sboeuf commented Sep 13, 2018

Thanks for confirmation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Incorrect behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants