Skip to content

feat: add support for async functions #1169

feat: add support for async functions

feat: add support for async functions #1169

Triggered via pull request June 6, 2025 23:51
Status Failure
Total duration 1m 27s
Artifacts

conformance.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
build (ubuntu-22.04, 3.7)
Command failed: ~/client -output-file=function_output.json -type=http -declarative-type= -validate-mapping=false -validate-concurrency=false -builder-source= -builder-target= -builder-runtime= -builder-runtime-version= -builder-tag=latest -builder-url= -buildpacks=false -cmd='functions-framework --source tests/conformance/main.py --target write_http --signature-type http' -start-delay=1 -envs= 2025/06/06 23:53:04 Validating for http... 2025/06/06 23:53:04 Framework server started. 2025/06/06 23:53:05 HTTP validation started... 2025/06/06 23:53:05 Framework server shut down. Wrote logs to /tmp/ff_serverlog_stdout.txt and /tmp/ff_serverlog_stderr.txt. 2025/06/06 23:53:05 validation failure: failed to get response from HTTP function: failed to send HTTP request: Post "http://localhost:8080": dial tcp [::1]:8080: connect: connection refused Server logs: [/tmp/ff_serverlog_stdout.txt]: '' [/tmp/ff_serverlog_stderr.txt]: 'Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.7.17/x64/bin/functions-framework", line 5, in <module> from functions_framework._cli import _cli File "/home/runner/work/functions-framework-python/functions-framework-python/src/functions_framework/__init__.py", line 34, in <module> from cloudevents.http import from_http, is_binary File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/cloudevents/http/__init__.py", line 16, in <module> from cloudevents.http.conversion import from_dict, from_http, from_json File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/cloudevents/http/conversion.py", line 17, in <module> from cloudevents.conversion import from_dict as _abstract_from_dict File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/cloudevents/conversion.py", line 21, in <module> from cloudevents.sdk import converters, marshaller, types File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/cloudevents/sdk/converters/__init__.py", line 15, in <module> from cloudevents.sdk.converters import binary, structured File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/cloudevents/sdk/converters/binary.py", line 17, in <module> from cloudevents.sdk import exceptions, types File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/cloudevents/sdk/types.py", line 28, in <module> class SupportsDuplicateItems(typing.Protocol[_K_co, _V_co]): AttributeError: module 'typing' has no attribute 'Protocol' '
build (3.12, ubuntu-latest)
The strategy configuration was canceled because "build.ubuntu-22_04_3_7" failed
build (ubuntu-22.04, 3.8)
The operation was canceled.
build (ubuntu-22.04, 3.8)
The strategy configuration was canceled because "build.ubuntu-22_04_3_7" failed
build (3.10, ubuntu-latest)
The strategy configuration was canceled because "build.ubuntu-22_04_3_7" failed
build (3.11, ubuntu-latest)
The strategy configuration was canceled because "build.ubuntu-22_04_3_7" failed
build (3.9, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/functions-framework-python/functions-framework-python. Supported file pattern: go.sum
build (ubuntu-22.04, 3.7)
Restore cache failed: Dependencies file is not found in /home/runner/work/functions-framework-python/functions-framework-python. Supported file pattern: go.sum
build (3.12, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/functions-framework-python/functions-framework-python. Supported file pattern: go.sum
build (ubuntu-22.04, 3.8)
Restore cache failed: Dependencies file is not found in /home/runner/work/functions-framework-python/functions-framework-python. Supported file pattern: go.sum
build (3.10, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/functions-framework-python/functions-framework-python. Supported file pattern: go.sum
build (3.11, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/functions-framework-python/functions-framework-python. Supported file pattern: go.sum