Pull request #172 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 MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at d2dd5877ffea6850c3b0cb999012b17b1a99601c rather than 38ba93ecec46e991dad3e2364345e21ac86cdcbb Obtained Jenkinsfile from d2dd5877ffea6850c3b0cb999012b17b1a99601c 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-ssh8813863832314770664.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13207586427488744845.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-172/workspace@libs/edgex-global-pipelines # 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-172/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3485840091118689130.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-172/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7624013382337986354.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh14341157542424876727.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-172/workspace@libs/lf-pipelines # 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-172/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12965472136105120253.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-19509 in /w/workspace/gexfoundry_device-rest-go_PR-172 [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-172 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d2dd5877ffea6850c3b0cb999012b17b1a99601c into PR head commit 38ba93ecec46e991dad3e2364345e21ac86cdcbb Merge succeeded, producing 776db09b48e2b401bf83870e070ffdc2c3ca42f5 Checking out Revision 776db09b48e2b401bf83870e070ffdc2c3ca42f5 (PR-172) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38ba93ecec46e991dad3e2364345e21ac86cdcbb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d2dd5877ffea6850c3b0cb999012b17b1a99601c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 776db09b48e2b401bf83870e070ffdc2c3ca42f5 # timeout=10 Commit message: "Merge commit 'd2dd5877ffea6850c3b0cb999012b17b1a99601c' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:38:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:38:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:38:13 ========================================================= 14:38:13 EdgeX Global Pipelines Version Info 14:38:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:38:14 ------------------- 14:38:14 stable info: 14:38:14 ------------------- 14:38:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:38:14 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:38:14 Message: update stable to v1.0.221 14:38:14 ------------------- 14:38:14 experimental info: 14:38:14 ------------------- 14:38:14 Commited By: **** collab-it+edgex@linuxfoundation.org 14:38:14 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:38:14 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:38:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:38:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:38:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:38:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:38:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo 14:38:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo 14:38:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo 14:38:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 776db09b48e2b401bf83870e070ffdc2c3ca42f5 [Pipeline] echo 14:38:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 776db09 [Pipeline] echo 14:38:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:38:16 provisioning config files... 14:38:16 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-172@tmp/config4320429920416314038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:38:18 ---> docker-login.sh 14:38:18 nexus3.edgexfoundry.org:10001 14:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:18 Configure a credential helper to remove this warning. See 14:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:18 14:38:18 Login Succeeded 14:38:18 nexus3.edgexfoundry.org:10002 14:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:18 Configure a credential helper to remove this warning. See 14:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:18 14:38:18 Login Succeeded 14:38:18 nexus3.edgexfoundry.org:10003 14:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:18 Configure a credential helper to remove this warning. See 14:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:18 14:38:18 Login Succeeded 14:38:18 nexus3.edgexfoundry.org:10004 14:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:19 Configure a credential helper to remove this warning. See 14:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:19 14:38:19 Login Succeeded 14:38:19 docker.io 14:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:20 Configure a credential helper to remove this warning. See 14:38:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:20 14:38:20 Login Succeeded 14:38:20 ---> docker-login.sh ends [Pipeline] } 14:38:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:38:22 + git rev-list -1 --merges 776db09b48e2b401bf83870e070ffdc2c3ca42f5~1..776db09b48e2b401bf83870e070ffdc2c3ca42f5 [Pipeline] echo 14:38:22 -----------> git rev-list -1 --merges 776db09b48e2b401bf83870e070ffdc2c3ca42f5~1..776db09b48e2b401bf83870e070ffdc2c3ca42f5 776db09b48e2b401bf83870e070ffdc2c3ca42f5 14:38:22 776db09b48e2b401bf83870e070ffdc2c3ca42f5 [false] [Pipeline] sh 14:38:23 + git log --format=format:%s -1 776db09b48e2b401bf83870e070ffdc2c3ca42f5 [Pipeline] echo 14:38:24 ========================================================= 14:38:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:38:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:38:24 + git log --format=format:%s -1 776db09b48e2b401bf83870e070ffdc2c3ca42f5 [Pipeline] echo 14:38:24 [semverPrep] GIT_COMMIT: 776db09b48e2b401bf83870e070ffdc2c3ca42f5, Commit Message: Merge commit 'd2dd5877ffea6850c3b0cb999012b17b1a99601c' into HEAD [Pipeline] echo 14:38:25 [semverPrep] This is not a build commit. [Pipeline] sh 14:38:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:38:25 + grep -v github /etc/ssh/ssh_known_hosts 14:38:25 + [ -e /tmp/ssh_known_hosts ] 14:38:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:38:25 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:38:25 sudo tee -a /etc/ssh/ssh_known_hosts 14:38:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:38:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:38:26 14:38:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:38:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:38:26 latest: Pulling from edgex-devops/git-semver 14:38:26 a0d0a0d46f8b: Pulling fs layer 14:38:26 3e5f54012d9b: Pulling fs layer 14:38:26 4c7163046ea9: Pulling fs layer 14:38:26 0c2d73faf560: Pulling fs layer 14:38:26 0c2d73faf560: Waiting 14:38:26 3e5f54012d9b: Download complete 14:38:26 0c2d73faf560: Verifying Checksum 14:38:26 0c2d73faf560: Download complete 14:38:26 4c7163046ea9: Verifying Checksum 14:38:26 4c7163046ea9: Download complete 14:38:29 a0d0a0d46f8b: Verifying Checksum 14:38:29 a0d0a0d46f8b: Download complete 14:38:29 a0d0a0d46f8b: Pull complete 14:38:29 3e5f54012d9b: Pull complete 14:38:29 4c7163046ea9: Pull complete 14:38:29 0c2d73faf560: Pull complete 14:38:29 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:38:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:38:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:38:31 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 14:38:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-172 -v /w/workspace/gexfoundry_device-rest-go_PR-172:/w/workspace/gexfoundry_device-rest-go_PR-172:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-172@tmp:/w/workspace/gexfoundry_device-rest-go_PR-172@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:38:32 $ docker top 676c540420ff2a19461de83fb7a3fbced7bdd8e5c24ac935be7612b3d81667db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:38:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:38:32 [ssh-agent] Looking for ssh-agent implementation... 14:38:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:38:32 $ docker exec 676c540420ff2a19461de83fb7a3fbced7bdd8e5c24ac935be7612b3d81667db ssh-agent 14:38:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOIJpoc/agent.13 14:38:32 SSH_AGENT_PID=20 14:38:32 Running ssh-add (command line suppressed) 14:38:33 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-172@tmp/private_key_5708571936911766703.key (/w/workspace/gexfoundry_device-rest-go_PR-172@tmp/private_key_5708571936911766703.key) 14:38:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:38:33 + git tag --points-at HEAD [Pipeline] } 14:38:33 $ docker exec --env ******** --env ******** 676c540420ff2a19461de83fb7a3fbced7bdd8e5c24ac935be7612b3d81667db ssh-agent -k 14:38:33 unset SSH_AUTH_SOCK; 14:38:33 unset SSH_AGENT_PID; 14:38:33 echo Agent pid 20 killed; 14:38:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:38:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:38:34 [ssh-agent] Looking for ssh-agent implementation... 14:38:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:38:34 $ docker exec 676c540420ff2a19461de83fb7a3fbced7bdd8e5c24ac935be7612b3d81667db ssh-agent 14:38:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcmnPiN/agent.52 14:38:34 SSH_AGENT_PID=58 14:38:34 Running ssh-add (command line suppressed) 14:38:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-172@tmp/private_key_1337767030926248099.key (/w/workspace/gexfoundry_device-rest-go_PR-172@tmp/private_key_1337767030926248099.key) 14:38:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:38:35 + git semver init 14:38:35 # -> Open(): unable to determine branch for HEAD 14:38:35 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-172/.git 14:38:35 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-172 14:38:35 # $SEMVER_REMOTE_NAME = origin 14:38:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:38:35 # $SEMVER_USER_NAME = edgex-jenkins 14:38:35 # $SEMVER_BRANCH = PR-172 14:38:35 # $SEMVER_TEMP = /tmp/semver-948982451 14:38:35 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 14:38:40 # '/tmp/semver-948982451' -> '/w/workspace/gexfoundry_device-rest-go_PR-172/.semver' 14:38:40 # -> Force: false 14:38:40 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-172/.semver [Pipeline] } 14:38:40 $ docker exec --env ******** --env ******** 676c540420ff2a19461de83fb7a3fbced7bdd8e5c24ac935be7612b3d81667db ssh-agent -k 14:38:41 unset SSH_AUTH_SOCK; 14:38:41 unset SSH_AGENT_PID; 14:38:41 echo Agent pid 58 killed; 14:38:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:38:41 + git semver [Pipeline] } 14:38:41 $ docker stop --time=1 676c540420ff2a19461de83fb7a3fbced7bdd8e5c24ac935be7612b3d81667db 14:38:42 $ docker rm -f 676c540420ff2a19461de83fb7a3fbced7bdd8e5c24ac935be7612b3d81667db [Pipeline] // withDockerContainer [Pipeline] sh 14:38:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:38:43 Stashed 1 file(s) [Pipeline] echo 14:38:43 [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 14:38:44 provisioning config files... 14:38:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-172@tmp/config6433814186936105410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:38:44 ---> docker-login.sh 14:38:44 nexus3.edgexfoundry.org:10001 14:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:44 Configure a credential helper to remove this warning. See 14:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:44 14:38:44 Login Succeeded 14:38:44 nexus3.edgexfoundry.org:10002 14:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:44 Configure a credential helper to remove this warning. See 14:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:44 14:38:44 Login Succeeded 14:38:44 nexus3.edgexfoundry.org:10003 14:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:44 Configure a credential helper to remove this warning. See 14:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:44 14:38:44 Login Succeeded 14:38:44 nexus3.edgexfoundry.org:10004 14:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:45 Configure a credential helper to remove this warning. See 14:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:45 14:38:45 Login Succeeded 14:38:45 docker.io 14:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:45 Configure a credential helper to remove this warning. See 14:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:45 14:38:45 Login Succeeded 14:38:45 ---> docker-login.sh ends [Pipeline] } 14:38:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:38:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:38:45 ========================================================= 14:38:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:38:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:38:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 14:38:46 Sending build context to Docker daemon 10.58MB 14:38:46 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:38:46 Step 2/12 : FROM ${BASE} AS builder 14:38:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:38:46 59bf1c3509f3: Pulling fs layer 14:38:46 666ba61612fd: Pulling fs layer 14:38:46 8ed8ca486205: Pulling fs layer 14:38:46 4fe6c5a15a65: Pulling fs layer 14:38:46 22a0e8bec74d: Pulling fs layer 14:38:46 640e595b4fbd: Pulling fs layer 14:38:46 763cafe07f6e: Pulling fs layer 14:38:46 0c0b528cf693: Pulling fs layer 14:38:46 10935f4eaf8b: Pulling fs layer 14:38:46 4fe6c5a15a65: Waiting 14:38:46 763cafe07f6e: Waiting 14:38:46 22a0e8bec74d: Waiting 14:38:46 640e595b4fbd: Waiting 14:38:46 0c0b528cf693: Waiting 14:38:46 10935f4eaf8b: Waiting 14:38:46 8ed8ca486205: Verifying Checksum 14:38:46 8ed8ca486205: Download complete 14:38:46 666ba61612fd: Verifying Checksum 14:38:46 666ba61612fd: Download complete 14:38:46 22a0e8bec74d: Verifying Checksum 14:38:46 22a0e8bec74d: Download complete 14:38:46 640e595b4fbd: Verifying Checksum 14:38:46 640e595b4fbd: Download complete 14:38:46 763cafe07f6e: Verifying Checksum 14:38:46 763cafe07f6e: Download complete 14:38:46 59bf1c3509f3: Download complete 14:38:46 0c0b528cf693: Verifying Checksum 14:38:46 0c0b528cf693: Download complete 14:38:46 59bf1c3509f3: Pull complete 14:38:46 666ba61612fd: Pull complete 14:38:46 8ed8ca486205: Pull complete 14:38:46 10935f4eaf8b: Verifying Checksum 14:38:46 10935f4eaf8b: Download complete 14:38:46 4fe6c5a15a65: Verifying Checksum 14:38:46 4fe6c5a15a65: Download complete 14:38:51 4fe6c5a15a65: Pull complete 14:38:51 22a0e8bec74d: Pull complete 14:38:51 640e595b4fbd: Pull complete 14:38:51 763cafe07f6e: Pull complete 14:38:51 0c0b528cf693: Pull complete 14:38:52 10935f4eaf8b: Pull complete 14:38:52 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 14:38:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:38:52 ---> 99d49a6021b9 14:38:52 Step 3/12 : ARG MAKE='make build' 14:38:54 ---> Running in 217b34160c54 14:38:54 Removing intermediate container 217b34160c54 14:38:54 ---> a19b76b6ade8 14:38:54 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:38:54 ---> Running in 81ba93ffb1a2 14:38:54 Removing intermediate container 81ba93ffb1a2 14:38:54 ---> 7a47cdf63335 14:38:54 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 14:38:54 ---> Running in a229aa10cc4e 14:38:54 Removing intermediate container a229aa10cc4e 14:38:54 ---> 2ba58f722026 14:38:54 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:38:54 ---> Running in ea18148d1cfa 14:38:55 Removing intermediate container ea18148d1cfa 14:38:55 ---> 3e8fb71936a3 14:38:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:38:55 ---> Running in d127e600a2dc 14:38:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:38:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:38:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:38:56 (2/4) Installing libedit (20210910.3.1-r0) 14:38:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:38:56 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:38:57 Executing busybox-1.34.1-r3.trigger 14:38:57 OK: 224 MiB in 56 packages 14:38:57 Removing intermediate container d127e600a2dc 14:38:57 ---> a498331e9132 14:38:57 Step 8/12 : WORKDIR /device-rest-go 14:38:57 ---> Running in 2dfebce7dcd1 14:38:57 Removing intermediate container 2dfebce7dcd1 14:38:57 ---> 32b4b29f3e11 14:38:57 Step 9/12 : COPY go.mod vendor* ./ 14:38:57 ---> a8d8f38a287d 14:38:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:38:57 ---> Running in fdbabc1ed867 14:38:59 Still waiting to schedule task 14:38:59 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 14:39:12 Removing intermediate container fdbabc1ed867 14:39:12 ---> 131ccefd9dee 14:39:12 Step 11/12 : COPY . . 14:39:12 ---> db8f04e4aea8 14:39:12 Step 12/12 : RUN $MAKE 14:39:12 ---> Running in c5fd0fece647 14:39:12 noop 14:39:12 Removing intermediate container c5fd0fece647 14:39:12 ---> 7d84fbcd7104 14:39:12 Successfully built 7d84fbcd7104 14:39:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:39:13 + docker inspect -f . ci-base-image-x86_64 14:39:13 . [Pipeline] withDockerContainer 14:39:13 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 14:39:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-172 -v /w/workspace/gexfoundry_device-rest-go_PR-172:/w/workspace/gexfoundry_device-rest-go_PR-172:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-172@tmp:/w/workspace/gexfoundry_device-rest-go_PR-172@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 ******** ci-base-image-x86_64 cat 14:39:13 $ docker top 8ab1f9bee64d71d3f334bfc8f1fae17efcfc8027dd1ac66df9fb881306b4fa2f -eo pid,comm [Pipeline] { [Pipeline] sh 14:39:14 + go version 14:39:14 go version go1.17.6 linux/amd64 [Pipeline] } 14:39:14 $ docker stop --time=1 8ab1f9bee64d71d3f334bfc8f1fae17efcfc8027dd1ac66df9fb881306b4fa2f 14:39:15 $ docker rm -f 8ab1f9bee64d71d3f334bfc8f1fae17efcfc8027dd1ac66df9fb881306b4fa2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:39:16 + docker inspect -f . ci-base-image-x86_64 14:39:16 . [Pipeline] withDockerContainer 14:39:16 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 14:39:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-172 -v /w/workspace/gexfoundry_device-rest-go_PR-172:/w/workspace/gexfoundry_device-rest-go_PR-172:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-172@tmp:/w/workspace/gexfoundry_device-rest-go_PR-172@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 ******** ci-base-image-x86_64 cat 14:39:16 $ docker top 27937f64e100d3bbf0dcb445e2878e766705dad97223dc03d5e2827e40e3feb9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:39:17 + make test 14:39:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:39:17 ? github.com/edgexfoundry/device-rest-go [no test files] 14:39:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:39:27 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements 14:39:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:39:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:39:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:39:36 ./bin/test-attribution-txt.sh [Pipeline] echo 14:39:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:39:36 $ docker stop --time=1 27937f64e100d3bbf0dcb445e2878e766705dad97223dc03d5e2827e40e3feb9 14:39:38 $ docker rm -f 27937f64e100d3bbf0dcb445e2878e766705dad97223dc03d5e2827e40e3feb9 [Pipeline] // withDockerContainer [Pipeline] sh 14:39:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:39:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:39:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:39:40 + ls -al . 14:39:40 total 172 14:39:40 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 14:39 . 14:39:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 14:38 .. 14:39:40 -rw-rw-r-- 1 jenkins jenkins 151 Apr 11 14:38 .dockerignore 14:39:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 14:38 .git 14:39:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 14:38 .github 14:39:40 -rw-rw-r-- 1 jenkins jenkins 329 Apr 11 14:38 .gitignore 14:39:40 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 14:38 .golangci.yml 14:39:40 drwx------ 3 jenkins jenkins 4096 Apr 11 14:38 .semver 14:39:40 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 11 14:38 Attribution.txt 14:39:40 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 11 14:38 CHANGELOG.md 14:39:40 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 11 14:38 Dockerfile 14:39:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 14:38 GOVERNANCE.md 14:39:40 -rw-rw-r-- 1 jenkins jenkins 680 Apr 11 14:38 Jenkinsfile 14:39:40 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 14:38 LICENSE 14:39:40 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 11 14:38 Makefile 14:39:40 -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 14:38 OWNERS.md 14:39:40 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 11 14:38 README.md 14:39:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 14:38 VERSION 14:39:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 14:38 bin 14:39:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 14:38 cmd 14:39:40 -rw-r--r-- 1 jenkins jenkins 9355 Apr 11 14:39 coverage.out 14:39:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 14:38 driver 14:39:40 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 11 14:38 go.mod 14:39:40 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 11 14:38 go.sum 14:39:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 14:38 snap 14:39:40 -rw-rw-r-- 1 jenkins jenkins 713 Apr 11 14:38 version.go [Pipeline] isUnix [Pipeline] sh 14:39:40 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=776db09b48e2b401bf83870e070ffdc2c3ca42f5 --label arch=amd64 --label version=0.0.0 . 14:39:40 Sending build context to Docker daemon 10.59MB 14:39:40 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:39:40 Step 2/25 : FROM ${BASE} AS builder 14:39:40 ---> 7d84fbcd7104 14:39:40 Step 3/25 : ARG MAKE='make build' 14:39:40 ---> Running in a907400d92e2 14:39:40 Removing intermediate container a907400d92e2 14:39:40 ---> c10ec4172d4c 14:39:40 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:39:40 ---> Running in 18cef6495f88 14:39:40 Removing intermediate container 18cef6495f88 14:39:40 ---> b25571eaddbb 14:39:40 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:39:41 ---> Running in 41bdc89d3b2f 14:39:41 Removing intermediate container 41bdc89d3b2f 14:39:41 ---> 8c999b00a5c0 14:39:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:39:41 ---> Running in bbc1ea3bf0d7 14:39:41 Removing intermediate container bbc1ea3bf0d7 14:39:41 ---> d86a5b8baaf9 14:39:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:39:41 ---> Running in f8da12de3444 14:39:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:39:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:39:43 OK: 224 MiB in 56 packages 14:39:43 Removing intermediate container f8da12de3444 14:39:43 ---> 274c603f8734 14:39:43 Step 8/25 : WORKDIR /device-rest-go 14:39:43 ---> Running in a44438dbfa12 14:39:43 Removing intermediate container a44438dbfa12 14:39:43 ---> 54ae7b937091 14:39:43 Step 9/25 : COPY go.mod vendor* ./ 14:39:43 ---> 6e914b2887c5 14:39:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:39:43 ---> Running in dacddc2e9cfd 14:39:44 Removing intermediate container dacddc2e9cfd 14:39:44 ---> b0002685a222 14:39:44 Step 11/25 : COPY . . 14:39:44 ---> 6d44a1ee0521 14:39:44 Step 12/25 : RUN $MAKE 14:39:44 ---> Running in a3278c28f837 14:39:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 14:40:07 Removing intermediate container a3278c28f837 14:40:07 ---> ccb062243676 14:40:07 Step 13/25 : FROM alpine:3.14 14:40:07 3.14: Pulling from library/alpine 14:40:07 8663204ce13b: Pulling fs layer 14:40:07 8663204ce13b: Verifying Checksum 14:40:07 8663204ce13b: Download complete 14:40:07 8663204ce13b: Pull complete 14:40:07 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:40:07 Status: Downloaded newer image for alpine:3.14 14:40:07 ---> e04c818066af 14:40:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:40:07 ---> Running in 40671e1a24d1 14:40:07 Removing intermediate container 40671e1a24d1 14:40:07 ---> 2708d1248026 14:40:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:40:07 ---> Running in f45906840ae4 14:40:07 Removing intermediate container f45906840ae4 14:40:07 ---> 3deaf7bd1bfc 14:40:07 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:40:07 ---> Running in 6f99652fc9c9 14:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:40:07 (1/6) Installing dumb-init (1.2.5-r1) 14:40:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:40:07 (3/6) Installing libsodium (1.0.18-r0) 14:40:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:40:07 (5/6) Installing libzmq (4.3.4-r0) 14:40:07 (6/6) Installing zeromq (4.3.4-r0) 14:40:07 Executing busybox-1.33.1-r7.trigger 14:40:07 OK: 8 MiB in 20 packages 14:40:07 Removing intermediate container 6f99652fc9c9 14:40:07 ---> dc018aa3a3c4 14:40:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:40:07 ---> 73a71baa81e6 14:40:07 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:40:07 ---> 373a20b36174 14:40:07 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:40:07 ---> 41a49ca1dc0c 14:40:07 Step 20/25 : EXPOSE 59986 14:40:07 ---> Running in e1cebf86e79b 14:40:07 Removing intermediate container e1cebf86e79b 14:40:07 ---> 2b96968db2ed 14:40:07 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:40:07 ---> Running in 7b241b0a9723 14:40:07 Removing intermediate container 7b241b0a9723 14:40:07 ---> c93b855113e9 14:40:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:40:07 ---> Running in 63a571c0dee5 14:40:07 Removing intermediate container 63a571c0dee5 14:40:07 ---> 49658ccfba90 14:40:07 Step 23/25 : LABEL arch=amd64 14:40:07 ---> Running in fbc2b609c151 14:40:07 Removing intermediate container fbc2b609c151 14:40:07 ---> 52e3aadf3128 14:40:07 Step 24/25 : LABEL git_sha=776db09b48e2b401bf83870e070ffdc2c3ca42f5 14:40:07 ---> Running in 0c9da494b054 14:40:07 Removing intermediate container 0c9da494b054 14:40:07 ---> ea3ac7d5456b 14:40:07 Step 25/25 : LABEL version=0.0.0 14:40:07 ---> Running in dfa827528e0c 14:40:07 Removing intermediate container dfa827528e0c 14:40:07 ---> 041982903e38 14:40:07 [Warning] One or more build-args [ARCH] were not consumed 14:40:07 Successfully built 041982903e38 14:40:07 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:40:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:40:08 14:40:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:40:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:40:08 latest: Pulling from edgex-lftools-log-publisher 14:40:08 5eb5b503b376: Pulling fs layer 14:40:08 5c69ac0246d0: Pulling fs layer 14:40:08 ec43610c2a17: Pulling fs layer 14:40:08 3a2ae6a8a46f: Pulling fs layer 14:40:08 33b1e0a273af: Pulling fs layer 14:40:08 5d3b04190fa2: Pulling fs layer 14:40:08 2f39f015ded8: Pulling fs layer 14:40:08 3a2ae6a8a46f: Waiting 14:40:08 33b1e0a273af: Waiting 14:40:08 5d3b04190fa2: Waiting 14:40:08 2f39f015ded8: Waiting 14:40:08 5c69ac0246d0: Verifying Checksum 14:40:08 5c69ac0246d0: Download complete 14:40:08 3a2ae6a8a46f: Verifying Checksum 14:40:08 3a2ae6a8a46f: Download complete 14:40:08 33b1e0a273af: Verifying Checksum 14:40:08 33b1e0a273af: Download complete 14:40:08 5d3b04190fa2: Verifying Checksum 14:40:08 5d3b04190fa2: Download complete 14:40:08 ec43610c2a17: Verifying Checksum 14:40:08 ec43610c2a17: Download complete 14:40:09 5eb5b503b376: Verifying Checksum 14:40:09 5eb5b503b376: Download complete 14:40:09 2f39f015ded8: Download complete 14:40:10 5eb5b503b376: Pull complete 14:40:10 5c69ac0246d0: Pull complete 14:40:10 ec43610c2a17: Pull complete 14:40:10 3a2ae6a8a46f: Pull complete 14:40:11 33b1e0a273af: Pull complete 14:40:11 5d3b04190fa2: Pull complete 14:40:15 2f39f015ded8: Pull complete 14:40:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:40:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:40:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:40:15 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 14:40:15 $ 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-172 -v /w/workspace/gexfoundry_device-rest-go_PR-172:/w/workspace/gexfoundry_device-rest-go_PR-172:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-172@tmp:/w/workspace/gexfoundry_device-rest-go_PR-172@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 14:40:17 $ docker top fea4a1829fcdb80117bb1d745774bc509bfa01e999f93b7486ef0433a116f7ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:40:17 ---> job-cost.sh 14:40:17 lf-activate-venv: SKIPPING 14:40:17 INFO: No Stack... 14:40:18 INFO: Retrieving Pricing Info for: v3-standard-8 14:40:18 INFO: Archiving Costs [Pipeline] sh 14:40:18 + cat /w/workspace/gexfoundry_device-rest-go_PR-172/archives/cost.csv 14:40:18 + cut -d, -f6 [Pipeline] lock 14:40:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-172-1-stack-cost] 14:40:19 Resource [jenkins-edgexfoundry-device-rest-go-PR-172-1-stack-cost] did not exist. Created. 14:40:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-172-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:40:19 + echo total: 0.2199999988079071 [Pipeline] stash 14:40:19 Stashed 1 file(s) [Pipeline] } 14:40:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-172-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:40:19 $ docker stop --time=1 fea4a1829fcdb80117bb1d745774bc509bfa01e999f93b7486ef0433a116f7ab 14:40:20 $ docker rm -f fea4a1829fcdb80117bb1d745774bc509bfa01e999f93b7486ef0433a116f7ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:43:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19515 in /w/workspace/gexfoundry_device-rest-go_PR-172 [Pipeline] { [Pipeline] ws 14:43:35 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 14:43:36 The recommended git tool is: git 14:43:43 using credential edgex-jenkins-ssh 14:43:43 Cloning the remote Git repository 14:43:43 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:43:43 > git init /w/workspace/device-rest-go/1 # timeout=10 14:43:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:43:43 > git --version # timeout=10 14:43:43 > git --version # 'git version 2.25.1' 14:43:43 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:43:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:43:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:43:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:43:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:43:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:43:46 Merging remotes/origin/main commit d2dd5877ffea6850c3b0cb999012b17b1a99601c into PR head commit 38ba93ecec46e991dad3e2364345e21ac86cdcbb 14:43:46 Merge succeeded, producing f528a72f504cea35dce633b42a91e7d708177e0b 14:43:46 Checking out Revision f528a72f504cea35dce633b42a91e7d708177e0b (PR-172) 14:43:46 > git config core.sparsecheckout # timeout=10 14:43:46 > git checkout -f 38ba93ecec46e991dad3e2364345e21ac86cdcbb # timeout=10 14:43:46 > git remote # timeout=10 14:43:46 > git config --get remote.origin.url # timeout=10 14:43:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:46 > git merge d2dd5877ffea6850c3b0cb999012b17b1a99601c # timeout=10 14:43:46 > git rev-parse HEAD^{commit} # timeout=10 14:43:46 > git config core.sparsecheckout # timeout=10 14:43:46 > git checkout -f f528a72f504cea35dce633b42a91e7d708177e0b # timeout=10 14:43:51 Commit message: "Merge commit 'd2dd5877ffea6850c3b0cb999012b17b1a99601c' into HEAD" 14:43:51 First time build. Skipping changelog. 14:43:51 > git --version # timeout=10 14:43:51 > git --version # 'git version 2.25.1' 14:43:51 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:43:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:43:52 % Total % Received % Xferd Average Speed Time Time Time Current 14:43:52 Dload Upload Total Spent Left Speed 14:43:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45903 0 --:--:-- --:--:-- --:--:-- 45725 [Pipeline] sh 14:43:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:43:53 + sudo tee /etc/docker/daemon.new 14:43:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:43:53 { 14:43:53 "registry-mirrors": [ 14:43:53 "https://nexus3.edgexfoundry.org:10001" 14:43:53 ], 14:43:53 "bip": "10.250.0.254/24", 14:43:53 "hosts": [ 14:43:53 "tcp://0.0.0.0:5555", 14:43:53 "unix:///var/run/docker.sock" 14:43:53 ], 14:43:53 "mtu": 1458, 14:43:53 "selinux-enabled": true, 14:43:53 "seccomp-profile": "/etc/docker/seccomp.json" 14:43:53 } [Pipeline] sh 14:43:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:43:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:44:13 provisioning config files... 14:44:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2232082624965431103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:44:13 ---> docker-login.sh 14:44:13 nexus3.edgexfoundry.org:10001 14:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:14 Configure a credential helper to remove this warning. See 14:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:14 14:44:14 Login Succeeded 14:44:14 nexus3.edgexfoundry.org:10002 14:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:15 Configure a credential helper to remove this warning. See 14:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:15 14:44:15 Login Succeeded 14:44:15 nexus3.edgexfoundry.org:10003 14:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:15 Configure a credential helper to remove this warning. See 14:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:15 14:44:15 Login Succeeded 14:44:15 nexus3.edgexfoundry.org:10004 14:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:16 Configure a credential helper to remove this warning. See 14:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:16 14:44:16 Login Succeeded 14:44:16 docker.io 14:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:17 Configure a credential helper to remove this warning. See 14:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:17 14:44:17 Login Succeeded 14:44:17 ---> docker-login.sh ends [Pipeline] } 14:44:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:44:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:44:17 ========================================================= 14:44:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:44:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:44:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 14:44:18 Sending build context to Docker daemon 129.5kB 14:44:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:44:18 Step 2/12 : FROM ${BASE} AS builder 14:44:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:44:18 9b3977197b4f: Pulling fs layer 14:44:18 1a89e8eeedd5: Pulling fs layer 14:44:18 94645a83ff95: Pulling fs layer 14:44:18 3f3a8bcf1eab: Pulling fs layer 14:44:18 0c92f367c5e7: Pulling fs layer 14:44:18 f7c0051592d6: Pulling fs layer 14:44:18 a227ed2f7395: Pulling fs layer 14:44:18 7b1c46037f91: Pulling fs layer 14:44:18 f7c0051592d6: Waiting 14:44:18 a227ed2f7395: Waiting 14:44:18 7b1c46037f91: Waiting 14:44:18 3f3a8bcf1eab: Waiting 14:44:18 0c92f367c5e7: Waiting 14:44:18 94645a83ff95: Verifying Checksum 14:44:18 94645a83ff95: Download complete 14:44:18 1a89e8eeedd5: Verifying Checksum 14:44:18 1a89e8eeedd5: Download complete 14:44:18 0c92f367c5e7: Verifying Checksum 14:44:18 0c92f367c5e7: Download complete 14:44:18 f7c0051592d6: Verifying Checksum 14:44:18 f7c0051592d6: Download complete 14:44:18 9b3977197b4f: Verifying Checksum 14:44:18 a227ed2f7395: Verifying Checksum 14:44:18 a227ed2f7395: Download complete 14:44:19 9b3977197b4f: Pull complete 14:44:19 1a89e8eeedd5: Pull complete 14:44:20 94645a83ff95: Pull complete 14:44:20 7b1c46037f91: Verifying Checksum 14:44:20 7b1c46037f91: Download complete 14:44:21 3f3a8bcf1eab: Verifying Checksum 14:44:21 3f3a8bcf1eab: Download complete 14:44:33 3f3a8bcf1eab: Pull complete 14:44:34 0c92f367c5e7: Pull complete 14:44:34 f7c0051592d6: Pull complete 14:44:34 a227ed2f7395: Pull complete 14:44:41 7b1c46037f91: Pull complete 14:44:41 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 14:44:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:44:41 ---> f79e39bc4007 14:44:41 Step 3/12 : ARG MAKE='make build' 14:44:42 ---> Running in 84374d36c1e3 14:44:42 Removing intermediate container 84374d36c1e3 14:44:42 ---> 69f5ea8bca4b 14:44:42 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:44:42 ---> Running in 7e63ade91da5 14:44:42 Removing intermediate container 7e63ade91da5 14:44:42 ---> ee674e14891c 14:44:42 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 14:44:42 ---> Running in a747f0bed791 14:44:43 Removing intermediate container a747f0bed791 14:44:43 ---> a7d1611367dc 14:44:43 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:44:43 ---> Running in a2546fc15265 14:44:45 Removing intermediate container a2546fc15265 14:44:45 ---> 23814af7e662 14:44:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:44:45 ---> Running in 4bd262794896 14:44:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:44:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:44:48 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:44:48 (2/4) Installing libedit (20210910.3.1-r0) 14:44:48 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:44:48 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:44:49 Executing busybox-1.34.1-r3.trigger 14:44:49 OK: 224 MiB in 56 packages 14:44:50 Removing intermediate container 4bd262794896 14:44:50 ---> 7acac51aa2d7 14:44:50 Step 8/12 : WORKDIR /device-rest-go 14:44:50 ---> Running in 902d98c595b3 14:44:50 Removing intermediate container 902d98c595b3 14:44:50 ---> 7057ccd02426 14:44:50 Step 9/12 : COPY go.mod vendor* ./ 14:44:50 ---> 1b0dec4285ee 14:44:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:44:50 ---> Running in c667bf5e0c25 14:45:37 Removing intermediate container c667bf5e0c25 14:45:37 ---> 70e0bea106ed 14:45:37 Step 11/12 : COPY . . 14:45:37 ---> fb6ef7810371 14:45:37 Step 12/12 : RUN $MAKE 14:45:37 ---> Running in 4a1404c8cf97 14:45:38 noop 14:45:39 Removing intermediate container 4a1404c8cf97 14:45:39 ---> e68a5ed6a42f 14:45:39 Successfully built e68a5ed6a42f 14:45:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:45:39 + docker inspect -f . ci-base-image-arm64 14:45:39 . [Pipeline] withDockerContainer 14:45:39 prd-ubuntu20.04-docker-arm64-4c-16g-19515 does not seem to be running inside a container 14:45:39 $ 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 14:45:41 $ docker top aadc44d0942b5a8f0c16db7ddac0f4a50565c675fff7745ead23175854534ce7 -eo pid,comm [Pipeline] { [Pipeline] sh 14:45:42 + go version 14:45:42 go version go1.17.6 linux/arm64 [Pipeline] } 14:45:42 $ docker stop --time=1 aadc44d0942b5a8f0c16db7ddac0f4a50565c675fff7745ead23175854534ce7 14:45:44 $ docker rm -f aadc44d0942b5a8f0c16db7ddac0f4a50565c675fff7745ead23175854534ce7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:45:44 + docker inspect -f . ci-base-image-arm64 14:45:44 . [Pipeline] withDockerContainer 14:45:45 prd-ubuntu20.04-docker-arm64-4c-16g-19515 does not seem to be running inside a container 14:45:45 $ 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 14:45:46 $ docker top 99030f92c718855dd31238949f1f04809f47d144da8a6c163ecabe458901c84f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:45:47 + make test 14:45:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:45:49 ? github.com/edgexfoundry/device-rest-go [no test files] 14:47:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:47:13 ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 55.2% of statements 14:47:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:47:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:47:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:47:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:47:40 ./bin/test-attribution-txt.sh [Pipeline] echo 14:47:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:47:42 $ docker stop --time=1 99030f92c718855dd31238949f1f04809f47d144da8a6c163ecabe458901c84f 14:47:43 $ docker rm -f 99030f92c718855dd31238949f1f04809f47d144da8a6c163ecabe458901c84f [Pipeline] // withDockerContainer [Pipeline] sh 14:47:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:47:44 Warning: overwriting stash ‘coverage-report’ 14:47:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:47:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:47:46 + ls -al . 14:47:46 total 168 14:47:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 14:47 . 14:47:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 14:43 .. 14:47:46 -rw-rw-r-- 1 jenkins jenkins 151 Apr 11 14:43 .dockerignore 14:47:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 14:43 .git 14:47:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 14:43 .github 14:47:46 -rw-rw-r-- 1 jenkins jenkins 329 Apr 11 14:43 .gitignore 14:47:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 14:43 .golangci.yml 14:47:46 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 11 14:43 Attribution.txt 14:47:46 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 11 14:43 CHANGELOG.md 14:47:46 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 11 14:43 Dockerfile 14:47:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 14:43 GOVERNANCE.md 14:47:46 -rw-rw-r-- 1 jenkins jenkins 680 Apr 11 14:43 Jenkinsfile 14:47:46 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 14:43 LICENSE 14:47:46 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 11 14:43 Makefile 14:47:46 -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 14:43 OWNERS.md 14:47:46 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 11 14:43 README.md 14:47:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 14:38 VERSION 14:47:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 14:43 bin 14:47:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 14:43 cmd 14:47:46 -rw-r--r-- 1 jenkins jenkins 9355 Apr 11 14:47 coverage.out 14:47:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 14:43 driver 14:47:46 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 11 14:43 go.mod 14:47:46 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 11 14:43 go.sum 14:47:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 14:43 snap 14:47:46 -rw-rw-r-- 1 jenkins jenkins 713 Apr 11 14:43 version.go [Pipeline] isUnix [Pipeline] sh 14:47:46 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f528a72f504cea35dce633b42a91e7d708177e0b --label arch=arm64 --label version=0.0.0 . 14:47:46 Sending build context to Docker daemon 139.8kB 14:47:47 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:47:47 Step 2/25 : FROM ${BASE} AS builder 14:47:47 ---> e68a5ed6a42f 14:47:47 Step 3/25 : ARG MAKE='make build' 14:47:47 ---> Running in d063d769098e 14:47:47 Removing intermediate container d063d769098e 14:47:47 ---> 9bf9b6026299 14:47:47 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:47:47 ---> Running in cda37cb33060 14:47:47 Removing intermediate container cda37cb33060 14:47:47 ---> 13fa28473531 14:47:47 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:47:47 ---> Running in 4c6eebae8ac5 14:47:48 Removing intermediate container 4c6eebae8ac5 14:47:48 ---> e040d1207710 14:47:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:47:48 ---> Running in 7720f5d83fc7 14:47:49 Removing intermediate container 7720f5d83fc7 14:47:49 ---> f6c1dddd1316 14:47:49 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:47:50 ---> Running in b9c9ed62cff1 14:47:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:47:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:47:53 OK: 224 MiB in 56 packages 14:47:54 Removing intermediate container b9c9ed62cff1 14:47:54 ---> 20d248300e45 14:47:54 Step 8/25 : WORKDIR /device-rest-go 14:47:54 ---> Running in 7125ce3fbca1 14:47:54 Removing intermediate container 7125ce3fbca1 14:47:54 ---> 6c28761774b8 14:47:54 Step 9/25 : COPY go.mod vendor* ./ 14:47:55 ---> 5dcfd45b016a 14:47:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:47:55 ---> Running in d5dfcdfacc3b 14:47:57 Removing intermediate container d5dfcdfacc3b 14:47:57 ---> 7070be4ce55b 14:47:57 Step 11/25 : COPY . . 14:47:57 ---> fa5eb6242bd9 14:47:57 Step 12/25 : RUN $MAKE 14:47:57 ---> Running in 6c9c976efdc8 14:47:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 14:50:05 Removing intermediate container 6c9c976efdc8 14:50:05 ---> aab4fb1d5363 14:50:05 Step 13/25 : FROM alpine:3.14 14:50:05 3.14: Pulling from library/alpine 14:50:05 455c02918c45: Pulling fs layer 14:50:05 455c02918c45: Verifying Checksum 14:50:05 455c02918c45: Download complete 14:50:06 455c02918c45: Pull complete 14:50:06 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:50:06 Status: Downloaded newer image for alpine:3.14 14:50:06 ---> ac73e934f311 14:50:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:50:06 ---> Running in 6d9134f59a1e 14:50:07 Removing intermediate container 6d9134f59a1e 14:50:07 ---> b4972f5132dd 14:50:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:50:07 ---> Running in 7d44b51fc831 14:50:07 Removing intermediate container 7d44b51fc831 14:50:07 ---> e853bcceaaae 14:50:07 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:50:07 ---> Running in 844eab9547c3 14:50:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:50:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:50:09 (1/6) Installing dumb-init (1.2.5-r1) 14:50:09 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:50:09 (3/6) Installing libsodium (1.0.18-r0) 14:50:09 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:50:09 (5/6) Installing libzmq (4.3.4-r0) 14:50:09 (6/6) Installing zeromq (4.3.4-r0) 14:50:09 Executing busybox-1.33.1-r7.trigger 14:50:09 OK: 8 MiB in 20 packages 14:50:10 Removing intermediate container 844eab9547c3 14:50:10 ---> c2ddbadbf050 14:50:10 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:50:12 ---> 8cdcdb2d1405 14:50:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:50:12 ---> 8d6f215e69b7 14:50:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:50:13 ---> ca747b8e783b 14:50:13 Step 20/25 : EXPOSE 59986 14:50:13 ---> Running in fe79ffcfae82 14:50:13 Removing intermediate container fe79ffcfae82 14:50:13 ---> 8d065fbfcc7f 14:50:13 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:50:13 ---> Running in bcb947b84862 14:50:14 Removing intermediate container bcb947b84862 14:50:14 ---> aa19c73ab738 14:50:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:50:14 ---> Running in 7e51f8126d60 14:50:14 Removing intermediate container 7e51f8126d60 14:50:14 ---> 9f6ede8a4598 14:50:14 Step 23/25 : LABEL arch=arm64 14:50:14 ---> Running in 6c5d8360a87d 14:50:14 Removing intermediate container 6c5d8360a87d 14:50:14 ---> dd740a682df8 14:50:14 Step 24/25 : LABEL git_sha=f528a72f504cea35dce633b42a91e7d708177e0b 14:50:15 ---> Running in 0893f45d4810 14:50:15 Removing intermediate container 0893f45d4810 14:50:15 ---> 0a405d1142a5 14:50:15 Step 25/25 : LABEL version=0.0.0 14:50:15 ---> Running in e0e654ebdead 14:50:15 Removing intermediate container e0e654ebdead 14:50:15 ---> 72ef380e51ec 14:50:15 [Warning] One or more build-args [ARCH] were not consumed 14:50:15 Successfully built 72ef380e51ec 14:50:15 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:50:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:50:16 14:50:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:50:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:50:17 arm64: Pulling from edgex-lftools-log-publisher 14:50:17 8998bd30e6a1: Pulling fs layer 14:50:17 04944245beec: Pulling fs layer 14:50:17 699f458cf7ca: Pulling fs layer 14:50:17 765212b225bb: Pulling fs layer 14:50:17 765212b225bb: Waiting 14:50:17 f23df028b6ca: Pulling fs layer 14:50:17 d65c8cfc05b1: Pulling fs layer 14:50:17 f23df028b6ca: Waiting 14:50:17 2437ff75d9bd: Pulling fs layer 14:50:17 2437ff75d9bd: Waiting 14:50:17 d65c8cfc05b1: Waiting 14:50:17 04944245beec: Verifying Checksum 14:50:17 04944245beec: Download complete 14:50:17 765212b225bb: Verifying Checksum 14:50:17 765212b225bb: Download complete 14:50:17 f23df028b6ca: Verifying Checksum 14:50:17 f23df028b6ca: Download complete 14:50:17 d65c8cfc05b1: Verifying Checksum 14:50:17 d65c8cfc05b1: Download complete 14:50:17 699f458cf7ca: Verifying Checksum 14:50:17 699f458cf7ca: Download complete 14:50:17 8998bd30e6a1: Verifying Checksum 14:50:17 8998bd30e6a1: Download complete 14:50:20 2437ff75d9bd: Verifying Checksum 14:50:20 2437ff75d9bd: Download complete 14:50:22 8998bd30e6a1: Pull complete 14:50:22 04944245beec: Pull complete 14:50:23 699f458cf7ca: Pull complete 14:50:24 765212b225bb: Pull complete 14:50:24 f23df028b6ca: Pull complete 14:50:25 d65c8cfc05b1: Pull complete 14:50:40 2437ff75d9bd: Pull complete 14:50:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:50:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:50:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:50:40 prd-ubuntu20.04-docker-arm64-4c-16g-19515 does not seem to be running inside a container 14:50:40 $ 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 14:50:43 $ docker top 15ab6313d58946529210ff25226109ecaf3eaa83040eec22c817b7211a041e93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:50:44 ---> job-cost.sh 14:50:44 lf-activate-venv: SKIPPING 14:50:44 INFO: No Stack... 14:50:45 INFO: Retrieving Pricing Info for: v3-standard-4 14:50:46 INFO: Archiving Costs [Pipeline] sh 14:50:46 + cat /w/workspace/device-rest-go/1/archives/cost.csv 14:50:46 + cut -d, -f6 [Pipeline] lock 14:50:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-172-1-stack-cost] 14:50:46 Resource [jenkins-edgexfoundry-device-rest-go-PR-172-1-stack-cost] did not exist. Created. 14:50:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-172-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:50:47 /w/workspace/device-rest-go/1@tmp/durable-33f2e113/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:50:48 + echo total: 0.10999999940395355 [Pipeline] stash 14:50:48 Warning: overwriting stash ‘stack-cost’ 14:50:48 Stashed 1 file(s) [Pipeline] } 14:50:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-172-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:50:48 $ docker stop --time=1 15ab6313d58946529210ff25226109ecaf3eaa83040eec22c817b7211a041e93 14:50:50 $ docker rm -f 15ab6313d58946529210ff25226109ecaf3eaa83040eec22c817b7211a041e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 14:50:51 provisioning config files... 14:50:51 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-172@tmp/config48841127494033857tmp [Pipeline] { [Pipeline] sh 14:50:51 + set +x 14:50:51 + curl -s https://codecov.io/bash 14:50:51 + bash -s -- 14:50:51 14:50:51 _____ _ 14:50:51 / ____| | | 14:50:51 | | ___ __| | ___ ___ _____ __ 14:50:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:50:51 | |___| (_) | (_| | __/ (_| (_) \ V / 14:50:51 \_____\___/ \__,_|\___|\___\___/ \_/ 14:50:51 Bash-1.0.6 14:50:51 14:50:51 14:50:51 ==> git version 2.25.1 found 14:50:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 14:50:51 Release-Date: 2020-01-08 14:50:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:50:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:50:51 ==> Jenkins CI detected. 14:50:51 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-172 14:50:51 project root: . 14:50:51 --> token set from env 14:50:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:50:51 ==> Running gcov in . (disable via -X gcov) 14:50:51 ==> Python coveragepy not found 14:50:51 ==> Searching for coverage reports in: 14:50:51 + . 14:50:51 -> Found 1 reports 14:50:51 ==> Detecting git/mercurial file structure 14:50:51 ==> Reading reports 14:50:51 + ./coverage.out bytes=9355 14:50:51 ==> Appending adjustments 14:50:51 https://docs.codecov.io/docs/fixing-reports 14:50:52 + Found adjustments 14:50:52 ==> Gzipping contents 14:50:52 4.0K /tmp/codecov.N3n9Ea.gz 14:50:52 ==> Uploading reports 14:50:52 url: https://codecov.io 14:50:52 query: branch=PR-172&commit=776db09b48e2b401bf83870e070ffdc2c3ca42f5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-172%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=172&job=&cmd_args= 14:50:52 -> Pinging Codecov 14:50:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-172&commit=776db09b48e2b401bf83870e070ffdc2c3ca42f5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-172%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=172&job=&cmd_args= 14:50:52 -> Uploading to 14:50:52 https://storage.googleapis.com/codecov/v4/raw/2022-04-11/4E5D53B4F1F92C436F7061BF334D961C/776db09b48e2b401bf83870e070ffdc2c3ca42f5/cf618000-836e-4d19-a793-cd13a76a49f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T145052Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c00424fc64700802de4d35eb7cd34e9c9e0d0726600d14e3e5bbb87c6d70688 14:50:52 % Total % Received % Xferd Average Speed Time Time Time Current 14:50:52 Dload Upload Total Spent Left Speed 14:50:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7258 --:--:-- --:--:-- --:--:-- 7258 14:50:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/776db09b48e2b401bf83870e070ffdc2c3ca42f5 [Pipeline] } 14:50:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:50:54 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-172/archives ] 14:50:54 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-172/archives 14:50:54 total 16 14:50:54 drwxr-xr-x 3 root root 4096 Apr 11 14:40 . 14:50:54 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 14:40 .. 14:50:54 drwxr-xr-x 2 root root 4096 Apr 11 14:40 cost 14:50:54 -rw-r--r-- 1 root root 86 Apr 11 14:40 cost.csv 14:50:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-172/archives 14:50:54 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-172/archives 14:50:54 total 16 14:50:54 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 14:40 . 14:50:54 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 14:40 .. 14:50:54 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 14:40 cost 14:50:54 -rw-r--r-- 1 jenkins jenkins 86 Apr 11 14:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:50:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:50:55 ---> package-listing.sh 14:50:55 ++ facter osfamily 14:50:55 ++ tr '[:upper:]' '[:lower:]' 14:50:56 + OS_FAMILY=debian 14:50:56 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-172 14:50:56 + START_PACKAGES=/tmp/packages_start.txt 14:50:56 + END_PACKAGES=/tmp/packages_end.txt 14:50:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:50:56 + PACKAGES=/tmp/packages_start.txt 14:50:56 + '[' /w/workspace/gexfoundry_device-rest-go_PR-172 ']' 14:50:56 + PACKAGES=/tmp/packages_end.txt 14:50:56 + case "${OS_FAMILY}" in 14:50:56 + dpkg -l 14:50:56 + grep '^ii' 14:50:56 + '[' -f /tmp/packages_start.txt ']' 14:50:56 + '[' -f /tmp/packages_end.txt ']' 14:50:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:50:56 + '[' /w/workspace/gexfoundry_device-rest-go_PR-172 ']' 14:50:56 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-172/archives/ 14:50:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-172/archives/ [Pipeline] echo 14:50:56 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-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:50:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:50:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:50:57 . [Pipeline] withDockerContainer 14:50:57 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 14:50:57 $ 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-172/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-172 -v /w/workspace/gexfoundry_device-rest-go_PR-172:/w/workspace/gexfoundry_device-rest-go_PR-172:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-172@tmp:/w/workspace/gexfoundry_device-rest-go_PR-172@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:50:57 $ docker top b372024c07cd3079bfeb5e6756167a7bdbb5a2056bcbb3eaa2ff37d9a7b6c77b -eo pid,comm [Pipeline] { [Pipeline] sh 14:50:57 + touch /tmp/pre-build-complete [Pipeline] sh 14:50:58 + mkdir -p /var/log/sysstat [Pipeline] sh 14:50:58 + ls /var/log/sa-host 14:50:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:50:58 provisioning config files... 14:50:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-172@tmp/config7615215351616142116tmp [Pipeline] { [Pipeline] echo 14:50:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:50:59 ---> create-netrc.sh [Pipeline] } 14:50:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:50:59 ---> python-tools-install.sh [Pipeline] echo 14:50:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:50:59 ---> sudo-logs.sh 14:50:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:50:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:51:00 ---> job-cost.sh 14:51:00 lf-activate-venv: SKIPPING 14:51:00 DEBUG: total: 0.2199999988079071 14:51:00 INFO: Retrieving Stack Cost... 14:51:00 INFO: Retrieving Pricing Info for: v3-standard-8 14:51:01 INFO: Archiving Costs [Pipeline] echo 14:51:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:51:01 ---> logs-deploy.sh 14:51:01 lf-activate-venv: SKIPPING 14:51:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-172/1 14:51:01 INFO: archiving workspace using pattern(s): 14:51:02 Archives upload complete. 14:51:02 INFO: archiving logs to Nexus