Skip to content

Conversation

@Kami
Copy link
Member

@Kami Kami commented Apr 8, 2019

This pull request fixes bug in st2-self-check inadvertently introduced in this PR - StackStorm/st2tests#150.

It updates st2-self-check code so it only tries to run actions which name starts with test_.

(Per my comment in the other PR, I assume we ended up with this bug / regression due to lack of understanding of the difference between various test repos and packs we have - we need better developer documentation on that).

@Kami Kami added the bug label Apr 8, 2019
@Kami Kami added this to the 3.0.0 milestone Apr 8, 2019
@Kami
Copy link
Member Author

Kami commented Apr 8, 2019

With StackStorm/st2tests#153 which fixes the root cause, this change is not technically needed anymore, but I don't think it hurts either and it's an additional safe guard.

@Kami
Copy link
Member Author

Kami commented Apr 8, 2019

I noticed yet another "unrelated" self check issue which I fixed in bb8be32.

We didn't skip winrm runner tests by default so self check would fail (same as other Windows runners, those tests don't work out of the box and shouldn't run by default).

Kami added 5 commits April 8, 2019 15:01
stdout and stderr data with \n when pty is used.

When pty is used, default behavior is to replace all new line characters
\n with \r\n which is almost never desired.
continue
fi

if [ ${RUN_WINDOWS_TESTS} = "false" ] && [ ${TEST} = "tests.test_winrm_runners" ]; then
Copy link
Member Author

Choose a reason for hiding this comment

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

Just a heads up - that's something we missed while working on original WinRM runner PRs.

Those tests only works on servers which have access to a configured Windows host which is not the case for default StackStorm installation and st2-self-check script.

@Kami Kami merged commit 17985cc into master Apr 9, 2019
@Kami Kami deleted the update_st2_self_check branch April 9, 2019 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants