==> Building on centiskorch ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 2,594 75% 0.00kB/s 0:00:00 3,432 100% 818.36kB/s 0:00:00 (xfr#1, to-chk=4/6) grafana-agent-0.36.1-1.log 256 100% 250.00kB/s 0:00:00 256 100% 250.00kB/s 0:00:00 (xfr#2, to-chk=3/6) grafana-agent.service 700 82% 683.59kB/s 0:00:00 845 100% 825.20kB/s 0:00:00 (xfr#3, to-chk=2/6) grafana-agent.sysusers 94 100% 91.80kB/s 0:00:00 94 100% 91.80kB/s 0:00:00 (xfr#4, to-chk=1/6) grafana-agent.tmpfiles 60 100% 58.59kB/s 0:00:00 60 100% 58.59kB/s 0:00:00 (xfr#5, to-chk=0/6) sent 1,656 bytes received 174 bytes 3,660.00 bytes/sec total size is 4,629 speedup is 2.53 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root8 on remote host... ==> Locking clean chroot...done [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Locking chroot copy [root8]...done ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root8]...done ==> Making package: grafana-agent 0.36.1-1 (Sat Sep 9 08:57:10 2023) ==> Retrieving sources...  -> Downloading grafana-agent-0.36.1.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 31439 0 31439 0 0 8527 0 --:--:-- 0:00:03 --:--:-- 27871 100 64328 0 64328 0 0 14759 0 --:--:-- 0:00:04 --:--:-- 35717 100 140k 0 140k 0 0 26660 0 --:--:-- 0:00:05 --:--:-- 50812 100 250k 0 250k 0 0 39751 0 --:--:-- 0:00:06 --:--:-- 65821 100 356k 0 356k 0 0 49213 0 --:--:-- 0:00:07 --:--:-- 75159 100 491k 0 491k 0 0 60221 0 --:--:-- 0:00:08 --:--:-- 98k 100 736k 0 736k 0 0 79744 0 --:--:-- 0:00:09 --:--:-- 132k 100 963k 0 963k 0 0 94476 0 --:--:-- 0:00:10 --:--:-- 162k 100 1333k 0 1333k 0 0 117k 0 --:--:-- 0:00:11 --:--:-- 220k 100 1879k 0 1879k 0 0 149k 0 --:--:-- 0:00:12 --:--:-- 296k 100 2234k 0 2234k 0 0 166k 0 --:--:-- 0:00:13 --:--:-- 342k 100 2783k 0 2783k 0 0 193k 0 --:--:-- 0:00:14 --:--:-- 414k 100 3523k 0 3523k 0 0 229k 0 --:--:-- 0:00:15 --:--:-- 521k 100 4784k 0 4784k 0 0 289k 0 --:--:-- 0:00:16 --:--:-- 667k 100 5507k 0 5507k 0 0 317k 0 --:--:-- 0:00:17 --:--:-- 753k 100 6828k 0 6828k 0 0 371k 0 --:--:-- 0:00:18 --:--:-- 929k 100 8306k 0 8306k 0 0 429k 0 --:--:-- 0:00:19 --:--:-- 1113k 100 10.2M 0 10.2M 0 0 513k 0 --:--:-- 0:00:20 --:--:-- 1360k 100 10.7M 0 10.7M 0 0 531k 0 --:--:-- 0:00:20 --:--:-- 1466k  -> Found grafana-agent.sysusers  -> Found grafana-agent.service  -> Found grafana-agent.tmpfiles ==> Validating source files with sha512sums... grafana-agent-0.36.1.tar.gz ... Passed grafana-agent.sysusers ... Passed grafana-agent.service ... Passed grafana-agent.tmpfiles ... Passed ==> Making package: grafana-agent 0.36.1-1 (Sat Sep 9 08:57:58 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (22) New Version Net Change Download Size core/argon2 20190702-5 0.08 MiB extra/c-ares 1.19.1-1 0.45 MiB core/cryptsetup 2.6.1-3 2.50 MiB core/dbus 1.14.10-1 0.80 MiB core/device-mapper 2.03.22-2 0.68 MiB core/hwdata 0.374-1 8.85 MiB core/iptables 1:1.8.9-1 1.74 MiB core/kbd 2.6.2-1 3.02 MiB core/kmod 30-3.1 0.24 MiB core/libmnl 1.0.5-1 0.03 MiB core/libnetfilter_conntrack 1.0.9-1 0.14 MiB core/libnfnetlink 1.0.2-1 0.04 MiB core/libnftnl 1.2.6-1 0.22 MiB core/libnl 3.8.0-1 1.73 MiB core/libnsl 2.0.0-3 0.06 MiB core/libpcap 1.10.4-1 0.58 MiB extra/libuv 1.46.0-1 0.55 MiB extra/nodejs 20.6.0-1 55.66 MiB 14.48 MiB core/popt 1.19-1 0.55 MiB extra/go 2:1.21.0-1 201.86 MiB core/systemd 254.1-1 27.36 MiB extra/yarn 1.22.19-1 5.08 MiB Total Download Size: 14.48 MiB Total Installed Size: 312.22 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... nodejs-20.6.0-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing go... installing device-mapper... installing popt... installing argon2... installing cryptsetup... installing dbus... installing libmnl... installing libnftnl... installing libnl... installing libpcap... installing libnfnetlink... installing libnetfilter_conntrack... installing iptables... installing kbd... installing kmod... installing hwdata... installing systemd... warning: directory permissions differ on /var/log/journal/ filesystem: 755 package: 2755 Creating group 'sys' with GID 3. Creating group 'mem' with GID 8. Creating group 'ftp' with GID 11. Creating group 'mail' with GID 12. Creating group 'log' with GID 19. Creating group 'smmsp' with GID 25. Creating group 'proc' with GID 26. Creating group 'games' with GID 50. Creating group 'lock' with GID 54. Creating group 'network' with GID 90. Creating group 'floppy' with GID 94. Creating group 'scanner' with GID 96. Creating group 'power' with GID 98. Creating group 'nobody' with GID 65534. Creating group 'adm' with GID 999. Creating group 'wheel' with GID 998. Creating group 'utmp' with GID 997. Creating group 'audio' with GID 996. Creating group 'disk' with GID 995. Creating group 'input' with GID 994. Creating group 'kmem' with GID 993. Creating group 'kvm' with GID 992. Creating group 'lp' with GID 991. Creating group 'optical' with GID 990. Creating group 'render' with GID 989. Creating group 'sgx' with GID 988. Creating group 'storage' with GID 987. Creating group 'tty' with GID 5. Creating group 'uucp' with GID 986. Creating group 'video' with GID 985. Creating group 'users' with GID 984. Creating group 'systemd-journal' with GID 983. Creating group 'rfkill' with GID 982. Creating group 'bin' with GID 1. Creating user 'bin' (n/a) with UID 1 and GID 1. Creating group 'daemon' with GID 2. Creating user 'daemon' (n/a) with UID 2 and GID 2. Creating user 'mail' (n/a) with UID 8 and GID 12. Creating user 'ftp' (n/a) with UID 14 and GID 11. Creating group 'http' with GID 33. Creating user 'http' (n/a) with UID 33 and GID 33. Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. Creating group 'dbus' with GID 81. Creating user 'dbus' (System Message Bus) with UID 81 and GID 81. Creating group 'systemd-coredump' with GID 981. Creating user 'systemd-coredump' (systemd Core Dumper) with UID 981 and GID 981. Creating group 'systemd-network' with GID 980. Creating user 'systemd-network' (systemd Network Management) with UID 980 and GID 980. Creating group 'systemd-oom' with GID 979. Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 979 and GID 979. Creating group 'systemd-journal-remote' with GID 978. Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 978 and GID 978. Creating group 'systemd-journal-upload' with GID 977. Creating user 'systemd-journal-upload' (systemd Journal Upload) with UID 977 and GID 977. Creating group 'systemd-resolve' with GID 976. Creating user 'systemd-resolve' (systemd Resolver) with UID 976 and GID 976. Creating group 'systemd-timesync' with GID 975. Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 975 and GID 975. Creating group 'tss' with GID 974. Creating user 'tss' (tss user for tpm2) with UID 974 and GID 974. Creating group 'uuidd' with GID 68. Creating user 'uuidd' (n/a) with UID 68 and GID 68. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target. Optional dependencies for systemd libmicrohttpd: systemd-journal-gatewayd and systemd-journal-remote quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries systemd-ukify: combine kernel and initrd into a signed Unified Kernel Image polkit: allow administration as unprivileged user python: Unified Kernel Image with ukify curl: systemd-journal-upload, machinectl pull-tar and pull-raw [installed] gnutls: systemd-journal-gatewayd and systemd-journal-remote [installed] libbpf: support BPF programs libfido2: unlocking LUKS2 volumes with FIDO2 token libp11-kit: support PKCS#11 [installed] tpm2-tss: unlocking LUKS2 volumes with TPM2 [installed] installing libnsl... installing libuv... installing c-ares... installing nodejs... Optional dependencies for nodejs npm: nodejs package manager installing yarn... :: Running post-transaction hooks... (1/9) Creating system user accounts... (2/9) Updating journal message catalog... (3/9) Reloading system manager configuration... Skipped: Current root is not booted. (4/9) Updating udev hardware database... (5/9) Applying kernel sysctl settings... Skipped: Current root is not booted. (6/9) Creating temporary files... (7/9) Reloading device manager configuration... Skipped: Device manager is not running. (8/9) Arming ConditionNeedsUpdate... (9/9) Reloading system bus configuration... Skipped: Current root is not booted. [?25h==> Retrieving sources...  -> Found grafana-agent-0.36.1.tar.gz  -> Found grafana-agent.sysusers  -> Found grafana-agent.service  -> Found grafana-agent.tmpfiles ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting grafana-agent-0.36.1.tar.gz with bsdtar ==> Starting prepare()... yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning " > @grafana/ui@9.5.2" has incorrect peer dependency "react@^16.8.0 || ^17.0.0". warning " > @grafana/ui@9.5.2" has incorrect peer dependency "react-dom@^16.8.0 || ^17.0.0". warning "@grafana/ui > @grafana/data@9.5.2" has incorrect peer dependency "react@^16.8.0 || ^17.0.0". warning "@grafana/ui > @grafana/data@9.5.2" has incorrect peer dependency "react-dom@^16.8.0 || ^17.0.0". warning "@grafana/ui > react-hook-form@7.5.3" has incorrect peer dependency "react@^16.8.0 || ^17". warning "eslint-config-react-app > eslint-plugin-flowtype@8.0.3" has unmet peer dependency "@babel/plugin-syntax-flow@^7.14.5". warning "eslint-config-react-app > eslint-plugin-flowtype@8.0.3" has unmet peer dependency "@babel/plugin-transform-react-jsx@^7.14.9". [4/4] Building fresh packages... Done in 576.84s. ==> Starting build()... yarn run v1.22.19 $ react-scripts build Creating an optimized production build... Compiled successfully. File sizes after gzip: 335.26 kB build/static/js/main.d89b6748.js 2.74 kB build/static/css/main.230dddfe.css The project was built assuming it is hosted at ./public/. You can control this with the homepage field in your package.json. The build folder is ready to be deployed. Find out more about deployment here: https://cra.link/deployment Done in 273.65s. Building cmd/grafana-agent Building cmd/grafana-agentctl Building tools/crow ==> Starting check()... agent, version 0.36.1 (branch: , revision: unknown) build user: build date: 2023-09-09T12:13:07Z go version: go1.21.0 platform: linux/riscv64 tags: builtinassets,promtail_journal_enabled agentctl, version 0.36.1 (branch: , revision: unknown) build user: build date: 2023-09-09T12:13:07Z go version: go1.21.0 platform: linux/riscv64 tags: builtinassets,promtail_journal_enabled # github.com/grafana/agent/pkg/agentctl.test github.com/aws/aws-sdk-go/aws/endpoints.init: missing section for github.com/aws/aws-sdk-go/aws/endpoints.map.init.0 github.com/aws/aws-sdk-go/aws/endpoints.init: reloc 62 (R_RISCV_PCREL_ITYPE) to non-elf symbol github.com/aws/aws-sdk-go/aws/endpoints.map.init.0 (outer=github.com/aws/aws-sdk-go/aws/endpoints.map.init.0) 1 (STEXT) github.com/aws/aws-sdk-go/aws/endpoints.init: unreachable reloc 62 (R_RISCV_PCREL_ITYPE) target github.com/aws/aws-sdk-go/aws/endpoints.map.init.0 FAIL github.com/grafana/agent/pkg/agentctl [build failed] === RUN TestBuildRemoteConfig === RUN TestBuildRemoteConfig/only_metrics_snippets_provided === RUN TestBuildRemoteConfig/only_log_snippets_provided === RUN TestBuildRemoteConfig/only_integration_snippets_provided === RUN TestBuildRemoteConfig/base_with_already_logs,_metrics_and_integrations_provided === RUN TestBuildRemoteConfig/do_not_override_integrations_defined_in_base_config_with_the_ones_defined_in_snippets === RUN TestBuildRemoteConfig/all_snippets_provided --- PASS: TestBuildRemoteConfig (0.05s) --- PASS: TestBuildRemoteConfig/only_metrics_snippets_provided (0.01s) --- PASS: TestBuildRemoteConfig/only_log_snippets_provided (0.00s) --- PASS: TestBuildRemoteConfig/only_integration_snippets_provided (0.01s) --- PASS: TestBuildRemoteConfig/base_with_already_logs,_metrics_and_integrations_provided (0.02s) --- PASS: TestBuildRemoteConfig/do_not_override_integrations_defined_in_base_config_with_the_ones_defined_in_snippets (0.00s) --- PASS: TestBuildRemoteConfig/all_snippets_provided (0.00s) === RUN TestValidateValidConfig --- PASS: TestValidateValidConfig (0.00s) === RUN TestValidateInvalidBasicAuth --- PASS: TestValidateInvalidBasicAuth (0.00s) === RUN TestMissingCacheLocation --- PASS: TestMissingCacheLocation (0.00s) === RUN TestValidateLabelManagement --- PASS: TestValidateLabelManagement (0.00s) === RUN TestSleepTime --- PASS: TestSleepTime (0.00s) === RUN TestFuzzJitterTime --- PASS: TestFuzzJitterTime (0.10s) === RUN TestFullUrl --- PASS: TestFullUrl (0.00s) === RUN TestRemoteConfigHashCheck --- PASS: TestRemoteConfigHashCheck (0.01s) === RUN TestNewRemoteConfigProvider_ValidInitialConfig --- PASS: TestNewRemoteConfigProvider_ValidInitialConfig (0.00s) === RUN TestNewRemoteConfigProvider_InvalidProtocol --- PASS: TestNewRemoteConfigProvider_InvalidProtocol (0.00s) === RUN TestNewRemoteConfigHTTPProvider_InvalidInitialConfig --- PASS: TestNewRemoteConfigHTTPProvider_InvalidInitialConfig (0.00s) === RUN TestGetRemoteConfig_UnmarshallableRemoteConfig ts=2023-09-09T13:41:12.271798395Z caller=agentmanagement.go:197 level=error msg="could not load remote config, falling back to cache" err="could not unmarshal remote config: yaml: unmarshal errors:\n line 1: cannot unmarshal !!str `complet...` into config.RemoteConfig" --- PASS: TestGetRemoteConfig_UnmarshallableRemoteConfig (0.03s) === RUN TestGetRemoteConfig_RemoteFetchFails ts=2023-09-09T13:41:12.300722827Z caller=agentmanagement.go:191 level=error msg="could not fetch from API, falling back to cache" err="connection refused" --- PASS: TestGetRemoteConfig_RemoteFetchFails (0.01s) === RUN TestGetRemoteConfig_SemanticallyInvalidBaseConfig ts=2023-09-09T13:41:12.322442806Z caller=agentmanagement.go:197 level=error msg="could not load remote config, falling back to cache" err="semantically invalid config received from the API: error validating instance Metrics Snippets: found multiple scrape configs with job name \"prometheus\"" --- PASS: TestGetRemoteConfig_SemanticallyInvalidBaseConfig (0.02s) === RUN TestGetRemoteConfig_InvalidSnippet ts=2023-09-09T13:41:12.337412552Z caller=agentmanagement.go:197 level=error msg="could not load remote config, falling back to cache" err="semantically invalid config received from the API: error validating instance snippets: found multiple scrape configs with job name \"prometheus\"" --- PASS: TestGetRemoteConfig_InvalidSnippet (0.02s) === RUN TestGetRemoteConfig_EmptyBaseConfig ts=2023-09-09T13:41:12.366550723Z caller=agentmanagement.go:201 level=info msg="fetched and loaded remote config from API" --- PASS: TestGetRemoteConfig_EmptyBaseConfig (0.01s) === RUN TestGetRemoteConfig_ValidBaseConfig ts=2023-09-09T13:41:12.38050199Z caller=agentmanagement.go:201 level=info msg="fetched and loaded remote config from API" --- PASS: TestGetRemoteConfig_ValidBaseConfig (0.03s) === RUN TestGetRemoteConfig_ExpandsEnvVars ts=2023-09-09T13:41:12.405720386Z caller=agentmanagement.go:201 level=info msg="fetched and loaded remote config from API" --- PASS: TestGetRemoteConfig_ExpandsEnvVars (0.01s) === RUN TestGetCachedConfig_DefaultConfigFallback ts=2023-09-09T13:41:12.4113663Z caller=agentmanagement.go:213 level=error msg="could not get cached remote config, falling back to default (empty) config" err="no cached config" --- PASS: TestGetCachedConfig_DefaultConfigFallback (0.01s) === RUN TestGetCachedConfig_RetryAfter ts=2023-09-09T13:41:12.418017754Z caller=agentmanagement.go:187 level=error msg="received retry-after from API, sleeping and falling back to cache" retry-after=0s ts=2023-09-09T13:41:12.418280413Z caller=agentmanagement.go:191 level=error msg="could not fetch from API, falling back to cache" err="server indicated to retry after 0s" --- PASS: TestGetCachedConfig_RetryAfter (0.00s) === RUN TestConfig_FlagDefaults --- PASS: TestConfig_FlagDefaults (0.02s) === RUN TestConfig_ConfigAPIFlag === RUN TestConfig_ConfigAPIFlag/Disabled === RUN TestConfig_ConfigAPIFlag/Enabled --- PASS: TestConfig_ConfigAPIFlag (0.02s) --- PASS: TestConfig_ConfigAPIFlag/Disabled (0.01s) --- PASS: TestConfig_ConfigAPIFlag/Enabled (0.01s) === RUN TestConfig_OverrideDefaultsOnLoad --- PASS: TestConfig_OverrideDefaultsOnLoad (0.01s) === RUN TestConfig_OverrideByEnvironmentOnLoad --- PASS: TestConfig_OverrideByEnvironmentOnLoad (0.01s) === RUN TestConfig_OverrideByEnvironmentOnLoad_NoDigits --- PASS: TestConfig_OverrideByEnvironmentOnLoad_NoDigits (0.01s) === RUN TestConfig_FlagsAreAccepted --- PASS: TestConfig_FlagsAreAccepted (0.01s) === RUN TestConfig_StrictYamlParsing === RUN TestConfig_StrictYamlParsing/duplicate_key === RUN TestConfig_StrictYamlParsing/non_existing_key --- PASS: TestConfig_StrictYamlParsing (0.02s) --- PASS: TestConfig_StrictYamlParsing/duplicate_key (0.01s) --- PASS: TestConfig_StrictYamlParsing/non_existing_key (0.01s) === RUN TestConfig_Defaults --- PASS: TestConfig_Defaults (0.00s) === RUN TestConfig_TracesLokiValidates --- PASS: TestConfig_TracesLokiValidates (0.01s) === RUN TestConfig_LokiNameMigration --- PASS: TestConfig_LokiNameMigration (0.00s) === RUN TestConfig_PrometheusNonNil === RUN TestConfig_PrometheusNonNil/missing === RUN TestConfig_PrometheusNonNil/null --- PASS: TestConfig_PrometheusNonNil (0.01s) --- PASS: TestConfig_PrometheusNonNil/missing (0.00s) --- PASS: TestConfig_PrometheusNonNil/null (0.00s) === RUN TestConfig_PrometheusNameMigration --- PASS: TestConfig_PrometheusNameMigration (0.01s) === RUN TestConfig_TracesLokiFailsValidation --- PASS: TestConfig_TracesLokiFailsValidation (0.01s) === RUN TestConfig_TempoNameMigration --- PASS: TestConfig_TempoNameMigration (0.00s) === RUN TestConfig_TempoTracesDuplicateMigration --- PASS: TestConfig_TempoTracesDuplicateMigration (0.01s) === RUN TestConfig_ExpandEnvRegex --- PASS: TestConfig_ExpandEnvRegex (0.01s) === RUN TestConfig_ObscureSecrets --- PASS: TestConfig_ObscureSecrets (0.01s) === RUN TestConfig_RemoteWriteDefaults --- PASS: TestConfig_RemoteWriteDefaults (0.01s) === RUN TestAgent_OmitEmptyFields --- PASS: TestAgent_OmitEmptyFields (0.00s) === RUN TestAgentManagement_MergeEffectiveConfig --- PASS: TestAgentManagement_MergeEffectiveConfig (0.01s) === RUN TestConfig_EmptyServerConfigFails --- PASS: TestConfig_EmptyServerConfigFails (0.01s) === RUN TestConfig_ValidateConfigWithIntegrationV1 --- PASS: TestConfig_ValidateConfigWithIntegrationV1 (0.01s) === RUN TestConfig_ValidateConfigWithIntegrationV2 --- PASS: TestConfig_ValidateConfigWithIntegrationV2 (0.00s) === RUN TestIntegrations_v1 --- PASS: TestIntegrations_v1 (0.01s) === RUN TestIntegrations_v2 --- PASS: TestIntegrations_v2 (0.01s) === RUN TestEnabledIntegrations_v1 --- PASS: TestEnabledIntegrations_v1 (0.01s) === RUN TestEnabledIntegrations_v2 --- PASS: TestEnabledIntegrations_v2 (0.01s) === RUN TestEnabledIntegrations_v2MultipleInstances --- PASS: TestEnabledIntegrations_v2MultipleInstances (0.01s) === RUN TestSetVersionDoesNotOverrideExistingV1Integrations --- PASS: TestSetVersionDoesNotOverrideExistingV1Integrations (0.01s) === RUN TestRemoteConfigHTTP === RUN TestRemoteConfigHTTP/httpScheme_config === RUN TestRemoteConfigHTTP/httpScheme_config_with_basic_auth === RUN TestRemoteConfigHTTP/httpScheme_config_with_basic_auth_password_file === RUN TestRemoteConfigHTTP/unsupported_scheme_throws_error === RUN TestRemoteConfigHTTP/invalid_url_throws_error --- PASS: TestRemoteConfigHTTP (0.03s) --- PASS: TestRemoteConfigHTTP/httpScheme_config (0.02s) --- PASS: TestRemoteConfigHTTP/httpScheme_config_with_basic_auth (0.00s) --- PASS: TestRemoteConfigHTTP/httpScheme_config_with_basic_auth_password_file (0.00s) --- PASS: TestRemoteConfigHTTP/unsupported_scheme_throws_error (0.00s) --- PASS: TestRemoteConfigHTTP/invalid_url_throws_error (0.00s) PASS ok github.com/grafana/agent/pkg/config 5.509s === RUN Test_sample_Ready --- PASS: Test_sample_Ready (0.00s) === RUN Test_sampleBackoff === RUN Test_sampleBackoff/0 === RUN Test_sampleBackoff/1 === RUN Test_sampleBackoff/2 === RUN Test_sampleBackoff/3 === RUN Test_sampleBackoff/4 === RUN Test_sampleBackoff/5 --- PASS: Test_sampleBackoff (0.00s) --- PASS: Test_sampleBackoff/0 (0.00s) --- PASS: Test_sampleBackoff/1 (0.00s) --- PASS: Test_sampleBackoff/2 (0.00s) --- PASS: Test_sampleBackoff/3 (0.00s) --- PASS: Test_sampleBackoff/4 (0.00s) --- PASS: Test_sampleBackoff/5 (0.00s) === RUN Test_sampleGenerator --- PASS: Test_sampleGenerator (0.00s) PASS ok github.com/grafana/agent/pkg/crow 0.558s === RUN TestServices ts=2023-09-09T13:41:08.399375297Z level=info controller_id= trace_id=9ef40bf85743914743a6b6097331ea92 msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.399601476Z level=info controller_id= trace_id=9ef40bf85743914743a6b6097331ea92 msg="finished node evaluation" node_id=tracing duration=23.22µs ts=2023-09-09T13:41:08.399667156Z level=info controller_id= trace_id=9ef40bf85743914743a6b6097331ea92 msg="finished node evaluation" node_id=logging duration=12.42µs ts=2023-09-09T13:41:08.399747456Z level=info controller_id= trace_id=9ef40bf85743914743a6b6097331ea92 msg="finished node evaluation" node_id=fake duration=41.5µs ts=2023-09-09T13:41:08.399783176Z level=info controller_id= trace_id=9ef40bf85743914743a6b6097331ea92 msg="finished complete graph evaluation" duration=3.729656ms ts=2023-09-09T13:41:08.399992976Z level=info msg="scheduling loaded components and services" --- PASS: TestServices (0.01s) === RUN TestServices_Configurable ts=2023-09-09T13:41:08.402220674Z level=info controller_id= trace_id=4dfd9d9336b40aa475d13c5ec7dd08a4 msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.402473894Z level=info controller_id= trace_id=4dfd9d9336b40aa475d13c5ec7dd08a4 msg="finished node evaluation" node_id=tracing duration=17.32µs ts=2023-09-09T13:41:08.402571574Z level=info controller_id= trace_id=4dfd9d9336b40aa475d13c5ec7dd08a4 msg="finished node evaluation" node_id=logging duration=11.42µs ts=2023-09-09T13:41:08.40604725Z level=info controller_id= trace_id=4dfd9d9336b40aa475d13c5ec7dd08a4 msg="finished node evaluation" node_id=fake duration=3.433617ms ts=2023-09-09T13:41:08.40620065Z level=info controller_id= trace_id=4dfd9d9336b40aa475d13c5ec7dd08a4 msg="finished complete graph evaluation" duration=4.035496ms ts=2023-09-09T13:41:08.40641639Z level=info msg="scheduling loaded components and services" --- PASS: TestServices_Configurable (0.01s) === RUN TestServices_Configurable_Optional ts=2023-09-09T13:41:08.412888724Z level=info controller_id= trace_id=717ee6722d6533ef5be312a9cd5ee8b9 msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.413155643Z level=info controller_id= trace_id=717ee6722d6533ef5be312a9cd5ee8b9 msg="finished node evaluation" node_id=tracing duration=39.66µs ts=2023-09-09T13:41:08.413258923Z level=info controller_id= trace_id=717ee6722d6533ef5be312a9cd5ee8b9 msg="finished node evaluation" node_id=logging duration=13.24µs ts=2023-09-09T13:41:08.413445563Z level=info controller_id= trace_id=717ee6722d6533ef5be312a9cd5ee8b9 msg="finished node evaluation" node_id=fake duration=134µs ts=2023-09-09T13:41:08.413528403Z level=info controller_id= trace_id=717ee6722d6533ef5be312a9cd5ee8b9 msg="finished complete graph evaluation" duration=846.099µs ts=2023-09-09T13:41:08.413781683Z level=info msg="scheduling loaded components and services" --- PASS: TestServices_Configurable_Optional (0.01s) === RUN TestFlow_GetServiceConsumers ts=2023-09-09T13:41:08.415334741Z level=info controller_id= trace_id=bd12e0f9d6f764425d0d36a398df4cdf msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.415470561Z level=info controller_id= trace_id=bd12e0f9d6f764425d0d36a398df4cdf msg="finished node evaluation" node_id=tracing duration=14.46µs ts=2023-09-09T13:41:08.415525441Z level=info controller_id= trace_id=bd12e0f9d6f764425d0d36a398df4cdf msg="finished node evaluation" node_id=logging duration=9.48µs ts=2023-09-09T13:41:08.415654801Z level=info controller_id= trace_id=bd12e0f9d6f764425d0d36a398df4cdf msg="finished node evaluation" node_id=svc_a duration=76.42µs ts=2023-09-09T13:41:08.415737181Z level=info controller_id= trace_id=bd12e0f9d6f764425d0d36a398df4cdf msg="finished node evaluation" node_id=svc_b duration=5.8µs ts=2023-09-09T13:41:08.415806021Z level=info controller_id= trace_id=bd12e0f9d6f764425d0d36a398df4cdf msg="finished complete graph evaluation" duration=594.2µs --- PASS: TestFlow_GetServiceConsumers (0.00s) === RUN TestFlow_GetServiceConsumers_Modules ts=2023-09-09T13:41:08.417343279Z level=info controller_id= trace_id=b30f6629baba58aba42aae08e47dbf0f msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.417473159Z level=info controller_id= trace_id=b30f6629baba58aba42aae08e47dbf0f msg="finished node evaluation" node_id=tracing duration=14.92µs ts=2023-09-09T13:41:08.417564819Z level=info controller_id= trace_id=b30f6629baba58aba42aae08e47dbf0f msg="finished node evaluation" node_id=logging duration=11.56µs ts=2023-09-09T13:41:08.417629999Z level=info controller_id= trace_id=b30f6629baba58aba42aae08e47dbf0f msg="finished node evaluation" node_id=service duration=4.24µs ts=2023-09-09T13:41:08.417961039Z level=info controller_id=module_loader.example trace_id=eb2396a96c5aa53cbf7372e2894408b3 msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.418056499Z level=info controller_id=module_loader.example trace_id=eb2396a96c5aa53cbf7372e2894408b3 msg="finished node evaluation" node_id=service duration=5.8µs ts=2023-09-09T13:41:08.418153758Z level=info controller_id=module_loader.example trace_id=eb2396a96c5aa53cbf7372e2894408b3 msg="finished node evaluation" node_id=service_consumer.example duration=24.62µs ts=2023-09-09T13:41:08.418209778Z level=info controller_id=module_loader.example trace_id=eb2396a96c5aa53cbf7372e2894408b3 msg="finished complete graph evaluation" duration=369.799µs ts=2023-09-09T13:41:08.418374878Z level=info controller_id= trace_id=b30f6629baba58aba42aae08e47dbf0f msg="finished node evaluation" node_id=module_loader.example duration=703.899µs ts=2023-09-09T13:41:08.418472698Z level=info controller_id= trace_id=b30f6629baba58aba42aae08e47dbf0f msg="finished complete graph evaluation" duration=1.280279ms ts=2023-09-09T13:41:08.418662498Z level=info msg="scheduling loaded components and services" ts=2023-09-09T13:41:08.418830318Z level=info msg="scheduling loaded components and services" ts=2023-09-09T13:41:08.418995958Z level=info component=module_loader.example/service_consumer.example msg="component exited" --- PASS: TestFlow_GetServiceConsumers_Modules (0.00s) ts=2023-09-09T13:41:08.419183937Z level=info component=module_loader.example msg="component exited" === RUN TestComponents_Using_Services ts=2023-09-09T13:41:08.423595193Z level=info controller_id= trace_id=0d986869e7d9af235dd53c982a956729 msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.423734093Z level=info controller_id= trace_id=0d986869e7d9af235dd53c982a956729 msg="finished node evaluation" node_id=dependency duration=9.18µs ts=2023-09-09T13:41:08.423961773Z level=info controller_id= trace_id=0d986869e7d9af235dd53c982a956729 msg="finished node evaluation" node_id=service_consumer.example duration=178.12µs ts=2023-09-09T13:41:08.424067273Z level=info controller_id= trace_id=0d986869e7d9af235dd53c982a956729 msg="finished node evaluation" node_id=tracing duration=33.4µs ts=2023-09-09T13:41:08.424156173Z level=info controller_id= trace_id=0d986869e7d9af235dd53c982a956729 msg="finished node evaluation" node_id=logging duration=20.92µs ts=2023-09-09T13:41:08.424233813Z level=info controller_id= trace_id=0d986869e7d9af235dd53c982a956729 msg="finished node evaluation" node_id=non_dependency duration=20.6µs ts=2023-09-09T13:41:08.424293173Z level=info controller_id= trace_id=0d986869e7d9af235dd53c982a956729 msg="finished complete graph evaluation" duration=1.063919ms ts=2023-09-09T13:41:08.424534372Z level=info msg="scheduling loaded components and services" ts=2023-09-09T13:41:08.424919212Z level=info component=service_consumer.example msg="component exited" --- PASS: TestComponents_Using_Services (0.01s) === RUN TestComponents_Using_Services_In_Modules ts=2023-09-09T13:41:08.42679181Z level=info controller_id= trace_id=61f77a8edd79b9ad63337922c6e789aa msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.42692563Z level=info controller_id= trace_id=61f77a8edd79b9ad63337922c6e789aa msg="finished node evaluation" node_id=non_propagated_service duration=6.94µs ts=2023-09-09T13:41:08.42697397Z level=info controller_id= trace_id=61f77a8edd79b9ad63337922c6e789aa msg="finished node evaluation" node_id=propagated_service duration=3.62µs ts=2023-09-09T13:41:08.42726027Z level=info controller_id=module_loader.example trace_id=ca34232154ed8984fe124abf5963f03a msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.42733295Z level=info controller_id=module_loader.example trace_id=ca34232154ed8984fe124abf5963f03a msg="finished node evaluation" node_id=propagated_service duration=4.02µs ts=2023-09-09T13:41:08.427440669Z level=info controller_id=module_loader.example trace_id=ca34232154ed8984fe124abf5963f03a msg="finished node evaluation" node_id=service_consumer.example duration=70.659µs ts=2023-09-09T13:41:08.427506169Z level=info controller_id=module_loader.example trace_id=ca34232154ed8984fe124abf5963f03a msg="finished complete graph evaluation" duration=355.519µs ts=2023-09-09T13:41:08.427549509Z level=info controller_id= trace_id=61f77a8edd79b9ad63337922c6e789aa msg="finished node evaluation" node_id=module_loader.example duration=538.519µs ts=2023-09-09T13:41:08.427660029Z level=info controller_id= trace_id=61f77a8edd79b9ad63337922c6e789aa msg="finished node evaluation" node_id=tracing duration=27.38µs ts=2023-09-09T13:41:08.427731189Z level=info controller_id= trace_id=61f77a8edd79b9ad63337922c6e789aa msg="finished node evaluation" node_id=logging duration=15.38µs ts=2023-09-09T13:41:08.427799149Z level=info controller_id= trace_id=61f77a8edd79b9ad63337922c6e789aa msg="finished complete graph evaluation" duration=1.188319ms ts=2023-09-09T13:41:08.428130889Z level=info msg="scheduling loaded components and services" --- PASS: TestComponents_Using_Services_In_Modules (0.00s) ts=2023-09-09T13:41:08.428478448Z level=info component=module_loader.example msg="component exited" === RUN TestController_LoadFile_Evaluation ts=2023-09-09T13:41:08.430052387Z level=info controller_id= trace_id=a7e64957dbe4389dc37cd6a5799f8984 msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.430303247Z level=info component=testcomponents.passthrough.static msg="passing through value" value="hello, world!" ts=2023-09-09T13:41:08.430400627Z level=info controller_id= trace_id=a7e64957dbe4389dc37cd6a5799f8984 msg="finished node evaluation" node_id=testcomponents.passthrough.static duration=256.74µs ts=2023-09-09T13:41:08.430498187Z level=info component=testcomponents.tick.ticker msg="setting tick frequency" freq=1s ts=2023-09-09T13:41:08.430582766Z level=info controller_id= trace_id=a7e64957dbe4389dc37cd6a5799f8984 msg="finished node evaluation" node_id=testcomponents.tick.ticker duration=137.099µs ts=2023-09-09T13:41:08.443000894Z level=info component=testcomponents.passthrough.ticker msg="passing through value" value=0001-01-01T00:00:00Z ts=2023-09-09T13:41:08.443079574Z level=info controller_id= trace_id=a7e64957dbe4389dc37cd6a5799f8984 msg="finished node evaluation" node_id=testcomponents.passthrough.ticker duration=12.452028ms ts=2023-09-09T13:41:08.443218814Z level=info component=testcomponents.passthrough.forwarded msg="passing through value" value=0001-01-01T00:00:00Z ts=2023-09-09T13:41:08.443387814Z level=info controller_id= trace_id=a7e64957dbe4389dc37cd6a5799f8984 msg="finished node evaluation" node_id=testcomponents.passthrough.forwarded duration=155.26µs ts=2023-09-09T13:41:08.443498434Z level=info controller_id= trace_id=a7e64957dbe4389dc37cd6a5799f8984 msg="finished node evaluation" node_id=tracing duration=38.06µs ts=2023-09-09T13:41:08.443596294Z level=info controller_id= trace_id=a7e64957dbe4389dc37cd6a5799f8984 msg="finished node evaluation" node_id=logging duration=25.46µs ts=2023-09-09T13:41:08.443662314Z level=info controller_id= trace_id=a7e64957dbe4389dc37cd6a5799f8984 msg="finished complete graph evaluation" duration=13.923507ms --- PASS: TestController_LoadFile_Evaluation (0.02s) === RUN TestModule === RUN TestModule/Empty_Content_Allowed ts=2023-09-09T13:41:08.446077331Z level=info controller_id=t1 trace_id=673bb94df413eecb0ed8a7c8122063bb msg="starting complete graph evaluation" ts=2023-09-09T13:41:08.446175711Z level=info controller_id=t1 trace_id=673bb94df413eecb0ed8a7c8122063bb msg="finished complete graph evaluation" duration=245.359µs ts=2023-09-09T13:41:08.446309671Z level=info msg="scheduling loaded components and services" === RUN TestModule/Bad_Module === RUN TestModule/Logging_blocks_not_allowed_in_module_config === RUN TestModule/Tracing_blocks_not_allowed_in_module_config === RUN TestModule/Argument_not_defined_in_module_source === RUN TestModule/Missing_required_argument ts=2023-09-09T13:41:09.454003538Z level=info controller_id=t1 trace_id=aaac65eb994f198c6b69f1c4a9701586 msg="starting complete graph evaluation" ts=2023-09-09T13:41:09.454253737Z level=info controller_id=t1 trace_id=aaac65eb994f198c6b69f1c4a9701586 msg="finished node evaluation" node_id=export.username duration=120.92µs ts=2023-09-09T13:41:09.454431217Z level=info controller_id=t1 trace_id=aaac65eb994f198c6b69f1c4a9701586 msg="finished node evaluation" node_id=argument.defaulted duration=90.3µs ts=2023-09-09T13:41:09.454534517Z level=error controller_id=t1 trace_id=aaac65eb994f198c6b69f1c4a9701586 msg="failed to evaluate config" node=argument.username err="missing required argument \"username\" to module" ts=2023-09-09T13:41:09.454796237Z level=info controller_id=t1 trace_id=aaac65eb994f198c6b69f1c4a9701586 msg="finished node evaluation" node_id=argument.username duration=288.14µs ts=2023-09-09T13:41:09.454842017Z level=info controller_id=t1 trace_id=aaac65eb994f198c6b69f1c4a9701586 msg="finished complete graph evaluation" duration=982.939µs === RUN TestModule/Duplicate_argument_config === RUN TestModule/Duplicate_export_config === RUN TestModule/Multiple_exports_but_none_are_used_but_still_exported ts=2023-09-09T13:41:09.459788812Z level=info controller_id=t1 trace_id=4d39f3cd56a101493da05ad5375606ff msg="starting complete graph evaluation" ts=2023-09-09T13:41:09.459999452Z level=info controller_id=t1 trace_id=4d39f3cd56a101493da05ad5375606ff msg="finished node evaluation" node_id=export.dummy duration=80.8µs ts=2023-09-09T13:41:09.460086932Z level=info controller_id=t1 trace_id=4d39f3cd56a101493da05ad5375606ff msg="finished node evaluation" node_id=export.username duration=21.72µs ts=2023-09-09T13:41:09.460181172Z level=info controller_id=t1 trace_id=4d39f3cd56a101493da05ad5375606ff msg="finished complete graph evaluation" duration=478.12µs ts=2023-09-09T13:41:09.460222952Z level=info msg="scheduling loaded components and services" --- PASS: TestModule (2.02s) --- PASS: TestModule/Empty_Content_Allowed (1.00s) --- PASS: TestModule/Bad_Module (0.00s) --- PASS: TestModule/Logging_blocks_not_allowed_in_module_config (0.00s) --- PASS: TestModule/Tracing_blocks_not_allowed_in_module_config (0.00s) --- PASS: TestModule/Argument_not_defined_in_module_source (0.00s) --- PASS: TestModule/Missing_required_argument (0.00s) --- PASS: TestModule/Duplicate_argument_config (0.00s) --- PASS: TestModule/Duplicate_export_config (0.00s) --- PASS: TestModule/Multiple_exports_but_none_are_used_but_still_exported (1.00s) === RUN TestArgsNotInModules --- PASS: TestArgsNotInModules (0.00s) === RUN TestExportsNotInModules --- PASS: TestExportsNotInModules (0.00s) === RUN TestExportsWhenNotUsed ts=2023-09-09T13:41:10.46537872Z level=info controller_id= trace_id=77efad24573f350ed3fab4435f5fc2dc msg="starting complete graph evaluation" ts=2023-09-09T13:41:10.4658491Z level=info controller_id= trace_id=77efad24573f350ed3fab4435f5fc2dc msg="finished node evaluation" node_id=test.module.t1 duration=298.9µs ts=2023-09-09T13:41:10.46601724Z level=info controller_id= trace_id=77efad24573f350ed3fab4435f5fc2dc msg="finished node evaluation" node_id=tracing duration=43.74µs ts=2023-09-09T13:41:10.4661567Z level=info controller_id= trace_id=77efad24573f350ed3fab4435f5fc2dc msg="finished node evaluation" node_id=logging duration=30.06µs ts=2023-09-09T13:41:10.46621024Z level=info controller_id= trace_id=77efad24573f350ed3fab4435f5fc2dc msg="finished complete graph evaluation" duration=1.033839ms ts=2023-09-09T13:41:10.466371899Z level=info msg="scheduling loaded components and services" ts=2023-09-09T13:41:10.467029079Z level=info controller_id=test.module.t1/t1 trace_id=d2665ac915112b257f847ac2515c202d msg="starting complete graph evaluation" ts=2023-09-09T13:41:10.470607735Z level=info controller_id=test.module.t1/t1 trace_id=d2665ac915112b257f847ac2515c202d msg="finished node evaluation" node_id=export.dummy duration=94.22µs ts=2023-09-09T13:41:10.470771215Z level=info controller_id=test.module.t1/t1 trace_id=d2665ac915112b257f847ac2515c202d msg="finished node evaluation" node_id=export.username duration=25.72µs ts=2023-09-09T13:41:10.470896515Z level=info controller_id=test.module.t1/t1 trace_id=d2665ac915112b257f847ac2515c202d msg="finished complete graph evaluation" duration=4.013956ms ts=2023-09-09T13:41:10.470969495Z level=info msg="scheduling loaded components and services" ts=2023-09-09T13:41:10.472073194Z level=info controller_id= trace_id=3f93e878a0e2762d7a6ef661a42b520a msg="starting partial graph evaluation" ts=2023-09-09T13:41:10.474109812Z level=info controller_id= trace_id=3f93e878a0e2762d7a6ef661a42b520a msg="finished partial graph evaluation" duration=2.092538ms ts=2023-09-09T13:41:11.466703793Z level=info component=test.module.t1 msg="component exited" --- PASS: TestExportsWhenNotUsed (1.00s) === RUN TestIDList --- PASS: TestIDList (0.00s) === RUN TestIDCollision --- PASS: TestIDCollision (0.00s) === RUN TestIDRemoval ts=2023-09-09T13:41:11.471982868Z level=info controller_id=test/t1 trace_id=f9c386dcb54ada2d07c13fa2a9aeda78 msg="starting complete graph evaluation" ts=2023-09-09T13:41:11.472086088Z level=info controller_id=test/t1 trace_id=f9c386dcb54ada2d07c13fa2a9aeda78 msg="finished complete graph evaluation" duration=199.38µs ts=2023-09-09T13:41:11.472232108Z level=info msg="scheduling loaded components and services" --- PASS: TestIDRemoval (1.00s) === RUN TestReadFile --- PASS: TestReadFile (0.00s) === RUN TestReadFileWithConfigBlock --- PASS: TestReadFileWithConfigBlock (0.00s) === RUN TestReadFile_Defaults --- PASS: TestReadFile_Defaults (0.00s) PASS ok github.com/grafana/agent/pkg/flow 5.231s === RUN TestConfig_ApplyDefaults_Validations === RUN TestConfig_ApplyDefaults_Validations/two_configs_with_different_names === RUN TestConfig_ApplyDefaults_Validations/two_configs_with_same_name === RUN TestConfig_ApplyDefaults_Validations/two_configs,_different_positions_path === RUN TestConfig_ApplyDefaults_Validations/re-used_positions_path === RUN TestConfig_ApplyDefaults_Validations/empty_name === RUN TestConfig_ApplyDefaults_Validations/generated_positions_file_path_without_positions_directory === RUN TestConfig_ApplyDefaults_Validations/global_filewatcher --- PASS: TestConfig_ApplyDefaults_Validations (0.01s) --- PASS: TestConfig_ApplyDefaults_Validations/two_configs_with_different_names (0.00s) --- PASS: TestConfig_ApplyDefaults_Validations/two_configs_with_same_name (0.00s) --- PASS: TestConfig_ApplyDefaults_Validations/two_configs,_different_positions_path (0.00s) --- PASS: TestConfig_ApplyDefaults_Validations/re-used_positions_path (0.00s) --- PASS: TestConfig_ApplyDefaults_Validations/empty_name (0.00s) --- PASS: TestConfig_ApplyDefaults_Validations/generated_positions_file_path_without_positions_directory (0.00s) --- PASS: TestConfig_ApplyDefaults_Validations/global_filewatcher (0.00s) === RUN TestConfig_ApplyDefaults_Defaults --- PASS: TestConfig_ApplyDefaults_Defaults (0.01s) === RUN TestInstanceConfig_Initialize --- PASS: TestInstanceConfig_Initialize (0.00s) === RUN TestAgent_ListInstancesHandler === RUN TestAgent_ListInstancesHandler/no_instances === RUN TestAgent_ListInstancesHandler/non-empty level=debug test=TestAgent_ListInstancesHandler ts=13:41:10.252 component=logs logs_config=instance-a msg="Reloading configuration file" level=info test=TestAgent_ListInstancesHandler ts=13:41:10.259 component=logs logs_config=instance-a msg="Reloading configuration file" md5sum=a33e7c027fd275bc9e3cd5fde5854f00 --- PASS: TestAgent_ListInstancesHandler (0.04s) --- PASS: TestAgent_ListInstancesHandler/no_instances (0.00s) --- PASS: TestAgent_ListInstancesHandler/non-empty (0.03s) === RUN TestAgent_ListTargetsHandler level=debug test=TestAgent_ListTargetsHandler ts=13:41:10.272 component=logs logs_config=instance-a msg="Reloading configuration file" level=info test=TestAgent_ListTargetsHandler ts=13:41:10.279 component=logs logs_config=instance-a msg="Reloading configuration file" md5sum=a33e7c027fd275bc9e3cd5fde5854f00 === RUN TestAgent_ListTargetsHandler/scrape_manager_not_ready === RUN TestAgent_ListTargetsHandler/scrape_manager_targets --- PASS: TestAgent_ListTargetsHandler (0.02s) --- PASS: TestAgent_ListTargetsHandler/scrape_manager_not_ready (0.00s) --- PASS: TestAgent_ListTargetsHandler/scrape_manager_targets (0.00s) === RUN TestLogs_NilConfig --- PASS: TestLogs_NilConfig (0.00s) === RUN TestLogs === RUN TestLogs/update_to_nil === RUN TestLogs/re-apply_previous_config --- PASS: TestLogs (15.26s) --- PASS: TestLogs/update_to_nil (0.00s) --- PASS: TestLogs/re-apply_previous_config (5.07s) === RUN TestLogs_PositionsDirectory level=debug test=TestLogs_PositionsDirectory ts=13:41:25.545 component=logs logs_config=instance-a msg="Reloading configuration file" level=info test=TestLogs_PositionsDirectory ts=13:41:25.548 component=logs logs_config=instance-a msg="Reloading configuration file" md5sum=4e29e19a519b00610ecf1e2c6a50972e level=debug test=TestLogs_PositionsDirectory ts=13:41:25.551 component=logs logs_config=instance-b msg="Reloading configuration file" level=info test=TestLogs_PositionsDirectory ts=13:41:25.554 component=logs logs_config=instance-b msg="Reloading configuration file" md5sum=c7e1fcc6a26fd50622f6ee555bbefe23 --- PASS: TestLogs_PositionsDirectory (0.02s) PASS ok github.com/grafana/agent/pkg/logs 18.326s === RUN TestConfig_Validate === RUN TestConfig_Validate/complete_config_should_be_valid === RUN TestConfig_Validate/no_wal_dir === RUN TestConfig_Validate/missing_instance_name === RUN TestConfig_Validate/duplicate_config_name --- PASS: TestConfig_Validate (0.03s) --- PASS: TestConfig_Validate/complete_config_should_be_valid (0.01s) --- PASS: TestConfig_Validate/no_wal_dir (0.01s) --- PASS: TestConfig_Validate/missing_instance_name (0.01s) --- PASS: TestConfig_Validate/duplicate_config_name (0.01s) === RUN TestConfigNonzeroDefaultScrapeInterval --- PASS: TestConfigNonzeroDefaultScrapeInterval (0.02s) === RUN TestAgent === RUN TestAgent/instances_should_be_running === RUN TestAgent/instances_should_be_restarted_when_stopped --- PASS: TestAgent (0.31s) --- PASS: TestAgent/instances_should_be_running (0.00s) --- PASS: TestAgent/instances_should_be_restarted_when_stopped (0.01s) === RUN TestAgent_NormalInstanceExits === RUN TestAgent_NormalInstanceExits/no_error === RUN TestAgent_NormalInstanceExits/context_cancelled --- PASS: TestAgent_NormalInstanceExits (0.81s) --- PASS: TestAgent_NormalInstanceExits/no_error (0.40s) --- PASS: TestAgent_NormalInstanceExits/context_cancelled (0.41s) === RUN TestAgent_Stop --- PASS: TestAgent_Stop (0.41s) === RUN TestAgent_MarshalYAMLOmitDefaultConfigFields --- PASS: TestAgent_MarshalYAMLOmitDefaultConfigFields (0.00s) === RUN TestWALCleaner_getAllStorageNoRoot level=debug component=cleaner msg="WAL storage path does not exist" path=/tmp/getAllStorageNoRoot err="lstat /tmp/getAllStorageNoRoot: no such file or directory" --- PASS: TestWALCleaner_getAllStorageNoRoot (0.00s) === RUN TestWALCleaner_getAllStorageSuccess --- PASS: TestWALCleaner_getAllStorageSuccess (0.00s) === RUN TestWALCleaner_getAbandonedStorageBeforeCutoff level=debug component=cleaner msg="abandoned WAL" name=/tmp/TestWALCleaner_getAbandonedStorageBeforeCutoff2925445562/001/instance-1 mtime=2023-09-09T09:41:11.571168732-04:00 diff=0s --- PASS: TestWALCleaner_getAbandonedStorageBeforeCutoff (0.00s) === RUN TestWALCleaner_getAbandonedStorageAfterCutoff level=debug component=cleaner msg="abandoned WAL" name=/tmp/TestWALCleaner_getAbandonedStorageAfterCutoff502586224/001/instance-1 mtime=2023-09-09T09:11:11.572228691-04:00 diff=30m0s --- PASS: TestWALCleaner_getAbandonedStorageAfterCutoff (0.00s) === RUN TestWALCleaner_cleanup level=debug component=cleaner msg="abandoned WAL" name=/tmp/TestWALCleaner_cleanup2841845125/001/instance-1 mtime=2023-09-09T09:11:11.57315987-04:00 diff=30m0.00019634s level=info component=cleaner msg="deleting abandoned WAL" name=/tmp/TestWALCleaner_cleanup2841845125/001/instance-1 --- PASS: TestWALCleaner_cleanup (0.00s) === RUN TestAgent_ListInstancesHandler === RUN TestAgent_ListInstancesHandler/no_instances === RUN TestAgent_ListInstancesHandler/non-empty --- PASS: TestAgent_ListInstancesHandler (0.01s) --- PASS: TestAgent_ListInstancesHandler/no_instances (0.00s) --- PASS: TestAgent_ListInstancesHandler/non-empty (0.00s) === RUN TestAgent_ListTargetsHandler === RUN TestAgent_ListTargetsHandler/scrape_manager_not_ready === RUN TestAgent_ListTargetsHandler/scrape_manager_targets --- PASS: TestAgent_ListTargetsHandler (0.01s) --- PASS: TestAgent_ListTargetsHandler/scrape_manager_not_ready (0.00s) --- PASS: TestAgent_ListTargetsHandler/scrape_manager_targets (0.00s) PASS ok github.com/grafana/agent/pkg/metrics 4.355s === RUN Test_hashMap === RUN Test_hashMap/tasks_can_be_added === RUN Test_hashMap/tasks_can_be_searched === RUN Test_hashMap/tasks_can_be_deleted === RUN Test_hashMap/tasks_are_deduplicated === RUN Test_hashMap/hash_collisions_are_handled --- PASS: Test_hashMap (0.01s) --- PASS: Test_hashMap/tasks_can_be_added (0.00s) --- PASS: Test_hashMap/tasks_can_be_searched (0.00s) --- PASS: Test_hashMap/tasks_can_be_deleted (0.00s) --- PASS: Test_hashMap/tasks_are_deduplicated (0.00s) --- PASS: Test_hashMap/hash_collisions_are_handled (0.00s) === RUN TestRunner_ApplyPayloads === RUN TestRunner_ApplyPayloads/new_Workers_get_scheduled_for_new_tasks === RUN TestRunner_ApplyPayloads/old_Workers_get_terminated_for_removed_tasks --- PASS: TestRunner_ApplyPayloads (0.06s) --- PASS: TestRunner_ApplyPayloads/new_Workers_get_scheduled_for_new_tasks (0.02s) --- PASS: TestRunner_ApplyPayloads/old_Workers_get_terminated_for_removed_tasks (0.04s) === RUN TestRunner_Stop --- PASS: TestRunner_Stop (0.02s) PASS ok github.com/grafana/agent/pkg/runner 1.088s === RUN TestConfig_OmitEmptyFields --- PASS: TestConfig_OmitEmptyFields (0.03s) === RUN TestLogger_DefaultParameters --- PASS: TestLogger_DefaultParameters (0.00s) === RUN TestLogger_ApplyConfig --- PASS: TestLogger_ApplyConfig (0.00s) === RUN TestServer --- PASS: TestServer (0.06s) === RUN TestServer_InMemory --- PASS: TestServer_InMemory (0.03s) === RUN TestServer_TLS --- PASS: TestServer_TLS (0.06s) === RUN TestRunReturnsError === RUN TestRunReturnsError/http === RUN TestRunReturnsError/grpc --- PASS: TestRunReturnsError (0.00s) --- PASS: TestRunReturnsError/http (0.00s) --- PASS: TestRunReturnsError/grpc (0.00s) === RUN TestServer_ApplyConfig === RUN TestServer_ApplyConfig/no_changes === RUN TestServer_ApplyConfig/valid_changes --- PASS: TestServer_ApplyConfig (0.00s) --- PASS: TestServer_ApplyConfig/no_changes (0.00s) --- PASS: TestServer_ApplyConfig/valid_changes (0.00s) PASS ok github.com/grafana/agent/pkg/server 0.987s === RUN TestOTelConfig === RUN TestOTelConfig/disabled === RUN TestOTelConfig/no_receivers === RUN TestOTelConfig/no_rw_endpoint === RUN TestOTelConfig/empty_receiver_config === RUN TestOTelConfig/basic_config === RUN TestOTelConfig/processor_config === RUN TestOTelConfig/password_in_file === RUN TestOTelConfig/password_in_file_with_extra_newline === RUN TestOTelConfig/insecure_skip_verify === RUN TestOTelConfig/no_compression === RUN TestOTelConfig/jaeger_remote_sampling_multiple_configs === RUN TestOTelConfig/push_config_and_remote_write === RUN TestOTelConfig/push_config.batch_and_batch === RUN TestOTelConfig/one_backend_with_remote_write === RUN TestOTelConfig/two_backends_in_a_remote_write_block === RUN TestOTelConfig/batch_block === RUN TestOTelConfig/span_metrics_remote_write_exporter === RUN TestOTelConfig/span_metrics_prometheus_exporter === RUN TestOTelConfig/span_metrics_prometheus_and_remote_write_exporters_fail === RUN TestOTelConfig/tail_sampling_config === RUN TestOTelConfig/tail_sampling_config_with_load_balancing === RUN TestOTelConfig/automatic_logging_:_default === RUN TestOTelConfig/tls_config === RUN TestOTelConfig/otlp_http_&_grpc_exporters === RUN TestOTelConfig/prom_SD_config === RUN TestOTelConfig/service_graphs === RUN TestOTelConfig/jaeger_exporter === RUN TestOTelConfig/jaeger_exporter_with_basic_auth === RUN TestOTelConfig/two_exporters_different_format === RUN TestOTelConfig/one_exporter_with_oauth2_and_basic_auth === RUN TestOTelConfig/simple_oauth2_config === RUN TestOTelConfig/oauth2_TLS_with_certs_and_keys_from_files === RUN TestOTelConfig/oauth2_TLS_with_certs_and_keys_from_strings === RUN TestOTelConfig/2_exporters_different_auth === RUN TestOTelConfig/exporter_with_insecure_oauth === RUN TestOTelConfig/OTLP_receivers_get_include_metadata_set_to_true_by_default --- PASS: TestOTelConfig (0.49s) --- PASS: TestOTelConfig/disabled (0.00s) --- PASS: TestOTelConfig/no_receivers (0.00s) --- PASS: TestOTelConfig/no_rw_endpoint (0.01s) --- PASS: TestOTelConfig/empty_receiver_config (0.01s) --- PASS: TestOTelConfig/basic_config (0.01s) --- PASS: TestOTelConfig/processor_config (0.04s) --- PASS: TestOTelConfig/password_in_file (0.02s) --- PASS: TestOTelConfig/password_in_file_with_extra_newline (0.01s) --- PASS: TestOTelConfig/insecure_skip_verify (0.01s) --- PASS: TestOTelConfig/no_compression (0.01s) --- PASS: TestOTelConfig/jaeger_remote_sampling_multiple_configs (0.02s) --- PASS: TestOTelConfig/push_config_and_remote_write (0.00s) --- PASS: TestOTelConfig/push_config.batch_and_batch (0.00s) --- PASS: TestOTelConfig/one_backend_with_remote_write (0.01s) --- PASS: TestOTelConfig/two_backends_in_a_remote_write_block (0.01s) --- PASS: TestOTelConfig/batch_block (0.01s) --- PASS: TestOTelConfig/span_metrics_remote_write_exporter (0.02s) --- PASS: TestOTelConfig/span_metrics_prometheus_exporter (0.01s) --- PASS: TestOTelConfig/span_metrics_prometheus_and_remote_write_exporters_fail (0.00s) --- PASS: TestOTelConfig/tail_sampling_config (0.02s) --- PASS: TestOTelConfig/tail_sampling_config_with_load_balancing (0.02s) --- PASS: TestOTelConfig/automatic_logging_:_default (0.01s) --- PASS: TestOTelConfig/tls_config (0.01s) --- PASS: TestOTelConfig/otlp_http_&_grpc_exporters (0.01s) --- PASS: TestOTelConfig/prom_SD_config (0.01s) --- PASS: TestOTelConfig/service_graphs (0.01s) --- PASS: TestOTelConfig/jaeger_exporter (0.01s) --- PASS: TestOTelConfig/jaeger_exporter_with_basic_auth (0.01s) --- PASS: TestOTelConfig/two_exporters_different_format (0.01s) --- PASS: TestOTelConfig/one_exporter_with_oauth2_and_basic_auth (0.02s) --- PASS: TestOTelConfig/simple_oauth2_config (0.02s) --- PASS: TestOTelConfig/oauth2_TLS_with_certs_and_keys_from_files (0.02s) --- PASS: TestOTelConfig/oauth2_TLS_with_certs_and_keys_from_strings (0.02s) --- PASS: TestOTelConfig/2_exporters_different_auth (0.04s) --- PASS: TestOTelConfig/exporter_with_insecure_oauth (0.02s) --- PASS: TestOTelConfig/OTLP_receivers_get_include_metadata_set_to_true_by_default (0.01s) === RUN TestProcessorOrder === RUN TestProcessorOrder/no_processors === RUN TestProcessorOrder/all_processors_w/o_load_balancing === RUN TestProcessorOrder/all_processors_with_load_balancing === RUN TestProcessorOrder/load_balancing_without_tail_sampling --- PASS: TestProcessorOrder (0.06s) --- PASS: TestProcessorOrder/no_processors (0.01s) --- PASS: TestProcessorOrder/all_processors_w/o_load_balancing (0.01s) --- PASS: TestProcessorOrder/all_processors_with_load_balancing (0.02s) --- PASS: TestProcessorOrder/load_balancing_without_tail_sampling (0.02s) === RUN TestOrderProcessors --- PASS: TestOrderProcessors (0.00s) === RUN TestScrubbedReceivers --- PASS: TestScrubbedReceivers (0.00s) === RUN TestCreatingPushReceiver --- PASS: TestCreatingPushReceiver (0.01s) === RUN TestUnmarshalYAMLEmptyOTLP --- PASS: TestUnmarshalYAMLEmptyOTLP (0.00s) === RUN TestUnmarshalYAMLEmptyOTLPProtocols --- PASS: TestUnmarshalYAMLEmptyOTLPProtocols (0.00s) === RUN TestTraces 2023-09-09T09:41:11.229-0400 info service/telemetry.go:81 Setting up own telemetry... 2023-09-09T09:41:11.245-0400 info service/telemetry.go:111 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} 2023-09-09T09:41:11.245-0400 info exporter@v0.80.0/exporter.go:275 Stability level of component is undefined {"kind": "exporter", "data_type": "traces", "name": "noop"} 2023-09-09T09:41:11.250-0400 info processor@v0.80.0/processor.go:289 Stability level of component is undefined {"kind": "processor", "name": "func_processor", "pipeline": "traces"} 2023-09-09T09:41:11.364-0400 info service/service.go:143 Starting ... {"Version": "", "NumCPU": 64} 2023-09-09T09:41:11.365-0400 info extensions/extensions.go:30 Starting extensions... 2023-09-09T09:41:11.367-0400 info otlpreceiver@v0.80.0/otlp.go:83 Starting GRPC server {"kind": "receiver", "name": "otlp", "data_type": "traces", "endpoint": "127.0.0.1:53633"} 2023-09-09T09:41:11.368-0400 info service/service.go:160 Everything is ready. Begin running and processing data. 2023-09-09T09:41:12.436-0400 info service/service.go:172 Starting shutdown... 2023-09-09T09:41:12.436-0400 info extensions/extensions.go:44 Stopping extensions... 2023-09-09T09:41:12.436-0400 info service/service.go:186 Shutdown complete. --- PASS: TestTraces (1.23s) === RUN TestTraceWithSpanmetricsConfig --- PASS: TestTraceWithSpanmetricsConfig (0.02s) === RUN TestTrace_ApplyConfig 2023-09-09T09:41:12.459-0400 info service/telemetry.go:81 Setting up own telemetry... 2023-09-09T09:41:12.459-0400 info service/telemetry.go:111 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} 2023-09-09T09:41:12.459-0400 info exporter@v0.80.0/exporter.go:275 Stability level of component is undefined {"kind": "exporter", "data_type": "traces", "name": "noop"} 2023-09-09T09:41:12.459-0400 info processor@v0.80.0/processor.go:289 Stability level of component is undefined {"kind": "processor", "name": "func_processor", "pipeline": "traces"} 2023-09-09T09:41:12.461-0400 info service/service.go:143 Starting ... {"Version": "", "NumCPU": 64} 2023-09-09T09:41:12.461-0400 info extensions/extensions.go:30 Starting extensions... 2023-09-09T09:41:12.461-0400 info otlpreceiver@v0.80.0/otlp.go:83 Starting GRPC server {"kind": "receiver", "name": "otlp", "data_type": "traces", "endpoint": "127.0.0.1:51892"} 2023-09-09T09:41:12.462-0400 info service/service.go:160 Everything is ready. Begin running and processing data. 2023-09-09T09:41:13.493-0400 info service/service.go:172 Starting shutdown... 2023-09-09T09:41:13.494-0400 info extensions/extensions.go:44 Stopping extensions... 2023-09-09T09:41:13.494-0400 info service/service.go:186 Shutdown complete. --- PASS: TestTrace_ApplyConfig (1.04s) PASS ok github.com/grafana/agent/pkg/traces 6.261s FAIL ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root8/build receiving incremental file list grafana-agent-0.36.1-1-riscv64-build.log grafana-agent-0.36.1-1-riscv64-check.log grafana-agent-0.36.1-1-riscv64-prepare.log sent 81 bytes received 8,473 bytes 17,108.00 bytes/sec total size is 48,155 speedup is 5.63