Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dd725dc5af4dc794521be28a3a3263c7b7e9f65e 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-ssh14002022482944739745.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh18217145064049009002.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3660013202016938279.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12048213104033511892.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16709238848070469439.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-923 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 dd725dc5af4dc794521be28a3a3263c7b7e9f65e (main) Commit message: "refactor!: Rename command line flags for the sake of consistency (#323)" > 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 dd725dc5af4dc794521be28a3a3263c7b7e9f65e # timeout=10 > git rev-list --no-walk e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T18:07:46.409Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T18:07:46.447Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T18:07:46.472Z] ========================================================= [2023-01-03T18:07:46.472Z] EdgeX Global Pipelines Version Info [2023-01-03T18:07:46.472Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:07:47.191Z] ------------------- [2023-01-03T18:07:47.191Z] stable info: [2023-01-03T18:07:47.191Z] ------------------- [2023-01-03T18:07:47.191Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T18:07:47.191Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T18:07:47.191Z] Message: update stable to v1.0.244 [2023-01-03T18:07:47.759Z] ------------------- [2023-01-03T18:07:47.759Z] experimental info: [2023-01-03T18:07:47.759Z] ------------------- [2023-01-03T18:07:47.759Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T18:07:47.759Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T18:07:47.759Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T18:07:47.916Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-01-03T18:07:47.926Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-01-03T18:07:47.939Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T18:07:47.954Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T18:07:47.972Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T18:07:47.987Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T18:07:48.001Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T18:07:48.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-03T18:07:48.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T18:07:48.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T18:07:48.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T18:07:48.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-01-03T18:07:48.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T18:07:48.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T18:07:48.097Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T18:07:48.167Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T18:07:48.180Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T18:07:48.190Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T18:07:48.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T18:07:48.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T18:07:48.228Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-03T18:07:48.244Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-03T18:07:48.255Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T18:07:48.268Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T18:07:48.283Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T18:07:48.296Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T18:07:48.311Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T18:07:48.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-03T18:07:48.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-03T18:07:48.348Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-03T18:07:48.359Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] echo [2023-01-03T18:07:48.370Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd725dc [Pipeline] echo [2023-01-03T18:07:48.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:07:48.428Z] provisioning config files... [2023-01-03T18:07:48.441Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2053305259306795022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:07:48.744Z] ---> docker-login.sh [2023-01-03T18:07:48.744Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:07:49.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:07:49.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:07:49.003Z] Configure a credential helper to remove this warning. See [2023-01-03T18:07:49.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:07:49.003Z] [2023-01-03T18:07:49.003Z] Login Succeeded [2023-01-03T18:07:49.003Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:07:49.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:07:49.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:07:49.263Z] Configure a credential helper to remove this warning. See [2023-01-03T18:07:49.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:07:49.263Z] [2023-01-03T18:07:49.263Z] Login Succeeded [2023-01-03T18:07:49.263Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:07:49.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:07:49.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:07:49.263Z] Configure a credential helper to remove this warning. See [2023-01-03T18:07:49.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:07:49.263Z] [2023-01-03T18:07:49.263Z] Login Succeeded [2023-01-03T18:07:49.263Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:07:49.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:07:49.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:07:49.523Z] Configure a credential helper to remove this warning. See [2023-01-03T18:07:49.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:07:49.523Z] [2023-01-03T18:07:49.523Z] Login Succeeded [2023-01-03T18:07:49.523Z] docker.io [2023-01-03T18:07:49.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:07:49.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:07:49.781Z] Configure a credential helper to remove this warning. See [2023-01-03T18:07:49.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:07:49.781Z] [2023-01-03T18:07:49.781Z] Login Succeeded [2023-01-03T18:07:49.781Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:07:49.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-03T18:07:50.157Z] + git rev-list -1 --merges dd725dc5af4dc794521be28a3a3263c7b7e9f65e~1..dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] echo [2023-01-03T18:07:50.201Z] -----------> git rev-list -1 --merges dd725dc5af4dc794521be28a3a3263c7b7e9f65e~1..dd725dc5af4dc794521be28a3a3263c7b7e9f65e dd725dc5af4dc794521be28a3a3263c7b7e9f65e [false] [Pipeline] sh [2023-01-03T18:07:50.493Z] + git log --format=format:%s -1 dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] echo [2023-01-03T18:07:50.519Z] ========================================================= [2023-01-03T18:07:50.519Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T18:07:50.519Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:07:50.837Z] + git log --format=format:%s -1 dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] echo [2023-01-03T18:07:50.847Z] [semverPrep] GIT_COMMIT: dd725dc5af4dc794521be28a3a3263c7b7e9f65e, Commit Message: refactor!: Rename command line flags for the sake of consistency (#323) [Pipeline] echo [2023-01-03T18:07:50.858Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T18:07:51.266Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:07:51.266Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T18:07:51.266Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T18:07:51.266Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T18:07:51.266Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T18:07:51.266Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T18:07:51.266Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:07:51.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:07:51.608Z] [2023-01-03T18:07:51.608Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:07:51.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:07:51.904Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T18:07:51.904Z] b85a868b505f: Pulling fs layer [2023-01-03T18:07:51.904Z] e2be974225ed: Pulling fs layer [2023-01-03T18:07:51.904Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T18:07:51.904Z] 988bab9f4d93: Pulling fs layer [2023-01-03T18:07:51.904Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T18:07:51.904Z] eaf3925da568: Pulling fs layer [2023-01-03T18:07:51.904Z] bab4dde63d76: Pulling fs layer [2023-01-03T18:07:51.904Z] bde34c3a00c8: Pulling fs layer [2023-01-03T18:07:51.904Z] b352a97aabf1: Pulling fs layer [2023-01-03T18:07:51.904Z] 4872d77fe225: Pulling fs layer [2023-01-03T18:07:51.904Z] 5851b861e8e6: Pulling fs layer [2023-01-03T18:07:51.904Z] 988bab9f4d93: Waiting [2023-01-03T18:07:51.904Z] 1469e6f7b9e6: Waiting [2023-01-03T18:07:51.904Z] eaf3925da568: Waiting [2023-01-03T18:07:51.904Z] bab4dde63d76: Waiting [2023-01-03T18:07:51.904Z] bde34c3a00c8: Waiting [2023-01-03T18:07:51.904Z] b352a97aabf1: Waiting [2023-01-03T18:07:51.904Z] 4872d77fe225: Waiting [2023-01-03T18:07:51.904Z] 5851b861e8e6: Waiting [2023-01-03T18:07:51.904Z] e2be974225ed: Download complete [2023-01-03T18:07:51.904Z] 988bab9f4d93: Verifying Checksum [2023-01-03T18:07:51.904Z] 988bab9f4d93: Download complete [2023-01-03T18:07:52.164Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T18:07:52.164Z] 1469e6f7b9e6: Download complete [2023-01-03T18:07:52.164Z] eaf3925da568: Verifying Checksum [2023-01-03T18:07:52.164Z] eaf3925da568: Download complete [2023-01-03T18:07:52.164Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T18:07:52.164Z] 339a4e72a1f5: Download complete [2023-01-03T18:07:52.164Z] bde34c3a00c8: Verifying Checksum [2023-01-03T18:07:52.164Z] bde34c3a00c8: Download complete [2023-01-03T18:07:52.164Z] b352a97aabf1: Download complete [2023-01-03T18:07:52.164Z] 4872d77fe225: Download complete [2023-01-03T18:07:52.164Z] 5851b861e8e6: Verifying Checksum [2023-01-03T18:07:52.164Z] 5851b861e8e6: Download complete [2023-01-03T18:07:52.164Z] b85a868b505f: Verifying Checksum [2023-01-03T18:07:52.164Z] b85a868b505f: Download complete [2023-01-03T18:07:52.422Z] bab4dde63d76: Verifying Checksum [2023-01-03T18:07:52.422Z] bab4dde63d76: Download complete [2023-01-03T18:07:53.360Z] b85a868b505f: Pull complete [2023-01-03T18:07:53.617Z] e2be974225ed: Pull complete [2023-01-03T18:07:53.875Z] 339a4e72a1f5: Pull complete [2023-01-03T18:07:54.134Z] 988bab9f4d93: Pull complete [2023-01-03T18:07:54.392Z] 1469e6f7b9e6: Pull complete [2023-01-03T18:07:54.392Z] eaf3925da568: Pull complete [2023-01-03T18:07:55.766Z] bab4dde63d76: Pull complete [2023-01-03T18:07:56.026Z] bde34c3a00c8: Pull complete [2023-01-03T18:07:56.026Z] b352a97aabf1: Pull complete [2023-01-03T18:07:56.286Z] 4872d77fe225: Pull complete [2023-01-03T18:07:56.286Z] 5851b861e8e6: Pull complete [2023-01-03T18:07:56.286Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T18:07:56.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:07:56.286Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:07:56.382Z] prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container [2023-01-03T18:07:56.417Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:07:57.687Z] $ docker top 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca -eo pid,comm [2023-01-03T18:07:57.741Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-03T18:07:57.741Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:07:57.782Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:07:57.782Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:07:57.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:07:57.908Z] $ docker exec 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca ssh-agent [2023-01-03T18:07:58.015Z] SSH_AUTH_SOCK=/tmp/ssh-FrmGwU387Bj6/agent.33 [2023-01-03T18:07:58.015Z] SSH_AGENT_PID=39 [2023-01-03T18:07:58.021Z] Running ssh-add (command line suppressed) [2023-01-03T18:07:58.126Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16762412815203041735.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16762412815203041735.key) [2023-01-03T18:07:58.138Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:07:58.426Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T18:07:58.441Z] $ docker exec --env ******** --env ******** 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca ssh-agent -k [2023-01-03T18:07:58.527Z] unset SSH_AUTH_SOCK; [2023-01-03T18:07:58.527Z] unset SSH_AGENT_PID; [2023-01-03T18:07:58.527Z] echo Agent pid 39 killed; [2023-01-03T18:07:58.534Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T18:07:58.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:07:58.562Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:07:58.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:07:58.678Z] $ docker exec 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca ssh-agent [2023-01-03T18:07:58.780Z] SSH_AUTH_SOCK=/tmp/ssh-a7kds2DOeFg9/agent.71 [2023-01-03T18:07:58.780Z] SSH_AGENT_PID=77 [2023-01-03T18:07:58.785Z] Running ssh-add (command line suppressed) [2023-01-03T18:07:58.897Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17534557096918136368.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17534557096918136368.key) [2023-01-03T18:07:58.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:07:59.200Z] + git semver init [2023-01-03T18:07:59.459Z] 2023-01-03 18:07:59,377 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T18:07:59.459Z] 2023-01-03 18:07:59,378 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-01-03T18:07:59.459Z] 2023-01-03 18:07:59,378 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-01-03T18:07:59.459Z] 2023-01-03 18:07:59,379 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:08:00.840Z] 2023-01-03 18:08:00,518 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-01-03T18:08:00.840Z] 2023-01-03 18:08:00,518 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-01-03T18:08:00.840Z] 2023-01-03 18:08:00,519 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-03T18:08:00.840Z] 2023-01-03 18:08:00,519 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-03T18:08:00.840Z] 3.0.0-dev.2 [Pipeline] } [2023-01-03T18:08:00.852Z] $ docker exec --env ******** --env ******** 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca ssh-agent -k [2023-01-03T18:08:00.961Z] unset SSH_AUTH_SOCK; [2023-01-03T18:08:00.961Z] unset SSH_AGENT_PID; [2023-01-03T18:08:00.961Z] echo Agent pid 77 killed; [2023-01-03T18:08:00.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:08:01.280Z] + git semver [Pipeline] } [2023-01-03T18:08:01.557Z] $ docker stop --time=1 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca [2023-01-03T18:08:02.904Z] $ docker rm -f --volumes 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:08:03.241Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T18:08:03.449Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T18:08:03.453Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.2 [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 [2023-01-03T18:08:03.554Z] provisioning config files... [2023-01-03T18:08:03.564Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16522980783610642164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:08:03.861Z] ---> docker-login.sh [2023-01-03T18:08:03.861Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:08:03.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:08:03.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:08:03.861Z] Configure a credential helper to remove this warning. See [2023-01-03T18:08:03.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:08:03.861Z] [2023-01-03T18:08:03.861Z] Login Succeeded [2023-01-03T18:08:03.861Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:08:03.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:08:03.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:08:03.861Z] Configure a credential helper to remove this warning. See [2023-01-03T18:08:03.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:08:03.861Z] [2023-01-03T18:08:03.861Z] Login Succeeded [2023-01-03T18:08:03.861Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:08:04.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:08:04.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:08:04.124Z] Configure a credential helper to remove this warning. See [2023-01-03T18:08:04.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:08:04.124Z] [2023-01-03T18:08:04.124Z] Login Succeeded [2023-01-03T18:08:04.124Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:08:04.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:08:04.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:08:04.124Z] Configure a credential helper to remove this warning. See [2023-01-03T18:08:04.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:08:04.124Z] [2023-01-03T18:08:04.124Z] Login Succeeded [2023-01-03T18:08:04.124Z] docker.io [2023-01-03T18:08:04.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:08:04.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:08:04.383Z] Configure a credential helper to remove this warning. See [2023-01-03T18:08:04.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:08:04.383Z] [2023-01-03T18:08:04.383Z] Login Succeeded [2023-01-03T18:08:04.383Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:08:04.393Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T18:08:04.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:08:04.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:08:04.488Z] ========================================================= [2023-01-03T18:08:04.488Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T18:08:04.488Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:08:04.810Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-03T18:08:04.810Z] Sending build context to Docker daemon 23.3MB [2023-01-03T18:08:04.810Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:08:04.810Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-03T18:08:05.069Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T18:08:05.069Z] 213ec9aee27d: Pulling fs layer [2023-01-03T18:08:05.069Z] 4583459ba037: Pulling fs layer [2023-01-03T18:08:05.069Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T18:08:05.069Z] 53926ce57604: Pulling fs layer [2023-01-03T18:08:05.069Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T18:08:05.069Z] 53926ce57604: Waiting [2023-01-03T18:08:05.069Z] 22ff95d597cd: Pulling fs layer [2023-01-03T18:08:05.069Z] 21b2b0c7a3f4: Waiting [2023-01-03T18:08:05.069Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T18:08:05.069Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T18:08:05.069Z] a7acece74701: Pulling fs layer [2023-01-03T18:08:05.069Z] 22ff95d597cd: Waiting [2023-01-03T18:08:05.069Z] 12d6caf4c0d1: Waiting [2023-01-03T18:08:05.069Z] 96b7cbca73a9: Waiting [2023-01-03T18:08:05.069Z] 93c1e223e6f2: Verifying Checksum [2023-01-03T18:08:05.069Z] 93c1e223e6f2: Download complete [2023-01-03T18:08:05.069Z] 4583459ba037: Download complete [2023-01-03T18:08:05.069Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-03T18:08:05.069Z] 21b2b0c7a3f4: Download complete [2023-01-03T18:08:05.069Z] 22ff95d597cd: Download complete [2023-01-03T18:08:05.069Z] 213ec9aee27d: Verifying Checksum [2023-01-03T18:08:05.069Z] 12d6caf4c0d1: Download complete [2023-01-03T18:08:05.069Z] 213ec9aee27d: Pull complete [2023-01-03T18:08:05.330Z] 4583459ba037: Pull complete [2023-01-03T18:08:05.330Z] 93c1e223e6f2: Pull complete [2023-01-03T18:08:05.590Z] a7acece74701: Verifying Checksum [2023-01-03T18:08:05.590Z] a7acece74701: Download complete [2023-01-03T18:08:05.849Z] 96b7cbca73a9: Verifying Checksum [2023-01-03T18:08:05.849Z] 96b7cbca73a9: Download complete [2023-01-03T18:08:05.849Z] 53926ce57604: Verifying Checksum [2023-01-03T18:08:05.849Z] 53926ce57604: Download complete [2023-01-03T18:08:09.128Z] 53926ce57604: Pull complete [2023-01-03T18:08:09.128Z] 21b2b0c7a3f4: Pull complete [2023-01-03T18:08:09.391Z] 22ff95d597cd: Pull complete [2023-01-03T18:08:09.391Z] 12d6caf4c0d1: Pull complete [2023-01-03T18:08:11.296Z] 96b7cbca73a9: Pull complete [2023-01-03T18:08:11.863Z] a7acece74701: Pull complete [2023-01-03T18:08:11.863Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T18:08:11.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T18:08:11.863Z] ---> db6d94c90886 [2023-01-03T18:08:11.863Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:08:13.780Z] ---> Running in 3e632ed4460e [2023-01-03T18:08:13.780Z] Removing intermediate container 3e632ed4460e [2023-01-03T18:08:13.780Z] ---> a6711924373b [2023-01-03T18:08:13.780Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:08:13.780Z] ---> Running in b36146221623 [2023-01-03T18:08:13.780Z] Removing intermediate container b36146221623 [2023-01-03T18:08:13.780Z] ---> caecf833a384 [2023-01-03T18:08:13.780Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:08:13.780Z] ---> Running in 9f262e111920 [2023-01-03T18:08:14.039Z] Removing intermediate container 9f262e111920 [2023-01-03T18:08:14.039Z] ---> eb7c89c27f97 [2023-01-03T18:08:14.039Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-03T18:08:14.039Z] ---> Running in 6f4167199673 [2023-01-03T18:08:14.039Z] Removing intermediate container 6f4167199673 [2023-01-03T18:08:14.039Z] ---> dd7c7583b667 [2023-01-03T18:08:14.039Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:08:14.039Z] ---> Running in 5a6eab8ad8c6 [2023-01-03T18:08:14.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:08:14.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:08:14.816Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T18:08:14.816Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-03T18:08:14.816Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T18:08:14.816Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T18:08:14.816Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:08:14.816Z] OK: 216 MiB in 55 packages [2023-01-03T18:08:15.385Z] Removing intermediate container 5a6eab8ad8c6 [2023-01-03T18:08:15.385Z] ---> c560912787bf [2023-01-03T18:08:15.385Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-03T18:08:15.385Z] ---> 737055965259 [2023-01-03T18:08:15.385Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:08:15.385Z] ---> Running in 0f4d5cf6b30f [2023-01-03T18:08:18.524Z] Still waiting to schedule task [2023-01-03T18:08:18.525Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-03T18:08:33.614Z] Removing intermediate container 0f4d5cf6b30f [2023-01-03T18:08:33.614Z] ---> 6c0e6de4e13f [2023-01-03T18:08:33.614Z] Step 10/12 : COPY . . [2023-01-03T18:08:33.614Z] ---> 403e53a0f080 [2023-01-03T18:08:33.614Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:08:33.614Z] ---> Running in ccea789c4b7e [2023-01-03T18:08:33.614Z] Removing intermediate container ccea789c4b7e [2023-01-03T18:08:33.614Z] ---> abc68c5b7e1d [2023-01-03T18:08:33.614Z] Step 12/12 : RUN $MAKE [2023-01-03T18:08:33.614Z] ---> Running in b7ab6f25ee68 [2023-01-03T18:08:33.614Z] noop [2023-01-03T18:08:33.614Z] Removing intermediate container b7ab6f25ee68 [2023-01-03T18:08:33.614Z] ---> cb15cc9d345b [2023-01-03T18:08:33.614Z] Successfully built cb15cc9d345b [2023-01-03T18:08:33.614Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:08:33.916Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T18:08:33.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:08:33.979Z] prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container [2023-01-03T18:08:34.005Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T18:08:34.369Z] $ docker top 8a3ce1a680d6546d98219fba66efed1bceb798b65e6cbfba416e6e2a27382d37 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:08:34.697Z] + go version [2023-01-03T18:08:34.697Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T18:08:34.709Z] $ docker stop --time=1 8a3ce1a680d6546d98219fba66efed1bceb798b65e6cbfba416e6e2a27382d37 [2023-01-03T18:08:35.979Z] $ docker rm -f --volumes 8a3ce1a680d6546d98219fba66efed1bceb798b65e6cbfba416e6e2a27382d37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:08:36.383Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T18:08:36.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:08:36.456Z] prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container [2023-01-03T18:08:36.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T18:08:36.843Z] $ docker top 22c2bf2a3f96a87088d9c7a94ceff3d77817ea8d2e294244a7856dbca8717c15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:08:37.183Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-03T18:08:37.479Z] + make test [2023-01-03T18:08:37.479Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-03T18:08:37.737Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-03T18:08:47.709Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-03T18:08:47.709Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2023-01-03T18:08:54.267Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-03T18:08:54.267Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T18:08:56.791Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T18:08:56.791Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T18:08:56.791Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T18:08:57.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T18:08:57.071Z] $ docker stop --time=1 22c2bf2a3f96a87088d9c7a94ceff3d77817ea8d2e294244a7856dbca8717c15 [2023-01-03T18:08:58.811Z] $ docker rm -f --volumes 22c2bf2a3f96a87088d9c7a94ceff3d77817ea8d2e294244a7856dbca8717c15 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:08:59.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T18:08:59.295Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T18:08:59.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T18:09:00.118Z] + ls -al . [2023-01-03T18:09:00.118Z] total 204 [2023-01-03T18:09:00.118Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 18:08 . [2023-01-03T18:09:00.118Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:07 .. [2023-01-03T18:09:00.118Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:08 .git [2023-01-03T18:09:00.118Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:07 .github [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 18:07 .gitignore [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:07 .golangci.yml [2023-01-03T18:09:00.118Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:08 .semver [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 18:07 Attribution.txt [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 18:07 CHANGELOG.md [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 18:07 Dockerfile [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:07 GOVERNANCE.md [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 18:07 Jenkinsfile [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:07 LICENSE [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 18:07 Makefile [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 18:07 OWNERS.md [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 18:07 README.md [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 18:08 VERSION [2023-01-03T18:09:00.118Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:07 bin [2023-01-03T18:09:00.118Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:07 cmd [2023-01-03T18:09:00.118Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 18:08 coverage.out [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 18:07 go.mod [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 18:07 go.sum [2023-01-03T18:09:00.118Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:07 internal [2023-01-03T18:09:00.118Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:07 snap [2023-01-03T18:09:00.118Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 18:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:00.419Z] + 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=dd725dc5af4dc794521be28a3a3263c7b7e9f65e --label arch=amd64 --label version=3.0.0-dev.2 . [2023-01-03T18:09:00.419Z] Sending build context to Docker daemon 23.34MB [2023-01-03T18:09:00.419Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:09:00.419Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-03T18:09:00.419Z] ---> cb15cc9d345b [2023-01-03T18:09:00.419Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:09:00.678Z] ---> Running in bb1f9802a456 [2023-01-03T18:09:00.678Z] Removing intermediate container bb1f9802a456 [2023-01-03T18:09:00.678Z] ---> a80318ab8aa5 [2023-01-03T18:09:00.678Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:09:00.678Z] ---> Running in dc037e862ac6 [2023-01-03T18:09:00.678Z] Removing intermediate container dc037e862ac6 [2023-01-03T18:09:00.678Z] ---> 5290787b9ac3 [2023-01-03T18:09:00.678Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:09:00.937Z] ---> Running in f884f3de7a2e [2023-01-03T18:09:00.937Z] Removing intermediate container f884f3de7a2e [2023-01-03T18:09:00.937Z] ---> ac91bb179f5e [2023-01-03T18:09:00.937Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-03T18:09:00.937Z] ---> Running in a7a0d8c0b0f8 [2023-01-03T18:09:00.937Z] Removing intermediate container a7a0d8c0b0f8 [2023-01-03T18:09:00.937Z] ---> 8cba924e0985 [2023-01-03T18:09:00.937Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:09:01.196Z] ---> Running in 011b45f51840 [2023-01-03T18:09:01.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:09:01.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:09:01.714Z] OK: 216 MiB in 55 packages [2023-01-03T18:09:01.974Z] Removing intermediate container 011b45f51840 [2023-01-03T18:09:01.974Z] ---> 92ff2683bfdb [2023-01-03T18:09:01.974Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-03T18:09:01.974Z] ---> 794cfd34688e [2023-01-03T18:09:01.974Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:09:02.232Z] ---> Running in fee1811668d6 [2023-01-03T18:09:02.799Z] Removing intermediate container fee1811668d6 [2023-01-03T18:09:02.799Z] ---> a18192041a40 [2023-01-03T18:09:02.799Z] Step 10/25 : COPY . . [2023-01-03T18:09:03.370Z] ---> 1e16e7e3f104 [2023-01-03T18:09:03.370Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:09:03.370Z] ---> Running in 8effb456ca19 [2023-01-03T18:09:03.370Z] Removing intermediate container 8effb456ca19 [2023-01-03T18:09:03.370Z] ---> d7e3885bc8c8 [2023-01-03T18:09:03.370Z] Step 12/25 : RUN $MAKE [2023-01-03T18:09:03.370Z] ---> Running in 64f2008bd417 [2023-01-03T18:09:03.629Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2023-01-03T18:09:25.554Z] Removing intermediate container 64f2008bd417 [2023-01-03T18:09:25.554Z] ---> 609e233f9199 [2023-01-03T18:09:25.554Z] Step 13/25 : FROM alpine:3.16 [2023-01-03T18:09:25.554Z] 3.16: Pulling from library/alpine [2023-01-03T18:09:25.554Z] ca7dd9ec2225: Pulling fs layer [2023-01-03T18:09:25.555Z] ca7dd9ec2225: Download complete [2023-01-03T18:09:25.555Z] ca7dd9ec2225: Pull complete [2023-01-03T18:09:25.555Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T18:09:25.555Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T18:09:25.555Z] ---> bfe296a52501 [2023-01-03T18:09:25.555Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-03T18:09:25.555Z] ---> Running in d735c420f814 [2023-01-03T18:09:25.555Z] Removing intermediate container d735c420f814 [2023-01-03T18:09:25.555Z] ---> f81de5915cde [2023-01-03T18:09:25.555Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:09:25.555Z] ---> Running in ae51a38af6b8 [2023-01-03T18:09:25.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:09:25.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:09:25.555Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:09:25.555Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T18:09:25.555Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:09:25.555Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T18:09:25.555Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:09:25.555Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:09:25.555Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:09:25.555Z] OK: 8 MiB in 20 packages [2023-01-03T18:09:25.555Z] Removing intermediate container ae51a38af6b8 [2023-01-03T18:09:25.555Z] ---> 25a7ec76cf8d [2023-01-03T18:09:25.555Z] Step 16/25 : WORKDIR / [2023-01-03T18:09:25.555Z] ---> Running in d226bcaa4b7e [2023-01-03T18:09:25.555Z] Removing intermediate container d226bcaa4b7e [2023-01-03T18:09:25.555Z] ---> f55738076a92 [2023-01-03T18:09:25.555Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-03T18:09:25.555Z] ---> afe8d6363368 [2023-01-03T18:09:25.555Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-03T18:09:25.555Z] ---> 62f0cd2581fe [2023-01-03T18:09:25.555Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-03T18:09:25.555Z] ---> e2ea5ca60899 [2023-01-03T18:09:25.555Z] Step 20/25 : EXPOSE 59900 [2023-01-03T18:09:25.555Z] ---> Running in a5fc6bd7b6a7 [2023-01-03T18:09:25.555Z] Removing intermediate container a5fc6bd7b6a7 [2023-01-03T18:09:25.555Z] ---> 5b5c89c12955 [2023-01-03T18:09:25.555Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-03T18:09:25.555Z] ---> Running in 9bc53e5051b7 [2023-01-03T18:09:25.555Z] Removing intermediate container 9bc53e5051b7 [2023-01-03T18:09:25.555Z] ---> bf2bb5995130 [2023-01-03T18:09:25.555Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T18:09:25.555Z] ---> Running in e20896a474d7 [2023-01-03T18:09:25.555Z] Removing intermediate container e20896a474d7 [2023-01-03T18:09:25.555Z] ---> 3782ff5440c9 [2023-01-03T18:09:25.555Z] Step 23/25 : LABEL arch=amd64 [2023-01-03T18:09:25.555Z] ---> Running in 610e5e9018f8 [2023-01-03T18:09:25.555Z] Removing intermediate container 610e5e9018f8 [2023-01-03T18:09:25.555Z] ---> c20e652dfe11 [2023-01-03T18:09:25.555Z] Step 24/25 : LABEL git_sha=dd725dc5af4dc794521be28a3a3263c7b7e9f65e [2023-01-03T18:09:25.555Z] ---> Running in b228ae69d922 [2023-01-03T18:09:25.555Z] Removing intermediate container b228ae69d922 [2023-01-03T18:09:25.555Z] ---> d912888052e5 [2023-01-03T18:09:25.555Z] Step 25/25 : LABEL version=3.0.0-dev.2 [2023-01-03T18:09:25.555Z] ---> Running in 9b914bafbccd [2023-01-03T18:09:25.555Z] Removing intermediate container 9b914bafbccd [2023-01-03T18:09:25.555Z] ---> 9ca290e5a4fb [2023-01-03T18:09:25.555Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:09:25.555Z] Successfully built 9ca290e5a4fb [2023-01-03T18:09:25.555Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:09:25.628Z] provisioning config files... [2023-01-03T18:09:25.637Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11581631121648631927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:09:26.012Z] ---> docker-login.sh [2023-01-03T18:09:26.012Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:09:26.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:09:26.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:09:26.012Z] Configure a credential helper to remove this warning. See [2023-01-03T18:09:26.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:09:26.012Z] [2023-01-03T18:09:26.012Z] Login Succeeded [2023-01-03T18:09:26.012Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:09:26.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:09:26.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:09:26.012Z] Configure a credential helper to remove this warning. See [2023-01-03T18:09:26.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:09:26.012Z] [2023-01-03T18:09:26.012Z] Login Succeeded [2023-01-03T18:09:26.012Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:09:26.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:09:26.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:09:26.281Z] Configure a credential helper to remove this warning. See [2023-01-03T18:09:26.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:09:26.281Z] [2023-01-03T18:09:26.281Z] Login Succeeded [2023-01-03T18:09:26.281Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:09:26.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:09:26.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:09:26.281Z] Configure a credential helper to remove this warning. See [2023-01-03T18:09:26.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:09:26.281Z] [2023-01-03T18:09:26.281Z] Login Succeeded [2023-01-03T18:09:26.281Z] docker.io [2023-01-03T18:09:26.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:09:26.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:09:26.626Z] Configure a credential helper to remove this warning. See [2023-01-03T18:09:26.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:09:26.626Z] [2023-01-03T18:09:26.626Z] Login Succeeded [2023-01-03T18:09:26.626Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:09:26.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-03T18:09:26.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:09:26.683Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-01-03T18:09:26.683Z] dd725dc5af4dc794521be28a3a3263c7b7e9f65e [2023-01-03T18:09:26.683Z] latest [2023-01-03T18:09:26.683Z] 3.0.0-dev.2 [2023-01-03T18:09:26.683Z] dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 [2023-01-03T18:09:26.683Z] main [2023-01-03T18:09:26.683Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:27.005Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:27.309Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e [2023-01-03T18:09:27.309Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-01-03T18:09:27.309Z] 9d7500956c58: Preparing [2023-01-03T18:09:27.309Z] aae295f12bfc: Preparing [2023-01-03T18:09:27.309Z] 3f6d72410b29: Preparing [2023-01-03T18:09:27.309Z] e4dcee5531d5: Preparing [2023-01-03T18:09:27.309Z] e5e13b0c77cb: Preparing [2023-01-03T18:09:27.309Z] e5e13b0c77cb: Layer already exists [2023-01-03T18:09:27.309Z] aae295f12bfc: Pushed [2023-01-03T18:09:27.309Z] 3f6d72410b29: Pushed [2023-01-03T18:09:27.569Z] e4dcee5531d5: Pushed [2023-01-03T18:09:30.106Z] 9d7500956c58: Pushed [2023-01-03T18:09:30.106Z] dd725dc5af4dc794521be28a3a3263c7b7e9f65e: digest: sha256:52b8f886386b888d4e54acedee990c5563ed9791ae714bcea7ffbaf7d090e7f9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:30.414Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:30.721Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-01-03T18:09:30.721Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-01-03T18:09:30.721Z] 9d7500956c58: Preparing [2023-01-03T18:09:30.721Z] aae295f12bfc: Preparing [2023-01-03T18:09:30.721Z] 3f6d72410b29: Preparing [2023-01-03T18:09:30.721Z] e4dcee5531d5: Preparing [2023-01-03T18:09:30.721Z] e5e13b0c77cb: Preparing [2023-01-03T18:09:30.721Z] 9d7500956c58: Layer already exists [2023-01-03T18:09:30.722Z] e5e13b0c77cb: Layer already exists [2023-01-03T18:09:30.722Z] aae295f12bfc: Layer already exists [2023-01-03T18:09:30.722Z] e4dcee5531d5: Layer already exists [2023-01-03T18:09:30.722Z] 3f6d72410b29: Layer already exists [2023-01-03T18:09:30.722Z] latest: digest: sha256:52b8f886386b888d4e54acedee990c5563ed9791ae714bcea7ffbaf7d090e7f9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:31.029Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:31.331Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.2 [2023-01-03T18:09:31.332Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-01-03T18:09:31.332Z] 9d7500956c58: Preparing [2023-01-03T18:09:31.332Z] aae295f12bfc: Preparing [2023-01-03T18:09:31.332Z] 3f6d72410b29: Preparing [2023-01-03T18:09:31.332Z] e4dcee5531d5: Preparing [2023-01-03T18:09:31.332Z] e5e13b0c77cb: Preparing [2023-01-03T18:09:31.332Z] e5e13b0c77cb: Layer already exists [2023-01-03T18:09:31.332Z] 3f6d72410b29: Layer already exists [2023-01-03T18:09:31.332Z] aae295f12bfc: Layer already exists [2023-01-03T18:09:31.332Z] e4dcee5531d5: Layer already exists [2023-01-03T18:09:31.332Z] 9d7500956c58: Layer already exists [2023-01-03T18:09:31.332Z] 3.0.0-dev.2: digest: sha256:52b8f886386b888d4e54acedee990c5563ed9791ae714bcea7ffbaf7d090e7f9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:31.638Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:31.947Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 [2023-01-03T18:09:31.947Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-01-03T18:09:31.947Z] 9d7500956c58: Preparing [2023-01-03T18:09:31.947Z] aae295f12bfc: Preparing [2023-01-03T18:09:31.947Z] 3f6d72410b29: Preparing [2023-01-03T18:09:31.947Z] e4dcee5531d5: Preparing [2023-01-03T18:09:31.947Z] e5e13b0c77cb: Preparing [2023-01-03T18:09:31.947Z] e5e13b0c77cb: Layer already exists [2023-01-03T18:09:31.947Z] 9d7500956c58: Layer already exists [2023-01-03T18:09:31.947Z] aae295f12bfc: Layer already exists [2023-01-03T18:09:31.947Z] 3f6d72410b29: Layer already exists [2023-01-03T18:09:31.947Z] e4dcee5531d5: Layer already exists [2023-01-03T18:09:31.947Z] dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2: digest: sha256:52b8f886386b888d4e54acedee990c5563ed9791ae714bcea7ffbaf7d090e7f9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:32.262Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:32.571Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-01-03T18:09:32.571Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-01-03T18:09:32.571Z] 9d7500956c58: Preparing [2023-01-03T18:09:32.571Z] aae295f12bfc: Preparing [2023-01-03T18:09:32.571Z] 3f6d72410b29: Preparing [2023-01-03T18:09:32.571Z] e4dcee5531d5: Preparing [2023-01-03T18:09:32.571Z] e5e13b0c77cb: Preparing [2023-01-03T18:09:32.571Z] 3f6d72410b29: Layer already exists [2023-01-03T18:09:32.571Z] aae295f12bfc: Layer already exists [2023-01-03T18:09:32.571Z] 9d7500956c58: Layer already exists [2023-01-03T18:09:32.571Z] e5e13b0c77cb: Layer already exists [2023-01-03T18:09:32.571Z] e4dcee5531d5: Layer already exists [2023-01-03T18:09:32.571Z] main: digest: sha256:52b8f886386b888d4e54acedee990c5563ed9791ae714bcea7ffbaf7d090e7f9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-03T18:09:32.622Z] ===================================================== [Pipeline] echo [2023-01-03T18:09:32.629Z] taggedImages: [2023-01-03T18:09:32.629Z] - nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e [2023-01-03T18:09:32.629Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-01-03T18:09:32.629Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.2 [2023-01-03T18:09:32.629Z] - nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 [2023-01-03T18:09:32.629Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:33.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:09:33.003Z] [2023-01-03T18:09:33.003Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:09:33.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:09:33.304Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T18:09:33.304Z] 5eb5b503b376: Pulling fs layer [2023-01-03T18:09:33.304Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T18:09:33.304Z] ec43610c2a17: Pulling fs layer [2023-01-03T18:09:33.304Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T18:09:33.304Z] 33b1e0a273af: Pulling fs layer [2023-01-03T18:09:33.304Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T18:09:33.304Z] 2f39f015ded8: Pulling fs layer [2023-01-03T18:09:33.304Z] 33b1e0a273af: Waiting [2023-01-03T18:09:33.304Z] 5d3b04190fa2: Waiting [2023-01-03T18:09:33.304Z] 2f39f015ded8: Waiting [2023-01-03T18:09:33.304Z] 3a2ae6a8a46f: Waiting [2023-01-03T18:09:33.304Z] 5c69ac0246d0: Verifying Checksum [2023-01-03T18:09:33.304Z] 5c69ac0246d0: Download complete [2023-01-03T18:09:33.304Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-03T18:09:33.304Z] 3a2ae6a8a46f: Download complete [2023-01-03T18:09:33.304Z] 33b1e0a273af: Verifying Checksum [2023-01-03T18:09:33.304Z] 33b1e0a273af: Download complete [2023-01-03T18:09:33.304Z] 5d3b04190fa2: Verifying Checksum [2023-01-03T18:09:33.304Z] 5d3b04190fa2: Download complete [2023-01-03T18:09:33.563Z] ec43610c2a17: Verifying Checksum [2023-01-03T18:09:33.564Z] ec43610c2a17: Download complete [2023-01-03T18:09:33.564Z] 5eb5b503b376: Verifying Checksum [2023-01-03T18:09:33.564Z] 5eb5b503b376: Download complete [2023-01-03T18:09:34.130Z] 2f39f015ded8: Download complete [2023-01-03T18:09:34.693Z] 5eb5b503b376: Pull complete [2023-01-03T18:09:34.953Z] 5c69ac0246d0: Pull complete [2023-01-03T18:09:35.214Z] ec43610c2a17: Pull complete [2023-01-03T18:09:35.214Z] 3a2ae6a8a46f: Pull complete [2023-01-03T18:09:35.473Z] 33b1e0a273af: Pull complete [2023-01-03T18:09:35.473Z] 5d3b04190fa2: Pull complete [2023-01-03T18:09:39.656Z] 2f39f015ded8: Pull complete [2023-01-03T18:09:39.656Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T18:09:39.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:09:39.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:09:39.736Z] prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container [2023-01-03T18:09:39.766Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T18:09:41.348Z] $ docker top 2ee683c5bc490581fc1bfabd3a52000145eac45ba05c5139113465e1cf85a733 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:09:41.715Z] ---> job-cost.sh [2023-01-03T18:09:41.715Z] lf-activate-venv: SKIPPING [2023-01-03T18:09:41.715Z] INFO: No Stack... [2023-01-03T18:09:41.973Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:09:42.542Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:09:42.834Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-01-03T18:09:42.835Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T18:09:42.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] [2023-01-03T18:09:42.856Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] did not exist. Created. [2023-01-03T18:09:42.856Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:09:43.160Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T18:09:43.197Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:09:43.203Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:09:43.225Z] $ docker stop --time=1 2ee683c5bc490581fc1bfabd3a52000145eac45ba05c5139113465e1cf85a733 [2023-01-03T18:09:44.385Z] $ docker rm -f --volumes 2ee683c5bc490581fc1bfabd3a52000145eac45ba05c5139113465e1cf85a733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T18:10:53.418Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-925 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-01-03T18:10:53.430Z] Running in /w/workspace/device-virtual-go/73 [Pipeline] { [Pipeline] checkout [2023-01-03T18:10:53.468Z] The recommended git tool is: git [2023-01-03T18:10:59.617Z] using credential edgex-jenkins-ssh [2023-01-03T18:10:59.635Z] Cloning the remote Git repository [2023-01-03T18:10:59.702Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-01-03T18:10:59.802Z] > git init /w/workspace/device-virtual-go/73 # timeout=10 [2023-01-03T18:11:00.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-03T18:11:00.006Z] > git --version # timeout=10 [2023-01-03T18:11:00.028Z] > git --version # 'git version 2.25.1' [2023-01-03T18:11:00.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:11:00.103Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T18:11:02.186Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-03T18:11:02.219Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T18:11:03.199Z] Avoid second fetch [2023-01-03T18:11:03.199Z] Checking out Revision dd725dc5af4dc794521be28a3a3263c7b7e9f65e (main) [2023-01-03T18:11:03.220Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T18:11:03.237Z] > git checkout -f dd725dc5af4dc794521be28a3a3263c7b7e9f65e # timeout=10 [2023-01-03T18:11:03.772Z] Commit message: "refactor!: Rename command line flags for the sake of consistency (#323)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:11:04.675Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T18:11:04.675Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:11:04.675Z] Dload Upload Total Spent Left Speed [2023-01-03T18:11:04.675Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-01-03T18:11:05.342Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T18:11:05.697Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-01-03T18:11:05.697Z] /etc/docker/daemon.json [2023-01-03T18:11:05.697Z] { [2023-01-03T18:11:05.697Z] "registry-mirrors": [ [2023-01-03T18:11:05.697Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T18:11:05.697Z] ], [2023-01-03T18:11:05.697Z] "bip": "10.250.0.254/24", [2023-01-03T18:11:05.697Z] "hosts": [ [2023-01-03T18:11:05.697Z] "tcp://0.0.0.0:5555", [2023-01-03T18:11:05.697Z] "unix:///var/run/docker.sock" [2023-01-03T18:11:05.697Z] ], [2023-01-03T18:11:05.697Z] "mtu": 1458, [2023-01-03T18:11:05.697Z] "selinux-enabled": true, [2023-01-03T18:11:05.697Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T18:11:05.697Z] } [Pipeline] sh [2023-01-03T18:11:06.035Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T18:11:06.376Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:11:24.660Z] provisioning config files... [2023-01-03T18:11:24.691Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/73@tmp/config4680213431219292549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:11:25.059Z] ---> docker-login.sh [2023-01-03T18:11:25.059Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:11:25.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:11:25.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:11:25.650Z] Configure a credential helper to remove this warning. See [2023-01-03T18:11:25.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:11:25.650Z] [2023-01-03T18:11:25.650Z] Login Succeeded [2023-01-03T18:11:25.650Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:11:25.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:11:26.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:11:26.192Z] Configure a credential helper to remove this warning. See [2023-01-03T18:11:26.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:11:26.192Z] [2023-01-03T18:11:26.192Z] Login Succeeded [2023-01-03T18:11:26.192Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:11:26.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:11:26.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:11:26.468Z] Configure a credential helper to remove this warning. See [2023-01-03T18:11:26.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:11:26.468Z] [2023-01-03T18:11:26.468Z] Login Succeeded [2023-01-03T18:11:26.468Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:11:26.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:11:27.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:11:27.015Z] Configure a credential helper to remove this warning. See [2023-01-03T18:11:27.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:11:27.015Z] [2023-01-03T18:11:27.015Z] Login Succeeded [2023-01-03T18:11:27.015Z] docker.io [2023-01-03T18:11:27.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:11:27.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:11:27.288Z] Configure a credential helper to remove this warning. See [2023-01-03T18:11:27.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:11:27.288Z] [2023-01-03T18:11:27.288Z] Login Succeeded [2023-01-03T18:11:27.559Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:11:27.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T18:11:27.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:11:27.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:11:27.882Z] ========================================================= [2023-01-03T18:11:27.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T18:11:27.882Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:11:28.241Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-03T18:11:28.515Z] Sending build context to Docker daemon 11.8MB [2023-01-03T18:11:28.787Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:11:28.787Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-03T18:11:28.787Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T18:11:28.787Z] 9b18e9b68314: Pulling fs layer [2023-01-03T18:11:28.787Z] 35d82f9e3411: Pulling fs layer [2023-01-03T18:11:28.787Z] e16973657156: Pulling fs layer [2023-01-03T18:11:28.787Z] fc693d55d65f: Pulling fs layer [2023-01-03T18:11:28.787Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T18:11:28.787Z] dda99020689f: Pulling fs layer [2023-01-03T18:11:28.787Z] db1c61fa0a46: Pulling fs layer [2023-01-03T18:11:28.787Z] 891c053d2c06: Pulling fs layer [2023-01-03T18:11:28.787Z] dda99020689f: Waiting [2023-01-03T18:11:28.787Z] db1c61fa0a46: Waiting [2023-01-03T18:11:28.787Z] 891c053d2c06: Waiting [2023-01-03T18:11:28.787Z] fc693d55d65f: Waiting [2023-01-03T18:11:28.787Z] 7e9fc2657dce: Waiting [2023-01-03T18:11:28.787Z] e16973657156: Verifying Checksum [2023-01-03T18:11:28.787Z] e16973657156: Download complete [2023-01-03T18:11:28.787Z] 35d82f9e3411: Download complete [2023-01-03T18:11:29.059Z] 7e9fc2657dce: Verifying Checksum [2023-01-03T18:11:29.059Z] 7e9fc2657dce: Download complete [2023-01-03T18:11:29.059Z] dda99020689f: Verifying Checksum [2023-01-03T18:11:29.059Z] dda99020689f: Download complete [2023-01-03T18:11:29.059Z] 9b18e9b68314: Verifying Checksum [2023-01-03T18:11:29.059Z] 9b18e9b68314: Download complete [2023-01-03T18:11:30.041Z] 9b18e9b68314: Pull complete [2023-01-03T18:11:30.041Z] 891c053d2c06: Verifying Checksum [2023-01-03T18:11:30.041Z] 891c053d2c06: Download complete [2023-01-03T18:11:30.645Z] 35d82f9e3411: Pull complete [2023-01-03T18:11:30.921Z] e16973657156: Pull complete [2023-01-03T18:11:31.191Z] db1c61fa0a46: Download complete [2023-01-03T18:11:31.783Z] fc693d55d65f: Download complete [2023-01-03T18:11:44.135Z] fc693d55d65f: Pull complete [2023-01-03T18:11:44.135Z] 7e9fc2657dce: Pull complete [2023-01-03T18:11:44.135Z] dda99020689f: Pull complete [2023-01-03T18:11:49.493Z] db1c61fa0a46: Pull complete [2023-01-03T18:11:51.463Z] 891c053d2c06: Pull complete [2023-01-03T18:11:51.463Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T18:11:51.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T18:11:51.463Z] ---> f96f9c87975a [2023-01-03T18:11:51.463Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:11:53.433Z] ---> Running in 98c985c1f1c2 [2023-01-03T18:11:53.707Z] Removing intermediate container 98c985c1f1c2 [2023-01-03T18:11:53.707Z] ---> fe467da48df3 [2023-01-03T18:11:53.707Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:11:53.988Z] ---> Running in a17140c07892 [2023-01-03T18:11:54.258Z] Removing intermediate container a17140c07892 [2023-01-03T18:11:54.258Z] ---> 9b7d077894d7 [2023-01-03T18:11:54.258Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:11:54.258Z] ---> Running in 16dd5c104909 [2023-01-03T18:11:54.540Z] Removing intermediate container 16dd5c104909 [2023-01-03T18:11:54.540Z] ---> 02914e363788 [2023-01-03T18:11:54.540Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-03T18:11:54.540Z] ---> Running in 5c182efd29e6 [2023-01-03T18:11:55.129Z] Removing intermediate container 5c182efd29e6 [2023-01-03T18:11:55.129Z] ---> 7206cecf4a8c [2023-01-03T18:11:55.129Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:11:55.129Z] ---> Running in c47f302387dc [2023-01-03T18:11:56.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:11:56.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:11:57.744Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T18:11:57.744Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-03T18:11:57.744Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T18:11:57.744Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T18:11:57.744Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:11:57.744Z] OK: 226 MiB in 55 packages [2023-01-03T18:11:58.743Z] Removing intermediate container c47f302387dc [2023-01-03T18:11:58.743Z] ---> f433420338f3 [2023-01-03T18:11:58.743Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-03T18:11:59.357Z] ---> 7ab35b984751 [2023-01-03T18:11:59.357Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:11:59.628Z] ---> Running in 1314915cefa2 [2023-01-03T18:12:56.119Z] Removing intermediate container 1314915cefa2 [2023-01-03T18:12:56.119Z] ---> d9ae3086367a [2023-01-03T18:12:56.119Z] Step 10/12 : COPY . . [2023-01-03T18:12:56.710Z] ---> 499bfdc51cba [2023-01-03T18:12:56.711Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:12:56.711Z] ---> Running in 21099abead6a [2023-01-03T18:12:56.984Z] Removing intermediate container 21099abead6a [2023-01-03T18:12:56.984Z] ---> 883c9284d336 [2023-01-03T18:12:56.984Z] Step 12/12 : RUN $MAKE [2023-01-03T18:12:56.984Z] ---> Running in f46170ca120a [2023-01-03T18:12:57.955Z] noop [2023-01-03T18:12:58.553Z] Removing intermediate container f46170ca120a [2023-01-03T18:12:58.553Z] ---> b0a3d3092b7e [2023-01-03T18:12:58.553Z] Successfully built b0a3d3092b7e [2023-01-03T18:12:58.553Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:12:59.187Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T18:12:59.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:12:59.392Z] prd-ubuntu20.04-docker-arm64-4c-16g-925 does not seem to be running inside a container [2023-01-03T18:12:59.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/73 -v /w/workspace/device-virtual-go/73:/w/workspace/device-virtual-go/73:rw,z -v /w/workspace/device-virtual-go/73@tmp:/w/workspace/device-virtual-go/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T18:13:00.732Z] $ docker top f3a2ace20f7ef597ab78f1175bc3223ed766c107204768a949d9b924881ed0c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:13:01.590Z] + go version [2023-01-03T18:13:01.591Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T18:13:01.614Z] $ docker stop --time=1 f3a2ace20f7ef597ab78f1175bc3223ed766c107204768a949d9b924881ed0c2 [2023-01-03T18:13:03.298Z] $ docker rm -f --volumes f3a2ace20f7ef597ab78f1175bc3223ed766c107204768a949d9b924881ed0c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:13:03.883Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T18:13:03.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:13:04.092Z] prd-ubuntu20.04-docker-arm64-4c-16g-925 does not seem to be running inside a container [2023-01-03T18:13:04.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/73 -v /w/workspace/device-virtual-go/73:/w/workspace/device-virtual-go/73:rw,z -v /w/workspace/device-virtual-go/73@tmp:/w/workspace/device-virtual-go/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T18:13:05.427Z] $ docker top e9ed87bedbbffa45886120520d15d069dedd0358b6a7f88b0974a99f54bb2a64 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:13:06.281Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/73 [Pipeline] fileExists [Pipeline] sh [2023-01-03T18:13:06.938Z] + make test [2023-01-03T18:13:06.938Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-03T18:13:08.354Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-03T18:14:45.071Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-03T18:14:45.071Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements [2023-01-03T18:14:45.071Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T18:14:45.071Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T18:15:00.103Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T18:15:00.103Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T18:15:00.103Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T18:15:00.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T18:15:00.137Z] $ docker stop --time=1 e9ed87bedbbffa45886120520d15d069dedd0358b6a7f88b0974a99f54bb2a64 [2023-01-03T18:15:02.031Z] $ docker rm -f --volumes e9ed87bedbbffa45886120520d15d069dedd0358b6a7f88b0974a99f54bb2a64 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:15:03.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T18:15:03.049Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T18:15:03.630Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:15:04.011Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T18:15:04.348Z] + ls -al . [2023-01-03T18:15:04.348Z] total 200 [2023-01-03T18:15:04.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:13 . [2023-01-03T18:15:04.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:11 .. [2023-01-03T18:15:04.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:11 .git [2023-01-03T18:15:04.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:11 .github [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 18:11 .gitignore [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:11 .golangci.yml [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 18:11 Attribution.txt [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 18:11 CHANGELOG.md [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 18:11 Dockerfile [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:11 GOVERNANCE.md [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 18:11 Jenkinsfile [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:11 LICENSE [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 18:11 Makefile [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 18:11 OWNERS.md [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 18:11 README.md [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 18:08 VERSION [2023-01-03T18:15:04.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:11 bin [2023-01-03T18:15:04.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:11 cmd [2023-01-03T18:15:04.348Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 18:14 coverage.out [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 18:11 go.mod [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 18:11 go.sum [2023-01-03T18:15:04.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:11 internal [2023-01-03T18:15:04.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:11 snap [2023-01-03T18:15:04.348Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 18:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:15:04.718Z] + 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=dd725dc5af4dc794521be28a3a3263c7b7e9f65e --label arch=arm64 --label version=3.0.0-dev.2 . [2023-01-03T18:15:05.313Z] Sending build context to Docker daemon 11.85MB [2023-01-03T18:15:05.313Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:15:05.313Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-03T18:15:05.313Z] ---> b0a3d3092b7e [2023-01-03T18:15:05.314Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:15:05.587Z] ---> Running in a4e8dc4d0d05 [2023-01-03T18:15:05.856Z] Removing intermediate container a4e8dc4d0d05 [2023-01-03T18:15:05.856Z] ---> 2b32596ef703 [2023-01-03T18:15:05.856Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:15:05.856Z] ---> Running in 644942f29239 [2023-01-03T18:15:06.125Z] Removing intermediate container 644942f29239 [2023-01-03T18:15:06.125Z] ---> b6bd59325eaf [2023-01-03T18:15:06.125Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:15:06.400Z] ---> Running in c8949d3d0219 [2023-01-03T18:15:06.676Z] Removing intermediate container c8949d3d0219 [2023-01-03T18:15:06.676Z] ---> 6f658f7c607d [2023-01-03T18:15:06.676Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-03T18:15:06.676Z] ---> Running in 250e0d51a0b4 [2023-01-03T18:15:07.264Z] Removing intermediate container 250e0d51a0b4 [2023-01-03T18:15:07.264Z] ---> ddfc54535070 [2023-01-03T18:15:07.264Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:15:07.264Z] ---> Running in 3d922625d1b9 [2023-01-03T18:15:09.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:15:10.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:15:11.547Z] OK: 226 MiB in 55 packages [2023-01-03T18:15:12.133Z] Removing intermediate container 3d922625d1b9 [2023-01-03T18:15:12.133Z] ---> 537b04eff18b [2023-01-03T18:15:12.133Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-03T18:15:12.729Z] ---> dcd320b6d939 [2023-01-03T18:15:12.729Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:15:12.729Z] ---> Running in 867b697f9197 [2023-01-03T18:15:15.322Z] Removing intermediate container 867b697f9197 [2023-01-03T18:15:15.322Z] ---> ddcfd97ec426 [2023-01-03T18:15:15.322Z] Step 10/25 : COPY . . [2023-01-03T18:15:16.293Z] ---> 47d730ab2620 [2023-01-03T18:15:16.293Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:15:16.293Z] ---> Running in 4a5b3a267de7 [2023-01-03T18:15:16.884Z] Removing intermediate container 4a5b3a267de7 [2023-01-03T18:15:16.884Z] ---> b7f4cfc35a66 [2023-01-03T18:15:16.884Z] Step 12/25 : RUN $MAKE [2023-01-03T18:15:16.884Z] ---> Running in ba54a29a4e25 [2023-01-03T18:15:17.849Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2023-01-03T18:18:09.659Z] Removing intermediate container ba54a29a4e25 [2023-01-03T18:18:09.659Z] ---> 02f1cd294cd8 [2023-01-03T18:18:09.659Z] Step 13/25 : FROM alpine:3.16 [2023-01-03T18:18:09.659Z] 3.16: Pulling from library/alpine [2023-01-03T18:18:09.659Z] 6875df1f5354: Pulling fs layer [2023-01-03T18:18:09.659Z] 6875df1f5354: Verifying Checksum [2023-01-03T18:18:09.659Z] 6875df1f5354: Download complete [2023-01-03T18:18:09.659Z] 6875df1f5354: Pull complete [2023-01-03T18:18:09.659Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T18:18:09.659Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T18:18:09.659Z] ---> 2b4661558fb8 [2023-01-03T18:18:09.659Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-03T18:18:09.659Z] ---> Running in abd2158d3550 [2023-01-03T18:18:09.659Z] Removing intermediate container abd2158d3550 [2023-01-03T18:18:09.659Z] ---> d78ce5428275 [2023-01-03T18:18:09.659Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:18:09.659Z] ---> Running in b49e503a195b [2023-01-03T18:18:09.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:18:09.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:18:09.659Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:18:09.659Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T18:18:09.659Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:18:09.659Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T18:18:09.659Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:18:09.659Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:18:09.659Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:18:09.659Z] OK: 8 MiB in 20 packages [2023-01-03T18:18:09.659Z] Removing intermediate container b49e503a195b [2023-01-03T18:18:09.659Z] ---> 74f8cec9b767 [2023-01-03T18:18:09.659Z] Step 16/25 : WORKDIR / [2023-01-03T18:18:09.659Z] ---> Running in 7287a020563d [2023-01-03T18:18:09.659Z] Removing intermediate container 7287a020563d [2023-01-03T18:18:09.659Z] ---> 490539046aed [2023-01-03T18:18:09.659Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-03T18:18:09.659Z] ---> 9c40dadd8e54 [2023-01-03T18:18:09.659Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-03T18:18:09.659Z] ---> 3fd2ffbe4ba2 [2023-01-03T18:18:09.659Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-03T18:18:09.659Z] ---> 42e1d5f35352 [2023-01-03T18:18:09.659Z] Step 20/25 : EXPOSE 59900 [2023-01-03T18:18:09.659Z] ---> Running in cc2a9e17cf4b [2023-01-03T18:18:09.659Z] Removing intermediate container cc2a9e17cf4b [2023-01-03T18:18:09.659Z] ---> 664fdd990c51 [2023-01-03T18:18:09.659Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-03T18:18:09.659Z] ---> Running in 8fbbf10bf1e6 [2023-01-03T18:18:09.659Z] Removing intermediate container 8fbbf10bf1e6 [2023-01-03T18:18:09.659Z] ---> 89311c4238e4 [2023-01-03T18:18:09.659Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T18:18:09.659Z] ---> Running in 03affe0b87cc [2023-01-03T18:18:09.659Z] Removing intermediate container 03affe0b87cc [2023-01-03T18:18:09.659Z] ---> d204b059ca10 [2023-01-03T18:18:09.659Z] Step 23/25 : LABEL arch=arm64 [2023-01-03T18:18:09.659Z] ---> Running in 7669b2b2507e [2023-01-03T18:18:09.659Z] Removing intermediate container 7669b2b2507e [2023-01-03T18:18:09.659Z] ---> cec1f5142108 [2023-01-03T18:18:09.659Z] Step 24/25 : LABEL git_sha=dd725dc5af4dc794521be28a3a3263c7b7e9f65e [2023-01-03T18:18:09.659Z] ---> Running in 6959315d53cc [2023-01-03T18:18:09.659Z] Removing intermediate container 6959315d53cc [2023-01-03T18:18:09.659Z] ---> 6a4e3e907a62 [2023-01-03T18:18:09.659Z] Step 25/25 : LABEL version=3.0.0-dev.2 [2023-01-03T18:18:09.659Z] ---> Running in 04059de55814 [2023-01-03T18:18:09.659Z] Removing intermediate container 04059de55814 [2023-01-03T18:18:09.659Z] ---> 02e679f5dce3 [2023-01-03T18:18:09.659Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:18:09.659Z] Successfully built 02e679f5dce3 [2023-01-03T18:18:09.659Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:18:09.779Z] provisioning config files... [2023-01-03T18:18:09.795Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/73@tmp/config8850081459162738512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:18:10.140Z] ---> docker-login.sh [2023-01-03T18:18:10.140Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:18:10.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:18:10.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:18:10.409Z] Configure a credential helper to remove this warning. See [2023-01-03T18:18:10.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:18:10.409Z] [2023-01-03T18:18:10.409Z] Login Succeeded [2023-01-03T18:18:10.409Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:18:10.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:18:10.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:18:10.676Z] Configure a credential helper to remove this warning. See [2023-01-03T18:18:10.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:18:10.676Z] [2023-01-03T18:18:10.676Z] Login Succeeded [2023-01-03T18:18:10.676Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:18:10.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:18:11.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:18:11.215Z] Configure a credential helper to remove this warning. See [2023-01-03T18:18:11.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:18:11.215Z] [2023-01-03T18:18:11.215Z] Login Succeeded [2023-01-03T18:18:11.215Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:18:11.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:18:11.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:18:11.481Z] Configure a credential helper to remove this warning. See [2023-01-03T18:18:11.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:18:11.481Z] [2023-01-03T18:18:11.481Z] Login Succeeded [2023-01-03T18:18:11.481Z] docker.io [2023-01-03T18:18:11.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:18:12.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:18:12.075Z] Configure a credential helper to remove this warning. See [2023-01-03T18:18:12.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:18:12.075Z] [2023-01-03T18:18:12.075Z] Login Succeeded [2023-01-03T18:18:12.075Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:18:12.093Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-03T18:18:12.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:18:12.147Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-01-03T18:18:12.147Z] dd725dc5af4dc794521be28a3a3263c7b7e9f65e [2023-01-03T18:18:12.147Z] latest [2023-01-03T18:18:12.147Z] 3.0.0-dev.2 [2023-01-03T18:18:12.147Z] dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 [2023-01-03T18:18:12.147Z] main [2023-01-03T18:18:12.147Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:12.515Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:12.935Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e [2023-01-03T18:18:12.936Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-01-03T18:18:12.936Z] a8a779c0da64: Preparing [2023-01-03T18:18:12.936Z] bd72c4c7040a: Preparing [2023-01-03T18:18:12.936Z] 8289f97085ec: Preparing [2023-01-03T18:18:12.936Z] 59c6b1841887: Preparing [2023-01-03T18:18:12.936Z] 17bec77d7fdc: Preparing [2023-01-03T18:18:12.936Z] 17bec77d7fdc: Layer already exists [2023-01-03T18:18:13.228Z] 8289f97085ec: Pushed [2023-01-03T18:18:13.228Z] bd72c4c7040a: Pushed [2023-01-03T18:18:14.093Z] 59c6b1841887: Pushed [2023-01-03T18:18:19.444Z] a8a779c0da64: Pushed [2023-01-03T18:18:19.444Z] dd725dc5af4dc794521be28a3a3263c7b7e9f65e: digest: sha256:c35660b065b031e7df627545a9098138dbd2455e1805b4c1c8bf8006371d5174 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:19.805Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:20.163Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-01-03T18:18:20.163Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-01-03T18:18:20.163Z] a8a779c0da64: Preparing [2023-01-03T18:18:20.163Z] bd72c4c7040a: Preparing [2023-01-03T18:18:20.163Z] 8289f97085ec: Preparing [2023-01-03T18:18:20.163Z] 59c6b1841887: Preparing [2023-01-03T18:18:20.163Z] 17bec77d7fdc: Preparing [2023-01-03T18:18:20.163Z] bd72c4c7040a: Layer already exists [2023-01-03T18:18:20.163Z] 59c6b1841887: Layer already exists [2023-01-03T18:18:20.163Z] a8a779c0da64: Layer already exists [2023-01-03T18:18:20.163Z] 17bec77d7fdc: Layer already exists [2023-01-03T18:18:20.163Z] 8289f97085ec: Layer already exists [2023-01-03T18:18:20.429Z] latest: digest: sha256:c35660b065b031e7df627545a9098138dbd2455e1805b4c1c8bf8006371d5174 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:20.771Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:21.118Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.2 [2023-01-03T18:18:21.118Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-01-03T18:18:21.118Z] a8a779c0da64: Preparing [2023-01-03T18:18:21.118Z] bd72c4c7040a: Preparing [2023-01-03T18:18:21.118Z] 8289f97085ec: Preparing [2023-01-03T18:18:21.118Z] 59c6b1841887: Preparing [2023-01-03T18:18:21.118Z] 17bec77d7fdc: Preparing [2023-01-03T18:18:21.118Z] 59c6b1841887: Layer already exists [2023-01-03T18:18:21.118Z] a8a779c0da64: Layer already exists [2023-01-03T18:18:21.118Z] 17bec77d7fdc: Layer already exists [2023-01-03T18:18:21.118Z] 8289f97085ec: Layer already exists [2023-01-03T18:18:21.118Z] bd72c4c7040a: Layer already exists [2023-01-03T18:18:21.118Z] 3.0.0-dev.2: digest: sha256:c35660b065b031e7df627545a9098138dbd2455e1805b4c1c8bf8006371d5174 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:21.465Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:21.805Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 [2023-01-03T18:18:21.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-01-03T18:18:21.805Z] a8a779c0da64: Preparing [2023-01-03T18:18:21.805Z] bd72c4c7040a: Preparing [2023-01-03T18:18:21.805Z] 8289f97085ec: Preparing [2023-01-03T18:18:21.805Z] 59c6b1841887: Preparing [2023-01-03T18:18:21.805Z] 17bec77d7fdc: Preparing [2023-01-03T18:18:21.805Z] a8a779c0da64: Layer already exists [2023-01-03T18:18:21.805Z] 17bec77d7fdc: Layer already exists [2023-01-03T18:18:21.805Z] 8289f97085ec: Layer already exists [2023-01-03T18:18:21.805Z] bd72c4c7040a: Layer already exists [2023-01-03T18:18:21.805Z] 59c6b1841887: Layer already exists [2023-01-03T18:18:21.805Z] dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2: digest: sha256:c35660b065b031e7df627545a9098138dbd2455e1805b4c1c8bf8006371d5174 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:22.155Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:22.508Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-01-03T18:18:22.508Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-01-03T18:18:22.508Z] a8a779c0da64: Preparing [2023-01-03T18:18:22.508Z] bd72c4c7040a: Preparing [2023-01-03T18:18:22.508Z] 8289f97085ec: Preparing [2023-01-03T18:18:22.508Z] 59c6b1841887: Preparing [2023-01-03T18:18:22.508Z] 17bec77d7fdc: Preparing [2023-01-03T18:18:22.508Z] 17bec77d7fdc: Layer already exists [2023-01-03T18:18:22.508Z] a8a779c0da64: Layer already exists [2023-01-03T18:18:22.508Z] 8289f97085ec: Layer already exists [2023-01-03T18:18:22.508Z] 59c6b1841887: Layer already exists [2023-01-03T18:18:22.508Z] bd72c4c7040a: Layer already exists [2023-01-03T18:18:22.775Z] main: digest: sha256:c35660b065b031e7df627545a9098138dbd2455e1805b4c1c8bf8006371d5174 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-03T18:18:22.820Z] ===================================================== [Pipeline] echo [2023-01-03T18:18:22.827Z] taggedImages: [2023-01-03T18:18:22.827Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e [2023-01-03T18:18:22.827Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-01-03T18:18:22.827Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.2 [2023-01-03T18:18:22.827Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 [2023-01-03T18:18:22.827Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:23.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:18:23.196Z] [2023-01-03T18:18:23.196Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:23.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:18:23.816Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T18:18:23.816Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T18:18:23.816Z] 04944245beec: Pulling fs layer [2023-01-03T18:18:23.816Z] 699f458cf7ca: Pulling fs layer [2023-01-03T18:18:23.816Z] 765212b225bb: Pulling fs layer [2023-01-03T18:18:23.816Z] f23df028b6ca: Pulling fs layer [2023-01-03T18:18:23.816Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T18:18:23.816Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T18:18:23.816Z] f23df028b6ca: Waiting [2023-01-03T18:18:23.816Z] d65c8cfc05b1: Waiting [2023-01-03T18:18:23.816Z] 2437ff75d9bd: Waiting [2023-01-03T18:18:23.816Z] 765212b225bb: Waiting [2023-01-03T18:18:23.816Z] 04944245beec: Verifying Checksum [2023-01-03T18:18:23.816Z] 04944245beec: Download complete [2023-01-03T18:18:23.816Z] 765212b225bb: Download complete [2023-01-03T18:18:24.090Z] f23df028b6ca: Verifying Checksum [2023-01-03T18:18:24.090Z] f23df028b6ca: Download complete [2023-01-03T18:18:24.090Z] d65c8cfc05b1: Verifying Checksum [2023-01-03T18:18:24.090Z] d65c8cfc05b1: Download complete [2023-01-03T18:18:24.090Z] 699f458cf7ca: Verifying Checksum [2023-01-03T18:18:24.090Z] 699f458cf7ca: Download complete [2023-01-03T18:18:24.361Z] 8998bd30e6a1: Verifying Checksum [2023-01-03T18:18:24.361Z] 8998bd30e6a1: Download complete [2023-01-03T18:18:26.951Z] 2437ff75d9bd: Verifying Checksum [2023-01-03T18:18:26.951Z] 2437ff75d9bd: Download complete [2023-01-03T18:18:28.360Z] 8998bd30e6a1: Pull complete [2023-01-03T18:18:28.628Z] 04944245beec: Pull complete [2023-01-03T18:18:30.039Z] 699f458cf7ca: Pull complete [2023-01-03T18:18:30.039Z] 765212b225bb: Pull complete [2023-01-03T18:18:31.984Z] f23df028b6ca: Pull complete [2023-01-03T18:18:31.984Z] d65c8cfc05b1: Pull complete [2023-01-03T18:18:44.288Z] 2437ff75d9bd: Pull complete [2023-01-03T18:18:44.288Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T18:18:44.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:18:44.288Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:18:44.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-925 does not seem to be running inside a container [2023-01-03T18:18:44.587Z] $ 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/73 -v /w/workspace/device-virtual-go/73:/w/workspace/device-virtual-go/73:rw,z -v /w/workspace/device-virtual-go/73@tmp:/w/workspace/device-virtual-go/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T18:18:47.505Z] $ docker top 9d1f7aea4a1aa2ccba1883996292c298e0bdd8f42a5f3ca7ff461a8854fa2184 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:18:48.349Z] ---> job-cost.sh [2023-01-03T18:18:48.349Z] lf-activate-venv: SKIPPING [2023-01-03T18:18:48.349Z] INFO: No Stack... [2023-01-03T18:18:48.617Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T18:18:49.578Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:18:49.903Z] + cat /w/workspace/device-virtual-go/73/archives/cost.csv [2023-01-03T18:18:49.903Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T18:18:50.204Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] [2023-01-03T18:18:50.209Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] did not exist. Created. [2023-01-03T18:18:50.209Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:18:50.552Z] /w/workspace/device-virtual-go/73@tmp/durable-305fba86/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T18:18:51.152Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T18:18:51.169Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T18:18:51.223Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:18:51.238Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:18:51.256Z] $ docker stop --time=1 9d1f7aea4a1aa2ccba1883996292c298e0bdd8f42a5f3ca7ff461a8854fa2184 [2023-01-03T18:18:52.761Z] $ docker rm -f --volumes 9d1f7aea4a1aa2ccba1883996292c298e0bdd8f42a5f3ca7ff461a8854fa2184 [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 [2023-01-03T18:18:53.108Z] provisioning config files... [2023-01-03T18:18:53.115Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3210182596043946789tmp [Pipeline] { [Pipeline] sh [2023-01-03T18:18:53.405Z] + set +x [2023-01-03T18:18:53.405Z] + curl -s https://codecov.io/bash [2023-01-03T18:18:53.405Z] + bash -s -- [2023-01-03T18:18:53.405Z] [2023-01-03T18:18:53.405Z] _____ _ [2023-01-03T18:18:53.405Z] / ____| | | [2023-01-03T18:18:53.405Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T18:18:53.405Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T18:18:53.405Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T18:18:53.405Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T18:18:53.405Z] Bash-1.0.6 [2023-01-03T18:18:53.405Z] [2023-01-03T18:18:53.405Z] [2023-01-03T18:18:53.405Z] ==> git version 2.25.1 found [2023-01-03T18:18:53.405Z] ==> 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 [2023-01-03T18:18:53.405Z] Release-Date: 2020-01-08 [2023-01-03T18:18:53.405Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-03T18:18:53.405Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T18:18:53.405Z] ==> Jenkins CI detected. [2023-01-03T18:18:53.405Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-01-03T18:18:53.405Z] project root: . [2023-01-03T18:18:53.405Z] --> token set from env [2023-01-03T18:18:53.405Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T18:18:53.405Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T18:18:53.405Z] ==> Python coveragepy not found [2023-01-03T18:18:53.405Z] ==> Searching for coverage reports in: [2023-01-03T18:18:53.405Z] + . [2023-01-03T18:18:53.405Z] -> Found 1 reports [2023-01-03T18:18:53.405Z] ==> Detecting git/mercurial file structure [2023-01-03T18:18:53.405Z] ==> Reading reports [2023-01-03T18:18:53.405Z] + ./coverage.out bytes=44128 [2023-01-03T18:18:53.405Z] ==> Appending adjustments [2023-01-03T18:18:53.405Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T18:18:53.664Z] + Found adjustments [2023-01-03T18:18:53.664Z] ==> Gzipping contents [2023-01-03T18:18:53.664Z] 8.0K /tmp/codecov.oJPExd.gz [2023-01-03T18:18:53.664Z] ==> Uploading reports [2023-01-03T18:18:53.664Z] url: https://codecov.io [2023-01-03T18:18:53.664Z] query: branch=main&commit=dd725dc5af4dc794521be28a3a3263c7b7e9f65e&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-03T18:18:53.664Z] -> Pinging Codecov [2023-01-03T18:18:53.664Z] 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=dd725dc5af4dc794521be28a3a3263c7b7e9f65e&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-03T18:18:53.924Z] -> Uploading to [2023-01-03T18:18:53.924Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/5E52B4B073DB2E39498172D8E973AA87/dd725dc5af4dc794521be28a3a3263c7b7e9f65e/8117c544-41e3-460b-9b73-15b9c3cd3e01.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T181853Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f1a9465875d8d3d60e7cfb0edf29cccf2004ecb835444216a48eb6939c9e99b [2023-01-03T18:18:53.924Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:18:53.924Z] Dload Upload Total Spent Left Speed [2023-01-03T18:18:54.183Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5494 0 0 100 5494 0 23279 --:--:-- --:--:-- --:--:-- 23279 [2023-01-03T18:18:54.183Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] } [2023-01-03T18:18:54.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-03T18:18:54.400Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-03T18:18:54.410Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:54.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-03T18:18:54.703Z] [2023-01-03T18:18:54.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:18:55.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-03T18:18:55.002Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-03T18:18:55.002Z] df9b9388f04a: Pulling fs layer [2023-01-03T18:18:55.002Z] 52dc419b0ee2: Pulling fs layer [2023-01-03T18:18:55.002Z] 25bc292e5bac: Pulling fs layer [2023-01-03T18:18:55.002Z] 114826534d7a: Pulling fs layer [2023-01-03T18:18:55.002Z] 4657fd5d0bcf: Pulling fs layer [2023-01-03T18:18:55.002Z] 6ad1cebc031e: Pulling fs layer [2023-01-03T18:18:55.002Z] 8a3aa393b2d8: Pulling fs layer [2023-01-03T18:18:55.002Z] 114826534d7a: Waiting [2023-01-03T18:18:55.002Z] 4657fd5d0bcf: Waiting [2023-01-03T18:18:55.002Z] 6ad1cebc031e: Waiting [2023-01-03T18:18:55.002Z] 8a3aa393b2d8: Waiting [2023-01-03T18:18:55.002Z] 25bc292e5bac: Verifying Checksum [2023-01-03T18:18:55.002Z] 25bc292e5bac: Download complete [2023-01-03T18:18:55.002Z] 52dc419b0ee2: Download complete [2023-01-03T18:18:55.002Z] 4657fd5d0bcf: Verifying Checksum [2023-01-03T18:18:55.002Z] 4657fd5d0bcf: Download complete [2023-01-03T18:18:55.002Z] df9b9388f04a: Verifying Checksum [2023-01-03T18:18:55.002Z] df9b9388f04a: Download complete [2023-01-03T18:18:55.269Z] df9b9388f04a: Pull complete [2023-01-03T18:18:55.269Z] 6ad1cebc031e: Verifying Checksum [2023-01-03T18:18:55.269Z] 6ad1cebc031e: Download complete [2023-01-03T18:18:55.269Z] 52dc419b0ee2: Pull complete [2023-01-03T18:18:55.269Z] 25bc292e5bac: Pull complete [2023-01-03T18:18:55.858Z] 114826534d7a: Verifying Checksum [2023-01-03T18:18:55.859Z] 114826534d7a: Download complete [2023-01-03T18:18:56.427Z] 8a3aa393b2d8: Verifying Checksum [2023-01-03T18:18:56.427Z] 8a3aa393b2d8: Download complete [2023-01-03T18:18:59.714Z] 114826534d7a: Pull complete [2023-01-03T18:18:59.714Z] 4657fd5d0bcf: Pull complete [2023-01-03T18:18:59.714Z] 6ad1cebc031e: Pull complete [2023-01-03T18:19:02.240Z] 8a3aa393b2d8: Pull complete [2023-01-03T18:19:02.240Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-03T18:19:02.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-03T18:19:02.240Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:19:02.325Z] prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container [2023-01-03T18:19:02.355Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-01-03T18:19:04.054Z] $ docker top fb44f8ab715d630763aa75c2ea3f4e55cdcf30493744653eb24f47bd6bfae2cd -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-03T18:19:04.113Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-01-03T18:19:04.392Z] + set -o pipefail [2023-01-03T18:19:04.393Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-01-03T18:19:12.511Z] [2023-01-03T18:19:12.511Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-01-03T18:19:12.511Z] [2023-01-03T18:19:12.511Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/d2e4c06d-5ecb-4fb4-af82-68fed49902f2 [2023-01-03T18:19:12.511Z] [2023-01-03T18:19:12.511Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-03T18:19:12.511Z] [2023-01-03T18:19:12.511Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-03T18:19:12.511Z] [2023-01-03T18:19:12.771Z] [2023-01-03T18:19:12.771Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-03T18:19:12.771Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-03T18:19:12.771Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-03T18:19:12.785Z] $ docker stop --time=1 fb44f8ab715d630763aa75c2ea3f4e55cdcf30493744653eb24f47bd6bfae2cd [2023-01-03T18:19:14.982Z] $ docker rm -f --volumes fb44f8ab715d630763aa75c2ea3f4e55cdcf30493744653eb24f47bd6bfae2cd [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 [2023-01-03T18:19:15.663Z] + git log --format=format:%s -1 dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] sh [2023-01-03T18:19:15.957Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:19:15.957Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:19:16.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:19:16.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:19:16.326Z] prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container [2023-01-03T18:19:16.355Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:19:16.719Z] $ docker top b9688384d86a0d3e82da30ff51d7b66344ab09748f9b36b5dcc59c1ac2aa6646 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:19:16.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:19:16.806Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:19:16.911Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:19:16.914Z] $ docker exec b9688384d86a0d3e82da30ff51d7b66344ab09748f9b36b5dcc59c1ac2aa6646 ssh-agent [2023-01-03T18:19:17.020Z] SSH_AUTH_SOCK=/tmp/ssh-PozMBJrTkREc/agent.31 [2023-01-03T18:19:17.020Z] SSH_AGENT_PID=37 [2023-01-03T18:19:17.025Z] Running ssh-add (command line suppressed) [2023-01-03T18:19:17.129Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_284127598394523854.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_284127598394523854.key) [2023-01-03T18:19:17.141Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:19:17.433Z] + git semver tag [2023-01-03T18:19:17.693Z] 2023-01-03 18:19:17,618 [run_tag] DEBUG tag force:False [2023-01-03T18:19:17.693Z] 2023-01-03 18:19:17,618 [check_head_tag] DEBUG check head tag [2023-01-03T18:19:17.693Z] 2023-01-03 18:19:17,619 [execute] INFO git cat-file --batch-check [2023-01-03T18:19:17.693Z] 2023-01-03 18:19:17,620 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-01-03T18:19:17.693Z] 2023-01-03 18:19:17,624 [execute] INFO git cat-file --batch [2023-01-03T18:19:17.693Z] 2023-01-03 18:19:17,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-01-03T18:19:17.693Z] 2023-01-03 18:19:17,645 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-03T18:19:17.693Z] 2023-01-03 18:19:17,645 [execute] INFO git tag -a v3.0.0-dev.2 -m v3.0.0-dev.2 [2023-01-03T18:19:17.693Z] 2023-01-03 18:19:17,645 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.2', '-m', 'v3.0.0-dev.2'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:19:17.693Z] 2023-01-03 18:19:17,650 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-03T18:19:17.693Z] 3.0.0-dev.2 [Pipeline] } [2023-01-03T18:19:17.704Z] $ docker exec --env ******** --env ******** b9688384d86a0d3e82da30ff51d7b66344ab09748f9b36b5dcc59c1ac2aa6646 ssh-agent -k [2023-01-03T18:19:17.802Z] unset SSH_AUTH_SOCK; [2023-01-03T18:19:17.803Z] unset SSH_AGENT_PID; [2023-01-03T18:19:17.803Z] echo Agent pid 37 killed; [2023-01-03T18:19:17.813Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:19:18.115Z] + git semver [Pipeline] } [2023-01-03T18:19:18.388Z] $ docker stop --time=1 b9688384d86a0d3e82da30ff51d7b66344ab09748f9b36b5dcc59c1ac2aa6646 [2023-01-03T18:19:19.694Z] $ docker rm -f --volumes b9688384d86a0d3e82da30ff51d7b66344ab09748f9b36b5dcc59c1ac2aa6646 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:19:20.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-03T18:19:20.075Z] [2023-01-03T18:19:20.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:19:20.371Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-03T18:19:20.371Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-03T18:19:20.371Z] ab5ef0e58194: Pulling fs layer [2023-01-03T18:19:20.371Z] 9712f1f96733: Pulling fs layer [2023-01-03T18:19:20.371Z] 63f879dbbcfc: Pulling fs layer [2023-01-03T18:19:20.371Z] 0d9ebad4ef96: Pulling fs layer [2023-01-03T18:19:20.371Z] e9a5061849ea: Pulling fs layer [2023-01-03T18:19:20.371Z] d747dcd14b5f: Pulling fs layer [2023-01-03T18:19:20.371Z] 2de7ff778b66: Pulling fs layer [2023-01-03T18:19:20.371Z] e9a5061849ea: Waiting [2023-01-03T18:19:20.371Z] d747dcd14b5f: Waiting [2023-01-03T18:19:20.371Z] 2de7ff778b66: Waiting [2023-01-03T18:19:20.371Z] 0d9ebad4ef96: Waiting [2023-01-03T18:19:20.371Z] 9712f1f96733: Download complete [2023-01-03T18:19:20.630Z] 63f879dbbcfc: Verifying Checksum [2023-01-03T18:19:20.630Z] 63f879dbbcfc: Download complete [2023-01-03T18:19:20.890Z] e9a5061849ea: Verifying Checksum [2023-01-03T18:19:20.890Z] e9a5061849ea: Download complete [2023-01-03T18:19:20.890Z] d747dcd14b5f: Download complete [2023-01-03T18:19:21.148Z] ab5ef0e58194: Verifying Checksum [2023-01-03T18:19:21.148Z] ab5ef0e58194: Download complete [2023-01-03T18:19:21.148Z] 0d9ebad4ef96: Verifying Checksum [2023-01-03T18:19:21.148Z] 0d9ebad4ef96: Download complete [2023-01-03T18:19:21.148Z] 2de7ff778b66: Verifying Checksum [2023-01-03T18:19:21.148Z] 2de7ff778b66: Download complete [2023-01-03T18:19:23.675Z] ab5ef0e58194: Pull complete [2023-01-03T18:19:23.675Z] 9712f1f96733: Pull complete [2023-01-03T18:19:24.242Z] 63f879dbbcfc: Pull complete [2023-01-03T18:19:27.523Z] 0d9ebad4ef96: Pull complete [2023-01-03T18:19:27.523Z] e9a5061849ea: Pull complete [2023-01-03T18:19:27.780Z] d747dcd14b5f: Pull complete [2023-01-03T18:19:28.715Z] 2de7ff778b66: Pull complete [2023-01-03T18:19:28.715Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-03T18:19:28.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-03T18:19:28.715Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:19:28.800Z] prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container [2023-01-03T18:19:28.825Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-01-03T18:19:30.915Z] $ docker top 9970011be1f0e1a00a626489b762cbb5c6797dfb1ddebdf23fc2c3bc29cf10ea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:19:30.978Z] provisioning config files... [2023-01-03T18:19:30.985Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16895982468480614186tmp [2023-01-03T18:19:30.995Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12721993778450488857tmp [2023-01-03T18:19:31.005Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9795513143990948300tmp [Pipeline] { [Pipeline] echo [2023-01-03T18:19:31.020Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:19:31.301Z] ---> sigul-configuration.sh [2023-01-03T18:19:31.302Z] gpg: directory `/root/.gnupg' created [2023-01-03T18:19:31.302Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-03T18:19:31.302Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-03T18:19:31.302Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-03T18:19:31.302Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-03T18:19:31.302Z] gpg: CAST5 encrypted data [2023-01-03T18:19:31.302Z] gpg: encrypted with 1 passphrase [2023-01-03T18:19:31.302Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-03T18:19:31.590Z] + mkdir /home/jenkins [2023-01-03T18:19:31.590Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-03T18:19:31.885Z] + 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 [2023-01-03T18:19:31.895Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:19:32.180Z] ---> sigul-install.sh [2023-01-03T18:19:32.180Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-03T18:19:32.465Z] + git tag --list [2023-01-03T18:19:32.465Z] v1.0.0 [2023-01-03T18:19:32.465Z] v1.1.0 [2023-01-03T18:19:32.465Z] v1.1.1 [2023-01-03T18:19:32.465Z] v1.2.1 [2023-01-03T18:19:32.465Z] v1.2.2 [2023-01-03T18:19:32.465Z] v1.2.3 [2023-01-03T18:19:32.465Z] v1.3.0 [2023-01-03T18:19:32.465Z] v1.3.1 [2023-01-03T18:19:32.465Z] v2.0.0 [2023-01-03T18:19:32.465Z] v2.1.0 [2023-01-03T18:19:32.465Z] v2.1.1 [2023-01-03T18:19:32.465Z] v2.1.1-dev.1 [2023-01-03T18:19:32.465Z] v2.1.1-dev.2 [2023-01-03T18:19:32.465Z] v2.2.0 [2023-01-03T18:19:32.465Z] v2.2.1-dev.1 [2023-01-03T18:19:32.465Z] v2.2.1-dev.2 [2023-01-03T18:19:32.465Z] v2.2.1-dev.3 [2023-01-03T18:19:32.465Z] v2.2.1-dev.4 [2023-01-03T18:19:32.465Z] v2.2.1-dev.5 [2023-01-03T18:19:32.465Z] v2.2.1-dev.6 [2023-01-03T18:19:32.465Z] v2.2.1-dev.7 [2023-01-03T18:19:32.465Z] v2.2.1-dev.8 [2023-01-03T18:19:32.465Z] v2.3.0 [2023-01-03T18:19:32.465Z] v2.3.0-dev.10 [2023-01-03T18:19:32.465Z] v2.3.0-dev.11 [2023-01-03T18:19:32.465Z] v2.3.0-dev.12 [2023-01-03T18:19:32.465Z] v2.3.0-dev.13 [2023-01-03T18:19:32.465Z] v2.3.0-dev.14 [2023-01-03T18:19:32.465Z] v2.3.0-dev.15 [2023-01-03T18:19:32.465Z] v2.3.0-dev.16 [2023-01-03T18:19:32.465Z] v2.3.0-dev.17 [2023-01-03T18:19:32.465Z] v2.3.0-dev.18 [2023-01-03T18:19:32.465Z] v2.3.0-dev.19 [2023-01-03T18:19:32.465Z] v2.3.0-dev.20 [2023-01-03T18:19:32.465Z] v2.3.0-dev.21 [2023-01-03T18:19:32.465Z] v2.3.0-dev.22 [2023-01-03T18:19:32.465Z] v2.3.0-dev.23 [2023-01-03T18:19:32.465Z] v2.3.0-dev.24 [2023-01-03T18:19:32.465Z] v2.3.0-dev.25 [2023-01-03T18:19:32.465Z] v2.3.0-dev.26 [2023-01-03T18:19:32.465Z] v2.3.0-dev.27 [2023-01-03T18:19:32.465Z] v2.3.0-dev.28 [2023-01-03T18:19:32.465Z] v2.3.0-dev.29 [2023-01-03T18:19:32.465Z] v2.3.0-dev.30 [2023-01-03T18:19:32.465Z] v2.3.0-dev.8 [2023-01-03T18:19:32.465Z] v2.3.0-dev.9 [2023-01-03T18:19:32.465Z] v3.0.0-dev.1 [2023-01-03T18:19:32.465Z] v3.0.0-dev.2 [Pipeline] sh [2023-01-03T18:19:32.753Z] + lftools sign git-tag v3.0.0-dev.2 [2023-01-03T18:19:33.320Z] Signing Git tag with Sigul... [2023-01-03T18:19:33.320Z] Signing v3.0.0-dev.2 [Pipeline] echo [2023-01-03T18:19:33.586Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:19:33.870Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-03T18:19:33.878Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-03T18:19:33.897Z] $ docker stop --time=1 9970011be1f0e1a00a626489b762cbb5c6797dfb1ddebdf23fc2c3bc29cf10ea [2023-01-03T18:19:35.195Z] $ docker rm -f --volumes 9970011be1f0e1a00a626489b762cbb5c6797dfb1ddebdf23fc2c3bc29cf10ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-03T18:19:35.601Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:19:35.601Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:19:35.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:19:35.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:19:35.968Z] prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container [2023-01-03T18:19:35.995Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:19:36.358Z] $ docker top eeb04da3b13f25883d2877af1cee79ffd62c6a9894ff98a64b42807c337c1583 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:19:36.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:19:36.440Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:19:36.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:19:36.544Z] $ docker exec eeb04da3b13f25883d2877af1cee79ffd62c6a9894ff98a64b42807c337c1583 ssh-agent [2023-01-03T18:19:36.653Z] SSH_AUTH_SOCK=/tmp/ssh-adFbItD9kk5t/agent.31 [2023-01-03T18:19:36.653Z] SSH_AGENT_PID=37 [2023-01-03T18:19:36.658Z] Running ssh-add (command line suppressed) [2023-01-03T18:19:36.754Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2809557437079048568.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2809557437079048568.key) [2023-01-03T18:19:36.769Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:19:37.051Z] + git semver bump pre [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,229 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,230 [bump_version] DEBUG bumping version:3.0.0-dev.2 on axis:pre with prefix:dev [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,230 [bump_version] DEBUG bumped version:3.0.0-dev.3 [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,230 [write_version] DEBUG write version:3.0.0-dev.3 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,230 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,230 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,231 [execute] INFO git cat-file --batch-check [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,237 [execute] INFO git cat-file --batch [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,237 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:19:37.309Z] 2023-01-03 18:19:37,242 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-03T18:19:37.309Z] 3.0.0-dev.3 [Pipeline] } [2023-01-03T18:19:37.320Z] $ docker exec --env ******** --env ******** eeb04da3b13f25883d2877af1cee79ffd62c6a9894ff98a64b42807c337c1583 ssh-agent -k [2023-01-03T18:19:37.427Z] unset SSH_AUTH_SOCK; [2023-01-03T18:19:37.427Z] unset SSH_AGENT_PID; [2023-01-03T18:19:37.427Z] echo Agent pid 37 killed; [2023-01-03T18:19:37.436Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:19:37.745Z] + git semver [Pipeline] } [2023-01-03T18:19:38.016Z] $ docker stop --time=1 eeb04da3b13f25883d2877af1cee79ffd62c6a9894ff98a64b42807c337c1583 [2023-01-03T18:19:39.290Z] $ docker rm -f --volumes eeb04da3b13f25883d2877af1cee79ffd62c6a9894ff98a64b42807c337c1583 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:19:39.627Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:19:39.627Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:19:39.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:19:39.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:19:39.983Z] prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container [2023-01-03T18:19:40.011Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:19:40.370Z] $ docker top 43042b79a862cf8088841be661a11a353c60ef86eee6e0a49535952b7a7c70d9 -eo pid,comm [2023-01-03T18:19:40.422Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-03T18:19:40.422Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:19:40.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:19:40.460Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:19:40.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:19:40.579Z] $ docker exec 43042b79a862cf8088841be661a11a353c60ef86eee6e0a49535952b7a7c70d9 ssh-agent [2023-01-03T18:19:40.684Z] SSH_AUTH_SOCK=/tmp/ssh-opchVZ9Lpafy/agent.31 [2023-01-03T18:19:40.684Z] SSH_AGENT_PID=37 [2023-01-03T18:19:40.690Z] Running ssh-add (command line suppressed) [2023-01-03T18:19:40.800Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5047955515833220437.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5047955515833220437.key) [2023-01-03T18:19:40.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:19:41.101Z] + git semver push [2023-01-03T18:19:41.359Z] 2023-01-03 18:19:41,320 [run_push] DEBUG push [2023-01-03T18:19:41.359Z] 2023-01-03 18:19:41,321 [execute] INFO git cat-file --batch-check [2023-01-03T18:19:41.359Z] 2023-01-03 18:19:41,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:19:41.359Z] 2023-01-03 18:19:41,326 [execute] INFO git rev-list 1b6cba0300d651cb1fc0c62d52e9fe3fa636f240 -- [2023-01-03T18:19:41.359Z] 2023-01-03 18:19:41,326 [execute] DEBUG Popen(['git', 'rev-list', '1b6cba0300d651cb1fc0c62d52e9fe3fa636f240', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:19:41.359Z] 2023-01-03 18:19:41,335 [execute] INFO git fetch -v origin [2023-01-03T18:19:41.359Z] 2023-01-03 18:19:41,335 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-03T18:19:41.930Z] 2023-01-03 18:19:41,864 [run_push] DEBUG no remote changes detected [2023-01-03T18:19:41.930Z] 2023-01-03 18:19:41,865 [execute] INFO git push origin semver [2023-01-03T18:19:41.930Z] 2023-01-03 18:19:41,865 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:19:42.871Z] 2023-01-03 18:19:42,681 [run_push] DEBUG push all version tags [2023-01-03T18:19:42.871Z] 2023-01-03 18:19:42,682 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-03T18:19:42.871Z] 2023-01-03 18:19:42,682 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:19:43.806Z] 2023-01-03 18:19:43,449 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-03T18:19:43.806Z] 3.0.0-dev.3 [Pipeline] } [2023-01-03T18:19:43.814Z] $ docker exec --env ******** --env ******** 43042b79a862cf8088841be661a11a353c60ef86eee6e0a49535952b7a7c70d9 ssh-agent -k [2023-01-03T18:19:43.920Z] unset SSH_AUTH_SOCK; [2023-01-03T18:19:43.921Z] unset SSH_AGENT_PID; [2023-01-03T18:19:43.921Z] echo Agent pid 37 killed; [2023-01-03T18:19:43.930Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:19:44.229Z] + git semver [Pipeline] } [2023-01-03T18:19:44.499Z] $ docker stop --time=1 43042b79a862cf8088841be661a11a353c60ef86eee6e0a49535952b7a7c70d9 [2023-01-03T18:19:45.790Z] $ docker rm -f --volumes 43042b79a862cf8088841be661a11a353c60ef86eee6e0a49535952b7a7c70d9 [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 [2023-01-03T18:19:46.414Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-01-03T18:19:46.414Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-01-03T18:19:46.414Z] total 16 [2023-01-03T18:19:46.414Z] drwxr-xr-x 3 root root 4096 Jan 3 18:09 . [2023-01-03T18:19:46.414Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:19 .. [2023-01-03T18:19:46.414Z] drwxr-xr-x 2 root root 4096 Jan 3 18:09 cost [2023-01-03T18:19:46.414Z] -rw-r--r-- 1 root root 88 Jan 3 18:09 cost.csv [2023-01-03T18:19:46.414Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-01-03T18:19:46.415Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-01-03T18:19:46.415Z] total 16 [2023-01-03T18:19:46.415Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:09 . [2023-01-03T18:19:46.415Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:19 .. [2023-01-03T18:19:46.415Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 18:09 cost [2023-01-03T18:19:46.415Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 3 18:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:19:46.737Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:19:47.597Z] ---> package-listing.sh [2023-01-03T18:19:47.597Z] ++ facter osfamily [2023-01-03T18:19:47.597Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T18:19:47.859Z] + OS_FAMILY=debian [2023-01-03T18:19:47.859Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-01-03T18:19:47.859Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T18:19:47.859Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T18:19:47.859Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T18:19:47.859Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T18:19:47.859Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-01-03T18:19:47.859Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T18:19:47.859Z] + case "${OS_FAMILY}" in [2023-01-03T18:19:47.859Z] + dpkg -l [2023-01-03T18:19:47.859Z] + grep '^ii' [2023-01-03T18:19:47.859Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T18:19:47.859Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T18:19:47.859Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T18:19:47.859Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-01-03T18:19:47.859Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-01-03T18:19:47.859Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2023-01-03T18:19:47.869Z] 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 [2023-01-03T18:19:48.142Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:19:48.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:19:48.707Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:19:48.773Z] prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container [2023-01-03T18:19:48.807Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T18:19:49.043Z] $ docker top 1a196470ff24569fdc2406b7faf3d4861531a23c79c2982188f0168ec1e3de63 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:19:49.382Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T18:19:49.670Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T18:19:49.955Z] + ls /var/log/sa-host [2023-01-03T18:19:49.955Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:19:50.027Z] provisioning config files... [2023-01-03T18:19:50.036Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14922186882428744537tmp [Pipeline] { [Pipeline] echo [2023-01-03T18:19:50.047Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:19:50.330Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T18:19:50.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:19:50.653Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T18:19:50.662Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:19:50.947Z] ---> sudo-logs.sh [2023-01-03T18:19:50.947Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T18:19:50.977Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:19:51.258Z] ---> job-cost.sh [2023-01-03T18:19:51.258Z] lf-activate-venv: SKIPPING [2023-01-03T18:19:51.258Z] DEBUG: total: 0.2199999988079071 [2023-01-03T18:19:51.258Z] INFO: Retrieving Stack Cost... [2023-01-03T18:19:51.828Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:19:52.086Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T18:19:52.099Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:19:52.381Z] ---> logs-deploy.sh [2023-01-03T18:19:52.381Z] lf-activate-venv: SKIPPING [2023-01-03T18:19:52.381Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/73 [2023-01-03T18:19:52.381Z] INFO: archiving workspace using pattern(s): [2023-01-03T18:19:53.320Z] Archives upload complete. [2023-01-03T18:19:53.320Z] INFO: archiving logs to Nexus