Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

build: write logs to separate file#230

Merged
JustinBeckwith merged 2 commits intogoogleapis:masterfrom
callmehiphop:dg--ci-fix
Sep 20, 2018
Merged

build: write logs to separate file#230
JustinBeckwith merged 2 commits intogoogleapis:masterfrom
callmehiphop:dg--ci-fix

Conversation

@callmehiphop
Copy link
Copy Markdown
Contributor

We're seeing some unexpected errors come up in our syslog file. This PR runs tests against a different log file to prevent unexpected results.

@JustinBeckwith I'm not sure if we should continue to dig into the error we're seeing, but it seems to be related to the CI environment and not the client library itself.

Sep 20 07:44:04 verdaccio puppet-agent[659]: Could not request certificate: Failed to open TCP connection to puppet:8140

@callmehiphop callmehiphop requested review from a team and JustinBeckwith September 20, 2018 19:46
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 20, 2018
@ghost ghost assigned callmehiphop Sep 20, 2018
@JustinBeckwith
Copy link
Copy Markdown
Contributor

@callmehiphop Yeah... so 2 things there.

  1. Moving to a log specifically for testing logging makes a lot of sense. That way other things in the project can't interfere with what we're expecting.

  2. Yeah, this was me :( I had created a GCE VM with verdaccio on it in our project, and didn't realize that could potentially interfere with our e2e tests. I have deleted the VM.

Thank you for digging into this.

Copy link
Copy Markdown
Contributor

@ofrobots ofrobots left a comment

Choose a reason for hiding this comment

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

LGTM once comment is addressed.

Comment thread system-test/logging.js Outdated

describe('logs', () => {
const log = logging.log('syslog');
const log = logging.log('systestlog');

This comment was marked as spam.

This comment was marked as spam.

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 20, 2018

Codecov Report

Merging #230 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #230   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines         369    369           
=====================================
  Hits          369    369

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 ff0c5ea...a3301e5. Read the comment docs.

@JustinBeckwith JustinBeckwith merged commit 677ccad into googleapis:master Sep 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants