Pull request #229 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from 22018ce40af0e19fd47913da5b25c97ea02f4643+ea2635875d50d8674d03123d64d8d0373faddc1b (c16b20bdb616f85655dd898948e2bb023da3112d) 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-ssh17442691979387491788.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16006698933284958399.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-229/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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9197200511711660018.key Verifying host key using known hosts file > 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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10655161114918096826.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh15566849081566883248.key Verifying host key using known hosts file > 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-229/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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4017774114043464380.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-121058 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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-229 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit 22018ce40af0e19fd47913da5b25c97ea02f4643 Merge succeeded, producing 22018ce40af0e19fd47913da5b25c97ea02f4643 Checking out Revision 22018ce40af0e19fd47913da5b25c97ea02f4643 (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f 22018ce40af0e19fd47913da5b25c97ea02f4643 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22018ce40af0e19fd47913da5b25c97ea02f4643 # timeout=10 Commit message: "feat: Initial commit for REST commands functionality update" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-13T11:34:13.010Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-13T11:34:13.212Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-13T11:34:13.317Z] ========================================================= [2022-12-13T11:34:13.318Z] EdgeX Global Pipelines Version Info [2022-12-13T11:34:13.318Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:34:14.420Z] ------------------- [2022-12-13T11:34:14.420Z] stable info: [2022-12-13T11:34:14.420Z] ------------------- [2022-12-13T11:34:14.420Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-13T11:34:14.420Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-13T11:34:14.420Z] Message: update stable to v1.0.244 [2022-12-13T11:34:14.681Z] ------------------- [2022-12-13T11:34:14.681Z] experimental info: [2022-12-13T11:34:14.681Z] ------------------- [2022-12-13T11:34:14.681Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-13T11:34:14.681Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-13T11:34:14.681Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-13T11:34:15.001Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-12-13T11:34:15.048Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-12-13T11:34:15.090Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-13T11:34:15.133Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-13T11:34:15.172Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-13T11:34:15.213Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-13T11:34:15.258Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-13T11:34:15.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-13T11:34:15.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-13T11:34:15.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-13T11:34:15.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-13T11:34:15.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-12-13T11:34:15.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-13T11:34:15.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-13T11:34:15.603Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-13T11:34:15.648Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-13T11:34:15.688Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-13T11:34:15.731Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-13T11:34:15.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-13T11:34:15.813Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-13T11:34:15.852Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-13T11:34:15.897Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-13T11:34:15.938Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-13T11:34:15.982Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-13T11:34:16.021Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-13T11:34:16.065Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-13T11:34:16.107Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-13T11:34:16.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2022-12-13T11:34:16.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2022-12-13T11:34:16.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2022-12-13T11:34:16.275Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22018ce40af0e19fd47913da5b25c97ea02f4643 [Pipeline] echo [2022-12-13T11:34:16.315Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22018ce [Pipeline] echo [2022-12-13T11:34:16.355Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T11:34:16.475Z] provisioning config files... [2022-12-13T11:34:16.489Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config17019419163345889513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:34:16.832Z] ---> docker-login.sh [2022-12-13T11:34:16.832Z] nexus3.edgexfoundry.org:10001 [2022-12-13T11:34:17.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:34:17.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:34:17.091Z] Configure a credential helper to remove this warning. See [2022-12-13T11:34:17.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:34:17.091Z] [2022-12-13T11:34:17.091Z] Login Succeeded [2022-12-13T11:34:17.091Z] nexus3.edgexfoundry.org:10002 [2022-12-13T11:34:17.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:34:17.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:34:17.351Z] Configure a credential helper to remove this warning. See [2022-12-13T11:34:17.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:34:17.351Z] [2022-12-13T11:34:17.351Z] Login Succeeded [2022-12-13T11:34:17.351Z] nexus3.edgexfoundry.org:10003 [2022-12-13T11:34:17.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:34:17.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:34:17.351Z] Configure a credential helper to remove this warning. See [2022-12-13T11:34:17.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:34:17.351Z] [2022-12-13T11:34:17.351Z] Login Succeeded [2022-12-13T11:34:17.351Z] nexus3.edgexfoundry.org:10004 [2022-12-13T11:34:17.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:34:17.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:34:17.613Z] Configure a credential helper to remove this warning. See [2022-12-13T11:34:17.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:34:17.613Z] [2022-12-13T11:34:17.613Z] Login Succeeded [2022-12-13T11:34:17.613Z] docker.io [2022-12-13T11:34:17.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:34:17.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:34:17.874Z] Configure a credential helper to remove this warning. See [2022-12-13T11:34:17.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:34:17.874Z] [2022-12-13T11:34:17.874Z] Login Succeeded [2022-12-13T11:34:17.874Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T11:34:17.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-13T11:34:18.534Z] + git rev-list -1 --merges 22018ce40af0e19fd47913da5b25c97ea02f4643~1..22018ce40af0e19fd47913da5b25c97ea02f4643 [Pipeline] echo [2022-12-13T11:34:18.582Z] -----------> git rev-list -1 --merges 22018ce40af0e19fd47913da5b25c97ea02f4643~1..22018ce40af0e19fd47913da5b25c97ea02f4643 22018ce40af0e19fd47913da5b25c97ea02f4643 [false] [Pipeline] sh [2022-12-13T11:34:18.889Z] + git log --format=format:%s -1 22018ce40af0e19fd47913da5b25c97ea02f4643 [Pipeline] echo [2022-12-13T11:34:18.923Z] ========================================================= [2022-12-13T11:34:18.923Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-13T11:34:18.923Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-13T11:34:19.339Z] + git log --format=format:%s -1 22018ce40af0e19fd47913da5b25c97ea02f4643 [Pipeline] echo [2022-12-13T11:34:19.378Z] [semverPrep] GIT_COMMIT: 22018ce40af0e19fd47913da5b25c97ea02f4643, Commit Message: feat: Initial commit for REST commands functionality update [Pipeline] echo [2022-12-13T11:34:19.405Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-13T11:34:19.843Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-13T11:34:19.843Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-13T11:34:19.843Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-13T11:34:19.843Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-13T11:34:19.843Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-13T11:34:19.843Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-13T11:34:19.843Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:34:20.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T11:34:20.327Z] [2022-12-13T11:34:20.327Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:34:20.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T11:34:20.707Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-13T11:34:20.707Z] b85a868b505f: Pulling fs layer [2022-12-13T11:34:20.707Z] e2be974225ed: Pulling fs layer [2022-12-13T11:34:20.707Z] 339a4e72a1f5: Pulling fs layer [2022-12-13T11:34:20.707Z] 988bab9f4d93: Pulling fs layer [2022-12-13T11:34:20.707Z] 1469e6f7b9e6: Pulling fs layer [2022-12-13T11:34:20.707Z] eaf3925da568: Pulling fs layer [2022-12-13T11:34:20.707Z] bab4dde63d76: Pulling fs layer [2022-12-13T11:34:20.707Z] 988bab9f4d93: Waiting [2022-12-13T11:34:20.707Z] 1469e6f7b9e6: Waiting [2022-12-13T11:34:20.707Z] eaf3925da568: Waiting [2022-12-13T11:34:20.707Z] bde34c3a00c8: Pulling fs layer [2022-12-13T11:34:20.707Z] bab4dde63d76: Waiting [2022-12-13T11:34:20.707Z] b352a97aabf1: Pulling fs layer [2022-12-13T11:34:20.707Z] 4872d77fe225: Pulling fs layer [2022-12-13T11:34:20.707Z] bde34c3a00c8: Waiting [2022-12-13T11:34:20.707Z] b352a97aabf1: Waiting [2022-12-13T11:34:20.707Z] 5851b861e8e6: Pulling fs layer [2022-12-13T11:34:20.707Z] 4872d77fe225: Waiting [2022-12-13T11:34:20.707Z] 5851b861e8e6: Waiting [2022-12-13T11:34:20.707Z] e2be974225ed: Download complete [2022-12-13T11:34:20.707Z] 988bab9f4d93: Download complete [2022-12-13T11:34:20.966Z] 1469e6f7b9e6: Verifying Checksum [2022-12-13T11:34:20.966Z] 1469e6f7b9e6: Download complete [2022-12-13T11:34:20.966Z] eaf3925da568: Verifying Checksum [2022-12-13T11:34:20.966Z] eaf3925da568: Download complete [2022-12-13T11:34:20.966Z] 339a4e72a1f5: Verifying Checksum [2022-12-13T11:34:20.966Z] 339a4e72a1f5: Download complete [2022-12-13T11:34:20.966Z] bde34c3a00c8: Verifying Checksum [2022-12-13T11:34:20.966Z] bde34c3a00c8: Download complete [2022-12-13T11:34:20.966Z] b352a97aabf1: Download complete [2022-12-13T11:34:20.966Z] 4872d77fe225: Verifying Checksum [2022-12-13T11:34:20.966Z] 4872d77fe225: Download complete [2022-12-13T11:34:20.966Z] 5851b861e8e6: Download complete [2022-12-13T11:34:20.966Z] b85a868b505f: Download complete [2022-12-13T11:34:21.224Z] bab4dde63d76: Verifying Checksum [2022-12-13T11:34:21.224Z] bab4dde63d76: Download complete [2022-12-13T11:34:22.160Z] b85a868b505f: Pull complete [2022-12-13T11:34:22.161Z] e2be974225ed: Pull complete [2022-12-13T11:34:22.729Z] 339a4e72a1f5: Pull complete [2022-12-13T11:34:22.729Z] 988bab9f4d93: Pull complete [2022-12-13T11:34:22.989Z] 1469e6f7b9e6: Pull complete [2022-12-13T11:34:22.989Z] eaf3925da568: Pull complete [2022-12-13T11:34:24.896Z] bab4dde63d76: Pull complete [2022-12-13T11:34:24.896Z] bde34c3a00c8: Pull complete [2022-12-13T11:34:25.156Z] b352a97aabf1: Pull complete [2022-12-13T11:34:25.156Z] 4872d77fe225: Pull complete [2022-12-13T11:34:25.156Z] 5851b861e8e6: Pull complete [2022-12-13T11:34:25.156Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-13T11:34:25.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T11:34:25.156Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:34:25.380Z] prd-ubuntu20.04-docker-8c-8g-121058 does not seem to be running inside a container [2022-12-13T11:34:25.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-13T11:34:26.579Z] $ docker top 109c7b9d2f5dd7ee23d7a7a572bbeac94e2b74873ce86549f1e88a01ab327f5d -eo pid,comm [2022-12-13T11:34:26.634Z] 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). [2022-12-13T11:34:26.634Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-13T11:34:26.766Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-13T11:34:26.766Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-13T11:34:26.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-13T11:34:26.884Z] $ docker exec 109c7b9d2f5dd7ee23d7a7a572bbeac94e2b74873ce86549f1e88a01ab327f5d ssh-agent [2022-12-13T11:34:26.995Z] SSH_AUTH_SOCK=/tmp/ssh-yFNOP7O3Ybpv/agent.33 [2022-12-13T11:34:26.995Z] SSH_AGENT_PID=39 [2022-12-13T11:34:27.008Z] Running ssh-add (command line suppressed) [2022-12-13T11:34:27.120Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_3900689645820785304.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_3900689645820785304.key) [2022-12-13T11:34:27.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-13T11:34:27.467Z] + git tag --points-at HEAD [Pipeline] } [2022-12-13T11:34:27.493Z] $ docker exec --env ******** --env ******** 109c7b9d2f5dd7ee23d7a7a572bbeac94e2b74873ce86549f1e88a01ab327f5d ssh-agent -k [2022-12-13T11:34:27.595Z] unset SSH_AUTH_SOCK; [2022-12-13T11:34:27.596Z] unset SSH_AGENT_PID; [2022-12-13T11:34:27.596Z] echo Agent pid 39 killed; [2022-12-13T11:34:27.608Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-13T11:34:27.697Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-13T11:34:27.697Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-13T11:34:27.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-13T11:34:27.819Z] $ docker exec 109c7b9d2f5dd7ee23d7a7a572bbeac94e2b74873ce86549f1e88a01ab327f5d ssh-agent [2022-12-13T11:34:27.929Z] SSH_AUTH_SOCK=/tmp/ssh-nTX03tSZOTez/agent.71 [2022-12-13T11:34:27.929Z] SSH_AGENT_PID=77 [2022-12-13T11:34:27.933Z] Running ssh-add (command line suppressed) [2022-12-13T11:34:28.025Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_15523179239190107379.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_15523179239190107379.key) [2022-12-13T11:34:28.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-13T11:34:28.372Z] + git semver init [2022-12-13T11:34:28.631Z] 2022-12-13 11:34:28,569 [run_init] DEBUG init version:0.0.0 force:False [2022-12-13T11:34:28.631Z] 2022-12-13 11:34:28,570 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2022-12-13T11:34:28.631Z] 2022-12-13 11:34:28,570 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2022-12-13T11:34:28.631Z] 2022-12-13 11:34:28,570 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) [2022-12-13T11:34:29.571Z] 2022-12-13 11:34:29,562 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude [2022-12-13T11:34:29.571Z] 2022-12-13 11:34:29,563 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False [2022-12-13T11:34:29.571Z] 2022-12-13 11:34:29,563 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2022-12-13T11:34:29.571Z] 2022-12-13 11:34:29,567 [execute] INFO git cat-file --batch-check [2022-12-13T11:34:29.571Z] 2022-12-13 11:34:29,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2022-12-13T11:34:29.830Z] 2022-12-13 11:34:29,573 [execute] INFO git cat-file --batch [2022-12-13T11:34:29.830Z] 2022-12-13 11:34:29,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2022-12-13T11:34:29.830Z] 2022-12-13 11:34:29,578 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2022-12-13T11:34:29.830Z] 0.0.0 [Pipeline] } [2022-12-13T11:34:29.863Z] $ docker exec --env ******** --env ******** 109c7b9d2f5dd7ee23d7a7a572bbeac94e2b74873ce86549f1e88a01ab327f5d ssh-agent -k [2022-12-13T11:34:29.952Z] unset SSH_AUTH_SOCK; [2022-12-13T11:34:29.952Z] unset SSH_AGENT_PID; [2022-12-13T11:34:29.952Z] echo Agent pid 77 killed; [2022-12-13T11:34:29.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-13T11:34:30.492Z] + git semver [Pipeline] } [2022-12-13T11:34:30.773Z] $ docker stop --time=1 109c7b9d2f5dd7ee23d7a7a572bbeac94e2b74873ce86549f1e88a01ab327f5d [2022-12-13T11:34:32.055Z] $ docker rm -f 109c7b9d2f5dd7ee23d7a7a572bbeac94e2b74873ce86549f1e88a01ab327f5d [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-13T11:34:32.456Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-13T11:34:32.690Z] Stashed 1 file(s) [Pipeline] echo [2022-12-13T11:34:32.706Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T11:34:33.271Z] provisioning config files... [2022-12-13T11:34:33.280Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config5843507965573441413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:34:33.626Z] ---> docker-login.sh [2022-12-13T11:34:33.626Z] nexus3.edgexfoundry.org:10001 [2022-12-13T11:34:33.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:34:33.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:34:33.626Z] Configure a credential helper to remove this warning. See [2022-12-13T11:34:33.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:34:33.626Z] [2022-12-13T11:34:33.626Z] Login Succeeded [2022-12-13T11:34:33.626Z] nexus3.edgexfoundry.org:10002 [2022-12-13T11:34:33.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:34:33.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:34:33.626Z] Configure a credential helper to remove this warning. See [2022-12-13T11:34:33.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:34:33.626Z] [2022-12-13T11:34:33.626Z] Login Succeeded [2022-12-13T11:34:33.626Z] nexus3.edgexfoundry.org:10003 [2022-12-13T11:34:33.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:34:33.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:34:33.886Z] Configure a credential helper to remove this warning. See [2022-12-13T11:34:33.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:34:33.886Z] [2022-12-13T11:34:33.886Z] Login Succeeded [2022-12-13T11:34:33.886Z] nexus3.edgexfoundry.org:10004 [2022-12-13T11:34:33.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:34:33.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:34:33.886Z] Configure a credential helper to remove this warning. See [2022-12-13T11:34:33.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:34:33.886Z] [2022-12-13T11:34:33.886Z] Login Succeeded [2022-12-13T11:34:33.886Z] docker.io [2022-12-13T11:34:34.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:34:34.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:34:34.146Z] Configure a credential helper to remove this warning. See [2022-12-13T11:34:34.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:34:34.146Z] [2022-12-13T11:34:34.146Z] Login Succeeded [2022-12-13T11:34:34.146Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T11:34:34.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-13T11:34:34.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T11:34:34.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T11:34:34.558Z] ========================================================= [2022-12-13T11:34:34.558Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-13T11:34:34.558Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:34:35.040Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-13T11:34:35.041Z] Sending build context to Docker daemon 10.79MB [2022-12-13T11:34:35.041Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-13T11:34:35.041Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-13T11:34:35.041Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-13T11:34:35.041Z] 213ec9aee27d: Pulling fs layer [2022-12-13T11:34:35.041Z] 4583459ba037: Pulling fs layer [2022-12-13T11:34:35.041Z] 93c1e223e6f2: Pulling fs layer [2022-12-13T11:34:35.041Z] 53926ce57604: Pulling fs layer [2022-12-13T11:34:35.041Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-13T11:34:35.041Z] 22ff95d597cd: Pulling fs layer [2022-12-13T11:34:35.041Z] 12d6caf4c0d1: Pulling fs layer [2022-12-13T11:34:35.041Z] 96b7cbca73a9: Pulling fs layer [2022-12-13T11:34:35.041Z] a7acece74701: Pulling fs layer [2022-12-13T11:34:35.041Z] 22ff95d597cd: Waiting [2022-12-13T11:34:35.041Z] 12d6caf4c0d1: Waiting [2022-12-13T11:34:35.041Z] 96b7cbca73a9: Waiting [2022-12-13T11:34:35.041Z] 53926ce57604: Waiting [2022-12-13T11:34:35.041Z] a7acece74701: Waiting [2022-12-13T11:34:35.041Z] 93c1e223e6f2: Verifying Checksum [2022-12-13T11:34:35.041Z] 93c1e223e6f2: Download complete [2022-12-13T11:34:35.041Z] 4583459ba037: Download complete [2022-12-13T11:34:35.041Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-13T11:34:35.041Z] 21b2b0c7a3f4: Download complete [2022-12-13T11:34:35.041Z] 22ff95d597cd: Verifying Checksum [2022-12-13T11:34:35.041Z] 22ff95d597cd: Download complete [2022-12-13T11:34:35.300Z] 213ec9aee27d: Verifying Checksum [2022-12-13T11:34:35.300Z] 213ec9aee27d: Download complete [2022-12-13T11:34:35.300Z] 12d6caf4c0d1: Download complete [2022-12-13T11:34:35.300Z] 213ec9aee27d: Pull complete [2022-12-13T11:34:35.559Z] 4583459ba037: Pull complete [2022-12-13T11:34:35.559Z] 93c1e223e6f2: Pull complete [2022-12-13T11:34:35.559Z] a7acece74701: Verifying Checksum [2022-12-13T11:34:35.559Z] a7acece74701: Download complete [2022-12-13T11:34:36.127Z] 53926ce57604: Verifying Checksum [2022-12-13T11:34:36.127Z] 53926ce57604: Download complete [2022-12-13T11:34:36.127Z] 96b7cbca73a9: Verifying Checksum [2022-12-13T11:34:36.127Z] 96b7cbca73a9: Download complete [2022-12-13T11:34:40.313Z] 53926ce57604: Pull complete [2022-12-13T11:34:40.313Z] 21b2b0c7a3f4: Pull complete [2022-12-13T11:34:40.313Z] 22ff95d597cd: Pull complete [2022-12-13T11:34:40.313Z] 12d6caf4c0d1: Pull complete [2022-12-13T11:34:41.686Z] 96b7cbca73a9: Pull complete [2022-12-13T11:34:42.632Z] a7acece74701: Pull complete [2022-12-13T11:34:42.632Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-13T11:34:42.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-13T11:34:42.632Z] ---> db6d94c90886 [2022-12-13T11:34:42.632Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-13T11:34:44.024Z] ---> Running in eedfb1f7504f [2022-12-13T11:34:44.024Z] Removing intermediate container eedfb1f7504f [2022-12-13T11:34:44.024Z] ---> 40ec0ea8e9b5 [2022-12-13T11:34:44.024Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-13T11:34:44.024Z] ---> Running in 6fad1526f46f [2022-12-13T11:34:44.284Z] Removing intermediate container 6fad1526f46f [2022-12-13T11:34:44.284Z] ---> b5b91c55479e [2022-12-13T11:34:44.284Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-13T11:34:44.284Z] ---> Running in b8ba0fb1d8de [2022-12-13T11:34:44.284Z] Removing intermediate container b8ba0fb1d8de [2022-12-13T11:34:44.284Z] ---> 330811140a96 [2022-12-13T11:34:44.284Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-13T11:34:44.545Z] ---> Running in dba85773e122 [2022-12-13T11:34:44.545Z] Removing intermediate container dba85773e122 [2022-12-13T11:34:44.545Z] ---> c983706322fc [2022-12-13T11:34:44.545Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-13T11:34:44.545Z] ---> Running in e81b954e036d [2022-12-13T11:34:44.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-13T11:34:45.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-13T11:34:45.324Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-13T11:34:45.324Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-13T11:34:45.324Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-13T11:34:45.324Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-13T11:34:45.324Z] Executing busybox-1.35.0-r17.trigger [2022-12-13T11:34:45.324Z] OK: 216 MiB in 55 packages [2022-12-13T11:34:45.582Z] Removing intermediate container e81b954e036d [2022-12-13T11:34:45.582Z] ---> 7d9f42a773d3 [2022-12-13T11:34:45.582Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-13T11:34:45.582Z] ---> Running in 6db3bed7db90 [2022-12-13T11:34:45.841Z] Removing intermediate container 6db3bed7db90 [2022-12-13T11:34:45.841Z] ---> dd6f25436cfc [2022-12-13T11:34:45.841Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-13T11:34:45.841Z] ---> 67534de2c224 [2022-12-13T11:34:45.841Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-13T11:34:45.841Z] ---> Running in 38d26c6b34d2 [2022-12-13T11:34:48.091Z] Still waiting to schedule task [2022-12-13T11:34:48.091Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-13T11:35:07.791Z] Removing intermediate container 38d26c6b34d2 [2022-12-13T11:35:07.791Z] ---> 4308b02caed7 [2022-12-13T11:35:07.791Z] Step 11/12 : COPY . . [2022-12-13T11:35:07.791Z] ---> eff2e1e26f06 [2022-12-13T11:35:07.791Z] Step 12/12 : RUN $MAKE [2022-12-13T11:35:07.791Z] ---> Running in ca7613848a67 [2022-12-13T11:35:07.791Z] noop [2022-12-13T11:35:07.791Z] Removing intermediate container ca7613848a67 [2022-12-13T11:35:07.791Z] ---> 64fd66f81ebe [2022-12-13T11:35:07.791Z] Successfully built 64fd66f81ebe [2022-12-13T11:35:07.791Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:35:08.235Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-13T11:35:08.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:35:08.400Z] prd-ubuntu20.04-docker-8c-8g-121058 does not seem to be running inside a container [2022-12-13T11:35:08.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-13T11:35:08.807Z] $ docker top 6f8b8bca174594e512bad80a22b0584831d92e4f653c55ae662d8f4ba0f710ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T11:35:09.202Z] + go version [2022-12-13T11:35:09.202Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-13T11:35:09.237Z] $ docker stop --time=1 6f8b8bca174594e512bad80a22b0584831d92e4f653c55ae662d8f4ba0f710ef [2022-12-13T11:35:10.555Z] $ docker rm -f 6f8b8bca174594e512bad80a22b0584831d92e4f653c55ae662d8f4ba0f710ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:35:11.296Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-13T11:35:11.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:35:11.457Z] prd-ubuntu20.04-docker-8c-8g-121058 does not seem to be running inside a container [2022-12-13T11:35:11.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-13T11:35:11.846Z] $ docker top 71f1ef2b6bde17a8503c0b1b4f3dc2bc6d9c3d27113359c91b1f4fff20ffbcac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T11:35:12.254Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh [2022-12-13T11:35:12.622Z] + make test [2022-12-13T11:35:12.622Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-13T11:35:12.881Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-13T11:35:22.846Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-13T11:35:22.846Z] # github.com/edgexfoundry/device-rest-go/driver [2022-12-13T11:35:22.846Z] driver/restdriver.go:278: fmt.Errorf call has arguments but no formatting directives [2022-12-13T11:35:22.846Z] driver/restdriver.go:460: fmt.Errorf call has arguments but no formatting directives [2022-12-13T11:35:22.846Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2022-12-13T11:35:22.846Z] FAIL [2022-12-13T11:35:22.846Z] make: *** [Makefile:39: unittest] Error 2 [Pipeline] } [2022-12-13T11:35:22.892Z] $ docker stop --time=1 71f1ef2b6bde17a8503c0b1b4f3dc2bc6d9c3d27113359c91b1f4fff20ffbcac [2022-12-13T11:35:24.684Z] $ docker rm -f 71f1ef2b6bde17a8503c0b1b4f3dc2bc6d9c3d27113359c91b1f4fff20ffbcac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:35:26.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T11:35:26.024Z] [2022-12-13T11:35:26.024Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:35:26.403Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T11:35:26.403Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-13T11:35:26.403Z] 5eb5b503b376: Pulling fs layer [2022-12-13T11:35:26.403Z] 5c69ac0246d0: Pulling fs layer [2022-12-13T11:35:26.403Z] ec43610c2a17: Pulling fs layer [2022-12-13T11:35:26.403Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-13T11:35:26.403Z] 33b1e0a273af: Pulling fs layer [2022-12-13T11:35:26.403Z] 5d3b04190fa2: Pulling fs layer [2022-12-13T11:35:26.403Z] 2f39f015ded8: Pulling fs layer [2022-12-13T11:35:26.403Z] 3a2ae6a8a46f: Waiting [2022-12-13T11:35:26.403Z] 5d3b04190fa2: Waiting [2022-12-13T11:35:26.403Z] 33b1e0a273af: Waiting [2022-12-13T11:35:26.403Z] 2f39f015ded8: Waiting [2022-12-13T11:35:26.403Z] 5c69ac0246d0: Download complete [2022-12-13T11:35:26.403Z] 3a2ae6a8a46f: Download complete [2022-12-13T11:35:26.663Z] 33b1e0a273af: Verifying Checksum [2022-12-13T11:35:26.663Z] 33b1e0a273af: Download complete [2022-12-13T11:35:26.663Z] ec43610c2a17: Verifying Checksum [2022-12-13T11:35:26.663Z] ec43610c2a17: Download complete [2022-12-13T11:35:26.663Z] 5d3b04190fa2: Verifying Checksum [2022-12-13T11:35:26.663Z] 5d3b04190fa2: Download complete [2022-12-13T11:35:26.663Z] 5eb5b503b376: Verifying Checksum [2022-12-13T11:35:26.663Z] 5eb5b503b376: Download complete [2022-12-13T11:35:27.230Z] 2f39f015ded8: Download complete [2022-12-13T11:35:28.163Z] 5eb5b503b376: Pull complete [2022-12-13T11:35:28.163Z] 5c69ac0246d0: Pull complete [2022-12-13T11:35:28.421Z] ec43610c2a17: Pull complete [2022-12-13T11:35:28.680Z] 3a2ae6a8a46f: Pull complete [2022-12-13T11:35:28.680Z] 33b1e0a273af: Pull complete [2022-12-13T11:35:28.938Z] 5d3b04190fa2: Pull complete [2022-12-13T11:35:33.123Z] 2f39f015ded8: Pull complete [2022-12-13T11:35:33.123Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-13T11:35:33.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T11:35:33.123Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:35:33.364Z] prd-ubuntu20.04-docker-8c-8g-121058 does not seem to be running inside a container [2022-12-13T11:35:33.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-13T11:35:35.122Z] $ docker top b5e91e83fd0b16b972eacf14d22128daac82b0be76a0f3ea2a86304e21608b75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:35:35.580Z] ---> job-cost.sh [2022-12-13T11:35:35.581Z] lf-activate-venv: SKIPPING [2022-12-13T11:35:35.581Z] INFO: No Stack... [2022-12-13T11:35:36.148Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-13T11:35:36.407Z] INFO: Archiving Costs [Pipeline] sh [2022-12-13T11:35:36.719Z] + cut -d, -f6 [2022-12-13T11:35:36.720Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv [Pipeline] lock [2022-12-13T11:35:36.763Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-1-stack-cost] [2022-12-13T11:35:36.768Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-1-stack-cost] did not exist. Created. [2022-12-13T11:35:36.768Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-13T11:35:37.159Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-13T11:35:37.217Z] Stashed 1 file(s) [Pipeline] } [2022-12-13T11:35:37.232Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-13T11:35:37.312Z] $ docker stop --time=1 b5e91e83fd0b16b972eacf14d22128daac82b0be76a0f3ea2a86304e21608b75 [2022-12-13T11:35:38.466Z] $ docker rm -f b5e91e83fd0b16b972eacf14d22128daac82b0be76a0f3ea2a86304e21608b75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-13T11:35:38.814Z] Failed in branch amd64 [2022-12-13T11:36:15.778Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-121059 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws [2022-12-13T11:36:15.827Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-12-13T11:36:15.907Z] The recommended git tool is: git [2022-12-13T11:36:20.814Z] using credential edgex-jenkins-ssh [2022-12-13T11:36:20.832Z] Cloning the remote Git repository [2022-12-13T11:36:20.870Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-12-13T11:36:20.967Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-12-13T11:36:21.115Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-13T11:36:21.116Z] > git --version # timeout=10 [2022-12-13T11:36:21.138Z] > git --version # 'git version 2.25.1' [2022-12-13T11:36:21.140Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T11:36:21.186Z] Verifying host key using known hosts file [2022-12-13T11:36:21.397Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T11:36:21.412Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-13T11:36:23.177Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-13T11:36:23.196Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-13T11:36:24.660Z] Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit 22018ce40af0e19fd47913da5b25c97ea02f4643 [2022-12-13T11:36:24.042Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-13T11:36:24.078Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-13T11:36:24.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T11:36:24.084Z] Verifying host key using known hosts file [2022-12-13T11:36:24.090Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T11:36:24.104Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-13T11:36:24.675Z] > git config core.sparsecheckout # timeout=10 [2022-12-13T11:36:24.696Z] > git checkout -f 22018ce40af0e19fd47913da5b25c97ea02f4643 # timeout=10 [2022-12-13T11:36:24.877Z] Merge succeeded, producing 22018ce40af0e19fd47913da5b25c97ea02f4643 [2022-12-13T11:36:24.878Z] Checking out Revision 22018ce40af0e19fd47913da5b25c97ea02f4643 (PR-229) [2022-12-13T11:36:24.776Z] > git remote # timeout=10 [2022-12-13T11:36:24.792Z] > git config --get remote.origin.url # timeout=10 [2022-12-13T11:36:24.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T11:36:24.814Z] Verifying host key using known hosts file [2022-12-13T11:36:24.818Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T11:36:24.832Z] > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 [2022-12-13T11:36:24.860Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-13T11:36:24.882Z] > git config core.sparsecheckout # timeout=10 [2022-12-13T11:36:24.893Z] > git checkout -f 22018ce40af0e19fd47913da5b25c97ea02f4643 # timeout=10 [2022-12-13T11:36:28.337Z] Commit message: "feat: Initial commit for REST commands functionality update" [2022-12-13T11:36:28.385Z] > git --version # timeout=10 [2022-12-13T11:36:28.396Z] > git --version # 'git version 2.25.1' [2022-12-13T11:36:28.418Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-13T11:36:29.511Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-13T11:36:29.511Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-13T11:36:29.511Z] Dload Upload Total Spent Left Speed [2022-12-13T11:36:29.511Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67824 0 --:--:-- --:--:-- --:--:-- 67824 [Pipeline] sh [2022-12-13T11:36:30.252Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-13T11:36:30.603Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-13T11:36:30.603Z] + sudo tee /etc/docker/daemon.new [2022-12-13T11:36:30.603Z] { [2022-12-13T11:36:30.603Z] "registry-mirrors": [ [2022-12-13T11:36:30.603Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-13T11:36:30.603Z] ], [2022-12-13T11:36:30.603Z] "bip": "10.250.0.254/24", [2022-12-13T11:36:30.603Z] "hosts": [ [2022-12-13T11:36:30.603Z] "tcp://0.0.0.0:5555", [2022-12-13T11:36:30.604Z] "unix:///var/run/docker.sock" [2022-12-13T11:36:30.604Z] ], [2022-12-13T11:36:30.604Z] "mtu": 1458, [2022-12-13T11:36:30.604Z] "selinux-enabled": true, [2022-12-13T11:36:30.604Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-13T11:36:30.604Z] } [Pipeline] sh [2022-12-13T11:36:30.944Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-13T11:36:31.284Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T11:36:49.600Z] provisioning config files... [2022-12-13T11:36:49.630Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16143606091401836440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:36:50.018Z] ---> docker-login.sh [2022-12-13T11:36:50.018Z] nexus3.edgexfoundry.org:10001 [2022-12-13T11:36:50.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:36:50.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:36:50.605Z] Configure a credential helper to remove this warning. See [2022-12-13T11:36:50.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:36:50.605Z] [2022-12-13T11:36:50.605Z] Login Succeeded [2022-12-13T11:36:50.605Z] nexus3.edgexfoundry.org:10002 [2022-12-13T11:36:50.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:36:51.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:36:51.146Z] Configure a credential helper to remove this warning. See [2022-12-13T11:36:51.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:36:51.146Z] [2022-12-13T11:36:51.146Z] Login Succeeded [2022-12-13T11:36:51.146Z] nexus3.edgexfoundry.org:10003 [2022-12-13T11:36:51.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:36:51.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:36:51.414Z] Configure a credential helper to remove this warning. See [2022-12-13T11:36:51.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:36:51.414Z] [2022-12-13T11:36:51.414Z] Login Succeeded [2022-12-13T11:36:51.414Z] nexus3.edgexfoundry.org:10004 [2022-12-13T11:36:51.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:36:51.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:36:51.688Z] Configure a credential helper to remove this warning. See [2022-12-13T11:36:51.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:36:51.689Z] [2022-12-13T11:36:51.689Z] Login Succeeded [2022-12-13T11:36:51.689Z] docker.io [2022-12-13T11:36:51.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:36:52.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:36:52.226Z] Configure a credential helper to remove this warning. See [2022-12-13T11:36:52.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:36:52.226Z] [2022-12-13T11:36:52.226Z] Login Succeeded [2022-12-13T11:36:52.226Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T11:36:52.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-13T11:36:52.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T11:36:52.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T11:36:52.601Z] ========================================================= [2022-12-13T11:36:52.601Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-13T11:36:52.601Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:36:53.117Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-13T11:36:53.118Z] Sending build context to Docker daemon 149.5kB [2022-12-13T11:36:53.387Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-13T11:36:53.387Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-13T11:36:53.388Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-13T11:36:53.388Z] 9b18e9b68314: Pulling fs layer [2022-12-13T11:36:53.388Z] 35d82f9e3411: Pulling fs layer [2022-12-13T11:36:53.388Z] e16973657156: Pulling fs layer [2022-12-13T11:36:53.388Z] fc693d55d65f: Pulling fs layer [2022-12-13T11:36:53.388Z] 7e9fc2657dce: Pulling fs layer [2022-12-13T11:36:53.388Z] dda99020689f: Pulling fs layer [2022-12-13T11:36:53.388Z] db1c61fa0a46: Pulling fs layer [2022-12-13T11:36:53.388Z] 891c053d2c06: Pulling fs layer [2022-12-13T11:36:53.388Z] fc693d55d65f: Waiting [2022-12-13T11:36:53.388Z] 7e9fc2657dce: Waiting [2022-12-13T11:36:53.388Z] dda99020689f: Waiting [2022-12-13T11:36:53.388Z] db1c61fa0a46: Waiting [2022-12-13T11:36:53.388Z] 891c053d2c06: Waiting [2022-12-13T11:36:53.663Z] e16973657156: Verifying Checksum [2022-12-13T11:36:53.663Z] e16973657156: Download complete [2022-12-13T11:36:53.663Z] 35d82f9e3411: Verifying Checksum [2022-12-13T11:36:53.663Z] 35d82f9e3411: Download complete [2022-12-13T11:36:53.663Z] 7e9fc2657dce: Verifying Checksum [2022-12-13T11:36:53.663Z] 7e9fc2657dce: Download complete [2022-12-13T11:36:53.663Z] dda99020689f: Verifying Checksum [2022-12-13T11:36:53.663Z] dda99020689f: Download complete [2022-12-13T11:36:53.663Z] 9b18e9b68314: Verifying Checksum [2022-12-13T11:36:53.663Z] 9b18e9b68314: Download complete [2022-12-13T11:36:54.644Z] 9b18e9b68314: Pull complete [2022-12-13T11:36:54.644Z] 891c053d2c06: Verifying Checksum [2022-12-13T11:36:54.644Z] 891c053d2c06: Download complete [2022-12-13T11:36:54.917Z] 35d82f9e3411: Pull complete [2022-12-13T11:36:55.509Z] e16973657156: Pull complete [2022-12-13T11:36:55.779Z] db1c61fa0a46: Verifying Checksum [2022-12-13T11:36:55.779Z] db1c61fa0a46: Download complete [2022-12-13T11:36:56.366Z] fc693d55d65f: Verifying Checksum [2022-12-13T11:36:56.366Z] fc693d55d65f: Download complete [2022-12-13T11:37:08.689Z] fc693d55d65f: Pull complete [2022-12-13T11:37:08.689Z] 7e9fc2657dce: Pull complete [2022-12-13T11:37:08.689Z] dda99020689f: Pull complete [2022-12-13T11:37:12.957Z] db1c61fa0a46: Pull complete [2022-12-13T11:37:14.370Z] 891c053d2c06: Pull complete [2022-12-13T11:37:14.637Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-13T11:37:14.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-13T11:37:14.637Z] ---> f96f9c87975a [2022-12-13T11:37:14.637Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-13T11:37:16.582Z] ---> Running in d874747fa145 [2022-12-13T11:37:16.582Z] Removing intermediate container d874747fa145 [2022-12-13T11:37:16.582Z] ---> 512e66d76f1e [2022-12-13T11:37:16.582Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-13T11:37:16.849Z] ---> Running in 5136265eb511 [2022-12-13T11:37:17.116Z] Removing intermediate container 5136265eb511 [2022-12-13T11:37:17.116Z] ---> 3cb00488740a [2022-12-13T11:37:17.116Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-13T11:37:17.116Z] ---> Running in 2670806576ac [2022-12-13T11:37:17.383Z] Removing intermediate container 2670806576ac [2022-12-13T11:37:17.383Z] ---> b5c466a5f369 [2022-12-13T11:37:17.383Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-13T11:37:17.383Z] ---> Running in 375634ca06a6 [2022-12-13T11:37:17.654Z] Removing intermediate container 375634ca06a6 [2022-12-13T11:37:17.654Z] ---> 5112f095b881 [2022-12-13T11:37:17.654Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-13T11:37:17.930Z] ---> Running in 859c4e42538d [2022-12-13T11:37:18.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-13T11:37:19.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-13T11:37:20.119Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-13T11:37:20.119Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-13T11:37:20.119Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-13T11:37:20.119Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-13T11:37:20.119Z] Executing busybox-1.35.0-r17.trigger [2022-12-13T11:37:20.119Z] OK: 226 MiB in 55 packages [2022-12-13T11:37:21.089Z] Removing intermediate container 859c4e42538d [2022-12-13T11:37:21.089Z] ---> b4e18e02162c [2022-12-13T11:37:21.089Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-13T11:37:21.361Z] ---> Running in b47999eea239 [2022-12-13T11:37:21.630Z] Removing intermediate container b47999eea239 [2022-12-13T11:37:21.630Z] ---> a8b7aaa93616 [2022-12-13T11:37:21.630Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-13T11:37:24.217Z] ---> 01a063d847e8 [2022-12-13T11:37:24.217Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-13T11:37:24.217Z] ---> Running in 0ad92e8279b2 [2022-12-13T11:38:20.629Z] Removing intermediate container 0ad92e8279b2 [2022-12-13T11:38:20.629Z] ---> 6f380390cb78 [2022-12-13T11:38:20.629Z] Step 11/12 : COPY . . [2022-12-13T11:38:20.629Z] ---> 4fdead13a3c5 [2022-12-13T11:38:20.629Z] Step 12/12 : RUN $MAKE [2022-12-13T11:38:20.629Z] ---> Running in e87ba49bc683 [2022-12-13T11:38:20.629Z] noop [2022-12-13T11:38:20.629Z] Removing intermediate container e87ba49bc683 [2022-12-13T11:38:20.629Z] ---> 75c787426ae3 [2022-12-13T11:38:20.629Z] Successfully built 75c787426ae3 [2022-12-13T11:38:20.629Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:38:21.129Z] + docker inspect -f . ci-base-image-arm64 [2022-12-13T11:38:21.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:38:21.394Z] prd-ubuntu20.04-docker-arm64-4c-16g-121059 does not seem to be running inside a container [2022-12-13T11:38:21.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-13T11:38:22.615Z] $ docker top f15564c90c18d154fbc1bd56fd652764693f40488bd4ff42b674ff7b9578e2df -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T11:38:23.485Z] + go version [2022-12-13T11:38:23.485Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-13T11:38:23.519Z] $ docker stop --time=1 f15564c90c18d154fbc1bd56fd652764693f40488bd4ff42b674ff7b9578e2df [2022-12-13T11:38:25.317Z] $ docker rm -f f15564c90c18d154fbc1bd56fd652764693f40488bd4ff42b674ff7b9578e2df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:38:26.155Z] + docker inspect -f . ci-base-image-arm64 [2022-12-13T11:38:26.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:38:26.390Z] prd-ubuntu20.04-docker-arm64-4c-16g-121059 does not seem to be running inside a container [2022-12-13T11:38:26.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-13T11:38:27.533Z] $ docker top 3f21d4772254901da9d6cff09bc86aa089f40b32c2cc496fa4957166d2939417 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T11:38:28.076Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-12-13T11:38:28.472Z] + make test [2022-12-13T11:38:28.472Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-13T11:38:29.884Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-13T11:39:51.536Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-13T11:39:51.536Z] # github.com/edgexfoundry/device-rest-go/driver [2022-12-13T11:39:51.536Z] driver/restdriver.go:278: fmt.Errorf call has arguments but no formatting directives [2022-12-13T11:39:51.536Z] driver/restdriver.go:460: fmt.Errorf call has arguments but no formatting directives [2022-12-13T11:39:51.536Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2022-12-13T11:39:51.536Z] FAIL [2022-12-13T11:39:51.536Z] make: *** [Makefile:39: unittest] Error 2 [Pipeline] } [2022-12-13T11:39:51.578Z] $ docker stop --time=1 3f21d4772254901da9d6cff09bc86aa089f40b32c2cc496fa4957166d2939417 [2022-12-13T11:39:53.316Z] $ docker rm -f 3f21d4772254901da9d6cff09bc86aa089f40b32c2cc496fa4957166d2939417 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:39:54.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T11:39:54.775Z] [2022-12-13T11:39:54.775Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:39:55.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T11:39:55.447Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-13T11:39:55.447Z] 8998bd30e6a1: Pulling fs layer [2022-12-13T11:39:55.447Z] 04944245beec: Pulling fs layer [2022-12-13T11:39:55.447Z] 699f458cf7ca: Pulling fs layer [2022-12-13T11:39:55.447Z] 765212b225bb: Pulling fs layer [2022-12-13T11:39:55.447Z] f23df028b6ca: Pulling fs layer [2022-12-13T11:39:55.447Z] d65c8cfc05b1: Pulling fs layer [2022-12-13T11:39:55.447Z] 2437ff75d9bd: Pulling fs layer [2022-12-13T11:39:55.447Z] 765212b225bb: Waiting [2022-12-13T11:39:55.447Z] f23df028b6ca: Waiting [2022-12-13T11:39:55.447Z] d65c8cfc05b1: Waiting [2022-12-13T11:39:55.447Z] 2437ff75d9bd: Waiting [2022-12-13T11:39:55.447Z] 04944245beec: Verifying Checksum [2022-12-13T11:39:55.447Z] 04944245beec: Download complete [2022-12-13T11:39:55.447Z] 765212b225bb: Verifying Checksum [2022-12-13T11:39:55.447Z] 765212b225bb: Download complete [2022-12-13T11:39:55.447Z] f23df028b6ca: Verifying Checksum [2022-12-13T11:39:55.447Z] f23df028b6ca: Download complete [2022-12-13T11:39:55.447Z] d65c8cfc05b1: Verifying Checksum [2022-12-13T11:39:55.447Z] d65c8cfc05b1: Download complete [2022-12-13T11:39:55.721Z] 699f458cf7ca: Verifying Checksum [2022-12-13T11:39:55.721Z] 699f458cf7ca: Download complete [2022-12-13T11:39:55.989Z] 8998bd30e6a1: Verifying Checksum [2022-12-13T11:39:55.989Z] 8998bd30e6a1: Download complete [2022-12-13T11:39:58.592Z] 2437ff75d9bd: Verifying Checksum [2022-12-13T11:39:58.592Z] 2437ff75d9bd: Download complete [2022-12-13T11:40:00.001Z] 8998bd30e6a1: Pull complete [2022-12-13T11:40:00.270Z] 04944245beec: Pull complete [2022-12-13T11:40:03.622Z] 699f458cf7ca: Pull complete [2022-12-13T11:40:03.622Z] 765212b225bb: Pull complete [2022-12-13T11:40:04.213Z] f23df028b6ca: Pull complete [2022-12-13T11:40:04.213Z] d65c8cfc05b1: Pull complete [2022-12-13T11:40:19.214Z] 2437ff75d9bd: Pull complete [2022-12-13T11:40:19.214Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-13T11:40:19.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T11:40:19.214Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:40:19.541Z] prd-ubuntu20.04-docker-arm64-4c-16g-121059 does not seem to be running inside a container [2022-12-13T11:40:19.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-13T11:40:21.903Z] $ docker top 0d852abc1f1b318872cd94f11543548741f748cd6dd06a2285410238ec83e08d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:40:22.799Z] ---> job-cost.sh [2022-12-13T11:40:22.799Z] lf-activate-venv: SKIPPING [2022-12-13T11:40:22.799Z] INFO: No Stack... [2022-12-13T11:40:23.065Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-13T11:40:24.024Z] INFO: Archiving Costs [Pipeline] sh [2022-12-13T11:40:24.359Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-12-13T11:40:24.359Z] + cut -d, -f6 [Pipeline] lock [2022-12-13T11:40:24.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-1-stack-cost] [2022-12-13T11:40:24.445Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-1-stack-cost] did not exist. Created. [2022-12-13T11:40:24.445Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-13T11:40:25.254Z] /w/workspace/device-rest-go/1@tmp/durable-f8fa834f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-13T11:40:25.649Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-13T11:40:25.707Z] Warning: overwriting stash ‘stack-cost’ [2022-12-13T11:40:26.144Z] Stashed 1 file(s) [Pipeline] } [2022-12-13T11:40:26.241Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-13T11:40:26.332Z] $ docker stop --time=1 0d852abc1f1b318872cd94f11543548741f748cd6dd06a2285410238ec83e08d [2022-12-13T11:40:27.791Z] $ docker rm -f 0d852abc1f1b318872cd94f11543548741f748cd6dd06a2285410238ec83e08d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-13T11:40:28.480Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-12-13T11:40:30.504Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] [2022-12-13T11:40:30.504Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-13T11:40:30.504Z] total 16 [2022-12-13T11:40:30.504Z] drwxr-xr-x 3 root root 4096 Dec 13 11:35 . [2022-12-13T11:40:30.504Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 11:35 .. [2022-12-13T11:40:30.504Z] drwxr-xr-x 2 root root 4096 Dec 13 11:35 cost [2022-12-13T11:40:30.504Z] -rw-r--r-- 1 root root 86 Dec 13 11:35 cost.csv [2022-12-13T11:40:30.504Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-13T11:40:30.504Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-13T11:40:30.504Z] total 16 [2022-12-13T11:40:30.504Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 11:35 . [2022-12-13T11:40:30.504Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 11:35 .. [2022-12-13T11:40:30.504Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 11:35 cost [2022-12-13T11:40:30.504Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 13 11:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:40:30.819Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:40:31.702Z] ---> package-listing.sh [2022-12-13T11:40:31.702Z] ++ facter osfamily [2022-12-13T11:40:31.702Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-13T11:40:31.963Z] + OS_FAMILY=debian [2022-12-13T11:40:31.963Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 [2022-12-13T11:40:31.963Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-13T11:40:31.963Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-13T11:40:31.963Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-13T11:40:31.963Z] + PACKAGES=/tmp/packages_start.txt [2022-12-13T11:40:31.963Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2022-12-13T11:40:31.963Z] + PACKAGES=/tmp/packages_end.txt [2022-12-13T11:40:31.963Z] + case "${OS_FAMILY}" in [2022-12-13T11:40:31.963Z] + dpkg -l [2022-12-13T11:40:31.963Z] + grep '^ii' [2022-12-13T11:40:31.963Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-13T11:40:31.963Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-13T11:40:31.963Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-13T11:40:31.963Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2022-12-13T11:40:31.963Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [2022-12-13T11:40:31.963Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo [2022-12-13T11:40:32.003Z] 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-13T11:40:32.294Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:40:32.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T11:40:32.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:40:33.070Z] prd-ubuntu20.04-docker-8c-8g-121058 does not seem to be running inside a container [2022-12-13T11:40:33.100Z] $ 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-229/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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-13T11:40:33.304Z] $ docker top 1e257627bfa7b89cc55fafa892d82fbf7f65d7c622cefe2b7ac60d88491285b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T11:40:33.692Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-13T11:40:34.006Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-13T11:40:34.316Z] + ls /var/log/sa-host [2022-12-13T11:40:34.316Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T11:40:34.525Z] provisioning config files... [2022-12-13T11:40:34.544Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config6761257867329817046tmp [Pipeline] { [Pipeline] echo [2022-12-13T11:40:34.589Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:40:34.897Z] ---> create-netrc.sh [Pipeline] } [2022-12-13T11:40:34.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:40:35.334Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-13T11:40:35.367Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:40:35.687Z] ---> sudo-logs.sh [2022-12-13T11:40:35.687Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-13T11:40:35.774Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:40:36.082Z] ---> job-cost.sh [2022-12-13T11:40:36.082Z] lf-activate-venv: SKIPPING [2022-12-13T11:40:36.082Z] DEBUG: total: 0.2199999988079071 [2022-12-13T11:40:36.082Z] INFO: Retrieving Stack Cost... [2022-12-13T11:40:36.650Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-13T11:40:36.909Z] INFO: Archiving Costs [Pipeline] echo [2022-12-13T11:40:36.947Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:40:37.256Z] ---> logs-deploy.sh [2022-12-13T11:40:37.256Z] lf-activate-venv: SKIPPING [2022-12-13T11:40:37.256Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/1 [2022-12-13T11:40:37.256Z] INFO: archiving workspace using pattern(s): [2022-12-13T11:40:38.205Z] Archives upload complete. [2022-12-13T11:40:38.205Z] INFO: archiving logs to Nexus