Pull request #465 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 13dd7acacd71e20cdea6ed5d75d25f1b515f9212+b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e (55e04b77d474dc8ccdba5aea7d21d4224cc9fcc6) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4677489770352677804.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6316596910514048085.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15990480911711811650.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17767034429682492746.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13534571704969821234.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-465/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-465/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6862433188265728827.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1965 in /w/workspace/gexfoundry_device-rest-go_PR-465 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-465 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Merging remotes/origin/main commit b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e into PR head commit 13dd7acacd71e20cdea6ed5d75d25f1b515f9212 Merge succeeded, producing 13dd7acacd71e20cdea6ed5d75d25f1b515f9212 Checking out Revision 13dd7acacd71e20cdea6ed5d75d25f1b515f9212 (PR-465) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.13.3 to 4.13.4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13dd7acacd71e20cdea6ed5d75d25f1b515f9212 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13dd7acacd71e20cdea6ed5d75d25f1b515f9212 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:46:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:46:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:46:47 ========================================================= 20:46:47 EdgeX Global Pipelines Version Info 20:46:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:46:48 ------------------- 20:46:48 stable info: 20:46:48 ------------------- 20:46:48 Commited By: Ginny Guan ginny@iotechsys.com 20:46:48 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 20:46:48 Message: update stable to v1.0.274 20:46:49 ------------------- 20:46:49 experimental info: 20:46:49 ------------------- 20:46:49 Commited By: Ginny Guan ginny@iotechsys.com 20:46:49 Commit SHA: d23c20eb9a5ec3463b7c8c72fdbb28744bcccce8 20:46:49 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-465 [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-465 [Pipeline] echo 20:46:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-465 [Pipeline] echo 20:46:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13dd7acacd71e20cdea6ed5d75d25f1b515f9212 [Pipeline] echo 20:46:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13dd7ac [Pipeline] echo 20:46:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:51 provisioning config files... 20:46:51 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-465@tmp/config17727189364388241945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:51 ---> ****-login.sh 20:46:51 nexus3.edgexfoundry.org:10001 20:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:51 Configure a credential helper to remove this warning. See 20:46:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:51 20:46:51 Login Succeeded 20:46:51 nexus3.edgexfoundry.org:10002 20:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:52 Configure a credential helper to remove this warning. See 20:46:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:52 20:46:52 Login Succeeded 20:46:52 nexus3.edgexfoundry.org:10003 20:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:52 Configure a credential helper to remove this warning. See 20:46:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:52 20:46:52 Login Succeeded 20:46:52 nexus3.edgexfoundry.org:10004 20:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:52 Configure a credential helper to remove this warning. See 20:46:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:52 20:46:52 Login Succeeded 20:46:52 ****.io 20:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:52 Configure a credential helper to remove this warning. See 20:46:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:52 20:46:52 Login Succeeded 20:46:52 ---> ****-login.sh ends [Pipeline] } 20:46:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:46:53 + git rev-list -1 --merges 13dd7acacd71e20cdea6ed5d75d25f1b515f9212~1..13dd7acacd71e20cdea6ed5d75d25f1b515f9212 [Pipeline] echo 20:46:53 -----------> git rev-list -1 --merges 13dd7acacd71e20cdea6ed5d75d25f1b515f9212~1..13dd7acacd71e20cdea6ed5d75d25f1b515f9212 13dd7acacd71e20cdea6ed5d75d25f1b515f9212 [false] [Pipeline] sh 20:46:53 + git log --format=format:%s -1 13dd7acacd71e20cdea6ed5d75d25f1b515f9212 [Pipeline] echo 20:46:53 ========================================================= 20:46:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:46:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:46:54 + git log --format=format:%s -1 13dd7acacd71e20cdea6ed5d75d25f1b515f9212 [Pipeline] echo 20:46:54 [semverPrep] GIT_COMMIT: 13dd7acacd71e20cdea6ed5d75d25f1b515f9212, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.13.3 to 4.13.4 [Pipeline] echo 20:46:54 [semverPrep] This is not a build commit. [Pipeline] sh 20:46:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:46:54 + grep -v github /etc/ssh/ssh_known_hosts 20:46:54 + [ -e /tmp/ssh_known_hosts ] 20:46:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:46:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:46:54 + sudo tee -a /etc/ssh/ssh_known_hosts 20:46:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:46:55 20:46:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:46:55 0.1.4: Pulling from edgex-devops/py-git-semver 20:46:55 61ffccc6e275: Pulling fs layer 20:46:55 f778d6c4f6e9: Pulling fs layer 20:46:55 d2f62848b12d: Pulling fs layer 20:46:55 997762e48473: Pulling fs layer 20:46:55 be95abb5ad44: Pulling fs layer 20:46:55 3a9886674e01: Pulling fs layer 20:46:55 36e0284109b8: Pulling fs layer 20:46:55 47af2eeaf03f: Pulling fs layer 20:46:55 542e68fd9de1: Pulling fs layer 20:46:55 0716fb3ee34e: Pulling fs layer 20:46:55 3a9886674e01: Waiting 20:46:55 be95abb5ad44: Waiting 20:46:55 36e0284109b8: Waiting 20:46:55 47af2eeaf03f: Waiting 20:46:55 542e68fd9de1: Waiting 20:46:55 0716fb3ee34e: Waiting 20:46:55 997762e48473: Waiting 20:46:55 f778d6c4f6e9: Verifying Checksum 20:46:55 f778d6c4f6e9: Download complete 20:46:55 997762e48473: Verifying Checksum 20:46:55 997762e48473: Download complete 20:46:55 be95abb5ad44: Verifying Checksum 20:46:55 be95abb5ad44: Download complete 20:46:55 d2f62848b12d: Verifying Checksum 20:46:55 d2f62848b12d: Download complete 20:46:55 36e0284109b8: Verifying Checksum 20:46:55 36e0284109b8: Download complete 20:46:55 47af2eeaf03f: Verifying Checksum 20:46:55 47af2eeaf03f: Download complete 20:46:55 542e68fd9de1: Download complete 20:46:55 0716fb3ee34e: Download complete 20:46:55 61ffccc6e275: Verifying Checksum 20:46:55 61ffccc6e275: Download complete 20:46:56 3a9886674e01: Verifying Checksum 20:46:56 3a9886674e01: Download complete 20:46:57 61ffccc6e275: Pull complete 20:46:57 f778d6c4f6e9: Pull complete 20:46:57 d2f62848b12d: Pull complete 20:46:57 997762e48473: Pull complete 20:46:57 be95abb5ad44: Pull complete 20:46:59 3a9886674e01: Pull complete 20:46:59 36e0284109b8: Pull complete 20:47:00 47af2eeaf03f: Pull complete 20:47:00 542e68fd9de1: Pull complete 20:47:00 0716fb3ee34e: Pull complete 20:47:00 Digest: sha256:6a270b772b127ee5c690812b802243178d76555c3fc43ce52f38c0484bce00cf 20:47:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:00 prd-ubuntu20.04-docker-8c-8g-1965 does not seem to be running inside a container 20:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-465 -v /w/workspace/gexfoundry_device-rest-go_PR-465:/w/workspace/gexfoundry_device-rest-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-465@tmp:/w/workspace/gexfoundry_device-rest-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:47:03 $ docker top 299e7d7f3b57a4248a5bf384a3273c89fb37003fa0bd54a0daceb52cd2675001 -eo pid,comm 20:47:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:47:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:47:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:47:03 [ssh-agent] Looking for ssh-agent implementation... 20:47:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:47:03 $ docker exec 299e7d7f3b57a4248a5bf384a3273c89fb37003fa0bd54a0daceb52cd2675001 ssh-agent 20:47:03 SSH_AUTH_SOCK=/tmp/ssh-DfZDlAX1xuFH/agent.32 20:47:03 SSH_AGENT_PID=38 20:47:03 Running ssh-add (command line suppressed) 20:47:03 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-465@tmp/private_key_18015500437098711626.key (/w/workspace/gexfoundry_device-rest-go_PR-465@tmp/private_key_18015500437098711626.key) 20:47:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:47:04 + git tag --points-at HEAD 20:47:04 fatal: detected dubious ownership in repository at '/w/workspace/gexfoundry_device-rest-go_PR-465' 20:47:04 To add an exception for this directory, call: 20:47:04 20:47:04 git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-465 [Pipeline] } 20:47:04 $ docker exec --env ******** --env ******** 299e7d7f3b57a4248a5bf384a3273c89fb37003fa0bd54a0daceb52cd2675001 ssh-agent -k 20:47:04 unset SSH_AUTH_SOCK; 20:47:04 unset SSH_AGENT_PID; 20:47:04 echo Agent pid 38 killed; 20:47:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:47:04 $ docker stop --time=1 299e7d7f3b57a4248a5bf384a3273c89fb37003fa0bd54a0daceb52cd2675001 20:47:05 $ docker rm -f --volumes 299e7d7f3b57a4248a5bf384a3273c89fb37003fa0bd54a0daceb52cd2675001 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 20:47:07 Failed in branch arm64 [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 20:47:07 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:47:10 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-465/archives ] [Pipeline] libraryResource [Pipeline] sh 20:47:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:47:11 ---> package-listing.sh 20:47:11 ++ facter osfamily 20:47:11 ++ tr '[:upper:]' '[:lower:]' 20:47:11 + OS_FAMILY=debian 20:47:11 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-465 20:47:11 + START_PACKAGES=/tmp/packages_start.txt 20:47:11 + END_PACKAGES=/tmp/packages_end.txt 20:47:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:47:11 + PACKAGES=/tmp/packages_start.txt 20:47:11 + '[' /w/workspace/gexfoundry_device-rest-go_PR-465 ']' 20:47:11 + PACKAGES=/tmp/packages_end.txt 20:47:11 + case "${OS_FAMILY}" in 20:47:11 + dpkg -l 20:47:11 + grep '^ii' 20:47:11 + '[' -f /tmp/packages_start.txt ']' 20:47:11 + '[' -f /tmp/packages_end.txt ']' 20:47:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:47:11 + '[' /w/workspace/gexfoundry_device-rest-go_PR-465 ']' 20:47:11 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-465/archives/ 20:47:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-465/archives/ [Pipeline] echo 20:47:11 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-465/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:47:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:12 20:47:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:13 latest: Pulling from edgex-lftools-log-publisher 20:47:13 5eb5b503b376: Pulling fs layer 20:47:13 5c69ac0246d0: Pulling fs layer 20:47:13 ec43610c2a17: Pulling fs layer 20:47:13 3a2ae6a8a46f: Pulling fs layer 20:47:13 33b1e0a273af: Pulling fs layer 20:47:13 5d3b04190fa2: Pulling fs layer 20:47:13 2f39f015ded8: Pulling fs layer 20:47:13 3a2ae6a8a46f: Waiting 20:47:13 33b1e0a273af: Waiting 20:47:13 5d3b04190fa2: Waiting 20:47:13 2f39f015ded8: Waiting 20:47:13 5c69ac0246d0: Verifying Checksum 20:47:13 5c69ac0246d0: Download complete 20:47:13 3a2ae6a8a46f: Download complete 20:47:13 33b1e0a273af: Verifying Checksum 20:47:13 33b1e0a273af: Download complete 20:47:13 5d3b04190fa2: Verifying Checksum 20:47:13 5d3b04190fa2: Download complete 20:47:13 ec43610c2a17: Verifying Checksum 20:47:13 ec43610c2a17: Download complete 20:47:13 5eb5b503b376: Verifying Checksum 20:47:13 5eb5b503b376: Download complete 20:47:14 2f39f015ded8: Download complete 20:47:14 5eb5b503b376: Pull complete 20:47:14 5c69ac0246d0: Pull complete 20:47:15 ec43610c2a17: Pull complete 20:47:15 3a2ae6a8a46f: Pull complete 20:47:15 33b1e0a273af: Pull complete 20:47:15 5d3b04190fa2: Pull complete 20:47:19 2f39f015ded8: Pull complete 20:47:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:47:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:19 prd-ubuntu20.04-docker-8c-8g-1965 does not seem to be running inside a container 20:47:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-465/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-465 -v /w/workspace/gexfoundry_device-rest-go_PR-465:/w/workspace/gexfoundry_device-rest-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-465@tmp:/w/workspace/gexfoundry_device-rest-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:47:22 $ docker top 44b744266e77851a4c1c9b0a3d772659df67e5843e35500db09e61ec801a98cd -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:23 + touch /tmp/pre-build-complete [Pipeline] sh 20:47:23 + mkdir -p /var/log/sysstat [Pipeline] sh 20:47:23 + ls /var/log/sa-host 20:47:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:23 provisioning config files... 20:47:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-465@tmp/config2791044351383140718tmp [Pipeline] { [Pipeline] echo 20:47:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:47:24 ---> create-netrc.sh [Pipeline] } 20:47:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:47:24 ---> python-tools-install.sh [Pipeline] echo 20:47:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:47:25 ---> sudo-logs.sh 20:47:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:47:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:47:25 ---> job-cost.sh 20:47:25 lf-activate-venv: SKIPPING 20:47:25 INFO: No Stack... 20:47:25 INFO: Retrieving Pricing Info for: v3-standard-8 20:47:26 INFO: Archiving Costs [Pipeline] echo 20:47:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:47:26 ---> logs-deploy.sh 20:47:26 lf-activate-venv: SKIPPING 20:47:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-465/1 20:47:26 INFO: archiving workspace using pattern(s): 20:47:27 Archives upload complete. 20:47:27 INFO: archiving logs to Nexus