Files
cve-dashboard/docs/operations/card-uat-test.log

301 lines
11 KiB
Plaintext
Raw Normal View History

[2026-04-30T03:03:16.082Z] INFO === STEAM Dashboard — CARD API UAT Test Run ===
[2026-04-30T03:03:16.084Z] INFO Timestamp: 2026-04-30T03:03:16.084Z
[2026-04-30T03:03:16.084Z] INFO CARD_API_URL: https://card.caas.stage.charterlab.com
[2026-04-30T03:03:16.084Z] INFO CARD_API_USER: svc-jira-cn-projects
[2026-04-30T03:03:16.084Z] INFO CARD_SKIP_TLS: true
[2026-04-30T03:03:16.084Z] INFO isConfigured: true
[2026-04-30T03:03:16.084Z] INFO
[2026-04-30T03:03:16.084Z] INFO --- Running: 1. Token Acquisition (GET /auth/get_token) ---
[2026-04-30T03:03:16.541Z] INFO Token acquired (truncated):
eyJhbGciOiJS...
[2026-04-30T03:03:16.541Z] PASS PASS: 1. Token Acquisition (GET /auth/get_token)
{
"durationMs": 457
}
[2026-04-30T03:03:16.541Z] INFO --- Running: 2. List Teams (GET /teams) ---
[2026-04-30T03:03:16.871Z] INFO Teams returned:
{
"count": 189,
"sample": [
{
"_id": "CARD-ABANDONED-UNKNOWN",
"card_team_name": "CARD-ABANDONED-UNKNOWN",
"department": "CORE DATA PLATFORMS",
"department_legacy": "CORE DATA PLATFORMS",
"department_legacy_short": "COREDATAPLATFORM",
"department_short": "CDP",
"email_list": [
{
"email": "DL-CCIO-OAAS-DAAS-NDS@charter.com"
}
],
"evp_name": "Perlman, Jake H (P2133615)",
"leader_name": "Vetri Vetrivasagn",
"nso_org_override": "UNKNOWN",
"nso_vertical_override": "UNKNOWN",
"organization": "SOFTWARE DEVELOPMENT INTERNAL TECHNOLOGY",
"organization_legacy": "SOFTWARE DEVELOPMENT INTERNAL TECHNOLOGY",
"organization_legacy_short": "SDIT",
"organization_short": "SDIT",
"rpt_date": "2026-04-30T02:12:01.464000",
"svp_name": "Baldino, Mike (mbaldino)",
"vertical": "ENTERPRISE DATA INFRASTRUCTURE SOLUTIONS",
"vertical_legacy": "DATA PLATFORMS",
"vertical_legacy_short": "DP",
"vertical_short": "EDIS",
"vp_name": "Vogel, Nate (P2334520)"
},
{
"_id": "CARD-UNKNOWN",
"card_team_name": "CARD-UNKNOWN",
"department": "CORE DATA PLATFORMS",
"department_legacy": "CORE DATA PLATFORMS",
"department_legacy_short": "COREDATAPLATFORM",
"department_short": "CDP",
"email_list": [
{
"email": "DL-CCIO-OAAS-DAAS-NDS@charter.com"
}
],
"evp_name": "Perlman, Jake H (P2133615)",
"leader_name": "Vetri Vetrivasagn",
"nso_org_override": "UNKNOWN",
"nso_vertical_override": "UNKNOWN",
"organization": "SOFTWARE DEVELOPMENT INTERNAL TECHNOLOGY",
"organization_legacy": "SOFTWARE DEVELOPMENT INTERNAL TECHNOLOGY",
"organization_legacy_short": "SDIT",
"organization_short": "SDIT",
"rpt_date": "2026-04-30T02:12:01.464000",
"svp_name": "Baldino, Mike (mbaldino)",
"vertical": "ENTERPRISE DATA INFRASTR
... [truncated — 10341 chars total]
[2026-04-30T03:03:16.871Z] INFO CLI team "ACCESS-ENG" not exact — fuzzy matched:
NTS-AEO-ACCESS-ENG
[2026-04-30T03:03:16.871Z] PASS PASS: 2. List Teams (GET /teams)
{
"durationMs": 330
}
[2026-04-30T03:03:16.871Z] INFO --- Running: 3. List Team Assets (GET /team/{name}/assets) ---
[2026-04-30T03:03:17.095Z] INFO Team assets (confirmed):
{
"team": "NTS-AEO-ACCESS-ENG",
"total": 10,
"returned": 10,
"sample": [
{
"_id": "96.37.187.9-CTEC",
"owner": {
"confirmed": {
"name": "NTS-AEO-ACCESS-ENG",
"timestamp": "2026-04-29T10:51:36.066Z",
"user": "SYSTEM_PIPELINE",
"score": 72,
"datasource": "ctec_svodb",
"disposition": null,
"log_event": null,
"notify_user": null,
"comment": null,
"match_description": "ctec_svodb|email|null"
},
"unconfirmed": null,
"declined": [],
"candidate": [
{
"name": "SDIT-CSD-ITLS-PIES",
"timestamp": "2026-04-29T10:51:36.066Z",
"user": "SYSTEM_PIPELINE",
"score": 71,
"datasource": "qualys-hosts",
"disposition": null,
"log_event": null,
"notify_user": null,
"comment": null,
"match_description": "qualys-hosts|CARD_CN|CTEC"
},
{
"name": "CARD-UNKNOWN",
"timestamp": "2026-04-29T10:51:36.066Z",
"user": "SYSTEM_PIPELINE",
"score": 2,
"datasource": "card-flags",
"disposition": null,
"log_event": null,
"notify_user": null,
"comment": null,
"match_description": "card-flags|status|active"
}
],
"update_token": "2026-03-08T11:07:20.654Z"
},
"card_flags": [
{
"abandoned": "no",
"status": "inactive",
"CARD_HOSTNAME": [
"096-037-187-009",
"096-037-187-009.res.spectrum.com",
"apc01pocccosb"
],
"CARD_ASN": "16787",
"CARD_CLLI": null,
"CARD_IPN": "96.37.187.9-CTEC",
"CARD_CN": "CTEC",
"CARD_IPTYPE": "other",
"CARD_DEVICE_ID": null,
"CARD_APP_ID": null,
"CARD_APP_REF_ID": null
... [truncated — 19113 chars total]
[2026-04-30T03:03:17.096Z] INFO Using asset for subsequent tests:
96.37.187.9-CTEC
[2026-04-30T03:03:17.096Z] PASS PASS: 3. List Team Assets (GET /team/{name}/assets)
{
"durationMs": 224
}
[2026-04-30T03:03:17.096Z] INFO --- Running: 4. List Team Assets — Disposition Filters ---
[2026-04-30T03:03:17.304Z] INFO confirmed: HTTP 200, count=5
[2026-04-30T03:03:17.465Z] INFO unconfirmed: HTTP 200, count=0
[2026-04-30T03:03:17.622Z] INFO declined: HTTP 200, count=0
[2026-04-30T03:03:17.793Z] INFO candidate: HTTP 200, count=2
[2026-04-30T03:03:17.793Z] PASS PASS: 4. List Team Assets — Disposition Filters
{
"durationMs": 697
}
[2026-04-30T03:03:17.793Z] INFO --- Running: 5. Get Owner Record (GET /owner/{assetId}) ---
[2026-04-30T03:03:17.948Z] INFO Owner record:
{
"_id": "96.37.187.9-CTEC",
"owner": {
"confirmed": {
"name": "NTS-AEO-ACCESS-ENG",
"timestamp": "2026-04-29T10:51:36.066Z",
"user": "SYSTEM_PIPELINE",
"score": 72,
"datasource": "ctec_svodb",
"disposition": null,
"log_event": null,
"notify_user": null,
"comment": null,
"match_description": "ctec_svodb|email|null"
},
"unconfirmed": null,
"declined": [],
"candidate": [
{
"name": "SDIT-CSD-ITLS-PIES",
"timestamp": "2026-04-29T10:51:36.066Z",
"user": "SYSTEM_PIPELINE",
"score": 71,
"datasource": "qualys-hosts",
"disposition": null,
"log_event": null,
"notify_user": null,
"comment": null,
"match_description": "qualys-hosts|CARD_CN|CTEC"
},
{
"name": "CARD-UNKNOWN",
"timestamp": "2026-04-29T10:51:36.066Z",
"user": "SYSTEM_PIPELINE",
"score": 2,
"datasource": "card-flags",
"disposition": null,
"log_event": null,
"notify_user": null,
"comment": null,
"match_description": "card-flags|status|active"
}
],
"update_token": "2026-03-08T11:07:20.654Z"
},
"tmp": {
"SSAP_STATUS": "active",
"SSAP_STATUS_TIMESTAMP": "2026-04-29T10:51:36.066Z",
"rs3": 850,
"vsphere_active_vms_size": null,
"owner": [
{
"name": "NTS-AEO-ACCESS-ENG",
"timestamp": "2026-04-29T10:51:36.066Z",
"datasource": "ctec_svodb",
"field": "email",
"user": "SYSTEM_PIPELINE",
"score": 72,
"disposition": null,
"match_description": "ctec_svodb|email|null",
"match_type": "SINGLE",
"log_event": null,
"notify_user": null,
"comment": null
},
{
"name": "CARD-UNKNOWN",
"timestamp": "2026-04-29T10:51:36.066Z",
"datasource": "card-flags",
"field": "status",
"user": "SYSTEM_PIPELINE
... [truncated — 2902 chars total]
[2026-04-30T03:03:17.948Z] INFO update_token acquired:
2026-03-08T11:07:20.654Z
[2026-04-30T03:03:17.948Z] PASS PASS: 5. Get Owner Record (GET /owner/{assetId})
{
"durationMs": 155
}
[2026-04-30T03:03:17.948Z] INFO --- Running: 6. Token Reuse (caching verification) ---
[2026-04-30T03:03:18.590Z] INFO Token reuse timing:
{
"firstCallMs": 321,
"secondCallMs": 320
}
[2026-04-30T03:03:18.590Z] PASS PASS: 6. Token Reuse (caching verification)
{
"durationMs": 642
}
[2026-04-30T03:03:18.590Z] INFO
[2026-04-30T03:03:18.590Z] INFO === Mutation Tests (modify asset state) ===
[2026-04-30T03:03:18.590Z] INFO These tests exercise confirm/decline/redirect. They may return
[2026-04-30T03:03:18.590Z] INFO 4xx if the asset is not in the correct state — that is expected.
[2026-04-30T03:03:18.590Z] INFO
[2026-04-30T03:03:18.590Z] INFO --- Running: 7. Confirm Asset (POST /owner/{id}/confirm) ---
[2026-04-30T03:03:18.900Z] INFO Confirm result:
{
"status": 200,
"body": "{\"detail\":\"Asset 96.37.187.9-CTEC already belongs to team NTS-AEO-ACCESS-ENG\"}"
}
[2026-04-30T03:03:18.900Z] INFO Confirm succeeded
[2026-04-30T03:03:18.900Z] PASS PASS: 7. Confirm Asset (POST /owner/{id}/confirm)
{
"durationMs": 310
}
[2026-04-30T03:03:18.900Z] INFO --- Running: 8. Decline Asset (POST /owner/{id}/decline) ---
[2026-04-30T03:03:19.224Z] INFO Decline result:
{
"status": 200,
"body": "{\"owner\":{\"_id\":\"96.37.187.9-CTEC\",\"updated\":1},\"asset\":{\"_id\":\"96.37.187.9-CTEC\",\"updated\":1}}"
}
[2026-04-30T03:03:19.224Z] INFO Decline succeeded
[2026-04-30T03:03:19.224Z] PASS PASS: 8. Decline Asset (POST /owner/{id}/decline)
{
"durationMs": 324
}
[2026-04-30T03:03:19.224Z] INFO --- Running: 9. Redirect Asset (POST /owner/{id}/{from}/redirect) ---
[2026-04-30T03:03:19.547Z] INFO Redirect test:
{
"from": "NTS-AEO-ACCESS-ENG",
"to": "CARD-ABANDONED-UNKNOWN"
}
[2026-04-30T03:03:19.855Z] INFO Redirect result:
{
"status": 400,
"body": "{\"detail\":\"Cannot redirect asset because 'Team' in URL path is neither confirmed nor pending owner for the asset.\"}"
}
[2026-04-30T03:03:19.855Z] WARN Redirect returned 400 — asset may not be in a redirectable state (expected in UAT)
[2026-04-30T03:03:19.855Z] PASS PASS: 9. Redirect Asset (POST /owner/{id}/{from}/redirect)
{
"durationMs": 631
}
[2026-04-30T03:03:19.855Z] INFO
[2026-04-30T03:03:19.855Z] INFO === Summary ===
[2026-04-30T03:03:19.855Z] INFO Passed: 9 | Failed: 0 | Total: 9
[2026-04-30T03:03:19.855Z] INFO Team used: NTS-AEO-ACCESS-ENG
[2026-04-30T03:03:19.855Z] INFO Asset used: 96.37.187.9-CTEC