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

Supporting gollvm (Go 1.15.2) #643

Open
advancedwebdeveloper opened this issue Nov 3, 2020 · 0 comments
Open

Supporting gollvm (Go 1.15.2) #643

advancedwebdeveloper opened this issue Nov 3, 2020 · 0 comments

Comments

@advancedwebdeveloper
Copy link

Hi there.

I was curious if your company might support gollvm.

I was able to compile the Worker project, using gollvm .

I wasn't able to run any tests, due to

$ go test ./...

github.com/travis-ci/worker/backend

vet: backend/ec2.go:23:2: could not import github.com/aws/aws-sdk-go/service/ec2 (EOF)
ok github.com/travis-ci/worker 5.025s

github.com/travis-ci/worker/backend

vet: backend/ec2.go:23:2: could not import github.com/aws/aws-sdk-go/service/ec2 (EOF)
FAIL github.com/travis-ci/worker/backend [build failed]
ok github.com/travis-ci/worker/cmd/travis-worker 3.316s
ok github.com/travis-ci/worker/config (cached)
? github.com/travis-ci/worker/context [no test files]
? github.com/travis-ci/worker/errors [no test files]
ok github.com/travis-ci/worker/image 1.590s
? github.com/travis-ci/worker/metrics [no test files]
ok github.com/travis-ci/worker/ratelimit 0.898s
? github.com/travis-ci/worker/remote [no test files]
? github.com/travis-ci/worker/ssh [no test files]
? github.com/travis-ci/worker/winrm [no test files]
FAIL

$ go test ./...

github.com/travis-ci/worker/backend

vet: backend/ec2.go:23:2: could not import github.com/aws/aws-sdk-go/service/ec2 (EOF)
ok github.com/travis-ci/worker 5.025s

github.com/travis-ci/worker/backend

vet: backend/ec2.go:23:2: could not import github.com/aws/aws-sdk-go/service/ec2 (EOF)
FAIL github.com/travis-ci/worker/backend [build failed]
ok github.com/travis-ci/worker/cmd/travis-worker 3.316s
ok github.com/travis-ci/worker/config (cached)
? github.com/travis-ci/worker/context [no test files]
? github.com/travis-ci/worker/errors [no test files]
ok github.com/travis-ci/worker/image 1.590s
? github.com/travis-ci/worker/metrics [no test files]
ok github.com/travis-ci/worker/ratelimit 0.898s
? github.com/travis-ci/worker/remote [no test files]
? github.com/travis-ci/worker/ssh [no test files]
? github.com/travis-ci/worker/winrm [no test files]
FAIL

$ make test-no-cover
go test -race -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.20-dirty' -X 'github.com/travis-ci/worker.RevisionString=e5266d440234c4f2426914ef0822dd041a8f4685' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/e5266d440234c4f2426914ef0822dd041a8f4685' -X 'github.com/travis-ci/worker.GeneratedString=2020-11-03T10:45:37+0000' -X 'github.com/travis-ci/worker.CopyrightString=© 2018 Travis CI GmbH'" github.com/travis-ci/worker github.com/travis-ci/worker/metrics github.com/travis-ci/worker/image github.com/travis-ci/worker/ratelimit github.com/travis-ci/worker/config github.com/travis-ci/worker/winrm github.com/travis-ci/worker/context github.com/travis-ci/worker/ssh github.com/travis-ci/worker/backend github.com/travis-ci/worker/errors github.com/travis-ci/worker/remote github.com/travis-ci/worker/cmd/...
package github.com/travis-ci/worker/cmd/travis-worker: cannot find package
make: *** [Makefile:66: test-no-cover] Error 1

Hence that

~/go_proj/worker$ ls ~/go/src/github.com/travis-ci/worker/cmd/travis-worker
main.go main_test.go travis-worker
~/go_proj/worker$ ls ~/go/src/github.com/travis-ci/
worker
~/go_proj/worker$ ls ~/go/src/github.com/travis-ci/worker/
amqp_canceller.go CHANGELOG.md go.mod LICENSE remote_controller.go step_transform_build_json_test.go
amqp_canceller_test.go cli.go go.sum log_writer_factory.go script step_update_state.go
amqp_job.go cli_test.go help.go log_writer.go sentry_logrus_hook.go step_upload_script.go
amqp_job_queue.go cmd http_job.go Makefile ssh step_write_worker_info.go
amqp_job_test.go config http_job_queue.go metrics step_check_cancellation.go step_write_worker_info_test.go
amqp_log_writer_factory.go context http_job_queue_test.go multi_source_job_queue.go step_download_trace.go systemd.service
amqp_log_writer.go CONTRIBUTING.md http_job_test.go multi_source_job_queue_test.go step_generate_script.go systemd-wrapper
amqp_log_writer_test.go doc.go http_log_part_sink.go package.go step_open_log_writer.go Vagrantfile
amqp_test.go Dockerfile http_log_part_sink_test.go package_test.go step_open_log_writer_test.go vendor
backend errors http_log_writer.go processor.go step_run_script.go version.go
build_script_generator.go example-payload.json http_log_writer_test.go processor_pool.go step_send_received.go winrm
build_script_generator_test.go example-payload-premium.json image processor_test.go step_sleep.go
build_trace_persister.go file_job.go job.go ratelimit step_start_instance.go
canceller.go file_job_queue.go job_queue.go README.md step_subscribe_cancellation.go
canceller_test.go file_log_writer.go job_test.go remote step_transform_build_json.go

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant