fix(ci): ci/cd builds failing due to freediameter (#15432) #16903
9 fail, 8 skipped, 1 pass in 15m 27s
Annotations
Check warning on line 0 in magma/cwf/gateway/integ_tests
github-actions / CWF integration test results
TestAuthenticateMultipleUEs (magma/cwf/gateway/integ_tests) failed
cwf/gateway/tests.xml
Raw output
Failed
=== RUN TestAuthenticateMultipleUEs
Running TestAuthenticate...
************* TestRunner setup
Adding Mock HSS service at 192.168.70.101:9204
Adding Mock PCRF service at 192.168.70.101:9202
Adding Mock OCS service at 192.168.70.101:9201
Adding Pipelined service at 192.168.70.101:8443
Adding Redis service at 192.168.70.101:6380
Adding Directoryd service at 192.168.70.101:8443
************* Configuring 3 UE(s), PCRF instance: PCRF_REMOTE
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 147150876305607 Key: 706868434c9438b8b5a10f02743532c5 Opc: 68b971b56f0a1eda0062d6fcfa7a702f Seq: 1677444873377
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 910248323587352 Key: d85c3be6961deb2429c4b60ee5253171 Opc: 6a700e64b2cec81122a58213fa10d9e0 Seq: 621080949685
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 822970492790316 Key: e8f8252ed9bf606588402b9f6e30ff1b Opc: 6f1c301cbb772cd0d367e67d9efa61c5 Seq: 7399996436926
Successfully configured UE(s)
************* Authenticating UE with IMSI: 147150876305607
Finished Authenticating UE
assertions.go:38:
Error Trace: assertions.go:38
auth_test.go:51
Error: Should be true
Test: TestAuthenticateMultipleUEs
Messages: UE Authentication did not return success
************* Sending a disconnect request UE with IMSI: 147150876305607
Finished Disconnecting UE
************* Authenticating UE with IMSI: 910248323587352
Finished Authenticating UE
assertions.go:38:
Error Trace: assertions.go:38
auth_test.go:51
Error: Should be true
Test: TestAuthenticateMultipleUEs
Messages: UE Authentication did not return success
************* Sending a disconnect request UE with IMSI: 910248323587352
Finished Disconnecting UE
************* Authenticating UE with IMSI: 822970492790316
Finished Authenticating UE
assertions.go:38:
Error Trace: assertions.go:38
auth_test.go:51
Error: Should be true
Test: TestAuthenticateMultipleUEs
Messages: UE Authentication did not return success
************* Sending a disconnect request UE with IMSI: 822970492790316
Finished Disconnecting UE
--- FAIL: TestAuthenticateMultipleUEs (6.65s)
Check warning on line 0 in magma/cwf/gateway/integ_tests
github-actions / CWF integration test results
TestAuthenticateWithDifferentAPs (magma/cwf/gateway/integ_tests) failed
cwf/gateway/tests.xml
Raw output
Failed
=== RUN TestAuthenticateWithDifferentAPs
Running TestAuthenticateWithDifferentAPs...
************* TestRunner setup
Adding Mock HSS service at 192.168.70.101:9204
Adding Mock PCRF service at 192.168.70.101:9202
Adding Mock OCS service at 192.168.70.101:9201
Adding Pipelined service at 192.168.70.101:8443
Adding Redis service at 192.168.70.101:6380
Adding Directoryd service at 192.168.70.101:8443
************* Configuring 2 UE(s), PCRF instance: PCRF_REMOTE
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 378563604750213 Key: 00859bbeea8216442642447582ad15c4 Opc: 27a17a70b777f3a39e3e686f38fc0196 Seq: 6321223022921
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 286213786967197 Key: 91556120d158dd62977dc93aa69092c3 Opc: 7e98f2f0a0774526f28a2b22df096b8e Seq: 2639718705459
Successfully configured UE(s)
************* Authenticating UE with IMSI: 378563604750213
Finished Authenticating UE
assertions.go:51:
Error Trace: assertions.go:51
auth_test.go:72
Error: Should be true
Test: TestAuthenticateWithDifferentAPs
Messages: UE Authentication did not return success
************* Sending a disconnect request UE with IMSI: 378563604750213
Finished Disconnecting UE
************* Authenticating UE with IMSI: 286213786967197
Finished Authenticating UE
assertions.go:51:
Error Trace: assertions.go:51
auth_test.go:72
Error: Should be true
Test: TestAuthenticateWithDifferentAPs
Messages: UE Authentication did not return success
************* Sending a disconnect request UE with IMSI: 286213786967197
Finished Disconnecting UE
--- FAIL: TestAuthenticateWithDifferentAPs (4.81s)
Check warning on line 0 in magma/cwf/gateway/integ_tests
github-actions / CWF integration test results
TestAuthenticateFail (magma/cwf/gateway/integ_tests) failed
cwf/gateway/tests.xml
Raw output
Failed
=== RUN TestAuthenticateFail
Running TestAuthenticateFail...
************* TestRunner setup
Adding Mock HSS service at 192.168.70.101:9204
Adding Mock PCRF service at 192.168.70.101:9202
Adding Mock OCS service at 192.168.70.101:9201
Adding Pipelined service at 192.168.70.101:8443
Adding Redis service at 192.168.70.101:6380
Adding Directoryd service at 192.168.70.101:8443
************* Configuring 2 UE(s), PCRF instance: PCRF_REMOTE
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 966992702814116 Key: a52474e9ed82d09743b03368813b9665 Opc: 53736d95fe0ed12a5068808b810182ab Seq: 5678619660393
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 128888952760418 Key: 2800c9e873a0b8d5ee61f384db412209 Opc: 382568ac00be8899dff0cf28ec9303a1 Seq: 7484549617620
Successfully configured UE(s)
************* Authenticating UE with IMSI: 966992702814116
Finished Authenticating UE
Asserting all Gx expectations were met...
assertions.go:160:
Error Trace: assertions.go:160
assertions.go:144
auth_test.go:112
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
extra elements in list B:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
listA:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
listB:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
Test: TestAuthenticateFail
assertions.go:162: []
Passed!
************* Authenticating UE with IMSI: 128888952760418
Finished Authenticating UE
Asserting all Gx expectations were met...
assertions.go:160:
Error Trace: assertions.go:160
assertions.go:144
auth_test.go:133
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
extra elements in list B:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
listA:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
listB:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
Test: TestAuthenticateFail
assertions.go:162: []
Passed!
Asserting all Gy expectations were met... assertions.go:160:
Error Trace: assertions.go:160
assertions.go:153
auth_test.go:134
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
extra elements in list B:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
listA:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
listB:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
Test: TestAuthenticateFail
assertions.go:162: []
Passed!
--- FAIL: TestAuthenticateFail (4.32s)
Check warning on line 0 in magma/cwf/gateway/integ_tests
github-actions / CWF integration test results
TestAuthenticateUplinkTraffic (magma/cwf/gateway/integ_tests) failed
cwf/gateway/tests.xml
Raw output
Failed
=== RUN TestAuthenticateUplinkTraffic
Running TestAuthenticateUplinkTraffic...
************* TestRunner setup
Adding Mock HSS service at 192.168.70.101:9204
Adding Mock PCRF service at 192.168.70.101:9202
Adding Mock OCS service at 192.168.70.101:9201
Adding Pipelined service at 192.168.70.101:8443
Adding Redis service at 192.168.70.101:6380
Adding Directoryd service at 192.168.70.101:8443
************* Configuring 1 UE(s), PCRF instance: PCRF_REMOTE
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 436244615250177 Key: f3a31556a7218ccef9331ecbac6ca6b4 Opc: 17ca49dcc6dc4a167d6a44fc18ceda80 Seq: 2918924598664
Successfully configured UE(s)
************* Authenticating UE with IMSI: 436244615250177
Finished Authenticating UE
assertions.go:38:
Error Trace: assertions.go:38
auth_test.go:170
Error: Should be true
Test: TestAuthenticateUplinkTraffic
Messages: UE Authentication did not return success
************* Generating Traffic for UE with Req: imsi:"436244615250177" volume:{value:"1M"} bitrate:{value:"60M"} timeout:30
==========> Total Sent: 0 bytes
auth_test.go:179:
Error Trace: auth_test.go:179
Error: Received unexpected error:
rpc error: code = DeadlineExceeded desc = context deadline exceeded
Test: TestAuthenticateUplinkTraffic
Asserting all Gx expectations were met...
assertions.go:160:
Error Trace: assertions.go:160
assertions.go:144
auth_test.go:181
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
extra elements in list B:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
listA:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
listB:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
Test: TestAuthenticateUplinkTraffic
assertions.go:162: []
Passed!
************* Sending a disconnect request UE with IMSI: 436244615250177
Finished Disconnecting UE
Waiting until all rules are removed in enforcement stats for 436244615250177...
All enforcement stats are gone!
--- FAIL: TestAuthenticateUplinkTraffic (64.62s)
Check warning on line 0 in magma/cwf/gateway/integ_tests
github-actions / CWF integration test results
TestAuthenticateMultipleAPsUplinkTraffic (magma/cwf/gateway/integ_tests) failed
cwf/gateway/tests.xml
Raw output
Failed
=== RUN TestAuthenticateMultipleAPsUplinkTraffic
Running TestAuthenticateMultipleAPsUplinkTraffic...
************* TestRunner setup
Adding Mock HSS service at 192.168.70.101:9204
Adding Mock PCRF service at 192.168.70.101:9202
Adding Mock OCS service at 192.168.70.101:9201
Adding Pipelined service at 192.168.70.101:8443
Adding Redis service at 192.168.70.101:6380
Adding Directoryd service at 192.168.70.101:8443
************* Configuring 1 UE(s), PCRF instance: PCRF_REMOTE
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 512938525736271 Key: 9216ce4426b1b9b06ee554a1e0c55b73 Opc: 12f071964f188fd1d44ee10784146876 Seq: 5982175212273
Successfully configured UE(s)
************* Authenticating UE with IMSI: 512938525736271
Finished Authenticating UE
assertions.go:51:
Error Trace: assertions.go:51
auth_test.go:221
Error: Should be true
Test: TestAuthenticateMultipleAPsUplinkTraffic
Messages: UE Authentication did not return success
************* Generating Traffic for UE with Req: imsi:"512938525736271" volume:{value:"1M"} bitrate:{value:"60M"} timeout:30
==========> Total Sent: 0 bytes
auth_test.go:230:
Error Trace: auth_test.go:230
Error: Received unexpected error:
rpc error: code = DeadlineExceeded desc = context deadline exceeded
Test: TestAuthenticateMultipleAPsUplinkTraffic
************* Authenticating UE with IMSI: 512938525736271
Finished Authenticating UE
assertions.go:51:
Error Trace: assertions.go:51
auth_test.go:232
Error: Should be true
Test: TestAuthenticateMultipleAPsUplinkTraffic
Messages: UE Authentication did not return success
************* Generating Traffic for UE with Req: imsi:"512938525736271" volume:{value:"1M"} bitrate:{value:"60M"} timeout:30
==========> Total Sent: 0 bytes
auth_test.go:235:
Error Trace: auth_test.go:235
Error: Received unexpected error:
rpc error: code = DeadlineExceeded desc = context deadline exceeded
Test: TestAuthenticateMultipleAPsUplinkTraffic
Asserting all Gx expectations were met...
assertions.go:160:
Error Trace: assertions.go:160
assertions.go:144
auth_test.go:237
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
extra elements in list B:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
listA:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
listB:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
Test: TestAuthenticateMultipleAPsUplinkTraffic
assertions.go:162: []
Passed!
************* Sending a disconnect request UE with IMSI: 512938525736271
Finished Disconnecting UE
Waiting until all rules are removed in enforcement stats for 512938525736271...
All enforcement stats are gone!
--- FAIL: TestAuthenticateMultipleAPsUplinkTraffic (126.24s)
Check warning on line 0 in magma/cwf/gateway/integ_tests
github-actions / CWF integration test results
TestGxUsageReportEnforcement (magma/cwf/gateway/integ_tests) failed
cwf/gateway/tests.xml
Raw output
Failed
=== RUN TestGxUsageReportEnforcement
Running TestGxUsageReportEnforcement...
************* TestRunner setup
Adding Mock HSS service at 192.168.70.101:9204
Adding Mock PCRF service at 192.168.70.101:9202
Adding Mock OCS service at 192.168.70.101:9201
Adding Pipelined service at 192.168.70.101:8443
Adding Redis service at 192.168.70.101:6380
Adding Directoryd service at 192.168.70.101:8443
************* Configuring 1 UE(s), PCRF instance: PCRF_REMOTE
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 614577793818119 Key: 3dbaaa5e1df0751b0363b1b646998742 Opc: 65a408107bc52d8e270ad551440a7852 Seq: 5788292807193
Successfully configured UE(s)
************* Adding a Pass-All static rule: usage-enforcement-static-pass-all, priority: 3, mkey: mkey1, rg: 0, trackingType: ONLY_PCRF
************* Authenticating UE with IMSI: 614577793818119
Finished Authenticating UE
assertions.go:38:
Error Trace: assertions.go:38
gx_enforcement_test.go:87
Error: Should be true
Test: TestGxUsageReportEnforcement
Messages: UE Authentication did not return success
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
Waiting until 614577793818119, [usage-enforcement-static-pass-all] shows up in enforcement stats...
gx_enforcement_test.go:89:
Error Trace: gx_enforcement_test.go:89
Error: Condition never satisfied
Test: TestGxUsageReportEnforcement
CCR-I exchanged installed usage-enforcement-static-pass-all
************* Generating Traffic for UE with Req: imsi:"614577793818119" volume:{value:"900K"}
==========> Total Sent: 0 bytes
gx_enforcement_test.go:95:
Error Trace: gx_enforcement_test.go:95
Error: Received unexpected error:
rpc error: code = DeadlineExceeded desc = context deadline exceeded
Test: TestGxUsageReportEnforcement
************* Generating Traffic for UE with Req: imsi:"614577793818119" volume:{value:"200K"}
==========> Total Sent: 0 bytes
gx_enforcement_test.go:99:
Error Trace: gx_enforcement_test.go:99
Error: Received unexpected error:
rpc error: code = DeadlineExceeded desc = context deadline exceeded
Test: TestGxUsageReportEnforcement
assertions.go:169:
Error Trace: assertions.go:169
gx_enforcement_test.go:104
Error: Expected value not to be nil.
Test: TestGxUsageReportEnforcement
Messages: Policy usage record for 614577793818119 not found
assertions.go:171:
Error Trace: assertions.go:171
gx_enforcement_test.go:104
Error: Expected value not to be nil.
Test: TestGxUsageReportEnforcement
Messages: Policy usage record for usage-enforcement-static-pass-all not found for 614577793818119
Asserting all Gx expectations were met...
assertions.go:160:
Error Trace: assertions.go:160
assertions.go:144
gx_enforcement_test.go:107
Error: elements differ
extra elements in list A:
([]interface {}) (len=2) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
}),
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 1,
ExpectationMet: (bool) true
})
}
extra elements in list B:
([]interface {}) (len=2) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
}),
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 1,
ExpectationMet: (bool) false
})
}
listA:
([]*protos.ExpectationResult) (len=2) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
}),
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 1,
ExpectationMet: (bool) true
})
}
listB:
([]*protos.ExpectationResult) (len=2) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
}),
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 1,
ExpectationMet: (bool) false
})
}
Test: TestGxUsageReportEnforcement
assertions.go:162: []
Passed!
************* Sending a disconnect request UE with IMSI: 614577793818119
Finished Disconnecting UE
Waiting until all rules are removed in enforcement stats for 614577793818119...
All enforcement stats are gone!
Asserting all Gx expectations were met...
assertions.go:160:
Error Trace: assertions.go:160
assertions.go:144
gx_enforcement_test.go:119
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
extra elements in list B:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
listA:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
listB:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
Test: TestGxUsageReportEnforcement
assertions.go:162: []
Passed!
--- FAIL: TestGxUsageReportEnforcement (197.33s)
Check warning on line 0 in magma/cwf/gateway/integ_tests
github-actions / CWF integration test results
TestGxMidSessionRuleRemovalWithCCA_U (magma/cwf/gateway/integ_tests) failed
cwf/gateway/tests.xml
Raw output
Failed
=== RUN TestGxMidSessionRuleRemovalWithCCA_U
Running TestGxMidSessionRuleRemovalWithCCA_U...
************* TestRunner setup
Adding Mock HSS service at 192.168.70.101:9204
Adding Mock PCRF service at 192.168.70.101:9202
Adding Mock OCS service at 192.168.70.101:9201
Adding Pipelined service at 192.168.70.101:8443
Adding Redis service at 192.168.70.101:6380
Adding Directoryd service at 192.168.70.101:8443
************* Configuring 1 UE(s), PCRF instance: PCRF_REMOTE
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 177340299172999 Key: 3469af93936ccfcefaeb59f3f72fd056 Opc: 3621e58a6adcb1f674c0e6271a7ee57b Seq: 1440842114139
Successfully configured UE(s)
************* Adding a Pass-All static rule: static-pass-all-1, priority: 100, mkey: mkey1, rg: 0, trackingType: ONLY_PCRF
************* Adding a Pass-All static rule: static-pass-all-2, priority: 150, mkey: mkey2, rg: 0, trackingType: ONLY_PCRF
************* Adding a Pass-All static rule: static-pass-all-3, priority: 200, mkey: mkey2, rg: 0, trackingType: ONLY_PCRF
************* Adding a base name mapping of base-1 -> [static-pass-all-3]
************* Authenticating UE with IMSI: 177340299172999
Finished Authenticating UE
assertions.go:38:
Error Trace: assertions.go:38
gx_enforcement_test.go:170
Error: Should be true
Test: TestGxMidSessionRuleRemovalWithCCA_U
Messages: UE Authentication did not return success
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] shows up in enforcement stats...
gx_enforcement_test.go:171:
Error Trace: gx_enforcement_test.go:171
Error: Condition never satisfied
Test: TestGxMidSessionRuleRemovalWithCCA_U
************* Generating Traffic for UE with Req: imsi:"177340299172999" volume:{value:"1M"} bitrate:{value:"30M"} timeout:30
==========> Total Sent: 0 bytes
gx_enforcement_test.go:181:
Error Trace: gx_enforcement_test.go:181
Error: Received unexpected error:
rpc error: code = DeadlineExceeded desc = context deadline exceeded
Test: TestGxMidSessionRuleRemovalWithCCA_U
Waiting until 177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-1 has more than 1 bytes in enforcement stats...
gx_enforcement_test.go:185:
Error Trace: gx_enforcement_test.go:185
Error: Condition never satisfied
Test: TestGxMidSessionRuleRemovalWithCCA_U
Asserting all Gx expectations were met...
assertions.go:160:
Error Trace: assertions.go:160
assertions.go:144
gx_enforcement_test.go:189
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
extra elements in list B:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
listA:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
listB:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
Test: TestGxMidSessionRuleRemovalWithCCA_U
assertions.go:162: []
Passed!
Generating traffic again to trigger a CCR/A-U so that 'static-pass-all-1' gets removed
************* Generating Traffic for UE with Req: imsi:"177340299172999" volume:{value:"1M"} bitrate:{value:"20M"} timeout:60
==========> Total Sent: 0 bytes
gx_enforcement_test.go:212:
Error Trace: gx_enforcement_test.go:212
Error: Received unexpected error:
rpc error: code = DeadlineExceeded desc = context deadline exceeded
Test: TestGxMidSessionRuleRemovalWithCCA_U
Waiting until 177340299172999, [static-pass-all-1 static-pass-all-3] disappear from enforcement stats...
177340299172999 are no longer in enforcement stats!
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
Waiting until 177340299172999, [static-pass-all-2] shows up in enforcement stats...
gx_enforcement_test.go:215:
Error Trace: gx_enforcement_test.go:215
Error: Condition never satisfied
Test: TestGxMidSessionRuleRemovalWithCCA_U
Generating traffic again to put data through static-pass-all-2
************* Generating Traffic for UE with Req: imsi:"177340299172999" volume:{value:"1M"} bitrate:{value:"30M"} timeout:30
==========> Total Sent: 0 bytes
gx_enforcement_test.go:225:
Error Trace: gx_enforcement_test.go:225
Error: Received unexpected error:
rpc error: code = DeadlineExceeded desc = context deadline exceeded
Test: TestGxMidSessionRuleRemovalWithCCA_U
Waiting until 177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
Waiting until IMSI177340299172999, static-pass-all-2 has more than 1 bytes in enforcement stats...
gx_enforcement_test.go:226:
Error Trace: gx_enforcement_test.go:226
Error: Condition never satisfied
Test: TestGxMidSessionRuleRemovalWithCCA_U
Asserting all Gx expectations were met...
assertions.go:160:
Error Trace: assertions.go:160
assertions.go:144
gx_enforcement_test.go:230
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
extra elements in list B:
([]interface {}) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
listA:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) true
})
}
listB:
([]*protos.ExpectationResult) (len=1) {
(*protos.ExpectationResult)({
state: (impl.MessageState) {
NoUnkeyedLiterals: (pragma.NoUnkeyedLiterals) {
},
DoNotCompare: (pragma.DoNotCompare) {
},
DoNotCopy: (pragma.DoNotCopy) {
},
atomicMessageInfo: (*impl.MessageInfo)(<nil>)
},
sizeCache: (int32) 0,
unknownFields: ([]uint8) <nil>,
ExpectationIndex: (int32) 0,
ExpectationMet: (bool) false
})
}
Test: TestGxMidSessionRuleRemovalWithCCA_U
assertions.go:162: []
Passed!
************* Sending a disconnect request UE with IMSI: 177340299172999
Finished Disconnecting UE
Waiting until all rules are removed in enforcement stats for 177340299172999...
All enforcement stats are gone!
--- FAIL: TestGxMidSessionRuleRemovalWithCCA_U (431.84s)
Check warning on line 0 in magma/cwf/gateway/integ_tests
github-actions / CWF integration test results
TestGxAbortSessionRequest (magma/cwf/gateway/integ_tests) failed
cwf/gateway/tests.xml
Raw output
Failed
=== RUN TestGxAbortSessionRequest
Running TestGxAbortSessionRequest
************* TestRunner setup
Adding Mock HSS service at 192.168.70.101:9204
Adding Mock PCRF service at 192.168.70.101:9202
Adding Mock OCS service at 192.168.70.101:9201
Adding Pipelined service at 192.168.70.101:8443
Adding Redis service at 192.168.70.101:6380
Adding Directoryd service at 192.168.70.101:8443
************* Configuring 1 UE(s), PCRF instance: PCRF_REMOTE
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 227618261762914 Key: 813d0fe4941a0f9fa0008b7383a7b00c Opc: 474ea983e2f7f5156d3e80e90728d0cf Seq: 1968132434399
Successfully configured UE(s)
************* Adding a static rule: static-ASR1_CCI-77386, priority: 3, mkey: monitor-ASR-77386, rg: 0, trackingType: ONLY_PCRF
************* Adding PCRF Usage Monitor for UE with IMSI: 227618261762914
************* Adding PCRF Rule for UE with IMSI: 227618261762914 with ruleNames=[static-ASR1_CCI-77386], baseNames=[]
************* Authenticating UE with IMSI: 227618261762914
Finished Authenticating UE
assertions.go:38:
Error Trace: assertions.go:38
gx_enforcement_test.go:367
Error: Should be true
Test: TestGxAbortSessionRequest
Messages: UE Authentication did not return success
gx_enforcement_test.go:372:
Error Trace: gx_enforcement_test.go:372
Error: Should NOT be empty, but was <nil>
Test: TestGxAbortSessionRequest
gx_enforcement_test.go:379:
Error Trace: gx_enforcement_test.go:379
Error: Received unexpected error:
rpc error: code = Unknown desc = Credit client State unknown for imsi 227618261762914
Test: TestGxAbortSessionRequest
gx_enforcement_test.go:386:
Error Trace: gx_enforcement_test.go:386
Error: Expected value not to be nil.
Test: TestGxAbortSessionRequest
Waiting until all rules are removed in enforcement stats for 227618261762914...
All enforcement stats are gone!
--- FAIL: TestGxAbortSessionRequest (12.94s)
Check warning on line 0 in magma/cwf/gateway/integ_tests
github-actions / CWF integration test results
TestGxReAuthWithMidSessionPolicyRemoval (magma/cwf/gateway/integ_tests) failed
cwf/gateway/tests.xml
Raw output
Failed
=== RUN TestGxReAuthWithMidSessionPolicyRemoval
Running TestGxReAuthWithMidSessionPolicyRemoval...
************* TestRunner setup
Adding Mock HSS service at 192.168.70.101:9204
Adding Mock PCRF service at 192.168.70.101:9202
Adding Mock OCS service at 192.168.70.101:9201
Adding Pipelined service at 192.168.70.101:8443
Adding Redis service at 192.168.70.101:6380
Adding Directoryd service at 192.168.70.101:8443
************* Configuring 1 UE(s), PCRF instance: PCRF_REMOTE
Added UE to Simulator, HSS_REMOTE, PCRF_REMOTE, and OCS_REMOTE:
IMSI: 562289981572504 Key: 30cd0b1efb038a3eae29b44557f09b54 Opc: 43d3af788332b09d598a310f2b6038b8 Seq: 2090849809227
Successfully configured UE(s)
************* Adding PCRF Usage Monitor for UE with IMSI: 562289981572504
************* Adding a Pass-All static rule: static-pass-all-raa1, priority: 100, mkey: raakey1, rg: 0, trackingType: ONLY_PCRF
************* Adding a Pass-All static rule: static-pass-all-raa2, priority: 150, mkey: raakey2, rg: 0, trackingType: ONLY_PCRF
************* Adding a Pass-All static rule: static-pass-all-raa3, priority: 200, mkey: raakey2, rg: 0, trackingType: ONLY_PCRF
************* Adding a base name mapping of base-raa1 -> [static-pass-all-raa3]
************* Adding PCRF Rule for UE with IMSI: 562289981572504 with ruleNames=[static-pass-all-raa1 static-pass-all-raa2], baseNames=[base-raa1]
************* Authenticating UE with IMSI: 562289981572504
Finished Authenticating UE
assertions.go:38:
Error Trace: assertions.go:38
gx_reauth_test.go:81
Error: Should be true
Test: TestGxReAuthWithMidSessionPolicyRemoval
Messages: UE Authentication did not return success
************* Generating Traffic for UE with Req: imsi:"562289981572504" volume:{value:"450K"} bitrate:{value:"20M"} timeout:60
==========> Total Sent: 0 bytes
gx_reauth_test.go:91:
Error Trace: gx_reauth_test.go:91
Error: Received unexpected error:
rpc error: code = DeadlineExceeded desc = context deadline exceeded
Test: TestGxReAuthWithMidSessionPolicyRemoval
gx_reauth_test.go:98:
Error Trace: gx_reauth_test.go:98
Error: Expected value not to be nil.
Test: TestGxReAuthWithMidSessionPolicyRemoval
Messages: Policy usage record for imsi: 562289981572504 rule: 'static-pass-all-raa1' does not exist
--- FAIL: TestGxReAuthWithMidSessionPolicyRemoval (70.81s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xd71d0f]
goroutine 543 [running]:
testing.tRunner.func1.2({0xf3af40, 0x19a55c0})
/usr/local/go/src/testing/testing.go:1526 +0x24e
testing.tRunner.func1()
/usr/local/go/src/testing/testing.go:1529 +0x39f
panic({0xf3af40, 0x19a55c0})
/usr/local/go/src/runtime/panic.go:884 +0x213
magma/cwf/gateway/integ_tests.TestGxReAuthWithMidSessionPolicyRemoval(0xc000900b60)
/home/vagrant/magma/cwf/gateway/integ_tests/gx_reauth_test.go:100 +0x3af
testing.tRunner(0xc000900b60, 0x117fc40)
/usr/local/go/src/testing/testing.go:1576 +0x10b
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:1629 +0x3ea
Check notice on line 0 in .github
github-actions / CWF integration test results
18 tests found
There are 18 tests, see "Raw output" for the full list of tests.
Raw output
magma/cwf/gateway/integ_tests ‑ TestAuthenticateFail
magma/cwf/gateway/integ_tests ‑ TestAuthenticateMultipleAPsUplinkTraffic
magma/cwf/gateway/integ_tests ‑ TestAuthenticateMultipleUEs
magma/cwf/gateway/integ_tests ‑ TestAuthenticateUplinkTraffic
magma/cwf/gateway/integ_tests ‑ TestAuthenticateWithDifferentAPs
magma/cwf/gateway/integ_tests ‑ TestGxAbortSessionRequest
magma/cwf/gateway/integ_tests ‑ TestGxDownlinkTrafficQosEnforcement
magma/cwf/gateway/integ_tests ‑ TestGxMidSessionRuleRemovalWithCCA_U
magma/cwf/gateway/integ_tests ‑ TestGxQosDowngradeWithCCAUpdate
magma/cwf/gateway/integ_tests ‑ TestGxQosDowngradeWithReAuth
magma/cwf/gateway/integ_tests ‑ TestGxReAuthWithMidSessionPolicyRemoval
magma/cwf/gateway/integ_tests ‑ TestGxRevalidationTime
magma/cwf/gateway/integ_tests ‑ TestGxRuleInstallTime
magma/cwf/gateway/integ_tests ‑ TestGxUplinkTrafficQosEnforcement
magma/cwf/gateway/integ_tests ‑ TestGxUsageReportEnforcement
magma/cwf/gateway/integ_tests ‑ TestLinkFailureCWAGtoFEG
magma/cwf/gateway/integ_tests ‑ TestQosRestartMeterClean
magma/cwf/gateway/integ_tests ‑ TestQosRestartMeterNonClean