Skip to content

Bug 1874696: Remove systemctl calls#785

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
juanluisvaladas:replace_systemctl
Sep 30, 2020
Merged

Bug 1874696: Remove systemctl calls#785
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
juanluisvaladas:replace_systemctl

Conversation

@juanluisvaladas
Copy link
Copy Markdown
Contributor

@juanluisvaladas juanluisvaladas commented Sep 9, 2020

/assign @pliurh

When systemctl is run in a separate PID namespace where PID 1 isn't systemd, it doesn't behave the normal way: systemd/systemd#11300

The solution for this is to entirely remove calls to systemctl calls.

Copy link
Copy Markdown
Contributor

@pliurh pliurh left a comment

Choose a reason for hiding this comment

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

After fixing the nits, It works as expected in my environment.

Comment thread bindata/network/openshift-sdn/sdn-ovs.yaml Outdated
Comment thread bindata/network/openshift-sdn/sdn-ovs.yaml Outdated
Comment thread bindata/network/openshift-sdn/sdn-ovs.yaml
Comment thread bindata/network/openshift-sdn/sdn-ovs.yaml Outdated
Comment thread bindata/network/openshift-sdn/sdn-ovs.yaml Outdated
Comment thread bindata/network/openshift-sdn/sdn-ovs.yaml
Comment thread bindata/network/openshift-sdn/sdn-ovs.yaml Outdated
@pliurh
Copy link
Copy Markdown
Contributor

pliurh commented Sep 10, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 10, 2020
@pliurh
Copy link
Copy Markdown
Contributor

pliurh commented Sep 10, 2020

/assign @knobunc

@pliurh
Copy link
Copy Markdown
Contributor

pliurh commented Sep 10, 2020

@juanluisvaladas Could you put the bz id 1874696 in the title?

@juanluisvaladas
Copy link
Copy Markdown
Contributor Author

/retitle Bug 1874696: Replace systemctl calls with DBus API calls
/retest

@openshift-ci-robot openshift-ci-robot changed the title Replace systemctl calls with DBus API calls Bug 1874696: Replace systemctl calls with DBus API calls Sep 10, 2020
@openshift-ci-robot openshift-ci-robot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Sep 10, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@juanluisvaladas: This pull request references Bugzilla bug 1874696, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.6.0) matches configured target release for branch (4.6.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
Details

In response to this:

Bug 1874696: Replace systemctl calls with DBus API calls

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.

@juanluisvaladas
Copy link
Copy Markdown
Contributor Author

/retest

2 similar comments
@juanluisvaladas
Copy link
Copy Markdown
Contributor Author

/retest

@juanluisvaladas
Copy link
Copy Markdown
Contributor Author

/retest

@danwinship
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 11, 2020
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

5 similar comments
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhat, danielmellado, danwinship, juanluisvaladas, pliurh

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

@abhat
Copy link
Copy Markdown
Contributor

abhat commented Sep 29, 2020

/hold

The upgrade job was for ovn. Need sdn upgrade passing as well.

@abhat
Copy link
Copy Markdown
Contributor

abhat commented Sep 29, 2020

/hold

@juanluisvaladas
Copy link
Copy Markdown
Contributor Author

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 29, 2020
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

1 similar comment
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@abhat
Copy link
Copy Markdown
Contributor

abhat commented Sep 29, 2020

@abhat abhat mentioned this pull request Sep 29, 2020
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

5 similar comments
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@abhat
Copy link
Copy Markdown
Contributor

abhat commented Sep 30, 2020

@knobunc, need another override on the e2e-upgrade job.

@trozet
Copy link
Copy Markdown
Contributor

trozet commented Sep 30, 2020

/override ci/prow/e2e-upgrade

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@trozet: Overrode contexts on behalf of trozet: ci/prow/e2e-upgrade

Details

In response to this:

/override ci/prow/e2e-upgrade

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
Copy link
Copy Markdown
Contributor

openshift-ci-robot commented Sep 30, 2020

@juanluisvaladas: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-azure bf3fa51 link /test e2e-azure

Full PR test history. Your PR dashboard.

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
Copy Markdown
Contributor

/retest

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

@openshift-merge-robot openshift-merge-robot merged commit 25ff697 into openshift:master Sep 30, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@juanluisvaladas: All pull requests linked via external trackers have merged:

Bugzilla bug 1874696 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1874696: Remove systemctl calls

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.

vrutkovs pushed a commit to vrutkovs/ci-tools that referenced this pull request Oct 2, 2020
…iodSeconds

Sometimes test steps like updates take a long time [1].  When that
happens, something wrapping the workflow may be timed out instead, and
the whole thing gets torn down without any post-test gather/teardown
steps running.  With this commit, we expose two timeout-related
properties from PodSpec [2] to step maintainers to use to control this
behavior.  Step maintainers can now set per-step timeouts that are
comfortably less than the wrapper timeout, ensuring that slow/hung
steps get killed, and the remaining steps have some time to gather
details that will explain the delay and perform other teardown.

I personally prefer matching the casing of the wrapped Kubernetes
properties, but Bruno and Petr prefer matching the snake_casing of the
existing step-config properties [3], so that's what we have in this
commit.

[1]: openshift/cluster-network-operator#785 (comment)
[2]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podspec-v1-core
[3]: openshift#1257 (comment)
vrutkovs pushed a commit to vrutkovs/ci-tools that referenced this pull request Oct 3, 2020
…iodSeconds

Sometimes test steps like updates take a long time [1].  When that
happens, something wrapping the workflow may be timed out instead, and
the whole thing gets torn down without any post-test gather/teardown
steps running.  With this commit, we expose two timeout-related
properties from PodSpec [2] to step maintainers to use to control this
behavior.  Step maintainers can now set per-step timeouts that are
comfortably less than the wrapper timeout, ensuring that slow/hung
steps get killed, and the remaining steps have some time to gather
details that will explain the delay and perform other teardown.

I personally prefer matching the casing of the wrapped Kubernetes
properties, but Bruno and Petr prefer matching the snake_casing of the
existing step-config properties [3], so that's what we have in this
commit.

[1]: openshift/cluster-network-operator#785 (comment)
[2]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podspec-v1-core
[3]: openshift#1257 (comment)
wking added a commit to wking/ci-tools that referenced this pull request Oct 5, 2020
…iodSeconds

Sometimes test steps like updates take a long time [1].  When that
happens, something wrapping the workflow may be timed out instead, and
the whole thing gets torn down without any post-test gather/teardown
steps running.  With this commit, we expose two timeout-related
properties from PodSpec [2] to step maintainers to use to control this
behavior.  Step maintainers can now set per-step timeouts that are
comfortably less than the wrapper timeout, ensuring that slow/hung
steps get killed, and the remaining steps have some time to gather
details that will explain the delay and perform other teardown.

I personally prefer matching the casing of the wrapped Kubernetes
properties, but Bruno and Petr prefer matching the snake_casing of the
existing step-config properties [3], so that's what we have in this
commit.

It seems like we'd want these to be configurable alongside all the
places where 'commands' was configurable.  But:

* I dunno what PipelineImageCacheStepConfiguration is about, so I did
  not add these properties there.
* Steve says he doesn't want them on TestStepConfiguration [4], which
  handles the 'tests' section of the configuration, including
  container, template, multi-step tests [5].

So I'm only adding them to the single-step LiteralTestStep.

[1]: openshift/cluster-network-operator#785 (comment)
[2]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podspec-v1-core
[3]: openshift#1257 (comment)
[4]: openshift#1257 (comment)
[5]: openshift#1257 (comment)
wking added a commit to wking/ci-tools that referenced this pull request Oct 5, 2020
…iodSeconds

Sometimes test steps like updates take a long time [1].  When that
happens, something wrapping the workflow may be timed out instead, and
the whole thing gets torn down without any post-test gather/teardown
steps running.  With this commit, we expose two timeout-related
properties from PodSpec [2] to step maintainers to use to control this
behavior.  Step maintainers can now set per-step timeouts that are
comfortably less than the wrapper timeout, ensuring that slow/hung
steps get killed, and the remaining steps have some time to gather
details that will explain the delay and perform other teardown.

I personally prefer matching the casing of the wrapped Kubernetes
properties, but Bruno and Petr prefer matching the snake_casing of the
existing step-config properties [3], so that's what we have in this
commit.

It seems like we'd want these to be configurable alongside all the
places where 'commands' was configurable.  But:

* I dunno what PipelineImageCacheStepConfiguration is about, so I did
  not add these properties there.
* Steve says he doesn't want them on TestStepConfiguration [4], which
  handles the 'tests' section of the configuration, including
  container, template, multi-step tests [5].

So I'm only adding them to the single-step LiteralTestStep.

[1]: openshift/cluster-network-operator#785 (comment)
[2]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podspec-v1-core
[3]: openshift#1257 (comment)
[4]: openshift#1257 (comment)
[5]: openshift#1257 (comment)
vrutkovs pushed a commit to vrutkovs/ci-tools that referenced this pull request Oct 6, 2020
…iodSeconds

Sometimes test steps like updates take a long time [1].  When that
happens, something wrapping the workflow may be timed out instead, and
the whole thing gets torn down without any post-test gather/teardown
steps running.  With this commit, we expose two timeout-related
properties from PodSpec [2] to step maintainers to use to control this
behavior.  Step maintainers can now set per-step timeouts that are
comfortably less than the wrapper timeout, ensuring that slow/hung
steps get killed, and the remaining steps have some time to gather
details that will explain the delay and perform other teardown.

I personally prefer matching the casing of the wrapped Kubernetes
properties, but Bruno and Petr prefer matching the snake_casing of the
existing step-config properties [3], so that's what we have in this
commit.

[1]: openshift/cluster-network-operator#785 (comment)
[2]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podspec-v1-core
[3]: openshift#1257 (comment)
wking added a commit to wking/ci-tools that referenced this pull request Oct 7, 2020
…iodSeconds

Sometimes test steps like updates take a long time [1].  When that
happens, something wrapping the workflow may be timed out instead, and
the whole thing gets torn down without any post-test gather/teardown
steps running.  With this commit, we expose two timeout-related
properties from PodSpec [2] to step maintainers to use to control this
behavior.  Step maintainers can now set per-step timeouts that are
comfortably less than the wrapper timeout, ensuring that slow/hung
steps get killed, and the remaining steps have some time to gather
details that will explain the delay and perform other teardown.

I personally prefer matching the casing of the wrapped Kubernetes
properties, but Bruno and Petr prefer matching the snake_casing of the
existing step-config properties [3], so that's what we have in this
commit.

It seems like we'd want these to be configurable alongside all the
places where 'commands' was configurable.  But:

* I dunno what PipelineImageCacheStepConfiguration is about, so I did
  not add these properties there.
* Steve says he doesn't want them on TestStepConfiguration [4], which
  handles the 'tests' section of the configuration, including
  container, template, multi-step tests [5].

So I'm only adding them to the single-step LiteralTestStep.

[1]: openshift/cluster-network-operator#785 (comment)
[2]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podspec-v1-core
[3]: openshift#1257 (comment)
[4]: openshift#1257 (comment)
[5]: openshift#1257 (comment)
wking added a commit to wking/ci-tools that referenced this pull request Oct 7, 2020
…iodSeconds

Sometimes test steps like updates take a long time [1].  When that
happens, something wrapping the workflow may be timed out instead, and
the whole thing gets torn down without any post-test gather/teardown
steps running.  With this commit, we expose two timeout-related
properties from PodSpec [2] to step maintainers to use to control this
behavior.  Step maintainers can now set per-step timeouts that are
comfortably less than the wrapper timeout, ensuring that slow/hung
steps get killed, and the remaining steps have some time to gather
details that will explain the delay and perform other teardown.

I personally prefer matching the casing of the wrapped Kubernetes
properties, but Bruno and Petr prefer matching the snake_casing of the
existing step-config properties [3], so that's what we have in this
commit.

It seems like we'd want these to be configurable alongside all the
places where 'commands' was configurable.  But:

* I dunno what PipelineImageCacheStepConfiguration is about, so I did
  not add these properties there.
* Steve says he doesn't want them on TestStepConfiguration [4], which
  handles the 'tests' section of the configuration, including
  container, template, multi-step tests [5].

So I'm only adding them to the single-step LiteralTestStep.

[1]: openshift/cluster-network-operator#785 (comment)
[2]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podspec-v1-core
[3]: openshift#1257 (comment)
[4]: openshift#1257 (comment)
[5]: openshift#1257 (comment)
wking added a commit to wking/ci-tools that referenced this pull request Oct 8, 2020
…iodSeconds

Sometimes test steps like updates take a long time [1].  When that
happens, something wrapping the workflow may be timed out instead, and
the whole thing gets torn down without any post-test gather/teardown
steps running.  With this commit, we expose two timeout-related
properties from PodSpec [2] to step maintainers to use to control this
behavior.  Step maintainers can now set per-step timeouts that are
comfortably less than the wrapper timeout, ensuring that slow/hung
steps get killed, and the remaining steps have some time to gather
details that will explain the delay and perform other teardown.

I personally prefer matching the casing of the wrapped Kubernetes
properties, but Bruno and Petr prefer matching the snake_casing of the
existing step-config properties [3], so that's what we have in this
commit.

It seems like we'd want these to be configurable alongside all the
places where 'commands' was configurable.  But:

* I dunno what PipelineImageCacheStepConfiguration is about, so I did
  not add these properties there.
* Steve says he doesn't want them on TestStepConfiguration [4], which
  handles the 'tests' section of the configuration, including
  container, template, multi-step tests [5].

So I'm only adding them to the single-step LiteralTestStep.

[1]: openshift/cluster-network-operator#785 (comment)
[2]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podspec-v1-core
[3]: openshift#1257 (comment)
[4]: openshift#1257 (comment)
[5]: openshift#1257 (comment)
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. bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.