Pull request #222 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5034d95c24c283ca5c1cd8748801c0a382af0d0d+811e52826d6202cae27d826a4f6ae05b050034a3 (ce36ebf4c19c21eba577fd799dc82a1848e31991) 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-ssh10721305292743067636.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh9545349368232629979.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-222/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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3602862933009576798.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh7758616996157252052.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-222/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-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8929908365049350917.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 Running on prd-ubuntu20.04-docker-8c-8g-117272 in /w/workspace/gexfoundry_device-rest-go_PR-222 [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-222 # 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/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 811e52826d6202cae27d826a4f6ae05b050034a3 into PR head commit 5034d95c24c283ca5c1cd8748801c0a382af0d0d Merge succeeded, producing 773ca0592ac1fba226a3cba0864cc995234b6d2d Checking out Revision 773ca0592ac1fba226a3cba0864cc995234b6d2d (PR-222) > git config core.sparsecheckout # timeout=10 > git checkout -f 5034d95c24c283ca5c1cd8748801c0a382af0d0d # 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 811e52826d6202cae27d826a4f6ae05b050034a3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 773ca0592ac1fba226a3cba0864cc995234b6d2d # timeout=10 Commit message: "Merge commit '811e52826d6202cae27d826a4f6ae05b050034a3' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 10334d7377044e929a34c32c78b9e31f7210ae2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:02:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:02:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:02:24 ========================================================= 20:02:24 EdgeX Global Pipelines Version Info 20:02:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:02:25 ------------------- 20:02:25 stable info: 20:02:25 ------------------- 20:02:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:02:25 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:02:25 Message: update stable to v1.0.243 20:02:26 ------------------- 20:02:26 experimental info: 20:02:26 ------------------- 20:02:26 Commited By: **** collab-it+edgex@linuxfoundation.org 20:02:26 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:02:26 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 773ca0592ac1fba226a3cba0864cc995234b6d2d [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 773ca05 [Pipeline] echo 20:02:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:26 provisioning config files... 20:02:26 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config10508484580562970601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:27 ---> docker-login.sh 20:02:27 nexus3.edgexfoundry.org:10001 20:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:27 Configure a credential helper to remove this warning. See 20:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:27 20:02:27 Login Succeeded 20:02:27 nexus3.edgexfoundry.org:10002 20:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:27 Configure a credential helper to remove this warning. See 20:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:27 20:02:27 Login Succeeded 20:02:27 nexus3.edgexfoundry.org:10003 20:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:27 Configure a credential helper to remove this warning. See 20:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:27 20:02:27 Login Succeeded 20:02:27 nexus3.edgexfoundry.org:10004 20:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:27 Configure a credential helper to remove this warning. See 20:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:27 20:02:27 Login Succeeded 20:02:27 docker.io 20:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:28 Configure a credential helper to remove this warning. See 20:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:28 20:02:28 Login Succeeded 20:02:28 ---> docker-login.sh ends [Pipeline] } 20:02:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:02:28 + git rev-list -1 --merges 773ca0592ac1fba226a3cba0864cc995234b6d2d~1..773ca0592ac1fba226a3cba0864cc995234b6d2d [Pipeline] echo 20:02:28 -----------> git rev-list -1 --merges 773ca0592ac1fba226a3cba0864cc995234b6d2d~1..773ca0592ac1fba226a3cba0864cc995234b6d2d 773ca0592ac1fba226a3cba0864cc995234b6d2d 20:02:28 773ca0592ac1fba226a3cba0864cc995234b6d2d [false] [Pipeline] sh 20:02:28 + git log --format=format:%s -1 773ca0592ac1fba226a3cba0864cc995234b6d2d [Pipeline] echo 20:02:28 ========================================================= 20:02:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:02:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:02:29 + git log --format=format:%s -1 773ca0592ac1fba226a3cba0864cc995234b6d2d [Pipeline] echo 20:02:29 [semverPrep] GIT_COMMIT: 773ca0592ac1fba226a3cba0864cc995234b6d2d, Commit Message: Merge commit '811e52826d6202cae27d826a4f6ae05b050034a3' into HEAD [Pipeline] echo 20:02:29 [semverPrep] This is not a build commit. [Pipeline] sh 20:02:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:02:29 + grep -v github /etc/ssh/ssh_known_hosts 20:02:29 + [ -e /tmp/ssh_known_hosts ] 20:02:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:02:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:02:29 + sudo tee -a /etc/ssh/ssh_known_hosts 20:02:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:29 20:02:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:30 0.1.4: Pulling from edgex-devops/py-git-semver 20:02:30 b85a868b505f: Pulling fs layer 20:02:30 e2be974225ed: Pulling fs layer 20:02:30 339a4e72a1f5: Pulling fs layer 20:02:30 988bab9f4d93: Pulling fs layer 20:02:30 1469e6f7b9e6: Pulling fs layer 20:02:30 eaf3925da568: Pulling fs layer 20:02:30 bab4dde63d76: Pulling fs layer 20:02:30 bde34c3a00c8: Pulling fs layer 20:02:30 b352a97aabf1: Pulling fs layer 20:02:30 4872d77fe225: Pulling fs layer 20:02:30 5851b861e8e6: Pulling fs layer 20:02:30 988bab9f4d93: Waiting 20:02:30 1469e6f7b9e6: Waiting 20:02:30 eaf3925da568: Waiting 20:02:30 bab4dde63d76: Waiting 20:02:30 bde34c3a00c8: Waiting 20:02:30 b352a97aabf1: Waiting 20:02:30 5851b861e8e6: Waiting 20:02:30 e2be974225ed: Verifying Checksum 20:02:30 e2be974225ed: Download complete 20:02:30 988bab9f4d93: Verifying Checksum 20:02:30 988bab9f4d93: Download complete 20:02:31 1469e6f7b9e6: Verifying Checksum 20:02:31 1469e6f7b9e6: Download complete 20:02:31 339a4e72a1f5: Verifying Checksum 20:02:31 339a4e72a1f5: Download complete 20:02:31 eaf3925da568: Download complete 20:02:31 bde34c3a00c8: Verifying Checksum 20:02:31 bde34c3a00c8: Download complete 20:02:31 b352a97aabf1: Download complete 20:02:31 4872d77fe225: Download complete 20:02:31 5851b861e8e6: Download complete 20:02:31 b85a868b505f: Verifying Checksum 20:02:31 b85a868b505f: Download complete 20:02:31 bab4dde63d76: Verifying Checksum 20:02:31 bab4dde63d76: Download complete 20:02:32 b85a868b505f: Pull complete 20:02:32 e2be974225ed: Pull complete 20:02:32 339a4e72a1f5: Pull complete 20:02:32 988bab9f4d93: Pull complete 20:02:33 1469e6f7b9e6: Pull complete 20:02:33 eaf3925da568: Pull complete 20:02:34 bab4dde63d76: Pull complete 20:02:34 bde34c3a00c8: Pull complete 20:02:34 b352a97aabf1: Pull complete 20:02:34 4872d77fe225: Pull complete 20:02:35 5851b861e8e6: Pull complete 20:02:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:02:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:35 prd-ubuntu20.04-docker-8c-8g-117272 does not seem to be running inside a container 20:02:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:02:36 $ docker top 1ef816b440bb314d309c8a311058c29d500a3c1e30ada20a9a39d3d9169f4856 -eo pid,comm 20:02:36 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). 20:02:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:02:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:02:36 [ssh-agent] Looking for ssh-agent implementation... 20:02:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:02:36 $ docker exec 1ef816b440bb314d309c8a311058c29d500a3c1e30ada20a9a39d3d9169f4856 ssh-agent 20:02:36 SSH_AUTH_SOCK=/tmp/ssh-Nv63hU8Oj6KS/agent.31 20:02:36 SSH_AGENT_PID=37 20:02:36 Running ssh-add (command line suppressed) 20:02:36 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_8939621549898728089.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_8939621549898728089.key) 20:02:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:02:37 + git tag --points-at HEAD [Pipeline] } 20:02:37 $ docker exec --env ******** --env ******** 1ef816b440bb314d309c8a311058c29d500a3c1e30ada20a9a39d3d9169f4856 ssh-agent -k 20:02:37 unset SSH_AUTH_SOCK; 20:02:37 unset SSH_AGENT_PID; 20:02:37 echo Agent pid 37 killed; 20:02:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:02:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:02:37 [ssh-agent] Looking for ssh-agent implementation... 20:02:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:02:37 $ docker exec 1ef816b440bb314d309c8a311058c29d500a3c1e30ada20a9a39d3d9169f4856 ssh-agent 20:02:37 SSH_AUTH_SOCK=/tmp/ssh-0LZOkwUtPpbz/agent.69 20:02:37 SSH_AGENT_PID=75 20:02:37 Running ssh-add (command line suppressed) 20:02:37 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_6624418280804252041.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_6624418280804252041.key) 20:02:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:02:38 + git semver init 20:02:38 2022-10-26 20:02:38,274 [run_init] DEBUG init version:0.0.0 force:False 20:02:38 2022-10-26 20:02:38,275 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver 20:02:38 2022-10-26 20:02:38,275 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-222/.semver 20:02:38 2022-10-26 20:02:38,276 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222, universal_newlines=False, shell=None, istream=None) 20:02:39 2022-10-26 20:02:39,388 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude 20:02:39 2022-10-26 20:02:39,388 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 with force:False 20:02:39 2022-10-26 20:02:39,388 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 20:02:39 2022-10-26 20:02:39,392 [execute] INFO git cat-file --batch-check 20:02:39 2022-10-26 20:02:39,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) 20:02:39 2022-10-26 20:02:39,400 [execute] INFO git cat-file --batch 20:02:39 2022-10-26 20:02:39,400 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) 20:02:39 2022-10-26 20:02:39,406 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 20:02:39 0.0.0 [Pipeline] } 20:02:39 $ docker exec --env ******** --env ******** 1ef816b440bb314d309c8a311058c29d500a3c1e30ada20a9a39d3d9169f4856 ssh-agent -k 20:02:39 unset SSH_AUTH_SOCK; 20:02:39 unset SSH_AGENT_PID; 20:02:39 echo Agent pid 75 killed; 20:02:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:02:40 + git semver [Pipeline] } 20:02:40 $ docker stop --time=1 1ef816b440bb314d309c8a311058c29d500a3c1e30ada20a9a39d3d9169f4856 20:02:41 $ docker rm -f 1ef816b440bb314d309c8a311058c29d500a3c1e30ada20a9a39d3d9169f4856 [Pipeline] // withDockerContainer [Pipeline] sh 20:02:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:02:42 Stashed 1 file(s) [Pipeline] echo 20:02:42 [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 20:02:42 provisioning config files... 20:02:42 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config17349556985673603546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117283 in /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] { [Pipeline] ws 20:02:42 Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout 20:02:42 ---> docker-login.sh 20:02:42 nexus3.edgexfoundry.org:10001 20:02:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:42 Configure a credential helper to remove this warning. See 20:02:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:42 20:02:42 Login Succeeded 20:02:42 nexus3.edgexfoundry.org:10002 20:02:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:42 Configure a credential helper to remove this warning. See 20:02:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:42 20:02:42 Login Succeeded 20:02:42 nexus3.edgexfoundry.org:10003 20:02:42 The recommended git tool is: git 20:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:43 Configure a credential helper to remove this warning. See 20:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:43 20:02:43 Login Succeeded 20:02:43 nexus3.edgexfoundry.org:10004 20:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:43 Configure a credential helper to remove this warning. See 20:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:43 20:02:43 Login Succeeded 20:02:43 docker.io 20:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:43 Configure a credential helper to remove this warning. See 20:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:43 20:02:43 Login Succeeded 20:02:43 ---> docker-login.sh ends [Pipeline] } 20:02:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:02:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:43 ========================================================= 20:02:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:02:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:44 + 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 . 20:02:44 Sending build context to Docker daemon 10.75MB 20:02:44 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:02:44 Step 2/12 : FROM ${BASE} AS builder 20:02:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:02:44 213ec9aee27d: Pulling fs layer 20:02:44 4583459ba037: Pulling fs layer 20:02:44 93c1e223e6f2: Pulling fs layer 20:02:44 53926ce57604: Pulling fs layer 20:02:44 21b2b0c7a3f4: Pulling fs layer 20:02:44 53926ce57604: Waiting 20:02:44 30f14e443154: Pulling fs layer 20:02:44 801331c1e519: Pulling fs layer 20:02:44 30f14e443154: Waiting 20:02:44 21b2b0c7a3f4: Waiting 20:02:44 801331c1e519: Waiting 20:02:44 99cc6dd402b0: Pulling fs layer 20:02:44 7d9ed39f4882: Pulling fs layer 20:02:44 7d9ed39f4882: Waiting 20:02:44 99cc6dd402b0: Waiting 20:02:44 93c1e223e6f2: Verifying Checksum 20:02:44 93c1e223e6f2: Download complete 20:02:44 4583459ba037: Download complete 20:02:44 21b2b0c7a3f4: Verifying Checksum 20:02:44 21b2b0c7a3f4: Download complete 20:02:44 30f14e443154: Verifying Checksum 20:02:44 30f14e443154: Download complete 20:02:44 213ec9aee27d: Verifying Checksum 20:02:44 213ec9aee27d: Download complete 20:02:44 801331c1e519: Download complete 20:02:44 213ec9aee27d: Pull complete 20:02:44 4583459ba037: Pull complete 20:02:44 93c1e223e6f2: Pull complete 20:02:44 7d9ed39f4882: Verifying Checksum 20:02:44 7d9ed39f4882: Download complete 20:02:44 99cc6dd402b0: Verifying Checksum 20:02:44 99cc6dd402b0: Download complete 20:02:45 53926ce57604: Verifying Checksum 20:02:45 53926ce57604: Download complete 20:02:48 using credential edgex-jenkins-ssh 20:02:48 Cloning the remote Git repository 20:02:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:02:48 > git init /w/workspace/device-rest-go/5 # timeout=10 20:02:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:02:48 > git --version # timeout=10 20:02:48 > git --version # 'git version 2.25.1' 20:02:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:48 Verifying host key using known hosts file 20:02:48 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. 20:02:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:02:49 53926ce57604: Pull complete 20:02:49 21b2b0c7a3f4: Pull complete 20:02:49 30f14e443154: Pull complete 20:02:49 801331c1e519: Pull complete 20:02:51 99cc6dd402b0: Pull complete 20:02:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:02:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:02:52 Merging remotes/origin/main commit 811e52826d6202cae27d826a4f6ae05b050034a3 into PR head commit 5034d95c24c283ca5c1cd8748801c0a382af0d0d [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:02:52 Failed in branch arm64 20:02:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:02:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:02:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:51 Verifying host key using known hosts file 20:02:51 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. 20:02:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:02:52 > git config core.sparsecheckout # timeout=10 20:02:52 > git checkout -f 5034d95c24c283ca5c1cd8748801c0a382af0d0d # timeout=10 20:02:53 7d9ed39f4882: Pull complete 20:02:53 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:02:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:02:53 ---> 1dedd983c030 20:02:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:02:54 ---> Running in a7fec4bee725 20:02:54 Removing intermediate container a7fec4bee725 20:02:54 ---> 54eda28177a0 20:02:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:02:54 ---> Running in c4df0344271d 20:02:54 Removing intermediate container c4df0344271d 20:02:54 ---> 1fdd23476e4b 20:02:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:02:54 ---> Running in b379afcea917 20:02:54 Removing intermediate container b379afcea917 20:02:54 ---> c5f7baca79aa 20:02:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:02:54 ---> Running in 65cb9f55f2f3 20:02:54 Removing intermediate container 65cb9f55f2f3 20:02:54 ---> a11d6e33d74f 20:02:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:02:54 ---> Running in 72f487f547fd 20:02:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:02:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:02:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:02:55 (2/4) Installing libedit (20210910.3.1-r0) 20:02:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:02:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:02:55 Executing busybox-1.35.0-r17.trigger 20:02:55 OK: 216 MiB in 55 packages 20:02:55 Removing intermediate container 72f487f547fd 20:02:55 ---> 2aac0c6bb9c9 20:02:55 Step 8/12 : WORKDIR /device-rest-go 20:02:55 ---> Running in a23e26f08d4e 20:02:55 Removing intermediate container a23e26f08d4e 20:02:55 ---> 710f30f724f6 20:02:55 Step 9/12 : COPY go.mod vendor* ./ 20:02:56 ---> 99c5249549bb 20:02:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:02:56 ---> Running in 52f992f76e19 20:03:14 Removing intermediate container 52f992f76e19 20:03:14 ---> c33b1b1b1abb 20:03:14 Step 11/12 : COPY . . 20:03:14 ---> 7eec26a98077 20:03:14 Step 12/12 : RUN $MAKE 20:03:14 ---> Running in b1f623702ab2 20:03:14 noop 20:03:14 Removing intermediate container b1f623702ab2 20:03:14 ---> 1e6c1c63ee8d 20:03:14 Successfully built 1e6c1c63ee8d 20:03:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:14 + docker inspect -f . ci-base-image-x86_64 20:03:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:14 prd-ubuntu20.04-docker-8c-8g-117272 does not seem to be running inside a container 20:03:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:03:15 $ docker top f0ff3e2c9348cb2ed2b00135eb5b9154f3af67f102a02e9be8c6ed1879628b38 -eo pid,comm [Pipeline] { [Pipeline] sh 20:03:15 + go version 20:03:15 go version go1.18.7 linux/amd64 [Pipeline] } 20:03:15 $ docker stop --time=1 f0ff3e2c9348cb2ed2b00135eb5b9154f3af67f102a02e9be8c6ed1879628b38 20:03:16 $ docker rm -f f0ff3e2c9348cb2ed2b00135eb5b9154f3af67f102a02e9be8c6ed1879628b38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:17 + docker inspect -f . ci-base-image-x86_64 20:03:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:17 prd-ubuntu20.04-docker-8c-8g-117272 does not seem to be running inside a container 20:03:17 $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:03:17 $ docker top 80a26cb7c39d25672e9e85dea96b6d809854dae83c7048dfd97a82cfd306730d -eo pid,comm [Pipeline] { [Pipeline] sh 20:03:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh 20:03:18 + make test 20:03:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:03:18 ? github.com/edgexfoundry/device-rest-go [no test files] 20:03:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:03:28 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 20:03:36 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." 20:03:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:03:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:03:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:03:38 ./bin/test-attribution-txt.sh [Pipeline] echo 20:03:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:03:38 $ docker stop --time=1 80a26cb7c39d25672e9e85dea96b6d809854dae83c7048dfd97a82cfd306730d 20:03:40 $ docker rm -f 80a26cb7c39d25672e9e85dea96b6d809854dae83c7048dfd97a82cfd306730d [Pipeline] // withDockerContainer [Pipeline] sh 20:03:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:03:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:03:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:03:41 + ls -al . 20:03:41 total 188 20:03:41 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:03 . 20:03:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:02 .. 20:03:41 -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 20:02 .dockerignore 20:03:41 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:03 .git 20:03:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:02 .github 20:03:41 -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 20:02 .gitignore 20:03:41 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:02 .golangci.yml 20:03:41 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:02 .semver 20:03:41 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 20:02 Attribution.txt 20:03:41 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 20:02 CHANGELOG.md 20:03:41 -rw-rw-r-- 1 jenkins jenkins 1641 Oct 26 20:02 Dockerfile 20:03:41 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:02 GOVERNANCE.md 20:03:41 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:02 Jenkinsfile 20:03:41 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:02 LICENSE 20:03:41 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 20:02 Makefile 20:03:41 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:02 OWNERS.md 20:03:41 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 20:02 README.md 20:03:41 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:02 VERSION 20:03:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:02 bin 20:03:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:02 cmd 20:03:41 -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 20:03 coverage.out 20:03:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:02 driver 20:03:41 -rw-rw-r-- 1 jenkins jenkins 3536 Oct 26 20:02 go.mod 20:03:41 -rw-rw-r-- 1 jenkins jenkins 45144 Oct 26 20:02 go.sum 20:03:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:02 snap 20:03:41 -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 20:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:42 + 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=773ca0592ac1fba226a3cba0864cc995234b6d2d --label arch=amd64 --label version=0.0.0 . 20:03:42 Sending build context to Docker daemon 10.76MB 20:03:42 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:03:42 Step 2/25 : FROM ${BASE} AS builder 20:03:42 ---> 1e6c1c63ee8d 20:03:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:03:42 ---> Running in ed0142fd9eb5 20:03:42 Removing intermediate container ed0142fd9eb5 20:03:42 ---> a923739736ec 20:03:42 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:03:42 ---> Running in 39ce886fbe1b 20:03:42 Removing intermediate container 39ce886fbe1b 20:03:42 ---> eb4d93e0a5da 20:03:42 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:03:42 ---> Running in 70debd7290cf 20:03:42 Removing intermediate container 70debd7290cf 20:03:42 ---> 16e59bcb3715 20:03:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:03:42 ---> Running in 683774a170ae 20:03:42 Removing intermediate container 683774a170ae 20:03:42 ---> 8e322c8c2353 20:03:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:03:42 ---> Running in 1e364a8f346b 20:03:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:03:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:03:43 OK: 216 MiB in 55 packages 20:03:43 Removing intermediate container 1e364a8f346b 20:03:43 ---> 80f0657d635b 20:03:43 Step 8/25 : WORKDIR /device-rest-go 20:03:43 ---> Running in 5d2bd2ee3109 20:03:43 Removing intermediate container 5d2bd2ee3109 20:03:43 ---> b70c683767c0 20:03:43 Step 9/25 : COPY go.mod vendor* ./ 20:03:43 ---> e66cd5369942 20:03:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:03:43 ---> Running in 39894020de18 20:03:44 Removing intermediate container 39894020de18 20:03:44 ---> c26af5e93402 20:03:44 Step 11/25 : COPY . . 20:03:44 ---> 9f4efdab63ed 20:03:44 Step 12/25 : RUN $MAKE 20:03:44 ---> Running in 0eea39aafb11 20:03:45 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 20:04:07 Removing intermediate container 0eea39aafb11 20:04:07 ---> e4f118dbb7d3 20:04:07 Step 13/25 : FROM alpine:3.16 20:04:07 3.16: Pulling from library/alpine 20:04:07 213ec9aee27d: Already exists 20:04:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:04:07 Status: Downloaded newer image for alpine:3.16 20:04:07 ---> 9c6f07244728 20:04:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:04:07 ---> Running in 6d00b8babacf 20:04:07 Removing intermediate container 6d00b8babacf 20:04:07 ---> dd9eaf8fe6e5 20:04:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:04:07 ---> Running in d4c99299b726 20:04:07 Removing intermediate container d4c99299b726 20:04:07 ---> 0a48fee8291e 20:04:07 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:04:07 ---> Running in ca974d3dfc68 20:04:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:04:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:04:07 (1/6) Installing dumb-init (1.2.5-r1) 20:04:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:04:07 (3/6) Installing libsodium (1.0.18-r0) 20:04:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:04:07 (5/6) Installing libzmq (4.3.4-r0) 20:04:07 (6/6) Installing zeromq (4.3.4-r0) 20:04:07 Executing busybox-1.35.0-r17.trigger 20:04:07 OK: 8 MiB in 20 packages 20:04:07 Removing intermediate container ca974d3dfc68 20:04:07 ---> 39a44adff495 20:04:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:04:07 ---> b3f8b4cbbdaf 20:04:07 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:04:07 ---> 2be3b70782a0 20:04:07 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:04:07 ---> 1bf5c9d1e67e 20:04:07 Step 20/25 : EXPOSE 59986 20:04:07 ---> Running in b3db81e7b620 20:04:07 Removing intermediate container b3db81e7b620 20:04:07 ---> 8f1992fa21f2 20:04:07 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:04:07 ---> Running in 5eab8f962a4d 20:04:07 Removing intermediate container 5eab8f962a4d 20:04:07 ---> ffbba47c31c9 20:04:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:04:07 ---> Running in 32b0aa3ee607 20:04:07 Removing intermediate container 32b0aa3ee607 20:04:07 ---> ae0a60127c2d 20:04:07 Step 23/25 : LABEL arch=amd64 20:04:07 ---> Running in 26a95a5dcf0a 20:04:07 Removing intermediate container 26a95a5dcf0a 20:04:07 ---> 25a6220c0361 20:04:07 Step 24/25 : LABEL git_sha=773ca0592ac1fba226a3cba0864cc995234b6d2d 20:04:07 ---> Running in f40d5013a13c 20:04:07 Removing intermediate container f40d5013a13c 20:04:07 ---> 7d7ac430159d 20:04:07 Step 25/25 : LABEL version=0.0.0 20:04:07 ---> Running in decf4a23c9b6 20:04:07 Removing intermediate container decf4a23c9b6 20:04:07 ---> 32f7c6b3463a 20:04:07 [Warning] One or more build-args [ARCH] were not consumed 20:04:07 Successfully built 32f7c6b3463a 20:04:07 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 20:04:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:08 20:04:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:08 latest: Pulling from edgex-lftools-log-publisher 20:04:08 5eb5b503b376: Pulling fs layer 20:04:08 5c69ac0246d0: Pulling fs layer 20:04:08 ec43610c2a17: Pulling fs layer 20:04:08 3a2ae6a8a46f: Pulling fs layer 20:04:08 33b1e0a273af: Pulling fs layer 20:04:08 5d3b04190fa2: Pulling fs layer 20:04:08 2f39f015ded8: Pulling fs layer 20:04:08 3a2ae6a8a46f: Waiting 20:04:08 33b1e0a273af: Waiting 20:04:08 5d3b04190fa2: Waiting 20:04:08 2f39f015ded8: Waiting 20:04:08 5c69ac0246d0: Verifying Checksum 20:04:08 5c69ac0246d0: Download complete 20:04:08 3a2ae6a8a46f: Verifying Checksum 20:04:08 3a2ae6a8a46f: Download complete 20:04:08 ec43610c2a17: Verifying Checksum 20:04:08 ec43610c2a17: Download complete 20:04:08 33b1e0a273af: Verifying Checksum 20:04:08 33b1e0a273af: Download complete 20:04:08 5d3b04190fa2: Verifying Checksum 20:04:08 5d3b04190fa2: Download complete 20:04:08 5eb5b503b376: Verifying Checksum 20:04:08 5eb5b503b376: Download complete 20:04:09 2f39f015ded8: Download complete 20:04:10 5eb5b503b376: Pull complete 20:04:10 5c69ac0246d0: Pull complete 20:04:10 ec43610c2a17: Pull complete 20:04:10 3a2ae6a8a46f: Pull complete 20:04:10 33b1e0a273af: Pull complete 20:04:10 5d3b04190fa2: Pull complete 20:04:15 2f39f015ded8: Pull complete 20:04:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:04:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:15 prd-ubuntu20.04-docker-8c-8g-117272 does not seem to be running inside a container 20:04:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:04:17 $ docker top b81797dea6a4eb84978ec4396ee0b9cb4641de837507626963df4b96ec9236cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:17 ---> job-cost.sh 20:04:17 lf-activate-venv: SKIPPING 20:04:17 INFO: No Stack... 20:04:18 INFO: Retrieving Pricing Info for: v3-standard-8 20:04:18 INFO: Archiving Costs [Pipeline] sh 20:04:18 + + catcut /w/workspace/gexfoundry_device-rest-go_PR-222/archives/cost.csv -d, 20:04:18 -f6 [Pipeline] lock 20:04:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-5-stack-cost] 20:04:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-222-5-stack-cost] did not exist. Created. 20:04:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:04:18 + echo total: 0.2199999988079071 [Pipeline] stash 20:04:18 Stashed 1 file(s) [Pipeline] } 20:04:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:04:18 $ docker stop --time=1 b81797dea6a4eb84978ec4396ee0b9cb4641de837507626963df4b96ec9236cf 20:04:20 $ docker rm -f b81797dea6a4eb84978ec4396ee0b9cb4641de837507626963df4b96ec9236cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:04:20 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] 20:04:20 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives 20:04:20 total 16 20:04:20 drwxr-xr-x 3 root root 4096 Oct 26 20:04 . 20:04:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:04 .. 20:04:20 drwxr-xr-x 2 root root 4096 Oct 26 20:04 cost 20:04:20 -rw-r--r-- 1 root root 87 Oct 26 20:04 cost.csv 20:04:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-222/archives 20:04:20 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives 20:04:20 total 16 20:04:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:04 . 20:04:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:04 .. 20:04:20 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:04 cost 20:04:20 -rw-r--r-- 1 jenkins jenkins 87 Oct 26 20:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:04:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:04:21 ---> package-listing.sh 20:04:21 ++ facter osfamily 20:04:21 ++ tr '[:upper:]' '[:lower:]' 20:04:22 + OS_FAMILY=debian 20:04:22 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 20:04:22 + START_PACKAGES=/tmp/packages_start.txt 20:04:22 + END_PACKAGES=/tmp/packages_end.txt 20:04:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:04:22 + PACKAGES=/tmp/packages_start.txt 20:04:22 + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' 20:04:22 + PACKAGES=/tmp/packages_end.txt 20:04:22 + case "${OS_FAMILY}" in 20:04:22 + dpkg -l 20:04:22 + grep '^ii' 20:04:22 + '[' -f /tmp/packages_start.txt ']' 20:04:22 + '[' -f /tmp/packages_end.txt ']' 20:04:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:04:22 + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' 20:04:22 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ 20:04:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [Pipeline] echo 20:04:22 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:04:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:23 prd-ubuntu20.04-docker-8c-8g-117272 does not seem to be running inside a container 20:04:23 $ 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-222/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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:04:23 $ docker top 3aa9b91647ed512876d43588523f55ef0eef6417a375333d72bab59be0b68105 -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:23 + touch /tmp/pre-build-complete [Pipeline] sh 20:04:23 + mkdir -p /var/log/sysstat [Pipeline] sh 20:04:24 + ls /var/log/sa-host 20:04:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:24 provisioning config files... 20:04:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config16494935665472259890tmp [Pipeline] { [Pipeline] echo 20:04:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:04:24 ---> create-netrc.sh [Pipeline] } 20:04:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:04:24 ---> python-tools-install.sh [Pipeline] echo 20:04:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:04:25 ---> sudo-logs.sh 20:04:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:04:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:04:25 ---> job-cost.sh 20:04:25 lf-activate-venv: SKIPPING 20:04:25 DEBUG: total: 0.2199999988079071 20:04:25 INFO: Retrieving Stack Cost... 20:04:25 INFO: Retrieving Pricing Info for: v3-standard-8 20:04:26 INFO: Archiving Costs [Pipeline] echo 20:04:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:04:26 ---> logs-deploy.sh 20:04:26 lf-activate-venv: SKIPPING 20:04:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/5 20:04:26 INFO: archiving workspace using pattern(s): 20:04:27 Archives upload complete. 20:04:27 INFO: archiving logs to Nexus