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

Stable 1.1.1 candidate #104

Merged
merged 10 commits into from Aug 29, 2018
Merged

Stable 1.1.1 candidate #104

merged 10 commits into from Aug 29, 2018

Conversation

egernst
Copy link
Member

@egernst egernst commented Aug 21, 2018

analyzed each patch from HEAD (6f209b7) to 1.1.0.

Analysis:
1.1.1 | * 494d0d8 Makefile: Add DESTDIR variable support.

1.1.1 | * 7fd3734 logging: Fix incorrect logger usage

1.1.1 | * ec252d8 logging: Redirect yamux warnings/errors to logger

1.1.1 | * 1fbb8b3 proxy: wait copy goroutine to quit
1.1.1 | * 22c6f40 proxy: close yamux session properly

NO * c416c9f Merge pull request #91 from sboeuf/introduce_heartbeat_yamux
| * 063d58f proxy: Maintain communication state with a heartbeat

NO | * 1672418 logging: Add sandbox CLI option
1.1.1 | * 9b6bb05 logging: Display standard announce message
1.1.1 | * 246f707 CI: Update bash on Travis OSX for hashes

1.1.1 | * 73dbb10 logger: Die if unable to create syslog hook
1.1.1 | * 0cfa402 main: Exit on fatal error
1.1.1 | * 7681a94 logging: Use WithError() for all errors

@egernst egernst added the review label Aug 21, 2018
@egernst
Copy link
Member Author

egernst commented Aug 21, 2018

@jodh-intel @bergwolf @devimc PTAL and ACK

@codecov
Copy link

codecov bot commented Aug 21, 2018

Codecov Report

Merging #104 into stable-1.1 will increase coverage by 2.58%.
The diff coverage is 22.44%.

@@              Coverage Diff               @@
##           stable-1.1     #104      +/-   ##
==============================================
+ Coverage       34.21%   36.79%   +2.58%     
==============================================
  Files               2        2              
  Lines             228      250      +22     
==============================================
+ Hits               78       92      +14     
- Misses            139      150      +11     
+ Partials           11        8       -3

@opendev-zuul
Copy link

opendev-zuul bot commented Aug 21, 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

@devimc
Copy link

devimc commented Aug 22, 2018

CPU tests are not happy,

@jodh-intel
Copy link
Contributor

@egernst - this branch has conflicts.

jodh-intel and others added 10 commits August 24, 2018 08:59
Use the standard `logrus.WithError()` API to handle logging of all
errors.

Fixes #85.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Rather than just returning (or continuing in some cases),
always `exit(1)` on fatal error to indicate failure.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
The `setupLogger()` function used to ignore a failure to create a
syslog hook. This is not what we want since without it, all output will
go to `stderr`, which will be discarded.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
The version of bash provided by OSX under Travis is too old to support
`typeset -A`, so install a newer version using homebrew.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
For parity with other system components, Change the initial log message
to show the standard "announce" message tag along with fields for each
of the command-line options.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
When cleaning up, we need to make sure the yamux session is closed as
well. It does not close the session by just closing the listener.

OTOH, it closes all streams if the session is closed.

Fixes: #93

Signed-off-by: Peng Tao <bergwolf@gmail.com>
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
yamux stream closing is aync. Use a wait group to make sure
when we quit the serve() goroutine, all the stream copy goroutines
have quited as well.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
Capture yamux messages to the logger.

Fixes #88.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
Correct an invalid use of the logger where an argument was passed to
`Debug()` (should have been `Debugf()`) by using of `WithError()`
instead.

Fixes #98.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Add DESTDIR variable, by default the path is `/` (root).

Default variables:

PREFIX := usr
LIBEXECDIR := libexec
PROJECT := kata-containers

If someone does not want to use those varibles can use INSTALLDIR.

If defined the kata-proxy will be intalled in the new destination
defined there.

Fixes: #101

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
@opendev-zuul
Copy link

opendev-zuul bot commented Aug 24, 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

@jcvenegas
Copy link
Member

CPU test still running (and failing) in initrd job should be skipped.

@jcvenegas
Copy link
Member

travis job failing in os x , this is expected I think.

@jcvenegas
Copy link
Member

jcvenegas commented Aug 24, 2018

centos job failing

Wrong number of containers running (2 != 0) - stopping

edit:
probably is related with:

kata-containers/agent#329

@jodh-intel
Copy link
Contributor

Ouch! But great that the soak test caught this! Do you recall which commit might be problematic @grahamwhaley?

@grahamwhaley
Copy link
Contributor

We did a fix to locate the correct QEMU path - that could be it - a fix to the test that is. Let me go peek

@grahamwhaley
Copy link
Contributor

Could it be this: kata-containers/tests#611
We started to fail the test when we moved to qemu-lite, as the qemu path lookup was a bit noddy, so looked for the 'wrong qemu', and thus could not count the number of running runtimes.

@jcvenegas
Copy link
Member

ready to merge

@jodh-intel
Copy link
Contributor

Giving the last Travis build one last opportunity to pass... ;)

@jodh-intel
Copy link
Contributor

jodh-intel commented Aug 29, 2018

The Travis error is osx only (missing yq issue), so...

lgtm

Approved with PullApprove

@chavafg
Copy link
Contributor

chavafg commented Aug 29, 2018

lgtm

Copy link

@devimc devimc left a comment

Choose a reason for hiding this comment

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

lgtm

@devimc devimc merged commit fe9751d into stable-1.1 Aug 29, 2018
@egernst egernst removed the review label Aug 29, 2018
@egernst egernst deleted the stable-1.1.1-candidate branch September 13, 2018 13:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants