Pull request #213 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from cc27d241021b405d783a15e4eed4849dd6d745cb+dba35d3ba46b7861587cc7246b39f98fa3ba425a (8396b9b8e3db0164e6ed4358c8b72fdd4bdbbc7d) 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-ssh16544739731088905680.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16775748255358391707.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-213/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-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6780944389823964060.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh18234588220704548124.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-213/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-213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14539732476272868133.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-673’ Running on prd-ubuntu20.04-docker-8c-8g-675 in /w/workspace/gexfoundry_device-rest-go_PR-213 [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-213 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dba35d3ba46b7861587cc7246b39f98fa3ba425a into PR head commit cc27d241021b405d783a15e4eed4849dd6d745cb Merge succeeded, producing cc27d241021b405d783a15e4eed4849dd6d745cb Checking out Revision cc27d241021b405d783a15e4eed4849dd6d745cb (PR-213) > git config core.sparsecheckout # timeout=10 > git checkout -f cc27d241021b405d783a15e4eed4849dd6d745cb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc27d241021b405d783a15e4eed4849dd6d745cb # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git rev-list --no-walk 0620b8de6097426a9ccc0f6041add98431d45914 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T22:51:59.828Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T22:51:59.889Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T22:51:59.902Z] ========================================================= [2022-09-22T22:51:59.902Z] EdgeX Global Pipelines Version Info [2022-09-22T22:51:59.902Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:52:00.608Z] ------------------- [2022-09-22T22:52:00.608Z] stable info: [2022-09-22T22:52:00.608Z] ------------------- [2022-09-22T22:52:00.608Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T22:52:00.608Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T22:52:00.608Z] Message: update stable to v1.0.239 [2022-09-22T22:52:01.176Z] ------------------- [2022-09-22T22:52:01.176Z] experimental info: [2022-09-22T22:52:01.176Z] ------------------- [2022-09-22T22:52:01.176Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T22:52:01.176Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T22:52:01.176Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T22:52:01.341Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-09-22T22:52:01.355Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-09-22T22:52:01.367Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T22:52:01.388Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T22:52:01.405Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T22:52:01.416Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T22:52:01.430Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T22:52:01.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T22:52:01.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T22:52:01.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T22:52:01.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T22:52:01.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-09-22T22:52:01.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T22:52:01.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T22:52:01.551Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T22:52:01.565Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T22:52:01.581Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T22:52:01.590Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T22:52:01.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T22:52:01.618Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T22:52:01.635Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-22T22:52:01.651Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-22T22:52:01.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T22:52:01.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T22:52:01.694Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T22:52:01.704Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T22:52:01.715Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T22:52:01.730Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-213 [Pipeline] echo [2022-09-22T22:52:01.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-213 [Pipeline] echo [2022-09-22T22:52:01.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-213 [Pipeline] echo [2022-09-22T22:52:01.762Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc27d241021b405d783a15e4eed4849dd6d745cb [Pipeline] echo [2022-09-22T22:52:01.777Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc27d24 [Pipeline] echo [2022-09-22T22:52:01.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T22:52:01.829Z] provisioning config files... [2022-09-22T22:52:01.845Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config15056040185386520218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:52:02.154Z] ---> docker-login.sh [2022-09-22T22:52:02.154Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:52:02.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:02.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:02.414Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:02.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:02.414Z] [2022-09-22T22:52:02.414Z] Login Succeeded [2022-09-22T22:52:02.414Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:52:02.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:02.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:02.414Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:02.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:02.414Z] [2022-09-22T22:52:02.414Z] Login Succeeded [2022-09-22T22:52:02.414Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:52:02.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:02.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:02.675Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:02.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:02.675Z] [2022-09-22T22:52:02.675Z] Login Succeeded [2022-09-22T22:52:02.675Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:52:02.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:02.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:02.675Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:02.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:02.675Z] [2022-09-22T22:52:02.675Z] Login Succeeded [2022-09-22T22:52:02.675Z] docker.io [2022-09-22T22:52:02.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:03.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:03.508Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:03.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:03.508Z] [2022-09-22T22:52:03.508Z] Login Succeeded [2022-09-22T22:52:03.508Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:52:03.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T22:52:03.888Z] + git rev-list -1 --merges cc27d241021b405d783a15e4eed4849dd6d745cb~1..cc27d241021b405d783a15e4eed4849dd6d745cb [Pipeline] echo [2022-09-22T22:52:03.920Z] -----------> git rev-list -1 --merges cc27d241021b405d783a15e4eed4849dd6d745cb~1..cc27d241021b405d783a15e4eed4849dd6d745cb cc27d241021b405d783a15e4eed4849dd6d745cb [false] [Pipeline] sh [2022-09-22T22:52:04.212Z] + git log --format=format:%s -1 cc27d241021b405d783a15e4eed4849dd6d745cb [Pipeline] echo [2022-09-22T22:52:04.224Z] ========================================================= [2022-09-22T22:52:04.224Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T22:52:04.224Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T22:52:04.565Z] + git log --format=format:%s -1 cc27d241021b405d783a15e4eed4849dd6d745cb [Pipeline] echo [2022-09-22T22:52:04.577Z] [semverPrep] GIT_COMMIT: cc27d241021b405d783a15e4eed4849dd6d745cb, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-22T22:52:04.588Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T22:52:04.925Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T22:52:04.925Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T22:52:04.925Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T22:52:04.925Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T22:52:04.925Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T22:52:04.925Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T22:52:04.925Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:52:05.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:52:05.264Z] [2022-09-22T22:52:05.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:52:05.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:52:05.570Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T22:52:05.570Z] b85a868b505f: Pulling fs layer [2022-09-22T22:52:05.570Z] e2be974225ed: Pulling fs layer [2022-09-22T22:52:05.570Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T22:52:05.570Z] 988bab9f4d93: Pulling fs layer [2022-09-22T22:52:05.570Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T22:52:05.570Z] eaf3925da568: Pulling fs layer [2022-09-22T22:52:05.570Z] bab4dde63d76: Pulling fs layer [2022-09-22T22:52:05.570Z] bde34c3a00c8: Pulling fs layer [2022-09-22T22:52:05.570Z] b352a97aabf1: Pulling fs layer [2022-09-22T22:52:05.570Z] 4872d77fe225: Pulling fs layer [2022-09-22T22:52:05.570Z] 5851b861e8e6: Pulling fs layer [2022-09-22T22:52:05.570Z] 988bab9f4d93: Waiting [2022-09-22T22:52:05.570Z] bab4dde63d76: Waiting [2022-09-22T22:52:05.570Z] 1469e6f7b9e6: Waiting [2022-09-22T22:52:05.570Z] eaf3925da568: Waiting [2022-09-22T22:52:05.570Z] b352a97aabf1: Waiting [2022-09-22T22:52:05.570Z] bde34c3a00c8: Waiting [2022-09-22T22:52:05.570Z] 5851b861e8e6: Waiting [2022-09-22T22:52:05.570Z] 4872d77fe225: Waiting [2022-09-22T22:52:05.570Z] e2be974225ed: Download complete [2022-09-22T22:52:05.570Z] 988bab9f4d93: Verifying Checksum [2022-09-22T22:52:05.570Z] 988bab9f4d93: Download complete [2022-09-22T22:52:05.830Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T22:52:05.830Z] 1469e6f7b9e6: Download complete [2022-09-22T22:52:05.830Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T22:52:05.830Z] 339a4e72a1f5: Download complete [2022-09-22T22:52:05.830Z] eaf3925da568: Download complete [2022-09-22T22:52:05.830Z] bde34c3a00c8: Verifying Checksum [2022-09-22T22:52:05.830Z] bde34c3a00c8: Download complete [2022-09-22T22:52:05.830Z] b352a97aabf1: Download complete [2022-09-22T22:52:05.830Z] 4872d77fe225: Download complete [2022-09-22T22:52:05.830Z] 5851b861e8e6: Download complete [2022-09-22T22:52:05.830Z] b85a868b505f: Verifying Checksum [2022-09-22T22:52:05.830Z] b85a868b505f: Download complete [2022-09-22T22:52:06.089Z] bab4dde63d76: Verifying Checksum [2022-09-22T22:52:06.089Z] bab4dde63d76: Download complete [2022-09-22T22:52:07.060Z] b85a868b505f: Pull complete [2022-09-22T22:52:07.332Z] e2be974225ed: Pull complete [2022-09-22T22:52:07.598Z] 339a4e72a1f5: Pull complete [2022-09-22T22:52:07.869Z] 988bab9f4d93: Pull complete [2022-09-22T22:52:08.128Z] 1469e6f7b9e6: Pull complete [2022-09-22T22:52:08.128Z] eaf3925da568: Pull complete [2022-09-22T22:52:10.033Z] bab4dde63d76: Pull complete [2022-09-22T22:52:10.033Z] bde34c3a00c8: Pull complete [2022-09-22T22:52:10.033Z] b352a97aabf1: Pull complete [2022-09-22T22:52:10.293Z] 4872d77fe225: Pull complete [2022-09-22T22:52:10.293Z] 5851b861e8e6: Pull complete [2022-09-22T22:52:10.293Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T22:52:10.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:52:10.293Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:52:10.373Z] prd-ubuntu20.04-docker-8c-8g-675 does not seem to be running inside a container [2022-09-22T22:52:10.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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-devops/py-git-semver:0.1.4 cat [2022-09-22T22:52:11.652Z] $ docker top c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 -eo pid,comm [2022-09-22T22:52:11.716Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-22T22:52:11.716Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T22:52:11.753Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T22:52:11.753Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T22:52:11.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T22:52:11.874Z] $ docker exec c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 ssh-agent [2022-09-22T22:52:11.997Z] SSH_AUTH_SOCK=/tmp/ssh-xpRHBto8lGoW/agent.31 [2022-09-22T22:52:11.997Z] SSH_AGENT_PID=38 [2022-09-22T22:52:12.003Z] Running ssh-add (command line suppressed) [2022-09-22T22:52:12.107Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_9540454378768888383.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_9540454378768888383.key) [2022-09-22T22:52:12.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T22:52:12.410Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T22:52:12.418Z] $ docker exec --env ******** --env ******** c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 ssh-agent -k [2022-09-22T22:52:12.539Z] unset SSH_AUTH_SOCK; [2022-09-22T22:52:12.539Z] unset SSH_AGENT_PID; [2022-09-22T22:52:12.539Z] echo Agent pid 38 killed; [2022-09-22T22:52:12.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T22:52:12.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T22:52:12.580Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T22:52:12.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T22:52:12.701Z] $ docker exec c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 ssh-agent [2022-09-22T22:52:12.835Z] SSH_AUTH_SOCK=/tmp/ssh-W2RNeDGPjJWr/agent.70 [2022-09-22T22:52:12.835Z] SSH_AGENT_PID=76 [2022-09-22T22:52:12.841Z] Running ssh-add (command line suppressed) [2022-09-22T22:52:12.949Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_7801899758852561210.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_7801899758852561210.key) [2022-09-22T22:52:12.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T22:52:13.252Z] + git semver init [2022-09-22T22:52:13.512Z] 2022-09-22 22:52:13,452 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T22:52:13.512Z] 2022-09-22 22:52:13,452 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver [2022-09-22T22:52:13.512Z] 2022-09-22 22:52:13,453 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-213/.semver [2022-09-22T22:52:13.512Z] 2022-09-22 22:52:13,453 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-213/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213, universal_newlines=False, shell=None, istream=None) [2022-09-22T22:52:14.892Z] 2022-09-22 22:52:14,475 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.git/info/exclude [2022-09-22T22:52:14.892Z] 2022-09-22 22:52:14,476 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 with force:False [2022-09-22T22:52:14.892Z] 2022-09-22 22:52:14,476 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 [2022-09-22T22:52:14.892Z] 2022-09-22 22:52:14,479 [execute] INFO git cat-file --batch-check [2022-09-22T22:52:14.892Z] 2022-09-22 22:52:14,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T22:52:14.892Z] 2022-09-22 22:52:14,485 [execute] INFO git cat-file --batch [2022-09-22T22:52:14.892Z] 2022-09-22 22:52:14,486 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T22:52:14.892Z] 2022-09-22 22:52:14,492 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 [2022-09-22T22:52:14.892Z] 0.0.0 [Pipeline] } [2022-09-22T22:52:14.900Z] $ docker exec --env ******** --env ******** c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 ssh-agent -k [2022-09-22T22:52:15.009Z] unset SSH_AUTH_SOCK; [2022-09-22T22:52:15.010Z] unset SSH_AGENT_PID; [2022-09-22T22:52:15.010Z] echo Agent pid 76 killed; [2022-09-22T22:52:15.021Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T22:52:15.331Z] + git semver [Pipeline] } [2022-09-22T22:52:15.602Z] $ docker stop --time=1 c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 [2022-09-22T22:52:16.911Z] $ docker rm -f c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:52:17.252Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T22:52:17.419Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T22:52:17.422Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T22:52:17.527Z] provisioning config files... [2022-09-22T22:52:17.536Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config3415017054484917930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:52:17.828Z] ---> docker-login.sh [2022-09-22T22:52:17.828Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:52:17.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:17.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:17.828Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:17.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:17.828Z] [2022-09-22T22:52:17.828Z] Login Succeeded [2022-09-22T22:52:17.828Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:52:17.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:17.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:17.828Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:17.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:17.829Z] [2022-09-22T22:52:17.829Z] Login Succeeded [2022-09-22T22:52:17.829Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:52:18.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:18.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:18.088Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:18.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:18.088Z] [2022-09-22T22:52:18.088Z] Login Succeeded [2022-09-22T22:52:18.088Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:52:18.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:18.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:18.088Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:18.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:18.088Z] [2022-09-22T22:52:18.088Z] Login Succeeded [2022-09-22T22:52:18.088Z] docker.io [2022-09-22T22:52:18.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:18.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:18.607Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:18.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:18.607Z] [2022-09-22T22:52:18.607Z] Login Succeeded [2022-09-22T22:52:18.607Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:52:18.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T22:52:18.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:52:18.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:52:18.692Z] ========================================================= [2022-09-22T22:52:18.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T22:52:18.692Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:52:19.008Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T22:52:19.008Z] Sending build context to Docker daemon 10.71MB [2022-09-22T22:52:19.008Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:52:19.008Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T22:52:19.008Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T22:52:19.008Z] 2408cc74d12b: Pulling fs layer [2022-09-22T22:52:19.008Z] ea60b727a1ce: Pulling fs layer [2022-09-22T22:52:19.008Z] 30c4a7721957: Pulling fs layer [2022-09-22T22:52:19.008Z] 370296b7ddb6: Pulling fs layer [2022-09-22T22:52:19.008Z] 7c6cee850709: Pulling fs layer [2022-09-22T22:52:19.008Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T22:52:19.008Z] d94ebbe4e438: Pulling fs layer [2022-09-22T22:52:19.008Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T22:52:19.008Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T22:52:19.008Z] d94ebbe4e438: Waiting [2022-09-22T22:52:19.008Z] bcfd1f05c69d: Waiting [2022-09-22T22:52:19.008Z] 7c6cee850709: Waiting [2022-09-22T22:52:19.008Z] 59ccb84bbe0f: Waiting [2022-09-22T22:52:19.008Z] 370296b7ddb6: Waiting [2022-09-22T22:52:19.008Z] 30c4a7721957: Verifying Checksum [2022-09-22T22:52:19.008Z] 30c4a7721957: Download complete [2022-09-22T22:52:19.008Z] ea60b727a1ce: Verifying Checksum [2022-09-22T22:52:19.008Z] ea60b727a1ce: Download complete [2022-09-22T22:52:19.008Z] 7c6cee850709: Verifying Checksum [2022-09-22T22:52:19.008Z] 7c6cee850709: Download complete [2022-09-22T22:52:19.008Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T22:52:19.008Z] 39a5fcdaea64: Download complete [2022-09-22T22:52:19.271Z] 2408cc74d12b: Verifying Checksum [2022-09-22T22:52:19.271Z] 2408cc74d12b: Download complete [2022-09-22T22:52:19.271Z] d94ebbe4e438: Verifying Checksum [2022-09-22T22:52:19.271Z] d94ebbe4e438: Download complete [2022-09-22T22:52:19.271Z] 2408cc74d12b: Pull complete [2022-09-22T22:52:19.543Z] ea60b727a1ce: Pull complete [2022-09-22T22:52:19.543Z] 30c4a7721957: Pull complete [2022-09-22T22:52:19.543Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T22:52:19.543Z] 59ccb84bbe0f: Download complete [2022-09-22T22:52:19.808Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T22:52:19.808Z] bcfd1f05c69d: Download complete [2022-09-22T22:52:20.067Z] 370296b7ddb6: Verifying Checksum [2022-09-22T22:52:20.067Z] 370296b7ddb6: Download complete [2022-09-22T22:52:24.251Z] 370296b7ddb6: Pull complete [2022-09-22T22:52:24.251Z] 7c6cee850709: Pull complete [2022-09-22T22:52:24.251Z] 39a5fcdaea64: Pull complete [2022-09-22T22:52:24.251Z] d94ebbe4e438: Pull complete [2022-09-22T22:52:26.161Z] bcfd1f05c69d: Pull complete [2022-09-22T22:52:26.726Z] 59ccb84bbe0f: Pull complete [2022-09-22T22:52:26.726Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T22:52:26.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T22:52:26.726Z] ---> a4fb48ad2a94 [2022-09-22T22:52:26.726Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:52:28.103Z] ---> Running in 04c912760ed9 [2022-09-22T22:52:28.103Z] Removing intermediate container 04c912760ed9 [2022-09-22T22:52:28.103Z] ---> 3815acb9cb1e [2022-09-22T22:52:28.103Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:52:28.103Z] ---> Running in f5283dff96e8 [2022-09-22T22:52:28.362Z] Removing intermediate container f5283dff96e8 [2022-09-22T22:52:28.362Z] ---> b271767f0c83 [2022-09-22T22:52:28.362Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:52:28.362Z] ---> Running in 78bcb49bb2fc [2022-09-22T22:52:28.362Z] Removing intermediate container 78bcb49bb2fc [2022-09-22T22:52:28.362Z] ---> a4fff3011cb1 [2022-09-22T22:52:28.362Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:52:28.622Z] ---> Running in bc12934bdb1a [2022-09-22T22:52:28.622Z] Removing intermediate container bc12934bdb1a [2022-09-22T22:52:28.622Z] ---> 00fdeacc0eec [2022-09-22T22:52:28.622Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:52:28.622Z] ---> Running in 219df9ae6f23 [2022-09-22T22:52:29.188Z] Removing intermediate container 219df9ae6f23 [2022-09-22T22:52:29.188Z] ---> f97303ef2dee [2022-09-22T22:52:29.188Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:52:29.188Z] ---> Running in a0cacc316b6f [2022-09-22T22:52:29.449Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:52:30.384Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:52:30.644Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T22:52:30.644Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T22:52:30.902Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T22:52:30.902Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T22:52:30.902Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T22:52:30.902Z] OK: 216 MiB in 55 packages [2022-09-22T22:52:31.473Z] Removing intermediate container a0cacc316b6f [2022-09-22T22:52:31.473Z] ---> e0c4ccc8e94e [2022-09-22T22:52:31.473Z] Step 9/13 : WORKDIR /device-rest-go [2022-09-22T22:52:31.473Z] ---> Running in ab0404b753ab [2022-09-22T22:52:31.473Z] Removing intermediate container ab0404b753ab [2022-09-22T22:52:31.473Z] ---> f13829f0d4ac [2022-09-22T22:52:31.473Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-22T22:52:31.732Z] ---> 38bc56c90ef1 [2022-09-22T22:52:31.732Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:52:31.732Z] ---> Running in 70dc5e65760b [2022-09-22T22:52:32.497Z] Still waiting to schedule task [2022-09-22T22:52:32.497Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-674’ [2022-09-22T22:52:46.624Z] Removing intermediate container 70dc5e65760b [2022-09-22T22:52:46.624Z] ---> 02dc804d38e1 [2022-09-22T22:52:46.624Z] Step 12/13 : COPY . . [2022-09-22T22:52:46.624Z] ---> 514adecd6ac4 [2022-09-22T22:52:46.624Z] Step 13/13 : RUN $MAKE [2022-09-22T22:52:46.624Z] ---> Running in d53b22ef136b [2022-09-22T22:52:46.624Z] noop [2022-09-22T22:52:46.624Z] Removing intermediate container d53b22ef136b [2022-09-22T22:52:46.624Z] ---> 9a0955a64fe2 [2022-09-22T22:52:46.624Z] Successfully built 9a0955a64fe2 [2022-09-22T22:52:46.624Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:52:46.929Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T22:52:46.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:52:46.992Z] prd-ubuntu20.04-docker-8c-8g-675 does not seem to be running inside a container [2022-09-22T22:52:47.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T22:52:47.393Z] $ docker top 13365e326ee0d0b3ead8110a1f2f97c12513fe8301bf757d75f7b70d92774d96 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:52:47.729Z] + go version [2022-09-22T22:52:47.729Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T22:52:47.740Z] $ docker stop --time=1 13365e326ee0d0b3ead8110a1f2f97c12513fe8301bf757d75f7b70d92774d96 [2022-09-22T22:52:49.042Z] $ docker rm -f 13365e326ee0d0b3ead8110a1f2f97c12513fe8301bf757d75f7b70d92774d96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:52:49.458Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T22:52:49.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:52:49.524Z] prd-ubuntu20.04-docker-8c-8g-675 does not seem to be running inside a container [2022-09-22T22:52:49.554Z] $ 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-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T22:52:49.889Z] $ docker top f8c3a499f61cad8868d5c54ac330a5fbfc1d5afa1b221cdc39b45e325310a4f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:52:50.227Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] fileExists [Pipeline] sh [2022-09-22T22:52:50.529Z] + make test [2022-09-22T22:52:50.529Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-22T22:52:50.786Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-09-22T22:53:00.748Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-09-22T22:53:00.748Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-09-22T22:53:06.021Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-22T22:53:06.021Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T22:53:09.301Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T22:53:09.301Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T22:53:09.301Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T22:53:09.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T22:53:09.328Z] $ docker stop --time=1 f8c3a499f61cad8868d5c54ac330a5fbfc1d5afa1b221cdc39b45e325310a4f0 [2022-09-22T22:53:10.978Z] $ docker rm -f f8c3a499f61cad8868d5c54ac330a5fbfc1d5afa1b221cdc39b45e325310a4f0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:53:11.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T22:53:11.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T22:53:11.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T22:53:12.258Z] + ls -al . [2022-09-22T22:53:12.258Z] total 180 [2022-09-22T22:53:12.258Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 22:52 . [2022-09-22T22:53:12.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:51 .. [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 22:51 .dockerignore [2022-09-22T22:53:12.258Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:53 .git [2022-09-22T22:53:12.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:51 .github [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:51 .gitignore [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:51 .golangci.yml [2022-09-22T22:53:12.258Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:52 .semver [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 9100 Sep 22 22:51 Attribution.txt [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 11736 Sep 22 22:51 CHANGELOG.md [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 1730 Sep 22 22:51 Dockerfile [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:51 GOVERNANCE.md [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 22:51 Jenkinsfile [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:51 LICENSE [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 2173 Sep 22 22:51 Makefile [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:51 OWNERS.md [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 8667 Sep 22 22:51 README.md [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:52 VERSION [2022-09-22T22:53:12.258Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:51 bin [2022-09-22T22:53:12.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:51 cmd [2022-09-22T22:53:12.258Z] -rw-r--r-- 1 jenkins jenkins 9355 Sep 22 22:52 coverage.out [2022-09-22T22:53:12.258Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:51 driver [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 3547 Sep 22 22:51 go.mod [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:51 go.sum [2022-09-22T22:53:12.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:51 snap [2022-09-22T22:53:12.258Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 22:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:53:12.559Z] + 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=cc27d241021b405d783a15e4eed4849dd6d745cb --label arch=amd64 --label version=0.0.0 . [2022-09-22T22:53:12.559Z] Sending build context to Docker daemon 10.72MB [2022-09-22T22:53:12.559Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:53:12.559Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-22T22:53:12.559Z] ---> 9a0955a64fe2 [2022-09-22T22:53:12.559Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:53:12.559Z] ---> Running in 3ab04071b422 [2022-09-22T22:53:12.818Z] Removing intermediate container 3ab04071b422 [2022-09-22T22:53:12.818Z] ---> 7ebc93dc6d97 [2022-09-22T22:53:12.818Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:53:12.818Z] ---> Running in c290ef613ef8 [2022-09-22T22:53:12.818Z] Removing intermediate container c290ef613ef8 [2022-09-22T22:53:12.818Z] ---> 9feb42f5df35 [2022-09-22T22:53:12.818Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:53:12.818Z] ---> Running in 43090ff1ad0a [2022-09-22T22:53:13.077Z] Removing intermediate container 43090ff1ad0a [2022-09-22T22:53:13.077Z] ---> 9bd519a271c8 [2022-09-22T22:53:13.077Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:53:13.077Z] ---> Running in c4668f97c1bb [2022-09-22T22:53:13.077Z] Removing intermediate container c4668f97c1bb [2022-09-22T22:53:13.077Z] ---> 2482b4accfa6 [2022-09-22T22:53:13.077Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:53:13.077Z] ---> Running in d63ae4cba75e [2022-09-22T22:53:13.645Z] Removing intermediate container d63ae4cba75e [2022-09-22T22:53:13.645Z] ---> c2ce6f727a84 [2022-09-22T22:53:13.645Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:53:13.645Z] ---> Running in a0b8c4f2ef0f [2022-09-22T22:53:13.903Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:53:14.839Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:53:15.098Z] OK: 216 MiB in 55 packages [2022-09-22T22:53:15.357Z] Removing intermediate container a0b8c4f2ef0f [2022-09-22T22:53:15.357Z] ---> bab5a4cdeba8 [2022-09-22T22:53:15.357Z] Step 9/26 : WORKDIR /device-rest-go [2022-09-22T22:53:15.357Z] ---> Running in 99792834009e [2022-09-22T22:53:15.614Z] Removing intermediate container 99792834009e [2022-09-22T22:53:15.614Z] ---> 3ccc082ce229 [2022-09-22T22:53:15.614Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-22T22:53:15.614Z] ---> 51155ea4641a [2022-09-22T22:53:15.614Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:53:15.614Z] ---> Running in e3b1e7a1cbb3 [2022-09-22T22:53:16.547Z] Removing intermediate container e3b1e7a1cbb3 [2022-09-22T22:53:16.547Z] ---> b0bb79f8be91 [2022-09-22T22:53:16.547Z] Step 12/26 : COPY . . [2022-09-22T22:53:16.547Z] ---> 0c1ee2d9c2c4 [2022-09-22T22:53:16.547Z] Step 13/26 : RUN $MAKE [2022-09-22T22:53:16.547Z] ---> Running in 00d9803fa0c0 [2022-09-22T22:53:16.805Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-09-22T22:53:34.876Z] Removing intermediate container 00d9803fa0c0 [2022-09-22T22:53:34.876Z] ---> 568b994e228f [2022-09-22T22:53:34.876Z] Step 14/26 : FROM alpine:3.16 [2022-09-22T22:53:35.136Z] 3.16: Pulling from library/alpine [2022-09-22T22:53:35.136Z] 213ec9aee27d: Pulling fs layer [2022-09-22T22:53:35.395Z] 213ec9aee27d: Verifying Checksum [2022-09-22T22:53:35.395Z] 213ec9aee27d: Download complete [2022-09-22T22:53:35.655Z] 213ec9aee27d: Pull complete [2022-09-22T22:53:35.655Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T22:53:35.655Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T22:53:35.655Z] ---> 9c6f07244728 [2022-09-22T22:53:35.655Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T22:53:35.655Z] ---> Running in 043798e12b8a [2022-09-22T22:53:35.655Z] Removing intermediate container 043798e12b8a [2022-09-22T22:53:35.655Z] ---> c74809cf31ba [2022-09-22T22:53:35.655Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-09-22T22:53:35.655Z] ---> Running in 6c2096230d35 [2022-09-22T22:53:35.914Z] Removing intermediate container 6c2096230d35 [2022-09-22T22:53:35.914Z] ---> e196a69914e5 [2022-09-22T22:53:35.914Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T22:53:35.914Z] ---> Running in 4361efa230c3 [2022-09-22T22:53:36.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:53:36.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:53:36.432Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T22:53:36.432Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T22:53:36.432Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T22:53:36.432Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T22:53:36.432Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T22:53:36.432Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T22:53:36.432Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T22:53:36.432Z] OK: 8 MiB in 20 packages [2022-09-22T22:53:36.691Z] Removing intermediate container 4361efa230c3 [2022-09-22T22:53:36.691Z] ---> 8d4b3a9ead9a [2022-09-22T22:53:36.691Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-09-22T22:53:37.259Z] ---> 9c58a36df807 [2022-09-22T22:53:37.259Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-09-22T22:53:37.259Z] ---> 687449251c3c [2022-09-22T22:53:37.259Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-09-22T22:53:37.518Z] ---> 890abe939531 [2022-09-22T22:53:37.518Z] Step 21/26 : EXPOSE 59986 [2022-09-22T22:53:37.518Z] ---> Running in c00cf91477e4 [2022-09-22T22:53:37.518Z] Removing intermediate container c00cf91477e4 [2022-09-22T22:53:37.518Z] ---> b480623401b5 [2022-09-22T22:53:37.518Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-09-22T22:53:37.776Z] ---> Running in b9bdde2a01ee [2022-09-22T22:53:37.776Z] Removing intermediate container b9bdde2a01ee [2022-09-22T22:53:37.776Z] ---> 1fe4c995a5a5 [2022-09-22T22:53:37.776Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-22T22:53:37.776Z] ---> Running in 204fe027fcfe [2022-09-22T22:53:37.776Z] Removing intermediate container 204fe027fcfe [2022-09-22T22:53:37.776Z] ---> e2aecfe49610 [2022-09-22T22:53:37.776Z] Step 24/26 : LABEL arch=amd64 [2022-09-22T22:53:37.776Z] ---> Running in 1eb59ad5912b [2022-09-22T22:53:38.034Z] Removing intermediate container 1eb59ad5912b [2022-09-22T22:53:38.034Z] ---> 65215baee01c [2022-09-22T22:53:38.034Z] Step 25/26 : LABEL git_sha=cc27d241021b405d783a15e4eed4849dd6d745cb [2022-09-22T22:53:38.034Z] ---> Running in 064c95a749fc [2022-09-22T22:53:38.034Z] Removing intermediate container 064c95a749fc [2022-09-22T22:53:38.034Z] ---> 53cf9c435275 [2022-09-22T22:53:38.035Z] Step 26/26 : LABEL version=0.0.0 [2022-09-22T22:53:38.035Z] ---> Running in f1873b2a8e16 [2022-09-22T22:53:38.294Z] Removing intermediate container f1873b2a8e16 [2022-09-22T22:53:38.294Z] ---> c931019d06ae [2022-09-22T22:53:38.294Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T22:53:38.294Z] Successfully built c931019d06ae [2022-09-22T22:53:38.294Z] 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 [2022-09-22T22:53:38.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:53:38.741Z] [2022-09-22T22:53:38.741Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:53:39.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:53:39.039Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T22:53:39.039Z] 5eb5b503b376: Pulling fs layer [2022-09-22T22:53:39.039Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T22:53:39.039Z] ec43610c2a17: Pulling fs layer [2022-09-22T22:53:39.039Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T22:53:39.039Z] 33b1e0a273af: Pulling fs layer [2022-09-22T22:53:39.039Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T22:53:39.039Z] 2f39f015ded8: Pulling fs layer [2022-09-22T22:53:39.039Z] 3a2ae6a8a46f: Waiting [2022-09-22T22:53:39.039Z] 33b1e0a273af: Waiting [2022-09-22T22:53:39.039Z] 5d3b04190fa2: Waiting [2022-09-22T22:53:39.039Z] 2f39f015ded8: Waiting [2022-09-22T22:53:39.039Z] 5c69ac0246d0: Verifying Checksum [2022-09-22T22:53:39.039Z] 5c69ac0246d0: Download complete [2022-09-22T22:53:39.039Z] 3a2ae6a8a46f: Download complete [2022-09-22T22:53:39.039Z] 33b1e0a273af: Verifying Checksum [2022-09-22T22:53:39.039Z] 33b1e0a273af: Download complete [2022-09-22T22:53:39.298Z] 5d3b04190fa2: Verifying Checksum [2022-09-22T22:53:39.298Z] 5d3b04190fa2: Download complete [2022-09-22T22:53:39.298Z] ec43610c2a17: Verifying Checksum [2022-09-22T22:53:39.298Z] ec43610c2a17: Download complete [2022-09-22T22:53:39.298Z] 5eb5b503b376: Verifying Checksum [2022-09-22T22:53:39.298Z] 5eb5b503b376: Download complete [2022-09-22T22:53:39.865Z] 2f39f015ded8: Download complete [2022-09-22T22:53:40.432Z] 5eb5b503b376: Pull complete [2022-09-22T22:53:40.432Z] 5c69ac0246d0: Pull complete [2022-09-22T22:53:40.999Z] ec43610c2a17: Pull complete [2022-09-22T22:53:40.999Z] 3a2ae6a8a46f: Pull complete [2022-09-22T22:53:41.256Z] 33b1e0a273af: Pull complete [2022-09-22T22:53:41.256Z] 5d3b04190fa2: Pull complete [2022-09-22T22:53:45.439Z] 2f39f015ded8: Pull complete [2022-09-22T22:53:45.439Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T22:53:45.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:53:45.439Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:53:45.499Z] prd-ubuntu20.04-docker-8c-8g-675 does not seem to be running inside a container [2022-09-22T22:53:45.527Z] $ 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-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T22:53:46.996Z] $ docker top f7478d41ca2b08a671df6e63888449da5de793ae516d7cd8c07e9dfa65a30b41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:53:47.385Z] ---> job-cost.sh [2022-09-22T22:53:47.385Z] lf-activate-venv: SKIPPING [2022-09-22T22:53:47.385Z] INFO: No Stack... [2022-09-22T22:53:47.952Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T22:53:48.522Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T22:53:48.811Z] + + cut -d, -f6cat [2022-09-22T22:53:48.812Z] /w/workspace/gexfoundry_device-rest-go_PR-213/archives/cost.csv [Pipeline] lock [2022-09-22T22:53:48.824Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] [2022-09-22T22:53:48.833Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] did not exist. Created. [2022-09-22T22:53:48.833Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T22:53:49.137Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T22:53:49.165Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T22:53:49.171Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T22:53:49.189Z] $ docker stop --time=1 f7478d41ca2b08a671df6e63888449da5de793ae516d7cd8c07e9dfa65a30b41 [2022-09-22T22:53:50.359Z] $ docker rm -f f7478d41ca2b08a671df6e63888449da5de793ae516d7cd8c07e9dfa65a30b41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T22:55:02.215Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-677 in /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] { [Pipeline] ws [2022-09-22T22:55:02.229Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-09-22T22:55:02.262Z] The recommended git tool is: git [2022-09-22T22:55:07.783Z] using credential edgex-jenkins-ssh [2022-09-22T22:55:07.802Z] Cloning the remote Git repository [2022-09-22T22:55:07.876Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-09-22T22:55:07.974Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-09-22T22:55:08.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-09-22T22:55:08.163Z] > git --version # timeout=10 [2022-09-22T22:55:08.189Z] > git --version # 'git version 2.25.1' [2022-09-22T22:55:08.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:55:08.250Z] Verifying host key using known hosts file [2022-09-22T22:55:08.507Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T22:55:08.522Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T22:55:10.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-09-22T22:55:10.697Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T22:55:11.809Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-09-22T22:55:11.863Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-09-22T22:55:11.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:55:11.872Z] Verifying host key using known hosts file [2022-09-22T22:55:11.880Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T22:55:11.893Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T22:55:12.525Z] Merging remotes/origin/main commit dba35d3ba46b7861587cc7246b39f98fa3ba425a into PR head commit cc27d241021b405d783a15e4eed4849dd6d745cb [2022-09-22T22:55:12.771Z] Merge succeeded, producing cc27d241021b405d783a15e4eed4849dd6d745cb [2022-09-22T22:55:12.772Z] Checking out Revision cc27d241021b405d783a15e4eed4849dd6d745cb (PR-213) [2022-09-22T22:55:12.545Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T22:55:12.565Z] > git checkout -f cc27d241021b405d783a15e4eed4849dd6d745cb # timeout=10 [2022-09-22T22:55:12.651Z] > git remote # timeout=10 [2022-09-22T22:55:12.672Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T22:55:12.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:55:12.702Z] Verifying host key using known hosts file [2022-09-22T22:55:12.708Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T22:55:12.722Z] > git merge dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 [2022-09-22T22:55:12.749Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T22:55:12.779Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T22:55:12.793Z] > git checkout -f cc27d241021b405d783a15e4eed4849dd6d745cb # timeout=10 [2022-09-22T22:55:16.307Z] Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T22:55:17.273Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T22:55:17.274Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T22:55:17.274Z] Dload Upload Total Spent Left Speed [2022-09-22T22:55:17.274Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78762 0 --:--:-- --:--:-- --:--:-- 78762 [Pipeline] sh [2022-09-22T22:55:17.949Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T22:55:18.282Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T22:55:18.282Z] sudo tee /etc/docker/daemon.new [2022-09-22T22:55:18.282Z] { [2022-09-22T22:55:18.282Z] "registry-mirrors": [ [2022-09-22T22:55:18.282Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T22:55:18.282Z] ], [2022-09-22T22:55:18.282Z] "bip": "10.250.0.254/24", [2022-09-22T22:55:18.282Z] "hosts": [ [2022-09-22T22:55:18.282Z] "tcp://0.0.0.0:5555", [2022-09-22T22:55:18.282Z] "unix:///var/run/docker.sock" [2022-09-22T22:55:18.282Z] ], [2022-09-22T22:55:18.282Z] "mtu": 1458, [2022-09-22T22:55:18.282Z] "selinux-enabled": true, [2022-09-22T22:55:18.282Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T22:55:18.282Z] } [Pipeline] sh [2022-09-22T22:55:18.612Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T22:55:18.949Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T22:55:37.227Z] provisioning config files... [2022-09-22T22:55:37.253Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config13832205333602282531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:55:37.606Z] ---> docker-login.sh [2022-09-22T22:55:37.607Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:55:37.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:55:38.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:55:38.156Z] Configure a credential helper to remove this warning. See [2022-09-22T22:55:38.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:55:38.156Z] [2022-09-22T22:55:38.156Z] Login Succeeded [2022-09-22T22:55:38.156Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:55:38.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:55:38.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:55:38.693Z] Configure a credential helper to remove this warning. See [2022-09-22T22:55:38.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:55:38.693Z] [2022-09-22T22:55:38.693Z] Login Succeeded [2022-09-22T22:55:38.693Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:55:38.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:55:38.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:55:38.962Z] Configure a credential helper to remove this warning. See [2022-09-22T22:55:38.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:55:38.962Z] [2022-09-22T22:55:38.962Z] Login Succeeded [2022-09-22T22:55:38.962Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:55:39.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:55:39.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:55:39.231Z] Configure a credential helper to remove this warning. See [2022-09-22T22:55:39.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:55:39.231Z] [2022-09-22T22:55:39.231Z] Login Succeeded [2022-09-22T22:55:39.231Z] docker.io [2022-09-22T22:55:39.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:55:39.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:55:39.773Z] Configure a credential helper to remove this warning. See [2022-09-22T22:55:39.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:55:39.773Z] [2022-09-22T22:55:39.773Z] Login Succeeded [2022-09-22T22:55:39.773Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:55:39.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T22:55:39.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:55:39.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:55:39.953Z] ========================================================= [2022-09-22T22:55:39.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T22:55:39.953Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:55:40.289Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T22:55:40.289Z] Sending build context to Docker daemon 127.5kB [2022-09-22T22:55:40.558Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:55:40.558Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T22:55:40.832Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T22:55:40.832Z] b3c136eddcbf: Pulling fs layer [2022-09-22T22:55:40.832Z] c0a3192eca97: Pulling fs layer [2022-09-22T22:55:40.832Z] a050256f5b6f: Pulling fs layer [2022-09-22T22:55:40.832Z] 656be50a0ddc: Pulling fs layer [2022-09-22T22:55:40.832Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T22:55:40.832Z] 46d945488cbd: Pulling fs layer [2022-09-22T22:55:40.832Z] 8a5474983e97: Pulling fs layer [2022-09-22T22:55:40.832Z] 329c88fbcd65: Pulling fs layer [2022-09-22T22:55:40.832Z] 656be50a0ddc: Waiting [2022-09-22T22:55:40.832Z] 2bbca73fdf42: Waiting [2022-09-22T22:55:40.832Z] 46d945488cbd: Waiting [2022-09-22T22:55:40.832Z] 8a5474983e97: Waiting [2022-09-22T22:55:40.832Z] 329c88fbcd65: Waiting [2022-09-22T22:55:40.832Z] a050256f5b6f: Verifying Checksum [2022-09-22T22:55:40.832Z] a050256f5b6f: Download complete [2022-09-22T22:55:40.832Z] c0a3192eca97: Verifying Checksum [2022-09-22T22:55:40.832Z] c0a3192eca97: Download complete [2022-09-22T22:55:40.832Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T22:55:40.832Z] 2bbca73fdf42: Download complete [2022-09-22T22:55:40.832Z] 46d945488cbd: Verifying Checksum [2022-09-22T22:55:40.832Z] 46d945488cbd: Download complete [2022-09-22T22:55:40.832Z] b3c136eddcbf: Verifying Checksum [2022-09-22T22:55:41.811Z] b3c136eddcbf: Pull complete [2022-09-22T22:55:41.811Z] 329c88fbcd65: Verifying Checksum [2022-09-22T22:55:41.811Z] 329c88fbcd65: Download complete [2022-09-22T22:55:42.406Z] c0a3192eca97: Pull complete [2022-09-22T22:55:43.001Z] a050256f5b6f: Pull complete [2022-09-22T22:55:43.001Z] 8a5474983e97: Verifying Checksum [2022-09-22T22:55:43.001Z] 8a5474983e97: Download complete [2022-09-22T22:55:43.587Z] 656be50a0ddc: Verifying Checksum [2022-09-22T22:55:43.587Z] 656be50a0ddc: Download complete [2022-09-22T22:55:55.941Z] 656be50a0ddc: Pull complete [2022-09-22T22:55:55.941Z] 2bbca73fdf42: Pull complete [2022-09-22T22:55:55.941Z] 46d945488cbd: Pull complete [2022-09-22T22:56:01.287Z] 8a5474983e97: Pull complete [2022-09-22T22:56:02.714Z] 329c88fbcd65: Pull complete [2022-09-22T22:56:02.714Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T22:56:02.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T22:56:02.714Z] ---> ff4287adb874 [2022-09-22T22:56:02.714Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:56:04.677Z] ---> Running in a5f4651ea750 [2022-09-22T22:56:04.947Z] Removing intermediate container a5f4651ea750 [2022-09-22T22:56:04.947Z] ---> 451cde390b79 [2022-09-22T22:56:04.947Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:56:05.216Z] ---> Running in 9abd3cef17a9 [2022-09-22T22:56:05.493Z] Removing intermediate container 9abd3cef17a9 [2022-09-22T22:56:05.493Z] ---> ae7a9d7bf34a [2022-09-22T22:56:05.493Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:56:05.493Z] ---> Running in 159a4a65c0e5 [2022-09-22T22:56:06.083Z] Removing intermediate container 159a4a65c0e5 [2022-09-22T22:56:06.083Z] ---> 657a4f8165cd [2022-09-22T22:56:06.083Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:56:06.083Z] ---> Running in caa4bfd328b4 [2022-09-22T22:56:06.351Z] Removing intermediate container caa4bfd328b4 [2022-09-22T22:56:06.351Z] ---> fce9676d1484 [2022-09-22T22:56:06.351Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:56:06.351Z] ---> Running in 2aead2d5c347 [2022-09-22T22:56:08.313Z] Removing intermediate container 2aead2d5c347 [2022-09-22T22:56:08.313Z] ---> 9aea7fd87efb [2022-09-22T22:56:08.313Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:56:08.313Z] ---> Running in ba28376611d3 [2022-09-22T22:56:09.274Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T22:56:10.240Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T22:56:11.207Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T22:56:11.207Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T22:56:11.475Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T22:56:11.475Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T22:56:11.743Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T22:56:11.743Z] OK: 226 MiB in 55 packages [2022-09-22T22:56:12.711Z] Removing intermediate container ba28376611d3 [2022-09-22T22:56:12.711Z] ---> d3b551e74301 [2022-09-22T22:56:12.711Z] Step 9/13 : WORKDIR /device-rest-go [2022-09-22T22:56:12.711Z] ---> Running in 41214e8d87cc [2022-09-22T22:56:13.300Z] Removing intermediate container 41214e8d87cc [2022-09-22T22:56:13.300Z] ---> 9a3b3d9c924b [2022-09-22T22:56:13.300Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-22T22:56:13.568Z] ---> acc45b09d980 [2022-09-22T22:56:13.568Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:56:13.846Z] ---> Running in 66ad11e9f1af [2022-09-22T22:57:10.304Z] Removing intermediate container 66ad11e9f1af [2022-09-22T22:57:10.304Z] ---> c3578356224c [2022-09-22T22:57:10.304Z] Step 12/13 : COPY . . [2022-09-22T22:57:10.304Z] ---> 50ee452148da [2022-09-22T22:57:10.304Z] Step 13/13 : RUN $MAKE [2022-09-22T22:57:10.304Z] ---> Running in 1356ba66a8e8 [2022-09-22T22:57:10.304Z] noop [2022-09-22T22:57:10.304Z] Removing intermediate container 1356ba66a8e8 [2022-09-22T22:57:10.304Z] ---> 9fc4c93c303b [2022-09-22T22:57:10.304Z] Successfully built 9fc4c93c303b [2022-09-22T22:57:10.304Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:57:10.663Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T22:57:10.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:57:10.847Z] prd-ubuntu20.04-docker-arm64-4c-16g-677 does not seem to be running inside a container [2022-09-22T22:57:10.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T22:57:12.184Z] $ docker top 1d233b068115b396db735458aad9c56168b99a36f932d834435c160dca80ad4e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:57:13.016Z] + go version [2022-09-22T22:57:13.016Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T22:57:13.037Z] $ docker stop --time=1 1d233b068115b396db735458aad9c56168b99a36f932d834435c160dca80ad4e [2022-09-22T22:57:14.672Z] $ docker rm -f 1d233b068115b396db735458aad9c56168b99a36f932d834435c160dca80ad4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:57:15.198Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T22:57:15.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:57:15.384Z] prd-ubuntu20.04-docker-arm64-4c-16g-677 does not seem to be running inside a container [2022-09-22T22:57:15.460Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T22:57:16.699Z] $ docker top eddd68f4889a530407d9264d992967a14426311c1d27b28aef81dcf4920de86c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:57:17.535Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2022-09-22T22:57:17.866Z] + make test [2022-09-22T22:57:18.133Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-22T22:57:19.565Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-09-22T22:58:56.211Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-09-22T22:58:56.211Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-09-22T22:58:56.211Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T22:58:56.211Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T22:59:11.242Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T22:59:11.242Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T22:59:11.242Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T22:59:11.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T22:59:11.275Z] $ docker stop --time=1 eddd68f4889a530407d9264d992967a14426311c1d27b28aef81dcf4920de86c [2022-09-22T22:59:13.125Z] $ docker rm -f eddd68f4889a530407d9264d992967a14426311c1d27b28aef81dcf4920de86c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:59:14.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T22:59:14.217Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T22:59:14.840Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T22:59:15.235Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T22:59:15.567Z] + ls -al . [2022-09-22T22:59:15.567Z] total 176 [2022-09-22T22:59:15.567Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:57 . [2022-09-22T22:59:15.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:55 .. [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 22:55 .dockerignore [2022-09-22T22:59:15.567Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:55 .git [2022-09-22T22:59:15.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:55 .github [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:55 .gitignore [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:55 .golangci.yml [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 9100 Sep 22 22:55 Attribution.txt [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 11736 Sep 22 22:55 CHANGELOG.md [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 1730 Sep 22 22:55 Dockerfile [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:55 GOVERNANCE.md [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 22:55 Jenkinsfile [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:55 LICENSE [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 2173 Sep 22 22:55 Makefile [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:55 OWNERS.md [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 8667 Sep 22 22:55 README.md [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:52 VERSION [2022-09-22T22:59:15.567Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:55 bin [2022-09-22T22:59:15.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:55 cmd [2022-09-22T22:59:15.567Z] -rw-r--r-- 1 jenkins jenkins 9355 Sep 22 22:58 coverage.out [2022-09-22T22:59:15.567Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:55 driver [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 3547 Sep 22 22:55 go.mod [2022-09-22T22:59:15.567Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:55 go.sum [2022-09-22T22:59:15.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:55 snap [2022-09-22T22:59:15.568Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 22:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:59:15.918Z] + 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=cc27d241021b405d783a15e4eed4849dd6d745cb --label arch=arm64 --label version=0.0.0 . [2022-09-22T22:59:15.918Z] Sending build context to Docker daemon 137.7kB [2022-09-22T22:59:16.186Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:59:16.186Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-22T22:59:16.186Z] ---> 9fc4c93c303b [2022-09-22T22:59:16.186Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:59:16.186Z] ---> Running in 2635a2c476e0 [2022-09-22T22:59:16.460Z] Removing intermediate container 2635a2c476e0 [2022-09-22T22:59:16.460Z] ---> 040732975e92 [2022-09-22T22:59:16.460Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:59:16.729Z] ---> Running in b335e73a2dcf [2022-09-22T22:59:17.000Z] Removing intermediate container b335e73a2dcf [2022-09-22T22:59:17.000Z] ---> c2eb7ea72afd [2022-09-22T22:59:17.000Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:59:17.000Z] ---> Running in cf06e8669c0f [2022-09-22T22:59:17.268Z] Removing intermediate container cf06e8669c0f [2022-09-22T22:59:17.268Z] ---> dc5b7dc0f3ac [2022-09-22T22:59:17.268Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:59:17.539Z] ---> Running in 0e6628eca7d6 [2022-09-22T22:59:17.808Z] Removing intermediate container 0e6628eca7d6 [2022-09-22T22:59:17.809Z] ---> 8014481c48a1 [2022-09-22T22:59:17.809Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:59:17.809Z] ---> Running in bbd7b5fba3cf [2022-09-22T22:59:19.768Z] Removing intermediate container bbd7b5fba3cf [2022-09-22T22:59:19.768Z] ---> 1139e4a8b432 [2022-09-22T22:59:19.768Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:59:20.037Z] ---> Running in 49e402baa43e [2022-09-22T22:59:21.002Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T22:59:21.966Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T22:59:22.941Z] OK: 226 MiB in 55 packages [2022-09-22T22:59:24.366Z] Removing intermediate container 49e402baa43e [2022-09-22T22:59:24.366Z] ---> baedfcb3eb53 [2022-09-22T22:59:24.366Z] Step 9/26 : WORKDIR /device-rest-go [2022-09-22T22:59:24.366Z] ---> Running in facc743fecb1 [2022-09-22T22:59:24.954Z] Removing intermediate container facc743fecb1 [2022-09-22T22:59:24.954Z] ---> 3e6834854aa9 [2022-09-22T22:59:24.954Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-22T22:59:25.549Z] ---> 9368a0a5fd8c [2022-09-22T22:59:25.549Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:59:25.549Z] ---> Running in d10f012022fd [2022-09-22T22:59:28.145Z] Removing intermediate container d10f012022fd [2022-09-22T22:59:28.145Z] ---> ecb049c7ac92 [2022-09-22T22:59:28.145Z] Step 12/26 : COPY . . [2022-09-22T22:59:28.414Z] ---> 3f506e89a7a7 [2022-09-22T22:59:28.414Z] Step 13/26 : RUN $MAKE [2022-09-22T22:59:28.414Z] ---> Running in 22f7995b1d72 [2022-09-22T22:59:29.383Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-09-22T23:02:06.149Z] Removing intermediate container 22f7995b1d72 [2022-09-22T23:02:06.149Z] ---> 6733c22040f2 [2022-09-22T23:02:06.149Z] Step 14/26 : FROM alpine:3.16 [2022-09-22T23:02:06.149Z] 3.16: Pulling from library/alpine [2022-09-22T23:02:06.149Z] 9b18e9b68314: Pulling fs layer [2022-09-22T23:02:06.149Z] 9b18e9b68314: Verifying Checksum [2022-09-22T23:02:06.149Z] 9b18e9b68314: Download complete [2022-09-22T23:02:06.149Z] 9b18e9b68314: Pull complete [2022-09-22T23:02:06.149Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T23:02:06.149Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T23:02:06.149Z] ---> a6215f271958 [2022-09-22T23:02:06.149Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T23:02:06.149Z] ---> Running in 1a81777746ae [2022-09-22T23:02:06.149Z] Removing intermediate container 1a81777746ae [2022-09-22T23:02:06.149Z] ---> 1422cad8fb31 [2022-09-22T23:02:06.149Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-09-22T23:02:06.149Z] ---> Running in d253229325c8 [2022-09-22T23:02:06.149Z] Removing intermediate container d253229325c8 [2022-09-22T23:02:06.149Z] ---> d77111e8fb9e [2022-09-22T23:02:06.149Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T23:02:06.149Z] ---> Running in f1a5c0319bdf [2022-09-22T23:02:06.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:02:06.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:02:06.149Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T23:02:06.149Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T23:02:06.149Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T23:02:06.149Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T23:02:06.149Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T23:02:06.149Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T23:02:06.149Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T23:02:06.149Z] OK: 8 MiB in 20 packages [2022-09-22T23:02:06.149Z] Removing intermediate container f1a5c0319bdf [2022-09-22T23:02:06.149Z] ---> 9a5188527a1d [2022-09-22T23:02:06.149Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-09-22T23:02:07.568Z] ---> 5c56c3df7413 [2022-09-22T23:02:07.568Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-09-22T23:02:07.835Z] ---> d13eb604c878 [2022-09-22T23:02:07.835Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-09-22T23:02:08.418Z] ---> 249d49acbf30 [2022-09-22T23:02:08.418Z] Step 21/26 : EXPOSE 59986 [2022-09-22T23:02:08.418Z] ---> Running in b545cffd2001 [2022-09-22T23:02:08.687Z] Removing intermediate container b545cffd2001 [2022-09-22T23:02:08.687Z] ---> 6976cae32066 [2022-09-22T23:02:08.687Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-09-22T23:02:08.687Z] ---> Running in e80680cbe70c [2022-09-22T23:02:08.955Z] Removing intermediate container e80680cbe70c [2022-09-22T23:02:08.955Z] ---> a42fdbc28880 [2022-09-22T23:02:08.955Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-22T23:02:09.222Z] ---> Running in a1a5afcdc5df [2022-09-22T23:02:09.489Z] Removing intermediate container a1a5afcdc5df [2022-09-22T23:02:09.489Z] ---> 3632f028a12a [2022-09-22T23:02:09.489Z] Step 24/26 : LABEL arch=arm64 [2022-09-22T23:02:09.489Z] ---> Running in 54fc9f2dcf38 [2022-09-22T23:02:09.760Z] Removing intermediate container 54fc9f2dcf38 [2022-09-22T23:02:09.760Z] ---> bb6fa3295fb8 [2022-09-22T23:02:09.760Z] Step 25/26 : LABEL git_sha=cc27d241021b405d783a15e4eed4849dd6d745cb [2022-09-22T23:02:10.029Z] ---> Running in a49ba50efcfd [2022-09-22T23:02:10.295Z] Removing intermediate container a49ba50efcfd [2022-09-22T23:02:10.295Z] ---> 45193e03207f [2022-09-22T23:02:10.295Z] Step 26/26 : LABEL version=0.0.0 [2022-09-22T23:02:10.295Z] ---> Running in e19148f2410d [2022-09-22T23:02:10.561Z] Removing intermediate container e19148f2410d [2022-09-22T23:02:10.561Z] ---> efc4c4da2f42 [2022-09-22T23:02:10.561Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T23:02:10.561Z] Successfully built efc4c4da2f42 [2022-09-22T23:02:10.561Z] 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 [2022-09-22T23:02:10.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:02:10.990Z] [2022-09-22T23:02:10.990Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:02:11.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:02:11.320Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T23:02:11.320Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T23:02:11.320Z] 04944245beec: Pulling fs layer [2022-09-22T23:02:11.320Z] 699f458cf7ca: Pulling fs layer [2022-09-22T23:02:11.320Z] 765212b225bb: Pulling fs layer [2022-09-22T23:02:11.320Z] f23df028b6ca: Pulling fs layer [2022-09-22T23:02:11.320Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T23:02:11.320Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T23:02:11.320Z] f23df028b6ca: Waiting [2022-09-22T23:02:11.320Z] d65c8cfc05b1: Waiting [2022-09-22T23:02:11.320Z] 765212b225bb: Waiting [2022-09-22T23:02:11.595Z] 04944245beec: Verifying Checksum [2022-09-22T23:02:11.595Z] 04944245beec: Download complete [2022-09-22T23:02:11.595Z] 765212b225bb: Verifying Checksum [2022-09-22T23:02:11.595Z] 765212b225bb: Download complete [2022-09-22T23:02:11.595Z] f23df028b6ca: Download complete [2022-09-22T23:02:11.595Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T23:02:11.595Z] d65c8cfc05b1: Download complete [2022-09-22T23:02:11.866Z] 699f458cf7ca: Verifying Checksum [2022-09-22T23:02:11.866Z] 699f458cf7ca: Download complete [2022-09-22T23:02:12.135Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T23:02:12.135Z] 8998bd30e6a1: Download complete [2022-09-22T23:02:14.725Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T23:02:14.725Z] 2437ff75d9bd: Download complete [2022-09-22T23:02:16.140Z] 8998bd30e6a1: Pull complete [2022-09-22T23:02:18.727Z] 04944245beec: Pull complete [2022-09-22T23:02:19.687Z] 699f458cf7ca: Pull complete [2022-09-22T23:02:19.953Z] 765212b225bb: Pull complete [2022-09-22T23:02:20.911Z] f23df028b6ca: Pull complete [2022-09-22T23:02:20.911Z] d65c8cfc05b1: Pull complete [2022-09-22T23:02:35.907Z] 2437ff75d9bd: Pull complete [2022-09-22T23:02:35.907Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T23:02:35.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:02:35.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:02:36.101Z] prd-ubuntu20.04-docker-arm64-4c-16g-677 does not seem to be running inside a container [2022-09-22T23:02:36.174Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-22T23:02:38.752Z] $ docker top f14a6ed6479e8bade241197caae64c8b453e816db11ebb17ca90aa9078858cc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:02:39.608Z] ---> job-cost.sh [2022-09-22T23:02:39.608Z] lf-activate-venv: SKIPPING [2022-09-22T23:02:39.608Z] INFO: No Stack... [2022-09-22T23:02:40.192Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T23:02:41.155Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T23:02:41.801Z] + cut -d, -f6 [2022-09-22T23:02:41.801Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2022-09-22T23:02:41.838Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] [2022-09-22T23:02:41.844Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] did not exist. Created. [2022-09-22T23:02:41.844Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T23:02:42.510Z] /w/workspace/device-rest-go/2@tmp/durable-5c0e530e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T23:02:43.167Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T23:02:43.182Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T23:02:43.227Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T23:02:43.234Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T23:02:43.255Z] $ docker stop --time=1 f14a6ed6479e8bade241197caae64c8b453e816db11ebb17ca90aa9078858cc5 [2022-09-22T23:02:44.801Z] $ docker rm -f f14a6ed6479e8bade241197caae64c8b453e816db11ebb17ca90aa9078858cc5 [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 [2022-09-22T23:02:45.144Z] provisioning config files... [2022-09-22T23:02:45.150Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config16396613470127272136tmp [Pipeline] { [Pipeline] sh [2022-09-22T23:02:45.441Z] + set +x [2022-09-22T23:02:45.441Z] + bash -s -- [2022-09-22T23:02:45.441Z] + curl -s https://codecov.io/bash [2022-09-22T23:02:45.441Z] [2022-09-22T23:02:45.441Z] _____ _ [2022-09-22T23:02:45.441Z] / ____| | | [2022-09-22T23:02:45.441Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T23:02:45.441Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T23:02:45.441Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T23:02:45.441Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T23:02:45.441Z] Bash-1.0.6 [2022-09-22T23:02:45.441Z] [2022-09-22T23:02:45.441Z] [2022-09-22T23:02:45.441Z] ==> git version 2.25.1 found [2022-09-22T23:02:45.441Z] ==> 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 [2022-09-22T23:02:45.441Z] Release-Date: 2020-01-08 [2022-09-22T23:02:45.441Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-22T23:02:45.441Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T23:02:45.441Z] ==> Jenkins CI detected. [2022-09-22T23:02:45.441Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-213 [2022-09-22T23:02:45.441Z] project root: . [2022-09-22T23:02:45.441Z] --> token set from env [2022-09-22T23:02:45.441Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T23:02:45.441Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T23:02:45.441Z] ==> Python coveragepy not found [2022-09-22T23:02:45.441Z] ==> Searching for coverage reports in: [2022-09-22T23:02:45.441Z] + . [2022-09-22T23:02:45.441Z] -> Found 1 reports [2022-09-22T23:02:45.441Z] ==> Detecting git/mercurial file structure [2022-09-22T23:02:45.441Z] ==> Reading reports [2022-09-22T23:02:45.441Z] + ./coverage.out bytes=9355 [2022-09-22T23:02:45.441Z] ==> Appending adjustments [2022-09-22T23:02:45.441Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T23:02:45.701Z] + Found adjustments [2022-09-22T23:02:45.701Z] ==> Gzipping contents [2022-09-22T23:02:45.701Z] 4.0K /tmp/codecov.yyKxNf.gz [2022-09-22T23:02:45.701Z] ==> Uploading reports [2022-09-22T23:02:45.701Z] url: https://codecov.io [2022-09-22T23:02:45.701Z] query: branch=PR-213&commit=cc27d241021b405d783a15e4eed4849dd6d745cb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= [2022-09-22T23:02:45.701Z] -> Pinging Codecov [2022-09-22T23:02:45.701Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-213&commit=cc27d241021b405d783a15e4eed4849dd6d745cb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= [2022-09-22T23:02:45.962Z] -> Uploading to [2022-09-22T23:02:45.962Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/4E5D53B4F1F92C436F7061BF334D961C/cc27d241021b405d783a15e4eed4849dd6d745cb/b4206ddb-8ee2-48e2-9989-1bf3213fa075.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T230245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c3d7391cff2644b7e3d391df84cb13870e5a842b5059d5d85828f9a77852305 [2022-09-22T23:02:45.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T23:02:45.962Z] Dload Upload Total Spent Left Speed [2022-09-22T23:02:46.223Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7864 --:--:-- --:--:-- --:--:-- 7864 [2022-09-22T23:02:46.223Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/cc27d241021b405d783a15e4eed4849dd6d745cb [Pipeline] } [2022-09-22T23:02:46.230Z] 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 [2022-09-22T23:02:46.896Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-213/archives ] [2022-09-22T23:02:46.896Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives [2022-09-22T23:02:46.896Z] total 16 [2022-09-22T23:02:46.896Z] drwxr-xr-x 3 root root 4096 Sep 22 22:53 . [2022-09-22T23:02:46.896Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:53 .. [2022-09-22T23:02:46.896Z] drwxr-xr-x 2 root root 4096 Sep 22 22:53 cost [2022-09-22T23:02:46.896Z] -rw-r--r-- 1 root root 86 Sep 22 22:53 cost.csv [2022-09-22T23:02:46.896Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-213/archives [2022-09-22T23:02:46.896Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives [2022-09-22T23:02:46.896Z] total 16 [2022-09-22T23:02:46.896Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:53 . [2022-09-22T23:02:46.896Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:53 .. [2022-09-22T23:02:46.896Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 22:53 cost [2022-09-22T23:02:46.896Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 22 22:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:02:47.182Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:02:48.040Z] ---> package-listing.sh [2022-09-22T23:02:48.040Z] ++ facter osfamily [2022-09-22T23:02:48.040Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T23:02:48.300Z] + OS_FAMILY=debian [2022-09-22T23:02:48.300Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-213 [2022-09-22T23:02:48.300Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T23:02:48.300Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T23:02:48.300Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T23:02:48.300Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T23:02:48.300Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' [2022-09-22T23:02:48.300Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T23:02:48.300Z] + case "${OS_FAMILY}" in [2022-09-22T23:02:48.300Z] + dpkg -l [2022-09-22T23:02:48.300Z] + grep '^ii' [2022-09-22T23:02:48.300Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T23:02:48.300Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T23:02:48.300Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T23:02:48.300Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' [2022-09-22T23:02:48.300Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ [2022-09-22T23:02:48.300Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ [Pipeline] echo [2022-09-22T23:02:48.311Z] 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-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T23:02:48.585Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:02:49.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:02:49.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:02:49.207Z] prd-ubuntu20.04-docker-8c-8g-675 does not seem to be running inside a container [2022-09-22T23:02:49.239Z] $ 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-213/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-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T23:02:49.417Z] $ docker top c6a50ef2809b9a7f107a30c8069714aa5e2dcbfcb65a27291f77f440366831b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:02:49.762Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T23:02:50.048Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T23:02:50.337Z] + ls /var/log/sa-host [2022-09-22T23:02:50.337Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:02:50.402Z] provisioning config files... [2022-09-22T23:02:50.414Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config13133743488007613394tmp [Pipeline] { [Pipeline] echo [2022-09-22T23:02:50.425Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:02:50.704Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T23:02:50.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:02:51.032Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T23:02:51.039Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:02:51.323Z] ---> sudo-logs.sh [2022-09-22T23:02:51.323Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T23:02:51.349Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:02:51.630Z] ---> job-cost.sh [2022-09-22T23:02:51.630Z] lf-activate-venv: SKIPPING [2022-09-22T23:02:51.630Z] DEBUG: total: 0.2199999988079071 [2022-09-22T23:02:51.630Z] INFO: Retrieving Stack Cost... [2022-09-22T23:02:52.199Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T23:02:52.458Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T23:02:52.468Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:02:52.752Z] ---> logs-deploy.sh [2022-09-22T23:02:52.752Z] lf-activate-venv: SKIPPING [2022-09-22T23:02:52.752Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-213/2 [2022-09-22T23:02:52.752Z] INFO: archiving workspace using pattern(s): [2022-09-22T23:02:53.690Z] Archives upload complete. [2022-09-22T23:02:53.690Z] INFO: archiving logs to Nexus