Closed inercia closed 5 years ago
There are some style check warnings here, can you please address them @inercia?
There are some style check warnings here, can you please address them @inercia?
From the output, the error does not really seem related to my code:
[ke8_PR-714-72TB2RPYD7J52P43BXJMJ] Running shell script
+ tox -e flake8 -- --format=junit-xml --output-file junit.xml
flake8 create: /home/jenkins/workspace/ke8_PR-714-72TB2RPYD7J52P43BXJMJ/.tox/flake8
flake8 installdeps: flake8==3.5.0, flake8_formatter_junit_xml==0.0.6
flake8 runtests: PYTHONHASHSEED='2717468562'
flake8 runtests: commands[0] | flake8 --format=junit-xml --output-file junit.xml
ERROR: InvocationError: '/home/jenkins/workspace/ke8_PR-714-72TB2RPYD7J52P43BXJMJ/.tox/flake8/bin/flake8 --format=junit-xml --output-file junit.xml'
___________________________________ summary ____________________________________
ERROR: flake8: commands failed
script returned exit code 1
Hmm, jenkins show this trailing space errors: http://jenkins.caasp.suse.net/blue/organizations/jenkins/salt.flake8/detail/PR-714/2/tests
Edit: it should also be rebased on top of master for the tox3 error to go away.
@MalloZup Please when adding a commit to the PR make sure that it is meaningful and has a proper description. We should make commit messages more detailed.
let me reammend this thx @ereslibre
or @inercia feel free to rebase my commit to your commit into only 1
Please do not merge this. It is not ready.
Current solution still creates a temporary file in the same dir as the final file, but with the same contents of the final file, so the kubelet should be happy with that...
@inercia could you please rebase your branch on top of current master? Thank you
Blocked on Jenkins failing for reasons not related to this PR.
Can you retrigger?
@inercia Please rebase your branch against otherwise tests will not pass
@MalloZup the CI failures are legitimate. The branch needs rebasing to use the latest Jenkinsfiles
When using
file.managed
, create a temporary file that is in/tmp
instead of using the same directory the target file is. This fixes some problems with programs/daemons that could be monitoring that directory (like thekubelet
with/etc/kubernetes/manifests
)bsc#1123716