Skip to content

Fix time.Ticker leak in conditional access polling#48538

Draft
sharon-fdm wants to merge 1 commit into
mainfrom
fix-42901-ticker-leak
Draft

Fix time.Ticker leak in conditional access polling#48538
sharon-fdm wants to merge 1 commit into
mainfrom
fix-42901-ticker-leak

Conversation

@sharon-fdm

Copy link
Copy Markdown
Collaborator

Related issue: Closes #42901

Checklist for submitter

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.

  • Input data is properly validated, SELECT * is avoided, SQL injection is prevented (using placeholders for values in statements), JS inline code is prevented especially for url redirects, and untrusted data interpolated into shell scripts/commands is validated against shell metacharacters.

  • Timeouts are implemented and retries are limited to avoid infinite loops

Summary

  • Replaced time.Tick with time.NewTicker + defer ticker.Stop() in the conditional access polling loop in server/service/osquery.go
  • This ensures the ticker is properly cleaned up when the function returns, preventing a resource leak

Testing

  • Ran go vet ./server/service/... -- passed with no issues
  • Ran conditional access unit tests (go test -run "ConditionalAccess" ./server/service/ -count=1) -- all passed
  • The integration tests that exercise this polling loop (TestConditionalAccess* in integration_enterprise_test.go) require MYSQL_TEST=1 REDIS_TEST=1 and will be validated in CI

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@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:8.0.44) / test

Failed stage: Run Go Tests [❌]

Failed test name: TestGitOpsFullGlobal/useDeprecatedKeys=false

Failure summary:

The action failed because Go tests in ./cmd/fleetctl/... had test failures, causing make
.run-go-tests to exit non-zero (Makefile:302), which then failed make test-go (Makefile:417) with
exit code 2.
- Failing test: TestGitOpsFullGlobal in both subtests useDeprecatedKeys=false and
useDeprecatedKeys=true.
- Root cause: the test hit an unexpected API error while applying GitOps
custom settings:
- POST /api/latest/fleet/mdm/profiles/batch returned 422 Validation Failed with
message: cannot set custom settings: Windows MDM isn't turned on.
- The error is reported at
/home/runner/work/fleet/fleet/cmd/fleetctl/fleetctl/testing_utils_test.go:20 with the trace pointing
into /home/runner/work/fleet/fleet/cmd/fleetctl/fleetctl/gitops_test.go:2244.

Relevant error logs:
1:  Runner name: 'ubuntu-8core-1000962745'
2:  Runner group name: 'default larger runners'
...

976:  �[36;1mattempt=1�[0m
977:  �[36;1m�[0m
978:  �[36;1mwhile [ $attempt -le $max_attempts ]; do�[0m
979:  �[36;1m  echo "Attempt $attempt of $max_attempts"�[0m
980:  �[36;1m�[0m
981:  �[36;1m  # Try to connect to MySQL�[0m
982:  �[36;1m  if wait_for_mysql "mysql_test"; then�[0m
983:  �[36;1m    # If MySQL is ready, try to connect to MySQL replica�[0m
984:  �[36;1m    if wait_for_mysql "mysql_replica_test"; then�[0m
985:  �[36;1m      # Both are ready, we're done�[0m
986:  �[36;1m      echo "All MySQL connections successful"�[0m
987:  �[36;1m      exit 0�[0m
988:  �[36;1m    fi�[0m
989:  �[36;1m  fi�[0m
990:  �[36;1m�[0m
991:  �[36;1m  # If we get here, at least one connection failed�[0m
992:  �[36;1m  echo "Failed to connect to MySQL on attempt $attempt"�[0m
993:  �[36;1m�[0m
994:  �[36;1m  if [ $attempt -lt $max_attempts ]; then�[0m
995:  �[36;1m    echo "Restarting containers and trying again..."�[0m
996:  �[36;1m    restart_containers�[0m
997:  �[36;1m  else�[0m
998:  �[36;1m    echo "Maximum attempts reached. Failing the job."�[0m
999:  �[36;1m    exit 1�[0m
...

1149:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
1150:  GOTOOLCHAIN: local
1151:  FLEET_PREVIEW_TAG: dev
1152:  ##[endgroup]
1153:  make .run-go-tests PKG_TO_TEST="./cmd/fleetctl/..."
1154:  make[1]: Entering directory '/home/runner/work/fleet/fleet'
1155:  Running Go tests with gotestsum:
1156:  gotestsum --format=testdox --jsonfile=/tmp/test-output.json -- -tags full,fts5,netgo -run=  -v -race=false -timeout=20m  -parallel 8 -coverprofile=coverage.txt -covermode=atomic -coverpkg=github.com/fleetdm/fleet/v4/... ././cmd/fleetctl/... 
1157:  github.com/fleetdm/fleet/v4/cmd/fleetctl:
1158:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/fleetctltest:
1159:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/testing_utils:
1160:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/goquerycmd:
1161:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest:
1162:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/preview:
1163:  �[32m✓�[0m Integrations preview (52.05s)
1164:  �[32m✓�[0m Preview fails on invalid license key (0.00s)
1165:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/package:
...

1276:  �[32m✓�[0m Apply specs deprecated keys app config windows updates.grace period days not a number (0.41s)
1277:  �[32m✓�[0m Apply specs deprecated keys app config windows updates.grace period days out of range (0.38s)
1278:  �[32m✓�[0m Apply specs deprecated keys config with FIM values for agent options (#869 9) (0.44s)
1279:  �[32m✓�[0m Apply specs deprecated keys config with blank required org name (0.46s)
1280:  �[32m✓�[0m Apply specs deprecated keys config with blank required server url (0.48s)
1281:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options command-line flags (0.38s)
1282:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options data type in dry-run (0.44s)
1283:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options data type with force (0.45s)
1284:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options in dry-run (0.35s)
1285:  �[32m✓�[0m Apply specs deprecated keys config with invalid key type (0.37s)
1286:  �[32m✓�[0m Apply specs deprecated keys config with invalid value for agent options command-line flags (0.39s)
1287:  �[32m✓�[0m Apply specs deprecated keys config with unknown key (0.52s)
1288:  �[32m✓�[0m Apply specs deprecated keys config with valid agent options command-line flags (0.46s)
1289:  �[32m✓�[0m Apply specs deprecated keys dry-run set with unsupported spec (0.43s)
1290:  �[32m✓�[0m Apply specs deprecated keys dry-run set with various specs, appconfig warning for legacy (0.66s)
1291:  �[32m✓�[0m Apply specs deprecated keys dry-run set with various specs, no errors (0.36s)
1292:  �[32m✓�[0m Apply specs deprecated keys empty config (0.54s)
...

1295:  �[32m✓�[0m Apply specs deprecated keys invalid agent options dry-run (0.56s)
1296:  �[32m✓�[0m Apply specs deprecated keys invalid agent options field type (0.49s)
1297:  �[32m✓�[0m Apply specs deprecated keys invalid agent options field type in overrides (0.43s)
1298:  �[32m✓�[0m Apply specs deprecated keys invalid agent options for existing team (0.45s)
1299:  �[32m✓�[0m Apply specs deprecated keys invalid agent options for new team (0.44s)
1300:  �[32m✓�[0m Apply specs deprecated keys invalid agent options force (0.45s)
1301:  �[32m✓�[0m Apply specs deprecated keys invalid known key's value type for team cannot be forced (0.43s)
1302:  �[32m✓�[0m Apply specs deprecated keys invalid team agent options command-line flag (0.40s)
1303:  �[32m✓�[0m Apply specs deprecated keys invalid top-level key for team (0.69s)
1304:  �[32m✓�[0m Apply specs deprecated keys macos updates deadline set but minimum version empty (0.53s)
1305:  �[32m✓�[0m Apply specs deprecated keys macos updates minimum version set but deadline empty (0.42s)
1306:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with incomplete date (0.44s)
1307:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with invalid date (0.40s)
1308:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with timestamp (0.54s)
1309:  �[32m✓�[0m Apply specs deprecated keys macos updates.minimum version with build version (0.63s)
1310:  �[32m✓�[0m Apply specs deprecated keys missing required failing policies destination url (0.52s)
1311:  �[32m✓�[0m Apply specs deprecated keys missing required host status days count (0.53s)
...

1319:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption true (0.52s)
1320:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption with invalid value type (0.38s)
1321:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption without a value (0.43s)
1322:  �[32m✓�[0m Apply specs deprecated keys unknown key for team can be forced (0.50s)
1323:  �[32m✓�[0m Apply specs deprecated keys valid team agent options command-line flag (0.40s)
1324:  �[32m✓�[0m Apply specs deprecated keys windows updates unset valid (0.47s)
1325:  �[32m✓�[0m Apply specs deprecated keys windows updates valid (0.59s)
1326:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days but grace period empty (0.39s)
1327:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days not a number (0.48s)
1328:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days out of range (0.44s)
1329:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days but deadline empty (0.40s)
1330:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days not a number (0.39s)
1331:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days out of range (0.47s)
1332:  �[32m✓�[0m Apply specs dry-run set with unsupported spec (0.39s)
1333:  �[32m✓�[0m Apply specs dry-run set with various specs, appconfig warning for legacy (0.51s)
1334:  �[32m✓�[0m Apply specs dry-run set with various specs, no errors (0.53s)
1335:  �[32m✓�[0m Apply specs empty config (0.39s)
...

1338:  �[32m✓�[0m Apply specs invalid agent options dry-run (0.36s)
1339:  �[32m✓�[0m Apply specs invalid agent options field type (0.55s)
1340:  �[32m✓�[0m Apply specs invalid agent options field type in overrides (0.35s)
1341:  �[32m✓�[0m Apply specs invalid agent options for existing team (0.60s)
1342:  �[32m✓�[0m Apply specs invalid agent options for new team (0.65s)
1343:  �[32m✓�[0m Apply specs invalid agent options force (0.41s)
1344:  �[32m✓�[0m Apply specs invalid known key's value type for team cannot be forced (0.39s)
1345:  �[32m✓�[0m Apply specs invalid team agent options command-line flag (0.40s)
1346:  �[32m✓�[0m Apply specs invalid top-level key for team (0.56s)
1347:  �[32m✓�[0m Apply specs macos updates deadline set but minimum version empty (0.46s)
1348:  �[32m✓�[0m Apply specs macos updates minimum version set but deadline empty (0.47s)
1349:  �[32m✓�[0m Apply specs macos updates.deadline with incomplete date (0.39s)
1350:  �[32m✓�[0m Apply specs macos updates.deadline with invalid date (0.33s)
1351:  �[32m✓�[0m Apply specs macos updates.deadline with timestamp (0.45s)
1352:  �[32m✓�[0m Apply specs macos updates.minimum version with build version (0.44s)
1353:  �[32m✓�[0m Apply specs missing required failing policies destination url (0.45s)
1354:  �[32m✓�[0m Apply specs missing required host status days count (0.32s)
...

1373:  �[32m✓�[0m Apply specs windows updates.grace period days not a number (0.42s)
1374:  �[32m✓�[0m Apply specs windows updates.grace period days out of range (0.40s)
1375:  �[32m✓�[0m Apply team specs (0.73s)
1376:  �[32m✓�[0m Apply user roles (0.48s)
1377:  �[32m✓�[0m Apply user roles deprecated (0.52s)
1378:  �[32m✓�[0m Apply windows updates (0.40s)
1379:  �[32m✓�[0m Apply windows updates field omitted (0.00s)
1380:  �[32m✓�[0m Apply windows updates with null values (0.00s)
1381:  �[32m✓�[0m Apply windows updates with values (0.00s)
1382:  �[32m✓�[0m Can apply intervals in nanoseconds (0.41s)
1383:  �[32m✓�[0m Can apply intervals using durations (0.37s)
1384:  �[32m✓�[0m Clean status code err (0.00s)
1385:  �[32m✓�[0m Clean status code err bare wrapped status code err (0.00s)
1386:  �[32m✓�[0m Clean status code err nil (0.00s)
1387:  �[32m✓�[0m Clean status code err outer-wrapped status code err (0.00s)
1388:  �[32m✓�[0m Clean status code err plain error untouched (0.00s)
1389:  �[32m✓�[0m Compute label changes (0.00s)
...

1445:  �[32m✓�[0m Filename functions (0.00s)
1446:  �[32m✓�[0m Filename functions outfile name builds a file name using the name provided + current time (0.00s)
1447:  �[32m✓�[0m Filename functions outfile name with ext builds a file name using the name and extension provided + current time (0.00s)
1448:  �[32m✓�[0m FleetctlUpgradePacks empty packs (0.37s)
1449:  �[32m✓�[0m FleetctlUpgradePacks no pack (0.50s)
1450:  �[32m✓�[0m FleetctlUpgradePacks non empty (0.48s)
1451:  �[32m✓�[0m FleetctlUpgradePacks not admin (0.38s)
1452:  �[32m✓�[0m Format XML (0.00s)
1453:  �[32m✓�[0m Format XML XML with attributes (0.00s)
1454:  �[32m✓�[0m Format XML basic XML (0.00s)
1455:  �[32m✓�[0m Format XML empty XML (0.00s)
1456:  �[32m✓�[0m Format XML invalid XML (0.00s)
1457:  �[32m✓�[0m Format XML nested XML (0.00s)
1458:  �[32m✓�[0m Generate MDM apple (0.76s)
1459:  �[32m✓�[0m Generate MDM apple BM (0.46s)
1460:  �[32m✓�[0m Generate MDM apple CSR API call fails (0.42s)
1461:  �[32m✓�[0m Generate MDM apple successful run (0.34s)
1462:  �[32m✓�[0m Generate MDMVPP tokens (0.00s)
1463:  �[32m✓�[0m Generate MDMVPP tokens get VPP tokens error (0.00s)
1464:  �[32m✓�[0m Generate MDMVPP tokens multiple tokens with different teams (0.00s)
...

1482:  �[32m✓�[0m Generate org settings masked google workspace api key (0.00s)
1483:  �[32m✓�[0m Generate policies (0.00s)
1484:  �[32m✓�[0m Generate policies patch policy orphaned from fleet maintained app (0.00s)
1485:  �[32m✓�[0m Generate queries (0.00s)
1486:  �[32m✓�[0m Generate software (0.00s)
1487:  �[32m✓�[0m Generate software auto update schedule (0.00s)
1488:  �[32m✓�[0m Generate software script packages (0.00s)
1489:  �[32m✓�[0m Generate team settings (0.00s)
1490:  �[32m✓�[0m Generate team settings insecure (0.00s)
1491:  �[32m✓�[0m Generated org settings no SSO (0.00s)
1492:  �[32m✓�[0m Generated org settings okta conditional access not included (0.00s)
1493:  �[32m✓�[0m Get MDM command results (0.38s)
1494:  �[32m✓�[0m Get MDM command results command flag required (0.00s)
1495:  �[32m✓�[0m Get MDM command results command not found (0.01s)
1496:  �[32m✓�[0m Get MDM command results command results empty (0.01s)
1497:  �[32m✓�[0m Get MDM command results command results error (0.01s)
1498:  �[32m✓�[0m Get MDM command results darwin command results (0.00s)
1499:  �[32m✓�[0m Get MDM command results host specific results (0.00s)
1500:  �[32m✓�[0m Get MDM command results windows command results (0.00s)
1501:  �[32m✓�[0m Get MDM commands (0.34s)
1502:  �[32m✓�[0m Get apple BM (1.50s)
1503:  �[32m✓�[0m Get apple BM free license (0.34s)
1504:  �[32m✓�[0m Get apple BM premium license, multiple tokens (0.35s)
1505:  �[32m✓�[0m Get apple BM premium license, no token (0.35s)
1506:  �[32m✓�[0m Get apple BM premium license, single token (0.47s)
1507:  �[32m✓�[0m Get apple MDM (0.38s)
1508:  �[32m✓�[0m Get carve (0.49s)
1509:  �[32m✓�[0m Get carve with error (0.42s)
1510:  �[32m✓�[0m Get carves (0.32s)
...

1524:  �[32m✓�[0m Get hosts MDM get hosts - -mdm - -mdm-pending - (0.00s)
1525:  �[32m✓�[0m Get hosts MDM get hosts - -mdm-pending - -yaml - expected list hosts yaml.yml (0.01s)
1526:  �[32m✓�[0m Get hosts get hosts - -json - -remove-deprecated-keys (0.00s)
1527:  �[32m✓�[0m Get hosts get hosts - -json - expected list hosts json.json (0.00s)
1528:  �[32m✓�[0m Get hosts get hosts - -json test host - expected host detail response json.json (0.00s)
1529:  �[32m✓�[0m Get hosts get hosts - -yaml - expected list hosts yaml.yml (0.00s)
1530:  �[32m✓�[0m Get hosts get hosts - -yaml test host - expected host detail response yaml.yml (0.00s)
1531:  �[32m✓�[0m Get label (0.49s)
1532:  �[32m✓�[0m Get label usage include and exclude allowed (0.00s)
1533:  �[32m✓�[0m Get label usage include and exclude allowed macos (0.00s)
1534:  �[32m✓�[0m Get label usage include and exclude allowed macos# 01 (0.00s)
1535:  �[32m✓�[0m Get label usage include and exclude allowed macos# 02 (0.00s)
1536:  �[32m✓�[0m Get label usage include and exclude allowed windows (0.00s)
1537:  �[32m✓�[0m Get label usage include and exclude allowed windows# 01 (0.00s)
1538:  �[32m✓�[0m Get label usage include and exclude allowed windows# 02 (0.00s)
1539:  �[32m✓�[0m Get label usage include exclude overlap error (0.00s)
1540:  �[32m✓�[0m Get label usage include exclude overlap error macos (0.00s)
1541:  �[32m✓�[0m Get label usage include exclude overlap error macos# 01 (0.00s)
1542:  �[32m✓�[0m Get label usage include exclude overlap error macos# 02 (0.00s)
1543:  �[32m✓�[0m Get label usage include exclude overlap error windows (0.00s)
1544:  �[32m✓�[0m Get label usage include exclude overlap error windows# 01 (0.00s)
1545:  �[32m✓�[0m Get label usage include exclude overlap error windows# 02 (0.00s)
1546:  �[32m✓�[0m Get label usage multiple label keys error (0.00s)
1547:  �[32m✓�[0m Get label usage multiple label keys error macos (0.00s)
1548:  �[32m✓�[0m Get label usage multiple label keys error windows (0.00s)
1549:  �[32m✓�[0m Get label usage policy scopes (0.00s)
...

1565:  �[32m✓�[0m Get queries as observer team observer (0.01s)
1566:  �[32m✓�[0m Get query (0.48s)
1567:  �[32m✓�[0m Get query labels include all (0.37s)
1568:  �[32m✓�[0m Get reports labels include all (0.49s)
1569:  �[32m✓�[0m Get software titles (0.38s)
1570:  �[32m✓�[0m Get software versions (0.48s)
1571:  �[32m✓�[0m Get teams (1.09s)
1572:  �[32m✓�[0m Get teams YAML and apply (0.50s)
1573:  �[32m✓�[0m Get teams by name (0.41s)
1574:  �[32m✓�[0m Get teams expired license (0.55s)
1575:  �[32m✓�[0m Get teams not expired license (0.53s)
1576:  �[32m✓�[0m Get teams software from source of truth (0.44s)
1577:  �[32m✓�[0m Get user roles (0.37s)
1578:  �[32m✓�[0m Git ops ABM (6.04s)
1579:  �[32m✓�[0m Git ops ABM backwards compat (0.70s)
1580:  �[32m✓�[0m Git ops ABM both keys errors (0.59s)
1581:  �[32m✓�[0m Git ops ABM deprecated config with two tokens in the db fails (0.46s)
1582:  �[32m✓�[0m Git ops ABM new key all valid (0.69s)
1583:  �[32m✓�[0m Git ops ABM new key multiple elements (0.68s)
1584:  �[32m✓�[0m Git ops ABM no team is supported (0.62s)
1585:  �[32m✓�[0m Git ops ABM non existent org name fails (0.48s)
1586:  �[32m✓�[0m Git ops ABM not provided teams defaults to no team (0.54s)
1587:  �[32m✓�[0m Git ops ABM renamed new key all valid (0.66s)
1588:  �[32m✓�[0m Git ops ABM using an undefined team errors (0.63s)
1589:  �[32m✓�[0m Git ops EULA setting (4.15s)
...

1592:  �[32m✓�[0m Git ops EULA setting not a PDF file (0.41s)
1593:  �[32m✓�[0m Git ops EULA setting relative path to working dir to pdf file (no existing EULA uploaded) (0.48s)
1594:  �[32m✓�[0m Git ops EULA setting relative path to yaml file to pdf file (no existing EULA uploaded) (0.46s)
1595:  �[32m✓�[0m Git ops EULA setting uploading the same EULA again (0.54s)
1596:  �[32m✓�[0m Git ops EULA setting valid new pdf file (different EULA already uploaded) (0.48s)
1597:  �[32m✓�[0m Git ops EULA setting valid pdf file (no existing EULA uploaded) (0.49s)
1598:  �[32m✓�[0m Git ops MDM auth settings (0.64s)
1599:  �[32m✓�[0m Git ops SMTP settings (0.56s)
1600:  �[32m✓�[0m Git ops SSO server URL (0.62s)
1601:  �[32m✓�[0m Git ops SSO settings (0.63s)
1602:  �[32m✓�[0m Git ops android certificates add (0.45s)
1603:  �[32m✓�[0m Git ops android certificates change (0.53s)
1604:  �[32m✓�[0m Git ops android certificates delete all (0.49s)
1605:  �[32m✓�[0m Git ops android certificates delete one (0.59s)
1606:  �[32m✓�[0m Git ops app store app auto update (0.51s)
1607:  �[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.02s)
1608:  �[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)
1609:  �[32m✓�[0m Git ops app store app auto update update software title auto update config is applied for i OS VPP apps (0.02s)
1610:  �[32m✓�[0m Git ops app store app auto update update software title auto update config is not called when no VPP apps provided (0.02s)
1611:  �[32m✓�[0m Git ops apple OS updates (0.44s)
1612:  �[32m✓�[0m Git ops apple OS updates ios updates (0.01s)
1613:  �[32m✓�[0m Git ops apple OS updates ios updates os updated when existing OS update declaration (0.01s)
1614:  �[32m✓�[0m Git ops apple OS updates ipados updates (0.01s)
1615:  �[32m✓�[0m Git ops apple OS updates ipados updates os updated when existing OS update declaration (0.01s)
1616:  �[32m✓�[0m Git ops apple OS updates macos updates (0.01s)
1617:  �[32m✓�[0m Git ops apple OS updates macos updates os updated when existing OS update declaration (0.01s)
1618:  �[32m✓�[0m Git ops basic global and no team (0.81s)
1619:  �[32m✓�[0m Git ops basic global and no team basic global and no-team.yml (0.06s)
1620:  �[32m✓�[0m Git ops basic global and no team both global and no-team.yml define controls -- should fail (0.01s)
1621:  �[32m✓�[0m Git ops basic global and no team controls only defined in no-team.yml (0.05s)
1622:  �[32m✓�[0m Git ops basic global and no team global DOES NOT define controls -- should fail (0.01s)
1623:  �[32m✓�[0m Git ops basic global and no team global and no-team.yml DO NOT define controls -- should fail (0.02s)
1624:  �[32m✓�[0m Git ops basic global and no team global defines software -- should fail (0.01s)
1625:  �[32m✓�[0m Git ops basic global and no team no-team provided without global -- should fail (0.01s)
1626:  �[32m✓�[0m Git ops basic global and no team no-team.yml defines policy with calendar events enabled -- should fail (0.01s)
1627:  �[32m✓�[0m Git ops basic global and no team unassigned provided without global -- should fail (0.01s)
1628:  �[32m✓�[0m Git ops basic global and team (0.80s)
...

1634:  �[32m✓�[0m Git ops custom settings global macos windows custom settings valid.yml (0.58s)
1635:  �[32m✓�[0m Git ops custom settings global windows custom settings invalid label mix 2 .yml (0.57s)
1636:  �[32m✓�[0m Git ops custom settings global windows custom settings invalid label mix.yml (0.43s)
1637:  �[32m✓�[0m Git ops custom settings global windows custom settings unknown label.yml (0.46s)
1638:  �[32m✓�[0m Git ops custom settings team macos custom settings valid deprecated.yml (0.55s)
1639:  �[32m✓�[0m Git ops custom settings team macos windows custom settings invalid labels mix 2 .yml (0.53s)
1640:  �[32m✓�[0m Git ops custom settings team macos windows custom settings invalid labels mix.yml (0.49s)
1641:  �[32m✓�[0m Git ops custom settings team macos windows custom settings unknown label.yml (0.48s)
1642:  �[32m✓�[0m Git ops custom settings team macos windows custom settings valid.yml (0.46s)
1643:  �[32m✓�[0m Git ops dry run rejects invalid label platform (0.36s)
1644:  �[32m✓�[0m Git ops exception enforcement (0.49s)
1645:  �[32m✓�[0m Git ops exception enforcement free tier (0.38s)
1646:  �[32m✓�[0m Git ops exceptions preserve omitted keys (0.42s)
1647:  �[32m✓�[0m Git ops features (0.72s)
1648:  �[32m✓�[0m Git ops filename validation (0.00s)
1649:  �[32m✓�[0m Git ops fleet failing policies webhook policy IDs (0.56s)
1650:  �[32m✓�[0m Git ops fleet webhooks and tickets enabled (0.66s)
...

1807:  �[32m✓�[0m New basic file structure has expected files (0.00s)
1808:  �[32m✓�[0m New basic file structure replaces and escapes org name template var (0.00s)
1809:  �[32m✓�[0m New basic file structure strips .template. from output filenames (0.00s)
1810:  �[32m✓�[0m New dir flag (0.01s)
1811:  �[32m✓�[0m New existing dir with force (0.01s)
1812:  �[32m✓�[0m New existing dir without force (0.00s)
1813:  �[32m✓�[0m New org name YAML quoting (0.01s)
1814:  �[32m✓�[0m New org name validation (0.01s)
1815:  �[32m✓�[0m New org name validation at max length (0.01s)
1816:  �[32m✓�[0m New org name validation control characters stripped (0.01s)
1817:  �[32m✓�[0m New org name validation only control characters (0.00s)
1818:  �[32m✓�[0m New org name validation only whitespace (0.00s)
1819:  �[32m✓�[0m New org name validation too long (0.00s)
1820:  �[32m✓�[0m New output messages (0.01s)
1821:  �[32m✓�[0m New template stripping (0.01s)
1822:  �[32m✓�[0m Print auth error (0.43s)
1823:  �[32m✓�[0m Print auth error SSO disabled shows default login message (0.00s)
1824:  �[32m✓�[0m Print auth error SSO enabled shows SSO instructions (0.00s)
1825:  �[32m✓�[0m Render template (0.00s)
...

1845:  �[32m✓�[0m Run api command get scripts full path missing (0.00s)
1846:  �[32m✓�[0m Run api command get scripts team (0.00s)
1847:  �[32m✓�[0m Run api command get scripts team no cache (0.00s)
1848:  �[32m✓�[0m Run api command get typo (0.00s)
1849:  �[32m✓�[0m Run api command upload script (0.00s)
1850:  �[32m✓�[0m Run script command (0.65s)
1851:  �[32m✓�[0m Run script command disabled scripts globally (0.01s)
1852:  �[32m✓�[0m Run script command host not found (0.01s)
1853:  �[32m✓�[0m Run script command invalid file type (0.00s)
1854:  �[32m✓�[0m Run script command invalid hashbang (0.01s)
1855:  �[32m✓�[0m Run script command invalid utf 8 (0.01s)
1856:  �[32m✓�[0m Run script command missing one of script-path and script-nqme (0.00s)
1857:  �[32m✓�[0m Run script command output truncated (0.01s)
1858:  �[32m✓�[0m Run script command posix shell hashbang (0.01s)
1859:  �[32m✓�[0m Run script command script empty (0.01s)
1860:  �[32m✓�[0m Run script command script failed (0.01s)
1861:  �[32m✓�[0m Run script command script killed (0.01s)
...

1916:  �[32m✓�[0m Validate git ops group EUA global-only run degrades id p but the team's in-run file disables EU A: accepted (0.00s)
1917:  �[32m✓�[0m Validate git ops group EUA global-only run degrades id p while a stored team keeps EUA on: rejected (#4337 1) (0.00s)
1918:  �[32m✓�[0m Validate git ops group EUA no EUA enabled anywhere is accepted (0.00s)
1919:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file adds complete id P: accepted (0.00s)
1920:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file adds id p missing entity id: rejected (0.00s)
1921:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file omits id P, stored has id P: rejected (overwrite clears) (0.00s)
1922:  �[32m✓�[0m Validate git ops group EUA team enables EU A, stored has id P, no global file: accepted (0.00s)
1923:  �[32m✓�[0m Validate git ops group EUA team enables EU A, stored has no id P, no global file: rejected (0.00s)
1924:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/gitops:
1925:  �[32m✓�[0m Git ops VPP (4.61s)
1926:  �[32m✓�[0m Git ops VPP all fleets is supported (0.51s)
1927:  �[32m✓�[0m Git ops VPP all teams is supported (0.58s)
1928:  �[32m✓�[0m Git ops VPP new key all valid (0.64s)
1929:  �[32m✓�[0m Git ops VPP new key multiple elements (0.55s)
1930:  �[32m✓�[0m Git ops VPP no team is supported (0.69s)
1931:  �[32m✓�[0m Git ops VPP non existent location fails (0.50s)
1932:  �[32m✓�[0m Git ops VPP not provided teams defaults to no team (0.54s)
1933:  �[32m✓�[0m Git ops VPP using an undefined team errors (0.59s)
1934:  �[32m✓�[0m Git ops existing team VPP apps with missing team (0.59s)
...

2027:  �[32m✓�[0m Git ops team software installers team software installer with display name.yml (1.49s)
2028:  �[32m✓�[0m Integrations enterprise gitops (318.38s)
2029:  �[32m✓�[0m Integrations enterprise gitops test CA integrations (4.03s)
2030:  �[32m✓�[0m Integrations enterprise gitops test FMA labels include all (6.02s)
2031:  �[32m✓�[0m Integrations enterprise gitops test IPA software installers (10.57s)
2032:  �[32m✓�[0m Integrations enterprise gitops test JSON configuration profile escaping (1.28s)
2033:  �[32m✓�[0m Integrations enterprise gitops test add manual labels (1.67s)
2034:  �[32m✓�[0m Integrations enterprise gitops test configuration profile escaping (1.36s)
2035:  �[32m✓�[0m Integrations enterprise gitops test delete CA with certificate templates (5.90s)
2036:  �[32m✓�[0m Integrations enterprise gitops test delete mac OS setup (5.06s)
2037:  �[32m✓�[0m Integrations enterprise gitops test deleting no team YAML (2.66s)
2038:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience (123.80s)
2039:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience all VPP with setup experience (1.26s)
2040:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience no team VPP (1.15s)
2041:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience no team installers (60.57s)
2042:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience packages fail (60.64s)
2043:  �[32m✓�[0m Integrations enterprise gitops test dry run mac OS setup script with manual agent install conflict (0.44s)
...

2073:  �[32m✓�[0m Integrations enterprise gitops test omitted top level keys global (2.48s)
2074:  �[32m✓�[0m Integrations enterprise gitops test remove custom settings from default YAML (2.56s)
2075:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps (3.82s)
2076:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps all teams (2.41s)
2077:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps no team (1.25s)
2078:  �[32m✓�[0m Integrations enterprise gitops test unset configuration profile labels (4.93s)
2079:  �[32m✓�[0m Integrations enterprise gitops test unset software installer labels (12.43s)
2080:  �[32m✓�[0m Integrations enterprise starter library (5.04s)
2081:  �[32m✓�[0m Integrations enterprise starter library test apply starter library premium (3.54s)
2082:  �[32m✓�[0m Integrations gitops (2.25s)
2083:  �[32m✓�[0m Integrations gitops test fleet gitops (0.34s)
2084:  �[32m✓�[0m Integrations gitops test fleet gitops DDM fleet vars requires premium (0.11s)
2085:  �[32m✓�[0m Integrations gitops test fleet gitops with fleet secrets (0.23s)
2086:  �[32m✓�[0m Integrations starter library (1.66s)
2087:  �[32m✓�[0m Integrations starter library test apply starter library free (0.18s)
2088:  === �[31mFailed�[0m
2089:  === �[31mFAIL�[0m: cmd/fleetctl/fleetctl TestGitOpsFullGlobal/useDeprecatedKeys=false (0.04s)
2090:  time=level=INFO msg="request error" path=/api/latest/fleet/setup_experience/eula/metadata took=122.657µs uuid=a3c6f791-372a-42fe-809b-ce21907226a6 err="not found"
2091:  [-] would've deleted report Query to delete
2092:  time=level=INFO msg="request error" path=/api/latest/fleet/setup_experience/eula/metadata took=205.641µs uuid=b7530a39-0ec9-45b0-a226-e5efec765ed8 err="not found"
2093:  testing_utils_test.go:20: 
2094:  Error Trace:	/home/runner/work/fleet/fleet/cmd/fleetctl/fleetctl/testing_utils_test.go:20
2095:  /home/runner/work/fleet/fleet/cmd/fleetctl/fleetctl/gitops_test.go:2244
2096:  Error:      	Received unexpected error:
2097:  applying custom settings: POST /api/latest/fleet/mdm/profiles/batch received status 422 Validation Failed: cannot set custom settings: Windows MDM isn't turned on. For more information about setting up MDM, please visit https://fleetdm.com/learn-more-about/windows-mdm (API time: 1ms)
2098:  Test:       	TestGitOpsFullGlobal/useDeprecatedKeys=false
2099:  --- FAIL: TestGitOpsFullGlobal/useDeprecatedKeys=false (0.04s)
2100:  === �[31mFAIL�[0m: cmd/fleetctl/fleetctl TestGitOpsFullGlobal/useDeprecatedKeys=true (0.04s)
2101:  time=level=INFO msg="request error" path=/api/latest/fleet/setup_experience/eula/metadata took=129.681µs uuid=71a3f3eb-9e4b-4578-83c7-412ff5f7a36e err="not found"
2102:  [-] would've deleted report Query to delete
2103:  time=level=INFO msg="request error" path=/api/latest/fleet/setup_experience/eula/metadata took=134.049µs uuid=327258a0-7359-43e1-ba71-d765f015277a err="not found"
2104:  testing_utils_test.go:20: 
2105:  Error Trace:	/home/runner/work/fleet/fleet/cmd/fleetctl/fleetctl/testing_utils_test.go:20
2106:  /home/runner/work/fleet/fleet/cmd/fleetctl/fleetctl/gitops_test.go:2244
2107:  Error:      	Received unexpected error:
2108:  applying custom settings: POST /api/latest/fleet/mdm/profiles/batch received status 422 Validation Failed: cannot set custom settings: Windows MDM isn't turned on. For more information about setting up MDM, please visit https://fleetdm.com/learn-more-about/windows-mdm (API time: 1ms)
2109:  Test:       	TestGitOpsFullGlobal/useDeprecatedKeys=true
2110:  --- FAIL: TestGitOpsFullGlobal/useDeprecatedKeys=true (0.04s)
2111:  === �[31mFAIL�[0m: cmd/fleetctl/fleetctl TestGitOpsFullGlobal (0.50s)
2112:  DONE 921 tests, 3 failures in 650.801s
2113:  make[1]: *** [Makefile:302: .run-go-tests] Error 1
2114:  make[1]: Leaving directory '/home/runner/work/fleet/fleet'
2115:  make: *** [Makefile:417: test-go] Error 2
2116:  ##[error]Process completed with exit code 2.
2117:  Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2118:  ##[group]Run actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
2119:  with:
2120:  name: fleetctl-mysql8.0.44-coverage
2121:  path: ./coverage.txt
2122:  if-no-files-found: error
2123:  compression-level: 6
...

2126:  RACE_ENABLED: false
2127:  GO_TEST_TIMEOUT: 20m
2128:  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
2129:  RUN_TESTS_ARG: 
2130:  CI_TEST_PKG: fleetctl
2131:  NEED_DOCKER: 1
2132:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2133:  GOTOOLCHAIN: local
2134:  ##[endgroup]
2135:  (node:44797) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2136:  (Use `node --trace-deprecation ...` to show where the warning was created)
2137:  With the provided path, there will be 1 file uploaded
2138:  Artifact name is valid!
2139:  Root directory input is valid!
2140:  Beginning upload of artifact content to blob storage
2141:  (node:44797) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2142:  Uploaded bytes 2308681
2143:  Finished uploading artifact content to blob storage!
2144:  SHA256 hash of uploaded artifact zip is 4b5492996e043d5b4a53dbd8201d6453d8c31fc7360f75ca9cf386e881b74533
2145:  Finalizing artifact upload
2146:  Artifact fleetctl-mysql8.0.44-coverage.zip successfully finalized. Artifact ID 7999205630
2147:  Artifact fleetctl-mysql8.0.44-coverage has been successfully uploaded! Final size is 2308681 bytes. Artifact ID is 7999205630
2148:  Artifact download URL: https://github.com/fleetdm/fleet/actions/runs/28490397293/artifacts/7999205630
2149:  ##[group]Run c1grep() { grep "$@" || test $? = 1; }
2150:  �[36;1mc1grep() { grep "$@" || test $? = 1; }�[0m
2151:  �[36;1mc1grep -oP 'FAIL: .*$' /tmp/gotest.log > /tmp/summary.txt�[0m
2152:  �[36;1mc1grep 'test timed out after' /tmp/gotest.log >> /tmp/summary.txt�[0m
2153:  �[36;1mc1grep 'fatal error:' /tmp/gotest.log >> /tmp/summary.txt�[0m
2154:  �[36;1mc1grep -A 10 'panic: runtime error: ' /tmp/gotest.log >> /tmp/summary.txt�[0m
2155:  �[36;1mc1grep ' FAIL\t' /tmp/gotest.log >> /tmp/summary.txt�[0m
2156:  �[36;1mGO_FAIL_SUMMARY=$(head -n 5 /tmp/summary.txt | sed ':a;N;$!ba;s/\n/\\n/g')�[0m
2157:  �[36;1mecho "GO_FAIL_SUMMARY=$GO_FAIL_SUMMARY"�[0m
2158:  �[36;1mif [[ -z "$GO_FAIL_SUMMARY" ]]; then�[0m
2159:  �[36;1m  GO_FAIL_SUMMARY="unknown, please check the build URL"�[0m
2160:  �[36;1mfi�[0m
2161:  �[36;1mGO_FAIL_SUMMARY=$GO_FAIL_SUMMARY envsubst < .github/workflows/config/slack_payload_template.json > ./payload.json�[0m
2162:  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2163:  env:
2164:  RACE_ENABLED: false
2165:  GO_TEST_TIMEOUT: 20m
2166:  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
2167:  RUN_TESTS_ARG: 
2168:  CI_TEST_PKG: fleetctl
2169:  NEED_DOCKER: 1
2170:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2171:  GOTOOLCHAIN: local
2172:  ##[endgroup]
2173:  GO_FAIL_SUMMARY=FAIL: TestGitOpsFullGlobal/useDeprecatedKeys=false (0.04s)\nFAIL: TestGitOpsFullGlobal/useDeprecatedKeys=true (0.04s)
2174:  Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2175:  ##[group]Run actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
2176:  with:
2177:  name: fleetctl-mysql8.0.44-test-log
2178:  path: /tmp/gotest.log
2179:  if-no-files-found: error
2180:  compression-level: 6
...

2183:  RACE_ENABLED: false
2184:  GO_TEST_TIMEOUT: 20m
2185:  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
2186:  RUN_TESTS_ARG: 
2187:  CI_TEST_PKG: fleetctl
2188:  NEED_DOCKER: 1
2189:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2190:  GOTOOLCHAIN: local
2191:  ##[endgroup]
2192:  (node:44819) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2193:  (Use `node --trace-deprecation ...` to show where the warning was created)
2194:  With the provided path, there will be 1 file uploaded
2195:  Artifact name is valid!
2196:  Root directory input is valid!
2197:  Beginning upload of artifact content to blob storage
2198:  (node:44819) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2199:  Uploaded bytes 10990
...

2215:  RACE_ENABLED: false
2216:  GO_TEST_TIMEOUT: 20m
2217:  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
2218:  RUN_TESTS_ARG: 
2219:  CI_TEST_PKG: fleetctl
2220:  NEED_DOCKER: 1
2221:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2222:  GOTOOLCHAIN: local
2223:  ##[endgroup]
2224:  (node:44831) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2225:  (Use `node --trace-deprecation ...` to show where the warning was created)
2226:  With the provided path, there will be 1 file uploaded
2227:  Artifact name is valid!
2228:  Root directory input is valid!
2229:  Beginning upload of artifact content to blob storage
2230:  (node:44831) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2231:  Uploaded bytes 205
...

2247:  RACE_ENABLED: false
2248:  GO_TEST_TIMEOUT: 20m
2249:  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
2250:  RUN_TESTS_ARG: 
2251:  CI_TEST_PKG: fleetctl
2252:  NEED_DOCKER: 1
2253:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2254:  GOTOOLCHAIN: local
2255:  ##[endgroup]
2256:  (node:44843) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2257:  (Use `node --trace-deprecation ...` to show where the warning was created)
2258:  With the provided path, there will be 1 file uploaded
2259:  Artifact name is valid!
2260:  Root directory input is valid!
2261:  Beginning upload of artifact content to blob storage
2262:  (node:44843) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2263:  Uploaded bytes 105034
...

2296:  RACE_ENABLED: false
2297:  GO_TEST_TIMEOUT: 20m
2298:  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
2299:  RUN_TESTS_ARG: 
2300:  CI_TEST_PKG: fleetctl
2301:  NEED_DOCKER: 1
2302:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2303:  GOTOOLCHAIN: local
2304:  ##[endgroup]
2305:  (node:44856) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2306:  (Use `node --trace-deprecation ...` to show where the warning was created)
2307:  With the provided path, there will be 1 file uploaded
2308:  Artifact name is valid!
2309:  Root directory input is valid!
2310:  Beginning upload of artifact content to blob storage
2311:  (node:44856) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2312:  Uploaded bytes 133

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.00%. Comparing base (95631bf) to head (2a51aee).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #48538      +/-   ##
==========================================
+ Coverage   67.90%   68.00%   +0.09%     
==========================================
  Files        3678     3678              
  Lines      233673   233679       +6     
  Branches    12452    12452              
==========================================
+ Hits       158686   158903     +217     
+ Misses      60724    60473     -251     
- Partials    14263    14303      +40     
Flag Coverage Δ
backend 69.65% <100.00%> (+0.10%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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.

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.

time.Tick resource leak in MS conditional access polling

1 participant