Pull request #267 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1247785a1fc51975b6dbde80b0a9dd4e28977c7a+eb45550bbe0df662ecfda2dd82817b25f9b033bb (632e59365d17a82ec82f71929a69d9011ae06e08) 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-ssh11145679805006859363.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7318382066289467147.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14258042861038349918.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-267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16477737352316406379.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12185399079206538688.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-267/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-267/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6759702581239082242.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-630 in /w/workspace/gexfoundry_device-rest-go_PR-267 [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-267 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 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/267/head:refs/remotes/origin/PR-267 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eb45550bbe0df662ecfda2dd82817b25f9b033bb into PR head commit 1247785a1fc51975b6dbde80b0a9dd4e28977c7a Merge succeeded, producing 1247785a1fc51975b6dbde80b0a9dd4e28977c7a Checking out Revision 1247785a1fc51975b6dbde80b0a9dd4e28977c7a (PR-267) Commit message: "ci: Change dependabot gomod schedule to daily" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:48:49 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 1247785a1fc51975b6dbde80b0a9dd4e28977c7a # 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 eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1247785a1fc51975b6dbde80b0a9dd4e28977c7a # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:48:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:48:49 ========================================================= 15:48:49 EdgeX Global Pipelines Version Info 15:48:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:48:50 ------------------- 15:48:50 stable info: 15:48:50 ------------------- 15:48:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:48:50 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:48:50 Message: update stable to v1.0.245 15:48:50 ------------------- 15:48:50 experimental info: 15:48:50 ------------------- 15:48:50 Commited By: **** collab-it+edgex@linuxfoundation.org 15:48:50 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 15:48:50 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:48:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:48:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:48:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:48:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:48:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-267 [Pipeline] echo 15:48:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-267 [Pipeline] echo 15:48:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-267 [Pipeline] echo 15:48:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo 15:48:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1247785 [Pipeline] echo 15:48:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:48:52 provisioning config files... 15:48:52 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/config3859650597530879642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:52 ---> docker-login.sh 15:48:52 nexus3.edgexfoundry.org:10001 15:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:53 Configure a credential helper to remove this warning. See 15:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:53 15:48:53 Login Succeeded 15:48:53 nexus3.edgexfoundry.org:10002 15:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:53 Configure a credential helper to remove this warning. See 15:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:53 15:48:53 Login Succeeded 15:48:53 nexus3.edgexfoundry.org:10003 15:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:53 Configure a credential helper to remove this warning. See 15:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:53 15:48:53 Login Succeeded 15:48:53 nexus3.edgexfoundry.org:10004 15:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:53 Configure a credential helper to remove this warning. See 15:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:53 15:48:53 Login Succeeded 15:48:53 docker.io 15:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:53 Configure a credential helper to remove this warning. See 15:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:53 15:48:53 Login Succeeded 15:48:53 ---> docker-login.sh ends [Pipeline] } 15:48:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:48:54 + git rev-list -1 --merges 1247785a1fc51975b6dbde80b0a9dd4e28977c7a~1..1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo 15:48:54 -----------> git rev-list -1 --merges 1247785a1fc51975b6dbde80b0a9dd4e28977c7a~1..1247785a1fc51975b6dbde80b0a9dd4e28977c7a 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [false] [Pipeline] sh 15:48:54 + git log --format=format:%s -1 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo 15:48:54 ========================================================= 15:48:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:48:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:48:55 + git log --format=format:%s -1 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo 15:48:55 [semverPrep] GIT_COMMIT: 1247785a1fc51975b6dbde80b0a9dd4e28977c7a, Commit Message: ci: Change dependabot gomod schedule to daily [Pipeline] echo 15:48:55 [semverPrep] This is not a build commit. [Pipeline] sh 15:48:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:55 + grep -v github /etc/ssh/ssh_known_hosts 15:48:55 + [ -e /tmp/ssh_known_hosts ] 15:48:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:48:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:48:55 + sudo tee -a /etc/ssh/ssh_known_hosts 15:48:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:55 15:48:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:56 0.1.4: Pulling from edgex-devops/py-git-semver 15:48:56 b85a868b505f: Pulling fs layer 15:48:56 e2be974225ed: Pulling fs layer 15:48:56 339a4e72a1f5: Pulling fs layer 15:48:56 988bab9f4d93: Pulling fs layer 15:48:56 1469e6f7b9e6: Pulling fs layer 15:48:56 eaf3925da568: Pulling fs layer 15:48:56 bab4dde63d76: Pulling fs layer 15:48:56 bde34c3a00c8: Pulling fs layer 15:48:56 b352a97aabf1: Pulling fs layer 15:48:56 4872d77fe225: Pulling fs layer 15:48:56 5851b861e8e6: Pulling fs layer 15:48:56 988bab9f4d93: Waiting 15:48:56 1469e6f7b9e6: Waiting 15:48:56 bab4dde63d76: Waiting 15:48:56 bde34c3a00c8: Waiting 15:48:56 eaf3925da568: Waiting 15:48:56 b352a97aabf1: Waiting 15:48:56 5851b861e8e6: Waiting 15:48:56 4872d77fe225: Waiting 15:48:56 e2be974225ed: Verifying Checksum 15:48:56 e2be974225ed: Download complete 15:48:56 988bab9f4d93: Verifying Checksum 15:48:56 988bab9f4d93: Download complete 15:48:56 1469e6f7b9e6: Verifying Checksum 15:48:56 1469e6f7b9e6: Download complete 15:48:56 eaf3925da568: Download complete 15:48:56 339a4e72a1f5: Verifying Checksum 15:48:56 339a4e72a1f5: Download complete 15:48:56 b352a97aabf1: Verifying Checksum 15:48:56 b352a97aabf1: Download complete 15:48:56 4872d77fe225: Verifying Checksum 15:48:56 4872d77fe225: Download complete 15:48:56 5851b861e8e6: Download complete 15:48:56 b85a868b505f: Verifying Checksum 15:48:56 b85a868b505f: Download complete 15:48:57 bab4dde63d76: Verifying Checksum 15:48:57 bab4dde63d76: Download complete 15:48:57 b85a868b505f: Pull complete 15:48:57 e2be974225ed: Pull complete 15:48:58 339a4e72a1f5: Pull complete 15:48:58 988bab9f4d93: Pull complete 15:48:58 1469e6f7b9e6: Pull complete 15:48:58 eaf3925da568: Pull complete 15:49:00 bab4dde63d76: Pull complete 15:49:00 bde34c3a00c8: Pull complete 15:49:00 b352a97aabf1: Pull complete 15:49:00 4872d77fe225: Pull complete 15:49:00 5851b861e8e6: Pull complete 15:49:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:49:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:00 prd-ubuntu20.04-docker-8c-8g-630 does not seem to be running inside a container 15:49:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-267 -v /w/workspace/gexfoundry_device-rest-go_PR-267:/w/workspace/gexfoundry_device-rest-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-267@tmp:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:49:02 $ docker top 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf -eo pid,comm 15:49:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:49:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:49:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:02 [ssh-agent] Looking for ssh-agent implementation... 15:49:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:02 $ docker exec 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf ssh-agent 15:49:02 SSH_AUTH_SOCK=/tmp/ssh-MXwzHPfaw9YZ/agent.34 15:49:02 SSH_AGENT_PID=40 15:49:02 Running ssh-add (command line suppressed) 15:49:02 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-267@tmp/private_key_2948962023349291161.key (/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/private_key_2948962023349291161.key) 15:49:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:03 + git tag --points-at HEAD [Pipeline] } 15:49:03 $ docker exec --env ******** --env ******** 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf ssh-agent -k 15:49:03 unset SSH_AUTH_SOCK; 15:49:03 unset SSH_AGENT_PID; 15:49:03 echo Agent pid 40 killed; 15:49:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:49:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:03 [ssh-agent] Looking for ssh-agent implementation... 15:49:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:03 $ docker exec 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf ssh-agent 15:49:03 SSH_AUTH_SOCK=/tmp/ssh-hgf7b7hY298M/agent.72 15:49:03 SSH_AGENT_PID=78 15:49:03 Running ssh-add (command line suppressed) 15:49:03 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-267@tmp/private_key_12811065498393175760.key (/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/private_key_12811065498393175760.key) 15:49:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:04 + git semver init 15:49:04 2023-03-15 15:49:04,350 [run_init] DEBUG init version:0.0.0 force:False 15:49:04 2023-03-15 15:49:04,351 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-267/.semver 15:49:04 2023-03-15 15:49:04,351 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-267/.semver 15:49:04 2023-03-15 15:49:04,351 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-267/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-267, universal_newlines=False, shell=None, istream=None) 15:49:05 2023-03-15 15:49:05,263 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-267/.git/info/exclude 15:49:05 2023-03-15 15:49:05,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-267/.semver/PR-267 with force:False 15:49:05 2023-03-15 15:49:05,264 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-267/.semver/PR-267 15:49:05 2023-03-15 15:49:05,269 [execute] INFO git cat-file --batch-check 15:49:05 2023-03-15 15:49:05,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-267/.semver, universal_newlines=False, shell=None, istream=) 15:49:05 2023-03-15 15:49:05,274 [execute] INFO git cat-file --batch 15:49:05 2023-03-15 15:49:05,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-267/.semver, universal_newlines=False, shell=None, istream=) 15:49:05 2023-03-15 15:49:05,278 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-267/.semver/PR-267 15:49:05 0.0.0 [Pipeline] } 15:49:05 $ docker exec --env ******** --env ******** 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf ssh-agent -k 15:49:05 unset SSH_AUTH_SOCK; 15:49:05 unset SSH_AGENT_PID; 15:49:05 echo Agent pid 78 killed; 15:49:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:49:05 + git semver [Pipeline] } 15:49:06 $ docker stop --time=1 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf 15:49:07 $ docker rm -f --volumes 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf [Pipeline] // withDockerContainer [Pipeline] sh 15:49:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:49:08 Stashed 1 file(s) [Pipeline] echo 15:49:08 [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 15:49:08 provisioning config files... 15:49:08 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/config8452901653381801539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:09 ---> docker-login.sh 15:49:09 nexus3.edgexfoundry.org:10001 15:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:09 Configure a credential helper to remove this warning. See 15:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:09 15:49:09 Login Succeeded 15:49:09 nexus3.edgexfoundry.org:10002 15:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:09 Configure a credential helper to remove this warning. See 15:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:09 15:49:09 Login Succeeded 15:49:09 nexus3.edgexfoundry.org:10003 15:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:09 Configure a credential helper to remove this warning. See 15:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:09 15:49:09 Login Succeeded 15:49:09 nexus3.edgexfoundry.org:10004 15:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:09 Configure a credential helper to remove this warning. See 15:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:09 15:49:09 Login Succeeded 15:49:09 docker.io 15:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:09 Configure a credential helper to remove this warning. See 15:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:09 15:49:09 Login Succeeded 15:49:09 ---> docker-login.sh ends [Pipeline] } 15:49:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:10 ========================================================= 15:49:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:49:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:49:10 Sending build context to Docker daemon 10.85MB 15:49:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:49:10 Step 2/12 : FROM ${BASE} AS builder 15:49:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:49:10 63b65145d645: Pulling fs layer 15:49:10 a2d21d5440eb: Pulling fs layer 15:49:10 935e6c44a52c: Pulling fs layer 15:49:10 94cc34f8dd06: Pulling fs layer 15:49:10 30dea6a524f1: Pulling fs layer 15:49:10 a2aff8979fd8: Pulling fs layer 15:49:10 6808be2612f2: Pulling fs layer 15:49:10 f25807f1079a: Pulling fs layer 15:49:10 30dea6a524f1: Waiting 15:49:10 a2aff8979fd8: Waiting 15:49:10 6808be2612f2: Waiting 15:49:10 f25807f1079a: Waiting 15:49:10 94cc34f8dd06: Waiting 15:49:10 a2d21d5440eb: Verifying Checksum 15:49:10 a2d21d5440eb: Download complete 15:49:10 94cc34f8dd06: Verifying Checksum 15:49:10 94cc34f8dd06: Download complete 15:49:10 30dea6a524f1: Download complete 15:49:10 63b65145d645: Verifying Checksum 15:49:10 63b65145d645: Download complete 15:49:10 a2aff8979fd8: Verifying Checksum 15:49:10 a2aff8979fd8: Download complete 15:49:10 63b65145d645: Pull complete 15:49:11 a2d21d5440eb: Pull complete 15:49:11 f25807f1079a: Verifying Checksum 15:49:11 f25807f1079a: Download complete 15:49:11 935e6c44a52c: Verifying Checksum 15:49:11 935e6c44a52c: Download complete 15:49:11 6808be2612f2: Verifying Checksum 15:49:11 6808be2612f2: Download complete 15:49:14 935e6c44a52c: Pull complete 15:49:14 94cc34f8dd06: Pull complete 15:49:14 30dea6a524f1: Pull complete 15:49:14 a2aff8979fd8: Pull complete 15:49:16 6808be2612f2: Pull complete 15:49:17 f25807f1079a: Pull complete 15:49:17 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:49:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:49:17 ---> 3b553350e43f 15:49:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:49:19 ---> Running in 53544155de67 15:49:19 Removing intermediate container 53544155de67 15:49:19 ---> 0008792c4f39 15:49:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:49:19 ---> Running in 254b73f9fd98 15:49:19 Removing intermediate container 254b73f9fd98 15:49:19 ---> 2e0f002a7141 15:49:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:49:19 ---> Running in 101fd168d00f 15:49:19 Removing intermediate container 101fd168d00f 15:49:19 ---> 7d84880d6d39 15:49:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:49:19 ---> Running in 557672b60281 15:49:19 Removing intermediate container 557672b60281 15:49:19 ---> 63b1fd9014c1 15:49:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:49:20 ---> Running in 26d1c06dd033 15:49:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:49:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:49:20 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:49:20 (2/4) Installing libedit (20221030.3.1-r0) 15:49:20 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:49:20 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:49:20 Executing busybox-1.35.0-r29.trigger 15:49:20 OK: 269 MiB in 57 packages 15:49:21 Removing intermediate container 26d1c06dd033 15:49:21 ---> 069b54ce9233 15:49:21 Step 8/12 : WORKDIR /device-rest-go 15:49:21 ---> Running in cbbb5d2238b1 15:49:21 Removing intermediate container cbbb5d2238b1 15:49:21 ---> 08c32701f411 15:49:21 Step 9/12 : COPY go.mod vendor* ./ 15:49:21 ---> 59a3724b7ad2 15:49:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:21 ---> Running in bccad5209a4b 15:49:23 Still waiting to schedule task 15:49:23 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:49:43 Removing intermediate container bccad5209a4b 15:49:43 ---> c98b9f201d50 15:49:43 Step 11/12 : COPY . . 15:49:43 ---> 7668625d97ca 15:49:43 Step 12/12 : RUN $MAKE 15:49:43 ---> Running in 27db2ee8c3ad 15:49:43 noop 15:49:43 Removing intermediate container 27db2ee8c3ad 15:49:43 ---> 3d657baaee78 15:49:43 Successfully built 3d657baaee78 15:49:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:43 + docker inspect -f . ci-base-image-x86_64 15:49:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:43 prd-ubuntu20.04-docker-8c-8g-630 does not seem to be running inside a container 15:49:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-267 -v /w/workspace/gexfoundry_device-rest-go_PR-267:/w/workspace/gexfoundry_device-rest-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-267@tmp:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:49:44 $ docker top 3284174e98ff6417c344c76e9b0d3d2179328c6665c3b31acf208fd86188fb46 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:44 + go version 15:49:44 go version go1.20.2 linux/amd64 [Pipeline] } 15:49:44 $ docker stop --time=1 3284174e98ff6417c344c76e9b0d3d2179328c6665c3b31acf208fd86188fb46 15:49:46 $ docker rm -f --volumes 3284174e98ff6417c344c76e9b0d3d2179328c6665c3b31acf208fd86188fb46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:46 + docker inspect -f . ci-base-image-x86_64 15:49:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:46 prd-ubuntu20.04-docker-8c-8g-630 does not seem to be running inside a container 15:49:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-267 -v /w/workspace/gexfoundry_device-rest-go_PR-267:/w/workspace/gexfoundry_device-rest-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-267@tmp:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:49:47 $ docker top 8bf68fbe54fc86a32353de1d1cd172fdf1b5904ea909b6b8622c7ba80fd1d0b1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-267 [Pipeline] fileExists [Pipeline] sh 15:49:48 + make test 15:49:48 go test ./... -coverprofile=coverage.out ./... 15:49:53 ? github.com/edgexfoundry/device-rest-go [no test files] 15:50:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:50:03 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.1% of statements 15:50:10 go vet ./... 15:50:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:50:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:50:13 ./bin/test-attribution-txt.sh [Pipeline] echo 15:50:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:50:13 $ docker stop --time=1 8bf68fbe54fc86a32353de1d1cd172fdf1b5904ea909b6b8622c7ba80fd1d0b1 15:50:15 $ docker rm -f --volumes 8bf68fbe54fc86a32353de1d1cd172fdf1b5904ea909b6b8622c7ba80fd1d0b1 [Pipeline] // withDockerContainer [Pipeline] sh 15:50:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:50:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:50:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:50:17 + ls -al . 15:50:17 total 184 15:50:17 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 15:49 . 15:50:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:48 .. 15:50:17 -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 15:48 .dockerignore 15:50:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:49 .git 15:50:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:48 .github 15:50:17 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 15:48 .gitignore 15:50:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:48 .golangci.yml 15:50:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:49 .semver 15:50:17 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 15:48 Attribution.txt 15:50:17 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 15:48 CHANGELOG.md 15:50:17 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 15:48 Dockerfile 15:50:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:48 GOVERNANCE.md 15:50:17 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 15:48 Jenkinsfile 15:50:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:48 LICENSE 15:50:17 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 15:48 Makefile 15:50:17 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 15:48 OWNERS.md 15:50:17 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 15:48 README.md 15:50:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:49 VERSION 15:50:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:48 bin 15:50:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:48 cmd 15:50:17 -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 15:50 coverage.out 15:50:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:48 driver 15:50:17 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 15:48 go.mod 15:50:17 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 15:48 go.sum 15:50:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:48 snap 15:50:17 -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 15:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:17 + 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=1247785a1fc51975b6dbde80b0a9dd4e28977c7a --label arch=amd64 --label version=0.0.0 . 15:50:17 Sending build context to Docker daemon 10.87MB 15:50:17 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:50:17 Step 2/25 : FROM ${BASE} AS builder 15:50:17 ---> 3d657baaee78 15:50:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:50:17 ---> Running in d739ce8fd68f 15:50:17 Removing intermediate container d739ce8fd68f 15:50:17 ---> 9ca72b4fc112 15:50:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:50:17 ---> Running in 0a21dee83ba3 15:50:17 Removing intermediate container 0a21dee83ba3 15:50:17 ---> 01f7eb24df36 15:50:17 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:50:17 ---> Running in ab3ce6b9e82e 15:50:17 Removing intermediate container ab3ce6b9e82e 15:50:17 ---> 711fc0ab0e9d 15:50:17 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:50:17 ---> Running in 18257af91931 15:50:17 Removing intermediate container 18257af91931 15:50:17 ---> 94b6dcce316c 15:50:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:50:18 ---> Running in be06828346b0 15:50:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:50:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:50:18 OK: 269 MiB in 57 packages 15:50:19 Removing intermediate container be06828346b0 15:50:19 ---> d68092d966be 15:50:19 Step 8/25 : WORKDIR /device-rest-go 15:50:19 ---> Running in 0c89e9dae61f 15:50:19 Removing intermediate container 0c89e9dae61f 15:50:19 ---> de465b176d42 15:50:19 Step 9/25 : COPY go.mod vendor* ./ 15:50:19 ---> 83b403caddc9 15:50:19 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:19 ---> Running in 3655d766d50c 15:50:20 Removing intermediate container 3655d766d50c 15:50:20 ---> 2ecc1cce7da2 15:50:20 Step 11/25 : COPY . . 15:50:20 ---> 40d59c290fed 15:50:20 Step 12/25 : RUN $MAKE 15:50:20 ---> Running in a93bc04e9097 15:50:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:50:39 Removing intermediate container a93bc04e9097 15:50:39 ---> 6a5b67842bfa 15:50:39 Step 13/25 : FROM alpine:3.17 15:50:39 3.17: Pulling from library/alpine 15:50:39 63b65145d645: Already exists 15:50:39 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:50:39 Status: Downloaded newer image for alpine:3.17 15:50:39 ---> b2aa39c304c2 15:50:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:50:39 ---> Running in 774e8b5dba08 15:50:39 Removing intermediate container 774e8b5dba08 15:50:39 ---> 9b7214ed1585 15:50:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:50:39 ---> Running in 50c1d8ab0abd 15:50:39 Removing intermediate container 50c1d8ab0abd 15:50:39 ---> ed91f8c69652 15:50:39 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:50:40 ---> Running in 7044587ea590 15:50:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:50:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:50:41 (1/1) Installing dumb-init (1.2.5-r2) 15:50:41 Executing busybox-1.35.0-r29.trigger 15:50:41 OK: 7 MiB in 16 packages 15:50:41 Removing intermediate container 7044587ea590 15:50:41 ---> 353abbb92454 15:50:41 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:50:42 ---> 3caa3a93b33c 15:50:42 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:50:42 ---> 2ea23babf3c4 15:50:42 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:50:42 ---> 9bc089fabbae 15:50:42 Step 20/25 : EXPOSE 59986 15:50:42 ---> Running in beac97f98153 15:50:42 Removing intermediate container beac97f98153 15:50:42 ---> 98329de6930f 15:50:42 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:50:42 ---> Running in f860582b1103 15:50:42 Removing intermediate container f860582b1103 15:50:42 ---> 20b57ab62696 15:50:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:50:43 ---> Running in 696fa2beca51 15:50:43 Removing intermediate container 696fa2beca51 15:50:43 ---> 08f8f068ab6e 15:50:43 Step 23/25 : LABEL arch=amd64 15:50:43 ---> Running in fe94292c6b2b 15:50:43 Removing intermediate container fe94292c6b2b 15:50:43 ---> 49875cb94fc1 15:50:43 Step 24/25 : LABEL git_sha=1247785a1fc51975b6dbde80b0a9dd4e28977c7a 15:50:43 ---> Running in 82de1de6afc5 15:50:43 Removing intermediate container 82de1de6afc5 15:50:43 ---> fa7ba95a7c90 15:50:43 Step 25/25 : LABEL version=0.0.0 15:50:43 ---> Running in 778a243a8a3f 15:50:43 Removing intermediate container 778a243a8a3f 15:50:43 ---> 09e6e4f540fb 15:50:43 [Warning] One or more build-args [ARCH] were not consumed 15:50:43 Successfully built 09e6e4f540fb 15:50:43 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 15:50:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:50:44 15:50:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:50:44 latest: Pulling from edgex-lftools-log-publisher 15:50:44 5eb5b503b376: Pulling fs layer 15:50:44 5c69ac0246d0: Pulling fs layer 15:50:44 ec43610c2a17: Pulling fs layer 15:50:44 3a2ae6a8a46f: Pulling fs layer 15:50:44 33b1e0a273af: Pulling fs layer 15:50:44 5d3b04190fa2: Pulling fs layer 15:50:44 2f39f015ded8: Pulling fs layer 15:50:44 33b1e0a273af: Waiting 15:50:44 3a2ae6a8a46f: Waiting 15:50:44 5d3b04190fa2: Waiting 15:50:44 2f39f015ded8: Waiting 15:50:44 5c69ac0246d0: Verifying Checksum 15:50:44 5c69ac0246d0: Download complete 15:50:44 3a2ae6a8a46f: Verifying Checksum 15:50:44 3a2ae6a8a46f: Download complete 15:50:44 33b1e0a273af: Verifying Checksum 15:50:44 33b1e0a273af: Download complete 15:50:44 ec43610c2a17: Verifying Checksum 15:50:44 ec43610c2a17: Download complete 15:50:44 5d3b04190fa2: Verifying Checksum 15:50:44 5d3b04190fa2: Download complete 15:50:44 5eb5b503b376: Download complete 15:50:45 2f39f015ded8: Download complete 15:50:45 5eb5b503b376: Pull complete 15:50:46 5c69ac0246d0: Pull complete 15:50:46 ec43610c2a17: Pull complete 15:50:46 3a2ae6a8a46f: Pull complete 15:50:46 33b1e0a273af: Pull complete 15:50:46 5d3b04190fa2: Pull complete 15:50:50 2f39f015ded8: Pull complete 15:50:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:50:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:50:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:51 prd-ubuntu20.04-docker-8c-8g-630 does not seem to be running inside a container 15:50:51 $ 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-267 -v /w/workspace/gexfoundry_device-rest-go_PR-267:/w/workspace/gexfoundry_device-rest-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-267@tmp:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:50:54 $ docker top 2f3d9da35e1266c41ace1f4e3a7474d6a7ad58127ee832ea206d2a57f495feaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:54 ---> job-cost.sh 15:50:54 lf-activate-venv: SKIPPING 15:50:54 INFO: No Stack... 15:50:54 INFO: Retrieving Pricing Info for: v3-standard-8 15:50:55 INFO: Archiving Costs [Pipeline] sh 15:50:55 + + cut -d, -f6 15:50:55 cat /w/workspace/gexfoundry_device-rest-go_PR-267/archives/cost.csv [Pipeline] lock 15:50:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] 15:50:55 Resource [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] did not exist. Created. 15:50:55 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:50:56 + echo total: 0.2199999988079071 [Pipeline] stash 15:50:56 Stashed 1 file(s) [Pipeline] } 15:50:56 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:50:56 $ docker stop --time=1 2f3d9da35e1266c41ace1f4e3a7474d6a7ad58127ee832ea206d2a57f495feaa 15:50:57 $ docker rm -f --volumes 2f3d9da35e1266c41ace1f4e3a7474d6a7ad58127ee832ea206d2a57f495feaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:57:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-754 in /w/workspace/gexfoundry_device-rest-go_PR-267 [Pipeline] { [Pipeline] ws 15:57:50 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 15:57:50 The recommended git tool is: git 15:57:56 using credential edgex-jenkins-ssh 15:57:56 Cloning the remote Git repository 15:57:57 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:57:57 > git init /w/workspace/device-rest-go/1 # timeout=10 15:57:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:57:57 > git --version # timeout=10 15:57:57 > git --version # 'git version 2.25.1' 15:57:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:57:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:57:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:57:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:58:01 Merging remotes/origin/main commit eb45550bbe0df662ecfda2dd82817b25f9b033bb into PR head commit 1247785a1fc51975b6dbde80b0a9dd4e28977c7a 15:58:01 Merge succeeded, producing 1247785a1fc51975b6dbde80b0a9dd4e28977c7a 15:58:01 Checking out Revision 1247785a1fc51975b6dbde80b0a9dd4e28977c7a (PR-267) 15:58:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:58:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:58:00 using GIT_SSH to set credentials SSH Credentials for GitHub 15:58:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/267/head:refs/remotes/origin/PR-267 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:58:01 > git config core.sparsecheckout # timeout=10 15:58:01 > git checkout -f 1247785a1fc51975b6dbde80b0a9dd4e28977c7a # timeout=10 15:58:01 > git remote # timeout=10 15:58:01 > git config --get remote.origin.url # timeout=10 15:58:01 using GIT_SSH to set credentials SSH Credentials for GitHub 15:58:01 > git merge eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 15:58:01 > git rev-parse HEAD^{commit} # timeout=10 15:58:01 > git config core.sparsecheckout # timeout=10 15:58:01 > git checkout -f 1247785a1fc51975b6dbde80b0a9dd4e28977c7a # timeout=10 15:58:02 Commit message: "ci: Change dependabot gomod schedule to daily" 15:58:02 > git --version # timeout=10 15:58:02 > git --version # 'git version 2.25.1' 15:58:02 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:58:03 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:03 Dload Upload Total Spent Left Speed 15:58:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 15:58:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:58:04 + sudo tee /etc/docker/daemon.new 15:58:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:58:04 { 15:58:04 "registry-mirrors": [ 15:58:04 "https://nexus3.edgexfoundry.org:10001" 15:58:04 ], 15:58:04 "bip": "10.250.0.254/24", 15:58:04 "hosts": [ 15:58:04 "tcp://0.0.0.0:5555", 15:58:04 "unix:///var/run/docker.sock" 15:58:04 ], 15:58:04 "mtu": 1458, 15:58:04 "selinux-enabled": true, 15:58:04 "seccomp-profile": "/etc/docker/seccomp.json" 15:58:04 } [Pipeline] sh 15:58:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:58:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:23 provisioning config files... 15:58:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1274343272903462737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:24 ---> docker-login.sh 15:58:24 nexus3.edgexfoundry.org:10001 15:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:24 Configure a credential helper to remove this warning. See 15:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:24 15:58:24 Login Succeeded 15:58:24 nexus3.edgexfoundry.org:10002 15:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:25 Configure a credential helper to remove this warning. See 15:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:25 15:58:25 Login Succeeded 15:58:25 nexus3.edgexfoundry.org:10003 15:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:25 Configure a credential helper to remove this warning. See 15:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:25 15:58:25 Login Succeeded 15:58:25 nexus3.edgexfoundry.org:10004 15:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:26 Configure a credential helper to remove this warning. See 15:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:26 15:58:26 Login Succeeded 15:58:26 docker.io 15:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:26 Configure a credential helper to remove this warning. See 15:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:26 15:58:26 Login Succeeded 15:58:26 ---> docker-login.sh ends [Pipeline] } 15:58:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:58:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:27 ========================================================= 15:58:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:58:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:58:29 Sending build context to Docker daemon 139.3kB 15:58:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:58:29 Step 2/12 : FROM ${BASE} AS builder 15:58:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:58:29 af6eaf76a39c: Pulling fs layer 15:58:29 55522c791124: Pulling fs layer 15:58:29 ce5c4a1c91eb: Pulling fs layer 15:58:29 169dfbe0d373: Pulling fs layer 15:58:29 e1ff8fa3b103: Pulling fs layer 15:58:29 52ebb69f0ebf: Pulling fs layer 15:58:29 5abe8eddf0d5: Pulling fs layer 15:58:29 169dfbe0d373: Waiting 15:58:29 e1ff8fa3b103: Waiting 15:58:29 52ebb69f0ebf: Waiting 15:58:29 5abe8eddf0d5: Waiting 15:58:29 55522c791124: Verifying Checksum 15:58:29 55522c791124: Download complete 15:58:29 169dfbe0d373: Verifying Checksum 15:58:29 169dfbe0d373: Download complete 15:58:29 e1ff8fa3b103: Verifying Checksum 15:58:29 e1ff8fa3b103: Download complete 15:58:29 af6eaf76a39c: Download complete 15:58:30 af6eaf76a39c: Pull complete 15:58:31 5abe8eddf0d5: Verifying Checksum 15:58:31 5abe8eddf0d5: Download complete 15:58:31 55522c791124: Pull complete 15:58:32 ce5c4a1c91eb: Verifying Checksum 15:58:32 ce5c4a1c91eb: Download complete 15:58:32 52ebb69f0ebf: Verifying Checksum 15:58:32 52ebb69f0ebf: Download complete 15:58:45 ce5c4a1c91eb: Pull complete 15:58:45 169dfbe0d373: Pull complete 15:58:45 e1ff8fa3b103: Pull complete 15:58:50 52ebb69f0ebf: Pull complete 15:58:52 5abe8eddf0d5: Pull complete 15:58:52 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:58:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:58:52 ---> 6cb57ee374ae 15:58:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:58:56 ---> Running in 274e9c0f2107 15:58:57 Removing intermediate container 274e9c0f2107 15:58:57 ---> 16d6bb040475 15:58:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:58:57 ---> Running in eb02649ffcb0 15:58:57 Removing intermediate container eb02649ffcb0 15:58:57 ---> 7a2c088d2986 15:58:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:58:57 ---> Running in 1fc8db006bb5 15:58:58 Removing intermediate container 1fc8db006bb5 15:58:58 ---> f0f8ae5f4686 15:58:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:58:58 ---> Running in 3717a49521c6 15:58:58 Removing intermediate container 3717a49521c6 15:58:58 ---> 43f2c1056cff 15:58:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:58 ---> Running in 984de8b690e9 15:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:59:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:59:01 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:59:01 (2/4) Installing libedit (20221030.3.1-r0) 15:59:01 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:59:01 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:59:01 Executing busybox-1.35.0-r29.trigger 15:59:01 OK: 268 MiB in 57 packages 15:59:03 Removing intermediate container 984de8b690e9 15:59:03 ---> fabc2f62e85d 15:59:03 Step 8/12 : WORKDIR /device-rest-go 15:59:03 ---> Running in 6f21cea9372c 15:59:03 Removing intermediate container 6f21cea9372c 15:59:03 ---> 888c38ee6902 15:59:03 Step 9/12 : COPY go.mod vendor* ./ 15:59:04 ---> 93d6a49014b1 15:59:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:04 ---> Running in 23230f0940b9 16:00:26 Removing intermediate container 23230f0940b9 16:00:26 ---> baa4ca317374 16:00:26 Step 11/12 : COPY . . 16:00:26 ---> 94c2b3e81574 16:00:26 Step 12/12 : RUN $MAKE 16:00:26 ---> Running in 54c1482dd75d 16:00:26 noop 16:00:26 Removing intermediate container 54c1482dd75d 16:00:26 ---> a1115608337e 16:00:26 Successfully built a1115608337e 16:00:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:26 + docker inspect -f . ci-base-image-arm64 16:00:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:26 prd-ubuntu20.04-docker-arm64-4c-16g-754 does not seem to be running inside a container 16:00:26 $ 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 16:00:28 $ docker top 38618d839363efe9d343c5744f7955ad5a85aac5be940ca8cb646c3dbe99760f -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:29 + go version 16:00:29 go version go1.20.2 linux/arm64 [Pipeline] } 16:00:29 $ docker stop --time=1 38618d839363efe9d343c5744f7955ad5a85aac5be940ca8cb646c3dbe99760f 16:00:31 $ docker rm -f --volumes 38618d839363efe9d343c5744f7955ad5a85aac5be940ca8cb646c3dbe99760f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:32 + docker inspect -f . ci-base-image-arm64 16:00:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:32 prd-ubuntu20.04-docker-arm64-4c-16g-754 does not seem to be running inside a container 16:00:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:00:34 $ docker top bf4cbdcfb19b76dddd2038508e30a97a7c2fb1b3c87cc24b6773502dfdf822b1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:35 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 16:00:35 + make test 16:00:35 go test ./... -coverprofile=coverage.out ./... 16:01:14 ? github.com/edgexfoundry/device-rest-go [no test files] 16:03:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:03:51 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 33.1% of statements 16:03:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:03:51 go vet ./... 16:04:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:04:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:04:23 ./bin/test-attribution-txt.sh [Pipeline] echo 16:04:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:04:23 $ docker stop --time=1 bf4cbdcfb19b76dddd2038508e30a97a7c2fb1b3c87cc24b6773502dfdf822b1 16:04:25 $ docker rm -f --volumes bf4cbdcfb19b76dddd2038508e30a97a7c2fb1b3c87cc24b6773502dfdf822b1 [Pipeline] // withDockerContainer [Pipeline] sh 16:04:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:04:27 Warning: overwriting stash ‘coverage-report’ 16:04:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:04:28 + ls -al . 16:04:28 total 180 16:04:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:00 . 16:04:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:57 .. 16:04:28 -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 15:58 .dockerignore 16:04:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:58 .git 16:04:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:58 .github 16:04:28 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 15:58 .gitignore 16:04:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:58 .golangci.yml 16:04:28 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 15:58 Attribution.txt 16:04:28 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 15:58 CHANGELOG.md 16:04:28 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 15:58 Dockerfile 16:04:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:58 GOVERNANCE.md 16:04:28 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 15:58 Jenkinsfile 16:04:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:58 LICENSE 16:04:28 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 15:58 Makefile 16:04:28 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 15:58 OWNERS.md 16:04:28 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 15:58 README.md 16:04:28 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:49 VERSION 16:04:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:58 bin 16:04:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:58 cmd 16:04:28 -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:03 coverage.out 16:04:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:58 driver 16:04:28 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 15:58 go.mod 16:04:28 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 15:58 go.sum 16:04:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:58 snap 16:04:28 -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:29 + 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=1247785a1fc51975b6dbde80b0a9dd4e28977c7a --label arch=arm64 --label version=0.0.0 . 16:04:29 Sending build context to Docker daemon 154.1kB 16:04:29 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:04:29 Step 2/25 : FROM ${BASE} AS builder 16:04:29 ---> a1115608337e 16:04:29 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:04:29 ---> Running in 1e7cfd843a9f 16:04:30 Removing intermediate container 1e7cfd843a9f 16:04:30 ---> e2b36f12fd1b 16:04:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:04:30 ---> Running in 98e0454c7647 16:04:30 Removing intermediate container 98e0454c7647 16:04:30 ---> 0fd76405e8d9 16:04:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:04:30 ---> Running in 01cba8927e98 16:04:30 Removing intermediate container 01cba8927e98 16:04:30 ---> 2aa7c2e6cdef 16:04:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:04:31 ---> Running in f53958b14011 16:04:31 Removing intermediate container f53958b14011 16:04:31 ---> daf78cd2f614 16:04:31 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:04:31 ---> Running in cee014830cb2 16:04:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:04:34 OK: 268 MiB in 57 packages 16:04:35 Removing intermediate container cee014830cb2 16:04:35 ---> e31a6faf1e07 16:04:35 Step 8/25 : WORKDIR /device-rest-go 16:04:35 ---> Running in b534dc8023b3 16:04:36 Removing intermediate container b534dc8023b3 16:04:36 ---> 274ae92b7b0e 16:04:36 Step 9/25 : COPY go.mod vendor* ./ 16:04:36 ---> babaed1c5930 16:04:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:04:36 ---> Running in 01ef10c0a519 16:04:40 Removing intermediate container 01ef10c0a519 16:04:40 ---> 8a7d45d77744 16:04:40 Step 11/25 : COPY . . 16:04:40 ---> 1ebe33299466 16:04:40 Step 12/25 : RUN $MAKE 16:04:40 ---> Running in 3db28588218b 16:04:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:07:18 Removing intermediate container 3db28588218b 16:07:18 ---> b1539a800e7b 16:07:18 Step 13/25 : FROM alpine:3.17 16:07:18 3.17: Pulling from library/alpine 16:07:18 af6eaf76a39c: Already exists 16:07:18 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:07:18 Status: Downloaded newer image for alpine:3.17 16:07:18 ---> d74e625d9115 16:07:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:07:18 ---> Running in 4194e16a0e84 16:07:18 Removing intermediate container 4194e16a0e84 16:07:18 ---> 16ddb3f1c6d6 16:07:18 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:07:18 ---> Running in 0e0593b9e3e6 16:07:18 Removing intermediate container 0e0593b9e3e6 16:07:18 ---> eb8e827a1c38 16:07:18 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:07:18 ---> Running in b2bf2e07bbe0 16:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:07:18 (1/1) Installing dumb-init (1.2.5-r2) 16:07:18 Executing busybox-1.35.0-r29.trigger 16:07:18 OK: 8 MiB in 16 packages 16:07:19 Removing intermediate container b2bf2e07bbe0 16:07:19 ---> 808ad887e964 16:07:19 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:07:20 ---> ccb00cb303a1 16:07:20 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:07:21 ---> 44ee1689642e 16:07:21 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:07:22 ---> 637fa875f0d5 16:07:22 Step 20/25 : EXPOSE 59986 16:07:22 ---> Running in 7d18a75cf1d0 16:07:22 Removing intermediate container 7d18a75cf1d0 16:07:22 ---> e89574cea331 16:07:22 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:07:22 ---> Running in 6f6576d7c795 16:07:22 Removing intermediate container 6f6576d7c795 16:07:22 ---> 02bbc56fa5e7 16:07:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:07:22 ---> Running in 1bc850687bba 16:07:23 Removing intermediate container 1bc850687bba 16:07:23 ---> 277f286ff865 16:07:23 Step 23/25 : LABEL arch=arm64 16:07:23 ---> Running in fd47955bb82e 16:07:23 Removing intermediate container fd47955bb82e 16:07:23 ---> e1a18ec520fb 16:07:23 Step 24/25 : LABEL git_sha=1247785a1fc51975b6dbde80b0a9dd4e28977c7a 16:07:23 ---> Running in 1fd2721c61f5 16:07:24 Removing intermediate container 1fd2721c61f5 16:07:24 ---> 7968d3185729 16:07:24 Step 25/25 : LABEL version=0.0.0 16:07:24 ---> Running in 52365e04c376 16:07:24 Removing intermediate container 52365e04c376 16:07:24 ---> 97704c144cb3 16:07:24 [Warning] One or more build-args [ARCH] were not consumed 16:07:24 Successfully built 97704c144cb3 16:07:24 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 16:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:25 16:07:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:25 arm64: Pulling from edgex-lftools-log-publisher 16:07:25 8998bd30e6a1: Pulling fs layer 16:07:25 04944245beec: Pulling fs layer 16:07:25 699f458cf7ca: Pulling fs layer 16:07:25 765212b225bb: Pulling fs layer 16:07:25 f23df028b6ca: Pulling fs layer 16:07:25 d65c8cfc05b1: Pulling fs layer 16:07:25 2437ff75d9bd: Pulling fs layer 16:07:25 f23df028b6ca: Waiting 16:07:25 d65c8cfc05b1: Waiting 16:07:25 765212b225bb: Waiting 16:07:25 2437ff75d9bd: Waiting 16:07:26 04944245beec: Verifying Checksum 16:07:26 04944245beec: Download complete 16:07:26 765212b225bb: Verifying Checksum 16:07:26 765212b225bb: Download complete 16:07:26 f23df028b6ca: Download complete 16:07:26 d65c8cfc05b1: Verifying Checksum 16:07:26 d65c8cfc05b1: Download complete 16:07:26 699f458cf7ca: Verifying Checksum 16:07:26 699f458cf7ca: Download complete 16:07:26 8998bd30e6a1: Verifying Checksum 16:07:26 8998bd30e6a1: Download complete 16:07:29 2437ff75d9bd: Download complete 16:07:30 8998bd30e6a1: Pull complete 16:07:31 04944245beec: Pull complete 16:07:32 699f458cf7ca: Pull complete 16:07:32 765212b225bb: Pull complete 16:07:33 f23df028b6ca: Pull complete 16:07:33 d65c8cfc05b1: Pull complete 16:07:45 2437ff75d9bd: Pull complete 16:07:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:07:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:47 prd-ubuntu20.04-docker-arm64-4c-16g-754 does not seem to be running inside a container 16:07:47 $ 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 16:07:50 $ docker top dbe4d08cd045152adf0082d5ee4932144f66768d6d6c6b78cd74966a16bf42f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:51 ---> job-cost.sh 16:07:51 lf-activate-venv: SKIPPING 16:07:51 INFO: No Stack... 16:07:52 INFO: Retrieving Pricing Info for: v3-standard-4 16:07:52 INFO: Archiving Costs [Pipeline] sh 16:07:53 + cat /w/workspace/device-rest-go/1/archives/cost.csv 16:07:53 + cut -d, -f6 [Pipeline] lock 16:07:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] 16:07:53 Resource [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] did not exist. Created. 16:07:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:54 /w/workspace/device-rest-go/1@tmp/durable-aaab54a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:07:54 + echo total: 0.10999999940395355 [Pipeline] stash 16:07:54 Warning: overwriting stash ‘stack-cost’ 16:07:54 Stashed 1 file(s) [Pipeline] } 16:07:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:55 $ docker stop --time=1 dbe4d08cd045152adf0082d5ee4932144f66768d6d6c6b78cd74966a16bf42f1 16:07:56 $ docker rm -f --volumes dbe4d08cd045152adf0082d5ee4932144f66768d6d6c6b78cd74966a16bf42f1 [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 16:07:57 provisioning config files... 16:07:57 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/config14671997006224936100tmp [Pipeline] { [Pipeline] sh 16:07:57 + set +x 16:07:57 + curl -s https://codecov.io/bash 16:07:57 + bash -s -- 16:07:57 16:07:57 _____ _ 16:07:57 / ____| | | 16:07:57 | | ___ __| | ___ ___ _____ __ 16:07:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:07:57 | |___| (_) | (_| | __/ (_| (_) \ V / 16:07:57 \_____\___/ \__,_|\___|\___\___/ \_/ 16:07:57 Bash-1.0.6 16:07:57 16:07:57 16:07:57 ==> git version 2.25.1 found 16:07:57 ==> 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 16:07:57 Release-Date: 2020-01-08 16:07:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:07:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:07:57 ==> Jenkins CI detected. 16:07:57 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-267 16:07:57 project root: . 16:07:57 --> token set from env 16:07:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:07:57 ==> Running gcov in . (disable via -X gcov) 16:07:57 ==> Python coveragepy not found 16:07:57 ==> Searching for coverage reports in: 16:07:57 + . 16:07:57 -> Found 1 reports 16:07:57 ==> Detecting git/mercurial file structure 16:07:57 ==> Reading reports 16:07:57 + ./coverage.out bytes=14200 16:07:57 ==> Appending adjustments 16:07:57 https://docs.codecov.io/docs/fixing-reports 16:07:58 + Found adjustments 16:07:58 ==> Gzipping contents 16:07:58 4.0K /tmp/codecov.lMfwlL.gz 16:07:58 ==> Uploading reports 16:07:58 url: https://codecov.io 16:07:58 query: branch=PR-267&commit=1247785a1fc51975b6dbde80b0a9dd4e28977c7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-267%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=267&job=&cmd_args= 16:07:58 -> Pinging Codecov 16:07:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-267&commit=1247785a1fc51975b6dbde80b0a9dd4e28977c7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-267%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=267&job=&cmd_args= 16:07:58 -> Uploading to 16:07:58 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/4E5D53B4F1F92C436F7061BF334D961C/1247785a1fc51975b6dbde80b0a9dd4e28977c7a/5b29f18b-ee2d-4386-968a-a8b71b385e4b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T160757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=29033fa77db323c436335c132c77c887c7b37f333577b3b45079586b37f8b05f 16:07:58 % Total % Received % Xferd Average Speed Time Time Time Current 16:07:58 Dload Upload Total Spent Left Speed 16:07:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 9408 --:--:-- --:--:-- --:--:-- 9372 16:07:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] } 16:07:58 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 16:08:00 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-267/archives ] 16:08:00 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-267/archives 16:08:00 total 16 16:08:00 drwxr-xr-x 3 root root 4096 Mar 15 15:50 . 16:08:00 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:50 .. 16:08:00 drwxr-xr-x 2 root root 4096 Mar 15 15:50 cost 16:08:00 -rw-r--r-- 1 root root 86 Mar 15 15:50 cost.csv 16:08:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-267/archives 16:08:00 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-267/archives 16:08:00 total 16 16:08:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:50 . 16:08:00 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:50 .. 16:08:00 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 15:50 cost 16:08:00 -rw-r--r-- 1 jenkins jenkins 86 Mar 15 15:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:08:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:08:01 ---> package-listing.sh 16:08:01 ++ facter osfamily 16:08:01 ++ tr '[:upper:]' '[:lower:]' 16:08:01 + OS_FAMILY=debian 16:08:01 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-267 16:08:01 + START_PACKAGES=/tmp/packages_start.txt 16:08:01 + END_PACKAGES=/tmp/packages_end.txt 16:08:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:08:01 + PACKAGES=/tmp/packages_start.txt 16:08:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-267 ']' 16:08:01 + PACKAGES=/tmp/packages_end.txt 16:08:01 + case "${OS_FAMILY}" in 16:08:01 + dpkg -l 16:08:01 + grep '^ii' 16:08:01 + '[' -f /tmp/packages_start.txt ']' 16:08:01 + '[' -f /tmp/packages_end.txt ']' 16:08:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:08:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-267 ']' 16:08:01 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-267/archives/ 16:08:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-267/archives/ [Pipeline] echo 16:08:01 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-267/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:08:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:02 prd-ubuntu20.04-docker-8c-8g-630 does not seem to be running inside a container 16:08:02 $ 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-267/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-267 -v /w/workspace/gexfoundry_device-rest-go_PR-267:/w/workspace/gexfoundry_device-rest-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-267@tmp:/w/workspace/gexfoundry_device-rest-go_PR-267@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 16:08:02 $ docker top 21be5443f938b6ea73dbd845d206d51ae522f63e1ef40f7da151900da4fd9e56 -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:03 + touch /tmp/pre-build-complete [Pipeline] sh 16:08:03 + mkdir -p /var/log/sysstat [Pipeline] sh 16:08:03 + ls /var/log/sa-host 16:08:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:04 provisioning config files... 16:08:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/config10899150636101827389tmp [Pipeline] { [Pipeline] echo 16:08:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:08:04 ---> create-netrc.sh [Pipeline] } 16:08:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:08:04 ---> python-tools-install.sh [Pipeline] echo 16:08:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:08:05 ---> sudo-logs.sh 16:08:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:08:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:08:05 ---> job-cost.sh 16:08:05 lf-activate-venv: SKIPPING 16:08:05 DEBUG: total: 0.2199999988079071 16:08:05 INFO: Retrieving Stack Cost... 16:08:06 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:06 INFO: Archiving Costs [Pipeline] echo 16:08:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:08:06 ---> logs-deploy.sh 16:08:06 lf-activate-venv: SKIPPING 16:08:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-267/1 16:08:06 INFO: archiving workspace using pattern(s): 16:08:07 Archives upload complete. 16:08:07 INFO: archiving logs to Nexus