Repository navigation
test/system: Don't check the output of 'toolbox run' - #438
Conversation
|
Build failed.
|
8bbd560 to
904fe63
Compare
|
Build failed.
|
|
Build failed.
|
|
Build failed.
|
|
Looks like I'll need to adjust the parts where the tests check what was written in stdout/stderr. The spinner breaks those test cases. |
Oh, really? Is it because the spinner just looks different now? I think that the spinner is written to the standard output in both the POSIX shell and Go versions. |
debarshiray
left a comment
There was a problem hiding this comment.
Thanks for updating the tests. Some quick comments:
I think the problem is in the |
|
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
|
Build failed.
|
|
Build failed.
|
|
@debarshiray This should be ready to be merged. The tests are not passing but they are working which is the main point of this PR. I'm just wondering about the additional dependency introduced in 11133ac. What do you think?? |
11133ac to
b3b5d3d
Compare
|
Build failed.
|
|
Tests should be ok now. #410 still needs to be sorted out but that is a different issue (I suspect this is something introduced by Podman but I'm not sure. We'll see if V2 makes a difference regarding this matter). Rawhide tests are failing but that is due to an old version of Podman being available. Newer versions should have all the necessarry fixes. |
|
recheck |
|
Build failed.
|
After actually trying out both packages and building the resulting binaries, It's not what I expected because But I cannot argue with actual data. :) Unless I am missing something. |
|
I discussed the spinner changes with @HarryMichal on Telegram, and he confirmed that there's no reason not to use the |
debarshiray
left a comment
There was a problem hiding this comment.
Oops, looks like I missed something:
5423408 to
8e83c61
Compare
|
Build failed.
|
8e83c61 to
4587b3a
Compare
|
Build failed.
|
|
/recheck |
|
recheck |
|
Build failed.
|
|
Build failed.
|
|
Build failed.
|
In the Go implementation, when the 'rm' and 'rmi' commands fail to remove a container or image, they don't use a non-zero exit code. There's currently no nice fix for this. So, the tests have been adjusted as a temporary measure. containers#438
New release out, we need to run the tests there. containers#438
Not all tests are the same and the ones we're currently running are system tests. Also the mention of 'podman-stable' is not that important because we're using the version in the 'stable' stream of Fedora releases. containers#438
For some reason running 'toolbox run echo Hello World' in the tests in
the environment of Zuul is causing problems. Bats saves the output of
ran command to $output that can be then checked if it contains the right
output. This variable sometimes holds in this case the right output
("Hello World") but more often it is blank, causing the tests to fail.
I don't know the culprit, so for now I'm commenting out the checks to
make the CI pass again.
containers#438
|
I merged the renaming of the files and test names. The only thing left is to figure out if we should notify Zuul about the toolbox run test failures. |
f47aa18 to
06413ce
Compare
|
Build failed.
|
For some reason running 'toolbox run echo Hello World' in the tests in
the environment of Zuul is causing problems. Bats saves the output of
ran command to $output that can be then checked if it contains the right
output. This variable sometimes holds in this case the right output
("Hello World") but more often it is blank, causing the tests to fail.
I don't know the culprit, so for now I'm commenting out the checks to
make the CI pass again.
containers#410
06413ce to
68c585f
Compare
|
Build failed.
|
Let's continue discussing that on #410 |
|
Hi, I was rewriting the bats tests (for practicing purposes) and I found this issue with the Here the test (using bats-assert): And the fail: As you can see, the outputs seem to be the same, but after some checking, I found that the After much testing I tried this: I couldn't make it work at the test comparison, but if I add the flag Well, I could make the comparison works with the assert's flag The same with the I guess it's something about the toolbox output. I hope this give you some useful info to debug the problem. |
Now that the rewritten version is the default, the tests need to be adjusted.
Also, we did not enable tests on Fedora 32 -> enabling with this.