Closed markjamesm closed 7 months ago
The full Build and Deploy output:
Run Azure/static-web-apps-deploy@v1
/usr/bin/docker run --name dd2b156e2ede8692d2449bb1a9e81128655b9e_b2f466 --label dd2b15 --workdir /github/workspace --rm -e "INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN" -e "INPUT_REPO_TOKEN" -e "INPUT_ACTION" -e "INPUT_APP_LOCATION" -e "INPUT_API_LOCATION" -e "INPUT_OUTPUT_LOCATION" -e "INPUT_API_BUILD_COMMAND" -e "INPUT_APP_ARTIFACT_LOCATION" -e "INPUT_APP_BUILD_COMMAND" -e "INPUT_ROUTES_LOCATION" -e "INPUT_SKIP_APP_BUILD" -e "INPUT_CONFIG_FILE_LOCATION" -e "INPUT_SKIP_API_BUILD" -e "INPUT_PRODUCTION_BRANCH" -e "INPUT_DEPLOYMENT_ENVIRONMENT" -e "INPUT_IS_STATIC_EXPORT" -e "INPUT_DATA_API_LOCATION" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/markjamesdev/markjamesdev":"/github/workspace" dd2b15:6e2ede8692d2449bb1a9e81128655b9e
DeploymentId: 042e165b-a85c-41b5-90df-372c5b977820
Try to validate location at: '/github/workspace'.
App Directory Location: '/' was found.
Try to validate location at: '/github/workspace/swa-db-connections'.
Looking for event info
Starting to build app with Oryx
Azure Static Web Apps utilizes Oryx to build both static applications and Azure Functions. You can find more details on Oryx here: https://github.com/microsoft/Oryx
---Oryx build logs---
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues
Oryx Version: 0.2.20231128.3, Commit: 0b76566110f0db32097b869761e056fd9b01848d, ReleaseTagName: 20231128.3
Build Operation ID: 3c7042030d7a9912
OS Type : bullseye
Image Type : jamstack
Detecting platforms...
Detected following platforms:
nodejs: 20.9.0
Version '20.9.0' of platform 'nodejs' is not installed. Generating script to install it...
Detected the following frameworks: Typescript,Astro
Source directory : /github/workspace
Destination directory: /bin/staticsites/042e165b-a85c-41b5-90df-372c5b977820-swa-oryx/app
Installing common platform dependencies...
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8062 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [265 kB]
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Fetched 8554 kB in 1s (6041 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
curl libcurl3-gnutls libcurl4 libnghttp2-14 linux-libc-dev tzdata
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3015 kB of archives.
After this operation, 26.6 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye-updates/main amd64 tzdata all 2021a-1+deb11u11 [287 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security/main amd64 libnghttp2-14 amd64 1.43.0-1+deb11u1 [77.2 kB]
Get:3 http://deb.debian.org/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u11 [271 kB]
Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u11 [347 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 libcurl3-gnutls amd64 7.74.0-1.3+deb11u11 [344 kB]
Get:6 http://deb.debian.org/debian-security bullseye-security/main amd64 linux-libc-dev amd64 5.10.205-2 [1690 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3015 kB in 0s (13.6 MB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20486 files and directories currently installed.)
Preparing to unpack .../0-tzdata_2021a-1+deb11u11_all.deb ...
Unpacking tzdata (2021a-1+deb11u11) over (2021a-1+deb11u10) ...
Preparing to unpack .../1-libnghttp2-14_1.43.0-1+deb11u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.43.0-1+deb11u1) over (1.43.0-1) ...
Preparing to unpack .../2-curl_7.74.0-1.3+deb11u11_amd64.deb ...
Unpacking curl (7.74.0-1.3+deb11u11) over (7.74.0-1.3+deb11u10) ...
Preparing to unpack .../3-libcurl4_7.74.0-1.3+deb11u11_amd64.deb ...
Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u11) over (7.74.0-1.3+deb11u10) ...
Preparing to unpack .../4-libcurl3-gnutls_7.74.0-1.3+deb11u11_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.74.0-1.3+deb11u11) over (7.74.0-1.3+deb11u10) ...
Preparing to unpack .../5-linux-libc-dev_5.10.205-2_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.10.205-2) over (5.10.197-1) ...
Setting up libnghttp2-14:amd64 (1.43.0-1+deb11u1) ...
Setting up linux-libc-dev:amd64 (5.10.205-2) ...
Setting up libcurl3-gnutls:amd64 (7.74.0-1.3+deb11u11) ...
Setting up tzdata (2021a-1+deb11u11) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Current default time zone: 'Etc/UTC'
Local time is now: Mon Jan 22 00:55:14 UTC 2024.
Universal Time is now: Mon Jan 22 00:55:14 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Setting up libcurl4:amd64 (7.74.0-1.3+deb11u11) ...
Setting up curl (7.74.0-1.3+deb11u11) ...
Processing triggers for libc-bin (2.31-13+deb11u7) ...
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.30.2-1+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Downloading and extracting 'nodejs' version '20.9.0' to '/opt/nodejs/20.9.0'...
Detected image debian flavor: bullseye.
Downloaded in 1 sec(s).
Verifying checksum...
Extracting contents...
performing sha512 checksum for: nodejs...
Done in 3 sec(s).
Removing existing manifest file
Creating directory for command manifest file if it does not exist
Creating a manifest file...
Node Build Command Manifest file created.
Using Node version:
v20.9.0
Using Npm version:
10.1.0
Running 'npm install'...
added 917 packages, and audited 918 packages in 34s
358 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Running 'npm run build'...
> @onwidget/astrowind@1.0.0-beta.7 build
> astro build
12:55:54 AM [content] Types generated 533ms
12:55:54 AM [build] output target: static
12:55:54 AM [build] Collecting build info...
12:55:54 AM [build] Completed in 589ms.
12:55:55 AM [build] Building static entrypoints...
12:56:08 AM [astro-icon] Loaded icons from flat-color-icons, tabler
12:56:09 AM [build] Completed in 14.62s.
generating static routes
▶ src/pages/index.astro
└─ /index.html (+213ms)
▶ src/pages/contact.astro
└─ /contact/index.html (+12ms)
λ src/pages/rss.xml.ts
└─ /rss.xml (+18ms)
▶ src/pages/resume.astro
└─ /resume/index.html (+28ms)
▶ src/pages/404.astro
└─ /404.html (+8ms)
▶ src/pages/[...blog]/[category]/[...page].astro
├─ /category/tutorials/index.html (+23ms)
├─ /category/tutorials/2/index.html (+28ms)
├─ /category/tutorials/3/index.html (+31ms)
├─ /category/tutorials/4/index.html (+13ms)
├─ /category/blog/index.html (+13ms)
└─ /category/blog/2/index.html (+15ms)
▶ src/pages/[...blog]/[tag]/[...page].astro
├─ /tag/guides/index.html (+23ms)
├─ /tag/guides/2/index.html (+16ms)
├─ /tag/asp-net/index.html (+5ms)
├─ /tag/csharp/index.html (+15ms)
├─ /tag/csharp/2/index.html (+5ms)
├─ /tag/wikijs/index.html (+5ms)
├─ /tag/docker/index.html (+11ms)
├─ /tag/pardot/index.html (+4ms)
├─ /tag/salesforce/index.html (+5ms)
├─ /tag/programming-projects/index.html (+8ms)
├─ /tag/programming-projects/2/index.html (+16ms)
├─ /tag/react/index.html (+4ms)
├─ /tag/typescript/index.html (+13ms)
├─ /tag/dotnet/index.html (+5ms)
├─ /tag/python/index.html (+4ms)
├─ /tag/fsharp/index.html (+10ms)
├─ /tag/fsharp/2/index.html (+4ms)
├─ /tag/blog/index.html (+7ms)
├─ /tag/swift/index.html (+11ms)
└─ /tag/programming/index.html (+4ms)
▶ src/pages/[...blog]/[...page].astro
├─ /blog/index.html (+6ms)
├─ /blog/2/index.html (+5ms)
├─ /blog/3/index.html (+10ms)
├─ /blog/4/index.html (+17ms)
└─ /blog/5/index.html (+20ms)
▶ src/pages/[...blog]/index.astro
├─ /blog/jwt-authorization-asp-net-core/index.html (+70ms)
├─ /blog/dynamically-importing-images-astro/index.html (+12ms)
├─ /blog/setting-up-wikijs-nginx-docker-ubuntu/index.html (+16ms)
├─ /blog/embed-pardot-form-responsive/index.html (+8ms)
├─ /blog/building-telegram-bot-csharp/index.html (+26ms)
├─ /blog/writing-a-music-synthesizer-react/index.html (+38ms)
├─ /blog/computing-fundamentals-csharp/index.html (+16ms)
├─ /blog/simple-slot-machine-functional-programming-with-python/index.html (+9ms)
├─ /blog/drawing-racetrack-from-csv-csharp/index.html (+10ms)
├─ /blog/learning-fsharp-first-month/index.html (+8ms)
├─ /blog/iracing-telemetry-fsharp/index.html (+8ms)
├─ /blog/plotting-csv-files-fsharp/index.html (+6ms)
├─ /blog/2020-year-in-review/index.html (+4ms)
├─ /blog/handling-errors-fsharp-with-option-types/index.html (+6ms)
├─ /blog/transitioning-from-csharp-to-fsharp-rethinking-state/index.html (+10ms)
├─ /blog/writing-an-iracing-sdk-implementation-fsharp/index.html (+10ms)
├─ /blog/why-learning-fsharp-2021/index.html (+6ms)
├─ /blog/developing-tui-music-player-csharp-part-four/index.html (+17ms)
├─ /blog/developing-tui-music-player-csharp-part-three/index.html (+17ms)
├─ /blog/developing-tui-music-player-csharp-part-two/index.html (+28ms)
├─ /blog/developing-a-cli-music-player-csharp/index.html (+9ms)
├─ /blog/late-summer-updates/index.html (+5ms)
├─ /blog/making-a-roguelike-in-csharp-with-gorogue-sadconsole-part-two/index.html (+16ms)
├─ /blog/making-a-roguelike-in-csharp-with-gorogue-sadconsole-part-one/index.html (+7ms)
├─ /blog/importance-of-a-good-monitor/index.html (+4ms)
├─ /blog/writing-a-midi-controller-app-part-two/index.html (+6ms)
├─ /blog/writing-a-midi-controller-app-part-one/index.html (+17ms)
├─ /blog/bookmark-dead-link-checker-swift/index.html (+14ms)
├─ /blog/making-best-of-physical-distancing/index.html (+5ms)
└─ /blog/new-website/index.html (+4ms)
Completed in 1.07s.
generating optimized images
free(): invalid size
Aborted (core dumped)
---End of Oryx build logs---
Oryx has failed to build the solution.
For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
Exiting
I can repro this on my local machine now, so closing this as it isn't related to Oryx.
Bug Report
At what date and time did you most recently experience the problem?
January 21, 2024
Where did you experience the problem?
Azure Static Web Apps
Describe the bug
I made a few text changes to a page on my static website yesterday, and each build since that one fails at the following section (see screenshot below for additional context):
The website is running on the Astro Web Framework and had built successfully during my previous commit last month.
Expected behavior The site builds.
Screenshots
The Astro build runs successfully locally with no errors:
My build.yml file:
Any idea what might be going wrong here?