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

Build binaries for Linux on IBM Power pcc64le architecture #2081

Closed
wants to merge 28 commits into from
Closed

Build binaries for Linux on IBM Power pcc64le architecture #2081

wants to merge 28 commits into from

Conversation

redmark-redhat
Copy link

Similar to #1982

Which problem is this PR solving?

Short description of the changes

Makefile Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Feb 21, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@7d8a2d4). Click here to learn what that means.
The diff coverage is 79.56%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master   #2081   +/-   ##
========================================
  Coverage          ?   96.3%           
========================================
  Files             ?     214           
  Lines             ?   10540           
  Branches          ?       0           
========================================
  Hits              ?   10151           
  Misses            ?     330           
  Partials          ?      59
Impacted Files Coverage Δ
cmd/agent/app/reporter/grpc/flags.go 100% <ø> (ø)
cmd/agent/app/processors/thrift_processor.go 100% <ø> (ø)
plugin/storage/grpc/shared/grpc_server.go 76.47% <0%> (ø)
cmd/collector/app/server/zipkin.go 0% <0%> (ø)
cmd/flags/service.go 0% <0%> (ø)
cmd/collector/app/server/http.go 0% <0%> (ø)
cmd/collector/app/server/thrift.go 0% <0%> (ø)
cmd/flags/flags.go 43.47% <0%> (ø)
cmd/query/app/static_handler.go 85.96% <100%> (ø)
model/adjuster/clockskew.go 100% <100%> (ø)
... and 54 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d8a2d4...097e219. Read the comment docs.

Makefile Outdated
@@ -195,6 +197,8 @@ build-examples:
esc -pkg frontend -o examples/hotrod/services/frontend/gen_assets.go -prefix examples/hotrod/services/frontend/web_assets examples/hotrod/services/frontend/web_assets
ifeq ($(GOARCH), s390x)
$(GOBUILD) -o ./examples/hotrod/hotrod-$(GOOS)-$(GOARCH) ./examples/hotrod/main.go
else ifeq ($(GOARCH), ppc64le)
Copy link
Member

Choose a reason for hiding this comment

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

The build command for s390x and ppc64le are looking the same. Could we merge them?

Copy link
Author

Choose a reason for hiding this comment

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

Changes made as requested.

Yuri Shkuro and others added 25 commits February 26, 2020 13:15
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
* Collect data loss metrics from clients

Signed-off-by: Yuri Shkuro <[email protected]>

* Regenerate thrift

Signed-off-by: Yuri Shkuro <[email protected]>

* Prototype

Signed-off-by: Yuri Shkuro <[email protected]>

* Upgrade Jaeger client

Signed-off-by: Yuri Shkuro <[email protected]>

* Handle wrapped counters

Signed-off-by: Yuri Shkuro <[email protected]>

* Fix formatting

Signed-off-by: Yuri Shkuro <[email protected]>

* Move to new file

Signed-off-by: Yuri Shkuro <[email protected]>

* Shutdown

Signed-off-by: Yuri Shkuro <[email protected]>

* Undo unnecessary change

Signed-off-by: Yuri Shkuro <[email protected]>

* regenerate

Signed-off-by: Yuri Shkuro <[email protected]>

* Add logging

Signed-off-by: Yuri Shkuro <[email protected]>

* cleanup

Signed-off-by: Yuri Shkuro <[email protected]>

* delint

Signed-off-by: Yuri Shkuro <[email protected]>

* Add some tests

Signed-off-by: Yuri Shkuro <[email protected]>

* Clean up

Signed-off-by: Yuri Shkuro <[email protected]>

* more tests

Signed-off-by: Yuri Shkuro <[email protected]>

* More tests

Signed-off-by: Yuri Shkuro <[email protected]>

* Reduce nesting

Signed-off-by: Yuri Shkuro <[email protected]>

* ignore overflow

Signed-off-by: Yuri Shkuro <[email protected]>

* deps

Signed-off-by: Yuri Shkuro <[email protected]>

* test

Signed-off-by: Yuri Shkuro <[email protected]>

* rename

Signed-off-by: Yuri Shkuro <[email protected]>

* comments

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
* Pin grpc to 1.25.1

Signed-off-by: Yuri Shkuro <[email protected]>

* Ignore lint errors

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
* Added tracegen container image

Signed-off-by: Juraci Paixão Kröhling <[email protected]>

* Added config from env for tracegen

Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
* Allow raw port numbers for UDP servers

Signed-off-by: Yuri Shkuro <[email protected]>

* Better logic

Signed-off-by: Yuri Shkuro <[email protected]>

* fix tests

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
…#2028)

* [agent] Do not increment data loss counters on the first client batch

Signed-off-by: Yuri Shkuro <[email protected]>

* simplify tests;

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
* Introduces the new flag: collector.queue-size-memory
* When the flag is set, the span processor starts a new background process to recalculate the queue capacity at regular intervals.
* The span processor now keeps track of the number of spans it has seen, as well as the total bytes it processed. That information allows to derive the average spans size that the collector has processed. Along with the memory to allocate, we can come up with the ideal queue size.
* New metrics: jaeger_collector_queue_capacity and jaeger_collector_spans_bytes.

This commit shouldn't cause performance degradation for instances not using the new options, except for a small memory overhead due to the new span tracker (quantity/size) and the new metrics.

Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Signed-off-by: Prithvi Raj <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
* Standarize TLS configuration

Signed-off-by: Jonah Back <[email protected]>

* Add check for deprecated tls verify-host flag

Signed-off-by: Jonah Back <[email protected]>

* fix #nosec line placement

Signed-off-by: Jonah Back <[email protected]>

* Add updated lock file

Signed-off-by: Jonah Back <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Signed-off-by: Joe Elliott <[email protected]>

Co-authored-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Although it is spelling mistakes, it might make an affects while reading.

Signed-off-by: Kim Bao Long <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Signed-off-by: Albert Chung <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Time adjustment is confusing to many people, as you can see in #961.

This change adds a warning if we do any time adjustments,
so that it's at least clear that adjustments happened.

Signed-off-by: Ivan Babrou <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
* Added new FlagList type and used it in jaeger-query

Signed-off-by: Joe Elliott <[email protected]>

* Added tests to confirm FlagList will be treated as stringSlice by viper

Signed-off-by: Joe Elliott <[email protected]>

* Added additionalheaders logic.  Added tests

Signed-off-by: Joe Elliott <[email protected]>

* Changed http handler to take a header struct

Signed-off-by: Joe Elliott <[email protected]>

* Updated help text on param

Signed-off-by: Joe Elliott <[email protected]>

* FlagList => StringSlice

Signed-off-by: Joe Elliott <[email protected]>

* Additional tests to further specify string slice behavior

Signed-off-by: Joe Elliott <[email protected]>

* Added header parsing method and tests

Signed-off-by: Joe Elliott <[email protected]>

* Added support for commas in params

Signed-off-by: Joe Elliott <[email protected]>

* Updated flags to use expected format

Signed-off-by: Joe Elliott <[email protected]>

* Moved stringSliceAsHeader() to flags

Signed-off-by: Joe Elliott <[email protected]>

* Added test for empty string slice

Signed-off-by: Joe Elliott <[email protected]>

* Moved additional headers to server handler

Signed-off-by: Joe Elliott <[email protected]>

* Added handler and tests

Signed-off-by: Joe Elliott <[email protected]>

* removed unnecessary whitespace

Signed-off-by: Joe Elliott <[email protected]>

* checked out http_handler_test to master

Signed-off-by: Joe Elliott <[email protected]>

* checked out http_handler to master

Signed-off-by: Joe Elliott <[email protected]>

* Update cmd/query/app/additional_headers_test.go

Co-Authored-By: Yuri Shkuro <[email protected]>
Signed-off-by: Joe Elliott <[email protected]>

* Update cmd/query/app/flags_test.go

Co-Authored-By: Yuri Shkuro <[email protected]>
Signed-off-by: Joe Elliott <[email protected]>

* Update cmd/query/app/flags_test.go

Co-Authored-By: Yuri Shkuro <[email protected]>
Signed-off-by: Joe Elliott <[email protected]>

* Made stringSliceAsHeader return err

Signed-off-by: Joe Elliott <[email protected]>

* Added test for bad header params

Signed-off-by: Joe Elliott <[email protected]>

Co-authored-by: Yuri Shkuro <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
* Added -trimpath option to go build

Fixes #2063

Signed-off-by: Pablo Caderno <[email protected]>
Signed-off-by: kaderno <[email protected]>

* Added trimpath option to go build

Defined variable per suggestion of @yurishkuro

Signed-off-by: kaderno <[email protected]>

* Updated last go build command

Signed-off-by: Pablo Caderno <[email protected]>
Signed-off-by: kaderno <[email protected]>

* Changed variable order

Signed-off-by: kaderno <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
* Clarify that "kafka" is not a real storage backend

Signed-off-by: Yuri Shkuro <[email protected]>

* use quotes

Signed-off-by: Yuri Shkuro <[email protected]>

* update

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
* Revert "Revert latest gRPC changes to allow more flexibility in versions (#2018)"

This reverts commit f605a34.

Signed-off-by: Yuri Shkuro <[email protected]>

* bump

Signed-off-by: Yuri Shkuro <[email protected]>

* bump

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
kevinearls and others added 3 commits February 26, 2020 13:31
Signed-off-by: Kevin Earls <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
Signed-off-by: Ron Edmark <[email protected]>
ifeq ($(GOARCH),$(filter $(GOARCH), s390x ppc64le))

Signed-off-by: Ron Edmark <[email protected]>
@yurishkuro
Copy link
Member

your branch seems messed up, I don't think you meant to update 150 files.

@redmark-redhat
Copy link
Author

redmark-redhat commented Feb 26, 2020

Yes, I was attempting to process the DCO correction and the push went bad. Lets trash this branch and I'll start over.

@redmark-redhat redmark-redhat deleted the ppc64le-support branch February 26, 2020 18:56
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

Successfully merging this pull request may close these issues.