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

Prepare 0.65.1 release #16422

Conversation

tigrannajaryan
Copy link
Member

@tigrannajaryan tigrannajaryan commented Nov 22, 2022

  • Update versions.yaml to 0.65.1
  • Retract v0.65.0
  • Add 0.65.1 to CHANGELOG.md and note that v0.65.0 is broken

@tigrannajaryan
Copy link
Member Author

@codeboten please ping me when you have a fix for deb/rpm so that I can rebase this.

@dmitryax
Copy link
Member

dmitryax commented Nov 22, 2022

@tigrannajaryan #16436 was failing due to the 0.65.0 release not the GH actions. So this PR's build should pass once rebased

- Update versions.yaml to 0.65.1
- Retract v0.65.0
- Add 0.65.1 to CHANGELOG.md and note that v0.65.0 is broken
@tigrannajaryan tigrannajaryan force-pushed the feature/tigran/update-versions.yaml branch from 6a834e9 to d667f40 Compare November 22, 2022 19:06
@tigrannajaryan
Copy link
Member Author

Rebased.

@TylerHelmuth
Copy link
Member

@dmitryax no luck

@tigrannajaryan
Copy link
Member Author

tigrannajaryan commented Nov 22, 2022

It is a different problem this time:

# test install
echo
$docker_run
7f87e2e1d370039b51a3c7b48f94ef086d834c06f9ab6f348145c634f964edc0
install_pkg $container_name "$PKG_PATH"
Installing otel-contrib-collector_0.65.0-post_amd64.deb ...
Copying dist/otel-contrib-collector_0.65.0-post_amd64.deb to otelcontribcol-deb-test:/tmp/otel-contrib-collector_0.65.0-post_amd64.deb ...
Selecting previously unselected package otel-contrib-collector.
(Reading database ... 8283 files and directories currently installed.)
Preparing to unpack .../otel-contrib-collector_0.65.0-post_amd64.deb ...
Unpacking otel-contrib-collector (0.65.0-post) ...
Setting up otel-contrib-collector (0.65.0-post) ...
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
dpkg: error processing package otel-contrib-collector (--install):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 otel-contrib-collector
docker rm -fv otelcontribcol-deb-test >/dev/null 2>&1 || true
Error: Process completed with exit code 1.

What does Failed to connect to bus mean??

And why do we have 0.65.0 version in the file name? Supposed to be 0.65.1.

@TylerHelmuth
Copy link
Member

@tigrannajaryan @dmitryax @codeboten I think the issue is that the set_release_tag.sh script is no longer working correctly after #16389.

The result of that script isn't in the output
image

but the next step in the workflow shows that the version isn't getting properly set for the next script.

image

The workflow calls the script with ./internal/buildscripts/packaging/fpm/${{ matrix.package_type }}/build.sh "${{ steps.github_tag.outputs.tag }}" "amd64" "./dist/"

If steps.github_tag.outputs.tag isn't set, then the script does:

if [[ -z "$VERSION" ]]; then
    latest_tag="$( git describe --abbrev=0 --match v[0-9]* )"
    VERSION="${latest_tag}-post"
fi

Those line match the screenshot above, so I think that means that $VERSION isn't getting set, which implies steps.github_tag.outputs.tag is not set.

@TylerHelmuth
Copy link
Member

TylerHelmuth commented Nov 22, 2022

@TylerHelmuth
Copy link
Member

It looks like the script always ends up using git describe --abbrev=0 --match v[0-9]* to get the latest tag so maybe the issue is that since 0.65.0 is the latest tag and since 0.65.0 is broken the build doesn't work ?

@tigrannajaryan
Copy link
Member Author

@open-telemetry/collector-contrib-maintainer I haven't work on the contrib for a while, I don't know how the release works and don't have the expertise to solve this myself. I will need your help to figure it out.

@dmitryax
Copy link
Member

I'm looking into this

@TylerHelmuth I see that at least this commit after 0.65.0 partially succeeded, so not sure it's related to 0.65.0.

@bogdandrutu
Copy link
Member

This commit correctly should be done against the release branch

@dmitryax
Copy link
Member

@bogdandrutu I can make another PR against release/0.65.x. The problem is that we don't have such branch, only release/0.65.0. Do you think we should proceed on main or create an additional release/0.65.x branch from 0.65.0 release commit?

@bogdandrutu
Copy link
Member

@tigrannajaryan
Copy link
Member Author

Closed in favour of #16457

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/configschema configschema command cmd/mdatagen mdatagen command cmd/telemetrygen telemetrygen command cmd/tracegen examples/demo exporter/alibabacloudlogservice Alibaba components exporter/awscloudwatchlogs awscloudwatchlogs exporter exporter/awsemf awsemf exporter exporter/awskinesis exporter/awsxray exporter/azuredataexplorer exporter/azuremonitor exporter/carbon exporter/clickhouse exporter/coralogix exporter/datadog Datadog components exporter/dynatrace exporter/elasticsearch exporter/file exporter/googlecloud exporter/googlecloudpubsub exporter/googlemanagedprometheus Google Managed Prometheus exporter exporter/humio exporter/influxdb exporter/instana exporter/jaeger exporter/jaegerthrifthttp exporter/kafka exporter/loadbalancing exporter/logzio exporter/loki Loki Exporter exporter/mezmo exporter/opencensus exporter/parquet exporter/prometheus exporter/prometheusremotewrite exporter/pulsar exporter/sapm exporter/sentry exporter/signalfx exporter/skywalking exporter/splunkhec exporter/sumologic exporter/tanzuobservability exporter/tencentcloudlogservice exporter/zipkin extension/asapauth extension/awsproxy extension/basicauth extension/bearertokenauth extension/headerssetter extension/healthcheck Health Check Extension extension/jaegerremotesampling extension/observer extension/oidcauth extension/pprof extension/storage internal/aws internal/core internal/docker internal/filter internal/kubelet internal/metadataproviders internal/scrapertest internal/sharedcomponent internal/splunk internal/tools pkg/batchperresourceattr pkg/batchpersignal pkg/experimentalmetricmetadata pkg/resourcetotelemetry pkg/stanza pkg/translator/jaeger pkg/translator/loki pkg/translator/opencensus pkg/translator/prometheus pkg/translator/prometheusremotewrite pkg/translator/signalfx pkg/translator/zipkin processor/attributes Attributes processor processor/cumulativetodelta Cumulative To Delta processor processor/filter Filter processor processor/groupbytrace Group By Trace processor processor/logstransform Logs Transform processor processor/metricstransform Metrics Transform processor processor/probabilisticsampler Probabilistic Sampler processor processor/resource Resource processor processor/resourcedetection Resource detection processor processor/routing Routing processor processor/span processor/spanmetrics Span Metrics processor processor/tailsampling Tail sampling processor processor/transform Transform processor receiver/activedirectoryds receiver/aerospike receiver/apache receiver/awscontainerinsight receiver/awsecscontainermetrics receiver/awsxray receiver/azureblob receiver/azureeventhub receiver/bigip receiver/carbon receiver/collectd receiver/couchdb receiver/dockerstats receiver/elasticsearch receiver/expvar receiver/filelog receiver/flinkmetrics receiver/hostmetrics receiver/httpcheck HTTP Check receiver receiver/iis receiver/influxdb receiver/jaeger receiver/jmx JMX Receiver receiver/journald Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants