Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish workflow and tests on self-hosted mac os runners do not work. #840

Closed
psergee opened this issue May 7, 2024 · 2 comments · Fixed by #842
Closed

Publish workflow and tests on self-hosted mac os runners do not work. #840

psergee opened this issue May 7, 2024 · 2 comments · Fixed by #842
Assignees
Labels
2sp bug Something isn't working teamE

Comments

@psergee
Copy link
Collaborator

psergee commented May 7, 2024

Currently full ci tests do not pass on mac os due to already running etcd processes on self-hosted runners.
tt packaging (publish workflow) also fails after mac os version update on github runners:

In file included from ../../../../go/pkg/mod/github.com/tarantool/go-openssl@v0.0.8-0.20230307065445-720eeb389195/alloc.go:3:
./shim.h:21:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
^~~~~~~~~~~~~~~
1 error generated.

@psergee psergee added bug Something isn't working teamE 2sp labels May 7, 2024
@oleg-jukovec
Copy link
Contributor

It could be enough to install openssl directly with brew:

https://github.com/tarantool/go-openssl/blob/576e43d9a6ce4634345a58e35cd85ce47bc1a4bd/README.md?plain=1#L28

better0fdead added a commit that referenced this issue May 16, 2024
Pytest finalizers don't run on SIGTERM only on SIGINT.
Intercept SIGTERM and send SIGINT instead.

Part of #840
better0fdead added a commit that referenced this issue May 16, 2024
Added step to kill etcd after integration tests on macOs, if it was left by 'tt'.

Etcd can be still running after integration tests when:
  1. pytest recieve SIGALRM (can be caused by pytest-timeout plugin)
  2. when pytest crashes
In both cases finalizers are not invoked, so etcd is not stopped.

Part of #840
better0fdead added a commit that referenced this issue May 16, 2024
Added fixture to intercept SIGTERM signal in integration tests.
Pytest finalizers don't run on SIGTERM only on SIGINT.
Intercept SIGTERM and send SIGINT instead.
See: pytest-dev/pytest#5243

Part of #840
better0fdead added a commit that referenced this issue May 16, 2024
Added step to kill etcd after integration tests on macOs, if it was left by 'tt'.

Etcd can be still running after integration tests when:
  1. pytest recieve SIGALRM (can be caused by pytest-timeout plugin)
  2. when pytest crashes
In both cases finalizers are not invoked, so etcd is not stopped.

Part of #840
better0fdead added a commit that referenced this issue May 16, 2024
Changed macOs version to 'macos-13'.
'macos-latest' uses 'arm64' processor and we need to build for 'amd64'.

Closes #840
better0fdead added a commit that referenced this issue May 16, 2024
Changed macOs version to 'macos-13'.
'macos-latest' uses 'arm64' processor and we need to build for 'amd64'.

Closes #840
better0fdead added a commit that referenced this issue May 16, 2024
Changed macOs version to 'macos-13'.
'macos-latest' uses 'arm64' processor and we need to build for 'amd64'.

Part of #840
better0fdead added a commit that referenced this issue May 16, 2024
Deleted 'build OpenSSL 3.0' step on macOs runner.
OpenSSL is already pre-installed on macOs github runners.

Closes #840
better0fdead added a commit that referenced this issue May 16, 2024
Deleted 'build OpenSSL 3.0' step on macOs runner.
OpenSSL is already pre-installed on macOs github runners.

Closes #840
better0fdead added a commit that referenced this issue May 16, 2024
Deleted 'build OpenSSL 3.0' step on macOs runner.
OpenSSL is already pre-installed on macOs github runners.

Closes #840
better0fdead added a commit that referenced this issue May 16, 2024
Deleted 'build OpenSSL 3.0' step on macOs runner.
OpenSSL is already pre-installed on macOs github runners.

Closes #840
better0fdead added a commit that referenced this issue May 21, 2024
Added fixture to intercept SIGTERM signal in integration tests.
Pytest finalizers don't run on SIGTERM.
Intercept SIGTERM and send SIGINT instead.
See: pytest-dev/pytest#5243

Part of #840
better0fdead added a commit that referenced this issue May 21, 2024
Updated tarantool version on macOs runner to '3.0.2'.

Part of #840
better0fdead added a commit that referenced this issue May 21, 2024
Added step to kill etcd after integration tests on macOs, if it was left by 'tt'.

Etcd can be still running after integration tests when:
  1. pytest recieve SIGALRM (can be caused by pytest-timeout plugin)
  2. when pytest crashes
In both cases finalizers are not invoked, so etcd is not stopped.

Part of #840
better0fdead added a commit that referenced this issue May 21, 2024
Changed macOs version to 'macos-13'.
'macos-latest' uses 'arm64' processor and we need to build for 'amd64'.

Part of #840
better0fdead added a commit that referenced this issue May 21, 2024
Deleted 'build OpenSSL 3.0' step on macOs runner.
OpenSSL is already pre-installed on macOs github runners.

Closes #840
better0fdead added a commit that referenced this issue May 21, 2024
Fixed flags for macOs build.

Closes #840
better0fdead added a commit that referenced this issue May 21, 2024
Added step to kill etcd after integration tests on macOs, if it was left by 'tt'.

Etcd can be still running after integration tests when:
  1. pytest recieve SIGALRM (can be caused by pytest-timeout plugin)
  2. when pytest crashes
In both cases finalizers are not invoked, so etcd is not stopped.

Part of #840
better0fdead added a commit that referenced this issue May 21, 2024
Changed macOs version to 'macos-13'.
'macos-latest' uses 'arm64' processor and we need to build for 'amd64'.

Part of #840
better0fdead added a commit that referenced this issue May 21, 2024
Fixed flags for macOs build.

Closes #840
better0fdead added a commit that referenced this issue May 21, 2024
Added step to kill etcd after integration tests on macOs, if it was left by 'tt'.

Etcd can be still running after integration tests when:
  1. pytest recieve SIGALRM (can be caused by pytest-timeout plugin)
  2. when pytest crashes
In both cases finalizers are not invoked, so etcd is not stopped.

Part of #840
better0fdead added a commit that referenced this issue May 21, 2024
Changed macOs version to 'macos-13'.
'macos-latest' uses 'arm64' processor and we need to build for 'amd64'.

Part of #840
better0fdead added a commit that referenced this issue May 21, 2024
Fixed flags for macOs build.

Closes #840
better0fdead added a commit that referenced this issue May 21, 2024
Added step to kill etcd after integration tests on macOs, if it was left by 'tt'.

Etcd can be still running after integration tests when:
  1. pytest recieve SIGALRM (can be caused by pytest-timeout plugin)
  2. when pytest crashes
In both cases finalizers are not invoked, so etcd is not stopped.

Part of #840
better0fdead added a commit that referenced this issue May 21, 2024
Changed macOs version to 'macos-13'.
'macos-latest' uses 'arm64' processor and we need to build for 'amd64'.

Part of #840
better0fdead added a commit that referenced this issue May 21, 2024
Fixed flags for macOs build.

Closes #840
psergee pushed a commit that referenced this issue May 21, 2024
Added fixture to intercept SIGTERM signal in integration tests.
Pytest finalizers don't run on SIGTERM.
Intercept SIGTERM and send SIGINT instead.
See: pytest-dev/pytest#5243

Part of #840
psergee pushed a commit that referenced this issue May 21, 2024
Updated tarantool version on macOs runner to '3.0.2'.

Part of #840
psergee pushed a commit that referenced this issue May 21, 2024
Added step to kill etcd after integration tests on macOs, if it was left by 'tt'.

Etcd can be still running after integration tests when:
  1. pytest recieve SIGALRM (can be caused by pytest-timeout plugin)
  2. when pytest crashes
In both cases finalizers are not invoked, so etcd is not stopped.

Part of #840
psergee pushed a commit that referenced this issue May 21, 2024
Changed macOs version to 'macos-13'.
'macos-latest' uses 'arm64' processor and we need to build for 'amd64'.

Part of #840
psergee pushed a commit that referenced this issue May 21, 2024
Fixed flags for macOs build.

Closes #840
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2sp bug Something isn't working teamE
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants