worker icon indicating copy to clipboard operation
worker copied to clipboard

Supporting gollvm (Go 1.15.2)

Open advancedwebdeveloper opened this issue 5 years ago • 0 comments

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

.

advancedwebdeveloper avatar Nov 03 '20 10:11 advancedwebdeveloper