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

Disable sending telemetry in tests #1714

Merged
merged 2 commits into from
Mar 18, 2024
Merged

Conversation

pleshakov
Copy link
Contributor

Proposed changes

Problem:

b6cb677 enabled product telemetry reporting.
However, the telemetry is also reported when running tests, which we want to avoid, so that the gathered telemetry doesn't include data from our test runs.

Solution:

Disable telemetry for:

  • Conformance tests
  • Helm chart
  • NFR and functional tests

CLOSES - #1705

Testing:

  • To be confirmed by the pipeline
  • Ran telemetry functional test manually successfully.
  • Ran NGR test successfully on GCP. No telemetry were reported, confirmed on the telemetry receiver side. (Note. Upgrade test failed with "Error: INSTALLATION FAILED: release name "": no name provided" error. However, this was not caused by this commit and out of scope of this commit)

Closes #ISSUE

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

NONE

Problem:

b6cb677 enabled product telemetry reporting.
However, the telemetry is also reported when running tests,
which we want to avoid, so that the gathered telemetry doesn't
include data from our test runs.

Solution:

Disable telemetry for:
- Conformance tests
- Helm chart
- NFR and functional tests

CLOSES - #1705

Testing:
- To be confirmed by the pipeline
- Ran telemetry functional test manually successfully.
- Ran NGR test successfully on GCP. No telemetry were reported,
  confirmed on the telemetry receiver side. (Note. Upgrade test
  failed with "Error: INSTALLATION FAILED: release name "": no name
  provided" error. However, this was not caused by this commit and
  out of scope of this commit)
@pleshakov pleshakov requested a review from a team as a code owner March 18, 2024 17:47
@github-actions github-actions bot added the bug Something isn't working label Mar 18, 2024
@pleshakov pleshakov merged commit 96a4424 into main Mar 18, 2024
40 of 42 checks passed
@pleshakov pleshakov deleted the fix/disable-telemetry-in-tests branch March 18, 2024 18:48
amimimor pushed a commit to amimimor/nginx-gateway-fabric that referenced this pull request Apr 3, 2024
Problem:

b6cb677 enabled product telemetry reporting.
However, the telemetry is also reported when running tests,
which we want to avoid, so that the gathered telemetry doesn't
include data from our test runs.

Solution:

Disable telemetry for:
- Conformance tests
- Helm chart
- NFR and functional tests

CLOSES - nginxinc#1705

Testing:
- To be confirmed by the pipeline
- Ran telemetry functional test manually successfully.
- Ran NGR test successfully on GCP. No telemetry were reported,
  confirmed on the telemetry receiver side. (Note. Upgrade test
  failed with "Error: INSTALLATION FAILED: release name "": no name
  provided" error. However, this was not caused by this commit and
  out of scope of this commit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants