GitTools / GitVersion

From git log to SemVer in no time
https://gitversion.net/docs/
MIT License
2.86k stars 653 forks source link

[ISSUE]: Gitversion failing in teamcity run configuration #4046

Closed DAHPr0gram3r closed 5 months ago

DAHPr0gram3r commented 5 months ago

Prerequisites

GitVersion package

GitVersion.Tool

GitVersion version

5.12.0

Operating system

Linux

What are you seeing?

Gitversion failing due to 11:50:26  LibGit2Sharp.InvalidSpecificationException: the given reference name 'refs/heads/origin/ refs/heads/master' is not valid

What is expected?

Gitversion to succeed

Steps to Reproduce

Attempt to run following teamcity build config on linux runner


package _Self.buildTypes

import jetbrains.buildServer.configs.kotlin.*
import jetbrains.buildServer.configs.kotlin.buildFeatures.dockerSupport
import jetbrains.buildServer.configs.kotlin.buildFeatures.perfmon
import jetbrains.buildServer.configs.kotlin.buildSteps.script
import jetbrains.buildServer.configs.kotlin.triggers.vcs

object VersionGenerate : BuildType({
    name = "Version Generate"

    params {
        param("teamcity.git.fetchAllHeads", "true")
        param("teamcity.git.use.shallow.clone", "false")
    }

    vcs {
        root(HttpsGitlabRyvsrealmDevRrdevMainAPIGitRefsHeadsMaster)

        checkoutMode = CheckoutMode.ON_AGENT
    }
    steps {
        script {
            id = "DockerCommand"
            scriptContent = """
                git status
                git config --global --add safe.directory %teamcity.agent.work.dir%
                /tools/dotnet-gitversion . -output buildserver -overrideconfig mode=Mainline -diag -version
            """.trimIndent()
            dockerImage = "gittools/gitversion:5.12.0-alpine.3.13-6.0"
        }
    }
    triggers {
        vcs {
            branchFilter = "+:master"
        }
    }

    features {
        perfmon {
        }
        dockerSupport {
            loginToRegistry = on {
                dockerRegistryId = "PROJECT_EXT_5"
            }
        }
    }
})

RepositoryFixture Test

No response

Output log or link to your CI build (if appropriate).

Build 'MainAPI / Version Generate' #43, default branch 'master'
Triggered 2024-05-29 11:39:56 by 'Bibby The Nerd (bibby)'
Started 2024-05-29 11:39:57 on agent 'rr-dedi-ubuntu-01'
Finished 2024-05-29 11:40:09 with status FAILURE 'Exit code 1 (Step: Command Line) (new)'
VCS revisions: 'MainAPI_HttpsGitlabRyvsrealmDevRrdevMainAPIGitRefsHeadsMaster' (Git, instance id 6): 'a5f1302f433fd6a57205ece3ff43aaabfab690ca' (branch: 'refs/heads/master')
TeamCity URL https://teamcity.ryvsrealm.dev/buildConfiguration/MainAPI_VersionGenerate/171 
TeamCity server version is 2024.03 (build 156166), server timezone: GMT (UTC)

[11:39:56]E: bt16 (12s)
[11:39:56]i: TeamCity server version is 2024.03 (build 156166)
[11:39:56] : Finalize build settings
[11:39:56] : Collecting changes in 1 VCS root
[11:39:56] :     [Collecting changes in 1 VCS root] VCS Root details
[11:39:56] :         [VCS Root details] "https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master" {instance id=6, parent internal id=13, parent id=MainAPI_HttpsGitlabRyvsrealmDevRrdevMainAPIGitRefsHeadsMaster, description: "https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master"}
[11:39:56]i:     [Collecting changes in 1 VCS root] Loading current repository state for VCS root 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master'
[11:39:56]i:         [Loading current repository state for VCS root 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master'] VCS root 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master': git -c core.askpass=/opt/teamcity/temp/pass5947144145754564302 -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper1291329241264211319.sh ls-remote origin
[11:39:56]i:         [Loading current repository state for VCS root 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master'] VCS root 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master': NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
[11:39:57]i:         [Loading current repository state for VCS root 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master'] VCS root 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master': NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
[11:39:57] :     [Collecting changes in 1 VCS root] Compute revision for 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master'
[11:39:57] :         [Compute revision for 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master'] Upper limit revision: a5f1302f433fd6a57205ece3ff43aaabfab690ca
[11:39:57]i:         [Compute revision for 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master'] MaxModId = null
[11:39:57] :         [Compute revision for 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master'] The latest VCS commit reachable from the a5f1302f433fd6a57205ece3ff43aaabfab690ca is: a5f1302f433fd6a57205ece3ff43aaabfab690ca
[11:39:57] :         [Compute revision for 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master'] Computed revision: a5f1302f433fd6a57205ece3ff43aaabfab690ca
[11:39:57] : The build is removed from the queue to be prepared for the start
[11:39:57] : Starting the build on the agent "rr-dedi-ubuntu-01"
[11:39:57]i: Agent time zone: Europe/London
[11:39:57]i: Agent is running under JRE: 17.0.7+7-LTS
[11:39:57] : Updating tools for build
[11:39:57] :     [Updating tools for build] Tools are not required for the build
[11:39:57] : Clearing temporary directory: /opt/buildagent/temp/buildTmp
[11:39:57]i: Preparing performance monitoring data directory: /opt/buildagent/system/perfmon
[11:39:57]i: Performance monitor is using command line: [perl, /opt/buildagent/system/perfmon/scripts/vmstatlinux.pl, /opt/buildagent/system/perfmon/temp/171/perfmon.csv, 1000]
[11:39:57]i: Starting performance monitoring process
[11:39:57]i: Performance monitoring process started
[11:39:57]i: Container monitor started with command: /bin/sh -c "docker events --format "{{json .}}""
[11:39:58]i: Running login command: `docker login -u "gitlab+deploy-token-6" --password-stdin gitlab.ryvsrealm.dev
[11:39:58] : Publishing internal artifacts
[11:39:58] :     [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[11:39:58] :     [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisherImpl]
[11:39:58]i:     [Publishing internal artifacts] Will publish 1 artifact(s) to TeamCity node with id MAIN_SERVER
[11:39:58] : Using vcs information from agent file: a92ad6fae8285b3b.xml
[11:39:58] : Checkout directory: /opt/buildagent/work/a92ad6fae8285b3b
[11:39:58] : Updating sources: agent side checkout (2s)
[11:39:58] :     [Updating sources] VCS Root: https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master (2s)
[11:39:58] :         [VCS Root: https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master] revision: a5f1302f433fd6a57205ece3ff43aaabfab690ca
[11:39:58]i:         [VCS Root: https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master] Mirrors automatically enabled
[11:39:58] :         [VCS Root: https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master] Git version: 2.43.2.0
[11:39:58] :         [VCS Root: https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master] Update git mirror (/opt/buildagent/system/git/git-AC353CD1.git) (1s)
[11:39:58] :             [Update git mirror (/opt/buildagent/system/git/git-AC353CD1.git)] /usr/bin/git config http.sslCAInfo
[11:39:58] :             [Update git mirror (/opt/buildagent/system/git/git-AC353CD1.git)] /usr/bin/git show-ref
[11:39:58] :             [Update git mirror (/opt/buildagent/system/git/git-AC353CD1.git)] /usr/bin/git -c core.askpass=/opt/buildagent/temp/buildTmp/pass14103800077048968287 -c credential.helper= -c credential.helper=/opt/buildagent/temp/buildTmp/credHelper8087206545075781838.sh ls-remote origin
[11:39:59] :             [Update git mirror (/opt/buildagent/system/git/git-AC353CD1.git)] Forced fetch (teamcity.git.fetchAllHeads=true) with +refs/heads/*:refs/heads/* refspec
[11:39:59] :             [Update git mirror (/opt/buildagent/system/git/git-AC353CD1.git)] /usr/bin/git -c core.askpass=/opt/buildagent/temp/buildTmp/pass8966168586432129457 -c credential.helper= -c credential.helper=/opt/buildagent/temp/buildTmp/credHelper3710908222778523734.sh fetch --progress --recurse-submodules=no origin +refs/heads/*:refs/heads/*
[11:40:00] :                 [/usr/bin/git -c core.askpass=/opt/buildagent/temp/buildTmp/pass8966168586432129457 -c credential.helper= -c credential.helper=/opt/buildagent/temp/buildTmp/credHelper3710908222778523734.sh fetch --progress --recurse-submodules=no origin +refs/heads/*:refs/heads/*] 
[11:40:00] :             [Update git mirror (/opt/buildagent/system/git/git-AC353CD1.git)] /usr/bin/git log -n1 --pretty=format:%H%x20%s a5f1302f433fd6a57205ece3ff43aaabfab690ca --
[11:40:00] :             [Update git mirror (/opt/buildagent/system/git/git-AC353CD1.git)] /usr/bin/git pack-refs --all
[11:40:00] :         [VCS Root: https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git#refs/heads/master] Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)
[11:40:00] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] /usr/bin/git rev-parse --is-shallow-repository
[11:40:00] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] /usr/bin/git config lfs.storage /opt/buildagent/system/git/git-AC353CD1.git/lfs
[11:40:00] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] /usr/bin/git config core.sparseCheckout true
[11:40:00] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] /usr/bin/git config http.sslCAInfo
[11:40:00] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] /usr/bin/git show-ref
[11:40:00] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] Forced fetch (teamcity.git.fetchAllHeads=true) with +refs/heads/*:refs/remotes/origin/* refspec
[11:40:00] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] /usr/bin/git -c core.askpass=/opt/buildagent/temp/buildTmp/pass2206931432988402743 -c credential.helper= -c credential.helper=/opt/buildagent/temp/buildTmp/credHelper1425562770966711057.sh fetch --progress --recurse-submodules=no origin +refs/heads/*:refs/remotes/origin/*
[11:40:01] :                 [/usr/bin/git -c core.askpass=/opt/buildagent/temp/buildTmp/pass2206931432988402743 -c credential.helper= -c credential.helper=/opt/buildagent/temp/buildTmp/credHelper1425562770966711057.sh fetch --progress --recurse-submodules=no origin +refs/heads/*:refs/remotes/origin/*] 
[11:40:01] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] /usr/bin/git log -n1 --pretty=format:%H%x20%s a5f1302f433fd6a57205ece3ff43aaabfab690ca --
[11:40:01] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] /usr/bin/git branch
[11:40:01] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] /usr/bin/git -c core.askpass=/opt/buildagent/temp/buildTmp/pass13341824352983218473 -c credential.helper= -c credential.helper=/opt/buildagent/temp/buildTmp/credHelper2605295266038991694.sh reset --hard a5f1302f433fd6a57205ece3ff43aaabfab690ca
[11:40:01] :             [Update checkout directory (/opt/buildagent/work/a92ad6fae8285b3b)] /usr/bin/git branch --set-upstream-to=refs/remotes/origin/master
[11:40:01] : Build preparation done
[11:40:01] : Step 1/2: Version Generate
[11:40:01] :     [Step 1/2] Disabled build step Version Generate is skipped
[11:40:01]E: Step 2/2: Command Line (3s)
[11:40:01]i:     [Step 2/2] Docker wrapper: setting permissions for '/opt/buildagent/temp/buildTmp' and '/opt/buildagent/work/a92ad6fae8285b3b' to 1777
[11:40:01] :     [Step 2/2] Running step within container gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0
[11:40:01]i:     [Step 2/2] Container wrapper: prepare reusable container
[11:40:01]i:         [Container wrapper: prepare reusable container] Environment variable values which include following directories will be updated:
/opt/buildagent/lib => /opt/buildagent/lib
/opt/buildagent/tools => /opt/buildagent/tools
/opt/buildagent/plugins => /opt/buildagent/plugins
/opt/buildagent/work/a92ad6fae8285b3b => /opt/buildagent/work/a92ad6fae8285b3b
/opt/buildagent/temp/agentTmp => /opt/buildagent/temp/agentTmp
/opt/buildagent/temp/buildTmp => /opt/buildagent/temp/buildTmp
/opt/buildagent/system => /opt/buildagent/system
[11:40:01]i:         [Container wrapper: prepare reusable container] Container environment source: 
export BUILD_VCS_NUMBER_MainAPI_HttpsGitlabRyvsrealmDevRrdevMainAPIGitRefsHeadsMaster="a5f1302f433fd6a57205ece3ff43aaabfab690ca"
export TEAMCITY_VERSION="2024.03 (build 156166)"
export DOCKER_IN_DOCKER="start"
export BUILD_VCS_NUMBER="a5f1302f433fd6a57205ece3ff43aaabfab690ca"
export TEAMCITY_BUILDCONF_NAME="Version Generate"
export TEAMCITY_BUILD_PROPERTIES_FILE="/opt/buildagent/temp/buildTmp/teamcity.build.parameters"
export TMPDIR="/opt/buildagent/temp/buildTmp"
export TEAMCITY_PROJECT_NAME="MainAPI"
export UID="1000"
export TEMP="/opt/buildagent/temp/buildTmp"
export BUILD_NUMBER="43"
export DATABASE_URL="postgresql://BibbyDev:8z^9U!@*2jskbK7@e*dFx39EfcJtr6JW%v8kiNz6CFii\$@100.77.132.134:5435/MainAPI?schema=public"
export Git_Branch=" refs/heads/master"
export BUILD_URL="https://teamcity.ryvsrealm.dev/build/171"
export TMP="/opt/buildagent/temp/buildTmp"
export TEAMCITY_CAPTURE_ENV="\"/opt/java/openjdk/bin/java\" -jar \"/opt/buildagent/plugins/environment-fetcher/lib/environment-fetcher-bin-2024.03-156166-jar-with-dependencies.jar\""

[11:40:01]i:         [Container wrapper: prepare reusable container] Container environment (--env-file): 
BUILD_VCS_NUMBER_MainAPI_HttpsGitlabRyvsrealmDevRrdevMainAPIGitRefsHeadsMaster
DOCKER_IN_DOCKER
TEAMCITY_VERSION
BUILD_VCS_NUMBER
TEAMCITY_BUILDCONF_NAME
TEAMCITY_BUILD_PROPERTIES_FILE
TMPDIR
TEAMCITY_PROJECT_NAME
UID
BUILD_NUMBER
DATABASE_URL
TEMP
Git_Branch
BUILD_URL
TMP
TEAMCITY_CAPTURE_ENV

[11:40:01] :         [Container wrapper: prepare reusable container] Starting: . /opt/buildagent/temp/agentTmp/docker-wrapper-9093295830287377526.sh && docker run --rm -w /opt/buildagent/work/a92ad6fae8285b3b --label jetbrains.teamcity.buildId=171 -id -v "/opt/buildagent/lib:/opt/buildagent/lib:ro" -v "/opt/buildagent/tools:/opt/buildagent/tools:ro" -v "/opt/buildagent/plugins:/opt/buildagent/plugins:ro" -v "/opt/buildagent/work/a92ad6fae8285b3b:/opt/buildagent/work/a92ad6fae8285b3b" -v "/opt/buildagent/temp/agentTmp:/opt/buildagent/temp/agentTmp" -v "/opt/buildagent/temp/buildTmp:/opt/buildagent/temp/buildTmp" -v "/opt/buildagent/system:/opt/buildagent/system" --env-file /opt/buildagent/temp/agentTmp/docker-wrapper-16993869431254775931.envList --entrypoint /bin/sh "gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0"
[11:40:01]i:         [Container wrapper: prepare reusable container] Container event: {"status":"create","id":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","from":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","Type":"container","Action":"create","Actor":{"ID":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","Attributes":{"image":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","jetbrains.teamcity.buildId":"171","maintainers":"GitTools Maintainers","name":"jovial_napier","org.opencontainers.image.authors":"GitTools Maintainers","org.opencontainers.image.base.name":"docker.io/gittools/build-images:alpine.3.17-runtime-7.0-amd64","org.opencontainers.image.created":"2024-05-23T09:54:14.9701631Z","org.opencontainers.image.description":"GitVersion images (alpine.3.17-6.0.0-rc.1-7.0-amd64)","org.opencontainers.image.documentation":"https://gitversion.net/docs/usage/docker","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.revision":"0452c2e74f50ec6c68abafcd589690394a383153","org.opencontainers.image.source":"https://github.com/GitTools/GitVersion/blob/0452c2e74f50ec6c68abafcd589690394a383153/build/docker/Dockerfile","org.opencontainers.image.vendor":"GitTools","org.opencontainers.image.version":"6.0.0-rc.1"}},"scope":"local","time":1716982801,"timeNano":1716982801476479606}
[11:40:01]i:         [Container wrapper: prepare reusable container] Container event: {"status":"start","id":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","from":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","Type":"container","Action":"start","Actor":{"ID":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","Attributes":{"image":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","jetbrains.teamcity.buildId":"171","maintainers":"GitTools Maintainers","name":"jovial_napier","org.opencontainers.image.authors":"GitTools Maintainers","org.opencontainers.image.base.name":"docker.io/gittools/build-images:alpine.3.17-runtime-7.0-amd64","org.opencontainers.image.created":"2024-05-23T09:54:14.9701631Z","org.opencontainers.image.description":"GitVersion images (alpine.3.17-6.0.0-rc.1-7.0-amd64)","org.opencontainers.image.documentation":"https://gitversion.net/docs/usage/docker","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.revision":"0452c2e74f50ec6c68abafcd589690394a383153","org.opencontainers.image.source":"https://github.com/GitTools/GitVersion/blob/0452c2e74f50ec6c68abafcd589690394a383153/build/docker/Dockerfile","org.opencontainers.image.vendor":"GitTools","org.opencontainers.image.version":"6.0.0-rc.1"}},"scope":"local","time":1716982801,"timeNano":1716982801813816165}
[11:40:01] :         [Container wrapper: prepare reusable container] Process exited with code 0
[11:40:01] :         [Container wrapper: prepare reusable container] Successfully created a reusable container, container id = 4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78
[11:40:01]i:     [Step 2/2] Content of /opt/buildagent/temp/agentTmp/custom_script2836021911810824865 file: 
git status
/tools/dotnet-gitversion . -output buildserver -overrideconfig mode=Mainline -diag

[11:40:01]i:     [Step 2/2] Container wrapper: exec settings
[11:40:01]i:         [Container wrapper: exec settings] Environment variable values which include following directories will be updated:
/opt/buildagent/lib => /opt/buildagent/lib
/opt/buildagent/tools => /opt/buildagent/tools
/opt/buildagent/plugins => /opt/buildagent/plugins
/opt/buildagent/work/a92ad6fae8285b3b => /opt/buildagent/work/a92ad6fae8285b3b
/opt/buildagent/temp/agentTmp => /opt/buildagent/temp/agentTmp
/opt/buildagent/temp/buildTmp => /opt/buildagent/temp/buildTmp
/opt/buildagent/system => /opt/buildagent/system
[11:40:01]i:         [Container wrapper: exec settings] Container environment source: 
export BUILD_VCS_NUMBER_MainAPI_HttpsGitlabRyvsrealmDevRrdevMainAPIGitRefsHeadsMaster="a5f1302f433fd6a57205ece3ff43aaabfab690ca"
export TEAMCITY_VERSION="2024.03 (build 156166)"
export DOCKER_IN_DOCKER="start"
export BUILD_VCS_NUMBER="a5f1302f433fd6a57205ece3ff43aaabfab690ca"
export TEAMCITY_BUILD_PROPERTIES_FILE="/opt/buildagent/temp/buildTmp/teamcity.build.parameters"
export TEAMCITY_BUILDCONF_NAME="Version Generate"
export TMPDIR="/opt/buildagent/temp/buildTmp"
export UID="1000"
export TEAMCITY_PROJECT_NAME="MainAPI"
export DATABASE_URL="postgresql://BibbyDev:8z^9U!@*2jskbK7@e*dFx39EfcJtr6JW%v8kiNz6CFii\$@100.77.132.134:5435/MainAPI?schema=public"
export TEMP="/opt/buildagent/temp/buildTmp"
export Git_Branch=" refs/heads/master"
export BUILD_NUMBER="43"
export BUILD_URL="https://teamcity.ryvsrealm.dev/build/171"
export TMP="/opt/buildagent/temp/buildTmp"
export TEAMCITY_PROCESS_PARENT_FLOW_ID=""
export TEAMCITY_CAPTURE_ENV="\"/opt/java/openjdk/bin/java\" -jar \"/opt/buildagent/plugins/environment-fetcher/lib/environment-fetcher-bin-2024.03-156166-jar-with-dependencies.jar\""
export TEAMCITY_PROCESS_FLOW_ID="2462727656381551"

[11:40:01]i:         [Container wrapper: exec settings] Container exec parameters: 
docker exec -w /opt/buildagent/work/a92ad6fae8285b3b 4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78 /bin/sh -c
[11:40:01]i:         [Container wrapper: exec settings] Container script (to be run inside container):
#!/bin/sh
# Created by TeamCity docker plugin

export BUILD_VCS_NUMBER_MainAPI_HttpsGitlabRyvsrealmDevRrdevMainAPIGitRefsHeadsMaster="a5f1302f433fd6a57205ece3ff43aaabfab690ca"
export DOCKER_IN_DOCKER="start"
export TEAMCITY_VERSION="2024.03 (build 156166)"
export BUILD_VCS_NUMBER="a5f1302f433fd6a57205ece3ff43aaabfab690ca"
export TEAMCITY_BUILDCONF_NAME="Version Generate"
export TEAMCITY_BUILD_PROPERTIES_FILE="/opt/buildagent/temp/buildTmp/teamcity.build.parameters"
export TMPDIR="/opt/buildagent/temp/buildTmp"
export UID="1000"
export TEAMCITY_PROJECT_NAME="MainAPI"
export Git_Branch=" refs/heads/master"
export BUILD_NUMBER="43"
export TEMP="/opt/buildagent/temp/buildTmp"
export DATABASE_URL="postgresql://BibbyDev:8z^9U!@*2jskbK7@e*dFx39EfcJtr6JW%v8kiNz6CFii\$@100.77.132.134:5435/MainAPI?schema=public"
export BUILD_URL="https://teamcity.ryvsrealm.dev/build/171"
export TMP="/opt/buildagent/temp/buildTmp"
export TEAMCITY_PROCESS_PARENT_FLOW_ID=""
export TEAMCITY_CAPTURE_ENV="\"/opt/java/openjdk/bin/java\" -jar \"/opt/buildagent/plugins/environment-fetcher/lib/environment-fetcher-bin-2024.03-156166-jar-with-dependencies.jar\""
export TEAMCITY_PROCESS_FLOW_ID="2462727656381551"

/opt/buildagent/temp/agentTmp/custom_script2836021911810824865

[11:40:01] :     [Step 2/2] Starting: /bin/sh -c . /opt/buildagent/temp/agentTmp/docker-wrapper-12781228767966507463.sh && docker exec -w /opt/buildagent/work/a92ad6fae8285b3b 4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78 /bin/sh -c /opt/buildagent/temp/agentTmp/docker-shell-script-10914272138905174920.sh
[11:40:01] :     [Step 2/2] in directory: /opt/buildagent/work/a92ad6fae8285b3b
[11:40:01]i:     [Step 2/2] Container event: {"status":"exec_create: /bin/sh -c /opt/buildagent/temp/agentTmp/docker-shell-script-10914272138905174920.sh","id":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","from":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","Type":"container","Action":"exec_create: /bin/sh -c /opt/buildagent/temp/agentTmp/docker-shell-script-10914272138905174920.sh","Actor":{"ID":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","Attributes":{"execID":"069344ea140c11ed5ef9491efcfebbad7aca9a4960a203a929b97d3481f86ac4","image":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","jetbrains.teamcity.buildId":"171","maintainers":"GitTools Maintainers","name":"jovial_napier","org.opencontainers.image.authors":"GitTools Maintainers","org.opencontainers.image.base.name":"docker.io/gittools/build-images:alpine.3.17-runtime-7.0-amd64","org.opencontainers.image.created":"2024-05-23T09:54:14.9701631Z","org.opencontainers.image.description":"GitVersion images (alpine.3.17-6.0.0-rc.1-7.0-amd64)","org.opencontainers.image.documentation":"https://gitversion.net/docs/usage/docker","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.revision":"0452c2e74f50ec6c68abafcd589690394a383153","org.opencontainers.image.source":"https://github.com/GitTools/GitVersion/blob/0452c2e74f50ec6c68abafcd589690394a383153/build/docker/Dockerfile","org.opencontainers.image.vendor":"GitTools","org.opencontainers.image.version":"6.0.0-rc.1"}},"scope":"local","time":1716982801,"timeNano":1716982801984269277}
[11:40:01]i:     [Step 2/2] Container event: {"status":"exec_start: /bin/sh -c /opt/buildagent/temp/agentTmp/docker-shell-script-10914272138905174920.sh","id":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","from":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","Type":"container","Action":"exec_start: /bin/sh -c /opt/buildagent/temp/agentTmp/docker-shell-script-10914272138905174920.sh","Actor":{"ID":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","Attributes":{"execID":"069344ea140c11ed5ef9491efcfebbad7aca9a4960a203a929b97d3481f86ac4","image":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","jetbrains.teamcity.buildId":"171","maintainers":"GitTools Maintainers","name":"jovial_napier","org.opencontainers.image.authors":"GitTools Maintainers","org.opencontainers.image.base.name":"docker.io/gittools/build-images:alpine.3.17-runtime-7.0-amd64","org.opencontainers.image.created":"2024-05-23T09:54:14.9701631Z","org.opencontainers.image.description":"GitVersion images (alpine.3.17-6.0.0-rc.1-7.0-amd64)","org.opencontainers.image.documentation":"https://gitversion.net/docs/usage/docker","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.revision":"0452c2e74f50ec6c68abafcd589690394a383153","org.opencontainers.image.source":"https://github.com/GitTools/GitVersion/blob/0452c2e74f50ec6c68abafcd589690394a383153/build/docker/Dockerfile","org.opencontainers.image.vendor":"GitTools","org.opencontainers.image.version":"6.0.0-rc.1"}},"scope":"local","time":1716982801,"timeNano":1716982801985097822}
[11:40:02] :     [Step 2/2] On branch master
[11:40:02] :     [Step 2/2] Your branch is up to date with 'origin/master'.
[11:40:02] :     [Step 2/2] 
[11:40:02] :     [Step 2/2] You are in a sparse checkout with 100% of tracked files present.
[11:40:02] :     [Step 2/2] 
[11:40:02] :     [Step 2/2] nothing to commit, working tree clean
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:59] Dumping commit graph: 
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:71] * a5f1302 16 hours ago  (HEAD -> master, origin/master)
[11:40:02] :     [Step 2/2] * 9a1133e 2 days ago 
[11:40:02] :     [Step 2/2] * 02b8787 2 days ago 
[11:40:02] :     [Step 2/2] * 139f3ac 2 days ago 
[11:40:02] :     [Step 2/2] * 3f3dbbc 2 days ago 
[11:40:02] :     [Step 2/2] 
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:71] Working directory: .
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:72] Project root is: /opt/buildagent/work/a92ad6fae8285b3b/
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:72] DotGit directory is: /opt/buildagent/work/a92ad6fae8285b3b/.git
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:72] Branch from build environment:  refs/heads/master
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:72] -< Begin: Normalizing git directory for branch ' refs/heads/master' >-
[11:40:02] :     [Step 2/2]   INFO [24-05-29 11:40:02:79] One remote found (origin -> 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git').
[11:40:02] :     [Step 2/2]   INFO [24-05-29 11:40:02:79] Skipping fetching, if GitVersion does not calculate your version as expected you might need to allow fetching or use dynamic repositories
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:81] -< End: Normalizing git directory for branch ' refs/heads/master' (Took: 86.44ms) >-
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:83] Attempting to show the current git graph (please include in issue): 
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:83] Showing max of 100 commits
[11:40:02]W:     [Step 2/2] ERROR [24-05-29 11:40:02:83] An unexpected error occurred:
[11:40:02]W:     [Step 2/2] LibGit2Sharp.InvalidSpecificationException: the given reference name 'refs/heads/origin/ refs/heads/master' is not valid
[11:40:02]W:     [Step 2/2]    at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 154
[11:40:02]W:     [Step 2/2]    at LibGit2Sharp.Core.Ensure.ZeroResult(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 172
[11:40:02]W:     [Step 2/2]    at LibGit2Sharp.Core.Proxy.git_reference_lookup(RepositoryHandle repo, String name, Boolean shouldThrowIfNotFound) in /_/LibGit2Sharp/Core/Proxy.cs:line 1953
[11:40:02]W:     [Step 2/2]    at LibGit2Sharp.ReferenceCollection.RetrieveReferencePtr(String referenceName, Boolean shouldThrowIfNotFound) in /_/LibGit2Sharp/ReferenceCollection.cs:line 676
[11:40:02]W:     [Step 2/2]    at LibGit2Sharp.ReferenceCollection.Resolve[T](String name) in /_/LibGit2Sharp/ReferenceCollection.cs:line 441
[11:40:02]W:     [Step 2/2]    at LibGit2Sharp.BranchCollection.BuildFromReferenceName(String canonicalName) in /_/LibGit2Sharp/BranchCollection.cs:line 82
[11:40:02]W:     [Step 2/2]    at LibGit2Sharp.BranchCollection.get_Item(String name) in /_/LibGit2Sharp/BranchCollection.cs:line 49
[11:40:02]W:     [Step 2/2]    at GitVersion.Git.BranchCollection.get_Item(String name) in /_/src/GitVersion.LibGit2Sharp/Git/BranchCollection.cs:line 23
[11:40:02]W:     [Step 2/2]    at GitVersion.GitPreparer.EnsureLocalBranchExistsForCurrentBranch(IRemote remote, String currentBranch) in /_/src/GitVersion.Core/Core/GitPreparer.cs:line 380
[11:40:02]W:     [Step 2/2]    at GitVersion.GitPreparer.NormalizeGitDirectory(Boolean noFetch, String currentBranchName, Boolean isDynamicRepository) in /_/src/GitVersion.Core/Core/GitPreparer.cs:line 160
[11:40:02]W:     [Step 2/2]    at GitVersion.GitPreparer.NormalizeGitDirectory(String targetBranch, Boolean isDynamicRepository) in /_/src/GitVersion.Core/Core/GitPreparer.cs:line 131
[11:40:02]W:     [Step 2/2]    at GitVersion.GitPreparer.PrepareInternal(GitVersionOptions gitVersionOptions) in /_/src/GitVersion.Core/Core/GitPreparer.cs:line 66
[11:40:02]W:     [Step 2/2]    at GitVersion.GitPreparer.Prepare() in /_/src/GitVersion.Core/Core/GitPreparer.cs:line 45
[11:40:02]W:     [Step 2/2]    at GitVersion.GitVersionCalculateTool.CalculateVersionVariables() in /_/src/GitVersion.Core/Core/GitVersionCalculateTool.cs:line 35
[11:40:02]W:     [Step 2/2]    at GitVersion.GitVersionExecutor.RunGitVersionTool(GitVersionOptions gitVersionOptions) in /_/src/GitVersion.App/GitVersionExecutor.cs:line 62
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:85] * a5f1302 16 hours ago  (HEAD -> master, origin/master)
[11:40:02] :     [Step 2/2] * 9a1133e 2 days ago 
[11:40:02] :     [Step 2/2] * 02b8787 2 days ago 
[11:40:02] :     [Step 2/2] * 139f3ac 2 days ago 
[11:40:02] :     [Step 2/2] * 3f3dbbc 2 days ago 
[11:40:02] :     [Step 2/2] 
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:44] Applicable build agent found: 'TeamCity'.
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:59] Dumping commit graph: 
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:71] * a5f1302 16 hours ago  (HEAD -> master, origin/master)
[11:40:02] :     [Step 2/2] * 9a1133e 2 days ago 
[11:40:02] :     [Step 2/2] * 02b8787 2 days ago 
[11:40:02] :     [Step 2/2] * 139f3ac 2 days ago 
[11:40:02] :     [Step 2/2] * 3f3dbbc 2 days ago 
[11:40:02] :     [Step 2/2] 
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:71] Working directory: .
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:72] Project root is: /opt/buildagent/work/a92ad6fae8285b3b/
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:72] DotGit directory is: /opt/buildagent/work/a92ad6fae8285b3b/.git
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:72] Branch from build environment:  refs/heads/master
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:72] -< Begin: Normalizing git directory for branch ' refs/heads/master' >-
[11:40:02] :     [Step 2/2]   INFO [24-05-29 11:40:02:79] One remote found (origin -> 'https://gitlab.ryvsrealm.dev/rrdev/MainAPI.git').
[11:40:02] :     [Step 2/2]   INFO [24-05-29 11:40:02:79] Skipping fetching, if GitVersion does not calculate your version as expected you might need to allow fetching or use dynamic repositories
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:81] -< End: Normalizing git directory for branch ' refs/heads/master' (Took: 86.44ms) >-
[11:40:02] :     [Step 2/2] ERROR [24-05-29 11:40:02:83] An unexpected error occurred:
[11:40:02] :     [Step 2/2] LibGit2Sharp.InvalidSpecificationException: the given reference name 'refs/heads/origin/ refs/heads/master' is not valid
[11:40:02] :     [Step 2/2]    at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 154
[11:40:02] :     [Step 2/2]    at LibGit2Sharp.Core.Ensure.ZeroResult(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 172
[11:40:02] :     [Step 2/2]    at LibGit2Sharp.Core.Proxy.git_reference_lookup(RepositoryHandle repo, String name, Boolean shouldThrowIfNotFound) in /_/LibGit2Sharp/Core/Proxy.cs:line 1953
[11:40:02] :     [Step 2/2]    at LibGit2Sharp.ReferenceCollection.RetrieveReferencePtr(String referenceName, Boolean shouldThrowIfNotFound) in /_/LibGit2Sharp/ReferenceCollection.cs:line 676
[11:40:02] :     [Step 2/2]    at LibGit2Sharp.ReferenceCollection.Resolve[T](String name) in /_/LibGit2Sharp/ReferenceCollection.cs:line 441
[11:40:02] :     [Step 2/2]    at LibGit2Sharp.BranchCollection.BuildFromReferenceName(String canonicalName) in /_/LibGit2Sharp/BranchCollection.cs:line 82
[11:40:02] :     [Step 2/2]    at LibGit2Sharp.BranchCollection.get_Item(String name) in /_/LibGit2Sharp/BranchCollection.cs:line 49
[11:40:02] :     [Step 2/2]    at GitVersion.Git.BranchCollection.get_Item(String name) in /_/src/GitVersion.LibGit2Sharp/Git/BranchCollection.cs:line 23
[11:40:02] :     [Step 2/2]    at GitVersion.GitPreparer.EnsureLocalBranchExistsForCurrentBranch(IRemote remote, String currentBranch) in /_/src/GitVersion.Core/Core/GitPreparer.cs:line 380
[11:40:02] :     [Step 2/2]    at GitVersion.GitPreparer.NormalizeGitDirectory(Boolean noFetch, String currentBranchName, Boolean isDynamicRepository) in /_/src/GitVersion.Core/Core/GitPreparer.cs:line 160
[11:40:02] :     [Step 2/2]    at GitVersion.GitPreparer.NormalizeGitDirectory(String targetBranch, Boolean isDynamicRepository) in /_/src/GitVersion.Core/Core/GitPreparer.cs:line 131
[11:40:02] :     [Step 2/2]    at GitVersion.GitPreparer.PrepareInternal(GitVersionOptions gitVersionOptions) in /_/src/GitVersion.Core/Core/GitPreparer.cs:line 66
[11:40:02] :     [Step 2/2]    at GitVersion.GitPreparer.Prepare() in /_/src/GitVersion.Core/Core/GitPreparer.cs:line 45
[11:40:02] :     [Step 2/2]    at GitVersion.GitVersionCalculateTool.CalculateVersionVariables() in /_/src/GitVersion.Core/Core/GitVersionCalculateTool.cs:line 35
[11:40:02] :     [Step 2/2]    at GitVersion.GitVersionExecutor.RunGitVersionTool(GitVersionOptions gitVersionOptions) in /_/src/GitVersion.App/GitVersionExecutor.cs:line 62
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:83] Attempting to show the current git graph (please include in issue): 
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:83] Showing max of 100 commits
[11:40:02] :     [Step 2/2] INFO [24-05-29 11:40:02:85] * a5f1302 16 hours ago  (HEAD -> master, origin/master)
[11:40:02] :     [Step 2/2] * 9a1133e 2 days ago 
[11:40:02] :     [Step 2/2] * 02b8787 2 days ago 
[11:40:02] :     [Step 2/2] * 139f3ac 2 days ago 
[11:40:02] :     [Step 2/2] * 3f3dbbc 2 days ago 
[11:40:02] :     [Step 2/2] 
[11:40:02]i:     [Step 2/2] Container event: {"status":"exec_die","id":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","from":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","Type":"container","Action":"exec_die","Actor":{"ID":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","Attributes":{"execID":"069344ea140c11ed5ef9491efcfebbad7aca9a4960a203a929b97d3481f86ac4","exitCode":"1","image":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","jetbrains.teamcity.buildId":"171","maintainers":"GitTools Maintainers","name":"jovial_napier","org.opencontainers.image.authors":"GitTools Maintainers","org.opencontainers.image.base.name":"docker.io/gittools/build-images:alpine.3.17-runtime-7.0-amd64","org.opencontainers.image.created":"2024-05-23T09:54:14.9701631Z","org.opencontainers.image.description":"GitVersion images (alpine.3.17-6.0.0-rc.1-7.0-amd64)","org.opencontainers.image.documentation":"https://gitversion.net/docs/usage/docker","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.revision":"0452c2e74f50ec6c68abafcd589690394a383153","org.opencontainers.image.source":"https://github.com/GitTools/GitVersion/blob/0452c2e74f50ec6c68abafcd589690394a383153/build/docker/Dockerfile","org.opencontainers.image.vendor":"GitTools","org.opencontainers.image.version":"6.0.0-rc.1"}},"scope":"local","time":1716982802,"timeNano":1716982802896660450}
[11:40:02]W:     [Step 2/2] Process exited with code 1
[11:40:02]E:     [Step 2/2] Process exited with code 1 (Step: Command Line)
[11:40:02]i:     [Step 2/2] Container wrapper: killing reusable container 4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78
[11:40:02]i:     [Step 2/2] Container event: {"status":"kill","id":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","from":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","Type":"container","Action":"kill","Actor":{"ID":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","Attributes":{"image":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","jetbrains.teamcity.buildId":"171","maintainers":"GitTools Maintainers","name":"jovial_napier","org.opencontainers.image.authors":"GitTools Maintainers","org.opencontainers.image.base.name":"docker.io/gittools/build-images:alpine.3.17-runtime-7.0-amd64","org.opencontainers.image.created":"2024-05-23T09:54:14.9701631Z","org.opencontainers.image.description":"GitVersion images (alpine.3.17-6.0.0-rc.1-7.0-amd64)","org.opencontainers.image.documentation":"https://gitversion.net/docs/usage/docker","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.revision":"0452c2e74f50ec6c68abafcd589690394a383153","org.opencontainers.image.source":"https://github.com/GitTools/GitVersion/blob/0452c2e74f50ec6c68abafcd589690394a383153/build/docker/Dockerfile","org.opencontainers.image.vendor":"GitTools","org.opencontainers.image.version":"6.0.0-rc.1","signal":"9"}},"scope":"local","time":1716982802,"timeNano":1716982802971614929}
[11:40:03]i:     [Step 2/2] Container event: {"status":"die","id":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","from":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","Type":"container","Action":"die","Actor":{"ID":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","Attributes":{"execDuration":"1","exitCode":"137","image":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","jetbrains.teamcity.buildId":"171","maintainers":"GitTools Maintainers","name":"jovial_napier","org.opencontainers.image.authors":"GitTools Maintainers","org.opencontainers.image.base.name":"docker.io/gittools/build-images:alpine.3.17-runtime-7.0-amd64","org.opencontainers.image.created":"2024-05-23T09:54:14.9701631Z","org.opencontainers.image.description":"GitVersion images (alpine.3.17-6.0.0-rc.1-7.0-amd64)","org.opencontainers.image.documentation":"https://gitversion.net/docs/usage/docker","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.revision":"0452c2e74f50ec6c68abafcd589690394a383153","org.opencontainers.image.source":"https://github.com/GitTools/GitVersion/blob/0452c2e74f50ec6c68abafcd589690394a383153/build/docker/Dockerfile","org.opencontainers.image.vendor":"GitTools","org.opencontainers.image.version":"6.0.0-rc.1"}},"scope":"local","time":1716982803,"timeNano":1716982803233601630}
[11:40:03]i:     [Step 2/2] Container event: {"status":"destroy","id":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","from":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","Type":"container","Action":"destroy","Actor":{"ID":"4d7fa0b25acbb9a5ea57c390f85521a2e7f12bab8b14bc69ab81894baa9fba78","Attributes":{"image":"gitlab.ryvsrealm.dev/rrdev/dependency_proxy/containers/gittools/gitversion:6.0.0-alpine.3.17-7.0","jetbrains.teamcity.buildId":"171","maintainers":"GitTools Maintainers","name":"jovial_napier","org.opencontainers.image.authors":"GitTools Maintainers","org.opencontainers.image.base.name":"docker.io/gittools/build-images:alpine.3.17-runtime-7.0-amd64","org.opencontainers.image.created":"2024-05-23T09:54:14.9701631Z","org.opencontainers.image.description":"GitVersion images (alpine.3.17-6.0.0-rc.1-7.0-amd64)","org.opencontainers.image.documentation":"https://gitversion.net/docs/usage/docker","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.revision":"0452c2e74f50ec6c68abafcd589690394a383153","org.opencontainers.image.source":"https://github.com/GitTools/GitVersion/blob/0452c2e74f50ec6c68abafcd589690394a383153/build/docker/Dockerfile","org.opencontainers.image.vendor":"GitTools","org.opencontainers.image.version":"6.0.0-rc.1"}},"scope":"local","time":1716982803,"timeNano":1716982803242822288}
[11:40:03]i:     [Step 2/2] Docker wrapper: restore directory ownership (1s)
[11:40:03]i:         [Docker wrapper: restore directory ownership] Set ownership to 1000/1000 for "/opt/buildagent/work/a92ad6fae8285b3b" "/opt/buildagent/temp/agentTmp" "/opt/buildagent/temp/buildTmp" "/opt/buildagent/system" 
[11:40:03]i:         [Docker wrapper: restore directory ownership] Container event: {"status":"create","id":"8c3b3e4d5d29d3e6fda74584b6b486dfdefdb18ce709c5c85e3d98218790c580","from":"busybox","Type":"container","Action":"create","Actor":{"ID":"8c3b3e4d5d29d3e6fda74584b6b486dfdefdb18ce709c5c85e3d98218790c580","Attributes":{"image":"busybox","name":"sad_kapitsa"}},"scope":"local","time":1716982803,"timeNano":1716982803350238754}
[11:40:03]i:         [Docker wrapper: restore directory ownership] Container event: {"status":"attach","id":"8c3b3e4d5d29d3e6fda74584b6b486dfdefdb18ce709c5c85e3d98218790c580","from":"busybox","Type":"container","Action":"attach","Actor":{"ID":"8c3b3e4d5d29d3e6fda74584b6b486dfdefdb18ce709c5c85e3d98218790c580","Attributes":{"image":"busybox","name":"sad_kapitsa"}},"scope":"local","time":1716982803,"timeNano":1716982803353346661}
[11:40:03]i:         [Docker wrapper: restore directory ownership] Container event: {"status":"start","id":"8c3b3e4d5d29d3e6fda74584b6b486dfdefdb18ce709c5c85e3d98218790c580","from":"busybox","Type":"container","Action":"start","Actor":{"ID":"8c3b3e4d5d29d3e6fda74584b6b486dfdefdb18ce709c5c85e3d98218790c580","Attributes":{"image":"busybox","name":"sad_kapitsa"}},"scope":"local","time":1716982803,"timeNano":1716982803719713773}
[11:40:04]i:         [Docker wrapper: restore directory ownership] Container event: {"status":"die","id":"8c3b3e4d5d29d3e6fda74584b6b486dfdefdb18ce709c5c85e3d98218790c580","from":"busybox","Type":"container","Action":"die","Actor":{"ID":"8c3b3e4d5d29d3e6fda74584b6b486dfdefdb18ce709c5c85e3d98218790c580","Attributes":{"execDuration":"0","exitCode":"0","image":"busybox","name":"sad_kapitsa"}},"scope":"local","time":1716982804,"timeNano":1716982804431697878}
[11:40:04]i:         [Docker wrapper: restore directory ownership] Container event: {"status":"destroy","id":"8c3b3e4d5d29d3e6fda74584b6b486dfdefdb18ce709c5c85e3d98218790c580","from":"busybox","Type":"container","Action":"destroy","Actor":{"ID":"8c3b3e4d5d29d3e6fda74584b6b486dfdefdb18ce709c5c85e3d98218790c580","Attributes":{"image":"busybox","name":"sad_kapitsa"}},"scope":"local","time":1716982804,"timeNano":1716982804440466399}
[11:40:04]E:     [Step 2/2] Step Command Line failed
[11:40:04]i: Stopping performance monitoring process
[11:40:07]i: Performance monitoring process stopped
[11:40:07]i: Publishing performance monitoring build stages data
[11:40:07] : Publishing artifacts
[11:40:07] :     [Publishing artifacts] Collecting files to publish: [/opt/buildagent/system/perfmon/temp/171/perfmon.csv=>.teamcity/perfmon/, /opt/buildagent/temp/agentTmp/build_stages.txt=>.teamcity/perfmon/]
[11:40:07] :     [Publishing artifacts] Publishing 2 files using [WebPublisher]: /opt/buildagent/system/perfmon/temp/171/perfmon.csv, /opt/buildagent/temp/agentTmp/build_stages.txt => .teamcity/perfmon
[11:40:07] :     [Publishing artifacts] Publishing 2 files using [ArtifactsCachePublisherImpl]: /opt/buildagent/system/perfmon/temp/171/perfmon.csv, /opt/buildagent/temp/agentTmp/build_stages.txt => .teamcity/perfmon
[11:40:07]i:     [Publishing artifacts] Will publish 2 artifact(s) to TeamCity node with id MAIN_SERVER
[11:40:08] : Publishing artifacts
[11:40:08] :     [Publishing artifacts] Collecting files to publish: [/opt/buildagent/temp/buildTmp/.teamcity/docker/build_43/events.json => .teamcity/docker/]
[11:40:08] :     [Publishing artifacts] Publishing 1 file using [WebPublisher]: /opt/buildagent/temp/buildTmp/.teamcity/docker/build_43/events.json => .teamcity/docker
[11:40:08] :     [Publishing artifacts] Publishing 1 file using [ArtifactsCachePublisherImpl]: /opt/buildagent/temp/buildTmp/.teamcity/docker/build_43/events.json => .teamcity/docker
[11:40:08]i:     [Publishing artifacts] Will publish 1 artifact(s) to TeamCity node with id MAIN_SERVER
[11:40:08]i: Docker wrapper: setting permissions for '/opt/buildagent/temp/buildTmp' and '/opt/buildagent/work/a92ad6fae8285b3b' to 755
[11:40:08]i: Running logout command: docker logout gitlab.ryvsrealm.dev
[11:40:08] : Publishing internal artifacts
[11:40:08] :     [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[11:40:08] :     [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisherImpl]
[11:40:08]i:     [Publishing internal artifacts] Will publish 1 artifact(s) to TeamCity node with id MAIN_SERVER
[11:40:08] : Publishing internal artifacts
[11:40:09] : Build finished
DAHPr0gram3r commented 5 months ago

Couldnt figure it out so i just setup a windows build agent to use the teamcity runner