The following commands were run to prepare this release:
- make chlog-update VERSION=v1.22.0/v0.116.0
- make prepare-release PREVIOUS_VERSION=1[.]21[.]0
RELEASE_CANDIDATE=1.22.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]115[.]0
RELEASE_CANDIDATE=0.116.0 MODSET=beta
#### Description
[gofumpt](https://golangci-lint.run/usage/linters/#gofumpt) is a
stricter format than gofmt, while being backwards compatible.
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.21.0/v0.115.0
- make prepare-release PREVIOUS_VERSION=1[.]20[.]0
RELEASE_CANDIDATE=1.21.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]114[.]0
RELEASE_CANDIDATE=0.115.0 MODSET=beta
#### Description
Turns the `go.opentelemetry.io/collector/extension/auth/authtest`
package into its own module
#### Link to tracking issue
Resolves#11465
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.20.0/v0.114.0
- make prepare-release PREVIOUS_VERSION=1[.]19[.]0
RELEASE_CANDIDATE=1.20.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]113[.]0
RELEASE_CANDIDATE=0.114.0 MODSET=beta
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
change name in templates and cmd/builder to refer to Providers and
Converters as ConfmapProviders and ConfmapConverters
<!-- Issue number if applicable -->
#### Link to tracking issue
as requested here:
https://github.com/open-telemetry/opentelemetry-collector/pull/11653#discussion_r1841202325
<!--Describe what testing was performed and which tests were added.-->
#### Testing
existing tests should cover this
<!--Describe the documentation added.-->
#### Documentation
none, internal change and no new code/api
<!--Please delete paragraphs that you did not use before submitting.-->
#### Description
Turns the `go.opentelemetry.io/collector/extension/extensiontest`
package into its own module
#### Link to tracking issue
Resolves#11463
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Adds ability to replace Providers and Converters with local paths when
building custom collector in ocb
<!-- Issue number if applicable -->
#### Link to tracking issue
Closes#11649
<!--Describe what testing was performed and which tests were added.-->
#### Testing
local build of ocb with locally downloaded converter and provider (can
add this type of test to github actions if others think it is necessary)
<!--Describe the documentation added.-->
#### Documentation
.chloggen file
<!--Please delete paragraphs that you did not use before submitting.-->
---------
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
#### Description
Turn the `go.opentelemetry.io/collector/component/componenttest` package
into its own module
#### Link to tracking issue
Resolves#11464
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Adds ability to add confmap.Converter as a module to build/import with
ocb
<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/11582
<!--Describe what testing was performed and which tests were added.-->
#### Testing
Added validation tests for pulling the converter go module in
cmd/builder template/build process.
Additionally, I took the default otelcorecol manifest, added a
`converters` section, and added the `expandconverter` and verified that
a custom collector both built, started up, and exited successfully.
<!--Describe the documentation added.-->
#### Documentation
Changelog file added. I can also update the documentation in cmd/builder
README if community thinks that is necessary. Since `confmap.Converter`
is not yet registered in the OTel registry and does not have any
existing components published save for the deprecated `expandconverter`
I was not certain if anything further than a changelog was necessary.
<!--Please delete paragraphs that you did not use before submitting.-->
---------
Co-authored-by: Andrzej Stencel <andrzej.stencel@elastic.co>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.19.0/v0.113.0
- make prepare-release PREVIOUS_VERSION=1[.]18[.]0
RELEASE_CANDIDATE=1.19.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]112[.]0
RELEASE_CANDIDATE=0.113.0 MODSET=beta
This is a no-op, because the file config cannot set the "skip"
properties since they have `mapstructure:"-"`
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.18.0/v0.112.0
- make prepare-release PREVIOUS_VERSION=1[.]17[.]0
RELEASE_CANDIDATE=1.18.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]111[.]0
RELEASE_CANDIDATE=0.112.0 MODSET=beta
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This uses the profiles internal packages that were implemented in
previous PRs to provide profiles support to the OTLP HTTP exporter.
This PR requires #11226✅ to be merged first.
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR is putting the connectortest pkg in its own module as requested
in
https://github.com/open-telemetry/opentelemetry-collector/issues/11216
Move componentprofiles to pipelineprofiles since only the signal
constant is defined in that package.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
This package is no longer necessary, but if in the future we need to
have gates shared between modules we may re-create this module.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
```
debug.ReadBuildInfo()
```
returns an error for some environments, which then panics on
`info.Main.Version`:
```
panic: runtime error: invalid memory address or nil pointer dereference
```
this fixes the issue by only updating the version if
`debug.ReadBuildInfo()` succeeds
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
<!-- Issue number if applicable -->
Update default configuration to use v1.17.0 for confmap providers.
#### Link to tracking issue
This is what is making
open-telemetry/opentelemetry-collector-contrib#35605 fail
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.17.0/v0.111.0
- make prepare-release PREVIOUS_VERSION=1[.]16[.]0
RELEASE_CANDIDATE=1.17.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]110[.]0
RELEASE_CANDIDATE=0.111.0 MODSET=beta
---------
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
#### Description
Testifylint doesn't support it yet.
This replaces `Contains(t, err.Error()` by `ErrorContains(t, err` and
`Equal(t, err.Error()` by `EqualError(t, err`
As they both check for nil error it becomes useless to check it yourself
without having defined a custom message
<!-- Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com> -->
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Revert "[chore] delete code to set a version and date, as it it not used
(#10715)"
Remove date string but re-add functions that check for version number
This (mostly) reverts commit b53f57d.
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This re-enables the functionality to set a version number for ocb binary
(cmd/builder). It was erroneously removed. It also adds unit tests for
this functionality, as a warning is given on CI with no code coverage.
<!-- Issue number if applicable -->
#### Link to tracking issue
Relates to
https://github.com/open-telemetry/opentelemetry-collector-releases/issues/664.
Closes#11220 along with
https://github.com/open-telemetry/opentelemetry-collector-releases/pull/665
<!--Describe what testing was performed and which tests were added.-->
#### Testing
ran build and release cycles inside personal fork repositories
(jackgopack4/opentelemetry-collector and
jackgopack4/opentelemetry-collector-releases)
<!--Describe the documentation added.-->
#### Documentation
.chloggen file
<!--Please delete paragraphs that you did not use before submitting.-->
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.16.0/v0.110.0
- make prepare-release PREVIOUS_VERSION=1[.]15[.]0
RELEASE_CANDIDATE=1.16.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]109[.]0
RELEASE_CANDIDATE=0.110.0 MODSET=beta
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #
<!--Describe what testing was performed and which tests were added.-->
#### Testing
<!--Describe the documentation added.-->
#### Documentation
<!--Please delete paragraphs that you did not use before submitting.-->
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Disable strict version check. The `--skip-strict-version-check` is kept
but is now a no-op.
This fixes#11152.
<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes#11152
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.15.0/v0.109.0
- make prepare-release PREVIOUS_VERSION=1[.]14[.]1
RELEASE_CANDIDATE=1.15.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]108[.]1
RELEASE_CANDIDATE=0.109.0 MODSET=beta
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
<!-- Issue number if applicable -->
Moves extension optional interfaces to a new module,
`extensioncapabilities`.
The intent is to be able to evolve these interfaces independently from
the core interfaces on core.
These are used by at most one component/project, so I think they are not
mature yet for 1.0
---------
Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
#### Description
This PR removes the deprecated memory ballast extension and all the
logic in place in memorylimiter and service that was using it.
#### Link to tracking issue
Related to
https://github.com/open-telemetry/opentelemetry-collector/issues/8343. I
don't want to close it until the [helm
chart](https://github.com/open-telemetry/opentelemetry-helm-charts/pull/1268)
is updated.
#### Testing
Unit tests
---------
Co-authored-by: Antoine Toulme <antoine@toulme.name>
Co-authored-by: Curtis Robert <crobert@splunk.com>
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
<!-- Issue number if applicable -->
Fixes#11022
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This allows building profiles in the exporter builder.
As this is only changing internal modules, I am marking it as chore (and
skipping changelog entry).
#### Link to tracking issue
https://github.com/open-telemetry/opentelemetry-collector/pull/10375
cc @mx-psi
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This allows building profiles in the connector builder.
As this is only changing internal modules, I am marking it as chore (and
skipping changelog entry).
#### Link to tracking issue
https://github.com/open-telemetry/opentelemetry-collector/pull/10375
cc @mx-psi
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This allows building profiles in the processor builder.
As this is only changing internal modules, I am marking it as chore (and
skipping changelog entry).
#### Link to tracking issue
https://github.com/open-telemetry/opentelemetry-collector/pull/10375
cc @mx-psi
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This allows building profiles in the receiver builder.
As this is only changing internal modules, I am marking it as chore (and
skipping changelog entry).
<!-- Issue number if applicable -->
#### Link to tracking issue
https://github.com/open-telemetry/opentelemetry-collector/pull/10375
cc @mx-psi
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.14.1/v0.108.1
- make prepare-release PREVIOUS_VERSION=1[.]14[.]0
RELEASE_CANDIDATE=1.14.1 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]108[.]0
RELEASE_CANDIDATE=0.108.1 MODSET=beta
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.14.0/v0.108.0
- make prepare-release PREVIOUS_VERSION=1[.]13[.]0
RELEASE_CANDIDATE=1.14.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]107[.]0
RELEASE_CANDIDATE=0.108.0 MODSET=beta
A continuation of
https://github.com/open-telemetry/opentelemetry-collector/pull/9253 and
https://github.com/open-telemetry/opentelemetry-collector/pull/9631
Description: Adds a `--skip-new-go-module` flag to the OTC builder. This
enables users working in an existing go module environment (say, a
"monorepo") to update the module they have, vs forcing the use of a new
module.
With the new support inside an existing Go module, a collector main
package can be generated using a go:generate directive. For example, in
the directory where I want my collector built, the file generate.go has
this line:
//go:generate builder --skip-new-go-module --skip-compilation
--strict-versioning --config=./build-config.yaml
In the same directory, the build-config.yaml describes the collector to
build. The builder generates the other files in the same directory. At
this point, normal Go workflows can be used to update indirect
dependencies.
Link to tracking Issue:
https://github.com/open-telemetry/opentelemetry-collector/issues/9252
Testing: Will add unit tests in the next few days.
Documentation: Yes.
---------
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
#### Description
This PR removes `ReportStatus` from `component.TelemetrySettings` and
instead expects components to check if their `component.Host` implements
a new `componentstatus.Reporter` interface.
<!-- Issue number if applicable -->
#### Link to tracking issue
Related to
https://github.com/open-telemetry/opentelemetry-collector/pull/10725
Related to
https://github.com/open-telemetry/opentelemetry-collector/pull/10413
<!--Describe what testing was performed and which tests were added.-->
#### Testing
unit tests and a sharedinstance e2e test.
The contrib tests will fail because this is a breaking change. If we
merge this I and @mwear can commit to updating contrib before the next
release.
---------
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.13.0/v0.107.0
- make prepare-release PREVIOUS_VERSION=1[.]12[.]0
RELEASE_CANDIDATE=1.13.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]106[.]1
RELEASE_CANDIDATE=0.107.0 MODSET=beta
#### Description
Refine the warning message to make it useful for the end user.
#### Link to tracking issue
Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/10514
#### Testing
Locally tested.
```sh
2024-07-31T22:03:05.984+0900 INFO internal/command.go:125 OpenTelemetry Collector Builder {"version": "(devel)"}
2024-07-31T22:03:05.984+0900 INFO internal/command.go:136 Using default build configuration
2024-07-31T22:03:05.985+0900 INFO builder/config.go:142 Using go {"go-executable": "/usr/local/bin/go"}
2024-07-31T22:03:05.985+0900 INFO builder/main.go:77 You're building a distribution with non-aligned version of the builder. The version mismatch may cause the compilation failure. It's recommended to use the same version. {"collector-version": "0.104.0", "builder-version": "0.106.1"}
2024-07-31T22:03:05.985+0900 INFO builder/main.go:100 Sources created {"path": "/tmp/otelcol-distribution3869530617"}
2024-07-31T22:03:06.510+0900 INFO builder/main.go:191 Getting go modules
2024-07-31T22:03:06.552+0900 INFO builder/main.go:111 Compiling
2024-07-31T22:03:07.080+0900 INFO builder/main.go:130 Compiled {"binary": "/tmp/otelcol-distribution3869530617/otelcorecol"}
```
#### Documentation
N/A
#### Note
I did not add a changelog entry because other PRs that only changed
logging messages and behavior did not add it too.
If this is an incorrect understanding, please point it out.
---------
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
If the test is executed with the `root` user, the
`TestGenerateInvalidOutputPath` test fails.
The behaviour was noticed with a GitLab runner that was executed with
root rights.
An attempt is made to create the directory `/:invalid` during the test.
A user without root rights receives the message `cannot create directory
'/:invalid': Permission denied`.
In contrast, the `root` user can create the directory without any
problems because this is a valid path.
To correct the behaviour of the test, the path to `:/invalid` was
adjusted.
This is not a valid path under Windows or Linux.
Signed-off-by: Andrej Giesbrecht <giesan@gmx.net>
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.106.0
- make prepare-release PREVIOUS_VERSION=0[.]105[.]0
RELEASE_CANDIDATE=0.106.0 MODSET=beta
---------
Co-authored-by: Yang Song <songy23@users.noreply.github.com>
**Description:**
Create a new go module `go.opentelemetry.io/collector/client`
**Link to tracking Issue:**
Fixes#9804
---------
Co-authored-by: Yang Song <songy23@users.noreply.github.com>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Following
https://github.com/open-telemetry/opentelemetry-collector/pull/10464,
this adds profiles support in consumertest.
cc @mx-psi
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.12.0/v0.105.0
- make prepare-release PREVIOUS_VERSION=1.11.0 RELEASE_CANDIDATE=1.12.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.104.0
RELEASE_CANDIDATE=0.105.0 MODSET=beta
Resolves#10570
Alternative to #10598
This implementation is more reliable that #10598 because it gets
information directly from the builder manifest. It relies on additional
structure in the `component.go` file, ultimately encoded in
`otelcol.Factories`.
An alternative would be to push the enhancements deeper, into the
`<kind>.Factories` implementations, so that the module information is
available directly alongside the Factory.
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Fixes#10569. However, I think it's fine to just close the issue as
wontfix and not do this.
#### Description
improving an error message - a missing gomod field would be reported but
without informing where in the config the field is missing.
<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes#10474
<!--Describe what testing was performed and which tests were added.-->
#### Testing
Unit tests pass, added some tests for missing cases, manually tested
new error looks like:
```
../../bin/ocb_darwin_amd64 --config=./default.yaml
2024-06-27T11:39:10.316-0700 INFO internal/command.go:125 OpenTelemetry Collector Builder {"version": "", "date": "unknown"}
2024-06-27T11:39:10.319-0700 INFO internal/command.go:161 Using config file {"path": "./default.yaml"}
Error: invalid configuration: receiver module at index 0: missing gomod specification for module; provider module at index 2: missing gomod specification for module
```
#### Description
Create new internal module `internal/featuregates`.
This will be useful for importing feature gates while not creating a
dependency cycle.
I intend to use this for importing `confmap.strictlyTypedInput` in
`otelcol` in a follow up PR.
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.11.0/v0.104.0
- make prepare-release PREVIOUS_VERSION=1.10.0 RELEASE_CANDIDATE=1.11.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.103.0
RELEASE_CANDIDATE=0.104.0 MODSET=beta
---------
Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Removed deprecated `NewCommand`. Deprecates `NewCommandMustSetProvider`.
Adds `NewCommand` that requires at least one provider be set.
Removes usage of imported providers/converters from otelcol (but they
still live in otelcoltest until
https://github.com/open-telemetry/opentelemetry-collector/pull/10417 is
merged.
<!-- Issue number if applicable -->
#### Link to tracking issue
closes
https://github.com/open-telemetry/opentelemetry-collector/issues/10290.
<!--Describe what testing was performed and which tests were added.-->
#### Testing
Unit tests
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This adds pprofile wrapper (the non-generated bit of pprofile), as well
as test data.
cc @mx-psi
---------
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.10.0/v0.103.0
- make prepare-release PREVIOUS_VERSION=1.9.0 RELEASE_CANDIDATE=1.10.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.102.1
RELEASE_CANDIDATE=0.103.0 MODSET=beta
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Step 2 of release process
> Make sure you are on release/<release-series>. Prepare release commits
with prepare-release make target, e.g. make prepare-release
PREVIOUS_VERSION=0.90.0 RELEASE_CANDIDATE=0.90.1 MODSET=beta, and create
a pull request against the release/<release-series> branch.
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.9.0/v0.102.0
- make prepare-release PREVIOUS_VERSION=1.8.0 RELEASE_CANDIDATE=1.9.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.101.0
RELEASE_CANDIDATE=0.102.0 MODSET=beta
---------
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
Updates `TestReplaceStatementsAreComplete` to check the modules used in
replace statements to ensure that their dependencies also have replace
statements. This will catch the error that happened in #10188 before a
release is started.
The one caveat here is that the test may need to be run multiple times
if there are modules deep in the dependency tree that haven't been added
to the list of replace statement modules. In essence, the user has to do
a BFS walk of the dependency tree themselves by running the tests until
all missing modules are caught. We could automate this process with
additional code to report all missing modules at once regardless of
depth, but I figure it's not worth the extra complexity in the test for
such a small gain.
#### Testing
I tested this on the #10188 branch by removing the `pdata/testdata`
module from the replace statements list and seeing that the failure is
easier to understand:
```
--- FAIL: TestReplaceStatementsAreComplete (0.60s)
Error: Should be true
Test: TestReplaceStatementsAreComplete
Messages: Module missing from replace statements list: go.opentelemetry.io/collector/pdata/testdata
```
This replaces #10188, by fixing a relatively new test case that blocked
the release.
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
---------
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Add a test to help prevent our replace statements from going out of date
and causing situations like
https://github.com/open-telemetry/opentelemetry-collector/issues/10014.
This is also probably just a decent test case to have since it's a
syntactically valid but nonexistent version.
---------
Co-authored-by: Evan Bradley <evan-bradley@users.noreply.github.com>
Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.7.0/v0.100.0
- make prepare-release PREVIOUS_VERSION=1.6.0 RELEASE_CANDIDATE=1.7.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.99.0 RELEASE_CANDIDATE=0.100.0
MODSET=beta
---------
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
When running tests, waiting for `downloadModules()` to fail 3 times when
that's expected adds time to the test run. This updates tests to only
attempt downloading once. Note: if there's a network failure that could
cause `downloadModules()` to fail when it should normally succeed. Also
the wording here is `retries` when in actuality it's the number of
attempts. I didn't change this to keep the log wording the same, but I
can change the wording if that's preferable.
<!-- Issue number if applicable -->
#### Link to tracking issue
this will help for adding tests for
https://github.com/open-telemetry/opentelemetry-collector/issues/9252
and
https://github.com/open-telemetry/opentelemetry-collector/issues/9896
<!--Describe what testing was performed and which tests were added.-->
#### Testing
Tests ran
---------
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>