Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab35c68c7da578f7489f6019108ca23722e6e5b0 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-ssh13674507232612260769.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7121739801305336925.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines/.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-virtual-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13690623184873172595.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13053724749057915772.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines/.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-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15972154971201752673.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-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-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10374 in /w/workspace/exfoundry_device-virtual-go_main [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-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ab35c68c7da578f7489f6019108ca23722e6e5b0 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab35c68c7da578f7489f6019108ca23722e6e5b0 # timeout=10 Commit message: "Merge pull request #272 from bnevis-i/version-bump" > git rev-list --no-walk c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-01T01:55:17.672Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-01T01:55:17.728Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-01T01:55:17.745Z] ========================================================= [2022-04-01T01:55:17.745Z] EdgeX Global Pipelines Version Info [2022-04-01T01:55:17.745Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:55:18.529Z] ------------------- [2022-04-01T01:55:18.529Z] stable info: [2022-04-01T01:55:18.529Z] ------------------- [2022-04-01T01:55:18.529Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-01T01:55:18.529Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-01T01:55:18.529Z] Message: update stable to v1.0.221 [2022-04-01T01:55:19.100Z] ------------------- [2022-04-01T01:55:19.100Z] experimental info: [2022-04-01T01:55:19.100Z] ------------------- [2022-04-01T01:55:19.100Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-01T01:55:19.100Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-01T01:55:19.100Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-01T01:55:19.258Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-01T01:55:19.272Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-01T01:55:19.285Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-01T01:55:19.297Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-01T01:55:19.311Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-01T01:55:19.322Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-01T01:55:19.335Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-01T01:55:19.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-01T01:55:19.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-01T01:55:19.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-01T01:55:19.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-01T01:55:19.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-01T01:55:19.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-01T01:55:19.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-01T01:55:19.444Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-01T01:55:19.456Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-01T01:55:19.467Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-01T01:55:19.481Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-01T01:55:19.494Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-01T01:55:19.507Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-01T01:55:19.521Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-01T01:55:19.533Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-01T01:55:19.548Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-01T01:55:19.559Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-01T01:55:19.570Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-01T01:55:19.580Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-01T01:55:19.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-01T01:55:19.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-01T01:55:19.625Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-01T01:55:19.635Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] echo [2022-04-01T01:55:19.647Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab35c68 [Pipeline] echo [2022-04-01T01:55:19.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T01:55:19.713Z] provisioning config files... [2022-04-01T01:55:19.726Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2583535416744512131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:55:20.094Z] ---> docker-login.sh [2022-04-01T01:55:20.094Z] nexus3.edgexfoundry.org:10001 [2022-04-01T01:55:20.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:55:20.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:55:20.357Z] Configure a credential helper to remove this warning. See [2022-04-01T01:55:20.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:55:20.357Z] [2022-04-01T01:55:20.357Z] Login Succeeded [2022-04-01T01:55:20.357Z] nexus3.edgexfoundry.org:10002 [2022-04-01T01:55:20.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:55:20.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:55:20.618Z] Configure a credential helper to remove this warning. See [2022-04-01T01:55:20.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:55:20.618Z] [2022-04-01T01:55:20.618Z] Login Succeeded [2022-04-01T01:55:20.618Z] nexus3.edgexfoundry.org:10003 [2022-04-01T01:55:20.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:55:20.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:55:20.618Z] Configure a credential helper to remove this warning. See [2022-04-01T01:55:20.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:55:20.618Z] [2022-04-01T01:55:20.618Z] Login Succeeded [2022-04-01T01:55:20.618Z] nexus3.edgexfoundry.org:10004 [2022-04-01T01:55:20.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:55:20.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:55:20.880Z] Configure a credential helper to remove this warning. See [2022-04-01T01:55:20.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:55:20.880Z] [2022-04-01T01:55:20.880Z] Login Succeeded [2022-04-01T01:55:20.880Z] docker.io [2022-04-01T01:55:20.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:55:21.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:55:21.141Z] Configure a credential helper to remove this warning. See [2022-04-01T01:55:21.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:55:21.141Z] [2022-04-01T01:55:21.141Z] Login Succeeded [2022-04-01T01:55:21.141Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T01:55:21.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-01T01:55:21.535Z] + git rev-list -1 --merges ab35c68c7da578f7489f6019108ca23722e6e5b0~1..ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] echo [2022-04-01T01:55:21.565Z] -----------> git rev-list -1 --merges ab35c68c7da578f7489f6019108ca23722e6e5b0~1..ab35c68c7da578f7489f6019108ca23722e6e5b0 ab35c68c7da578f7489f6019108ca23722e6e5b0 [2022-04-01T01:55:21.565Z] ab35c68c7da578f7489f6019108ca23722e6e5b0 [false] [Pipeline] sh [2022-04-01T01:55:21.863Z] + git log --format=format:%s -1 ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] echo [2022-04-01T01:55:21.881Z] ========================================================= [2022-04-01T01:55:21.881Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-01T01:55:21.881Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T01:55:22.223Z] + git log --format=format:%s -1 ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] echo [2022-04-01T01:55:22.238Z] [semverPrep] GIT_COMMIT: ab35c68c7da578f7489f6019108ca23722e6e5b0, Commit Message: Merge pull request #272 from bnevis-i/version-bump [Pipeline] echo [2022-04-01T01:55:22.252Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-01T01:55:22.684Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T01:55:22.684Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-01T01:55:22.684Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-01T01:55:22.684Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-01T01:55:22.684Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-01T01:55:22.684Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-01T01:55:22.684Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:55:23.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T01:55:23.116Z] [2022-04-01T01:55:23.116Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:55:23.422Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T01:55:23.422Z] latest: Pulling from edgex-devops/git-semver [2022-04-01T01:55:23.422Z] a0d0a0d46f8b: Pulling fs layer [2022-04-01T01:55:23.422Z] 3e5f54012d9b: Pulling fs layer [2022-04-01T01:55:23.422Z] 4c7163046ea9: Pulling fs layer [2022-04-01T01:55:23.422Z] 0c2d73faf560: Pulling fs layer [2022-04-01T01:55:23.422Z] 0c2d73faf560: Waiting [2022-04-01T01:55:23.422Z] 3e5f54012d9b: Verifying Checksum [2022-04-01T01:55:23.422Z] 3e5f54012d9b: Download complete [2022-04-01T01:55:23.422Z] a0d0a0d46f8b: Verifying Checksum [2022-04-01T01:55:23.422Z] a0d0a0d46f8b: Download complete [2022-04-01T01:55:23.422Z] 0c2d73faf560: Verifying Checksum [2022-04-01T01:55:23.422Z] 0c2d73faf560: Download complete [2022-04-01T01:55:23.422Z] 4c7163046ea9: Verifying Checksum [2022-04-01T01:55:23.422Z] 4c7163046ea9: Download complete [2022-04-01T01:55:23.683Z] a0d0a0d46f8b: Pull complete [2022-04-01T01:55:23.683Z] 3e5f54012d9b: Pull complete [2022-04-01T01:55:23.947Z] 4c7163046ea9: Pull complete [2022-04-01T01:55:24.208Z] 0c2d73faf560: Pull complete [2022-04-01T01:55:24.208Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-01T01:55:24.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T01:55:24.208Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-01T01:55:24.282Z] prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container [2022-04-01T01:55:24.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-01T01:55:25.024Z] $ docker top 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T01:55:25.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T01:55:25.126Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T01:55:25.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T01:55:25.255Z] $ docker exec 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 ssh-agent [2022-04-01T01:55:25.370Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcHbmfc/agent.14 [2022-04-01T01:55:25.370Z] SSH_AGENT_PID=20 [2022-04-01T01:55:25.377Z] Running ssh-add (command line suppressed) [2022-04-01T01:55:25.480Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2518778359207841000.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2518778359207841000.key) [2022-04-01T01:55:25.494Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T01:55:25.786Z] + git tag --points-at HEAD [Pipeline] } [2022-04-01T01:55:25.809Z] $ docker exec --env ******** --env ******** 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 ssh-agent -k [2022-04-01T01:55:25.909Z] unset SSH_AUTH_SOCK; [2022-04-01T01:55:25.909Z] unset SSH_AGENT_PID; [2022-04-01T01:55:25.910Z] echo Agent pid 20 killed; [2022-04-01T01:55:25.918Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-01T01:55:25.944Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T01:55:25.944Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T01:55:26.062Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T01:55:26.067Z] $ docker exec 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 ssh-agent [2022-04-01T01:55:26.168Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPiHGCo/agent.52 [2022-04-01T01:55:26.168Z] SSH_AGENT_PID=59 [2022-04-01T01:55:26.174Z] Running ssh-add (command line suppressed) [2022-04-01T01:55:26.290Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4468260638814105908.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4468260638814105908.key) [2022-04-01T01:55:26.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T01:55:26.594Z] + git semver init [2022-04-01T01:55:26.594Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T01:55:26.594Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-01T01:55:26.594Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-01T01:55:26.594Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T01:55:26.594Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T01:55:26.594Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T01:55:26.594Z] # $SEMVER_BRANCH = main [2022-04-01T01:55:26.594Z] # $SEMVER_TEMP = /tmp/semver-797863050 [2022-04-01T01:55:26.594Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-01T01:55:27.978Z] # '/tmp/semver-797863050' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' [2022-04-01T01:55:27.978Z] # -> Force: false [2022-04-01T01:55:27.978Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-04-01T01:55:27.992Z] $ docker exec --env ******** --env ******** 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 ssh-agent -k [2022-04-01T01:55:28.090Z] unset SSH_AUTH_SOCK; [2022-04-01T01:55:28.090Z] unset SSH_AGENT_PID; [2022-04-01T01:55:28.090Z] echo Agent pid 59 killed; [2022-04-01T01:55:28.098Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T01:55:28.409Z] + git semver [Pipeline] } [2022-04-01T01:55:28.425Z] $ docker stop --time=1 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 [2022-04-01T01:55:29.839Z] $ docker rm -f 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T01:55:30.206Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-01T01:55:30.468Z] Stashed 1 file(s) [Pipeline] echo [2022-04-01T01:55:30.473Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.8 [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-04-01T01:55:30.607Z] provisioning config files... [2022-04-01T01:55:30.616Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6551698669235113806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:55:30.915Z] ---> docker-login.sh [2022-04-01T01:55:30.915Z] nexus3.edgexfoundry.org:10001 [2022-04-01T01:55:30.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:55:30.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:55:30.915Z] Configure a credential helper to remove this warning. See [2022-04-01T01:55:30.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:55:30.915Z] [2022-04-01T01:55:30.915Z] Login Succeeded [2022-04-01T01:55:30.915Z] nexus3.edgexfoundry.org:10002 [2022-04-01T01:55:30.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:55:31.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:55:31.176Z] Configure a credential helper to remove this warning. See [2022-04-01T01:55:31.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:55:31.176Z] [2022-04-01T01:55:31.176Z] Login Succeeded [2022-04-01T01:55:31.176Z] nexus3.edgexfoundry.org:10003 [2022-04-01T01:55:31.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:55:31.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:55:31.176Z] Configure a credential helper to remove this warning. See [2022-04-01T01:55:31.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:55:31.176Z] [2022-04-01T01:55:31.176Z] Login Succeeded [2022-04-01T01:55:31.176Z] nexus3.edgexfoundry.org:10004 [2022-04-01T01:55:31.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:55:31.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:55:31.176Z] Configure a credential helper to remove this warning. See [2022-04-01T01:55:31.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:55:31.176Z] [2022-04-01T01:55:31.176Z] Login Succeeded [2022-04-01T01:55:31.176Z] docker.io [2022-04-01T01:55:31.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:55:31.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:55:31.697Z] Configure a credential helper to remove this warning. See [2022-04-01T01:55:31.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:55:31.697Z] [2022-04-01T01:55:31.697Z] Login Succeeded [2022-04-01T01:55:31.697Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T01:55:31.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-01T01:55:31.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T01:55:31.786Z] ========================================================= [2022-04-01T01:55:31.786Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-01T01:55:31.786Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:55:32.101Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-01T01:55:32.101Z] Sending build context to Docker daemon 22.85MB [2022-04-01T01:55:32.101Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T01:55:32.101Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-01T01:55:32.362Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-01T01:55:32.362Z] 59bf1c3509f3: Pulling fs layer [2022-04-01T01:55:32.362Z] 666ba61612fd: Pulling fs layer [2022-04-01T01:55:32.362Z] 8ed8ca486205: Pulling fs layer [2022-04-01T01:55:32.362Z] 4fe6c5a15a65: Pulling fs layer [2022-04-01T01:55:32.362Z] 22a0e8bec74d: Pulling fs layer [2022-04-01T01:55:32.362Z] 640e595b4fbd: Pulling fs layer [2022-04-01T01:55:32.362Z] 763cafe07f6e: Pulling fs layer [2022-04-01T01:55:32.362Z] 0c0b528cf693: Pulling fs layer [2022-04-01T01:55:32.362Z] 10935f4eaf8b: Pulling fs layer [2022-04-01T01:55:32.362Z] 4fe6c5a15a65: Waiting [2022-04-01T01:55:32.362Z] 22a0e8bec74d: Waiting [2022-04-01T01:55:32.362Z] 640e595b4fbd: Waiting [2022-04-01T01:55:32.362Z] 763cafe07f6e: Waiting [2022-04-01T01:55:32.362Z] 0c0b528cf693: Waiting [2022-04-01T01:55:32.362Z] 10935f4eaf8b: Waiting [2022-04-01T01:55:32.362Z] 666ba61612fd: Verifying Checksum [2022-04-01T01:55:32.362Z] 666ba61612fd: Download complete [2022-04-01T01:55:32.362Z] 8ed8ca486205: Verifying Checksum [2022-04-01T01:55:32.362Z] 8ed8ca486205: Download complete [2022-04-01T01:55:32.362Z] 22a0e8bec74d: Download complete [2022-04-01T01:55:32.362Z] 640e595b4fbd: Verifying Checksum [2022-04-01T01:55:32.362Z] 640e595b4fbd: Download complete [2022-04-01T01:55:32.362Z] 59bf1c3509f3: Verifying Checksum [2022-04-01T01:55:32.362Z] 59bf1c3509f3: Download complete [2022-04-01T01:55:32.362Z] 763cafe07f6e: Verifying Checksum [2022-04-01T01:55:32.362Z] 763cafe07f6e: Download complete [2022-04-01T01:55:32.362Z] 0c0b528cf693: Verifying Checksum [2022-04-01T01:55:32.362Z] 0c0b528cf693: Download complete [2022-04-01T01:55:32.362Z] 59bf1c3509f3: Pull complete [2022-04-01T01:55:32.624Z] 666ba61612fd: Pull complete [2022-04-01T01:55:32.624Z] 8ed8ca486205: Pull complete [2022-04-01T01:55:32.892Z] 10935f4eaf8b: Verifying Checksum [2022-04-01T01:55:32.892Z] 10935f4eaf8b: Download complete [2022-04-01T01:55:32.892Z] 4fe6c5a15a65: Verifying Checksum [2022-04-01T01:55:32.892Z] 4fe6c5a15a65: Download complete [2022-04-01T01:55:37.098Z] 4fe6c5a15a65: Pull complete [2022-04-01T01:55:37.098Z] 22a0e8bec74d: Pull complete [2022-04-01T01:55:37.098Z] 640e595b4fbd: Pull complete [2022-04-01T01:55:37.098Z] 763cafe07f6e: Pull complete [2022-04-01T01:55:37.098Z] 0c0b528cf693: Pull complete [2022-04-01T01:55:39.010Z] 10935f4eaf8b: Pull complete [2022-04-01T01:55:39.010Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-01T01:55:39.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-01T01:55:39.010Z] ---> 99d49a6021b9 [2022-04-01T01:55:39.010Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T01:55:39.957Z] ---> Running in d2a93530b920 [2022-04-01T01:55:39.957Z] Removing intermediate container d2a93530b920 [2022-04-01T01:55:39.957Z] ---> ba2bcb4636c9 [2022-04-01T01:55:39.957Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T01:55:39.957Z] ---> Running in 6936be6317fa [2022-04-01T01:55:40.218Z] Removing intermediate container 6936be6317fa [2022-04-01T01:55:40.218Z] ---> a44eb0ec7dac [2022-04-01T01:55:40.218Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-01T01:55:40.218Z] ---> Running in 269d18396667 [2022-04-01T01:55:40.218Z] Removing intermediate container 269d18396667 [2022-04-01T01:55:40.218Z] ---> c5f526437e71 [2022-04-01T01:55:40.218Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T01:55:40.218Z] ---> Running in 139b7a0d75e3 [2022-04-01T01:55:40.795Z] Removing intermediate container 139b7a0d75e3 [2022-04-01T01:55:40.795Z] ---> 2af7dfef6d50 [2022-04-01T01:55:40.795Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T01:55:40.795Z] ---> Running in 4689736e933d [2022-04-01T01:55:41.367Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-01T01:55:41.939Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-01T01:55:42.199Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-01T01:55:42.460Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-01T01:55:42.460Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-01T01:55:42.720Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-01T01:55:42.720Z] Executing busybox-1.34.1-r3.trigger [2022-04-01T01:55:42.720Z] OK: 224 MiB in 56 packages [2022-04-01T01:55:42.980Z] Removing intermediate container 4689736e933d [2022-04-01T01:55:42.980Z] ---> 4f87684a017a [2022-04-01T01:55:42.980Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-01T01:55:43.240Z] ---> d72be362bf04 [2022-04-01T01:55:43.241Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T01:55:43.241Z] ---> Running in ce026c2a8a84 [2022-04-01T01:55:45.575Z] Still waiting to schedule task [2022-04-01T01:55:45.575Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10373’ [2022-04-01T01:56:01.346Z] Removing intermediate container ce026c2a8a84 [2022-04-01T01:56:01.346Z] ---> f72e2442c606 [2022-04-01T01:56:01.346Z] Step 10/12 : COPY . . [2022-04-01T01:56:01.346Z] ---> 75998a537e9a [2022-04-01T01:56:01.346Z] Step 11/12 : ARG MAKE='make build' [2022-04-01T01:56:01.346Z] ---> Running in cd4c7848f8c3 [2022-04-01T01:56:01.346Z] Removing intermediate container cd4c7848f8c3 [2022-04-01T01:56:01.346Z] ---> 14170fa6e3d1 [2022-04-01T01:56:01.346Z] Step 12/12 : RUN $MAKE [2022-04-01T01:56:01.346Z] ---> Running in 1b0f2921039d [2022-04-01T01:56:01.346Z] noop [2022-04-01T01:56:01.346Z] Removing intermediate container 1b0f2921039d [2022-04-01T01:56:01.346Z] ---> 98627c63d90e [2022-04-01T01:56:01.607Z] Successfully built 98627c63d90e [2022-04-01T01:56:01.607Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:01.906Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-01T01:56:01.906Z] . [Pipeline] withDockerContainer [2022-04-01T01:56:01.973Z] prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container [2022-04-01T01:56:02.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** ci-base-image-x86_64 cat [2022-04-01T01:56:02.410Z] $ docker top 364e3055fafb66a69f9c85800409d739dc4f32e0b0fc29c81660d2e53efc984d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T01:56:02.770Z] + go version [2022-04-01T01:56:02.770Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-01T01:56:02.784Z] $ docker stop --time=1 364e3055fafb66a69f9c85800409d739dc4f32e0b0fc29c81660d2e53efc984d [2022-04-01T01:56:04.101Z] $ docker rm -f 364e3055fafb66a69f9c85800409d739dc4f32e0b0fc29c81660d2e53efc984d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:04.529Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-01T01:56:04.529Z] . [Pipeline] withDockerContainer [2022-04-01T01:56:04.595Z] prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container [2022-04-01T01:56:04.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** ci-base-image-x86_64 cat [2022-04-01T01:56:05.048Z] $ docker top f968c05192e106660b17b689b0c6a8e14150736dc5cc251bc7b696a9acc87593 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-01T01:56:05.433Z] + make test [2022-04-01T01:56:05.433Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-01T01:56:05.707Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-01T01:56:13.884Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-01T01:56:13.884Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements [2022-04-01T01:56:13.884Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-01T01:56:18.083Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-01T01:56:18.083Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-01T01:56:18.083Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-01T01:56:18.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-01T01:56:18.684Z] $ docker stop --time=1 f968c05192e106660b17b689b0c6a8e14150736dc5cc251bc7b696a9acc87593 [2022-04-01T01:56:20.414Z] $ docker rm -f f968c05192e106660b17b689b0c6a8e14150736dc5cc251bc7b696a9acc87593 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T01:56:20.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-01T01:56:20.841Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-01T01:56:21.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-01T01:56:22.100Z] + ls -al . [2022-04-01T01:56:22.100Z] total 180 [2022-04-01T01:56:22.100Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 01:56 . [2022-04-01T01:56:22.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 01:55 .. [2022-04-01T01:56:22.100Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 01:55 .git [2022-04-01T01:56:22.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 01:55 .github [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 1 01:55 .gitignore [2022-04-01T01:56:22.100Z] drwx------ 3 jenkins jenkins 4096 Apr 1 01:55 .semver [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 1 01:55 Attribution.txt [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 1 01:55 CHANGELOG.md [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 1 01:55 Dockerfile [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 01:55 GOVERNANCE.md [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 1 01:55 Jenkinsfile [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 01:55 LICENSE [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 1157 Apr 1 01:55 Makefile [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 1 01:55 OWNERS.md [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 1 01:55 README.md [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 1 01:55 VERSION [2022-04-01T01:56:22.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 01:55 bin [2022-04-01T01:56:22.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 01:55 cmd [2022-04-01T01:56:22.100Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 1 01:56 coverage.out [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 3171 Apr 1 01:55 go.mod [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 34634 Apr 1 01:55 go.sum [2022-04-01T01:56:22.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 01:55 internal [2022-04-01T01:56:22.100Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 1 01:55 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:22.400Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ab35c68c7da578f7489f6019108ca23722e6e5b0 --label arch=amd64 --label version=2.2.0-dev.8 . [2022-04-01T01:56:22.400Z] Sending build context to Docker daemon 22.89MB [2022-04-01T01:56:22.400Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T01:56:22.400Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-01T01:56:22.400Z] ---> 98627c63d90e [2022-04-01T01:56:22.400Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T01:56:22.662Z] ---> Running in 8f28c5503da0 [2022-04-01T01:56:22.662Z] Removing intermediate container 8f28c5503da0 [2022-04-01T01:56:22.662Z] ---> 4367f8f5a10e [2022-04-01T01:56:22.662Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T01:56:22.662Z] ---> Running in 002437f7f0c8 [2022-04-01T01:56:22.922Z] Removing intermediate container 002437f7f0c8 [2022-04-01T01:56:22.922Z] ---> 1fdcdbdd46ae [2022-04-01T01:56:22.922Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-01T01:56:22.922Z] ---> Running in 76d7f9865f74 [2022-04-01T01:56:22.922Z] Removing intermediate container 76d7f9865f74 [2022-04-01T01:56:22.922Z] ---> 38225aae7196 [2022-04-01T01:56:22.922Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T01:56:22.922Z] ---> Running in a900237f9d98 [2022-04-01T01:56:23.868Z] Removing intermediate container a900237f9d98 [2022-04-01T01:56:23.868Z] ---> e4594036db85 [2022-04-01T01:56:23.868Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T01:56:23.868Z] ---> Running in 998b12e434c1 [2022-04-01T01:56:24.128Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-01T01:56:25.067Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-01T01:56:25.067Z] OK: 224 MiB in 56 packages [2022-04-01T01:56:25.635Z] Removing intermediate container 998b12e434c1 [2022-04-01T01:56:25.635Z] ---> e9fd29914edf [2022-04-01T01:56:25.635Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-01T01:56:25.635Z] ---> 7d73c121cbf9 [2022-04-01T01:56:25.635Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T01:56:25.895Z] ---> Running in f4737a013499 [2022-04-01T01:56:26.463Z] Removing intermediate container f4737a013499 [2022-04-01T01:56:26.463Z] ---> 9e0792a81269 [2022-04-01T01:56:26.463Z] Step 10/26 : COPY . . [2022-04-01T01:56:26.723Z] ---> 61c66800e73b [2022-04-01T01:56:26.723Z] Step 11/26 : ARG MAKE='make build' [2022-04-01T01:56:26.983Z] ---> Running in d980a14527f4 [2022-04-01T01:56:26.984Z] Removing intermediate container d980a14527f4 [2022-04-01T01:56:26.984Z] ---> e7c7821387b7 [2022-04-01T01:56:26.984Z] Step 12/26 : RUN $MAKE [2022-04-01T01:56:26.984Z] ---> Running in e57ac44f7cf6 [2022-04-01T01:56:27.244Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.8" -o cmd/device-virtual ./cmd [2022-04-01T01:56:39.465Z] Removing intermediate container e57ac44f7cf6 [2022-04-01T01:56:39.465Z] ---> 4497d59aa7c2 [2022-04-01T01:56:39.465Z] Step 13/26 : FROM alpine:3.14 [2022-04-01T01:56:39.465Z] 3.14: Pulling from library/alpine [2022-04-01T01:56:39.465Z] cfab2db72209: Pulling fs layer [2022-04-01T01:56:39.764Z] cfab2db72209: Verifying Checksum [2022-04-01T01:56:39.764Z] cfab2db72209: Download complete [2022-04-01T01:56:39.764Z] cfab2db72209: Pull complete [2022-04-01T01:56:39.764Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-01T01:56:39.764Z] Status: Downloaded newer image for alpine:3.14 [2022-04-01T01:56:39.764Z] ---> 84b07dd2d1fd [2022-04-01T01:56:39.764Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-01T01:56:40.024Z] ---> Running in 30697f7fac49 [2022-04-01T01:56:40.024Z] Removing intermediate container 30697f7fac49 [2022-04-01T01:56:40.024Z] ---> 9dd44e26ae2d [2022-04-01T01:56:40.024Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T01:56:40.024Z] ---> Running in 0e185acf6d76 [2022-04-01T01:56:40.593Z] Removing intermediate container 0e185acf6d76 [2022-04-01T01:56:40.593Z] ---> d0691cb4ba5f [2022-04-01T01:56:40.593Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-01T01:56:40.593Z] ---> Running in 7866b931bb7a [2022-04-01T01:56:40.853Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-01T01:56:41.798Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-01T01:56:42.058Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-01T01:56:42.058Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-01T01:56:42.058Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-01T01:56:42.319Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-01T01:56:42.319Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-01T01:56:42.319Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-01T01:56:42.580Z] Executing busybox-1.33.1-r6.trigger [2022-04-01T01:56:42.580Z] OK: 8 MiB in 20 packages [2022-04-01T01:56:42.841Z] Removing intermediate container 7866b931bb7a [2022-04-01T01:56:42.841Z] ---> 68a9a9138f8e [2022-04-01T01:56:42.841Z] Step 17/26 : WORKDIR / [2022-04-01T01:56:42.841Z] ---> Running in 7b8c60a7425d [2022-04-01T01:56:43.103Z] Removing intermediate container 7b8c60a7425d [2022-04-01T01:56:43.103Z] ---> 046464f1fe0d [2022-04-01T01:56:43.103Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-01T01:56:43.103Z] ---> 0e7032f79ab4 [2022-04-01T01:56:43.103Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-01T01:56:43.364Z] ---> c4fc54c6fc5c [2022-04-01T01:56:43.364Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-01T01:56:43.936Z] ---> c43ede430f0d [2022-04-01T01:56:43.936Z] Step 21/26 : EXPOSE 59900 [2022-04-01T01:56:43.936Z] ---> Running in a3558675ed89 [2022-04-01T01:56:43.936Z] Removing intermediate container a3558675ed89 [2022-04-01T01:56:43.936Z] ---> 41a974882ece [2022-04-01T01:56:43.936Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-01T01:56:43.936Z] ---> Running in ba2df838b2a5 [2022-04-01T01:56:43.936Z] Removing intermediate container ba2df838b2a5 [2022-04-01T01:56:43.936Z] ---> eab95922b63a [2022-04-01T01:56:43.936Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-01T01:56:43.936Z] ---> Running in effd493b4ef7 [2022-04-01T01:56:44.194Z] Removing intermediate container effd493b4ef7 [2022-04-01T01:56:44.194Z] ---> 53e61ac01700 [2022-04-01T01:56:44.195Z] Step 24/26 : LABEL arch=amd64 [2022-04-01T01:56:44.195Z] ---> Running in 6d31a689b841 [2022-04-01T01:56:44.195Z] Removing intermediate container 6d31a689b841 [2022-04-01T01:56:44.195Z] ---> b8fd63fd59e5 [2022-04-01T01:56:44.195Z] Step 25/26 : LABEL git_sha=ab35c68c7da578f7489f6019108ca23722e6e5b0 [2022-04-01T01:56:44.195Z] ---> Running in f52b2ee9eeed [2022-04-01T01:56:44.454Z] Removing intermediate container f52b2ee9eeed [2022-04-01T01:56:44.454Z] ---> 566ebc8aa544 [2022-04-01T01:56:44.454Z] Step 26/26 : LABEL version=2.2.0-dev.8 [2022-04-01T01:56:44.454Z] ---> Running in b36e6d218746 [2022-04-01T01:56:44.454Z] Removing intermediate container b36e6d218746 [2022-04-01T01:56:44.454Z] ---> 3fcf00da2147 [2022-04-01T01:56:44.454Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-01T01:56:44.454Z] Successfully built 3fcf00da2147 [2022-04-01T01:56:44.454Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T01:56:44.555Z] provisioning config files... [2022-04-01T01:56:44.563Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2875248802593728099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:56:44.862Z] ---> docker-login.sh [2022-04-01T01:56:44.863Z] nexus3.edgexfoundry.org:10001 [2022-04-01T01:56:44.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:56:44.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:56:44.863Z] Configure a credential helper to remove this warning. See [2022-04-01T01:56:44.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:56:44.863Z] [2022-04-01T01:56:44.863Z] Login Succeeded [2022-04-01T01:56:44.863Z] nexus3.edgexfoundry.org:10002 [2022-04-01T01:56:44.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:56:44.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:56:44.863Z] Configure a credential helper to remove this warning. See [2022-04-01T01:56:44.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:56:44.863Z] [2022-04-01T01:56:44.863Z] Login Succeeded [2022-04-01T01:56:44.863Z] nexus3.edgexfoundry.org:10003 [2022-04-01T01:56:45.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:56:45.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:56:45.122Z] Configure a credential helper to remove this warning. See [2022-04-01T01:56:45.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:56:45.122Z] [2022-04-01T01:56:45.122Z] Login Succeeded [2022-04-01T01:56:45.122Z] nexus3.edgexfoundry.org:10004 [2022-04-01T01:56:45.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:56:45.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:56:45.122Z] Configure a credential helper to remove this warning. See [2022-04-01T01:56:45.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:56:45.122Z] [2022-04-01T01:56:45.122Z] Login Succeeded [2022-04-01T01:56:45.122Z] docker.io [2022-04-01T01:56:45.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T01:56:45.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T01:56:45.642Z] Configure a credential helper to remove this warning. See [2022-04-01T01:56:45.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T01:56:45.642Z] [2022-04-01T01:56:45.642Z] Login Succeeded [2022-04-01T01:56:45.642Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T01:56:45.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-01T01:56:45.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T01:56:45.717Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-04-01T01:56:45.717Z] ab35c68c7da578f7489f6019108ca23722e6e5b0 [2022-04-01T01:56:45.717Z] latest [2022-04-01T01:56:45.717Z] 2.2.0-dev.8 [2022-04-01T01:56:45.717Z] ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 [2022-04-01T01:56:45.717Z] main [2022-04-01T01:56:45.717Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:46.046Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:46.344Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0 [2022-04-01T01:56:46.344Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-01T01:56:46.344Z] 11e9f5e0255e: Preparing [2022-04-01T01:56:46.344Z] 47333151b2f5: Preparing [2022-04-01T01:56:46.344Z] db6aa3235bfb: Preparing [2022-04-01T01:56:46.344Z] 3249a3ad7e38: Preparing [2022-04-01T01:56:46.344Z] a1dc810ce12c: Preparing [2022-04-01T01:56:46.344Z] 736164617a66: Preparing [2022-04-01T01:56:46.344Z] 736164617a66: Waiting [2022-04-01T01:56:46.344Z] db6aa3235bfb: Pushed [2022-04-01T01:56:46.344Z] 47333151b2f5: Pushed [2022-04-01T01:56:46.344Z] a1dc810ce12c: Pushed [2022-04-01T01:56:46.344Z] 736164617a66: Layer already exists [2022-04-01T01:56:46.603Z] 3249a3ad7e38: Pushed [2022-04-01T01:56:48.517Z] 11e9f5e0255e: Pushed [2022-04-01T01:56:48.779Z] ab35c68c7da578f7489f6019108ca23722e6e5b0: digest: sha256:ce994964026f6745d42e7a1d722cdd46ad22572a5901e05758629c00c740ba43 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:49.084Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:49.381Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-04-01T01:56:49.382Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-01T01:56:49.382Z] 11e9f5e0255e: Preparing [2022-04-01T01:56:49.382Z] 47333151b2f5: Preparing [2022-04-01T01:56:49.382Z] db6aa3235bfb: Preparing [2022-04-01T01:56:49.382Z] 3249a3ad7e38: Preparing [2022-04-01T01:56:49.382Z] a1dc810ce12c: Preparing [2022-04-01T01:56:49.382Z] 736164617a66: Preparing [2022-04-01T01:56:49.382Z] 736164617a66: Waiting [2022-04-01T01:56:49.382Z] a1dc810ce12c: Layer already exists [2022-04-01T01:56:49.382Z] 47333151b2f5: Layer already exists [2022-04-01T01:56:49.382Z] 3249a3ad7e38: Layer already exists [2022-04-01T01:56:49.382Z] db6aa3235bfb: Layer already exists [2022-04-01T01:56:49.382Z] 11e9f5e0255e: Layer already exists [2022-04-01T01:56:49.382Z] 736164617a66: Layer already exists [2022-04-01T01:56:49.382Z] latest: digest: sha256:ce994964026f6745d42e7a1d722cdd46ad22572a5901e05758629c00c740ba43 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:49.686Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:49.982Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.8 [2022-04-01T01:56:49.982Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-01T01:56:49.982Z] 11e9f5e0255e: Preparing [2022-04-01T01:56:49.982Z] 47333151b2f5: Preparing [2022-04-01T01:56:49.982Z] db6aa3235bfb: Preparing [2022-04-01T01:56:49.982Z] 3249a3ad7e38: Preparing [2022-04-01T01:56:49.982Z] a1dc810ce12c: Preparing [2022-04-01T01:56:49.982Z] 736164617a66: Preparing [2022-04-01T01:56:49.982Z] 736164617a66: Waiting [2022-04-01T01:56:49.982Z] 3249a3ad7e38: Layer already exists [2022-04-01T01:56:49.982Z] db6aa3235bfb: Layer already exists [2022-04-01T01:56:49.982Z] a1dc810ce12c: Layer already exists [2022-04-01T01:56:49.982Z] 11e9f5e0255e: Layer already exists [2022-04-01T01:56:49.982Z] 47333151b2f5: Layer already exists [2022-04-01T01:56:49.982Z] 736164617a66: Layer already exists [2022-04-01T01:56:49.982Z] 2.2.0-dev.8: digest: sha256:ce994964026f6745d42e7a1d722cdd46ad22572a5901e05758629c00c740ba43 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:50.286Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:50.584Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 [2022-04-01T01:56:50.584Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-01T01:56:50.585Z] 11e9f5e0255e: Preparing [2022-04-01T01:56:50.585Z] 47333151b2f5: Preparing [2022-04-01T01:56:50.585Z] db6aa3235bfb: Preparing [2022-04-01T01:56:50.585Z] 3249a3ad7e38: Preparing [2022-04-01T01:56:50.585Z] a1dc810ce12c: Preparing [2022-04-01T01:56:50.585Z] 736164617a66: Preparing [2022-04-01T01:56:50.585Z] 736164617a66: Waiting [2022-04-01T01:56:50.585Z] a1dc810ce12c: Layer already exists [2022-04-01T01:56:50.585Z] db6aa3235bfb: Layer already exists [2022-04-01T01:56:50.585Z] 11e9f5e0255e: Layer already exists [2022-04-01T01:56:50.585Z] 3249a3ad7e38: Layer already exists [2022-04-01T01:56:50.585Z] 47333151b2f5: Layer already exists [2022-04-01T01:56:50.585Z] 736164617a66: Layer already exists [2022-04-01T01:56:50.585Z] ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8: digest: sha256:ce994964026f6745d42e7a1d722cdd46ad22572a5901e05758629c00c740ba43 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:50.884Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:51.187Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-04-01T01:56:51.187Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-01T01:56:51.187Z] 11e9f5e0255e: Preparing [2022-04-01T01:56:51.187Z] 47333151b2f5: Preparing [2022-04-01T01:56:51.187Z] db6aa3235bfb: Preparing [2022-04-01T01:56:51.187Z] 3249a3ad7e38: Preparing [2022-04-01T01:56:51.187Z] a1dc810ce12c: Preparing [2022-04-01T01:56:51.187Z] 736164617a66: Preparing [2022-04-01T01:56:51.187Z] db6aa3235bfb: Layer already exists [2022-04-01T01:56:51.187Z] 11e9f5e0255e: Layer already exists [2022-04-01T01:56:51.187Z] 47333151b2f5: Layer already exists [2022-04-01T01:56:51.187Z] 3249a3ad7e38: Layer already exists [2022-04-01T01:56:51.187Z] a1dc810ce12c: Layer already exists [2022-04-01T01:56:51.187Z] 736164617a66: Layer already exists [2022-04-01T01:56:51.187Z] main: digest: sha256:ce994964026f6745d42e7a1d722cdd46ad22572a5901e05758629c00c740ba43 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-01T01:56:51.227Z] ===================================================== [Pipeline] echo [2022-04-01T01:56:51.237Z] taggedImages: [2022-04-01T01:56:51.237Z] - nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0 [2022-04-01T01:56:51.237Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-04-01T01:56:51.237Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.8 [2022-04-01T01:56:51.237Z] - nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 [2022-04-01T01:56:51.237Z] - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:51.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T01:56:51.613Z] [2022-04-01T01:56:51.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:56:51.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T01:56:51.926Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-01T01:56:51.926Z] 5eb5b503b376: Pulling fs layer [2022-04-01T01:56:51.926Z] 5c69ac0246d0: Pulling fs layer [2022-04-01T01:56:51.926Z] ec43610c2a17: Pulling fs layer [2022-04-01T01:56:51.926Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-01T01:56:51.926Z] 33b1e0a273af: Pulling fs layer [2022-04-01T01:56:51.926Z] 5d3b04190fa2: Pulling fs layer [2022-04-01T01:56:51.926Z] 2f39f015ded8: Pulling fs layer [2022-04-01T01:56:51.926Z] 3a2ae6a8a46f: Waiting [2022-04-01T01:56:51.926Z] 33b1e0a273af: Waiting [2022-04-01T01:56:51.926Z] 5d3b04190fa2: Waiting [2022-04-01T01:56:51.926Z] 2f39f015ded8: Waiting [2022-04-01T01:56:51.926Z] 5c69ac0246d0: Verifying Checksum [2022-04-01T01:56:51.926Z] 5c69ac0246d0: Download complete [2022-04-01T01:56:51.926Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-01T01:56:51.926Z] 3a2ae6a8a46f: Download complete [2022-04-01T01:56:51.926Z] ec43610c2a17: Verifying Checksum [2022-04-01T01:56:51.926Z] ec43610c2a17: Download complete [2022-04-01T01:56:51.926Z] 33b1e0a273af: Verifying Checksum [2022-04-01T01:56:51.926Z] 33b1e0a273af: Download complete [2022-04-01T01:56:51.926Z] 5d3b04190fa2: Verifying Checksum [2022-04-01T01:56:51.926Z] 5d3b04190fa2: Download complete [2022-04-01T01:56:52.185Z] 5eb5b503b376: Verifying Checksum [2022-04-01T01:56:52.185Z] 5eb5b503b376: Download complete [2022-04-01T01:56:52.753Z] 2f39f015ded8: Download complete [2022-04-01T01:56:53.323Z] 5eb5b503b376: Pull complete [2022-04-01T01:56:53.323Z] 5c69ac0246d0: Pull complete [2022-04-01T01:56:53.892Z] ec43610c2a17: Pull complete [2022-04-01T01:56:53.892Z] 3a2ae6a8a46f: Pull complete [2022-04-01T01:56:54.153Z] 33b1e0a273af: Pull complete [2022-04-01T01:56:54.153Z] 5d3b04190fa2: Pull complete [2022-04-01T01:56:58.349Z] 2f39f015ded8: Pull complete [2022-04-01T01:56:58.349Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-01T01:56:58.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T01:56:58.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-01T01:56:58.413Z] prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container [2022-04-01T01:56:58.447Z] $ 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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-01T01:57:00.002Z] $ docker top 64a055d245b1d7e3a2ed8a6f3ec83bb1606b3525b9fdebaf3cacbebd88c9303b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:57:00.436Z] ---> job-cost.sh [2022-04-01T01:57:00.436Z] lf-activate-venv: SKIPPING [2022-04-01T01:57:00.436Z] INFO: No Stack... [2022-04-01T01:57:00.696Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-01T01:57:01.270Z] INFO: Archiving Costs [Pipeline] sh [2022-04-01T01:57:01.596Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-04-01T01:57:01.596Z] + cut -d, -f6 [Pipeline] lock [2022-04-01T01:57:01.650Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] [2022-04-01T01:57:01.657Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] did not exist. Created. [2022-04-01T01:57:01.657Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T01:57:01.991Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-01T01:57:02.027Z] Stashed 1 file(s) [Pipeline] } [2022-04-01T01:57:02.035Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-01T01:57:02.053Z] $ docker stop --time=1 64a055d245b1d7e3a2ed8a6f3ec83bb1606b3525b9fdebaf3cacbebd88c9303b [2022-04-01T01:57:03.212Z] $ docker rm -f 64a055d245b1d7e3a2ed8a6f3ec83bb1606b3525b9fdebaf3cacbebd88c9303b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-01T01:59:21.123Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10375 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-04-01T01:59:21.137Z] Running in /w/workspace/device-virtual-go/24 [Pipeline] { [Pipeline] checkout [2022-04-01T01:59:21.397Z] The recommended git tool is: git [2022-04-01T01:59:29.343Z] using credential edgex-jenkins-ssh [2022-04-01T01:59:29.365Z] Cloning the remote Git repository [2022-04-01T01:59:29.442Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-01T01:59:29.526Z] > git init /w/workspace/device-virtual-go/24 # timeout=10 [2022-04-01T01:59:29.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-01T01:59:29.779Z] > git --version # timeout=10 [2022-04-01T01:59:29.836Z] > git --version # 'git version 2.25.1' [2022-04-01T01:59:29.838Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T01:59:29.956Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-01T01:59:32.802Z] Avoid second fetch [2022-04-01T01:59:32.802Z] Checking out Revision ab35c68c7da578f7489f6019108ca23722e6e5b0 (main) [2022-04-01T01:59:32.744Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-01T01:59:32.787Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-01T01:59:32.833Z] > git config core.sparsecheckout # timeout=10 [2022-04-01T01:59:32.856Z] > git checkout -f ab35c68c7da578f7489f6019108ca23722e6e5b0 # timeout=10 [2022-04-01T01:59:37.457Z] Commit message: "Merge pull request #272 from bnevis-i/version-bump" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T01:59:38.498Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-01T01:59:38.498Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-01T01:59:38.498Z] Dload Upload Total Spent Left Speed [2022-04-01T01:59:38.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 41700 0 --:--:-- --:--:-- --:--:-- 41700 [Pipeline] sh [2022-04-01T01:59:39.332Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-01T01:59:39.687Z] + sudo tee /etc/docker/daemon.new [2022-04-01T01:59:39.687Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-01T01:59:39.687Z] { [2022-04-01T01:59:39.687Z] "registry-mirrors": [ [2022-04-01T01:59:39.687Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-01T01:59:39.687Z] ], [2022-04-01T01:59:39.687Z] "bip": "10.250.0.254/24", [2022-04-01T01:59:39.687Z] "hosts": [ [2022-04-01T01:59:39.687Z] "tcp://0.0.0.0:5555", [2022-04-01T01:59:39.687Z] "unix:///var/run/docker.sock" [2022-04-01T01:59:39.687Z] ], [2022-04-01T01:59:39.687Z] "mtu": 1458, [2022-04-01T01:59:39.687Z] "selinux-enabled": true, [2022-04-01T01:59:39.687Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-01T01:59:39.687Z] } [Pipeline] sh [2022-04-01T01:59:40.036Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-01T01:59:40.384Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T01:59:58.808Z] provisioning config files... [2022-04-01T01:59:58.835Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/24@tmp/config8117358779807913335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:59:59.206Z] ---> docker-login.sh [2022-04-01T01:59:59.206Z] nexus3.edgexfoundry.org:10001 [2022-04-01T01:59:59.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T02:00:00.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T02:00:00.082Z] Configure a credential helper to remove this warning. See [2022-04-01T02:00:00.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T02:00:00.082Z] [2022-04-01T02:00:00.082Z] Login Succeeded [2022-04-01T02:00:00.082Z] nexus3.edgexfoundry.org:10002 [2022-04-01T02:00:00.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T02:00:00.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T02:00:00.632Z] Configure a credential helper to remove this warning. See [2022-04-01T02:00:00.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T02:00:00.632Z] [2022-04-01T02:00:00.632Z] Login Succeeded [2022-04-01T02:00:00.632Z] nexus3.edgexfoundry.org:10003 [2022-04-01T02:00:00.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T02:00:00.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T02:00:00.912Z] Configure a credential helper to remove this warning. See [2022-04-01T02:00:00.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T02:00:00.912Z] [2022-04-01T02:00:00.912Z] Login Succeeded [2022-04-01T02:00:00.912Z] nexus3.edgexfoundry.org:10004 [2022-04-01T02:00:01.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T02:00:01.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T02:00:01.515Z] Configure a credential helper to remove this warning. See [2022-04-01T02:00:01.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T02:00:01.515Z] [2022-04-01T02:00:01.515Z] Login Succeeded [2022-04-01T02:00:01.515Z] docker.io [2022-04-01T02:00:01.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T02:00:02.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T02:00:02.394Z] Configure a credential helper to remove this warning. See [2022-04-01T02:00:02.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T02:00:02.394Z] [2022-04-01T02:00:02.394Z] Login Succeeded [2022-04-01T02:00:02.394Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T02:00:02.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-01T02:00:02.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T02:00:02.962Z] ========================================================= [2022-04-01T02:00:02.962Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-01T02:00:02.962Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:00:03.322Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-01T02:00:03.931Z] Sending build context to Docker daemon 11.55MB [2022-04-01T02:00:03.931Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T02:00:03.931Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-01T02:00:03.931Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-01T02:00:03.931Z] 9b3977197b4f: Pulling fs layer [2022-04-01T02:00:03.931Z] 1a89e8eeedd5: Pulling fs layer [2022-04-01T02:00:03.931Z] 94645a83ff95: Pulling fs layer [2022-04-01T02:00:03.931Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-01T02:00:03.931Z] 0c92f367c5e7: Pulling fs layer [2022-04-01T02:00:03.931Z] f7c0051592d6: Pulling fs layer [2022-04-01T02:00:03.931Z] a227ed2f7395: Pulling fs layer [2022-04-01T02:00:03.931Z] 7b1c46037f91: Pulling fs layer [2022-04-01T02:00:03.931Z] f7c0051592d6: Waiting [2022-04-01T02:00:03.931Z] a227ed2f7395: Waiting [2022-04-01T02:00:03.931Z] 7b1c46037f91: Waiting [2022-04-01T02:00:03.931Z] 3f3a8bcf1eab: Waiting [2022-04-01T02:00:03.931Z] 0c92f367c5e7: Waiting [2022-04-01T02:00:03.931Z] 94645a83ff95: Verifying Checksum [2022-04-01T02:00:03.931Z] 94645a83ff95: Download complete [2022-04-01T02:00:03.931Z] 1a89e8eeedd5: Verifying Checksum [2022-04-01T02:00:03.931Z] 1a89e8eeedd5: Download complete [2022-04-01T02:00:03.931Z] 0c92f367c5e7: Download complete [2022-04-01T02:00:03.931Z] f7c0051592d6: Verifying Checksum [2022-04-01T02:00:03.931Z] f7c0051592d6: Download complete [2022-04-01T02:00:04.218Z] 9b3977197b4f: Verifying Checksum [2022-04-01T02:00:04.218Z] 9b3977197b4f: Download complete [2022-04-01T02:00:04.218Z] a227ed2f7395: Verifying Checksum [2022-04-01T02:00:04.218Z] a227ed2f7395: Download complete [2022-04-01T02:00:04.823Z] 9b3977197b4f: Pull complete [2022-04-01T02:00:05.428Z] 1a89e8eeedd5: Pull complete [2022-04-01T02:00:05.707Z] 94645a83ff95: Pull complete [2022-04-01T02:00:05.983Z] 7b1c46037f91: Verifying Checksum [2022-04-01T02:00:05.983Z] 7b1c46037f91: Download complete [2022-04-01T02:00:06.970Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-01T02:00:06.970Z] 3f3a8bcf1eab: Download complete [2022-04-01T02:00:19.382Z] 3f3a8bcf1eab: Pull complete [2022-04-01T02:00:19.382Z] 0c92f367c5e7: Pull complete [2022-04-01T02:00:19.659Z] f7c0051592d6: Pull complete [2022-04-01T02:00:19.948Z] a227ed2f7395: Pull complete [2022-04-01T02:00:26.687Z] 7b1c46037f91: Pull complete [2022-04-01T02:00:26.687Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-01T02:00:26.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-01T02:00:26.687Z] ---> f79e39bc4007 [2022-04-01T02:00:26.687Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T02:00:27.677Z] ---> Running in 7687f4f80246 [2022-04-01T02:00:27.953Z] Removing intermediate container 7687f4f80246 [2022-04-01T02:00:27.953Z] ---> e95c596b5552 [2022-04-01T02:00:27.953Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T02:00:27.953Z] ---> Running in affb434fb90a [2022-04-01T02:00:28.228Z] Removing intermediate container affb434fb90a [2022-04-01T02:00:28.228Z] ---> 270a0c88954e [2022-04-01T02:00:28.228Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-01T02:00:28.504Z] ---> Running in 43bb9d84752b [2022-04-01T02:00:28.778Z] Removing intermediate container 43bb9d84752b [2022-04-01T02:00:28.778Z] ---> f52caadc9ee7 [2022-04-01T02:00:28.778Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T02:00:28.778Z] ---> Running in 79fe920ec699 [2022-04-01T02:00:30.761Z] Removing intermediate container 79fe920ec699 [2022-04-01T02:00:30.761Z] ---> 561c6ca80d55 [2022-04-01T02:00:30.761Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T02:00:30.761Z] ---> Running in 0bf44eb2b781 [2022-04-01T02:00:31.364Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-01T02:00:32.342Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-01T02:00:33.323Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-01T02:00:33.323Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-01T02:00:33.323Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-01T02:00:33.599Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-01T02:00:33.599Z] Executing busybox-1.34.1-r3.trigger [2022-04-01T02:00:33.599Z] OK: 224 MiB in 56 packages [2022-04-01T02:00:34.583Z] Removing intermediate container 0bf44eb2b781 [2022-04-01T02:00:34.583Z] ---> ba83f1c61256 [2022-04-01T02:00:34.583Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-01T02:00:35.179Z] ---> d7d9f199ed4c [2022-04-01T02:00:35.179Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T02:00:35.179Z] ---> Running in 55cf140badee [2022-04-01T02:01:22.215Z] Removing intermediate container 55cf140badee [2022-04-01T02:01:22.215Z] ---> 384445dca51c [2022-04-01T02:01:22.215Z] Step 10/12 : COPY . . [2022-04-01T02:01:22.215Z] ---> 0ffcca47b0da [2022-04-01T02:01:22.215Z] Step 11/12 : ARG MAKE='make build' [2022-04-01T02:01:22.215Z] ---> Running in a58986a48fc3 [2022-04-01T02:01:22.492Z] Removing intermediate container a58986a48fc3 [2022-04-01T02:01:22.492Z] ---> 74b12d5b9f24 [2022-04-01T02:01:22.492Z] Step 12/12 : RUN $MAKE [2022-04-01T02:01:22.769Z] ---> Running in 4b79c90cc2b1 [2022-04-01T02:01:23.749Z] noop [2022-04-01T02:01:24.346Z] Removing intermediate container 4b79c90cc2b1 [2022-04-01T02:01:24.346Z] ---> 25654f58c62d [2022-04-01T02:01:24.346Z] Successfully built 25654f58c62d [2022-04-01T02:01:24.346Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:01:24.694Z] + docker inspect -f . ci-base-image-arm64 [2022-04-01T02:01:24.694Z] . [Pipeline] withDockerContainer [2022-04-01T02:01:24.911Z] prd-ubuntu20.04-docker-arm64-4c-16g-10375 does not seem to be running inside a container [2022-04-01T02:01:25.000Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/24 -v /w/workspace/device-virtual-go/24:/w/workspace/device-virtual-go/24:rw,z -v /w/workspace/device-virtual-go/24@tmp:/w/workspace/device-virtual-go/24@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 ******** ci-base-image-arm64 cat [2022-04-01T02:01:26.146Z] $ docker top 6693702936f3bd2443e5a118a3e867317b2c61843a66b12a5fc67c6ec4be2a58 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T02:01:27.021Z] + go version [2022-04-01T02:01:27.021Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-01T02:01:27.058Z] $ docker stop --time=1 6693702936f3bd2443e5a118a3e867317b2c61843a66b12a5fc67c6ec4be2a58 [2022-04-01T02:01:28.646Z] $ docker rm -f 6693702936f3bd2443e5a118a3e867317b2c61843a66b12a5fc67c6ec4be2a58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:01:29.211Z] + docker inspect -f . ci-base-image-arm64 [2022-04-01T02:01:29.211Z] . [Pipeline] withDockerContainer [2022-04-01T02:01:29.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-10375 does not seem to be running inside a container [2022-04-01T02:01:29.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/24 -v /w/workspace/device-virtual-go/24:/w/workspace/device-virtual-go/24:rw,z -v /w/workspace/device-virtual-go/24@tmp:/w/workspace/device-virtual-go/24@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 ******** ci-base-image-arm64 cat [2022-04-01T02:01:30.747Z] $ docker top 37982dba61d1970ca6c7fa3d8fc04aa860b0c36f88053b1e47a5d50dcaaa8eb2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-01T02:01:31.679Z] + make test [2022-04-01T02:01:31.679Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-01T02:01:33.121Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-01T02:02:54.960Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-01T02:02:54.960Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.144s coverage: 65.7% of statements [2022-04-01T02:02:54.960Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-01T02:03:17.169Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-01T02:03:17.169Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-01T02:03:17.169Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-01T02:03:17.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-01T02:03:17.821Z] $ docker stop --time=1 37982dba61d1970ca6c7fa3d8fc04aa860b0c36f88053b1e47a5d50dcaaa8eb2 [2022-04-01T02:03:19.601Z] $ docker rm -f 37982dba61d1970ca6c7fa3d8fc04aa860b0c36f88053b1e47a5d50dcaaa8eb2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T02:03:20.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-01T02:03:20.556Z] Warning: overwriting stash ‘coverage-report’ [2022-04-01T02:03:21.016Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T02:03:21.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-01T02:03:21.746Z] + ls -al . [2022-04-01T02:03:21.746Z] total 176 [2022-04-01T02:03:21.746Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 1 02:03 . [2022-04-01T02:03:21.746Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 01:59 .. [2022-04-01T02:03:21.746Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 01:59 .git [2022-04-01T02:03:21.746Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 01:59 .github [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 1 01:59 .gitignore [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 1 01:59 Attribution.txt [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 1 01:59 CHANGELOG.md [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 1 01:59 Dockerfile [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 01:59 GOVERNANCE.md [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 1 01:59 Jenkinsfile [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 01:59 LICENSE [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 1157 Apr 1 01:59 Makefile [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 1 01:59 OWNERS.md [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 1 01:59 README.md [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 1 01:55 VERSION [2022-04-01T02:03:21.746Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 01:59 bin [2022-04-01T02:03:21.746Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 01:59 cmd [2022-04-01T02:03:21.746Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 1 02:02 coverage.out [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 3171 Apr 1 01:59 go.mod [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 34634 Apr 1 01:59 go.sum [2022-04-01T02:03:21.746Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 01:59 internal [2022-04-01T02:03:21.746Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 1 01:59 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:03:22.090Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ab35c68c7da578f7489f6019108ca23722e6e5b0 --label arch=arm64 --label version=2.2.0-dev.8 . [2022-04-01T02:03:22.365Z] Sending build context to Docker daemon 11.6MB [2022-04-01T02:03:22.638Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T02:03:22.638Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-01T02:03:22.638Z] ---> 25654f58c62d [2022-04-01T02:03:22.638Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T02:03:22.638Z] ---> Running in 77992af77085 [2022-04-01T02:03:22.915Z] Removing intermediate container 77992af77085 [2022-04-01T02:03:22.916Z] ---> c711ded406a0 [2022-04-01T02:03:22.916Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T02:03:22.916Z] ---> Running in e735dabac894 [2022-04-01T02:03:23.188Z] Removing intermediate container e735dabac894 [2022-04-01T02:03:23.188Z] ---> c964fefce748 [2022-04-01T02:03:23.188Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-01T02:03:23.464Z] ---> Running in 81a7cba7c819 [2022-04-01T02:03:23.737Z] Removing intermediate container 81a7cba7c819 [2022-04-01T02:03:23.737Z] ---> e4340e913879 [2022-04-01T02:03:23.737Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T02:03:23.737Z] ---> Running in a4085da354b3 [2022-04-01T02:03:25.190Z] Removing intermediate container a4085da354b3 [2022-04-01T02:03:25.190Z] ---> 096bc10bc2a7 [2022-04-01T02:03:25.190Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T02:03:25.466Z] ---> Running in 04dd167856a9 [2022-04-01T02:03:26.443Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-01T02:03:27.414Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-01T02:03:28.012Z] OK: 224 MiB in 56 packages [2022-04-01T02:03:28.994Z] Removing intermediate container 04dd167856a9 [2022-04-01T02:03:28.994Z] ---> 325f0759fb09 [2022-04-01T02:03:28.994Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-01T02:03:29.270Z] ---> ece3b00fa529 [2022-04-01T02:03:29.270Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T02:03:29.270Z] ---> Running in 4e05c81f8472 [2022-04-01T02:03:31.260Z] Removing intermediate container 4e05c81f8472 [2022-04-01T02:03:31.260Z] ---> 082b49984945 [2022-04-01T02:03:31.260Z] Step 10/26 : COPY . . [2022-04-01T02:03:32.240Z] ---> bf9b0bf6996a [2022-04-01T02:03:32.240Z] Step 11/26 : ARG MAKE='make build' [2022-04-01T02:03:32.240Z] ---> Running in f1f64b7d5ced [2022-04-01T02:03:32.513Z] Removing intermediate container f1f64b7d5ced [2022-04-01T02:03:32.513Z] ---> c6f230927d45 [2022-04-01T02:03:32.513Z] Step 12/26 : RUN $MAKE [2022-04-01T02:03:32.794Z] ---> Running in b41f3792f229 [2022-04-01T02:03:33.773Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.8" -o cmd/device-virtual ./cmd [2022-04-01T02:04:55.596Z] Removing intermediate container b41f3792f229 [2022-04-01T02:04:55.596Z] ---> d19ed5d28b29 [2022-04-01T02:04:55.596Z] Step 13/26 : FROM alpine:3.14 [2022-04-01T02:04:55.596Z] 3.14: Pulling from library/alpine [2022-04-01T02:04:55.596Z] 810d54c7e01b: Pulling fs layer [2022-04-01T02:04:55.596Z] 810d54c7e01b: Verifying Checksum [2022-04-01T02:04:55.596Z] 810d54c7e01b: Download complete [2022-04-01T02:04:55.596Z] 810d54c7e01b: Pull complete [2022-04-01T02:04:55.596Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-01T02:04:55.596Z] Status: Downloaded newer image for alpine:3.14 [2022-04-01T02:04:55.596Z] ---> cc3d11fa2d52 [2022-04-01T02:04:55.596Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-01T02:04:55.596Z] ---> Running in bb142cdedd0b [2022-04-01T02:04:55.596Z] Removing intermediate container bb142cdedd0b [2022-04-01T02:04:55.596Z] ---> fc964f4a8b7d [2022-04-01T02:04:55.596Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T02:04:55.596Z] ---> Running in b48b73f38df1 [2022-04-01T02:04:55.596Z] Removing intermediate container b48b73f38df1 [2022-04-01T02:04:55.596Z] ---> fa7ee90ab8ee [2022-04-01T02:04:55.596Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-01T02:04:55.596Z] ---> Running in dd3d6a0390f6 [2022-04-01T02:04:55.596Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-01T02:04:55.596Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-01T02:04:55.596Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-01T02:04:55.596Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-01T02:04:55.597Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-01T02:04:55.597Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-01T02:04:55.597Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-01T02:04:55.597Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-01T02:04:55.597Z] Executing busybox-1.33.1-r6.trigger [2022-04-01T02:04:55.597Z] OK: 8 MiB in 20 packages [2022-04-01T02:04:55.597Z] Removing intermediate container dd3d6a0390f6 [2022-04-01T02:04:55.597Z] ---> 111ba6a963b6 [2022-04-01T02:04:55.597Z] Step 17/26 : WORKDIR / [2022-04-01T02:04:55.597Z] ---> Running in 3200aab3d15f [2022-04-01T02:04:55.597Z] Removing intermediate container 3200aab3d15f [2022-04-01T02:04:55.597Z] ---> 8c7979105e64 [2022-04-01T02:04:55.597Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-01T02:04:55.597Z] ---> 586fb7d22428 [2022-04-01T02:04:55.597Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-01T02:04:55.597Z] ---> ab406b0da84b [2022-04-01T02:04:55.597Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-01T02:04:56.574Z] ---> d9f980a8747e [2022-04-01T02:04:56.574Z] Step 21/26 : EXPOSE 59900 [2022-04-01T02:04:56.574Z] ---> Running in 966718f83a24 [2022-04-01T02:04:56.855Z] Removing intermediate container 966718f83a24 [2022-04-01T02:04:56.855Z] ---> ea325fc313c2 [2022-04-01T02:04:56.855Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-01T02:04:57.131Z] ---> Running in f2b175680c22 [2022-04-01T02:04:57.405Z] Removing intermediate container f2b175680c22 [2022-04-01T02:04:57.405Z] ---> 09f56cbe2e61 [2022-04-01T02:04:57.405Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-01T02:04:57.405Z] ---> Running in b4d4944f5249 [2022-04-01T02:04:57.682Z] Removing intermediate container b4d4944f5249 [2022-04-01T02:04:57.682Z] ---> cf931009ee2f [2022-04-01T02:04:57.682Z] Step 24/26 : LABEL arch=arm64 [2022-04-01T02:04:57.965Z] ---> Running in da3266ae5273 [2022-04-01T02:04:58.242Z] Removing intermediate container da3266ae5273 [2022-04-01T02:04:58.242Z] ---> e200d3000cb8 [2022-04-01T02:04:58.242Z] Step 25/26 : LABEL git_sha=ab35c68c7da578f7489f6019108ca23722e6e5b0 [2022-04-01T02:04:58.242Z] ---> Running in c89df53619f8 [2022-04-01T02:04:58.518Z] Removing intermediate container c89df53619f8 [2022-04-01T02:04:58.518Z] ---> 542f75cd63d8 [2022-04-01T02:04:58.518Z] Step 26/26 : LABEL version=2.2.0-dev.8 [2022-04-01T02:04:58.518Z] ---> Running in 269ce8f47db3 [2022-04-01T02:04:58.793Z] Removing intermediate container 269ce8f47db3 [2022-04-01T02:04:58.793Z] ---> 61278df5a5df [2022-04-01T02:04:58.793Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-01T02:04:58.793Z] Successfully built 61278df5a5df [2022-04-01T02:04:58.793Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T02:04:58.904Z] provisioning config files... [2022-04-01T02:04:58.925Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/24@tmp/config4709499364797051273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:04:59.285Z] ---> docker-login.sh [2022-04-01T02:04:59.285Z] nexus3.edgexfoundry.org:10001 [2022-04-01T02:04:59.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T02:04:59.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T02:04:59.561Z] Configure a credential helper to remove this warning. See [2022-04-01T02:04:59.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T02:04:59.561Z] [2022-04-01T02:04:59.561Z] Login Succeeded [2022-04-01T02:04:59.561Z] nexus3.edgexfoundry.org:10002 [2022-04-01T02:05:00.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T02:05:00.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T02:05:00.165Z] Configure a credential helper to remove this warning. See [2022-04-01T02:05:00.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T02:05:00.165Z] [2022-04-01T02:05:00.165Z] Login Succeeded [2022-04-01T02:05:00.165Z] nexus3.edgexfoundry.org:10003 [2022-04-01T02:05:00.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T02:05:00.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T02:05:00.767Z] Configure a credential helper to remove this warning. See [2022-04-01T02:05:00.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T02:05:00.767Z] [2022-04-01T02:05:00.767Z] Login Succeeded [2022-04-01T02:05:00.767Z] nexus3.edgexfoundry.org:10004 [2022-04-01T02:05:01.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T02:05:01.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T02:05:01.317Z] Configure a credential helper to remove this warning. See [2022-04-01T02:05:01.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T02:05:01.317Z] [2022-04-01T02:05:01.317Z] Login Succeeded [2022-04-01T02:05:01.317Z] docker.io [2022-04-01T02:05:01.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T02:05:02.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T02:05:02.193Z] Configure a credential helper to remove this warning. See [2022-04-01T02:05:02.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T02:05:02.193Z] [2022-04-01T02:05:02.193Z] Login Succeeded [2022-04-01T02:05:02.193Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T02:05:02.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-01T02:05:02.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T02:05:02.257Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-04-01T02:05:02.257Z] ab35c68c7da578f7489f6019108ca23722e6e5b0 [2022-04-01T02:05:02.257Z] latest [2022-04-01T02:05:02.257Z] 2.2.0-dev.8 [2022-04-01T02:05:02.257Z] ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 [2022-04-01T02:05:02.257Z] main [2022-04-01T02:05:02.257Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:02.605Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:02.955Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0 [2022-04-01T02:05:02.955Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-01T02:05:02.955Z] d7e31f7501ea: Preparing [2022-04-01T02:05:02.955Z] 6e8a7623f0b3: Preparing [2022-04-01T02:05:02.955Z] ccd021488f39: Preparing [2022-04-01T02:05:02.955Z] ddb8f10b2948: Preparing [2022-04-01T02:05:02.955Z] 47dbf3f67614: Preparing [2022-04-01T02:05:02.955Z] b94faa188151: Preparing [2022-04-01T02:05:02.955Z] b94faa188151: Waiting [2022-04-01T02:05:03.234Z] 6e8a7623f0b3: Pushed [2022-04-01T02:05:03.234Z] ccd021488f39: Pushed [2022-04-01T02:05:03.234Z] 47dbf3f67614: Pushed [2022-04-01T02:05:03.234Z] b94faa188151: Layer already exists [2022-04-01T02:05:03.832Z] ddb8f10b2948: Pushed [2022-04-01T02:05:08.138Z] d7e31f7501ea: Pushed [2022-04-01T02:05:08.138Z] ab35c68c7da578f7489f6019108ca23722e6e5b0: digest: sha256:ba2734f5279ce3db1508e4c85080011f1ec5807c26c36d3eaa38103081b6fa00 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:08.493Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:08.839Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-04-01T02:05:08.839Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-01T02:05:08.839Z] d7e31f7501ea: Preparing [2022-04-01T02:05:08.839Z] 6e8a7623f0b3: Preparing [2022-04-01T02:05:08.839Z] ccd021488f39: Preparing [2022-04-01T02:05:08.839Z] ddb8f10b2948: Preparing [2022-04-01T02:05:08.839Z] 47dbf3f67614: Preparing [2022-04-01T02:05:08.839Z] b94faa188151: Preparing [2022-04-01T02:05:08.839Z] b94faa188151: Waiting [2022-04-01T02:05:08.839Z] ddb8f10b2948: Layer already exists [2022-04-01T02:05:08.839Z] d7e31f7501ea: Layer already exists [2022-04-01T02:05:08.839Z] 6e8a7623f0b3: Layer already exists [2022-04-01T02:05:08.839Z] 47dbf3f67614: Layer already exists [2022-04-01T02:05:08.839Z] ccd021488f39: Layer already exists [2022-04-01T02:05:08.839Z] b94faa188151: Layer already exists [2022-04-01T02:05:09.112Z] latest: digest: sha256:ba2734f5279ce3db1508e4c85080011f1ec5807c26c36d3eaa38103081b6fa00 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:09.466Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:09.810Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.8 [2022-04-01T02:05:09.810Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-01T02:05:09.810Z] d7e31f7501ea: Preparing [2022-04-01T02:05:09.810Z] 6e8a7623f0b3: Preparing [2022-04-01T02:05:09.810Z] ccd021488f39: Preparing [2022-04-01T02:05:09.810Z] ddb8f10b2948: Preparing [2022-04-01T02:05:09.810Z] 47dbf3f67614: Preparing [2022-04-01T02:05:09.810Z] b94faa188151: Preparing [2022-04-01T02:05:09.810Z] d7e31f7501ea: Layer already exists [2022-04-01T02:05:09.810Z] ddb8f10b2948: Layer already exists [2022-04-01T02:05:09.810Z] ccd021488f39: Layer already exists [2022-04-01T02:05:09.810Z] 47dbf3f67614: Layer already exists [2022-04-01T02:05:09.810Z] 6e8a7623f0b3: Layer already exists [2022-04-01T02:05:09.810Z] b94faa188151: Layer already exists [2022-04-01T02:05:10.081Z] 2.2.0-dev.8: digest: sha256:ba2734f5279ce3db1508e4c85080011f1ec5807c26c36d3eaa38103081b6fa00 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:10.427Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:10.768Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 [2022-04-01T02:05:10.768Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-01T02:05:10.768Z] d7e31f7501ea: Preparing [2022-04-01T02:05:10.768Z] 6e8a7623f0b3: Preparing [2022-04-01T02:05:10.768Z] ccd021488f39: Preparing [2022-04-01T02:05:10.769Z] ddb8f10b2948: Preparing [2022-04-01T02:05:10.769Z] 47dbf3f67614: Preparing [2022-04-01T02:05:10.769Z] b94faa188151: Preparing [2022-04-01T02:05:10.769Z] b94faa188151: Waiting [2022-04-01T02:05:10.769Z] ccd021488f39: Layer already exists [2022-04-01T02:05:10.769Z] 6e8a7623f0b3: Layer already exists [2022-04-01T02:05:10.769Z] 47dbf3f67614: Layer already exists [2022-04-01T02:05:10.769Z] d7e31f7501ea: Layer already exists [2022-04-01T02:05:10.769Z] ddb8f10b2948: Layer already exists [2022-04-01T02:05:10.769Z] b94faa188151: Layer already exists [2022-04-01T02:05:11.041Z] ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8: digest: sha256:ba2734f5279ce3db1508e4c85080011f1ec5807c26c36d3eaa38103081b6fa00 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:11.389Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:11.730Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-04-01T02:05:11.731Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-01T02:05:11.731Z] d7e31f7501ea: Preparing [2022-04-01T02:05:11.731Z] 6e8a7623f0b3: Preparing [2022-04-01T02:05:11.731Z] ccd021488f39: Preparing [2022-04-01T02:05:11.731Z] ddb8f10b2948: Preparing [2022-04-01T02:05:11.731Z] 47dbf3f67614: Preparing [2022-04-01T02:05:11.731Z] b94faa188151: Preparing [2022-04-01T02:05:11.731Z] b94faa188151: Waiting [2022-04-01T02:05:11.731Z] ddb8f10b2948: Layer already exists [2022-04-01T02:05:11.731Z] 6e8a7623f0b3: Layer already exists [2022-04-01T02:05:11.731Z] 47dbf3f67614: Layer already exists [2022-04-01T02:05:11.731Z] ccd021488f39: Layer already exists [2022-04-01T02:05:11.731Z] d7e31f7501ea: Layer already exists [2022-04-01T02:05:11.731Z] b94faa188151: Layer already exists [2022-04-01T02:05:12.004Z] main: digest: sha256:ba2734f5279ce3db1508e4c85080011f1ec5807c26c36d3eaa38103081b6fa00 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-01T02:05:12.057Z] ===================================================== [Pipeline] echo [2022-04-01T02:05:12.068Z] taggedImages: [2022-04-01T02:05:12.068Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0 [2022-04-01T02:05:12.068Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-04-01T02:05:12.068Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.8 [2022-04-01T02:05:12.068Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 [2022-04-01T02:05:12.068Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:12.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T02:05:12.434Z] [2022-04-01T02:05:12.434Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:12.790Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T02:05:13.067Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-01T02:05:13.067Z] 8998bd30e6a1: Pulling fs layer [2022-04-01T02:05:13.067Z] 04944245beec: Pulling fs layer [2022-04-01T02:05:13.067Z] 699f458cf7ca: Pulling fs layer [2022-04-01T02:05:13.067Z] 765212b225bb: Pulling fs layer [2022-04-01T02:05:13.067Z] f23df028b6ca: Pulling fs layer [2022-04-01T02:05:13.067Z] d65c8cfc05b1: Pulling fs layer [2022-04-01T02:05:13.067Z] 2437ff75d9bd: Pulling fs layer [2022-04-01T02:05:13.067Z] f23df028b6ca: Waiting [2022-04-01T02:05:13.067Z] d65c8cfc05b1: Waiting [2022-04-01T02:05:13.067Z] 2437ff75d9bd: Waiting [2022-04-01T02:05:13.067Z] 765212b225bb: Waiting [2022-04-01T02:05:13.067Z] 04944245beec: Verifying Checksum [2022-04-01T02:05:13.067Z] 04944245beec: Download complete [2022-04-01T02:05:13.067Z] 765212b225bb: Verifying Checksum [2022-04-01T02:05:13.067Z] 765212b225bb: Download complete [2022-04-01T02:05:13.067Z] f23df028b6ca: Download complete [2022-04-01T02:05:13.067Z] d65c8cfc05b1: Verifying Checksum [2022-04-01T02:05:13.067Z] d65c8cfc05b1: Download complete [2022-04-01T02:05:13.346Z] 699f458cf7ca: Verifying Checksum [2022-04-01T02:05:13.346Z] 699f458cf7ca: Download complete [2022-04-01T02:05:13.626Z] 8998bd30e6a1: Verifying Checksum [2022-04-01T02:05:13.626Z] 8998bd30e6a1: Download complete [2022-04-01T02:05:15.619Z] 2437ff75d9bd: Verifying Checksum [2022-04-01T02:05:15.619Z] 2437ff75d9bd: Download complete [2022-04-01T02:05:17.612Z] 8998bd30e6a1: Pull complete [2022-04-01T02:05:18.211Z] 04944245beec: Pull complete [2022-04-01T02:05:19.650Z] 699f458cf7ca: Pull complete [2022-04-01T02:05:19.927Z] 765212b225bb: Pull complete [2022-04-01T02:05:20.913Z] f23df028b6ca: Pull complete [2022-04-01T02:05:21.188Z] d65c8cfc05b1: Pull complete [2022-04-01T02:05:36.301Z] 2437ff75d9bd: Pull complete [2022-04-01T02:05:36.301Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-01T02:05:36.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T02:05:36.301Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-01T02:05:36.524Z] prd-ubuntu20.04-docker-arm64-4c-16g-10375 does not seem to be running inside a container [2022-04-01T02:05:36.638Z] $ 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-virtual-go/24 -v /w/workspace/device-virtual-go/24:/w/workspace/device-virtual-go/24:rw,z -v /w/workspace/device-virtual-go/24@tmp:/w/workspace/device-virtual-go/24@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-01T02:05:39.101Z] $ docker top df88bd1ae4b8d37cbd452c0acd80dab8146430e59dc400e912b331fb11afb5fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:05:39.980Z] ---> job-cost.sh [2022-04-01T02:05:39.980Z] lf-activate-venv: SKIPPING [2022-04-01T02:05:39.980Z] INFO: No Stack... [2022-04-01T02:05:40.254Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-01T02:05:41.233Z] INFO: Archiving Costs [Pipeline] sh [2022-04-01T02:05:41.909Z] + cat /w/workspace/device-virtual-go/24/archives/cost.csv [2022-04-01T02:05:41.909Z] + cut -d, -f6 [Pipeline] lock [2022-04-01T02:05:41.975Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] [2022-04-01T02:05:41.984Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] did not exist. Created. [2022-04-01T02:05:41.985Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T02:05:42.664Z] /w/workspace/device-virtual-go/24@tmp/durable-9bf46879/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-01T02:05:43.344Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-01T02:05:43.374Z] Warning: overwriting stash ‘stack-cost’ [2022-04-01T02:05:43.413Z] Stashed 1 file(s) [Pipeline] } [2022-04-01T02:05:43.420Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-01T02:05:43.458Z] $ docker stop --time=1 df88bd1ae4b8d37cbd452c0acd80dab8146430e59dc400e912b331fb11afb5fd [2022-04-01T02:05:44.954Z] $ docker rm -f df88bd1ae4b8d37cbd452c0acd80dab8146430e59dc400e912b331fb11afb5fd [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-04-01T02:05:45.396Z] provisioning config files... [2022-04-01T02:05:45.404Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3310836207888754244tmp [Pipeline] { [Pipeline] sh [2022-04-01T02:05:45.697Z] + set +x [2022-04-01T02:05:45.697Z] + curl -s https://codecov.io/bash [2022-04-01T02:05:45.697Z] + bash -s -- [2022-04-01T02:05:45.697Z] [2022-04-01T02:05:45.697Z] _____ _ [2022-04-01T02:05:45.697Z] / ____| | | [2022-04-01T02:05:45.697Z] | | ___ __| | ___ ___ _____ __ [2022-04-01T02:05:45.697Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-01T02:05:45.697Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-01T02:05:45.697Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-01T02:05:45.697Z] Bash-1.0.6 [2022-04-01T02:05:45.697Z] [2022-04-01T02:05:45.697Z] [2022-04-01T02:05:45.697Z] ==> git version 2.25.1 found [2022-04-01T02:05:45.697Z] ==> 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-04-01T02:05:45.697Z] Release-Date: 2020-01-08 [2022-04-01T02:05:45.697Z] 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-04-01T02:05:45.697Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-01T02:05:45.697Z] ==> Jenkins CI detected. [2022-04-01T02:05:45.697Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-04-01T02:05:45.697Z] project root: . [2022-04-01T02:05:45.697Z] --> token set from env [2022-04-01T02:05:45.697Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-01T02:05:45.697Z] ==> Running gcov in . (disable via -X gcov) [2022-04-01T02:05:45.697Z] ==> Python coveragepy not found [2022-04-01T02:05:45.697Z] ==> Searching for coverage reports in: [2022-04-01T02:05:45.697Z] + . [2022-04-01T02:05:45.697Z] -> Found 1 reports [2022-04-01T02:05:45.697Z] ==> Detecting git/mercurial file structure [2022-04-01T02:05:45.697Z] ==> Reading reports [2022-04-01T02:05:45.697Z] + ./coverage.out bytes=44128 [2022-04-01T02:05:45.697Z] ==> Appending adjustments [2022-04-01T02:05:45.697Z] https://docs.codecov.io/docs/fixing-reports [2022-04-01T02:05:45.957Z] + Found adjustments [2022-04-01T02:05:45.958Z] ==> Gzipping contents [2022-04-01T02:05:45.958Z] 8.0K /tmp/codecov.HNNA6p.gz [2022-04-01T02:05:45.958Z] ==> Uploading reports [2022-04-01T02:05:45.958Z] url: https://codecov.io [2022-04-01T02:05:45.958Z] query: branch=main&commit=ab35c68c7da578f7489f6019108ca23722e6e5b0&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-01T02:05:45.958Z] -> Pinging Codecov [2022-04-01T02:05:45.958Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=ab35c68c7da578f7489f6019108ca23722e6e5b0&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-01T02:05:46.218Z] -> Uploading to [2022-04-01T02:05:46.218Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-01/5E52B4B073DB2E39498172D8E973AA87/ab35c68c7da578f7489f6019108ca23722e6e5b0/7be896fb-2a57-46f9-9f08-91b2e527cf67.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220401T020546Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eae1170bf42d9e2f18dcfe3581e3877280a9b586228bb65d5011c874d8b39365 [2022-04-01T02:05:46.218Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-01T02:05:46.218Z] Dload Upload Total Spent Left Speed [2022-04-01T02:05:46.477Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5293 0 0 100 5293 0 24059 --:--:-- --:--:-- --:--:-- 23950 100 5293 0 0 100 5293 0 22913 --:--:-- --:--:-- --:--:-- 22814 [2022-04-01T02:05:46.478Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] } [2022-04-01T02:05:46.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-01T02:05:46.763Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-01T02:05:46.775Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:47.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-01T02:05:47.067Z] [2022-04-01T02:05:47.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:05:47.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-01T02:05:47.368Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-01T02:05:47.368Z] 188c0c94c7c5: Pulling fs layer [2022-04-01T02:05:47.368Z] 0ef7d3d256c8: Pulling fs layer [2022-04-01T02:05:47.368Z] de9db76c5a1d: Pulling fs layer [2022-04-01T02:05:47.368Z] 0eba1c9be4d2: Pulling fs layer [2022-04-01T02:05:47.368Z] 0d57e429df01: Pulling fs layer [2022-04-01T02:05:47.368Z] 4e4be7b47b0d: Pulling fs layer [2022-04-01T02:05:47.368Z] e1f770b5df2f: Pulling fs layer [2022-04-01T02:05:47.368Z] 85a0685a4137: Pulling fs layer [2022-04-01T02:05:47.368Z] 0eba1c9be4d2: Waiting [2022-04-01T02:05:47.368Z] 0d57e429df01: Waiting [2022-04-01T02:05:47.368Z] e1f770b5df2f: Waiting [2022-04-01T02:05:47.368Z] 85a0685a4137: Waiting [2022-04-01T02:05:47.368Z] 4e4be7b47b0d: Waiting [2022-04-01T02:05:47.368Z] de9db76c5a1d: Verifying Checksum [2022-04-01T02:05:47.368Z] de9db76c5a1d: Download complete [2022-04-01T02:05:47.368Z] 0ef7d3d256c8: Verifying Checksum [2022-04-01T02:05:47.368Z] 0ef7d3d256c8: Download complete [2022-04-01T02:05:47.368Z] 0d57e429df01: Verifying Checksum [2022-04-01T02:05:47.368Z] 0d57e429df01: Download complete [2022-04-01T02:05:47.368Z] 4e4be7b47b0d: Verifying Checksum [2022-04-01T02:05:47.368Z] 4e4be7b47b0d: Download complete [2022-04-01T02:05:47.368Z] 188c0c94c7c5: Verifying Checksum [2022-04-01T02:05:47.368Z] 188c0c94c7c5: Download complete [2022-04-01T02:05:47.629Z] 188c0c94c7c5: Pull complete [2022-04-01T02:05:47.629Z] 0ef7d3d256c8: Pull complete [2022-04-01T02:05:47.629Z] e1f770b5df2f: Verifying Checksum [2022-04-01T02:05:47.629Z] e1f770b5df2f: Download complete [2022-04-01T02:05:47.629Z] de9db76c5a1d: Pull complete [2022-04-01T02:05:48.206Z] 0eba1c9be4d2: Verifying Checksum [2022-04-01T02:05:48.206Z] 0eba1c9be4d2: Download complete [2022-04-01T02:05:48.206Z] 85a0685a4137: Verifying Checksum [2022-04-01T02:05:48.206Z] 85a0685a4137: Download complete [2022-04-01T02:05:51.491Z] 0eba1c9be4d2: Pull complete [2022-04-01T02:05:51.491Z] 0d57e429df01: Pull complete [2022-04-01T02:05:51.491Z] 4e4be7b47b0d: Pull complete [2022-04-01T02:05:51.750Z] e1f770b5df2f: Pull complete [2022-04-01T02:05:55.037Z] 85a0685a4137: Pull complete [2022-04-01T02:05:55.037Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-01T02:05:55.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-01T02:05:55.037Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-01T02:05:55.099Z] prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container [2022-04-01T02:05:55.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-01T02:05:57.250Z] $ docker top 3d7ac62300201e90904ef36dd48ae096c93f23e535989c08b8a77b41deeec102 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-01T02:05:57.330Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-01T02:05:57.612Z] + set -o pipefail [2022-04-01T02:05:57.612Z] + snyk monitor '--org=edgex-jenkins' [2022-04-01T02:06:04.194Z] [2022-04-01T02:06:04.194Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-04-01T02:06:04.194Z] [2022-04-01T02:06:04.194Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/85dccb40-61c8-4984-b3a1-27101b409573 [2022-04-01T02:06:04.194Z] [2022-04-01T02:06:04.194Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-01T02:06:04.195Z] [2022-04-01T02:06:04.195Z] [Pipeline] } [2022-04-01T02:06:04.209Z] $ docker stop --time=1 3d7ac62300201e90904ef36dd48ae096c93f23e535989c08b8a77b41deeec102 [2022-04-01T02:06:06.357Z] $ docker rm -f 3d7ac62300201e90904ef36dd48ae096c93f23e535989c08b8a77b41deeec102 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T02:06:07.047Z] + git log --format=format:%s -1 ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] sh [2022-04-01T02:06:07.348Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T02:06:07.348Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:06:07.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T02:06:07.644Z] . [Pipeline] withDockerContainer [2022-04-01T02:06:07.708Z] prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container [2022-04-01T02:06:07.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-01T02:06:08.197Z] $ docker top 4c1062051eb7a121ba3895833c735164d29003965270275ac2facdab0c14714a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T02:06:08.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T02:06:08.293Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T02:06:08.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T02:06:08.418Z] $ docker exec 4c1062051eb7a121ba3895833c735164d29003965270275ac2facdab0c14714a ssh-agent [2022-04-01T02:06:08.539Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlOCpaL/agent.14 [2022-04-01T02:06:08.539Z] SSH_AGENT_PID=20 [2022-04-01T02:06:08.545Z] Running ssh-add (command line suppressed) [2022-04-01T02:06:08.664Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6041275550688716020.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6041275550688716020.key) [2022-04-01T02:06:08.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T02:06:08.969Z] + git semver tag [2022-04-01T02:06:08.969Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T02:06:08.969Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-01T02:06:08.969Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-01T02:06:08.969Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T02:06:08.969Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T02:06:08.969Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T02:06:08.969Z] # $SEMVER_BRANCH = main [2022-04-01T02:06:08.969Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-04-01T02:06:08.969Z] # ab35c68c7da578f7489f6019108ca23722e6e5b0 HEAD [2022-04-01T02:06:08.969Z] # -> Force: false [2022-04-01T02:06:08.969Z] # 5c2b880658a644149e687c6c20132dda32c3cf37 refs/tags/v2.2.0-dev.8 [Pipeline] } [2022-04-01T02:06:08.979Z] $ docker exec --env ******** --env ******** 4c1062051eb7a121ba3895833c735164d29003965270275ac2facdab0c14714a ssh-agent -k [2022-04-01T02:06:09.079Z] unset SSH_AUTH_SOCK; [2022-04-01T02:06:09.079Z] unset SSH_AGENT_PID; [2022-04-01T02:06:09.079Z] echo Agent pid 20 killed; [2022-04-01T02:06:09.090Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T02:06:09.396Z] + git semver [Pipeline] } [2022-04-01T02:06:09.427Z] $ docker stop --time=1 4c1062051eb7a121ba3895833c735164d29003965270275ac2facdab0c14714a [2022-04-01T02:06:10.705Z] $ docker rm -f 4c1062051eb7a121ba3895833c735164d29003965270275ac2facdab0c14714a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:06:11.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-01T02:06:11.096Z] [2022-04-01T02:06:11.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:06:11.391Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-01T02:06:11.391Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-01T02:06:11.391Z] ab5ef0e58194: Pulling fs layer [2022-04-01T02:06:11.391Z] 9712f1f96733: Pulling fs layer [2022-04-01T02:06:11.391Z] 63f879dbbcfc: Pulling fs layer [2022-04-01T02:06:11.391Z] 0d9ebad4ef96: Pulling fs layer [2022-04-01T02:06:11.391Z] e9a5061849ea: Pulling fs layer [2022-04-01T02:06:11.391Z] d747dcd14b5f: Pulling fs layer [2022-04-01T02:06:11.391Z] 2de7ff778b66: Pulling fs layer [2022-04-01T02:06:11.391Z] e9a5061849ea: Waiting [2022-04-01T02:06:11.391Z] d747dcd14b5f: Waiting [2022-04-01T02:06:11.391Z] 2de7ff778b66: Waiting [2022-04-01T02:06:11.391Z] 0d9ebad4ef96: Waiting [2022-04-01T02:06:11.391Z] 9712f1f96733: Download complete [2022-04-01T02:06:11.652Z] 63f879dbbcfc: Verifying Checksum [2022-04-01T02:06:11.652Z] 63f879dbbcfc: Download complete [2022-04-01T02:06:11.910Z] e9a5061849ea: Verifying Checksum [2022-04-01T02:06:11.910Z] e9a5061849ea: Download complete [2022-04-01T02:06:11.910Z] d747dcd14b5f: Verifying Checksum [2022-04-01T02:06:11.910Z] d747dcd14b5f: Download complete [2022-04-01T02:06:11.910Z] 0d9ebad4ef96: Verifying Checksum [2022-04-01T02:06:11.910Z] 0d9ebad4ef96: Download complete [2022-04-01T02:06:11.910Z] ab5ef0e58194: Verifying Checksum [2022-04-01T02:06:11.910Z] ab5ef0e58194: Download complete [2022-04-01T02:06:11.910Z] 2de7ff778b66: Verifying Checksum [2022-04-01T02:06:11.910Z] 2de7ff778b66: Download complete [2022-04-01T02:06:14.455Z] ab5ef0e58194: Pull complete [2022-04-01T02:06:14.455Z] 9712f1f96733: Pull complete [2022-04-01T02:06:15.394Z] 63f879dbbcfc: Pull complete [2022-04-01T02:06:18.685Z] 0d9ebad4ef96: Pull complete [2022-04-01T02:06:18.944Z] e9a5061849ea: Pull complete [2022-04-01T02:06:18.944Z] d747dcd14b5f: Pull complete [2022-04-01T02:06:19.883Z] 2de7ff778b66: Pull complete [2022-04-01T02:06:19.883Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-01T02:06:19.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-01T02:06:19.883Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-01T02:06:19.948Z] prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container [2022-04-01T02:06:19.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-01T02:06:22.239Z] $ docker top 68af5e0d8605f21ce7ea069263df34cede2a886e9ef1de3e1991cbee6101a9fd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-01T02:06:22.314Z] provisioning config files... [2022-04-01T02:06:22.322Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config753297017412645942tmp [2022-04-01T02:06:22.333Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5688557502811570980tmp [2022-04-01T02:06:22.343Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4374965756170699915tmp [Pipeline] { [Pipeline] echo [2022-04-01T02:06:22.353Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:06:22.635Z] ---> sigul-configuration.sh [2022-04-01T02:06:22.636Z] gpg: directory `/root/.gnupg' created [2022-04-01T02:06:22.636Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-01T02:06:22.636Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-01T02:06:22.636Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-01T02:06:22.636Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-01T02:06:22.636Z] gpg: CAST5 encrypted data [2022-04-01T02:06:22.636Z] gpg: encrypted with 1 passphrase [2022-04-01T02:06:22.636Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-01T02:06:22.918Z] + mkdir /home/jenkins [2022-04-01T02:06:22.918Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-01T02:06:23.203Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-04-01T02:06:23.213Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:06:23.500Z] ---> sigul-install.sh [2022-04-01T02:06:23.500Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-01T02:06:23.786Z] + git tag --list [2022-04-01T02:06:23.786Z] v1.0.0 [2022-04-01T02:06:23.786Z] v1.1.0 [2022-04-01T02:06:23.786Z] v1.1.1 [2022-04-01T02:06:23.786Z] v1.2.1 [2022-04-01T02:06:23.786Z] v1.2.2 [2022-04-01T02:06:23.786Z] v1.2.3 [2022-04-01T02:06:23.786Z] v1.3.0 [2022-04-01T02:06:23.786Z] v1.3.1 [2022-04-01T02:06:23.786Z] v2.0.0 [2022-04-01T02:06:23.786Z] v2.0.1-dev.1 [2022-04-01T02:06:23.786Z] v2.0.1-dev.10 [2022-04-01T02:06:23.786Z] v2.0.1-dev.11 [2022-04-01T02:06:23.786Z] v2.0.1-dev.12 [2022-04-01T02:06:23.786Z] v2.0.1-dev.13 [2022-04-01T02:06:23.786Z] v2.0.1-dev.14 [2022-04-01T02:06:23.786Z] v2.0.1-dev.15 [2022-04-01T02:06:23.786Z] v2.0.1-dev.2 [2022-04-01T02:06:23.786Z] v2.0.1-dev.3 [2022-04-01T02:06:23.786Z] v2.0.1-dev.4 [2022-04-01T02:06:23.786Z] v2.0.1-dev.5 [2022-04-01T02:06:23.786Z] v2.0.1-dev.6 [2022-04-01T02:06:23.786Z] v2.0.1-dev.7 [2022-04-01T02:06:23.786Z] v2.0.1-dev.8 [2022-04-01T02:06:23.786Z] v2.0.1-dev.9 [2022-04-01T02:06:23.786Z] v2.1.0 [2022-04-01T02:06:23.786Z] v2.2.0-dev.1 [2022-04-01T02:06:23.786Z] v2.2.0-dev.2 [2022-04-01T02:06:23.786Z] v2.2.0-dev.3 [2022-04-01T02:06:23.787Z] v2.2.0-dev.4 [2022-04-01T02:06:23.787Z] v2.2.0-dev.5 [2022-04-01T02:06:23.787Z] v2.2.0-dev.6 [2022-04-01T02:06:23.787Z] v2.2.0-dev.7 [2022-04-01T02:06:23.787Z] v2.2.0-dev.8 [Pipeline] sh [2022-04-01T02:06:24.076Z] + lftools sign git-tag v2.2.0-dev.8 [2022-04-01T02:06:24.645Z] Signing Git tag with Sigul... [2022-04-01T02:06:24.645Z] Signing v2.2.0-dev.8 [Pipeline] echo [2022-04-01T02:06:25.225Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:06:25.509Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-01T02:06:25.517Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-01T02:06:25.537Z] $ docker stop --time=1 68af5e0d8605f21ce7ea069263df34cede2a886e9ef1de3e1991cbee6101a9fd [2022-04-01T02:06:26.830Z] $ docker rm -f 68af5e0d8605f21ce7ea069263df34cede2a886e9ef1de3e1991cbee6101a9fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-01T02:06:27.264Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T02:06:27.264Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:06:27.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T02:06:27.564Z] . [Pipeline] withDockerContainer [2022-04-01T02:06:27.633Z] prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container [2022-04-01T02:06:27.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-01T02:06:28.050Z] $ docker top ad9acc5672a232c93a8661dcf71a037bffd3b020e77a0c2373fc76cc3391fb62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T02:06:28.145Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T02:06:28.145Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T02:06:28.275Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T02:06:28.278Z] $ docker exec ad9acc5672a232c93a8661dcf71a037bffd3b020e77a0c2373fc76cc3391fb62 ssh-agent [2022-04-01T02:06:28.415Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNlAcnn/agent.14 [2022-04-01T02:06:28.415Z] SSH_AGENT_PID=21 [2022-04-01T02:06:28.420Z] Running ssh-add (command line suppressed) [2022-04-01T02:06:28.525Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5081815682811365046.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5081815682811365046.key) [2022-04-01T02:06:28.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T02:06:28.840Z] + git semver bump pre [2022-04-01T02:06:28.840Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T02:06:28.840Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-01T02:06:28.840Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-01T02:06:28.840Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T02:06:28.840Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T02:06:28.840Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T02:06:28.840Z] # $SEMVER_BRANCH = main [2022-04-01T02:06:28.840Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-04-01T02:06:28.840Z] 2.2.0-dev.9 [Pipeline] } [2022-04-01T02:06:28.851Z] $ docker exec --env ******** --env ******** ad9acc5672a232c93a8661dcf71a037bffd3b020e77a0c2373fc76cc3391fb62 ssh-agent -k [2022-04-01T02:06:28.959Z] unset SSH_AUTH_SOCK; [2022-04-01T02:06:28.959Z] unset SSH_AGENT_PID; [2022-04-01T02:06:28.959Z] echo Agent pid 21 killed; [2022-04-01T02:06:28.969Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T02:06:29.276Z] + git semver [Pipeline] } [2022-04-01T02:06:29.289Z] $ docker stop --time=1 ad9acc5672a232c93a8661dcf71a037bffd3b020e77a0c2373fc76cc3391fb62 [2022-04-01T02:06:30.602Z] $ docker rm -f ad9acc5672a232c93a8661dcf71a037bffd3b020e77a0c2373fc76cc3391fb62 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T02:06:30.954Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T02:06:30.954Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:06:31.248Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T02:06:31.248Z] . [Pipeline] withDockerContainer [2022-04-01T02:06:31.312Z] prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container [2022-04-01T02:06:31.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-01T02:06:31.698Z] $ docker top 66d5d054cad48c2d8e1b2c9999a615f9998a80dc8df732d7f0658da7390a89aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T02:06:31.792Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T02:06:31.792Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T02:06:31.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T02:06:31.940Z] $ docker exec 66d5d054cad48c2d8e1b2c9999a615f9998a80dc8df732d7f0658da7390a89aa ssh-agent [2022-04-01T02:06:32.071Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPfJAde/agent.13 [2022-04-01T02:06:32.071Z] SSH_AGENT_PID=19 [2022-04-01T02:06:32.077Z] Running ssh-add (command line suppressed) [2022-04-01T02:06:32.189Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2759324679259721808.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2759324679259721808.key) [2022-04-01T02:06:32.206Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T02:06:32.494Z] + git semver push [2022-04-01T02:06:32.494Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T02:06:32.494Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-01T02:06:32.494Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-01T02:06:32.494Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T02:06:32.494Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T02:06:32.494Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T02:06:32.494Z] # $SEMVER_BRANCH = main [2022-04-01T02:06:32.494Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-04-01T02:06:34.418Z] $ docker exec --env ******** --env ******** 66d5d054cad48c2d8e1b2c9999a615f9998a80dc8df732d7f0658da7390a89aa ssh-agent -k [2022-04-01T02:06:34.522Z] unset SSH_AUTH_SOCK; [2022-04-01T02:06:34.522Z] unset SSH_AGENT_PID; [2022-04-01T02:06:34.522Z] echo Agent pid 19 killed; [2022-04-01T02:06:34.536Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T02:06:34.843Z] + git semver [Pipeline] } [2022-04-01T02:06:34.857Z] $ docker stop --time=1 66d5d054cad48c2d8e1b2c9999a615f9998a80dc8df732d7f0658da7390a89aa [2022-04-01T02:06:36.135Z] $ docker rm -f 66d5d054cad48c2d8e1b2c9999a615f9998a80dc8df732d7f0658da7390a89aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-04-01T02:06:36.825Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-04-01T02:06:36.825Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-01T02:06:36.825Z] total 16 [2022-04-01T02:06:36.825Z] drwxr-xr-x 3 root root 4096 Apr 1 01:57 . [2022-04-01T02:06:36.825Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 02:06 .. [2022-04-01T02:06:36.825Z] drwxr-xr-x 2 root root 4096 Apr 1 01:57 cost [2022-04-01T02:06:36.825Z] -rw-r--r-- 1 root root 87 Apr 1 01:57 cost.csv [2022-04-01T02:06:36.825Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-01T02:06:36.825Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-01T02:06:36.825Z] total 16 [2022-04-01T02:06:36.825Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 01:57 . [2022-04-01T02:06:36.825Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 02:06 .. [2022-04-01T02:06:36.825Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 01:57 cost [2022-04-01T02:06:36.825Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 1 01:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:06:37.124Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:06:37.989Z] ---> package-listing.sh [2022-04-01T02:06:37.989Z] ++ facter osfamily [2022-04-01T02:06:37.989Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-01T02:06:37.989Z] + OS_FAMILY=debian [2022-04-01T02:06:37.989Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-04-01T02:06:37.989Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-01T02:06:37.989Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-01T02:06:37.989Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-01T02:06:37.989Z] + PACKAGES=/tmp/packages_start.txt [2022-04-01T02:06:37.989Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-04-01T02:06:37.989Z] + PACKAGES=/tmp/packages_end.txt [2022-04-01T02:06:37.989Z] + case "${OS_FAMILY}" in [2022-04-01T02:06:37.989Z] + dpkg -l [2022-04-01T02:06:37.989Z] + grep '^ii' [2022-04-01T02:06:38.248Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-01T02:06:38.248Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-01T02:06:38.248Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-01T02:06:38.248Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-04-01T02:06:38.248Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-04-01T02:06:38.248Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2022-04-01T02:06:38.258Z] 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-01T02:06:38.535Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-01T02:06:39.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T02:06:39.094Z] . [Pipeline] withDockerContainer [2022-04-01T02:06:39.166Z] prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container [2022-04-01T02:06:39.197Z] $ 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-01T02:06:39.462Z] $ docker top 8a14660d28cf6915af7ede34fa9fd1309a7aff2edb057f0e5699ed32754f12b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T02:06:39.814Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-01T02:06:40.102Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-01T02:06:40.395Z] + ls /var/log/sa-host [2022-04-01T02:06:40.395Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T02:06:40.593Z] provisioning config files... [2022-04-01T02:06:40.604Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9165372523441019898tmp [Pipeline] { [Pipeline] echo [2022-04-01T02:06:40.619Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:06:40.903Z] ---> create-netrc.sh [Pipeline] } [2022-04-01T02:06:40.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:06:41.250Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-01T02:06:41.261Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:06:41.549Z] ---> sudo-logs.sh [2022-04-01T02:06:41.549Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-01T02:06:41.583Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:06:41.870Z] ---> job-cost.sh [2022-04-01T02:06:41.870Z] lf-activate-venv: SKIPPING [2022-04-01T02:06:41.870Z] DEBUG: total: 0.2199999988079071 [2022-04-01T02:06:41.870Z] INFO: Retrieving Stack Cost... [2022-04-01T02:06:42.131Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-01T02:06:42.702Z] INFO: Archiving Costs [Pipeline] echo [2022-04-01T02:06:42.716Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T02:06:43.001Z] ---> logs-deploy.sh [2022-04-01T02:06:43.001Z] lf-activate-venv: SKIPPING [2022-04-01T02:06:43.001Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/24 [2022-04-01T02:06:43.001Z] INFO: archiving workspace using pattern(s): [2022-04-01T02:06:43.942Z] Archives upload complete. [2022-04-01T02:06:43.942Z] INFO: archiving logs to Nexus