File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,11 +155,7 @@ jobs:
155155 functions-e2e-tests :
156156
157157 needs : build
158- # Pinned to ubuntu-22.04 as a diagnostic: ubuntu-24.04 runner image bumped from
159- # 20260513.135 (last green CI on 5/19) to 20260518.149 (first red on 5/22)
160- # with no code change in between. If this job goes green on 22.04, the regression
161- # is in the new 24.04 runner image (Docker-Buildx 0.34 / Node 20 removal / kernel).
162- runs-on : ubuntu-22.04
158+ runs-on : ubuntu-latest
163159
164160 steps :
165161 - uses : actions/checkout@v2
@@ -184,18 +180,6 @@ jobs:
184180 run : endtoendtests/e2e-test-setup.ps1 -DockerfilePath endtoendtests/Dockerfile
185181 shell : pwsh
186182
187- - name : Diagnose host readiness (always run)
188- if : always()
189- run : |
190- echo '--- docker ps ---'
191- docker ps -a
192- echo '--- curl /admin/host/ping ---'
193- curl -sv -X POST http://localhost:8080/admin/host/ping || true
194- echo '--- curl /api/StartOrchestration ---'
195- curl -sv -X POST http://localhost:8080/api/StartOrchestration || true
196- echo '--- docker logs app (tail) ---'
197- docker logs app 2>&1 | tail -200 || true
198-
199183 - name : End to End Tests with Gradle
200184 uses : gradle/gradle-build-action@v2
201185 with :
@@ -210,8 +194,7 @@ jobs:
210194 functions-sample-tests :
211195
212196 needs : build
213- # Pinned to ubuntu-22.04; see comment on functions-e2e-tests.
214- runs-on : ubuntu-22.04
197+ runs-on : ubuntu-latest
215198
216199 steps :
217200 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -23,7 +23,12 @@ if ($NoSetup -eq $false) {
2323 docker pull " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} "
2424
2525 Write-Host " Starting Azurite storage emulator using default ports..." - ForegroundColor Yellow
26- docker run -- name ' azurite' - p 10000 :10000 - p 10001 :10001 - p 10002 :10002 - d " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} "
26+ # --skipApiVersionCheck: the Functions host's Durable extension is updated to use newer
27+ # Azure Storage REST API versions faster than Azurite releases support them. Without this
28+ # flag, Azurite rejects the request with "The API version <date> is not supported by Azurite",
29+ # the extension fails to create its task hub, and every /api/* call returns HTTP 500.
30+ docker run -- name ' azurite' - p 10000 :10000 - p 10001 :10001 - p 10002 :10002 - d " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} " `
31+ azurite - l / workspace - d / workspace/ debug.log -- blobHost 0.0 .0.0 -- queueHost 0.0 .0.0 -- tableHost 0.0 .0.0 -- skipApiVersionCheck
2732
2833 # Finally, start up the smoke test container, which will connect to the Azurite container
2934 docker run -- name $ContainerName - p 8080 :80 - it -- add-host = host.docker.internal:host- gateway - d `
Original file line number Diff line number Diff line change @@ -23,7 +23,12 @@ if ($NoSetup -eq $false) {
2323 docker pull " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} "
2424
2525 Write-Host " Starting Azurite storage emulator using default ports..." - ForegroundColor Yellow
26- docker run -- name ' azurite' - p 10000 :10000 - p 10001 :10001 - p 10002 :10002 - d " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} "
26+ # --skipApiVersionCheck: the Functions host's Durable extension is updated to use newer
27+ # Azure Storage REST API versions faster than Azurite releases support them. Without this
28+ # flag, Azurite rejects the request with "The API version <date> is not supported by Azurite",
29+ # the extension fails to create its task hub, and every /api/* call returns HTTP 500.
30+ docker run -- name ' azurite' - p 10000 :10000 - p 10001 :10001 - p 10002 :10002 - d " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} " `
31+ azurite - l / workspace - d / workspace/ debug.log -- blobHost 0.0 .0.0 -- queueHost 0.0 .0.0 -- tableHost 0.0 .0.0 -- skipApiVersionCheck
2732
2833 # Finally, start up the smoke test container, which will connect to the Azurite container
2934 docker run -- name $ContainerName - p 8080 :80 - it -- add-host = host.docker.internal:host- gateway - d `
You can’t perform that action at this time.
0 commit comments