Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
GitHub Actions / Test Results (amd64) - Integration, Bootstrap failed Feb 4, 2026 in 0s

1 fail, 561 skipped, 5 048 pass in 2h 38m 53s

    5 files      5 suites   2h 38m 53s ⏱️
5 610 tests 5 048 ✅ 561 💤 1 ❌
5 616 runs  5 048 ✅ 567 💤 1 ❌

Results for commit c6d18c1.

Annotations

Check warning on line 0 in tests.aws.services.events.test_events_schedule.TestScheduleCron

See this annotation in the file changed.

@github-actions github-actions / Test Results (amd64) - Integration, Bootstrap

tests_scheduled_rule_does_not_trigger_on_put_events (tests.aws.services.events.test_events_schedule.TestScheduleCron) failed

test-results-integration-amd64-2/pytest-junit-integration-amd64-2.xml [took 2s]
Raw output
assert not [{'Body': '{"custom-value":"somecustominput"}', 'MD5OfBody': 'f879e9d38163d4fe0edc3816c348b7bc', 'MessageId': '6f845773-3f7b-486a-baee-313a558dc13c', 'ReceiptHandle': 'MTAxMDRiODEtOWY2NS00YjE2LThiOGItYWY1YjcxZDRmZGY5IGFybjphd3M6c3FzOnVzLWVhc3QtMTowMDAwMDAwMDAwMDA6dGVzdHMtcXVldWUtNjc5MGI4ZTQgNmY4NDU3NzMtM2Y3Yi00ODZhLWJhZWUtMzEzYTU1OGRjMTNjIDE3NzAyMDMzOTEuMzYwMjcz'}]
 +  where [{'Body': '{"custom-value":"somecustominput"}', 'MD5OfBody': 'f879e9d38163d4fe0edc3816c348b7bc', 'MessageId': '6f845773-3f7b-486a-baee-313a558dc13c', 'ReceiptHandle': 'MTAxMDRiODEtOWY2NS00YjE2LThiOGItYWY1YjcxZDRmZGY5IGFybjphd3M6c3FzOnVzLWVhc3QtMTowMDAwMDAwMDAwMDA6dGVzdHMtcXVldWUtNjc5MGI4ZTQgNmY4NDU3NzMtM2Y3Yi00ODZhLWJhZWUtMzEzYTU1OGRjMTNjIDE3NzAyMDMzOTEuMzYwMjcz'}] = <built-in method get of dict object at 0x7ff409884dc0>('Messages')
 +    where <built-in method get of dict object at 0x7ff409884dc0> = {'Messages': [{'Body': '{"custom-value":"somecustominput"}', 'MD5OfBody': 'f879e9d38163d4fe0edc3816c348b7bc', 'MessageId': '6f845773-3f7b-486a-baee-313a558dc13c', 'ReceiptHandle': 'MTAxMDRiODEtOWY2NS00YjE2LThiOGItYWY1YjcxZDRmZGY5IGFybjphd3M6c3FzOnVzLWVhc3QtMTowMDAwMDAwMDAwMDA6dGVzdHMtcXVldWUtNjc5MGI4ZTQgNmY4NDU3NzMtM2Y3Yi00ODZhLWJhZWUtMzEzYTU1OGRjMTNjIDE3NzAyMDMzOTEuMzYwMjcz'}], 'ResponseMetadata': {'HTTPHeaders': {'content-length': '385', 'content-type': 'application/x-amz-json-1.0', 'date': 'Wed, 04 Feb 2026 11:09:48 GMT', 'server': 'TwistedWeb/24.3.0', ...}, 'HTTPStatusCode': 200, 'RequestId': '9661a727-3f4c-423d-a0ee-4e598c6f56d5', 'RetryAttempts': 0}}.get
self = <tests.aws.services.events.test_events_schedule.TestScheduleCron object at 0x7ff4c60485d0>
sqs_as_events_target = <function sqs_as_events_target.<locals>._sqs_as_events_target at 0x7ff429dead40>
events_put_rule = <function events_put_rule.<locals>._put_rule at 0x7ff429deae80>
aws_client = <localstack.aws.connect.ServiceLevelClientFactory object at 0x7ff4c43c0440>

    @markers.aws.validated
    def tests_scheduled_rule_does_not_trigger_on_put_events(
        self, sqs_as_events_target, events_put_rule, aws_client
    ):
        queue_url, queue_arn, _ = sqs_as_events_target()
    
        bus_name = "default"
        rule_name = f"test-rule-{short_uid()}"
        events_put_rule(
            Name=rule_name, EventBusName=bus_name, ScheduleExpression="rate(10 minutes)"
        )
    
        target_id = f"target-{short_uid()}"
        aws_client.events.put_targets(
            Rule=rule_name,
            EventBusName=bus_name,
            Targets=[
                {
                    "Id": target_id,
                    "Arn": queue_arn,
                    "Input": json.dumps({"custom-value": "somecustominput"}),
                },
            ],
        )
        test_event = {
            "Source": "core.update-account-command",
            "DetailType": "core.update-account-command",
            "Detail": json.dumps({"command": ["update-account"]}),
        }
        aws_client.events.put_events(Entries=[test_event])
    
        messages = aws_client.sqs.receive_message(
            QueueUrl=queue_url, WaitTimeSeconds=10 if is_aws_cloud() else 3
        )
>       assert not messages.get("Messages")
E       assert not [{'Body': '{"custom-value":"somecustominput"}', 'MD5OfBody': 'f879e9d38163d4fe0edc3816c348b7bc', 'MessageId': '6f845773-3f7b-486a-baee-313a558dc13c', 'ReceiptHandle': 'MTAxMDRiODEtOWY2NS00YjE2LThiOGItYWY1YjcxZDRmZGY5IGFybjphd3M6c3FzOnVzLWVhc3QtMTowMDAwMDAwMDAwMDA6dGVzdHMtcXVldWUtNjc5MGI4ZTQgNmY4NDU3NzMtM2Y3Yi00ODZhLWJhZWUtMzEzYTU1OGRjMTNjIDE3NzAyMDMzOTEuMzYwMjcz'}]
E        +  where [{'Body': '{"custom-value":"somecustominput"}', 'MD5OfBody': 'f879e9d38163d4fe0edc3816c348b7bc', 'MessageId': '6f845773-3f7b-486a-baee-313a558dc13c', 'ReceiptHandle': 'MTAxMDRiODEtOWY2NS00YjE2LThiOGItYWY1YjcxZDRmZGY5IGFybjphd3M6c3FzOnVzLWVhc3QtMTowMDAwMDAwMDAwMDA6dGVzdHMtcXVldWUtNjc5MGI4ZTQgNmY4NDU3NzMtM2Y3Yi00ODZhLWJhZWUtMzEzYTU1OGRjMTNjIDE3NzAyMDMzOTEuMzYwMjcz'}] = <built-in method get of dict object at 0x7ff409884dc0>('Messages')
E        +    where <built-in method get of dict object at 0x7ff409884dc0> = {'Messages': [{'Body': '{"custom-value":"somecustominput"}', 'MD5OfBody': 'f879e9d38163d4fe0edc3816c348b7bc', 'MessageId': '6f845773-3f7b-486a-baee-313a558dc13c', 'ReceiptHandle': 'MTAxMDRiODEtOWY2NS00YjE2LThiOGItYWY1YjcxZDRmZGY5IGFybjphd3M6c3FzOnVzLWVhc3QtMTowMDAwMDAwMDAwMDA6dGVzdHMtcXVldWUtNjc5MGI4ZTQgNmY4NDU3NzMtM2Y3Yi00ODZhLWJhZWUtMzEzYTU1OGRjMTNjIDE3NzAyMDMzOTEuMzYwMjcz'}], 'ResponseMetadata': {'HTTPHeaders': {'content-length': '385', 'content-type': 'application/x-amz-json-1.0', 'date': 'Wed, 04 Feb 2026 11:09:48 GMT', 'server': 'TwistedWeb/24.3.0', ...}, 'HTTPStatusCode': 200, 'RequestId': '9661a727-3f4c-423d-a0ee-4e598c6f56d5', 'RetryAttempts': 0}}.get

tests/aws/services/events/test_events_schedule.py:424: AssertionError