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

Compatibility with z/OS Unix #2888

Closed
msradam opened this issue Jan 31, 2023 · 2 comments · Fixed by #2892
Closed

Compatibility with z/OS Unix #2888

msradam opened this issue Jan 31, 2023 · 2 comments · Fixed by #2892
Labels
evaluation needed proposal needs to be validated or tested before fully implementing it in k6 feature
Milestone

Comments

@msradam
Copy link
Contributor

msradam commented Jan 31, 2023

Feature Description

Golang is now supported on IBM z/OS, which allows Golang code to be compiled and run on a Unix System Services shell (i.e. z/OS's version of Unix). This also means that existing Golang programs like k6 can be ported to z/OS and run natively on the platform. k6 would be an especially valuable tool for load testing APIs on real z/OS hardware.

I am interested in providing a compatibility update through updating specific build flags so that k6 can be built on z/OS "out of the box".

An example: spf13/afero#384
Here, I have submitted a PR to add zos build flags to afero, allowing it to be installed on z/OS.

I would also be glad to follow up on other updates needed so that k6 could be considered 'officially' supported on z/OS Unix.

Suggested Solution (optional)

I have already tested a simple compatibility fix by updating cmd/ui_unix.go
https://github.com/msradam/k6/blob/feature/zos-port/cmd/ui_unix.go

Along with the afero changes, this update allows k6 to run on z/OS. I would be glad to open a pull request, or make additional changes if necessary.

Already existing or connected issues / PRs (optional)

#2892

@na-- na-- added the evaluation needed proposal needs to be validated or tested before fully implementing it in k6 label Feb 1, 2023
@na--
Copy link
Member

na-- commented Feb 1, 2023

We'd be open to PRs for z/OS compatibility, especially if they as minor as adding a few build tags. Anything more involved could be subject to further discussion 😅

And, to be clear, at this point we don't intend to offer official z/OS builds or packages, run automated tests, or in any way guarantee z/OS compatibility on our side. Someone else will need to do that, we are just willing to accept minor patches that help you out so that ideally you won't need to fork the whole project.

@msradam
Copy link
Contributor Author

msradam commented Feb 1, 2023

Thank you for the response! I have created the PR and it is, as you said, minor tags for compatibility so I can clone the main project directly for future builds.

I would to glad to document the process of compiling and running tests for it for z/OS even if there are no plans for official compatibility. I appreciate your clarity.

@na-- na-- added this to the v0.44.0 milestone Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
evaluation needed proposal needs to be validated or tested before fully implementing it in k6 feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants