Skip to content

44250 Revert#44539

Merged
mostlikelee merged 2 commits intorc-patch-fleet-v4.84.1from
44250-revert
Apr 30, 2026
Merged

44250 Revert#44539
mostlikelee merged 2 commits intorc-patch-fleet-v4.84.1from
44250-revert

Conversation

@mostlikelee
Copy link
Copy Markdown
Contributor

reference: #44535

@mostlikelee mostlikelee requested a review from a team as a code owner April 30, 2026 20:03
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@qodo-free-for-open-source-projects
Copy link
Copy Markdown

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: test-go (fleetctl, mysql:9.5.0) / test

Failed stage: Run Go Tests [❌]

Failed test name: TestIntegrationsVulnerabilityDataStream

Failure summary:

The action failed because the Go integration test TestIntegrationsVulnerabilityDataStream failed in
cmd/fleetctl/integrationtest/vuln.
- The test attempted to download Ubuntu OVAL vulnerability
definitions from https://security-metadata.canonical.com/oval/ and repeatedly hit network failures
(TLS handshake timeout, i/o timeout) and HTTP 503 responses.
- The failure is reported at
cmd/fleetctl/integrationtest/vuln/vulnerability_data_stream_test.go:42 with: Error downloading Oval
definitions ... unexpected status code 503.
- This single test failure caused make test-go to exit
non-zero (make[1]: *** [Makefile:278: .run-go-tests] Error 1, make: *** [Makefile:393: test-go]
Error 2), failing the job with exit code 2.

Relevant error logs:
1:  ##[group]Runner Image Provisioner
2:  Hosted Compute Agent
...

1405:  �[36;1mattempt=1�[0m
1406:  �[36;1m�[0m
1407:  �[36;1mwhile [ $attempt -le $max_attempts ]; do�[0m
1408:  �[36;1m  echo "Attempt $attempt of $max_attempts"�[0m
1409:  �[36;1m�[0m
1410:  �[36;1m  # Try to connect to MySQL�[0m
1411:  �[36;1m  if wait_for_mysql "mysql_test"; then�[0m
1412:  �[36;1m    # If MySQL is ready, try to connect to MySQL replica�[0m
1413:  �[36;1m    if wait_for_mysql "mysql_replica_test"; then�[0m
1414:  �[36;1m      # Both are ready, we're done�[0m
1415:  �[36;1m      echo "All MySQL connections successful"�[0m
1416:  �[36;1m      exit 0�[0m
1417:  �[36;1m    fi�[0m
1418:  �[36;1m  fi�[0m
1419:  �[36;1m�[0m
1420:  �[36;1m  # If we get here, at least one connection failed�[0m
1421:  �[36;1m  echo "Failed to connect to MySQL on attempt $attempt"�[0m
1422:  �[36;1m�[0m
1423:  �[36;1m  if [ $attempt -lt $max_attempts ]; then�[0m
1424:  �[36;1m    echo "Restarting containers and trying again..."�[0m
1425:  �[36;1m    restart_containers�[0m
1426:  �[36;1m  else�[0m
1427:  �[36;1m    echo "Maximum attempts reached. Failing the job."�[0m
1428:  �[36;1m    exit 1�[0m
...

1527:  go: downloading gopkg.in/guregu/null.v3 v3.5.0
1528:  go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.12
1529:  go: downloading github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.35.8
1530:  go: downloading github.com/aws/aws-sdk-go-v2 v1.41.4
1531:  go: downloading github.com/spf13/cast v1.7.1
1532:  go: downloading github.com/spf13/cobra v1.9.1
1533:  go: downloading github.com/spf13/viper v1.20.1
1534:  go: downloading golang.org/x/net v0.52.0
1535:  go: downloading github.com/c-bata/go-prompt v0.2.3
1536:  go: downloading github.com/patrickmn/go-cache v2.1.0+incompatible
1537:  go: downloading github.com/Masterminds/semver/v3 v3.3.1
1538:  go: downloading github.com/Masterminds/semver v1.5.0
1539:  go: downloading github.com/gomodule/redigo v1.8.9
1540:  go: downloading github.com/oschwald/geoip2-golang v1.8.0
1541:  go: downloading google.golang.org/api v0.269.0
1542:  go: downloading github.com/hashicorp/go-multierror v1.1.1
1543:  go: downloading github.com/micromdm/plist v0.2.3-0.20260123201933-667adaf87d87
...

1626:  go: downloading github.com/nukosuke/go-zendesk v0.13.1
1627:  go: downloading github.com/mna/redisc v1.3.2
1628:  go: downloading cloud.google.com/go/pubsub v1.50.1
1629:  go: downloading github.com/aws/aws-sdk-go-v2/service/firehose v1.37.7
1630:  go: downloading cloud.google.com/go v0.123.0
1631:  go: downloading github.com/aws/aws-sdk-go-v2/service/kinesis v1.35.3
1632:  go: downloading github.com/aws/aws-sdk-go-v2/service/lambda v1.72.0
1633:  go: downloading github.com/expr-lang/expr v1.17.7
1634:  go: downloading github.com/golang/snappy v0.0.4
1635:  go: downloading github.com/nats-io/nats.go v1.49.0
1636:  go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
1637:  go: downloading github.com/micromdm/micromdm v1.9.0
1638:  go: downloading github.com/oschwald/maxminddb-golang v1.10.0
1639:  go: downloading github.com/hashicorp/errwrap v1.1.0
1640:  go: downloading github.com/open-policy-agent/opa v1.4.2
1641:  go: downloading github.com/pkg/errors v0.9.1
1642:  go: downloading github.com/aws/aws-sdk-go-v2/feature/rds/auth v1.6.16
...

1731:  go: downloading github.com/xanzy/ssh-agent v0.3.3
1732:  go: downloading cloud.google.com/go/pubsub/v2 v2.0.0
1733:  go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260319201613-d00831a3d3e7
1734:  go: downloading cloud.google.com/go/auth v0.18.2
1735:  go: downloading google.golang.org/genproto v0.0.0-20260128011058-8636f8732409
1736:  go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.8
1737:  go: downloading cloud.google.com/go/compute/metadata v0.9.0
1738:  go: downloading github.com/google/s2a-go v0.1.9
1739:  go: downloading github.com/siderolabs/go-cmd v0.1.1
1740:  go: downloading github.com/x448/float16 v0.8.4
1741:  go: downloading github.com/Masterminds/goutils v1.1.1
1742:  go: downloading github.com/huandu/xstrings v1.5.0
1743:  go: downloading github.com/mitchellh/copystructure v1.2.0
1744:  go: downloading github.com/gobwas/glob v0.2.3
1745:  go: downloading github.com/go-jose/go-jose/v3 v3.0.5
1746:  go: downloading github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901
1747:  go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20260203192932-546029d2fa20
...

1872:  �[32m✓�[0m Apply specs deprecated keys app config windows updates.grace period days not a number (0.36s)
1873:  �[32m✓�[0m Apply specs deprecated keys app config windows updates.grace period days out of range (0.40s)
1874:  �[32m✓�[0m Apply specs deprecated keys config with FIM values for agent options (#869 9) (0.44s)
1875:  �[32m✓�[0m Apply specs deprecated keys config with blank required org name (0.68s)
1876:  �[32m✓�[0m Apply specs deprecated keys config with blank required server url (0.60s)
1877:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options command-line flags (0.46s)
1878:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options data type in dry-run (0.33s)
1879:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options data type with force (0.38s)
1880:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options in dry-run (0.46s)
1881:  �[32m✓�[0m Apply specs deprecated keys config with invalid key type (0.46s)
1882:  �[32m✓�[0m Apply specs deprecated keys config with invalid value for agent options command-line flags (0.39s)
1883:  �[32m✓�[0m Apply specs deprecated keys config with unknown key (0.55s)
1884:  �[32m✓�[0m Apply specs deprecated keys config with valid agent options command-line flags (0.44s)
1885:  �[32m✓�[0m Apply specs deprecated keys dry-run set with unsupported spec (0.61s)
1886:  �[32m✓�[0m Apply specs deprecated keys dry-run set with various specs, appconfig warning for legacy (0.40s)
1887:  �[32m✓�[0m Apply specs deprecated keys dry-run set with various specs, no errors (0.44s)
1888:  �[32m✓�[0m Apply specs deprecated keys empty config (0.46s)
...

1891:  �[32m✓�[0m Apply specs deprecated keys invalid agent options dry-run (0.52s)
1892:  �[32m✓�[0m Apply specs deprecated keys invalid agent options field type (0.60s)
1893:  �[32m✓�[0m Apply specs deprecated keys invalid agent options field type in overrides (0.49s)
1894:  �[32m✓�[0m Apply specs deprecated keys invalid agent options for existing team (0.72s)
1895:  �[32m✓�[0m Apply specs deprecated keys invalid agent options for new team (0.53s)
1896:  �[32m✓�[0m Apply specs deprecated keys invalid agent options force (0.65s)
1897:  �[32m✓�[0m Apply specs deprecated keys invalid known key's value type for team cannot be forced (0.50s)
1898:  �[32m✓�[0m Apply specs deprecated keys invalid team agent options command-line flag (0.37s)
1899:  �[32m✓�[0m Apply specs deprecated keys invalid top-level key for team (0.41s)
1900:  �[32m✓�[0m Apply specs deprecated keys macos updates deadline set but minimum version empty (0.39s)
1901:  �[32m✓�[0m Apply specs deprecated keys macos updates minimum version set but deadline empty (0.64s)
1902:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with incomplete date (0.44s)
1903:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with invalid date (0.51s)
1904:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with timestamp (0.60s)
1905:  �[32m✓�[0m Apply specs deprecated keys macos updates.minimum version with build version (0.43s)
1906:  �[32m✓�[0m Apply specs deprecated keys missing required failing policies destination url (0.41s)
1907:  �[32m✓�[0m Apply specs deprecated keys missing required host status days count (0.51s)
...

1915:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption true (0.47s)
1916:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption with invalid value type (0.45s)
1917:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption without a value (0.44s)
1918:  �[32m✓�[0m Apply specs deprecated keys unknown key for team can be forced (0.79s)
1919:  �[32m✓�[0m Apply specs deprecated keys valid team agent options command-line flag (0.38s)
1920:  �[32m✓�[0m Apply specs deprecated keys windows updates unset valid (0.39s)
1921:  �[32m✓�[0m Apply specs deprecated keys windows updates valid (0.54s)
1922:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days but grace period empty (0.40s)
1923:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days not a number (0.41s)
1924:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days out of range (0.35s)
1925:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days but deadline empty (0.44s)
1926:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days not a number (0.54s)
1927:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days out of range (0.38s)
1928:  �[32m✓�[0m Apply specs dry-run set with unsupported spec (0.44s)
1929:  �[32m✓�[0m Apply specs dry-run set with various specs, appconfig warning for legacy (0.46s)
1930:  �[32m✓�[0m Apply specs dry-run set with various specs, no errors (0.33s)
1931:  �[32m✓�[0m Apply specs empty config (0.64s)
...

1934:  �[32m✓�[0m Apply specs invalid agent options dry-run (0.34s)
1935:  �[32m✓�[0m Apply specs invalid agent options field type (0.43s)
1936:  �[32m✓�[0m Apply specs invalid agent options field type in overrides (0.43s)
1937:  �[32m✓�[0m Apply specs invalid agent options for existing team (0.35s)
1938:  �[32m✓�[0m Apply specs invalid agent options for new team (0.41s)
1939:  �[32m✓�[0m Apply specs invalid agent options force (0.42s)
1940:  �[32m✓�[0m Apply specs invalid known key's value type for team cannot be forced (0.40s)
1941:  �[32m✓�[0m Apply specs invalid team agent options command-line flag (0.39s)
1942:  �[32m✓�[0m Apply specs invalid top-level key for team (0.50s)
1943:  �[32m✓�[0m Apply specs macos updates deadline set but minimum version empty (0.38s)
1944:  �[32m✓�[0m Apply specs macos updates minimum version set but deadline empty (0.43s)
1945:  �[32m✓�[0m Apply specs macos updates.deadline with incomplete date (0.44s)
1946:  �[32m✓�[0m Apply specs macos updates.deadline with invalid date (0.38s)
1947:  �[32m✓�[0m Apply specs macos updates.deadline with timestamp (0.41s)
1948:  �[32m✓�[0m Apply specs macos updates.minimum version with build version (0.46s)
1949:  �[32m✓�[0m Apply specs missing required failing policies destination url (0.35s)
1950:  �[32m✓�[0m Apply specs missing required host status days count (0.71s)
...

2036:  �[32m✓�[0m Filename functions (0.00s)
2037:  �[32m✓�[0m Filename functions outfile name builds a file name using the name provided + current time (0.00s)
2038:  �[32m✓�[0m Filename functions outfile name with ext builds a file name using the name and extension provided + current time (0.00s)
2039:  �[32m✓�[0m FleetctlUpgradePacks empty packs (0.38s)
2040:  �[32m✓�[0m FleetctlUpgradePacks no pack (0.49s)
2041:  �[32m✓�[0m FleetctlUpgradePacks non empty (0.42s)
2042:  �[32m✓�[0m FleetctlUpgradePacks not admin (0.57s)
2043:  �[32m✓�[0m Format XML (0.00s)
2044:  �[32m✓�[0m Format XML XML with attributes (0.00s)
2045:  �[32m✓�[0m Format XML basic XML (0.00s)
2046:  �[32m✓�[0m Format XML empty XML (0.00s)
2047:  �[32m✓�[0m Format XML invalid XML (0.00s)
2048:  �[32m✓�[0m Format XML nested XML (0.00s)
2049:  �[32m✓�[0m Generate MDM apple (0.73s)
2050:  �[32m✓�[0m Generate MDM apple BM (0.41s)
2051:  �[32m✓�[0m Generate MDM apple CSR API call fails (0.33s)
2052:  �[32m✓�[0m Generate MDM apple successful run (0.41s)
2053:  �[32m✓�[0m Generate MDMVPP tokens (0.00s)
2054:  �[32m✓�[0m Generate MDMVPP tokens get VPP tokens error (0.00s)
2055:  �[32m✓�[0m Generate MDMVPP tokens multiple tokens with different teams (0.00s)
...

2066:  �[32m✓�[0m Generate org settings insecure (0.00s)
2067:  �[32m✓�[0m Generate org settings masked google calendar api key (0.00s)
2068:  �[32m✓�[0m Generate policies (0.00s)
2069:  �[32m✓�[0m Generate queries (0.00s)
2070:  �[32m✓�[0m Generate software (0.00s)
2071:  �[32m✓�[0m Generate software auto update schedule (0.00s)
2072:  �[32m✓�[0m Generate software script packages (0.00s)
2073:  �[32m✓�[0m Generate team settings (0.00s)
2074:  �[32m✓�[0m Generate team settings insecure (0.00s)
2075:  �[32m✓�[0m Generated org settings no SSO (0.00s)
2076:  �[32m✓�[0m Generated org settings okta conditional access not included (0.00s)
2077:  �[32m✓�[0m Get MDM command results (0.33s)
2078:  �[32m✓�[0m Get MDM command results command flag required (0.00s)
2079:  �[32m✓�[0m Get MDM command results command not found (0.01s)
2080:  �[32m✓�[0m Get MDM command results command results empty (0.01s)
2081:  �[32m✓�[0m Get MDM command results command results error (0.01s)
2082:  �[32m✓�[0m Get MDM command results darwin command results (0.01s)
2083:  �[32m✓�[0m Get MDM command results host specific results (0.00s)
2084:  �[32m✓�[0m Get MDM command results windows command results (0.01s)
2085:  �[32m✓�[0m Get MDM commands (0.41s)
2086:  �[32m✓�[0m Get apple BM (1.65s)
2087:  �[32m✓�[0m Get apple BM free license (0.46s)
2088:  �[32m✓�[0m Get apple BM premium license, multiple tokens (0.44s)
2089:  �[32m✓�[0m Get apple BM premium license, no token (0.39s)
2090:  �[32m✓�[0m Get apple BM premium license, single token (0.36s)
2091:  �[32m✓�[0m Get apple MDM (0.39s)
2092:  �[32m✓�[0m Get carve (0.33s)
2093:  �[32m✓�[0m Get carve with error (0.37s)
2094:  �[32m✓�[0m Get carves (0.34s)
...

2120:  �[32m✓�[0m Get queries as observer (0.36s)
2121:  �[32m✓�[0m Get queries as observer global observer (0.01s)
2122:  �[32m✓�[0m Get queries as observer observer of multiple teams (0.01s)
2123:  �[32m✓�[0m Get queries as observer team observer (0.01s)
2124:  �[32m✓�[0m Get query (0.55s)
2125:  �[32m✓�[0m Get software titles (0.37s)
2126:  �[32m✓�[0m Get software versions (0.35s)
2127:  �[32m✓�[0m Get teams (0.92s)
2128:  �[32m✓�[0m Get teams YAML and apply (0.37s)
2129:  �[32m✓�[0m Get teams by name (0.46s)
2130:  �[32m✓�[0m Get teams expired license (0.45s)
2131:  �[32m✓�[0m Get teams not expired license (0.47s)
2132:  �[32m✓�[0m Get user roles (0.46s)
2133:  �[32m✓�[0m Git ops ABM (5.60s)
2134:  �[32m✓�[0m Git ops ABM backwards compat (0.60s)
2135:  �[32m✓�[0m Git ops ABM both keys errors (0.49s)
2136:  �[32m✓�[0m Git ops ABM deprecated config with two tokens in the db fails (0.46s)
2137:  �[32m✓�[0m Git ops ABM new key all valid (0.65s)
2138:  �[32m✓�[0m Git ops ABM new key multiple elements (0.66s)
2139:  �[32m✓�[0m Git ops ABM no team is supported (0.62s)
2140:  �[32m✓�[0m Git ops ABM non existent org name fails (0.39s)
2141:  �[32m✓�[0m Git ops ABM not provided teams defaults to no team (0.62s)
2142:  �[32m✓�[0m Git ops ABM renamed new key all valid (0.62s)
2143:  �[32m✓�[0m Git ops ABM using an undefined team errors (0.49s)
2144:  �[32m✓�[0m Git ops EULA setting (4.48s)
...

2147:  �[32m✓�[0m Git ops EULA setting not a PDF file (0.50s)
2148:  �[32m✓�[0m Git ops EULA setting relative path to working dir to pdf file (no existing EULA uploaded) (0.48s)
2149:  �[32m✓�[0m Git ops EULA setting relative path to yaml file to pdf file (no existing EULA uploaded) (0.59s)
2150:  �[32m✓�[0m Git ops EULA setting uploading the same EULA again (0.65s)
2151:  �[32m✓�[0m Git ops EULA setting valid new pdf file (different EULA already uploaded) (0.52s)
2152:  �[32m✓�[0m Git ops EULA setting valid pdf file (no existing EULA uploaded) (0.40s)
2153:  �[32m✓�[0m Git ops MDM auth settings (0.66s)
2154:  �[32m✓�[0m Git ops SMTP settings (0.47s)
2155:  �[32m✓�[0m Git ops SSO server URL (0.47s)
2156:  �[32m✓�[0m Git ops SSO settings (0.56s)
2157:  �[32m✓�[0m Git ops android certificates add (0.50s)
2158:  �[32m✓�[0m Git ops android certificates change (0.62s)
2159:  �[32m✓�[0m Git ops android certificates delete all (0.43s)
2160:  �[32m✓�[0m Git ops android certificates delete one (0.47s)
2161:  �[32m✓�[0m Git ops app store app auto update (0.41s)
2162:  �[32m✓�[0m Git ops app store app auto update invalid auto-update window triggers error and does not call update software title auto update config (0.01s)
2163:  �[32m✓�[0m Git ops app store app auto update no auto update settings and no existing schedule does not call update software title auto update config (0.02s)
...

2166:  �[32m✓�[0m Git ops apple OS updates (0.68s)
2167:  �[32m✓�[0m Git ops apple OS updates ios updates (0.05s)
2168:  �[32m✓�[0m Git ops apple OS updates ios updates changed deadline triggers bulk set pending MDM host profiles (0.01s)
2169:  �[32m✓�[0m Git ops apple OS updates ios updates changed minimum version triggers bulk set pending MDM host profiles (0.02s)
2170:  �[32m✓�[0m Git ops apple OS updates ios updates same values do not trigger bulk set pending MDM host profiles (0.01s)
2171:  �[32m✓�[0m Git ops apple OS updates ipados updates (0.04s)
2172:  �[32m✓�[0m Git ops apple OS updates ipados updates changed deadline triggers bulk set pending MDM host profiles (0.01s)
2173:  �[32m✓�[0m Git ops apple OS updates ipados updates changed minimum version triggers bulk set pending MDM host profiles (0.01s)
2174:  �[32m✓�[0m Git ops apple OS updates ipados updates same values do not trigger bulk set pending MDM host profiles (0.01s)
2175:  �[32m✓�[0m Git ops apple OS updates macos updates (0.05s)
2176:  �[32m✓�[0m Git ops apple OS updates macos updates changed deadline triggers bulk set pending MDM host profiles (0.01s)
2177:  �[32m✓�[0m Git ops apple OS updates macos updates changed minimum version triggers bulk set pending MDM host profiles (0.02s)
2178:  �[32m✓�[0m Git ops apple OS updates macos updates same values do not trigger bulk set pending MDM host profiles (0.02s)
2179:  �[32m✓�[0m Git ops basic global and no team (0.56s)
2180:  �[32m✓�[0m Git ops basic global and no team basic global and no-team.yml (0.05s)
2181:  �[32m✓�[0m Git ops basic global and no team both global and no-team.yml define controls -- should fail (0.01s)
2182:  �[32m✓�[0m Git ops basic global and no team controls only defined in no-team.yml (0.05s)
2183:  �[32m✓�[0m Git ops basic global and no team global DOES NOT define controls -- should fail (0.01s)
2184:  �[32m✓�[0m Git ops basic global and no team global and no-team.yml DO NOT define controls -- should fail (0.01s)
2185:  �[32m✓�[0m Git ops basic global and no team global defines software -- should fail (0.01s)
2186:  �[32m✓�[0m Git ops basic global and no team no-team provided without global -- should fail (0.01s)
2187:  �[32m✓�[0m Git ops basic global and no team no-team.yml defines policy with calendar events enabled -- should fail (0.01s)
2188:  �[32m✓�[0m Git ops basic global and no team unassigned provided without global -- should fail (0.01s)
2189:  �[32m✓�[0m Git ops basic global and team (0.58s)
...

2194:  �[32m✓�[0m Git ops custom settings global macos custom settings valid deprecated.yml (0.49s)
2195:  �[32m✓�[0m Git ops custom settings global macos windows custom settings valid.yml (0.39s)
2196:  �[32m✓�[0m Git ops custom settings global windows custom settings invalid label mix 2 .yml (0.48s)
2197:  �[32m✓�[0m Git ops custom settings global windows custom settings invalid label mix.yml (0.44s)
2198:  �[32m✓�[0m Git ops custom settings global windows custom settings unknown label.yml (0.41s)
2199:  �[32m✓�[0m Git ops custom settings team macos custom settings valid deprecated.yml (0.52s)
2200:  �[32m✓�[0m Git ops custom settings team macos windows custom settings invalid labels mix 2 .yml (0.50s)
2201:  �[32m✓�[0m Git ops custom settings team macos windows custom settings invalid labels mix.yml (0.45s)
2202:  �[32m✓�[0m Git ops custom settings team macos windows custom settings unknown label.yml (0.51s)
2203:  �[32m✓�[0m Git ops custom settings team macos windows custom settings valid.yml (0.50s)
2204:  �[32m✓�[0m Git ops exception enforcement (0.49s)
2205:  �[32m✓�[0m Git ops exception enforcement free tier (0.51s)
2206:  �[32m✓�[0m Git ops exceptions preserve omitted keys (0.44s)
2207:  �[32m✓�[0m Git ops features (0.53s)
2208:  �[32m✓�[0m Git ops filename validation (0.00s)
2209:  �[32m✓�[0m Git ops fleet failing policies webhook policy IDs (0.41s)
2210:  �[32m✓�[0m Git ops fleet webhooks and tickets enabled (0.56s)
...

2361:  �[32m✓�[0m Run api command get scripts full path missing (0.00s)
2362:  �[32m✓�[0m Run api command get scripts team (0.00s)
2363:  �[32m✓�[0m Run api command get scripts team no cache (0.00s)
2364:  �[32m✓�[0m Run api command get typo (0.00s)
2365:  �[32m✓�[0m Run api command upload script (0.01s)
2366:  �[32m✓�[0m Run script command (0.63s)
2367:  �[32m✓�[0m Run script command disabled scripts globally (0.00s)
2368:  �[32m✓�[0m Run script command host not found (0.01s)
2369:  �[32m✓�[0m Run script command invalid file type (0.01s)
2370:  �[32m✓�[0m Run script command invalid hashbang (0.01s)
2371:  �[32m✓�[0m Run script command invalid utf 8 (0.01s)
2372:  �[32m✓�[0m Run script command missing one of script-path and script-nqme (0.01s)
2373:  �[32m✓�[0m Run script command output truncated (0.01s)
2374:  �[32m✓�[0m Run script command posix shell hashbang (0.01s)
2375:  �[32m✓�[0m Run script command script empty (0.01s)
2376:  �[32m✓�[0m Run script command script failed (0.01s)
2377:  �[32m✓�[0m Run script command script killed (0.01s)
...

2413:  �[32m✓�[0m User create force password reset (0.47s)
2414:  �[32m✓�[0m User delete (0.35s)
2415:  �[32m✓�[0m User is observer (0.00s)
2416:  �[32m✓�[0m User is observer global maintainer (0.00s)
2417:  �[32m✓�[0m User is observer global observer (0.00s)
2418:  �[32m✓�[0m User is observer global observer+ (0.00s)
2419:  �[32m✓�[0m User is observer team maintainer (0.00s)
2420:  �[32m✓�[0m User is observer team observer (0.00s)
2421:  �[32m✓�[0m User is observer team observer and maintainer (0.00s)
2422:  �[32m✓�[0m User is observer team observer+ (0.00s)
2423:  �[32m✓�[0m User is observer user without roles (0.00s)
2424:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/vuln:
2425:  �[31m✖�[0m Integrations vulnerability data stream (460.27s)
2426:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/preview:
2427:  �[32m✓�[0m Integrations preview (534.33s)
2428:  �[32m✓�[0m Preview fails on invalid license key (0.00s)
2429:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/gitops:
2430:  �[32m✓�[0m Git ops VPP (4.36s)
2431:  �[32m✓�[0m Git ops VPP all teams is supported (0.54s)
2432:  �[32m✓�[0m Git ops VPP new key all valid (0.66s)
2433:  �[32m✓�[0m Git ops VPP new key multiple elements (0.74s)
2434:  �[32m✓�[0m Git ops VPP no team is supported (0.83s)
2435:  �[32m✓�[0m Git ops VPP non existent location fails (0.47s)
2436:  �[32m✓�[0m Git ops VPP not provided teams defaults to no team (0.60s)
2437:  �[32m✓�[0m Git ops VPP using an undefined team errors (0.52s)
2438:  �[32m✓�[0m Git ops existing team VPP apps with missing team (0.72s)
...

2516:  �[32m✓�[0m Git ops team software installers team software installer valid.yml# 01 (1.42s)
2517:  �[32m✓�[0m Git ops team software installers team software installer with display name.yml (1.50s)
2518:  �[32m✓�[0m Integrations enterprise gitops (288.12s)
2519:  �[32m✓�[0m Integrations enterprise gitops test CA integrations (5.83s)
2520:  �[32m✓�[0m Integrations enterprise gitops test FMA labels include all (6.06s)
2521:  �[32m✓�[0m Integrations enterprise gitops test IPA software installers (10.51s)
2522:  �[32m✓�[0m Integrations enterprise gitops test add manual labels (2.11s)
2523:  �[32m✓�[0m Integrations enterprise gitops test configuration profile escaping (1.83s)
2524:  �[32m✓�[0m Integrations enterprise gitops test delete CA with certificate templates (7.29s)
2525:  �[32m✓�[0m Integrations enterprise gitops test delete mac OS setup (6.50s)
2526:  �[32m✓�[0m Integrations enterprise gitops test deleting no team YAML (3.38s)
2527:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience (125.26s)
2528:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience all VPP with setup experience (1.55s)
2529:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience no team VPP (1.35s)
2530:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience no team installers (60.98s)
2531:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience packages fail (61.18s)
2532:  �[32m✓�[0m Integrations enterprise gitops test env substitution in profiles (1.67s)
...

2550:  �[32m✓�[0m Integrations enterprise gitops test omitted top level keys fleet (2.96s)
2551:  �[32m✓�[0m Integrations enterprise gitops test omitted top level keys global (2.96s)
2552:  �[32m✓�[0m Integrations enterprise gitops test remove custom settings from default YAML (3.17s)
2553:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps (4.65s)
2554:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps all teams (2.89s)
2555:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps no team (1.57s)
2556:  �[32m✓�[0m Integrations enterprise gitops test unset configuration profile labels (6.02s)
2557:  �[32m✓�[0m Integrations enterprise gitops test unset software installer labels (10.02s)
2558:  �[32m✓�[0m Integrations enterprise starter library (5.18s)
2559:  �[32m✓�[0m Integrations enterprise starter library test apply starter library premium (3.88s)
2560:  �[32m✓�[0m Integrations gitops (2.62s)
2561:  �[32m✓�[0m Integrations gitops test fleet gitops (0.91s)
2562:  �[32m✓�[0m Integrations gitops test fleet gitops with fleet secrets (0.46s)
2563:  �[32m✓�[0m Integrations starter library (1.55s)
2564:  �[32m✓�[0m Integrations starter library test apply starter library free (0.32s)
2565:  === �[31mFailed�[0m
2566:  === �[31mFAIL�[0m: cmd/fleetctl/integrationtest/vuln TestIntegrationsVulnerabilityDataStream (460.27s)
2567:  nettest.go:33: network test start: TestIntegrationsVulnerabilityDataStream
2568:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.noble.usn.oval.xml.bz2: do request: Get "https://security-metadata.canonical.com/oval/com.ubuntu.noble.usn.oval.xml.bz2": net/http: TLS handshake timeout. Retrying in 561.874042ms
2569:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.noble.usn.oval.xml.bz2: do request: Get "https://security-metadata.canonical.com/oval/com.ubuntu.noble.usn.oval.xml.bz2": net/http: TLS handshake timeout. Retrying in 750.136276ms
2570:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.noble.usn.oval.xml.bz2: do request: Get "https://security-metadata.canonical.com/oval/com.ubuntu.noble.usn.oval.xml.bz2": net/http: TLS handshake timeout. Retrying in 676.23915ms
2571:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.noble.usn.oval.xml.bz2: do request: Get "https://security-metadata.canonical.com/oval/com.ubuntu.noble.usn.oval.xml.bz2": dial tcp 185.125.190.47:443: i/o timeout. Retrying in 2.16890274s
2572:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 431.900447ms
2573:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 1.098093905s
2574:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 1.446785416s
2575:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 909.375365ms
2576:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 3.371831529s
2577:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 4.498839648s
2578:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 3.931172409s
2579:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 6.155075484s
2580:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 12.675009031s
2581:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 12.692205892s
2582:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 23.718518152s
2583:  Download failed on https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: unexpected status code 503. Retrying in 33.667459893s
2584:  vulnerability_data_stream_test.go:42: 
2585:  Error Trace:	/home/runner/work/fleet/fleet/cmd/fleetctl/integrationtest/vuln/vulnerability_data_stream_test.go:42
2586:  Error:      	Received unexpected error:
2587:  Error downloading Oval definitions: downloadDefinitions: download and extract url https://security-metadata.canonical.com/oval/com.ubuntu.oracular.usn.oval.xml.bz2: download and write file: unexpected status code 503
2588:  Test:       	TestIntegrationsVulnerabilityDataStream
2589:  nettest.go:36: network test done: TestIntegrationsVulnerabilityDataStream
2590:  DONE 795 tests, 1 failure in 612.369s
2591:  make[1]: *** [Makefile:278: .run-go-tests] Error 1
2592:  make[1]: Leaving directory '/home/runner/work/fleet/fleet'
2593:  make: *** [Makefile:393: test-go] Error 2
2594:  ##[error]Process completed with exit code 2.
2595:  ##[group]Run actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
2596:  with:
2597:  name: fleetctl-mysql9.5.0-coverage
2598:  path: ./coverage.txt
2599:  if-no-files-found: error
2600:  compression-level: 6
...

2612:  With the provided path, there will be 1 file uploaded
2613:  Artifact name is valid!
2614:  Root directory input is valid!
2615:  Beginning upload of artifact content to blob storage
2616:  Uploaded bytes 2765124
2617:  Finished uploading artifact content to blob storage!
2618:  SHA256 hash of uploaded artifact zip is 035b98bb8a02380d62c3749436a3463da5dc2848466c5e6a29140f8cb62b8c25
2619:  Finalizing artifact upload
2620:  Artifact fleetctl-mysql9.5.0-coverage.zip successfully finalized. Artifact ID 6739363667
2621:  Artifact fleetctl-mysql9.5.0-coverage has been successfully uploaded! Final size is 2765124 bytes. Artifact ID is 6739363667
2622:  Artifact download URL: https://github.com/fleetdm/fleet/actions/runs/25186663525/artifacts/6739363667
2623:  ##[group]Run c1grep() { grep "$@" || test $? = 1; }
2624:  �[36;1mc1grep() { grep "$@" || test $? = 1; }�[0m
2625:  �[36;1mc1grep -oP 'FAIL: .*$' /tmp/gotest.log > /tmp/summary.txt�[0m
2626:  �[36;1mc1grep 'test timed out after' /tmp/gotest.log >> /tmp/summary.txt�[0m
2627:  �[36;1mc1grep 'fatal error:' /tmp/gotest.log >> /tmp/summary.txt�[0m
2628:  �[36;1mc1grep -A 10 'panic: runtime error: ' /tmp/gotest.log >> /tmp/summary.txt�[0m
2629:  �[36;1mc1grep ' FAIL\t' /tmp/gotest.log >> /tmp/summary.txt�[0m
2630:  �[36;1mGO_FAIL_SUMMARY=$(head -n 5 /tmp/summary.txt | sed ':a;N;$!ba;s/\n/\\n/g')�[0m
2631:  �[36;1mecho "GO_FAIL_SUMMARY=$GO_FAIL_SUMMARY"�[0m
2632:  �[36;1mif [[ -z "$GO_FAIL_SUMMARY" ]]; then�[0m
2633:  �[36;1m  GO_FAIL_SUMMARY="unknown, please check the build URL"�[0m
2634:  �[36;1mfi�[0m
2635:  �[36;1mGO_FAIL_SUMMARY=$GO_FAIL_SUMMARY envsubst < .github/workflows/config/slack_payload_template.json > ./payload.json�[0m
2636:  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2637:  env:
2638:  RACE_ENABLED: false
2639:  GO_TEST_TIMEOUT: 20m
2640:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2641:  RUN_TESTS_ARG: 
2642:  CI_TEST_PKG: fleetctl
2643:  NEED_DOCKER: 1
2644:  ARTIFACT_PREFIX: fleetctl-mysql9.5.0
2645:  GOTOOLCHAIN: local
2646:  ##[endgroup]
2647:  GO_FAIL_SUMMARY=
2648:  ##[group]Run actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
2649:  with:
2650:  name: fleetctl-mysql9.5.0-test-log
2651:  path: /tmp/gotest.log
2652:  if-no-files-found: error
2653:  compression-level: 6

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (rc-patch-fleet-v4.84.1@532c3a4). Learn more about missing BASE report.

Additional details and impacted files
@@                    Coverage Diff                    @@
##             rc-patch-fleet-v4.84.1   #44539   +/-   ##
=========================================================
  Coverage                          ?   68.63%           
=========================================================
  Files                             ?     1547           
  Lines                             ?   179010           
  Branches                          ?        0           
=========================================================
  Hits                              ?   122868           
  Misses                            ?    43640           
  Partials                          ?    12502           
Flag Coverage Δ
backend 68.63% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mostlikelee mostlikelee merged commit 380250a into rc-patch-fleet-v4.84.1 Apr 30, 2026
46 of 48 checks passed
@mostlikelee mostlikelee deleted the 44250-revert branch April 30, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants