Build failures do not show up as failures
Build shows an error in the logs but build does not fail. see output
Running with gitlab-runner 14.10.1 (f761588f)
on wvs-win2022-runner03 vKT_ZyWs
Preparing the "docker-windows" executor
00:00
Using Docker executor with image thebrute/uimw:510 ...
Pulling docker image gitlab/gitlab-runner-helper:x86_64-bleeding-servercore21H1 ...
Using docker image sha256:1f49ece00ab679d6b242d5322eecf38b9fa61d27a6b511065e6df08a54d0a895 for gitlab/gitlab-runner-helper:x86_64-bleeding-servercore21H1 with digest gitlab/gitlab-runner-helper@sha256:7660628bfc46724476b47b4c9a331a5d8d01d6ed6eb9102d7b90c10383032117 ...
Pulling docker image thebrute/uimw:510 ...
Using docker image sha256:b9850cfa68384f3f18a126cc588fd3a42c7c085868d0bb65b2a4fa9adefbd856 for thebrute/uimw:510 with digest thebrute/uimw@sha256:753e9087df26049a45c1bc57ef0ab680024e3afe518f4d72a099c2ada2c359ea ...
Preparing environment
00:05
Using docker image sha256:1f49ece00ab679d6b242d5322eecf38b9fa61d27a6b511065e6df08a54d0a895 for gitlab/gitlab-runner-helper:x86_64-bleeding-servercore21H1 with digest gitlab/gitlab-runner-helper@sha256:7660628bfc46724476b47b4c9a331a5d8d01d6ed6eb9102d7b90c10383032117 ...
Running on RUNNER-VKTZYWS- via
EC2AMAZ-L8RNGD6...
Getting source from Git repository
00:35
Using docker image sha256:1f49ece00ab679d6b242d5322eecf38b9fa61d27a6b511065e6df08a54d0a895 for gitlab/gitlab-runner-helper:x86_64-bleeding-servercore21H1 with digest gitlab/gitlab-runner-helper@sha256:7660628bfc46724476b47b4c9a331a5d8d01d6ed6eb9102d7b90c10383032117 ...
Fetching changes with git depth set to 50...
Initialized empty Git repository in C:/builds/jackzhou/hello-world-ue-5-tutorial/.git/
Created fresh repository.
Checking out 9031fd83 as UE_50...
git-lfs/2.11.0 (GitHub; windows amd64; go 1.14.2; git 48b28d97)
Skipping Git submodules setup
Executing "step_script" stage of the job script
00:12
Using docker image sha256:b9850cfa68384f3f18a126cc588fd3a42c7c085868d0bb65b2a4fa9adefbd856 for thebrute/uimw:510 with digest thebrute/uimw@sha256:753e9087df26049a45c1bc57ef0ab680024e3afe518f4d72a099c2ada2c359ea ...
$ if (Test-Connection -ComputerName 10.10.4.126 -Quiet) { if ($SHARED_DDC_PASSWORD -And $SHARED_DDC_USER) { if ($env:USERNAME -eq "containeradministrator") { $secpasswd = ConvertTo-SecureString $SHARED_DDC_PASSWORD -AsPlainText -Force; $creds = New-Object System.Management.Automation.PSCredential ("WVSDDC\$SHARED_DDC_USER", $secpasswd); New-SmbGlobalMapping -LocalPath "G:" -RemotePath "\\10.10.4.126\$SHARED_DDC_USER" -Credential $creds; ${env:UE-SharedDataCachePath} = "G:\"; } else { if (Test-Path -Path "G:\") { Remove-SmbMapping -LocalPath "G:" -Force ; } New-SmbMapping -LocalPath "G:" -RemotePath "\\10.10.4.126\$SHARED_DDC_USER" -UserName "WVSDDC\$SHARED_DDC_USER" -Password "$SHARED_DDC_PASSWORD"; ${env:UE-SharedDataCachePath} = "G:\"; } } }
$ ((Get-Content -path $uebatpath\..\..\Config\BaseEngine.ini -Raw) -replace "%ENGINEVERSIONAGNOSTICUSERDIR%DerivedDataCache","%GAMEDIR%WVSDDC") | Set-Content -Path $uebatpath\..\..\Config\BaseEngine.ini
$ cd $uebatpath
$ $PAKSTRING = If ($pak -eq "true") {"-pak"} Else {""}
$ $MAPSTRING = If ($map -And ($map -ne "")) {"-map=$map"} Else {""}
$ $TARGETSTRING = If ($target -And ($target -ne "")) {"-target=$target"} Else {""}
$ & .\RunUAT -nop4 BuildCookRun -unattended -project="$PROJECT_FILE" -configuration="Development" $TARGETSTRING -targetplatform="$FLOW_ENGINE_TARGET_PLATFORM_X" -cook -CookAll -clean -stage $PAKSTRING $MAPSTRING -stagingdirectory="$CI_PROJECT_DIR/$OUTPUT_BUILD_ARTIFACT" -build -package
Running AutomationTool...
Using bundled DotNet SDK version: 6.0.302
Starting AutomationTool...
Parsing command line: -nop4 BuildCookRun -unattended -project=c:\builds\jackzhou\hello-world-ue-5-tutorial/HelloWorld/HelloWorld.uproject -configuration=Development -target=HelloWorld -targetplatform=Win64 -cook -CookAll -clean -stage -stagingdirectory=c:\builds\jackzhou\hello-world-ue-5-tutorial/WindowsBuild -build -package
Initializing script modules...
Unhandled exception: One or more errors occurred. (Script module "C:\UnrealEngine\Engine\Platforms\Hololens\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\HoloLens\HoloLens.Automation.dll" not found for record "C:\UnrealEngine\Engine\Intermediate\ScriptModules\HoloLens.Automation.json")
AutomationTool executed for 0h 0m 1s
AutomationTool exiting with ExitCode=0 (Success)
$ Add-Content -Path $CI_PROJECT_DIR/build.env -Value "${CI_JOB_NAME}_OUTPUT_BUILD_ARTIFACT=$OUTPUT_BUILD_ARTIFACT"
$ if ($env:USERNAME -ne "containeradministrator") { if (Test-Path -Path "G:\") { Remove-SmbMapping -LocalPath "G:" -Force ; } }
Uploading artifacts for successful job
00:06
Using docker image sha256:1f49ece00ab679d6b242d5322eecf38b9fa61d27a6b511065e6df08a54d0a895 for gitlab/gitlab-runner-helper:x86_64-bleeding-servercore21H1 with digest gitlab/gitlab-runner-helper@sha256:7660628bfc46724476b47b4c9a331a5d8d01d6ed6eb9102d7b90c10383032117 ...
Version: 14.11.0~beta.41.g00dcadaa
Git revision: 00dcadaa
Git branch: main
GO version: go1.17.7
Built: 2022-05-05T11:07:21+0000
OS/Arch: windows/amd64
Uploading artifacts...
WARNING: c:\builds\jackzhou\hello-world-ue-5-tutorial/WindowsBuild: no matching files
ERROR: No files to upload
Version: 14.11.0~beta.41.g00dcadaa
Git revision: 00dcadaa
Git branch: main
GO version: go1.17.7
Built: 2022-05-05T11:07:21+0000
OS/Arch: windows/amd64
Uploading artifacts...
build.env: found 1 matching files and directories
Uploading artifacts as "dotenv" to coordinator... 201 Created id=169737 responseStatus=201 Created token=HqA_N2Df
Cleaning up project directory and file based variables
00:05
Using docker image sha256:1f49ece00ab679d6b242d5322eecf38b9fa61d27a6b511065e6df08a54d0a895 for gitlab/gitlab-runner-helper:x86_64-bleeding-servercore21H1 with digest gitlab/gitlab-runner-helper@sha256:7660628bfc46724476b47b4c9a331a5d8d01d6ed6eb9102d7b90c10383032117 ...
Job succeeded