test-reporter #1034
test-reporter.yml
on: workflow_run
report
3s
coverage
10s
Annotations
4 errors and 1 warning
pytest ► tests.handlers.aws.test_utils.TestSummarizeLambdaEvent ► test_with_invalid_s3_sqs_notification:
elastic-serverless-forwarder-junit.xml#L1
Failed test found in:
elastic-serverless-forwarder-junit.xml
Error:
AssertionError: assert {'error': 'unexpected character: line 1 column 1 (char 0)'} == {}
Left contains 1 more item:
{'error': 'unexpected character: line 1 column 1 (char 0)'}
Full diff:
- {}
+ {'error': 'unexpected character: line 1 column 1 (char 0)'}
|
pytest ► tests.handlers.aws.test_utils.TestSummarizeLambdaEvent ► test_with_multiple_s3_sqs_records:
elastic-serverless-forwarder-junit.xml#L1
Failed test found in:
elastic-serverless-forwarder-junit.xml
Error:
AssertionError: assert {'aws:sqs': {'total_records': 2, 'first_10_records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'key': 'AWSLogs/123456789012/1.log'}}, {'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'key': 'AWSLogs/123456789012/2.log'}}]}} == {'aws:sqs': {'total_records': 2, 'records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'key': 'AWSLogs/123456789012/1.log'}}, {'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'key': 'AWSLogs/123456789012/2.log'}}]}}
Differing items:
{'aws:sqs': {'first_10_records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'ob...mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'key': 'AWSLogs/123456789012/2.log'}}], 'total_records': 2}} != {'aws:sqs': {'records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'...mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'key': 'AWSLogs/123456789012/2.log'}}], 'total_records': 2}}
Full diff:
{
- 'aws:sqs': {'records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data',
+ 'aws:sqs': {'first_10_records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data',
? +++++++++
- 'name': 'mbranca-esf-data'},
+ 'name': 'mbranca-esf-data'},
? +++++++++
- 'object': {'key': 'AWSLogs/123456789012/1.log'}},
+ 'object': {'key': 'AWSLogs/123456789012/1.log'}},
? +++++++++
- {'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data',
+ {'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data',
? +++++++++
- 'name': 'mbranca-esf-data'},
+ 'name': 'mbranca-esf-data'},
? +++++++++
- 'object': {'key': 'AWSLogs/123456789012/2.log'}}],
+ 'object': {'key': 'AWSLogs/123456789012/2.log'}}],
? +++++++++
'total_records': 2},
}
|
pytest ► tests.handlers.aws.test_utils.TestSummarizeLambdaEvent ► test_with_single_s3_sqs_record:
elastic-serverless-forwarder-junit.xml#L1
Failed test found in:
elastic-serverless-forwarder-junit.xml
Error:
AssertionError: assert {'aws:sqs': {'total_records': 1, 'first_10_records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'key': 'AWSLogs/627286350134/CloudTrail-Digest/'}}]}} == {'aws:sqs': {'total_records': 1, 'records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'key': 'AWSLogs/627286350134/CloudTrail-Digest/'}}]}}
Differing items:
{'aws:sqs': {'first_10_records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'key': 'AWSLogs/627286350134/CloudTrail-Digest/'}}], 'total_records': 1}} != {'aws:sqs': {'records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data', 'name': 'mbranca-esf-data'}, 'object': {'key': 'AWSLogs/627286350134/CloudTrail-Digest/'}}], 'total_records': 1}}
Full diff:
{
- 'aws:sqs': {'records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data',
+ 'aws:sqs': {'first_10_records': [{'bucket': {'arn': 'arn:aws:s3:::mbranca-esf-data',
? +++++++++
- 'name': 'mbranca-esf-data'},
+ 'name': 'mbranca-esf-data'},
? +++++++++
- 'object': {'key': 'AWSLogs/627286350134/CloudTrail-Digest/'}}],
+ 'object': {'key': 'AWSLogs/627286350134/CloudTrail-Digest/'}}],
? +++++++++
'total_records': 1},
}
|
report
Failed tests were found and 'fail-on-error' option is set to true
|
coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|