Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update module go.opentelemetry.io/collector/config/confi…
…ghttp to v0.109.0 (#533) * fix(deps): update module go.opentelemetry.io/collector/config/confighttp to v0.109.0 * chore(deps): result of running /Library/Developer/CommandLineTools/usr/bin/make -j 1 generate fmt-all tidy-all lint-all test-all scan-all multimod-verify crosslink /Library/Developer/CommandLineTools/usr/bin/make for-all DIRS="./cmd/compgen ./extension/githubappauthextension ./internal/tools ./receiver/githubreceiver ./receiver/gitlabreceiver ./receiver/gitproviderreceiver" CMD="/Library/Developer/CommandLineTools/usr/bin/make gen" running /Library/Developer/CommandLineTools/usr/bin/make gen in ./cmd/compgen go generate ./... running /Library/Developer/CommandLineTools/usr/bin/make gen in ./extension/githubappauthextension go generate ./... running /Library/Developer/CommandLineTools/usr/bin/make gen in ./internal/tools go generate ./... running /Library/Developer/CommandLineTools/usr/bin/make gen in ./receiver/githubreceiver go generate ./... running /Library/Developer/CommandLineTools/usr/bin/make gen in ./receiver/gitlabreceiver go generate ./... running /Library/Developer/CommandLineTools/usr/bin/make gen in ./receiver/gitproviderreceiver go generate ./... /Library/Developer/CommandLineTools/usr/bin/make for-all DIRS="./cmd/compgen ./extension/githubappauthextension ./internal/tools ./receiver/githubreceiver ./receiver/gitlabreceiver ./receiver/gitproviderreceiver" CMD="/Library/Developer/CommandLineTools/usr/bin/make fmt" running /Library/Developer/CommandLineTools/usr/bin/make fmt in ./cmd/compgen go fmt ./... running /Library/Developer/CommandLineTools/usr/bin/make fmt in ./extension/githubappauthextension go fmt ./... running /Library/Developer/CommandLineTools/usr/bin/make fmt in ./internal/tools go fmt ./... running /Library/Developer/CommandLineTools/usr/bin/make fmt in ./receiver/githubreceiver go fmt ./... running /Library/Developer/CommandLineTools/usr/bin/make fmt in ./receiver/gitlabreceiver go fmt ./... running /Library/Developer/CommandLineTools/usr/bin/make fmt in ./receiver/gitproviderreceiver go fmt ./... /Library/Developer/CommandLineTools/usr/bin/make tidy rm go.sum go mod tidy -compat=1.23 /Library/Developer/CommandLineTools/usr/bin/make for-all DIRS="./cmd/compgen ./extension/githubappauthextension ./internal/tools ./receiver/githubreceiver ./receiver/gitlabreceiver ./receiver/gitproviderreceiver" CMD="/Library/Developer/CommandLineTools/usr/bin/make tidy" running /Library/Developer/CommandLineTools/usr/bin/make tidy in ./cmd/compgen rm go.sum go mod tidy -compat=1.23 running /Library/Developer/CommandLineTools/usr/bin/make tidy in ./extension/githubappauthextension rm go.sum go mod tidy -compat=1.23 running /Library/Developer/CommandLineTools/usr/bin/make tidy in ./internal/tools rm go.sum go mod tidy -compat=1.23 running /Library/Developer/CommandLineTools/usr/bin/make tidy in ./receiver/githubreceiver rm go.sum go mod tidy -compat=1.23 running /Library/Developer/CommandLineTools/usr/bin/make tidy in ./receiver/gitlabreceiver rm go.sum go mod tidy -compat=1.23 running /Library/Developer/CommandLineTools/usr/bin/make tidy in ./receiver/gitproviderreceiver rm go.sum go mod tidy -compat=1.23 /Library/Developer/CommandLineTools/usr/bin/make for-all DIRS="./cmd/compgen ./extension/githubappauthextension ./internal/tools ./receiver/githubreceiver ./receiver/gitlabreceiver ./receiver/gitproviderreceiver" CMD="/Library/Developer/CommandLineTools/usr/bin/make lint" running /Library/Developer/CommandLineTools/usr/bin/make lint in ./cmd/compgen /Users/jburns/git/liatrio-otel-collector/.tools/golangci-lint run running /Library/Developer/CommandLineTools/usr/bin/make lint in ./extension/githubappauthextension /Users/jburns/git/liatrio-otel-collector/.tools/golangci-lint run running /Library/Developer/CommandLineTools/usr/bin/make lint in ./internal/tools /Users/jburns/git/liatrio-otel-collector/.tools/golangci-lint run running /Library/Developer/CommandLineTools/usr/bin/make lint in ./receiver/githubreceiver /Users/jburns/git/liatrio-otel-collector/.tools/golangci-lint run running /Library/Developer/CommandLineTools/usr/bin/make lint in ./receiver/gitlabreceiver /Users/jburns/git/liatrio-otel-collector/.tools/golangci-lint run running /Library/Developer/CommandLineTools/usr/bin/make lint in ./receiver/gitproviderreceiver /Users/jburns/git/liatrio-otel-collector/.tools/golangci-lint run /Library/Developer/CommandLineTools/usr/bin/make for-all DIRS="./cmd/compgen ./extension/githubappauthextension ./internal/tools ./receiver/githubreceiver ./receiver/gitlabreceiver ./receiver/gitproviderreceiver" CMD="/Library/Developer/CommandLineTools/usr/bin/make test" running /Library/Developer/CommandLineTools/usr/bin/make test in ./cmd/compgen go test -v ./... -coverprofile=coverage.out -covermode=atomic github.com/liatrio/compgen coverage: 0.0% of statements github.com/liatrio/compgen/cmd coverage: 0.0% of statements === RUN TestTidy --- PASS: TestTidy (0.11s) === RUN TestRender --- PASS: TestRender (0.00s) PASS coverage: 89.3% of statements ok github.com/liatrio/compgen/cmd/common 0.409s coverage: 89.3% of statements === RUN TestRun --- PASS: TestRun (1.23s) PASS coverage: 81.2% of statements ok github.com/liatrio/compgen/cmd/receiver 1.717s coverage: 81.2% of statements running /Library/Developer/CommandLineTools/usr/bin/make test in ./extension/githubappauthextension go test -v ./... -coverprofile=coverage.out -covermode=atomic === RUN TestLoadConfig === PAUSE TestLoadConfig === RUN TestGitHubAppAuthSettings === RUN TestGitHubAppAuthSettings/all_valid_settings === RUN TestGitHubAppAuthSettings/invalid_settings --- PASS: TestGitHubAppAuthSettings (0.00s) --- PASS: TestGitHubAppAuthSettings/all_valid_settings (0.00s) --- PASS: TestGitHubAppAuthSettings/invalid_settings (0.00s) === RUN TestCreateDefaultConfig --- PASS: TestCreateDefaultConfig (0.00s) === RUN TestCreateExtension === RUN TestCreateExtension/valid_settings --- PASS: TestCreateExtension (0.00s) --- PASS: TestCreateExtension/valid_settings (0.00s) === RUN TestNewFactory --- PASS: TestNewFactory (0.00s) === RUN TestComponentFactoryType --- PASS: TestComponentFactoryType (0.00s) === RUN TestComponentConfigStruct --- PASS: TestComponentConfigStruct (0.00s) === RUN TestComponentLifecycle === RUN TestComponentLifecycle/shutdown === RUN TestComponentLifecycle/lifecycle --- PASS: TestComponentLifecycle (0.00s) --- PASS: TestComponentLifecycle/shutdown (0.00s) --- PASS: TestComponentLifecycle/lifecycle (0.00s) === CONT TestLoadConfig === RUN TestLoadConfig/githubappauth === RUN TestLoadConfig/githubappauth/missingid --- PASS: TestLoadConfig (0.00s) --- PASS: TestLoadConfig/githubappauth (0.00s) --- PASS: TestLoadConfig/githubappauth/missingid (0.00s) PASS coverage: 80.0% of statements ok github.com/liatrio/liatrio-otel-collector/extension/githubappauthextension 0.691s coverage: 80.0% of statements === RUN TestProviders --- PASS: TestProviders (0.00s) PASS coverage: 100.0% of statements ok github.com/liatrio/liatrio-otel-collector/extension/githubappauthextension/internal/metadata 0.377s coverage: 100.0% of statements running /Library/Developer/CommandLineTools/usr/bin/make test in ./internal/tools go test -v ./... -coverprofile=coverage.out -covermode=atomic testing: warning: no tests to run PASS coverage: [no statements] ok github.com/liatrio/liatrio-otel-collector/internal/tools 0.271s coverage: [no statements] [no tests to run] running /Library/Developer/CommandLineTools/usr/bin/make test in ./receiver/githubreceiver go test -v ./... -coverprofile=coverage.out -covermode=atomic ? github.com/liatrio/liatrio-otel-collector/receiver/githubreceiver/internal [no test files] === RUN TestLoadConfig --- PASS: TestLoadConfig (0.00s) === RUN TestLoadInvalidConfig_NoScrapers --- PASS: TestLoadInvalidConfig_NoScrapers (0.00s) === RUN TestLoadInvalidConfig_InvalidScraperKey --- PASS: TestLoadInvalidConfig_InvalidScraperKey (0.00s) === RUN TestConfig_Unmarshal === RUN TestConfig_Unmarshal/Empty_Component_Parser --- PASS: TestConfig_Unmarshal (0.00s) --- PASS: TestConfig_Unmarshal/Empty_Component_Parser (0.00s) === RUN TestCreateDefaultConfig --- PASS: TestCreateDefaultConfig (0.00s) === RUN TestCreateReceiver --- PASS: TestCreateReceiver (0.00s) === RUN TestCreateReceiver_ScraperKeyConfigError --- PASS: TestCreateReceiver_ScraperKeyConfigError (0.00s) === RUN TestComponentFactoryType --- PASS: TestComponentFactoryType (0.00s) === RUN TestComponentConfigStruct --- PASS: TestComponentConfigStruct (0.00s) === RUN TestComponentLifecycle === RUN TestComponentLifecycle/metrics-shutdown === RUN TestComponentLifecycle/metrics-lifecycle --- PASS: TestComponentLifecycle (2.00s) --- PASS: TestComponentLifecycle/metrics-shutdown (0.00s) --- PASS: TestComponentLifecycle/metrics-lifecycle (2.00s) PASS coverage: 80.4% of statements ok github.com/liatrio/liatrio-otel-collector/receiver/githubreceiver 2.577s coverage: 80.4% of statements === RUN TestMetricsBuilderConfig === RUN TestMetricsBuilderConfig/default === RUN TestMetricsBuilderConfig/all_set === RUN TestMetricsBuilderConfig/none_set --- PASS: TestMetricsBuilderConfig (0.00s) --- PASS: TestMetricsBuilderConfig/default (0.00s) --- PASS: TestMetricsBuilderConfig/all_set (0.00s) --- PASS: TestMetricsBuilderConfig/none_set (0.00s) === RUN TestResourceAttributesConfig === RUN TestResourceAttributesConfig/default === RUN TestResourceAttributesConfig/all_set === RUN TestResourceAttributesConfig/none_set --- PASS: TestResourceAttributesConfig (0.00s) --- PASS: TestResourceAttributesConfig/default (0.00s) --- PASS: TestResourceAttributesConfig/all_set (0.00s) --- PASS: TestResourceAttributesConfig/none_set (0.00s) === RUN TestMetricsBuilder === RUN TestMetricsBuilder/default === RUN TestMetricsBuilder/all_set === RUN TestMetricsBuilder/none_set === RUN TestMetricsBuilder/filter_set_include === RUN TestMetricsBuilder/filter_set_exclude --- PASS: TestMetricsBuilder (0.00s) --- PASS: TestMetricsBuilder/default (0.00s) --- PASS: TestMetricsBuilder/all_set (0.00s) --- PASS: TestMetricsBuilder/none_set (0.00s) --- PASS: TestMetricsBuilder/filter_set_include (0.00s) --- PASS: TestMetricsBuilder/filter_set_exclude (0.00s) === RUN TestResourceBuilder === RUN TestResourceBuilder/default === RUN TestResourceBuilder/all_set === RUN TestResourceBuilder/none_set --- PASS: TestResourceBuilder (0.00s) --- PASS: TestResourceBuilder/default (0.00s) --- PASS: TestResourceBuilder/all_set (0.00s) --- PASS: TestResourceBuilder/none_set (0.00s) PASS coverage: 94.7% of statements ok github.com/liatrio/liatrio-otel-collector/receiver/githubreceiver/internal/metadata 1.077s coverage: 94.7% of statements === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestCreateDefaultConfig --- PASS: TestCreateDefaultConfig (0.00s) === RUN TestCreateMetricsScraper --- PASS: TestCreateMetricsScraper (0.00s) === RUN TestNewGitHubScraper --- PASS: TestNewGitHubScraper (0.00s) === RUN TestScrape === RUN TestScrape/TestNoRepos === RUN TestScrape/TestHappyPath --- PASS: TestScrape (0.00s) --- PASS: TestScrape/TestNoRepos (0.00s) --- PASS: TestScrape/TestHappyPath (0.00s) === RUN TestGetNumPages100 --- PASS: TestGetNumPages100 (0.00s) === RUN TestGetNumPages10 --- PASS: TestGetNumPages10 (0.00s) === RUN TestGetNumPages1 --- PASS: TestGetNumPages1 (0.00s) === RUN TestGenDefaultSearchQueryOrg --- PASS: TestGenDefaultSearchQueryOrg (0.00s) === RUN TestGenDefaultSearchQueryUser --- PASS: TestGenDefaultSearchQueryUser (0.00s) === RUN TestGetAge === RUN TestGetAge/TestHalfHourDiff === RUN TestGetAge/TestHourDiff === RUN TestGetAge/TestDayDiff --- PASS: TestGetAge (0.00s) --- PASS: TestGetAge/TestHalfHourDiff (0.00s) --- PASS: TestGetAge/TestHourDiff (0.00s) --- PASS: TestGetAge/TestDayDiff (0.00s) === RUN TestCheckOwnerExists === RUN TestCheckOwnerExists/TestOrgOwnerExists === RUN TestCheckOwnerExists/TestUserOwnerExists === RUN TestCheckOwnerExists/TestLoginError --- PASS: TestCheckOwnerExists (0.00s) --- PASS: TestCheckOwnerExists/TestOrgOwnerExists (0.00s) --- PASS: TestCheckOwnerExists/TestUserOwnerExists (0.00s) --- PASS: TestCheckOwnerExists/TestLoginError (0.00s) === RUN TestGetPullRequests === RUN TestGetPullRequests/TestSinglePageResponse === RUN TestGetPullRequests/TestMultiPageResponse === RUN TestGetPullRequests/Test404Response --- PASS: TestGetPullRequests (0.00s) --- PASS: TestGetPullRequests/TestSinglePageResponse (0.00s) --- PASS: TestGetPullRequests/TestMultiPageResponse (0.00s) --- PASS: TestGetPullRequests/Test404Response (0.00s) === RUN TestGetRepos === RUN TestGetRepos/TestSinglePageResponse === RUN TestGetRepos/TestMultiPageResponse === RUN TestGetRepos/Test404Response --- PASS: TestGetRepos (0.00s) --- PASS: TestGetRepos/TestSinglePageResponse (0.00s) --- PASS: TestGetRepos/TestMultiPageResponse (0.00s) --- PASS: TestGetRepos/Test404Response (0.00s) === RUN TestGetBranches === RUN TestGetBranches/TestSinglePageResponse === RUN TestGetBranches/TestMultiPageResponse === RUN TestGetBranches/Test404Response --- PASS: TestGetBranches (0.00s) --- PASS: TestGetBranches/TestSinglePageResponse (0.00s) --- PASS: TestGetBranches/TestMultiPageResponse (0.00s) --- PASS: TestGetBranches/Test404Response (0.00s) === RUN TestGetContributors === RUN TestGetContributors/TestListContributorsResponse --- PASS: TestGetContributors (0.00s) --- PASS: TestGetContributors/TestListContributorsResponse (0.00s) === RUN TestEvalCommits === RUN TestEvalCommits/TestNoBranchChanges === RUN TestEvalCommits/TestNoCommitsResponse === RUN TestEvalCommits/TestSinglePageResponse === RUN TestEvalCommits/TestMultiplePageResponse === RUN TestEvalCommits/Test404ErrorResponse --- PASS: TestEvalCommits (0.00s) --- PASS: TestEvalCommits/TestNoBranchChanges (0.00s) --- PASS: TestEvalCommits/TestNoCommitsResponse (0.00s) --- PASS: TestEvalCommits/TestSinglePageResponse (0.00s) --- PASS: TestEvalCommits/TestMultiplePageResponse (0.00s) --- PASS: TestEvalCommits/Test404ErrorResponse (0.00s) PASS coverage: 59.9% of statements ok github.com/liatrio/liatrio-otel-collector/receiver/githubreceiver/internal/scraper/githubscraper 0.819s coverage: 59.9% of statements running /Library/Developer/CommandLineTools/usr/bin/make test in ./receiver/gitlabreceiver go test -v ./... -coverprofile=coverage.out -covermode=atomic ? github.com/liatrio/liatrio-otel-collector/receiver/gitlabreceiver/internal [no test files] === RUN TestLoadConfig --- PASS: TestLoadConfig (0.00s) === RUN TestLoadInvalidConfig_NoScrapers --- PASS: TestLoadInvalidConfig_NoScrapers (0.00s) === RUN TestLoadInvalidConfig_InvalidScraperKey --- PASS: TestLoadInvalidConfig_InvalidScraperKey (0.00s) === RUN TestConfig_Unmarshal === RUN TestConfig_Unmarshal/Empty_Component_Parser --- PASS: TestConfig_Unmarshal (0.00s) --- PASS: TestConfig_Unmarshal/Empty_Component_Parser (0.00s) === RUN TestCreateDefaultConfig --- PASS: TestCreateDefaultConfig (0.00s) === RUN TestCreateReceiver --- PASS: TestCreateReceiver (0.00s) === RUN TestCreateReceiver_ScraperKeyConfigError --- PASS: TestCreateReceiver_ScraperKeyConfigError (0.00s) === RUN TestComponentFactoryType --- PASS: TestComponentFactoryType (0.00s) === RUN TestComponentConfigStruct --- PASS: TestComponentConfigStruct (0.00s) === RUN TestComponentLifecycle === RUN TestComponentLifecycle/metrics-shutdown === RUN TestComponentLifecycle/metrics-lifecycle --- PASS: TestComponentLifecycle (2.00s) --- PASS: TestComponentLifecycle/metrics-shutdown (0.00s) --- PASS: TestComponentLifecycle/metrics-lifecycle (2.00s) PASS coverage: 80.4% of statements ok github.com/liatrio/liatrio-otel-collector/receiver/gitlabreceiver 2.804s coverage: 80.4% of statements === RUN TestMetricsBuilderConfig === RUN TestMetricsBuilderConfig/default === RUN TestMetricsBuilderConfig/all_set === RUN TestMetricsBuilderConfig/none_set --- PASS: TestMetricsBuilderConfig (0.00s) --- PASS: TestMetricsBuilderConfig/default (0.00s) --- PASS: TestMetricsBuilderConfig/all_set (0.00s) --- PASS: TestMetricsBuilderConfig/none_set (0.00s) === RUN TestResourceAttributesConfig === RUN TestResourceAttributesConfig/default === RUN TestResourceAttributesConfig/all_set === RUN TestResourceAttributesConfig/none_set --- PASS: TestResourceAttributesConfig (0.00s) --- PASS: TestResourceAttributesConfig/default (0.00s) --- PASS: TestResourceAttributesConfig/all_set (0.00s) --- PASS: TestResourceAttributesConfig/none_set (0.00s) === RUN TestMetricsBuilder === RUN TestMetricsBuilder/default === RUN TestMetricsBuilder/all_set === RUN TestMetricsBuilder/none_set === RUN TestMetricsBuilder/filter_set_include === RUN TestMetricsBuilder/filter_set_exclude --- PASS: TestMetricsBuilder (0.00s) --- PASS: TestMetricsBuilder/default (0.00s) --- PASS: TestMetricsBuilder/all_set (0.00s) --- PASS: TestMetricsBuilder/none_set (0.00s) --- PASS: TestMetricsBuilder/filter_set_include (0.00s) --- PASS: TestMetricsBuilder/filter_set_exclude (0.00s) === RUN TestResourceBuilder === RUN TestResourceBuilder/default === RUN TestResourceBuilder/all_set === RUN TestResourceBuilder/none_set --- PASS: TestResourceBuilder (0.00s) --- PASS: TestResourceBuilder/default (0.00s) --- PASS: TestResourceBuilder/all_set (0.00s) --- PASS: TestResourceBuilder/none_set (0.00s) PASS coverage: 94.7% of statements ok github.com/liatrio/liatrio-otel-collector/receiver/gitlabreceiver/internal/metadata 0.427s coverage: 94.7% of statements === RUN TestCreateDefaultConfig --- PASS: TestCreateDefaultConfig (0.00s) === RUN TestCreateMetricsScraper --- PASS: TestCreateMetricsScraper (0.00s) === RUN TestNewGitLabScraper --- PASS: TestNewGitLabScraper (0.00s) === RUN TestScrape === RUN TestScrape/No_Projects === RUN TestScrape/Happy_Path --- PASS: TestScrape (0.01s) --- PASS: TestScrape/No_Projects (0.00s) --- PASS: TestScrape/Happy_Path (0.00s) === RUN TestGetProjects === RUN TestGetProjects/TestSingleProject === RUN TestGetProjects/TestMultipleProjects --- PASS: TestGetProjects (0.00s) --- PASS: TestGetProjects/TestSingleProject (0.00s) --- PASS: TestGetProjects/TestMultipleProjects (0.00s) === RUN TestGetContributorCount === RUN TestGetContributorCount/TestSingleContributor === RUN TestGetContributorCount/TestMultipleContributors --- PASS: TestGetContributorCount (0.00s) --- PASS: TestGetContributorCount/TestSingleContributor (0.00s) --- PASS: TestGetContributorCount/TestMultipleContributors (0.00s) === RUN TestGetMergeRequests === RUN TestGetMergeRequests/TestSinglePage === RUN TestGetMergeRequests/TestMultiplePages === RUN TestGetMergeRequests/Test404Error --- PASS: TestGetMergeRequests (0.00s) --- PASS: TestGetMergeRequests/TestSinglePage (0.00s) --- PASS: TestGetMergeRequests/TestMultiplePages (0.00s) --- PASS: TestGetMergeRequests/Test404Error (0.00s) === RUN TestGetCombinedMergeRequests === RUN TestGetCombinedMergeRequests/TestSinglePage === RUN TestGetCombinedMergeRequests/TestMultiplePages === RUN TestGetCombinedMergeRequests/Test404Error --- PASS: TestGetCombinedMergeRequests (0.00s) --- PASS: TestGetCombinedMergeRequests/TestSinglePage (0.00s) --- PASS: TestGetCombinedMergeRequests/TestMultiplePages (0.00s) --- PASS: TestGetCombinedMergeRequests/Test404Error (0.00s) === RUN TestGetBranchNames === RUN TestGetBranchNames/TestSingleBranch === RUN TestGetBranchNames/TestMultipleBranches === RUN TestGetBranchNames/Test404Error --- PASS: TestGetBranchNames (0.00s) --- PASS: TestGetBranchNames/TestSingleBranch (0.00s) --- PASS: TestGetBranchNames/TestMultipleBranches (0.00s) --- PASS: TestGetBranchNames/Test404Error (0.00s) === RUN TestGetInitialCommit === RUN TestGetInitialCommit/TestSingleCommit === RUN TestGetInitialCommit/TestMultipleCommits --- PASS: TestGetInitialCommit (0.00s) --- PASS: TestGetInitialCommit/TestSingleCommit (0.00s) --- PASS: TestGetInitialCommit/TestMultipleCommits (0.00s) PASS coverage: 61.4% of statements ok github.com/liatrio/liatrio-otel-collector/receiver/gitlabreceiver/internal/scraper/gitlabscraper 1.071s coverage: 61.4% of statements running /Library/Developer/CommandLineTools/usr/bin/make test in ./receiver/gitproviderreceiver go test -v ./... -coverprofile=coverage.out -covermode=atomic ? github.com/liatrio/liatrio-otel-collector/receiver/gitproviderreceiver/internal [no test files] === RUN TestLoadConfig --- PASS: TestLoadConfig (0.00s) === RUN TestLoadInvalidConfig_NoScrapers --- PASS: TestLoadInvalidConfig_NoScrapers (0.00s) === RUN TestLoadInvalidConfig_InvalidScraperKey --- PASS: TestLoadInvalidConfig_InvalidScraperKey (0.00s) === RUN TestConfig_Unmarshal === RUN TestConfig_Unmarshal/Empty_Component_Parser --- PASS: TestConfig_Unmarshal (0.00s) --- PASS: TestConfig_Unmarshal/Empty_Component_Parser (0.00s) === RUN TestCreateDefaultConfig --- PASS: TestCreateDefaultConfig (0.00s) === RUN TestCreateReceiver --- PASS: TestCreateReceiver (0.00s) === RUN TestCreateReceiver_ScraperKeyConfigError --- PASS: TestCreateReceiver_ScraperKeyConfigError (0.00s) === RUN TestComponentFactoryType --- PASS: TestComponentFactoryType (0.00s) === RUN TestComponentConfigStruct --- PASS: TestComponentConfigStruct (0.00s) === RUN TestComponentLifecycle === RUN TestComponentLifecycle/metrics-shutdown === RUN TestComponentLifecycle/metrics-lifecycle --- PASS: TestComponentLifecycle (2.00s) --- PASS: TestComponentLifecycle/metrics-shutdown (0.00s) --- PASS: TestComponentLifecycle/metrics-lifecycle (2.00s) PASS coverage: 80.4% of statements ok github.com/liatrio/liatrio-otel-collector/receiver/gitproviderreceiver 3.101s coverage: 80.4% of statements === RUN TestMetricsBuilderConfig === RUN TestMetricsBuilderConfig/default === RUN TestMetricsBuilderConfig/all_set === RUN TestMetricsBuilderConfig/none_set --- PASS: TestMetricsBuilderConfig (0.00s) --- PASS: TestMetricsBuilderConfig/default (0.00s) --- PASS: TestMetricsBuilderConfig/all_set (0.00s) --- PASS: TestMetricsBuilderConfig/none_set (0.00s) === RUN TestResourceAttributesConfig === RUN TestResourceAttributesConfig/default === RUN TestResourceAttributesConfig/all_set === RUN TestResourceAttributesConfig/none_set --- PASS: TestResourceAttributesConfig (0.00s) --- PASS: TestResourceAttributesConfig/default (0.00s) --- PASS: TestResourceAttributesConfig/all_set (0.00s) --- PASS: TestResourceAttributesConfig/none_set (0.00s) === RUN TestMetricsBuilder === RUN TestMetricsBuilder/default === RUN TestMetricsBuilder/all_set === RUN TestMetricsBuilder/none_set === RUN TestMetricsBuilder/filter_set_include === RUN TestMetricsBuilder/filter_set_exclude --- PASS: TestMetricsBuilder (0.00s) --- PASS: TestMetricsBuilder/default (0.00s) --- PASS: TestMetricsBuilder/all_set (0.00s) --- PASS: TestMetricsBuilder/none_set (0.00s) --- PASS: TestMetricsBuilder/filter_set_include (0.00s) --- PASS: TestMetricsBuilder/filter_set_exclude (0.00s) === RUN TestResourceBuilder === RUN TestResourceBuilder/default === RUN TestResourceBuilder/all_set === RUN TestResourceBuilder/none_set --- PASS: TestResourceBuilder (0.00s) --- PASS: TestResourceBuilder/default (0.00s) --- PASS: TestResourceBuilder/all_set (0.00s) --- PASS: TestResourceBuilder/none_set (0.00s) === RUN TestProviders --- PASS: TestProviders (0.00s) PASS coverage: 94.4% of statements ok github.com/liatrio/liatrio-otel-collector/receiver/gitproviderreceiver/internal/metadata 0.709s coverage: 94.4% of statements === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestCreateDefaultConfig --- PASS: TestCreateDefaultConfig (0.00s) === RUN TestCreateMetricsScraper --- PASS: TestCreateMetricsScraper (0.00s) === RUN TestNewGitHubScraper --- PASS: TestNewGitHubScraper (0.00s) === RUN TestScrape === RUN TestScrape/TestNoRepos === RUN TestScrape/TestHappyPath === RUN TestScrape/TestHappyPathWithTeam --- PASS: TestScrape (0.01s) --- PASS: TestScrape/TestNoRepos (0.00s) --- PASS: TestScrape/TestHappyPath (0.00s) --- PASS: TestScrape/TestHappyPathWithTeam (0.00s) === RUN TestGetNumPages100 --- PASS: TestGetNumPages100 (0.00s) === RUN TestGetNumPages10 --- PASS: TestGetNumPages10 (0.00s) === RUN TestGetNumPages1 --- PASS: TestGetNumPages1 (0.00s) === RUN TestGenDefaultSearchQueryOrg --- PASS: TestGenDefaultSearchQueryOrg (0.00s) === RUN TestGenDefaultSearchQueryUser --- PASS: TestGenDefaultSearchQueryUser (0.00s) === RUN TestGetAge === RUN TestGetAge/TestHalfHourDiff === RUN TestGetAge/TestHourDiff === RUN TestGetAge/TestDayDiff --- PASS: TestGetAge (0.00s) --- PASS: TestGetAge/TestHalfHourDiff (0.00s) --- PASS: TestGetAge/TestHourDiff (0.00s) --- PASS: TestGetAge/TestDayDiff (0.00s) === RUN TestGetSearchRepos === RUN TestGetSearchRepos/TestSinglePageResponse === RUN TestGetSearchRepos/TestMultiPageResponse === RUN TestGetSearchRepos/TestSinglePageWithVulnerabilitiesResponse === RUN TestGetSearchRepos/TestMultiPageWithVulnerabilitieResponse === RUN TestGetSearchRepos/Test404Response --- PASS: TestGetSearchRepos (0.00s) --- PASS: TestGetSearchRepos/TestSinglePageResponse (0.00s) --- PASS: TestGetSearchRepos/TestMultiPageResponse (0.00s) --- PASS: TestGetSearchRepos/TestSinglePageWithVulnerabilitiesResponse (0.00s) --- PASS: TestGetSearchRepos/TestMultiPageWithVulnerabilitieResponse (0.00s) --- PASS: TestGetSearchRepos/Test404Response (0.00s) === RUN TestCheckOwnerExists === RUN TestCheckOwnerExists/TestOrgOwnerExists === RUN TestCheckOwnerExists/TestUserOwnerExists === RUN TestCheckOwnerExists/TestLoginError --- PASS: TestCheckOwnerExists (0.00s) --- PASS: TestCheckOwnerExists/TestOrgOwnerExists (0.00s) --- PASS: TestCheckOwnerExists/TestUserOwnerExists (0.00s) --- PASS: TestCheckOwnerExists/TestLoginError (0.00s) === RUN TestGetBranches === RUN TestGetBranches/TestSinglePageResponse === RUN TestGetBranches/TestMultiPageResponse === RUN TestGetBranches/Test404Response --- PASS: TestGetBranches (0.00s) --- PASS: TestGetBranches/TestSinglePageResponse (0.00s) --- PASS: TestGetBranches/TestMultiPageResponse (0.00s) --- PASS: TestGetBranches/Test404Response (0.00s) === RUN TestGetContributors === RUN TestGetContributors/TestSingleListContributorsResponse === RUN TestGetContributors/TestMultipleListContributorsResponse --- PASS: TestGetContributors (0.00s) --- PASS: TestGetContributors/TestSingleListContributorsResponse (0.00s) --- PASS: TestGetContributors/TestMultipleListContributorsResponse (0.00s) === RUN TestGetPullRequests === RUN TestGetPullRequests/TestSinglePageResponse === RUN TestGetPullRequests/TestMultiPageResponse === RUN TestGetPullRequests/Test404Response --- PASS: TestGetPullRequests (0.00s) --- PASS: TestGetPullRequests/TestSinglePageResponse (0.00s) --- PASS: TestGetPullRequests/TestMultiPageResponse (0.00s) --- PASS: TestGetPullRequests/Test404Response (0.00s) === RUN TestEvalCommits === RUN TestEvalCommits/TestNoBranchChanges === RUN TestEvalCommits/TestNoCommitsResponse === RUN TestEvalCommits/TestSinglePageResponse === RUN TestEvalCommits/TestMultiplePageResponse === RUN TestEvalCommits/Test404ErrorResponse --- PASS: TestEvalCommits (0.00s) --- PASS: TestEvalCommits/TestNoBranchChanges (0.00s) --- PASS: TestEvalCommits/TestNoCommitsResponse (0.00s) --- PASS: TestEvalCommits/TestSinglePageResponse (0.00s) --- PASS: TestEvalCommits/TestMultiplePageResponse (0.00s) --- PASS: TestEvalCommits/Test404ErrorResponse (0.00s) === RUN TestGetCVEs === RUN TestGetCVEs/TestSinglePageRespDepBotAlert === RUN TestGetCVEs/TestMultiPageRespDepBotAlert === RUN TestGetCVEs/TestSinglePageRespCodeScanningAlert === RUN TestGetCVEs/TestMultiPageRespCodeScanningAlert === RUN TestGetCVEs/TestSinglePageDepBotAndCodeScanningAlert === RUN TestGetCVEs/TestMultiPageDepBotAndCodeScanningAlert === RUN TestGetCVEs/TestEmptyInputDepBotAndCodeScanningAlert --- PASS: TestGetCVEs (0.01s) --- PASS: TestGetCVEs/TestSinglePageRespDepBotAlert (0.00s) --- PASS: TestGetCVEs/TestMultiPageRespDepBotAlert (0.00s) --- PASS: TestGetCVEs/TestSinglePageRespCodeScanningAlert (0.00s) --- PASS: TestGetCVEs/TestMultiPageRespCodeScanningAlert (0.00s) --- PASS: TestGetCVEs/TestSinglePageDepBotAndCodeScanningAlert (0.00s) --- PASS: TestGetCVEs/TestMultiPageDepBotAndCodeScanningAlert (0.00s) --- PASS: TestGetCVEs/TestEmptyInputDepBotAndCodeScanningAlert (0.00s) PASS coverage: 61.3% of statements ok github.com/liatrio/liatrio-otel-collector/receiver/gitproviderreceiver/internal/scraper/githubscraper 1.397s coverage: 61.3% of statements === RUN TestCreateDefaultConfig --- PASS: TestCreateDefaultConfig (0.00s) === RUN TestCreateMetricsScraper --- PASS: TestCreateMetricsScraper (0.00s) === RUN TestNewGitLabScraper --- PASS: TestNewGitLabScraper (0.00s) === RUN TestScrape === RUN TestScrape/No_Projects === RUN TestScrape/Happy_Path --- PASS: TestScrape (0.00s) --- PASS: TestScrape/No_Projects (0.00s) --- PASS: TestScrape/Happy_Path (0.00s) === RUN TestGetProjects === RUN TestGetProjects/TestSingleProject === RUN TestGetProjects/TestMultipleProjects --- PASS: TestGetProjects (0.00s) --- PASS: TestGetProjects/TestSingleProject (0.00s) --- PASS: TestGetProjects/TestMultipleProjects (0.00s) === RUN TestGetContributorCount === RUN TestGetContributorCount/TestSingleContributor === RUN TestGetContributorCount/TestMultipleContributors --- PASS: TestGetContributorCount (0.00s) --- PASS: TestGetContributorCount/TestSingleContributor (0.00s) --- PASS: TestGetContributorCount/TestMultipleContributors (0.00s) === RUN TestGetMergeRequests === RUN TestGetMergeRequests/TestSinglePage === RUN TestGetMergeRequests/TestMultiplePages === RUN TestGetMergeRequests/Test404Error --- PASS: TestGetMergeRequests (0.00s) --- PASS: TestGetMergeRequests/TestSinglePage (0.00s) --- PASS: TestGetMergeRequests/TestMultiplePages (0.00s) --- PASS: TestGetMergeRequests/Test404Error (0.00s) === RUN TestGetCombinedMergeRequests === RUN TestGetCombinedMergeRequests/TestSinglePage === RUN TestGetCombinedMergeRequests/TestMultiplePages === RUN TestGetCombinedMergeRequests/Test404Error --- PASS: TestGetCombinedMergeRequests (0.00s) --- PASS: TestGetCombinedMergeRequests/TestSinglePage (0.00s) --- PASS: TestGetCombinedMergeRequests/TestMultiplePages (0.00s) --- PASS: TestGetCombinedMergeRequests/Test404Error (0.00s) === RUN TestGetBranchNames === RUN TestGetBranchNames/TestSingleBranch === RUN TestGetBranchNames/TestMultipleBranches === RUN TestGetBranchNames/Test404Error --- PASS: TestGetBranchNames (0.00s) --- PASS: TestGetBranchNames/TestSingleBranch (0.00s) --- PASS: TestGetBranchNames/TestMultipleBranches (0.00s) --- PASS: TestGetBranchNames/Test404Error (0.00s) === RUN TestGetInitialCommit === RUN TestGetInitialCommit/TestSingleCommit === RUN TestGetInitialCommit/TestMultipleCommits --- PASS: TestGetInitialCommit (0.00s) --- PASS: TestGetInitialCommit/TestSingleCommit (0.00s) --- PASS: TestGetInitialCommit/TestMultipleCommits (0.00s) PASS coverage: 61.2% of statements ok github.com/liatrio/liatrio-otel-collector/receiver/gitproviderreceiver/internal/scraper/gitlabscraper 0.490s coverage: 61.2% of statements /Users/jburns/git/liatrio-otel-collector/.tools/osv-scanner -r . Scanning dir . Scanning /Users/jburns/git/liatrio-otel-collector/ at commit 983b533 Scanned /Users/jburns/git/liatrio-otel-collector/cmd/compgen/go.mod file and found 8 packages Scanned /Users/jburns/git/liatrio-otel-collector/extension/githubappauthextension/go.mod file and found 48 packages Scanned /Users/jburns/git/liatrio-otel-collector/go.mod file and found 1 package Scanned /Users/jburns/git/liatrio-otel-collector/internal/tools/go.mod file and found 314 packages Scanned /Users/jburns/git/liatrio-otel-collector/receiver/githubreceiver/go.mod file and found 126 packages Scanned /Users/jburns/git/liatrio-otel-collector/receiver/gitlabreceiver/go.mod file and found 126 packages Scanned /Users/jburns/git/liatrio-otel-collector/receiver/gitproviderreceiver/go.mod file and found 131 packages No issues found /Users/jburns/git/liatrio-otel-collector/.tools/multimod verify --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joshua Burns <[email protected]>
- Loading branch information