Skip to content

Bug 1764312: Eventrouter pod in CrashLoopBackOff status: "runtime error: invalid memory address or nil pointer dereference"#1777

Closed
openshift-cherrypick-robot wants to merge 1 commit intoopenshift:release-4.1from
openshift-cherrypick-robot:cherry-pick-1768-to-release-4.1
Closed

Bug 1764312: Eventrouter pod in CrashLoopBackOff status: "runtime error: invalid memory address or nil pointer dereference"#1777
openshift-cherrypick-robot wants to merge 1 commit intoopenshift:release-4.1from
openshift-cherrypick-robot:cherry-pick-1768-to-release-4.1

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #1768

/assign richm

https://bugzilla.redhat.com/show_bug.cgi?id=1756920
This tries to keep the functionality the same in 4.x as it was
in 3.x.  In 3.x, you had to:

- deploy the eventrouter with a pod name like "logging-eventrouter-*"
- deploy the eventrouter in the default namespace
- set `TRANSFORM_EVENTS=true`
- set `MERGE_JSON_LOG=true` (which was the default in 3.x)

In 4.x, the pod name changes to "eventrouter-*" to follow the convention
of our other logging pods.  The eventrouter defaults to running
in "openshift-logging" - it doesn't really matter, as long as it is
running in an "infra" namespace.  This change also enables
`MERGE_JSON_LOG=true` for eventrouter pods.
The biggest problem is that you have to set the cluster to unmanaged
in order to set `TRANSFORM_EVENTS=true`.  We could workaround that
by making `TRANSFORM_EVENTS=true` the default value.  That would
cause every kubernetes record to be checked to see if it looks like
and event, and process it as such if it matches.  I'm not sure what
the performance implications would be.
Also ports eventrouter test to 4.x
Also adds a test for eventrouter Info type support

update eventrouter to pick up fix for Bug 1701495
@openshift-ci-robot
Copy link

@openshift-cherrypick-robot: This pull request references Bugzilla bug 1762409, which is invalid:

  • expected the bug to target the "4.1.z" release, but it targets "4.2.z" instead
  • expected the bug to be in one of the following states: NEW, ASSIGNED, ON_DEV, POST, POST, but it is MODIFIED instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

[release-4.1] Bug 1762409: Fix memory dereference bug in eventrouter

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 4, 2019
@richm richm changed the title [release-4.1] Bug 1762409: Fix memory dereference bug in eventrouter Bug 1764312: Eventrouter pod in CrashLoopBackOff status: "runtime error: invalid memory address or nil pointer dereference" Nov 4, 2019
@openshift-ci-robot
Copy link

@openshift-cherrypick-robot: This pull request references Bugzilla bug 1764312, which is invalid:

  • expected the bug to be in one of the following states: NEW, ASSIGNED, ON_DEV, POST, POST, but it is VERIFIED instead
  • expected dependent Bugzilla bug 1762409 to be in one of the following states: VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but it is MODIFIED instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Bug 1764312: Eventrouter pod in CrashLoopBackOff status: "runtime error: invalid memory address or nil pointer dereference"

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@richm
Copy link
Contributor

richm commented Nov 4, 2019

NOTE to openshift patch manager/cherry-pick approver - this doesn't really fix Bug 1762409: Eventrouter pod in CrashLoopBackOff status: "runtime erro - the real fix for that bug was done in origin/eventrouter, fixed in the openshift-eventrouter rpm, and built into the eventrouter image. This PR is primarily for adding an eventrouter test for that BZ. Also, this BZ enhances the eventrouter test which blocks other PRs/BZs which depend on that test.

@richm
Copy link
Contributor

richm commented Nov 4, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 4, 2019
@richm richm added autoretest Please auto-retest this PR if one of the flaky tests fail component/fluentd kind/bug Categorizes issue or PR as related to a bug. release/4.1 labels Nov 4, 2019
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: openshift-cherrypick-robot, richm

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 4, 2019
@richm
Copy link
Contributor

richm commented Nov 4, 2019

/test full-integ-aws

2 similar comments
@richm
Copy link
Contributor

richm commented Nov 4, 2019

/test full-integ-aws

@richm
Copy link
Contributor

richm commented Nov 5, 2019

/test full-integ-aws

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

7 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

19 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@richm
Copy link
Contributor

richm commented Dec 3, 2019

this PR is blocked by #1794

@richm richm added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 3, 2019
@richm
Copy link
Contributor

richm commented Dec 3, 2019

hold until #1794 merges

@openshift-ci-robot
Copy link

@openshift-cherrypick-robot: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/full-integ-aws c6df8ac link /test full-integ-aws

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 22, 2020
@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 24, 2020
@jcantrill jcantrill closed this Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. autoretest Please auto-retest this PR if one of the flaky tests fail bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. component/fluentd do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. release/4.1 size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants