Pull request #318 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d206607035c991f05c0cecfdd4d402add0655ed3+38c1608d3c74a3eb2d9b4ab71433628bddf7df5d (2e25b545791174973d4443b87542a1ecf2fe29ef) 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-ssh2458971057542825190.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh18345442247643044736.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12536800410628361493.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 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-ssh13311850411335480077.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6014745653251341002.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-centos7-builder-2c-1g-16844’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-16845’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-16840’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-16824’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16827’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16828’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16829’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16830’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16837’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16838’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16848’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16850’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16851’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16852’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16855’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-16826’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16831’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16832’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16833’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16835’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16836’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16856 in /w/workspace/gexfoundry_device-rest-go_PR-318 [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-318 # 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/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d into PR head commit d206607035c991f05c0cecfdd4d402add0655ed3 Merge succeeded, producing d206607035c991f05c0cecfdd4d402add0655ed3 Checking out Revision d206607035c991f05c0cecfdd4d402add0655ed3 (PR-318) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:15:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:15:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:15:14 ========================================================= 00:15:14 EdgeX Global Pipelines Version Info 00:15:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d206607035c991f05c0cecfdd4d402add0655ed3 # 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 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d206607035c991f05c0cecfdd4d402add0655ed3 # timeout=10 > git rev-list --no-walk b9c48caf18051205e53a4f46e0f602ec610cbd73 # timeout=10 00:15:15 ------------------- 00:15:15 stable info: 00:15:15 ------------------- 00:15:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:15:15 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:15:15 Message: update stable to v1.0.249 00:15:16 ------------------- 00:15:16 experimental info: 00:15:16 ------------------- 00:15:16 Commited By: **** collab-it+edgex@linuxfoundation.org 00:15:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:15:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d206607035c991f05c0cecfdd4d402add0655ed3 [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d206607 [Pipeline] echo 00:15:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:16 provisioning config files... 00:15:16 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config16714702845628779603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:17 ---> docker-login.sh 00:15:17 nexus3.edgexfoundry.org:10001 00:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:18 Configure a credential helper to remove this warning. See 00:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:18 00:15:18 Login Succeeded 00:15:18 nexus3.edgexfoundry.org:10002 00:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:18 Configure a credential helper to remove this warning. See 00:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:18 00:15:18 Login Succeeded 00:15:18 nexus3.edgexfoundry.org:10003 00:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:18 Configure a credential helper to remove this warning. See 00:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:18 00:15:18 Login Succeeded 00:15:18 nexus3.edgexfoundry.org:10004 00:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:18 Configure a credential helper to remove this warning. See 00:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:18 00:15:18 Login Succeeded 00:15:18 docker.io 00:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:19 Configure a credential helper to remove this warning. See 00:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:19 00:15:19 Login Succeeded 00:15:19 ---> docker-login.sh ends [Pipeline] } 00:15:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:15:19 + git rev-list -1 --merges d206607035c991f05c0cecfdd4d402add0655ed3~1..d206607035c991f05c0cecfdd4d402add0655ed3 [Pipeline] echo 00:15:19 -----------> git rev-list -1 --merges d206607035c991f05c0cecfdd4d402add0655ed3~1..d206607035c991f05c0cecfdd4d402add0655ed3 d206607035c991f05c0cecfdd4d402add0655ed3 [false] [Pipeline] sh 00:15:19 + git log --format=format:%s -1 d206607035c991f05c0cecfdd4d402add0655ed3 [Pipeline] echo 00:15:19 ========================================================= 00:15:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:15:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:20 + git log --format=format:%s -1 d206607035c991f05c0cecfdd4d402add0655ed3 [Pipeline] echo 00:15:20 [semverPrep] GIT_COMMIT: d206607035c991f05c0cecfdd4d402add0655ed3, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 00:15:20 [semverPrep] This is not a build commit. [Pipeline] sh 00:15:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:15:21 + grep -v github /etc/ssh/ssh_known_hosts 00:15:21 + [ -e /tmp/ssh_known_hosts ] 00:15:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:15:21 + + sudo tee -a /etc/ssh/ssh_known_hosts 00:15:21 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:15:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:15:22 00:15:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:15:22 0.1.4: Pulling from edgex-devops/py-git-semver 00:15:22 b85a868b505f: Pulling fs layer 00:15:22 e2be974225ed: Pulling fs layer 00:15:22 339a4e72a1f5: Pulling fs layer 00:15:22 988bab9f4d93: Pulling fs layer 00:15:22 1469e6f7b9e6: Pulling fs layer 00:15:22 eaf3925da568: Pulling fs layer 00:15:22 bab4dde63d76: Pulling fs layer 00:15:22 bde34c3a00c8: Pulling fs layer 00:15:22 b352a97aabf1: Pulling fs layer 00:15:22 4872d77fe225: Pulling fs layer 00:15:22 5851b861e8e6: Pulling fs layer 00:15:22 eaf3925da568: Waiting 00:15:22 bde34c3a00c8: Waiting 00:15:22 988bab9f4d93: Waiting 00:15:22 bab4dde63d76: Waiting 00:15:22 4872d77fe225: Waiting 00:15:22 5851b861e8e6: Waiting 00:15:22 b352a97aabf1: Waiting 00:15:22 1469e6f7b9e6: Waiting 00:15:22 e2be974225ed: Download complete 00:15:22 988bab9f4d93: Download complete 00:15:22 1469e6f7b9e6: Verifying Checksum 00:15:22 1469e6f7b9e6: Download complete 00:15:22 339a4e72a1f5: Verifying Checksum 00:15:22 339a4e72a1f5: Download complete 00:15:22 eaf3925da568: Verifying Checksum 00:15:22 eaf3925da568: Download complete 00:15:22 bde34c3a00c8: Verifying Checksum 00:15:22 bde34c3a00c8: Download complete 00:15:22 b352a97aabf1: Verifying Checksum 00:15:22 b352a97aabf1: Download complete 00:15:22 4872d77fe225: Download complete 00:15:22 5851b861e8e6: Verifying Checksum 00:15:23 b85a868b505f: Verifying Checksum 00:15:23 b85a868b505f: Download complete 00:15:23 bab4dde63d76: Verifying Checksum 00:15:23 bab4dde63d76: Download complete 00:15:25 b85a868b505f: Pull complete 00:15:25 e2be974225ed: Pull complete 00:15:25 339a4e72a1f5: Pull complete 00:15:25 988bab9f4d93: Pull complete 00:15:26 1469e6f7b9e6: Pull complete 00:15:26 eaf3925da568: Pull complete 00:15:36 bab4dde63d76: Pull complete 00:15:36 bde34c3a00c8: Pull complete 00:15:36 b352a97aabf1: Pull complete 00:15:36 4872d77fe225: Pull complete 00:15:36 5851b861e8e6: Pull complete 00:15:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:15:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:15:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:37 prd-ubuntu20.04-docker-8c-8g-16856 does not seem to be running inside a container 00:15:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:15:41 $ docker top 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a -eo pid,comm 00:15:41 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). 00:15:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:15:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:15:41 [ssh-agent] Looking for ssh-agent implementation... 00:15:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:15:41 $ docker exec 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a ssh-agent 00:15:42 SSH_AUTH_SOCK=/tmp/ssh-njAjvwF866c2/agent.33 00:15:42 SSH_AGENT_PID=39 00:15:42 Running ssh-add (command line suppressed) 00:15:42 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_15853269304969550779.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_15853269304969550779.key) 00:15:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:15:42 + git tag --points-at HEAD [Pipeline] } 00:15:42 $ docker exec --env ******** --env ******** 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a ssh-agent -k 00:15:42 unset SSH_AUTH_SOCK; 00:15:42 unset SSH_AGENT_PID; 00:15:42 echo Agent pid 39 killed; 00:15:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:15:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:15:42 [ssh-agent] Looking for ssh-agent implementation... 00:15:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:15:42 $ docker exec 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a ssh-agent 00:15:42 SSH_AUTH_SOCK=/tmp/ssh-MW3uL1LwFH3f/agent.71 00:15:42 SSH_AGENT_PID=77 00:15:43 Running ssh-add (command line suppressed) 00:15:43 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_5894412623779742890.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_5894412623779742890.key) 00:15:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:15:43 + git semver init 00:15:43 2023-05-25 00:15:43,673 [run_init] DEBUG init version:0.0.0 force:False 00:15:43 2023-05-25 00:15:43,674 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver 00:15:43 2023-05-25 00:15:43,674 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-318/.semver 00:15:43 2023-05-25 00:15:43,674 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-318/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318, universal_newlines=False, shell=None, istream=None) 00:15:45 2023-05-25 00:15:44,733 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.git/info/exclude 00:15:45 2023-05-25 00:15:44,733 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 with force:False 00:15:45 2023-05-25 00:15:44,733 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 00:15:45 2023-05-25 00:15:44,738 [execute] INFO git cat-file --batch-check 00:15:45 2023-05-25 00:15:44,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) 00:15:45 2023-05-25 00:15:44,744 [execute] INFO git cat-file --batch 00:15:45 2023-05-25 00:15:44,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) 00:15:45 2023-05-25 00:15:44,749 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 00:15:45 0.0.0 [Pipeline] } 00:15:45 $ docker exec --env ******** --env ******** 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a ssh-agent -k 00:15:45 unset SSH_AUTH_SOCK; 00:15:45 unset SSH_AGENT_PID; 00:15:45 echo Agent pid 77 killed; 00:15:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:15:45 + git semver [Pipeline] } 00:15:45 $ docker stop --time=1 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a 00:15:47 $ docker rm -f --volumes 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a [Pipeline] // withDockerContainer [Pipeline] sh 00:15:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:15:47 Stashed 1 file(s) [Pipeline] echo 00:15:47 [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 00:15:47 provisioning config files... 00:15:48 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config2371789494747909934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:48 ---> docker-login.sh 00:15:48 nexus3.edgexfoundry.org:10001 00:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:48 Configure a credential helper to remove this warning. See 00:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:48 00:15:48 Login Succeeded 00:15:48 nexus3.edgexfoundry.org:10002 00:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:48 Configure a credential helper to remove this warning. See 00:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:48 00:15:48 Login Succeeded 00:15:48 nexus3.edgexfoundry.org:10003 00:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:48 Configure a credential helper to remove this warning. See 00:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:48 00:15:48 Login Succeeded 00:15:48 nexus3.edgexfoundry.org:10004 00:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:49 Configure a credential helper to remove this warning. See 00:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:49 00:15:49 Login Succeeded 00:15:49 docker.io 00:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:50 Configure a credential helper to remove this warning. See 00:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:50 00:15:50 Login Succeeded 00:15:50 ---> docker-login.sh ends [Pipeline] } 00:15:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:15:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:50 ========================================================= 00:15:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:15:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:50 + 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 . 00:15:50 Sending build context to Docker daemon 10.93MB 00:15:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:15:50 Step 2/12 : FROM ${BASE} AS builder 00:15:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:15:50 f56be85fc22e: Pulling fs layer 00:15:50 85791d961cd3: Pulling fs layer 00:15:50 d694b5ae8c79: Pulling fs layer 00:15:50 9f32a84ed3da: Pulling fs layer 00:15:50 4d19c01a9841: Pulling fs layer 00:15:50 9325e15d5711: Pulling fs layer 00:15:50 556b6ee489ea: Pulling fs layer 00:15:50 c5a4b2cf53e6: Pulling fs layer 00:15:50 9f32a84ed3da: Waiting 00:15:50 4d19c01a9841: Waiting 00:15:50 9325e15d5711: Waiting 00:15:50 556b6ee489ea: Waiting 00:15:50 c5a4b2cf53e6: Waiting 00:15:50 85791d961cd3: Download complete 00:15:50 9f32a84ed3da: Verifying Checksum 00:15:50 9f32a84ed3da: Download complete 00:15:50 4d19c01a9841: Verifying Checksum 00:15:50 4d19c01a9841: Download complete 00:15:50 f56be85fc22e: Verifying Checksum 00:15:50 f56be85fc22e: Download complete 00:15:51 9325e15d5711: Verifying Checksum 00:15:51 9325e15d5711: Download complete 00:15:51 f56be85fc22e: Pull complete 00:15:51 85791d961cd3: Pull complete 00:15:52 c5a4b2cf53e6: Verifying Checksum 00:15:52 c5a4b2cf53e6: Download complete 00:15:53 d694b5ae8c79: Download complete 00:15:53 556b6ee489ea: Verifying Checksum 00:15:53 556b6ee489ea: Download complete 00:15:56 d694b5ae8c79: Pull complete 00:15:56 9f32a84ed3da: Pull complete 00:15:56 4d19c01a9841: Pull complete 00:15:56 9325e15d5711: Pull complete 00:15:59 556b6ee489ea: Pull complete 00:15:59 c5a4b2cf53e6: Pull complete 00:15:59 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:15:59 ---> c4be618373d6 00:15:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:16:02 Still waiting to schedule task 00:16:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:16:08 ---> Running in 8558d52d371b 00:16:08 Removing intermediate container 8558d52d371b 00:16:08 ---> 6a5fbfe68e74 00:16:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:08 ---> Running in 16c464a58593 00:16:08 Removing intermediate container 16c464a58593 00:16:08 ---> 66548d85d698 00:16:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:16:08 ---> Running in c14ef78e265b 00:16:08 Removing intermediate container c14ef78e265b 00:16:08 ---> fa4be4166a8b 00:16:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:16:08 ---> Running in c0654110c3c5 00:16:08 Removing intermediate container c0654110c3c5 00:16:08 ---> 27ba450fb941 00:16:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:08 ---> Running in a91fc4d73f90 00:16:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:16:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:16:08 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:16:08 (2/4) Installing libedit (20221030.3.1-r0) 00:16:08 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:16:08 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:16:08 Executing busybox-1.35.0-r29.trigger 00:16:08 OK: 269 MiB in 57 packages 00:16:08 Removing intermediate container a91fc4d73f90 00:16:08 ---> f856f3c5c63b 00:16:08 Step 8/12 : WORKDIR /device-rest-go 00:16:08 ---> Running in 0ece3f8e881d 00:16:08 Removing intermediate container 0ece3f8e881d 00:16:08 ---> e936cd2df7a5 00:16:08 Step 9/12 : COPY go.mod vendor* ./ 00:16:08 ---> 2920d9711847 00:16:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:08 ---> Running in e25c8d115600 00:16:48 Removing intermediate container e25c8d115600 00:16:48 ---> fd8f36763962 00:16:48 Step 11/12 : COPY . . 00:16:48 ---> 7346c04b478d 00:16:48 Step 12/12 : RUN $MAKE 00:16:48 ---> Running in 709b46343f61 00:16:48 noop 00:16:48 Removing intermediate container 709b46343f61 00:16:48 ---> 38b64280e9d5 00:16:48 Successfully built 38b64280e9d5 00:16:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:49 + docker inspect -f . ci-base-image-x86_64 00:16:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:49 prd-ubuntu20.04-docker-8c-8g-16856 does not seem to be running inside a container 00:16:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** ci-base-image-x86_64 cat 00:16:49 $ docker top b5b00ea4d6c63d7d303dc372d31a78644a0d8374e4a405c69e19b92e0a374cd0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:49 + go version 00:16:49 go version go1.20.2 linux/amd64 [Pipeline] } 00:16:49 $ docker stop --time=1 b5b00ea4d6c63d7d303dc372d31a78644a0d8374e4a405c69e19b92e0a374cd0 00:16:51 $ docker rm -f --volumes b5b00ea4d6c63d7d303dc372d31a78644a0d8374e4a405c69e19b92e0a374cd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:51 + docker inspect -f . ci-base-image-x86_64 00:16:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:51 prd-ubuntu20.04-docker-8c-8g-16856 does not seem to be running inside a container 00:16:51 $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** ci-base-image-x86_64 cat 00:16:52 $ docker top 427dba85f83c6ef8f80ffe4927eb2cb1e88fb11982b36aaa3410cfabc3aa89dc -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] fileExists [Pipeline] sh 00:16:52 + make test 00:16:52 go test ./... -coverprofile=coverage.out ./... 00:16:58 ? github.com/edgexfoundry/device-rest-go [no test files] 00:17:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:17:08 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.2% of statements 00:17:12 go vet ./... 00:17:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:17:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:17:15 ./bin/test-attribution-txt.sh [Pipeline] echo 00:17:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:17:15 $ docker stop --time=1 427dba85f83c6ef8f80ffe4927eb2cb1e88fb11982b36aaa3410cfabc3aa89dc 00:17:21 $ docker rm -f --volumes 427dba85f83c6ef8f80ffe4927eb2cb1e88fb11982b36aaa3410cfabc3aa89dc [Pipeline] // withDockerContainer [Pipeline] sh 00:17:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:17:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:17:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:17:22 + ls -al . 00:17:22 total 184 00:17:22 drwxrwxr-x 9 jenkins jenkins 4096 May 25 00:16 . 00:17:22 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:15 .. 00:17:22 -rw-rw-r-- 1 jenkins jenkins 151 May 25 00:15 .dockerignore 00:17:22 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:15 .git 00:17:22 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:15 .github 00:17:22 -rw-rw-r-- 1 jenkins jenkins 329 May 25 00:15 .gitignore 00:17:22 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:15 .golangci.yml 00:17:22 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:15 .semver 00:17:22 -rw-rw-r-- 1 jenkins jenkins 9331 May 25 00:15 Attribution.txt 00:17:22 -rw-rw-r-- 1 jenkins jenkins 13085 May 25 00:15 CHANGELOG.md 00:17:22 -rw-rw-r-- 1 jenkins jenkins 1578 May 25 00:15 Dockerfile 00:17:22 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:15 GOVERNANCE.md 00:17:22 -rw-rw-r-- 1 jenkins jenkins 680 May 25 00:15 Jenkinsfile 00:17:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:15 LICENSE 00:17:22 -rw-rw-r-- 1 jenkins jenkins 1779 May 25 00:15 Makefile 00:17:22 -rw-rw-r-- 1 jenkins jenkins 620 May 25 00:15 OWNERS.md 00:17:22 -rw-rw-r-- 1 jenkins jenkins 15827 May 25 00:15 README.md 00:17:22 -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:15 VERSION 00:17:22 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:15 bin 00:17:22 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:15 cmd 00:17:22 -rw-r--r-- 1 jenkins jenkins 14663 May 25 00:17 coverage.out 00:17:22 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:15 driver 00:17:22 -rw-rw-r-- 1 jenkins jenkins 3354 May 25 00:15 go.mod 00:17:22 -rw-rw-r-- 1 jenkins jenkins 31232 May 25 00:15 go.sum 00:17:22 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:15 snap 00:17:22 -rw-rw-r-- 1 jenkins jenkins 713 May 25 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:22 + 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=d206607035c991f05c0cecfdd4d402add0655ed3 --label arch=amd64 --label version=0.0.0 . 00:17:22 Sending build context to Docker daemon 10.95MB 00:17:22 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:17:22 Step 2/25 : FROM ${BASE} AS builder 00:17:22 ---> 38b64280e9d5 00:17:22 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:17:22 ---> Running in 0df21a86ad66 00:17:22 Removing intermediate container 0df21a86ad66 00:17:22 ---> 9acf14d61fa6 00:17:22 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:17:22 ---> Running in 40046ba25b5e 00:17:23 Removing intermediate container 40046ba25b5e 00:17:23 ---> 9a1a8cffd571 00:17:23 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:17:23 ---> Running in e2483d8eea88 00:17:23 Removing intermediate container e2483d8eea88 00:17:23 ---> a5ace2bfca6a 00:17:23 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:17:23 ---> Running in c96bcd00a3d0 00:17:23 Removing intermediate container c96bcd00a3d0 00:17:23 ---> 8f50973766af 00:17:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:17:23 ---> Running in 9e56ab557203 00:17:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:17:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:17:23 OK: 269 MiB in 57 packages 00:17:24 Removing intermediate container 9e56ab557203 00:17:24 ---> 674cb1e896b6 00:17:24 Step 8/25 : WORKDIR /device-rest-go 00:17:24 ---> Running in 4a592f7b8fe1 00:17:24 Removing intermediate container 4a592f7b8fe1 00:17:24 ---> ebc48978af33 00:17:24 Step 9/25 : COPY go.mod vendor* ./ 00:17:24 ---> 0438aca1e96c 00:17:24 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:24 ---> Running in fc121ed2946b 00:17:25 Removing intermediate container fc121ed2946b 00:17:25 ---> 789bd13e52c9 00:17:25 Step 11/25 : COPY . . 00:17:26 ---> ad13997cc136 00:17:26 Step 12/25 : RUN $MAKE 00:17:26 ---> Running in 06d9a7e61675 00:17:26 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 00:17:48 Removing intermediate container 06d9a7e61675 00:17:48 ---> 437e5746151d 00:17:48 Step 13/25 : FROM alpine:3.17 00:17:48 3.17: Pulling from library/alpine 00:17:48 f56be85fc22e: Already exists 00:17:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:17:48 Status: Downloaded newer image for alpine:3.17 00:17:48 ---> 9ed4aefc74f6 00:17:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:17:48 ---> Running in f5c264b6dc3e 00:17:48 Removing intermediate container f5c264b6dc3e 00:17:48 ---> 8f44388e6c17 00:17:48 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:17:48 ---> Running in 0f1acf042ce5 00:17:48 Removing intermediate container 0f1acf042ce5 00:17:48 ---> 4ca7acbd7658 00:17:48 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:17:48 ---> Running in 4b48decd81f5 00:17:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:17:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:17:48 (1/1) Installing dumb-init (1.2.5-r2) 00:17:48 Executing busybox-1.35.0-r29.trigger 00:17:48 OK: 7 MiB in 16 packages 00:17:48 Removing intermediate container 4b48decd81f5 00:17:48 ---> f26c9d0e9af6 00:17:48 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:17:49 ---> 87d5aa510807 00:17:49 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:17:49 ---> f354c1736bb1 00:17:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:17:49 ---> 4cd648c47e1b 00:17:49 Step 20/25 : EXPOSE 59986 00:17:49 ---> Running in 9563cc073808 00:17:49 Removing intermediate container 9563cc073808 00:17:49 ---> cbd7141ed0ff 00:17:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:17:49 ---> Running in 7e19096b7d29 00:17:49 Removing intermediate container 7e19096b7d29 00:17:49 ---> 6111e471ac82 00:17:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:17:49 ---> Running in c00191815711 00:17:49 Removing intermediate container c00191815711 00:17:49 ---> 5fb1dda4aac3 00:17:49 Step 23/25 : LABEL arch=amd64 00:17:49 ---> Running in a40267afa485 00:17:49 Removing intermediate container a40267afa485 00:17:49 ---> 3dd6d51aba11 00:17:49 Step 24/25 : LABEL git_sha=d206607035c991f05c0cecfdd4d402add0655ed3 00:17:49 ---> Running in 75cc8f034d63 00:17:49 Removing intermediate container 75cc8f034d63 00:17:49 ---> ccff58ba80f1 00:17:49 Step 25/25 : LABEL version=0.0.0 00:17:49 ---> Running in fe7a0f4a59a1 00:17:49 Removing intermediate container fe7a0f4a59a1 00:17:49 ---> 3aba0e383675 00:17:49 [Warning] One or more build-args [ARCH] were not consumed 00:17:49 Successfully built 3aba0e383675 00:17:49 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 00:17:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:50 00:17:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:50 latest: Pulling from edgex-lftools-log-publisher 00:17:50 5eb5b503b376: Pulling fs layer 00:17:50 5c69ac0246d0: Pulling fs layer 00:17:50 ec43610c2a17: Pulling fs layer 00:17:50 3a2ae6a8a46f: Pulling fs layer 00:17:50 33b1e0a273af: Pulling fs layer 00:17:50 5d3b04190fa2: Pulling fs layer 00:17:50 2f39f015ded8: Pulling fs layer 00:17:50 3a2ae6a8a46f: Waiting 00:17:50 33b1e0a273af: Waiting 00:17:50 5d3b04190fa2: Waiting 00:17:50 2f39f015ded8: Waiting 00:17:50 5c69ac0246d0: Download complete 00:17:50 3a2ae6a8a46f: Verifying Checksum 00:17:50 3a2ae6a8a46f: Download complete 00:17:50 33b1e0a273af: Verifying Checksum 00:17:50 33b1e0a273af: Download complete 00:17:50 5d3b04190fa2: Download complete 00:17:50 ec43610c2a17: Verifying Checksum 00:17:50 ec43610c2a17: Download complete 00:17:50 5eb5b503b376: Verifying Checksum 00:17:50 5eb5b503b376: Download complete 00:17:51 2f39f015ded8: Verifying Checksum 00:17:51 2f39f015ded8: Download complete 00:17:51 5eb5b503b376: Pull complete 00:17:51 5c69ac0246d0: Pull complete 00:17:52 ec43610c2a17: Pull complete 00:17:52 3a2ae6a8a46f: Pull complete 00:17:52 33b1e0a273af: Pull complete 00:17:52 5d3b04190fa2: Pull complete 00:17:56 2f39f015ded8: Pull complete 00:17:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:17:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:56 prd-ubuntu20.04-docker-8c-8g-16856 does not seem to be running inside a container 00:17:56 $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:18:06 $ docker top 884e4f20a5abe0d43939b0a4590834b38f1a905d4680031fb141c6732c215f50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:07 ---> job-cost.sh 00:18:07 lf-activate-venv: SKIPPING 00:18:07 INFO: No Stack... 00:18:07 INFO: Retrieving Pricing Info for: v3-standard-8 00:18:07 INFO: Archiving Costs [Pipeline] sh 00:18:07 + cat /w/workspace/gexfoundry_device-rest-go_PR-318/archives/cost.csv 00:18:07 + cut -d, -f6 [Pipeline] lock 00:18:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] 00:18:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] did not exist. Created. 00:18:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:18:08 + echo total: 0.2199999988079071 [Pipeline] stash 00:18:08 Stashed 1 file(s) [Pipeline] } 00:18:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] [Pipeline] // lock [Pipeline] } 00:18:08 $ docker stop --time=1 884e4f20a5abe0d43939b0a4590834b38f1a905d4680031fb141c6732c215f50 00:18:09 $ docker rm -f --volumes 884e4f20a5abe0d43939b0a4590834b38f1a905d4680031fb141c6732c215f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:19:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16878 in /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] { [Pipeline] ws 00:19:02 Running in /w/workspace/device-rest-go/10 [Pipeline] { [Pipeline] checkout 00:19:02 The recommended git tool is: git 00:19:10 using credential edgex-jenkins-ssh 00:19:10 Cloning the remote Git repository 00:19:10 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:19:10 > git init /w/workspace/device-rest-go/10 # timeout=10 00:19:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:19:10 > git --version # timeout=10 00:19:10 > git --version # 'git version 2.25.1' 00:19:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:19:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:19:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:19:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:19:15 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:19:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:19:15 using GIT_SSH to set credentials SSH Credentials for GitHub 00:19:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:19:17 Merging remotes/origin/main commit 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d into PR head commit d206607035c991f05c0cecfdd4d402add0655ed3 00:19:17 Merge succeeded, producing d206607035c991f05c0cecfdd4d402add0655ed3 00:19:17 Checking out Revision d206607035c991f05c0cecfdd4d402add0655ed3 (PR-318) 00:19:17 > git config core.sparsecheckout # timeout=10 00:19:17 > git checkout -f d206607035c991f05c0cecfdd4d402add0655ed3 # timeout=10 00:19:17 > git remote # timeout=10 00:19:17 > git config --get remote.origin.url # timeout=10 00:19:17 using GIT_SSH to set credentials SSH Credentials for GitHub 00:19:17 > git merge 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 00:19:17 > git rev-parse HEAD^{commit} # timeout=10 00:19:17 > git config core.sparsecheckout # timeout=10 00:19:17 > git checkout -f d206607035c991f05c0cecfdd4d402add0655ed3 # timeout=10 00:19:18 Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:19:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:19:19 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:19 Dload Upload Total Spent Left Speed 00:19:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 00:19:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:19:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:19:20 + sudo tee /etc/docker/daemon.new 00:19:20 { 00:19:20 "registry-mirrors": [ 00:19:20 "https://nexus3.edgexfoundry.org:10001" 00:19:20 ], 00:19:20 "bip": "10.250.0.254/24", 00:19:20 "hosts": [ 00:19:20 "tcp://0.0.0.0:5555", 00:19:20 "unix:///var/run/docker.sock" 00:19:20 ], 00:19:20 "mtu": 1458, 00:19:20 "selinux-enabled": true, 00:19:20 "seccomp-profile": "/etc/docker/seccomp.json" 00:19:20 } [Pipeline] sh 00:19:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:19:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:39 provisioning config files... 00:19:39 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config18398065496899010365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:40 ---> docker-login.sh 00:19:40 nexus3.edgexfoundry.org:10001 00:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:40 Configure a credential helper to remove this warning. See 00:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:40 00:19:40 Login Succeeded 00:19:40 nexus3.edgexfoundry.org:10002 00:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:41 Configure a credential helper to remove this warning. See 00:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:41 00:19:41 Login Succeeded 00:19:41 nexus3.edgexfoundry.org:10003 00:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:41 Configure a credential helper to remove this warning. See 00:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:41 00:19:41 Login Succeeded 00:19:41 nexus3.edgexfoundry.org:10004 00:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:42 Configure a credential helper to remove this warning. See 00:19:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:42 00:19:42 Login Succeeded 00:19:42 docker.io 00:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:42 Configure a credential helper to remove this warning. See 00:19:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:42 00:19:42 Login Succeeded 00:19:42 ---> docker-login.sh ends [Pipeline] } 00:19:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:19:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:19:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:19:43 ========================================================= 00:19:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:19:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:43 + 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 . 00:19:43 Sending build context to Docker daemon 139.3kB 00:19:43 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:19:43 Step 2/12 : FROM ${BASE} AS builder 00:19:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:19:44 c41833b44d91: Pulling fs layer 00:19:44 ed15518f5707: Pulling fs layer 00:19:44 feae8fd75edb: Pulling fs layer 00:19:44 242c74f7c9fa: Pulling fs layer 00:19:44 3cdef696dda3: Pulling fs layer 00:19:44 2ced38df9373: Pulling fs layer 00:19:44 58f1dce35555: Pulling fs layer 00:19:44 3cdef696dda3: Waiting 00:19:44 2ced38df9373: Waiting 00:19:44 242c74f7c9fa: Waiting 00:19:44 58f1dce35555: Waiting 00:19:44 ed15518f5707: Verifying Checksum 00:19:44 ed15518f5707: Download complete 00:19:44 242c74f7c9fa: Verifying Checksum 00:19:44 242c74f7c9fa: Download complete 00:19:44 3cdef696dda3: Verifying Checksum 00:19:44 3cdef696dda3: Download complete 00:19:44 c41833b44d91: Verifying Checksum 00:19:44 c41833b44d91: Download complete 00:19:45 c41833b44d91: Pull complete 00:19:45 58f1dce35555: Verifying Checksum 00:19:45 58f1dce35555: Download complete 00:19:46 ed15518f5707: Pull complete 00:19:46 feae8fd75edb: Verifying Checksum 00:19:46 feae8fd75edb: Download complete 00:19:47 2ced38df9373: Verifying Checksum 00:19:47 2ced38df9373: Download complete 00:19:59 feae8fd75edb: Pull complete 00:19:59 242c74f7c9fa: Pull complete 00:19:59 3cdef696dda3: Pull complete 00:20:08 2ced38df9373: Pull complete 00:20:10 58f1dce35555: Pull complete 00:20:10 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:20:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:20:10 ---> fadd8f120f05 00:20:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:20:11 ---> Running in 7bd7e6de3819 00:20:11 Removing intermediate container 7bd7e6de3819 00:20:11 ---> 1b4c3afbf19e 00:20:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:20:11 ---> Running in 7c37f4ba6ca1 00:20:12 Removing intermediate container 7c37f4ba6ca1 00:20:12 ---> b8e7e8a62ace 00:20:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:20:12 ---> Running in f5173c67c9f6 00:20:12 Removing intermediate container f5173c67c9f6 00:20:12 ---> 3731b8de33a0 00:20:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:20:12 ---> Running in a5760e24acb8 00:20:13 Removing intermediate container a5760e24acb8 00:20:13 ---> d229b22976f9 00:20:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:20:13 ---> Running in 18ff638aac91 00:20:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:20:16 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:20:16 (2/4) Installing libedit (20221030.3.1-r0) 00:20:16 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:20:16 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:20:16 Executing busybox-1.35.0-r29.trigger 00:20:16 OK: 268 MiB in 57 packages 00:20:18 Removing intermediate container 18ff638aac91 00:20:18 ---> 3a23fce060fb 00:20:18 Step 8/12 : WORKDIR /device-rest-go 00:20:18 ---> Running in eb64b00c6ef1 00:20:18 Removing intermediate container eb64b00c6ef1 00:20:18 ---> a58e23416eb4 00:20:18 Step 9/12 : COPY go.mod vendor* ./ 00:20:19 ---> 16f26f30bc93 00:20:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:20:19 ---> Running in 0253ea67bb7b 00:21:41 Removing intermediate container 0253ea67bb7b 00:21:41 ---> ba75446dfba6 00:21:41 Step 11/12 : COPY . . 00:21:41 ---> a4ce11babbef 00:21:41 Step 12/12 : RUN $MAKE 00:21:41 ---> Running in 1a13774ad980 00:21:41 noop 00:21:41 Removing intermediate container 1a13774ad980 00:21:41 ---> 344696e6deb8 00:21:41 Successfully built 344696e6deb8 00:21:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:41 + docker inspect -f . ci-base-image-arm64 00:21:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:41 prd-ubuntu20.04-docker-arm64-4c-16g-16878 does not seem to be running inside a container 00:21:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** -e ******** ci-base-image-arm64 cat 00:21:43 $ docker top 2ad3adf8a3af6a4920d2c146fc91187603f71affe094bf89389b6e0efa9eb55b -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:44 + go version 00:21:44 go version go1.20.2 linux/arm64 [Pipeline] } 00:21:44 $ docker stop --time=1 2ad3adf8a3af6a4920d2c146fc91187603f71affe094bf89389b6e0efa9eb55b 00:21:45 $ docker rm -f --volumes 2ad3adf8a3af6a4920d2c146fc91187603f71affe094bf89389b6e0efa9eb55b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:46 + docker inspect -f . ci-base-image-arm64 00:21:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:46 prd-ubuntu20.04-docker-arm64-4c-16g-16878 does not seem to be running inside a container 00:21:46 $ 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/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** -e ******** ci-base-image-arm64 cat 00:21:49 $ docker top 361b6c6e9ed839fc6d8347415207d70f2c37bee6c56457c21908c381b0aa658f -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:50 + git config --global --add safe.directory /w/workspace/device-rest-go/10 [Pipeline] fileExists [Pipeline] sh 00:21:51 + make test 00:21:51 go test ./... -coverprofile=coverage.out ./... 00:22:38 ? github.com/edgexfoundry/device-rest-go [no test files] 00:25:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:25:29 ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 32.2% of statements 00:25:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:25:29 go vet ./... 00:25:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:25:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:25:57 ./bin/test-attribution-txt.sh [Pipeline] echo 00:25:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:25:57 $ docker stop --time=1 361b6c6e9ed839fc6d8347415207d70f2c37bee6c56457c21908c381b0aa658f 00:25:59 $ docker rm -f --volumes 361b6c6e9ed839fc6d8347415207d70f2c37bee6c56457c21908c381b0aa658f [Pipeline] // withDockerContainer [Pipeline] sh 00:26:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:26:00 Warning: overwriting stash ‘coverage-report’ 00:26:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:26:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:26:02 + ls -al . 00:26:02 total 180 00:26:02 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:21 . 00:26:02 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:19 .. 00:26:02 -rw-rw-r-- 1 jenkins jenkins 151 May 25 00:19 .dockerignore 00:26:02 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:19 .git 00:26:02 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:19 .github 00:26:02 -rw-rw-r-- 1 jenkins jenkins 329 May 25 00:19 .gitignore 00:26:02 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:19 .golangci.yml 00:26:02 -rw-rw-r-- 1 jenkins jenkins 9331 May 25 00:19 Attribution.txt 00:26:02 -rw-rw-r-- 1 jenkins jenkins 13085 May 25 00:19 CHANGELOG.md 00:26:02 -rw-rw-r-- 1 jenkins jenkins 1578 May 25 00:19 Dockerfile 00:26:02 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:19 GOVERNANCE.md 00:26:02 -rw-rw-r-- 1 jenkins jenkins 680 May 25 00:19 Jenkinsfile 00:26:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:19 LICENSE 00:26:02 -rw-rw-r-- 1 jenkins jenkins 1779 May 25 00:19 Makefile 00:26:02 -rw-rw-r-- 1 jenkins jenkins 620 May 25 00:19 OWNERS.md 00:26:02 -rw-rw-r-- 1 jenkins jenkins 15827 May 25 00:19 README.md 00:26:02 -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:15 VERSION 00:26:02 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:19 bin 00:26:02 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:19 cmd 00:26:02 -rw-r--r-- 1 jenkins jenkins 14663 May 25 00:25 coverage.out 00:26:02 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:19 driver 00:26:02 -rw-rw-r-- 1 jenkins jenkins 3354 May 25 00:19 go.mod 00:26:02 -rw-rw-r-- 1 jenkins jenkins 31232 May 25 00:19 go.sum 00:26:02 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:19 snap 00:26:02 -rw-rw-r-- 1 jenkins jenkins 713 May 25 00:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:02 + 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=d206607035c991f05c0cecfdd4d402add0655ed3 --label arch=arm64 --label version=0.0.0 . 00:26:02 Sending build context to Docker daemon 154.6kB 00:26:02 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:26:02 Step 2/25 : FROM ${BASE} AS builder 00:26:02 ---> 344696e6deb8 00:26:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:26:02 ---> Running in ada1694b7649 00:26:03 Removing intermediate container ada1694b7649 00:26:03 ---> ebe5a1680fa7 00:26:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:26:03 ---> Running in 8ccd754fec45 00:26:03 Removing intermediate container 8ccd754fec45 00:26:03 ---> ed8aaabc4d4e 00:26:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:26:03 ---> Running in 4d056f10b880 00:26:04 Removing intermediate container 4d056f10b880 00:26:04 ---> 46c1b3d0e818 00:26:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:26:04 ---> Running in 619c58f5279f 00:26:04 Removing intermediate container 619c58f5279f 00:26:04 ---> 6b30ed21f9b9 00:26:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:26:04 ---> Running in 15d1904f9f5e 00:26:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:26:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:26:08 OK: 268 MiB in 57 packages 00:26:09 Removing intermediate container 15d1904f9f5e 00:26:09 ---> 32417f139f3c 00:26:09 Step 8/25 : WORKDIR /device-rest-go 00:26:09 ---> Running in 31e4f14dd4dd 00:26:09 Removing intermediate container 31e4f14dd4dd 00:26:09 ---> 624af3dca62d 00:26:09 Step 9/25 : COPY go.mod vendor* ./ 00:26:10 ---> b4a4dbf4b14c 00:26:10 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:26:10 ---> Running in 5ecee51036ae 00:26:13 Removing intermediate container 5ecee51036ae 00:26:13 ---> 3676240b6ddc 00:26:13 Step 11/25 : COPY . . 00:26:13 ---> 5f7a94e8c561 00:26:13 Step 12/25 : RUN $MAKE 00:26:13 ---> Running in 2c2eb5909460 00:26:14 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 00:28:51 Removing intermediate container 2c2eb5909460 00:28:51 ---> a0073ff0ba62 00:28:51 Step 13/25 : FROM alpine:3.17 00:28:51 3.17: Pulling from library/alpine 00:28:51 c41833b44d91: Already exists 00:28:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:28:51 Status: Downloaded newer image for alpine:3.17 00:28:51 ---> 51e60588ff2c 00:28:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:28:51 ---> Running in 1000e6fad11a 00:28:51 Removing intermediate container 1000e6fad11a 00:28:51 ---> c9174c31ad3a 00:28:51 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:28:51 ---> Running in cee8d9ca8c95 00:28:51 Removing intermediate container cee8d9ca8c95 00:28:51 ---> 2fdfbac119d3 00:28:51 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:28:51 ---> Running in f0e2e1b304bd 00:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:28:52 (1/1) Installing dumb-init (1.2.5-r2) 00:28:52 Executing busybox-1.35.0-r29.trigger 00:28:52 OK: 8 MiB in 16 packages 00:28:53 Removing intermediate container f0e2e1b304bd 00:28:53 ---> c0ad99d67a5b 00:28:53 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:28:54 ---> aa90f6430928 00:28:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:28:55 ---> 4dbe4b01425d 00:28:55 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:28:55 ---> 815ed2a6b84e 00:28:55 Step 20/25 : EXPOSE 59986 00:28:55 ---> Running in a617375392c0 00:28:56 Removing intermediate container a617375392c0 00:28:56 ---> 5858dae92d4b 00:28:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:28:56 ---> Running in f5b7e0ddbb76 00:28:56 Removing intermediate container f5b7e0ddbb76 00:28:56 ---> 8d187f66f40a 00:28:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:28:56 ---> Running in faca1c3b9aee 00:28:56 Removing intermediate container faca1c3b9aee 00:28:56 ---> eb92811a1079 00:28:56 Step 23/25 : LABEL arch=arm64 00:28:56 ---> Running in d27fdbd102b8 00:28:57 Removing intermediate container d27fdbd102b8 00:28:57 ---> 49b7ae8805f7 00:28:57 Step 24/25 : LABEL git_sha=d206607035c991f05c0cecfdd4d402add0655ed3 00:28:57 ---> Running in 866826e6fb3c 00:28:57 Removing intermediate container 866826e6fb3c 00:28:57 ---> 998898b72115 00:28:57 Step 25/25 : LABEL version=0.0.0 00:28:57 ---> Running in d02c8aa802e8 00:28:57 Removing intermediate container d02c8aa802e8 00:28:57 ---> ad88f61e0b0b 00:28:57 [Warning] One or more build-args [ARCH] were not consumed 00:28:57 Successfully built ad88f61e0b0b 00:28:57 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 00:28:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:58 00:28:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:58 arm64: Pulling from edgex-lftools-log-publisher 00:28:58 8998bd30e6a1: Pulling fs layer 00:28:58 04944245beec: Pulling fs layer 00:28:58 699f458cf7ca: Pulling fs layer 00:28:58 765212b225bb: Pulling fs layer 00:28:58 f23df028b6ca: Pulling fs layer 00:28:58 d65c8cfc05b1: Pulling fs layer 00:28:58 2437ff75d9bd: Pulling fs layer 00:28:58 765212b225bb: Waiting 00:28:58 f23df028b6ca: Waiting 00:28:58 d65c8cfc05b1: Waiting 00:28:58 04944245beec: Verifying Checksum 00:28:58 04944245beec: Download complete 00:28:58 765212b225bb: Verifying Checksum 00:28:58 765212b225bb: Download complete 00:28:58 f23df028b6ca: Download complete 00:28:58 d65c8cfc05b1: Verifying Checksum 00:28:58 d65c8cfc05b1: Download complete 00:28:58 699f458cf7ca: Verifying Checksum 00:28:58 699f458cf7ca: Download complete 00:28:59 8998bd30e6a1: Verifying Checksum 00:28:59 8998bd30e6a1: Download complete 00:29:01 2437ff75d9bd: Verifying Checksum 00:29:01 2437ff75d9bd: Download complete 00:29:03 8998bd30e6a1: Pull complete 00:29:07 04944245beec: Pull complete 00:29:08 699f458cf7ca: Pull complete 00:29:08 765212b225bb: Pull complete 00:29:09 f23df028b6ca: Pull complete 00:29:09 d65c8cfc05b1: Pull complete 00:29:24 2437ff75d9bd: Pull complete 00:29:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:29:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:29:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:25 prd-ubuntu20.04-docker-arm64-4c-16g-16878 does not seem to be running inside a container 00:29:25 $ 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/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:29:27 $ docker top 5dd2965398d05287b66d397ad93af4745b4d04fbf01eef474c7e3065142793a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:29:28 ---> job-cost.sh 00:29:28 lf-activate-venv: SKIPPING 00:29:28 INFO: No Stack... 00:29:29 INFO: Retrieving Pricing Info for: v3-standard-4 00:29:29 INFO: Archiving Costs [Pipeline] sh 00:29:30 + cat /w/workspace/device-rest-go/10/archives/cost.csv 00:29:30 + cut -d, -f6 [Pipeline] lock 00:29:30 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] 00:29:30 Resource [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] did not exist. Created. 00:29:30 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:29:31 /w/workspace/device-rest-go/10@tmp/durable-440abbc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:29:31 + echo total: 0.10999999940395355 [Pipeline] stash 00:29:31 Warning: overwriting stash ‘stack-cost’ 00:29:31 Stashed 1 file(s) [Pipeline] } 00:29:31 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] [Pipeline] // lock [Pipeline] } 00:29:31 $ docker stop --time=1 5dd2965398d05287b66d397ad93af4745b4d04fbf01eef474c7e3065142793a2 00:29:33 $ docker rm -f --volumes 5dd2965398d05287b66d397ad93af4745b4d04fbf01eef474c7e3065142793a2 [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 00:29:33 provisioning config files... 00:29:33 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config11440666139259924340tmp [Pipeline] { [Pipeline] sh 00:29:34 + set +x 00:29:34 + curl -s https://codecov.io/bash 00:29:34 + bash -s -- 00:29:34 00:29:34 _____ _ 00:29:34 / ____| | | 00:29:34 | | ___ __| | ___ ___ _____ __ 00:29:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:29:34 | |___| (_) | (_| | __/ (_| (_) \ V / 00:29:34 \_____\___/ \__,_|\___|\___\___/ \_/ 00:29:34 Bash-1.0.6 00:29:34 00:29:34 00:29:34 ==> git version 2.25.1 found 00:29:34 ==> 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 00:29:34 Release-Date: 2020-01-08 00:29:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:29:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:29:34 ==> Jenkins CI detected. 00:29:34 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-318 00:29:34 project root: . 00:29:34 --> token set from env 00:29:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:29:34 ==> Running gcov in . (disable via -X gcov) 00:29:34 ==> Python coveragepy not found 00:29:34 ==> Searching for coverage reports in: 00:29:34 + . 00:29:34 -> Found 1 reports 00:29:34 ==> Detecting git/mercurial file structure 00:29:34 ==> Reading reports 00:29:34 + ./coverage.out bytes=14663 00:29:34 ==> Appending adjustments 00:29:34 https://docs.codecov.io/docs/fixing-reports 00:29:34 + Found adjustments 00:29:34 ==> Gzipping contents 00:29:34 4.0K /tmp/codecov.mXjxKs.gz 00:29:34 ==> Uploading reports 00:29:34 url: https://codecov.io 00:29:34 query: branch=PR-318&commit=d206607035c991f05c0cecfdd4d402add0655ed3&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= 00:29:34 -> Pinging Codecov 00:29:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-318&commit=d206607035c991f05c0cecfdd4d402add0655ed3&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= 00:29:34 -> Uploading to 00:29:34 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/4E5D53B4F1F92C436F7061BF334D961C/d206607035c991f05c0cecfdd4d402add0655ed3/5e01fa3d-e157-4780-9323-3f94675419e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T002934Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5be097816a6fdd6bfbe4c97cddf386de389c7fed7feeb68fc9b9908658073f27 00:29:34 % Total % Received % Xferd Average Speed Time Time Time Current 00:29:34 Dload Upload Total Spent Left Speed 00:29:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11895 --:--:-- --:--:-- --:--:-- 11839 100 2510 0 0 100 2510 0 11895 --:--:-- --:--:-- --:--:-- 11839 00:29:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d206607035c991f05c0cecfdd4d402add0655ed3 [Pipeline] } 00:29:34 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 00:29:35 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-318/archives ] 00:29:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives 00:29:35 total 16 00:29:35 drwxr-xr-x 3 root root 4096 May 25 00:18 . 00:29:35 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:18 .. 00:29:35 drwxr-xr-x 2 root root 4096 May 25 00:18 cost 00:29:35 -rw-r--r-- 1 root root 87 May 25 00:18 cost.csv 00:29:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-318/archives 00:29:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives 00:29:35 total 16 00:29:35 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:18 . 00:29:35 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:18 .. 00:29:35 drwxr-xr-x 2 jenkins jenkins 4096 May 25 00:18 cost 00:29:35 -rw-r--r-- 1 jenkins jenkins 87 May 25 00:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:29:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:29:36 ---> package-listing.sh 00:29:36 ++ facter osfamily 00:29:36 ++ tr '[:upper:]' '[:lower:]' 00:29:36 + OS_FAMILY=debian 00:29:36 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-318 00:29:36 + START_PACKAGES=/tmp/packages_start.txt 00:29:36 + END_PACKAGES=/tmp/packages_end.txt 00:29:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:29:36 + PACKAGES=/tmp/packages_start.txt 00:29:36 + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' 00:29:36 + PACKAGES=/tmp/packages_end.txt 00:29:36 + case "${OS_FAMILY}" in 00:29:36 + dpkg -l 00:29:36 + grep '^ii' 00:29:36 + '[' -f /tmp/packages_start.txt ']' 00:29:36 + '[' -f /tmp/packages_end.txt ']' 00:29:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:29:36 + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' 00:29:36 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ 00:29:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [Pipeline] echo 00:29:36 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-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:29:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:29:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:37 prd-ubuntu20.04-docker-8c-8g-16856 does not seem to be running inside a container 00:29:37 $ 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-318/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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 00:29:37 $ docker top d039e530bd22cf7d4129f9b0e13acc26fa8fc51ca7c4d66dbb860d7ee09bd2b4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:38 + touch /tmp/pre-build-complete [Pipeline] sh 00:29:38 + mkdir -p /var/log/sysstat [Pipeline] sh 00:29:38 + ls /var/log/sa-host 00:29:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:29:38 provisioning config files... 00:29:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config16360270886277199397tmp [Pipeline] { [Pipeline] echo 00:29:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:29:39 ---> create-netrc.sh [Pipeline] } 00:29:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:29:39 ---> python-tools-install.sh [Pipeline] echo 00:29:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:29:39 ---> sudo-logs.sh 00:29:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:29:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:29:40 ---> job-cost.sh 00:29:40 lf-activate-venv: SKIPPING 00:29:40 DEBUG: total: 0.2199999988079071 00:29:40 INFO: Retrieving Stack Cost... 00:29:40 INFO: Retrieving Pricing Info for: v3-standard-8 00:29:40 INFO: Archiving Costs [Pipeline] echo 00:29:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:29:41 ---> logs-deploy.sh 00:29:41 lf-activate-venv: SKIPPING 00:29:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-318/10 00:29:41 INFO: archiving workspace using pattern(s): 00:29:42 Archives upload complete. 00:29:42 INFO: archiving logs to Nexus