Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a79f7bfda672890f5a827a453c16a6ee5e560f4d 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-ssh451513547945302432.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1910391518674049212.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh2271510137914342215.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh4362828090057358409.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-ssh3623106060036539729.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.21 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 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-7218’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-7219’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7214’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7215’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7220’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7224 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 a79f7bfda672890f5a827a453c16a6ee5e560f4d (main) Commit message: "Merge pull request #431 from ernestojeda/create-release" > 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 a79f7bfda672890f5a827a453c16a6ee5e560f4d # timeout=10 > git rev-list --no-walk 9fa1e29ef86971f53d10bc46f825e51861cc077b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T20:54:43.340Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T20:54:43.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T20:54:43.395Z] ========================================================= [2023-09-20T20:54:43.395Z] EdgeX Global Pipelines Version Info [2023-09-20T20:54:43.395Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:54:44.099Z] ------------------- [2023-09-20T20:54:44.099Z] stable info: [2023-09-20T20:54:44.099Z] ------------------- [2023-09-20T20:54:44.099Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T20:54:44.099Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:54:44.099Z] Message: update stable to v1.0.254 [2023-09-20T20:54:44.671Z] ------------------- [2023-09-20T20:54:44.671Z] experimental info: [2023-09-20T20:54:44.671Z] ------------------- [2023-09-20T20:54:44.671Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T20:54:44.671Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:54:44.671Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T20:54:44.813Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-20T20:54:44.824Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-20T20:54:44.836Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T20:54:44.851Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T20:54:44.864Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T20:54:44.874Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T20:54:44.887Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T20:54:44.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T20:54:44.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T20:54:44.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T20:54:44.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T20:54:44.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-20T20:54:44.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T20:54:44.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T20:54:44.976Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:54:44.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:54:45.003Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:54:45.018Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:54:45.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T20:54:45.045Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T20:54:45.059Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T20:54:45.073Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T20:54:45.085Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T20:54:45.097Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T20:54:45.112Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T20:54:45.126Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T20:54:45.136Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T20:54:45.149Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T20:54:45.166Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T20:54:45.187Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T20:54:45.203Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a79f7bfda672890f5a827a453c16a6ee5e560f4d [Pipeline] echo [2023-09-20T20:54:45.215Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a79f7bf [Pipeline] echo [2023-09-20T20:54:45.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:54:45.274Z] provisioning config files... [2023-09-20T20:54:45.286Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2454371436737227200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:54:45.605Z] ---> docker-login.sh [2023-09-20T20:54:45.605Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:54:45.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:54:45.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:54:45.877Z] Configure a credential helper to remove this warning. See [2023-09-20T20:54:45.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:54:45.877Z] [2023-09-20T20:54:45.877Z] Login Succeeded [2023-09-20T20:54:45.877Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:54:45.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:54:46.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:54:46.160Z] Configure a credential helper to remove this warning. See [2023-09-20T20:54:46.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:54:46.160Z] [2023-09-20T20:54:46.160Z] Login Succeeded [2023-09-20T20:54:46.160Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:54:46.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:54:46.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:54:46.160Z] Configure a credential helper to remove this warning. See [2023-09-20T20:54:46.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:54:46.160Z] [2023-09-20T20:54:46.160Z] Login Succeeded [2023-09-20T20:54:46.160Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:54:46.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:54:46.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:54:46.422Z] Configure a credential helper to remove this warning. See [2023-09-20T20:54:46.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:54:46.422Z] [2023-09-20T20:54:46.422Z] Login Succeeded [2023-09-20T20:54:46.422Z] docker.io [2023-09-20T20:54:46.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:54:46.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:54:46.682Z] Configure a credential helper to remove this warning. See [2023-09-20T20:54:46.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:54:46.682Z] [2023-09-20T20:54:46.682Z] Login Succeeded [2023-09-20T20:54:46.682Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:54:46.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T20:54:47.065Z] + git rev-list -1 --merges a79f7bfda672890f5a827a453c16a6ee5e560f4d~1..a79f7bfda672890f5a827a453c16a6ee5e560f4d [Pipeline] echo [2023-09-20T20:54:47.108Z] -----------> git rev-list -1 --merges a79f7bfda672890f5a827a453c16a6ee5e560f4d~1..a79f7bfda672890f5a827a453c16a6ee5e560f4d a79f7bfda672890f5a827a453c16a6ee5e560f4d [2023-09-20T20:54:47.108Z] a79f7bfda672890f5a827a453c16a6ee5e560f4d [false] [Pipeline] sh [2023-09-20T20:54:47.396Z] + git log --format=format:%s -1 a79f7bfda672890f5a827a453c16a6ee5e560f4d [Pipeline] echo [2023-09-20T20:54:47.430Z] ========================================================= [2023-09-20T20:54:47.430Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T20:54:47.430Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:54:47.763Z] + git log --format=format:%s -1 a79f7bfda672890f5a827a453c16a6ee5e560f4d [Pipeline] echo [2023-09-20T20:54:47.773Z] [semverPrep] GIT_COMMIT: a79f7bfda672890f5a827a453c16a6ee5e560f4d, Commit Message: Merge pull request #431 from ernestojeda/create-release [Pipeline] echo [2023-09-20T20:54:47.784Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T20:54:48.129Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:54:48.129Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T20:54:48.129Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T20:54:48.129Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T20:54:48.129Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T20:54:48.129Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T20:54:48.129Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:48.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:54:48.513Z] [2023-09-20T20:54:48.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:48.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:54:48.812Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T20:54:48.812Z] b85a868b505f: Pulling fs layer [2023-09-20T20:54:48.812Z] e2be974225ed: Pulling fs layer [2023-09-20T20:54:48.812Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T20:54:48.812Z] 988bab9f4d93: Pulling fs layer [2023-09-20T20:54:48.812Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T20:54:48.812Z] eaf3925da568: Pulling fs layer [2023-09-20T20:54:48.812Z] bab4dde63d76: Pulling fs layer [2023-09-20T20:54:48.812Z] bde34c3a00c8: Pulling fs layer [2023-09-20T20:54:48.812Z] b352a97aabf1: Pulling fs layer [2023-09-20T20:54:48.812Z] 4872d77fe225: Pulling fs layer [2023-09-20T20:54:48.812Z] 5851b861e8e6: Pulling fs layer [2023-09-20T20:54:48.812Z] bab4dde63d76: Waiting [2023-09-20T20:54:48.812Z] bde34c3a00c8: Waiting [2023-09-20T20:54:48.812Z] b352a97aabf1: Waiting [2023-09-20T20:54:48.812Z] 4872d77fe225: Waiting [2023-09-20T20:54:48.812Z] 988bab9f4d93: Waiting [2023-09-20T20:54:48.812Z] 5851b861e8e6: Waiting [2023-09-20T20:54:48.812Z] 1469e6f7b9e6: Waiting [2023-09-20T20:54:48.812Z] eaf3925da568: Waiting [2023-09-20T20:54:48.812Z] e2be974225ed: Verifying Checksum [2023-09-20T20:54:48.812Z] e2be974225ed: Download complete [2023-09-20T20:54:48.812Z] 988bab9f4d93: Verifying Checksum [2023-09-20T20:54:48.812Z] 988bab9f4d93: Download complete [2023-09-20T20:54:48.812Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T20:54:48.812Z] 1469e6f7b9e6: Download complete [2023-09-20T20:54:48.812Z] eaf3925da568: Verifying Checksum [2023-09-20T20:54:48.812Z] eaf3925da568: Download complete [2023-09-20T20:54:48.812Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T20:54:48.812Z] 339a4e72a1f5: Download complete [2023-09-20T20:54:49.069Z] bde34c3a00c8: Download complete [2023-09-20T20:54:49.069Z] b352a97aabf1: Verifying Checksum [2023-09-20T20:54:49.069Z] b352a97aabf1: Download complete [2023-09-20T20:54:49.069Z] 4872d77fe225: Download complete [2023-09-20T20:54:49.069Z] 5851b861e8e6: Download complete [2023-09-20T20:54:49.069Z] b85a868b505f: Verifying Checksum [2023-09-20T20:54:49.069Z] b85a868b505f: Download complete [2023-09-20T20:54:49.327Z] bab4dde63d76: Verifying Checksum [2023-09-20T20:54:49.327Z] bab4dde63d76: Download complete [2023-09-20T20:54:50.265Z] b85a868b505f: Pull complete [2023-09-20T20:54:50.523Z] e2be974225ed: Pull complete [2023-09-20T20:54:51.091Z] 339a4e72a1f5: Pull complete [2023-09-20T20:54:51.091Z] 988bab9f4d93: Pull complete [2023-09-20T20:54:51.352Z] 1469e6f7b9e6: Pull complete [2023-09-20T20:54:51.611Z] eaf3925da568: Pull complete [2023-09-20T20:54:53.514Z] bab4dde63d76: Pull complete [2023-09-20T20:54:53.514Z] bde34c3a00c8: Pull complete [2023-09-20T20:54:53.514Z] b352a97aabf1: Pull complete [2023-09-20T20:54:53.776Z] 4872d77fe225: Pull complete [2023-09-20T20:54:53.776Z] 5851b861e8e6: Pull complete [2023-09-20T20:54:53.776Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T20:54:54.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:54:54.037Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:54:54.140Z] prd-ubuntu20.04-docker-8c-8g-7224 does not seem to be running inside a container [2023-09-20T20:54:54.174Z] $ 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-09-20T20:55:01.188Z] $ docker top 6a4ad3be580916eca5b3b57750099d42617cf4de18b3837c179828541b66606a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:55:01.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:55:01.295Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:55:01.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:55:01.442Z] $ docker exec 6a4ad3be580916eca5b3b57750099d42617cf4de18b3837c179828541b66606a ssh-agent [2023-09-20T20:55:06.400Z] SSH_AUTH_SOCK=/tmp/ssh-tAFkzqXdq2JW/agent.33 [2023-09-20T20:55:06.400Z] SSH_AGENT_PID=39 [2023-09-20T20:55:06.411Z] Running ssh-add (command line suppressed) [2023-09-20T20:55:06.517Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15831320498953662163.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15831320498953662163.key) [2023-09-20T20:55:06.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:55:06.818Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T20:55:06.839Z] $ docker exec --env ******** --env ******** 6a4ad3be580916eca5b3b57750099d42617cf4de18b3837c179828541b66606a ssh-agent -k [2023-09-20T20:55:06.990Z] unset SSH_AUTH_SOCK; [2023-09-20T20:55:06.990Z] unset SSH_AGENT_PID; [2023-09-20T20:55:06.990Z] echo Agent pid 39 killed; [2023-09-20T20:55:06.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T20:55:07.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:55:07.029Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:55:07.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:55:07.194Z] $ docker exec 6a4ad3be580916eca5b3b57750099d42617cf4de18b3837c179828541b66606a ssh-agent [2023-09-20T20:55:07.333Z] SSH_AUTH_SOCK=/tmp/ssh-ti3P27rJ52Yq/agent.71 [2023-09-20T20:55:07.333Z] SSH_AGENT_PID=77 [2023-09-20T20:55:07.339Z] Running ssh-add (command line suppressed) [2023-09-20T20:55:07.450Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1773977541793746176.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1773977541793746176.key) [2023-09-20T20:55:07.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:55:07.754Z] + git semver init [2023-09-20T20:55:08.321Z] 2023-09-20 20:55:08,021 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T20:55:08.321Z] 2023-09-20 20:55:08,022 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-20T20:55:08.321Z] 2023-09-20 20:55:08,024 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-20T20:55:08.321Z] 2023-09-20 20:55:08,024 [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-09-20T20:55:09.701Z] 2023-09-20 20:55:09,298 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-09-20T20:55:09.701Z] 2023-09-20 20:55:09,298 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-09-20T20:55:09.701Z] 2023-09-20 20:55:09,298 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T20:55:09.701Z] 2023-09-20 20:55:09,299 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T20:55:09.701Z] 3.1.0-dev.16 [Pipeline] } [2023-09-20T20:55:09.714Z] $ docker exec --env ******** --env ******** 6a4ad3be580916eca5b3b57750099d42617cf4de18b3837c179828541b66606a ssh-agent -k [2023-09-20T20:55:09.823Z] unset SSH_AUTH_SOCK; [2023-09-20T20:55:09.824Z] unset SSH_AGENT_PID; [2023-09-20T20:55:09.824Z] echo Agent pid 77 killed; [2023-09-20T20:55:09.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:55:10.147Z] + git semver [Pipeline] } [2023-09-20T20:55:10.421Z] $ docker stop --time=1 6a4ad3be580916eca5b3b57750099d42617cf4de18b3837c179828541b66606a [2023-09-20T20:55:11.743Z] $ docker rm -f --volumes 6a4ad3be580916eca5b3b57750099d42617cf4de18b3837c179828541b66606a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:55:12.086Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T20:55:12.305Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T20:55:12.308Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.16 [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-09-20T20:55:12.449Z] provisioning config files... [2023-09-20T20:55:12.458Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14616071697969132068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:12.755Z] ---> docker-login.sh [2023-09-20T20:55:12.755Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:55:12.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:12.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:12.755Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:12.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:12.755Z] [2023-09-20T20:55:12.755Z] Login Succeeded [2023-09-20T20:55:12.755Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:55:12.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:12.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:12.756Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:12.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:12.756Z] [2023-09-20T20:55:12.756Z] Login Succeeded [2023-09-20T20:55:12.756Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:55:13.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:13.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:13.014Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:13.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:13.014Z] [2023-09-20T20:55:13.014Z] Login Succeeded [2023-09-20T20:55:13.014Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:55:13.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:13.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:13.014Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:13.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:13.014Z] [2023-09-20T20:55:13.014Z] Login Succeeded [2023-09-20T20:55:13.014Z] docker.io [2023-09-20T20:55:13.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:13.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:13.273Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:13.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:13.273Z] [2023-09-20T20:55:13.273Z] Login Succeeded [2023-09-20T20:55:13.273Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:55:13.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:55:13.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:55:13.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:55:13.351Z] ========================================================= [2023-09-20T20:55:13.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T20:55:13.351Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:55:13.661Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T20:55:13.661Z] Sending build context to Docker daemon 23.61MB [2023-09-20T20:55:13.661Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:55:13.661Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T20:55:13.920Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T20:55:13.920Z] 7264a8db6415: Pulling fs layer [2023-09-20T20:55:13.920Z] c4d48a809fc2: Pulling fs layer [2023-09-20T20:55:13.920Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T20:55:13.920Z] ad3a456e5733: Pulling fs layer [2023-09-20T20:55:13.920Z] 33e27b845d1e: Pulling fs layer [2023-09-20T20:55:13.920Z] c68163c4e522: Pulling fs layer [2023-09-20T20:55:13.920Z] 50da416c3ac9: Pulling fs layer [2023-09-20T20:55:13.920Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T20:55:13.920Z] ad3a456e5733: Waiting [2023-09-20T20:55:13.920Z] c68163c4e522: Waiting [2023-09-20T20:55:13.920Z] 33e27b845d1e: Waiting [2023-09-20T20:55:13.920Z] 50da416c3ac9: Waiting [2023-09-20T20:55:13.920Z] 23d2d4c4bb30: Waiting [2023-09-20T20:55:13.920Z] c4d48a809fc2: Download complete [2023-09-20T20:55:13.920Z] ad3a456e5733: Verifying Checksum [2023-09-20T20:55:13.920Z] ad3a456e5733: Download complete [2023-09-20T20:55:13.920Z] 33e27b845d1e: Verifying Checksum [2023-09-20T20:55:13.920Z] 33e27b845d1e: Download complete [2023-09-20T20:55:13.920Z] 7264a8db6415: Verifying Checksum [2023-09-20T20:55:13.920Z] 7264a8db6415: Download complete [2023-09-20T20:55:13.920Z] c68163c4e522: Download complete [2023-09-20T20:55:13.920Z] 7264a8db6415: Pull complete [2023-09-20T20:55:14.183Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T20:55:14.183Z] 23d2d4c4bb30: Download complete [2023-09-20T20:55:14.183Z] c4d48a809fc2: Pull complete [2023-09-20T20:55:14.443Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T20:55:14.443Z] 4f1c88b9dad5: Download complete [2023-09-20T20:55:14.700Z] 50da416c3ac9: Download complete [2023-09-20T20:55:19.685Z] 4f1c88b9dad5: Pull complete [2023-09-20T20:55:19.685Z] ad3a456e5733: Pull complete [2023-09-20T20:55:19.685Z] 33e27b845d1e: Pull complete [2023-09-20T20:55:19.944Z] c68163c4e522: Pull complete [2023-09-20T20:55:23.232Z] 50da416c3ac9: Pull complete [2023-09-20T20:55:23.232Z] 23d2d4c4bb30: Pull complete [2023-09-20T20:55:23.508Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T20:55:23.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T20:55:23.508Z] ---> 0786185ac409 [2023-09-20T20:55:23.508Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:55:27.414Z] Still waiting to schedule task [2023-09-20T20:55:27.414Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:55:30.085Z] ---> Running in ecc601347287 [2023-09-20T20:55:30.085Z] Removing intermediate container ecc601347287 [2023-09-20T20:55:30.085Z] ---> 4dae8ce8756f [2023-09-20T20:55:30.085Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:55:30.085Z] ---> Running in 0257df466a50 [2023-09-20T20:55:30.085Z] Removing intermediate container 0257df466a50 [2023-09-20T20:55:30.085Z] ---> 22dd9679ea30 [2023-09-20T20:55:30.085Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:55:30.085Z] ---> Running in 8e9701e72511 [2023-09-20T20:55:30.085Z] Removing intermediate container 8e9701e72511 [2023-09-20T20:55:30.085Z] ---> dfe60d3d8849 [2023-09-20T20:55:30.085Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-20T20:55:30.085Z] ---> Running in dbf442a93328 [2023-09-20T20:55:30.085Z] Removing intermediate container dbf442a93328 [2023-09-20T20:55:30.085Z] ---> 01a20b7d3e34 [2023-09-20T20:55:30.085Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:55:30.085Z] ---> Running in 1aef160aa83c [2023-09-20T20:55:30.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:55:30.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:55:30.863Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T20:55:30.863Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T20:55:30.863Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T20:55:30.863Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T20:55:30.863Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:55:30.863Z] OK: 268 MiB in 56 packages [2023-09-20T20:55:32.255Z] Removing intermediate container 1aef160aa83c [2023-09-20T20:55:32.255Z] ---> 3552ce445c47 [2023-09-20T20:55:32.255Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T20:55:32.255Z] ---> cdf166b2e407 [2023-09-20T20:55:32.255Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:55:32.515Z] ---> Running in 920f056ba145 [2023-09-20T20:56:19.304Z] Removing intermediate container 920f056ba145 [2023-09-20T20:56:19.304Z] ---> 41f3a27572e6 [2023-09-20T20:56:19.304Z] Step 10/12 : COPY . . [2023-09-20T20:56:19.304Z] ---> 75db6401bb01 [2023-09-20T20:56:19.304Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:56:19.304Z] ---> Running in 534b96bd15d3 [2023-09-20T20:56:19.304Z] Removing intermediate container 534b96bd15d3 [2023-09-20T20:56:19.304Z] ---> ad08080e5d6b [2023-09-20T20:56:19.304Z] Step 12/12 : RUN $MAKE [2023-09-20T20:56:19.304Z] ---> Running in 24cb8083e93e [2023-09-20T20:56:19.304Z] noop [2023-09-20T20:56:19.562Z] Removing intermediate container 24cb8083e93e [2023-09-20T20:56:19.562Z] ---> 904f91956cf0 [2023-09-20T20:56:19.562Z] Successfully built 904f91956cf0 [2023-09-20T20:56:19.562Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:19.892Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:56:19.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:56:19.960Z] prd-ubuntu20.04-docker-8c-8g-7224 does not seem to be running inside a container [2023-09-20T20:56:19.995Z] $ 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-09-20T20:56:20.406Z] $ docker top 306cac16cba9948c8ad287b248aba47867b1846d514e3f9216e994b756866572 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:56:20.770Z] + go version [2023-09-20T20:56:20.770Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T20:56:20.782Z] $ docker stop --time=1 306cac16cba9948c8ad287b248aba47867b1846d514e3f9216e994b756866572 [2023-09-20T20:56:23.325Z] $ docker rm -f --volumes 306cac16cba9948c8ad287b248aba47867b1846d514e3f9216e994b756866572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:26.393Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:56:26.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:56:26.461Z] prd-ubuntu20.04-docker-8c-8g-7224 does not seem to be running inside a container [2023-09-20T20:56:26.498Z] $ 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-09-20T20:56:26.851Z] $ docker top 02703af75f6a521120e2c3db6a59f61eba5ff0949433d956b70f6a46aaba8adc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:56:27.188Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T20:56:27.481Z] + make test [2023-09-20T20:56:27.481Z] go test ./... -coverprofile=coverage.out [2023-09-20T20:56:28.856Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-20T20:56:38.823Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-20T20:56:38.823Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements [2023-09-20T20:56:46.934Z] go vet ./... [2023-09-20T20:56:49.462Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T20:56:49.462Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T20:56:49.462Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T20:56:49.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T20:56:49.485Z] $ docker stop --time=1 02703af75f6a521120e2c3db6a59f61eba5ff0949433d956b70f6a46aaba8adc [2023-09-20T20:56:52.995Z] $ docker rm -f --volumes 02703af75f6a521120e2c3db6a59f61eba5ff0949433d956b70f6a46aaba8adc [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:56:53.474Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T20:56:53.526Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T20:56:53.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:56:54.341Z] + ls -al . [2023-09-20T20:56:54.341Z] total 204 [2023-09-20T20:56:54.341Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 20:56 . [2023-09-20T20:56:54.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:54 .. [2023-09-20T20:56:54.341Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:56 .git [2023-09-20T20:56:54.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:54 .github [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 20 20:54 .gitignore [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:54 .golangci.yml [2023-09-20T20:56:54.341Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:55 .semver [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 20 20:54 Attribution.txt [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 20 20:54 CHANGELOG.md [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 20 20:54 Dockerfile [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:54 GOVERNANCE.md [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 20 20:54 Jenkinsfile [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:54 LICENSE [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 20 20:54 Makefile [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 20 20:54 OWNERS.md [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 20 20:54 README.md [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:55 VERSION [2023-09-20T20:56:54.341Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:54 bin [2023-09-20T20:56:54.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:54 cmd [2023-09-20T20:56:54.341Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 20 20:56 coverage.out [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 20 20:54 go.mod [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 20 20:54 go.sum [2023-09-20T20:56:54.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:54 internal [2023-09-20T20:56:54.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:54 snap [2023-09-20T20:56:54.341Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 20 20:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:54.689Z] + 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=a79f7bfda672890f5a827a453c16a6ee5e560f4d --label arch=amd64 --label version=3.1.0-dev.16 . [2023-09-20T20:56:54.689Z] Sending build context to Docker daemon 23.66MB [2023-09-20T20:56:54.689Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:56:54.689Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T20:56:54.689Z] ---> 904f91956cf0 [2023-09-20T20:56:54.689Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:56:55.274Z] ---> Running in ad0368f5f72f [2023-09-20T20:56:55.274Z] Removing intermediate container ad0368f5f72f [2023-09-20T20:56:55.274Z] ---> b80c29a95fb2 [2023-09-20T20:56:55.274Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:56:55.274Z] ---> Running in 8788db5047b1 [2023-09-20T20:56:55.274Z] Removing intermediate container 8788db5047b1 [2023-09-20T20:56:55.274Z] ---> c6cf905bd791 [2023-09-20T20:56:55.274Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:56:55.274Z] ---> Running in 8c632e82b9a8 [2023-09-20T20:56:55.538Z] Removing intermediate container 8c632e82b9a8 [2023-09-20T20:56:55.538Z] ---> 503760c6e7f9 [2023-09-20T20:56:55.538Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-20T20:56:55.538Z] ---> Running in 6f9bf91ef36f [2023-09-20T20:56:55.538Z] Removing intermediate container 6f9bf91ef36f [2023-09-20T20:56:55.538Z] ---> 681fab809987 [2023-09-20T20:56:55.538Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:56:55.538Z] ---> Running in a53d6b7915d3 [2023-09-20T20:56:55.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:55.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:56.056Z] OK: 268 MiB in 56 packages [2023-09-20T20:56:56.992Z] Removing intermediate container a53d6b7915d3 [2023-09-20T20:56:56.992Z] ---> 7f83cd581299 [2023-09-20T20:56:56.992Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-20T20:56:56.992Z] ---> cc229d5f305c [2023-09-20T20:56:56.992Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:56:57.251Z] ---> Running in 7aa827020969 [2023-09-20T20:56:59.182Z] Removing intermediate container 7aa827020969 [2023-09-20T20:56:59.182Z] ---> b4fb61b675e9 [2023-09-20T20:56:59.182Z] Step 10/25 : COPY . . [2023-09-20T20:57:00.121Z] ---> 12d216ae9d0c [2023-09-20T20:57:00.121Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:57:00.121Z] ---> Running in 6ea1c2803778 [2023-09-20T20:57:00.121Z] Removing intermediate container 6ea1c2803778 [2023-09-20T20:57:00.121Z] ---> 7f2b5ee9ab3a [2023-09-20T20:57:00.121Z] Step 12/25 : RUN $MAKE [2023-09-20T20:57:00.121Z] ---> Running in 521fea511261 [2023-09-20T20:57:00.714Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-20T20:57:22.651Z] Removing intermediate container 521fea511261 [2023-09-20T20:57:22.651Z] ---> ae5bb56f1da9 [2023-09-20T20:57:22.651Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T20:57:22.910Z] 3.18: Pulling from library/alpine [2023-09-20T20:57:22.910Z] 7264a8db6415: Already exists [2023-09-20T20:57:23.177Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T20:57:23.177Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T20:57:23.177Z] ---> 7e01a0d0a1dc [2023-09-20T20:57:23.177Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-20T20:57:23.177Z] ---> Running in 24172e4c064e [2023-09-20T20:57:23.177Z] Removing intermediate container 24172e4c064e [2023-09-20T20:57:23.177Z] ---> e1a42dc99b6f [2023-09-20T20:57:23.177Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T20:57:23.177Z] ---> Running in f6813341226c [2023-09-20T20:57:23.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:57:23.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:57:23.959Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T20:57:23.959Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:57:23.959Z] OK: 7 MiB in 16 packages [2023-09-20T20:57:26.663Z] Removing intermediate container f6813341226c [2023-09-20T20:57:26.663Z] ---> 27fd7daed8b2 [2023-09-20T20:57:26.663Z] Step 16/25 : WORKDIR / [2023-09-20T20:57:26.934Z] ---> Running in 348aaaa5a706 [2023-09-20T20:57:27.503Z] Removing intermediate container 348aaaa5a706 [2023-09-20T20:57:27.503Z] ---> d2b57298f66a [2023-09-20T20:57:27.503Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-20T20:57:27.503Z] ---> 2e7f9c184238 [2023-09-20T20:57:27.503Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-20T20:57:27.765Z] ---> 1ce8755e8831 [2023-09-20T20:57:27.765Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-20T20:57:29.147Z] ---> 95f2ebe8fe53 [2023-09-20T20:57:29.147Z] Step 20/25 : EXPOSE 59900 [2023-09-20T20:57:29.406Z] ---> Running in 7c2f4988c968 [2023-09-20T20:57:29.975Z] Removing intermediate container 7c2f4988c968 [2023-09-20T20:57:29.975Z] ---> c5d7960a4b33 [2023-09-20T20:57:29.975Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-20T20:57:30.548Z] ---> Running in ca1c3a7378f9 [2023-09-20T20:57:31.488Z] Removing intermediate container ca1c3a7378f9 [2023-09-20T20:57:31.488Z] ---> b90e29c171d0 [2023-09-20T20:57:31.488Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T20:57:31.746Z] ---> Running in 52eb17f0f660 [2023-09-20T20:57:32.006Z] Removing intermediate container 52eb17f0f660 [2023-09-20T20:57:32.006Z] ---> 614f8dde47ea [2023-09-20T20:57:32.006Z] Step 23/25 : LABEL arch=amd64 [2023-09-20T20:57:32.006Z] ---> Running in 4f71b4cce9c9 [2023-09-20T20:57:32.006Z] Removing intermediate container 4f71b4cce9c9 [2023-09-20T20:57:32.006Z] ---> fb27c06e45df [2023-09-20T20:57:32.006Z] Step 24/25 : LABEL git_sha=a79f7bfda672890f5a827a453c16a6ee5e560f4d [2023-09-20T20:57:32.006Z] ---> Running in fbb5554571bb [2023-09-20T20:57:32.006Z] Removing intermediate container fbb5554571bb [2023-09-20T20:57:32.006Z] ---> 4135660615a6 [2023-09-20T20:57:32.006Z] Step 25/25 : LABEL version=3.1.0-dev.16 [2023-09-20T20:57:32.006Z] ---> Running in acdb2abaa4bf [2023-09-20T20:57:32.268Z] Removing intermediate container acdb2abaa4bf [2023-09-20T20:57:32.268Z] ---> 5b639800bedf [2023-09-20T20:57:32.268Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T20:57:32.268Z] Successfully built 5b639800bedf [2023-09-20T20:57:32.268Z] 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-09-20T20:57:32.362Z] provisioning config files... [2023-09-20T20:57:32.373Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12072764840758208394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:57:32.675Z] ---> docker-login.sh [2023-09-20T20:57:32.675Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:57:32.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:32.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:32.675Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:32.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:32.675Z] [2023-09-20T20:57:32.675Z] Login Succeeded [2023-09-20T20:57:32.675Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:57:32.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:32.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:32.675Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:32.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:32.675Z] [2023-09-20T20:57:32.675Z] Login Succeeded [2023-09-20T20:57:32.675Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:57:32.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:32.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:32.935Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:32.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:32.935Z] [2023-09-20T20:57:32.935Z] Login Succeeded [2023-09-20T20:57:32.935Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:57:32.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:32.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:32.935Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:32.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:32.935Z] [2023-09-20T20:57:32.935Z] Login Succeeded [2023-09-20T20:57:32.935Z] docker.io [2023-09-20T20:57:33.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:34.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:34.429Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:34.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:34.429Z] [2023-09-20T20:57:34.429Z] Login Succeeded [2023-09-20T20:57:34.429Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:57:34.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:57:34.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:57:34.486Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-09-20T20:57:34.486Z] a79f7bfda672890f5a827a453c16a6ee5e560f4d [2023-09-20T20:57:34.486Z] latest [2023-09-20T20:57:34.486Z] 3.1.0-dev.16 [2023-09-20T20:57:34.486Z] a79f7bfda672890f5a827a453c16a6ee5e560f4d-3.1.0-dev.16 [2023-09-20T20:57:34.486Z] main [2023-09-20T20:57:34.486Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:34.812Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:a79f7bfda672890f5a827a453c16a6ee5e560f4d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:35.118Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:a79f7bfda672890f5a827a453c16a6ee5e560f4d [2023-09-20T20:57:35.118Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-20T20:57:35.118Z] dd47b3d659e7: Preparing [2023-09-20T20:57:35.118Z] 3773da868e33: Preparing [2023-09-20T20:57:35.118Z] 6d936fd4b059: Preparing [2023-09-20T20:57:35.118Z] 2cf1908730b7: Preparing [2023-09-20T20:57:35.118Z] 4693057ce236: Preparing [2023-09-20T20:57:35.118Z] 4693057ce236: Layer already exists [2023-09-20T20:57:35.118Z] 2cf1908730b7: Pushed [2023-09-20T20:57:35.118Z] 6d936fd4b059: Pushed [2023-09-20T20:57:35.118Z] 3773da868e33: Pushed [2023-09-20T20:57:38.395Z] dd47b3d659e7: Pushed [2023-09-20T20:57:38.395Z] a79f7bfda672890f5a827a453c16a6ee5e560f4d: digest: sha256:74e37b4c420996b44b93a543b86dc227a4c9649d9dcc0c02c3d5160a941e4775 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:38.716Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:39.020Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-20T20:57:39.020Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-20T20:57:39.020Z] dd47b3d659e7: Preparing [2023-09-20T20:57:39.020Z] 3773da868e33: Preparing [2023-09-20T20:57:39.020Z] 6d936fd4b059: Preparing [2023-09-20T20:57:39.020Z] 2cf1908730b7: Preparing [2023-09-20T20:57:39.020Z] 4693057ce236: Preparing [2023-09-20T20:57:39.020Z] dd47b3d659e7: Layer already exists [2023-09-20T20:57:39.020Z] 6d936fd4b059: Layer already exists [2023-09-20T20:57:39.020Z] 3773da868e33: Layer already exists [2023-09-20T20:57:39.020Z] 2cf1908730b7: Layer already exists [2023-09-20T20:57:39.020Z] 4693057ce236: Layer already exists [2023-09-20T20:57:39.020Z] latest: digest: sha256:74e37b4c420996b44b93a543b86dc227a4c9649d9dcc0c02c3d5160a941e4775 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:39.335Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:39.643Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.16 [2023-09-20T20:57:39.643Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-20T20:57:39.643Z] dd47b3d659e7: Preparing [2023-09-20T20:57:39.643Z] 3773da868e33: Preparing [2023-09-20T20:57:39.643Z] 6d936fd4b059: Preparing [2023-09-20T20:57:39.643Z] 2cf1908730b7: Preparing [2023-09-20T20:57:39.643Z] 4693057ce236: Preparing [2023-09-20T20:57:39.643Z] 3773da868e33: Layer already exists [2023-09-20T20:57:39.643Z] 2cf1908730b7: Layer already exists [2023-09-20T20:57:39.643Z] dd47b3d659e7: Layer already exists [2023-09-20T20:57:39.643Z] 6d936fd4b059: Layer already exists [2023-09-20T20:57:39.643Z] 4693057ce236: Layer already exists [2023-09-20T20:57:39.643Z] 3.1.0-dev.16: digest: sha256:74e37b4c420996b44b93a543b86dc227a4c9649d9dcc0c02c3d5160a941e4775 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:39.959Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:a79f7bfda672890f5a827a453c16a6ee5e560f4d-3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:40.524Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:a79f7bfda672890f5a827a453c16a6ee5e560f4d-3.1.0-dev.16 [2023-09-20T20:57:40.524Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-20T20:57:40.524Z] dd47b3d659e7: Preparing [2023-09-20T20:57:40.524Z] 3773da868e33: Preparing [2023-09-20T20:57:40.524Z] 6d936fd4b059: Preparing [2023-09-20T20:57:40.524Z] 2cf1908730b7: Preparing [2023-09-20T20:57:40.524Z] 4693057ce236: Preparing [2023-09-20T20:57:40.524Z] 3773da868e33: Layer already exists [2023-09-20T20:57:40.524Z] 4693057ce236: Layer already exists [2023-09-20T20:57:40.524Z] dd47b3d659e7: Layer already exists [2023-09-20T20:57:40.524Z] 2cf1908730b7: Layer already exists [2023-09-20T20:57:40.524Z] 6d936fd4b059: Layer already exists [2023-09-20T20:57:40.524Z] a79f7bfda672890f5a827a453c16a6ee5e560f4d-3.1.0-dev.16: digest: sha256:74e37b4c420996b44b93a543b86dc227a4c9649d9dcc0c02c3d5160a941e4775 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:40.845Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:41.147Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-09-20T20:57:41.147Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-20T20:57:41.147Z] dd47b3d659e7: Preparing [2023-09-20T20:57:41.147Z] 3773da868e33: Preparing [2023-09-20T20:57:41.147Z] 6d936fd4b059: Preparing [2023-09-20T20:57:41.147Z] 2cf1908730b7: Preparing [2023-09-20T20:57:41.147Z] 4693057ce236: Preparing [2023-09-20T20:57:41.147Z] 4693057ce236: Layer already exists [2023-09-20T20:57:41.147Z] dd47b3d659e7: Layer already exists [2023-09-20T20:57:41.147Z] 2cf1908730b7: Layer already exists [2023-09-20T20:57:41.147Z] 6d936fd4b059: Layer already exists [2023-09-20T20:57:41.147Z] 3773da868e33: Layer already exists [2023-09-20T20:57:41.147Z] main: digest: sha256:74e37b4c420996b44b93a543b86dc227a4c9649d9dcc0c02c3d5160a941e4775 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:57:41.201Z] ===================================================== [Pipeline] echo [2023-09-20T20:57:41.213Z] taggedImages: [2023-09-20T20:57:41.213Z] - nexus3.edgexfoundry.org:10004/device-virtual:a79f7bfda672890f5a827a453c16a6ee5e560f4d [2023-09-20T20:57:41.213Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-20T20:57:41.213Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.16 [2023-09-20T20:57:41.213Z] - nexus3.edgexfoundry.org:10004/device-virtual:a79f7bfda672890f5a827a453c16a6ee5e560f4d-3.1.0-dev.16 [2023-09-20T20:57:41.213Z] - 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-09-20T20:57:41.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:57:41.598Z] [2023-09-20T20:57:41.598Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:41.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:57:41.898Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T20:57:41.898Z] 5eb5b503b376: Pulling fs layer [2023-09-20T20:57:41.898Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T20:57:41.898Z] ec43610c2a17: Pulling fs layer [2023-09-20T20:57:41.898Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T20:57:41.898Z] 33b1e0a273af: Pulling fs layer [2023-09-20T20:57:41.898Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T20:57:41.898Z] 2f39f015ded8: Pulling fs layer [2023-09-20T20:57:41.898Z] 3a2ae6a8a46f: Waiting [2023-09-20T20:57:41.898Z] 33b1e0a273af: Waiting [2023-09-20T20:57:41.898Z] 5d3b04190fa2: Waiting [2023-09-20T20:57:41.898Z] 2f39f015ded8: Waiting [2023-09-20T20:57:41.898Z] 5c69ac0246d0: Verifying Checksum [2023-09-20T20:57:41.898Z] 5c69ac0246d0: Download complete [2023-09-20T20:57:41.898Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T20:57:41.898Z] 3a2ae6a8a46f: Download complete [2023-09-20T20:57:41.898Z] ec43610c2a17: Verifying Checksum [2023-09-20T20:57:41.898Z] ec43610c2a17: Download complete [2023-09-20T20:57:41.898Z] 33b1e0a273af: Verifying Checksum [2023-09-20T20:57:41.898Z] 33b1e0a273af: Download complete [2023-09-20T20:57:41.898Z] 5d3b04190fa2: Download complete [2023-09-20T20:57:42.158Z] 5eb5b503b376: Verifying Checksum [2023-09-20T20:57:42.158Z] 5eb5b503b376: Download complete [2023-09-20T20:57:42.723Z] 2f39f015ded8: Download complete [2023-09-20T20:57:43.657Z] 5eb5b503b376: Pull complete [2023-09-20T20:57:43.657Z] 5c69ac0246d0: Pull complete [2023-09-20T20:57:44.223Z] ec43610c2a17: Pull complete [2023-09-20T20:57:44.223Z] 3a2ae6a8a46f: Pull complete [2023-09-20T20:57:44.488Z] 33b1e0a273af: Pull complete [2023-09-20T20:57:44.488Z] 5d3b04190fa2: Pull complete [2023-09-20T20:57:48.669Z] 2f39f015ded8: Pull complete [2023-09-20T20:57:48.669Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T20:57:48.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:57:48.669Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:57:48.758Z] prd-ubuntu20.04-docker-8c-8g-7224 does not seem to be running inside a container [2023-09-20T20:57:48.790Z] $ 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-09-20T20:57:53.194Z] $ docker top 49fa87ebee886f5f56acbded8cb8829280addb336fefc0d6d41757812bf537e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:57:53.568Z] ---> job-cost.sh [2023-09-20T20:57:53.568Z] lf-activate-venv: SKIPPING [2023-09-20T20:57:53.568Z] INFO: No Stack... [2023-09-20T20:57:53.826Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T20:57:54.391Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T20:57:54.680Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-09-20T20:57:54.680Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T20:57:54.693Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-142-stack-cost] [2023-09-20T20:57:54.700Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-142-stack-cost] did not exist. Created. [2023-09-20T20:57:54.700Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T20:57:55.008Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T20:57:55.036Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T20:57:55.041Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-142-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T20:57:55.061Z] $ docker stop --time=1 49fa87ebee886f5f56acbded8cb8829280addb336fefc0d6d41757812bf537e0 [2023-09-20T20:57:56.220Z] $ docker rm -f --volumes 49fa87ebee886f5f56acbded8cb8829280addb336fefc0d6d41757812bf537e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T20:58:03.758Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7237 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-09-20T20:58:03.771Z] Running in /w/workspace/device-virtual-go/142 [Pipeline] { [Pipeline] checkout [2023-09-20T20:58:03.836Z] The recommended git tool is: git [2023-09-20T20:58:11.389Z] using credential edgex-jenkins-ssh [2023-09-20T20:58:11.409Z] Cloning the remote Git repository [2023-09-20T20:58:11.477Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-20T20:58:11.609Z] > git init /w/workspace/device-virtual-go/142 # timeout=10 [2023-09-20T20:58:11.812Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-20T20:58:11.814Z] > git --version # timeout=10 [2023-09-20T20:58:11.844Z] > git --version # 'git version 2.25.1' [2023-09-20T20:58:11.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T20:58:12.053Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:58:14.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-20T20:58:14.510Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:58:15.872Z] Avoid second fetch [2023-09-20T20:58:15.873Z] Checking out Revision a79f7bfda672890f5a827a453c16a6ee5e560f4d (main) [2023-09-20T20:58:16.649Z] Commit message: "Merge pull request #431 from ernestojeda/create-release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:58:15.902Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T20:58:15.997Z] > git checkout -f a79f7bfda672890f5a827a453c16a6ee5e560f4d # timeout=10 [2023-09-20T20:58:17.557Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T20:58:17.557Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T20:58:17.557Z] Dload Upload Total Spent Left Speed [2023-09-20T20:58:17.557Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh [2023-09-20T20:58:18.253Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T20:58:18.617Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T20:58:18.617Z] + sudo tee /etc/docker/daemon.new [2023-09-20T20:58:18.617Z] { [2023-09-20T20:58:18.617Z] "registry-mirrors": [ [2023-09-20T20:58:18.617Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T20:58:18.617Z] ], [2023-09-20T20:58:18.617Z] "bip": "10.250.0.254/24", [2023-09-20T20:58:18.617Z] "hosts": [ [2023-09-20T20:58:18.617Z] "tcp://0.0.0.0:5555", [2023-09-20T20:58:18.617Z] "unix:///var/run/docker.sock" [2023-09-20T20:58:18.617Z] ], [2023-09-20T20:58:18.617Z] "mtu": 1458, [2023-09-20T20:58:18.617Z] "selinux-enabled": true, [2023-09-20T20:58:18.617Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T20:58:18.617Z] } [Pipeline] sh [2023-09-20T20:58:18.992Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T20:58:19.368Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:58:37.787Z] provisioning config files... [2023-09-20T20:58:37.827Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/142@tmp/config11133316386240966429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:58:38.226Z] ---> docker-login.sh [2023-09-20T20:58:38.226Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:58:38.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:39.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:39.102Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:39.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:39.102Z] [2023-09-20T20:58:39.102Z] Login Succeeded [2023-09-20T20:58:39.102Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:58:39.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:39.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:39.375Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:39.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:39.375Z] [2023-09-20T20:58:39.375Z] Login Succeeded [2023-09-20T20:58:39.375Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:58:39.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:39.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:39.923Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:39.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:39.923Z] [2023-09-20T20:58:39.923Z] Login Succeeded [2023-09-20T20:58:39.923Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:58:40.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:40.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:40.199Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:40.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:40.199Z] [2023-09-20T20:58:40.199Z] Login Succeeded [2023-09-20T20:58:40.199Z] docker.io [2023-09-20T20:58:40.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:40.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:40.750Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:40.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:40.750Z] [2023-09-20T20:58:40.750Z] Login Succeeded [2023-09-20T20:58:40.750Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:58:40.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:58:41.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:58:41.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:58:41.144Z] ========================================================= [2023-09-20T20:58:41.144Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T20:58:41.144Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:41.523Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T20:58:42.139Z] Sending build context to Docker daemon 11.95MB [2023-09-20T20:58:42.139Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:58:42.139Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T20:58:42.139Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T20:58:42.443Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T20:58:42.443Z] 5d54e960e981: Pulling fs layer [2023-09-20T20:58:42.443Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T20:58:42.443Z] f0e02332f6b5: Pulling fs layer [2023-09-20T20:58:42.443Z] cefa15bbcfad: Pulling fs layer [2023-09-20T20:58:42.443Z] 17808c966233: Pulling fs layer [2023-09-20T20:58:42.443Z] f4c1fc716caa: Pulling fs layer [2023-09-20T20:58:42.443Z] cefa15bbcfad: Waiting [2023-09-20T20:58:42.443Z] 17808c966233: Waiting [2023-09-20T20:58:42.443Z] f4c1fc716caa: Waiting [2023-09-20T20:58:42.443Z] f0e02332f6b5: Waiting [2023-09-20T20:58:42.443Z] 5d54e960e981: Verifying Checksum [2023-09-20T20:58:42.443Z] 5d54e960e981: Download complete [2023-09-20T20:58:42.443Z] f0e02332f6b5: Verifying Checksum [2023-09-20T20:58:42.443Z] f0e02332f6b5: Download complete [2023-09-20T20:58:42.443Z] cefa15bbcfad: Verifying Checksum [2023-09-20T20:58:42.443Z] cefa15bbcfad: Download complete [2023-09-20T20:58:43.444Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T20:58:43.444Z] 9fda8d8052c6: Download complete [2023-09-20T20:58:44.049Z] f4c1fc716caa: Verifying Checksum [2023-09-20T20:58:44.049Z] f4c1fc716caa: Download complete [2023-09-20T20:58:44.656Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T20:58:44.656Z] c4a7e357bf2a: Download complete [2023-09-20T20:58:44.656Z] 9fda8d8052c6: Pull complete [2023-09-20T20:58:45.254Z] 5d54e960e981: Pull complete [2023-09-20T20:58:45.527Z] 17808c966233: Verifying Checksum [2023-09-20T20:58:45.527Z] 17808c966233: Download complete [2023-09-20T20:58:57.926Z] c4a7e357bf2a: Pull complete [2023-09-20T20:58:57.926Z] f0e02332f6b5: Pull complete [2023-09-20T20:58:57.926Z] cefa15bbcfad: Pull complete [2023-09-20T20:59:04.772Z] 17808c966233: Pull complete [2023-09-20T20:59:05.752Z] f4c1fc716caa: Pull complete [2023-09-20T20:59:05.752Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T20:59:05.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T20:59:05.752Z] ---> ea914061e18c [2023-09-20T20:59:05.752Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:59:09.135Z] ---> Running in 690e34400cdc [2023-09-20T20:59:09.405Z] Removing intermediate container 690e34400cdc [2023-09-20T20:59:09.405Z] ---> a534b701643b [2023-09-20T20:59:09.405Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:59:09.405Z] ---> Running in 40b0220a93c0 [2023-09-20T20:59:10.005Z] Removing intermediate container 40b0220a93c0 [2023-09-20T20:59:10.005Z] ---> c67a8bd8193d [2023-09-20T20:59:10.005Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:59:10.005Z] ---> Running in ae3234961816 [2023-09-20T20:59:10.599Z] Removing intermediate container ae3234961816 [2023-09-20T20:59:10.599Z] ---> 7db20b03f542 [2023-09-20T20:59:10.599Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-20T20:59:10.599Z] ---> Running in 17d968b40385 [2023-09-20T20:59:11.205Z] Removing intermediate container 17d968b40385 [2023-09-20T20:59:11.205Z] ---> 67cfd12d4e14 [2023-09-20T20:59:11.205Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:59:11.205Z] ---> Running in 7c3e94b2cad4 [2023-09-20T20:59:12.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T20:59:13.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T20:59:14.699Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T20:59:14.699Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T20:59:14.699Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T20:59:14.699Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T20:59:14.699Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:59:14.699Z] OK: 270 MiB in 56 packages [2023-09-20T20:59:16.219Z] Removing intermediate container 7c3e94b2cad4 [2023-09-20T20:59:16.219Z] ---> b03411d89fd4 [2023-09-20T20:59:16.219Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T20:59:16.811Z] ---> 873630398e32 [2023-09-20T20:59:16.811Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:59:16.811Z] ---> Running in 14f75c4237aa [2023-09-20T21:00:38.572Z] Removing intermediate container 14f75c4237aa [2023-09-20T21:00:38.572Z] ---> 4bfd17160da1 [2023-09-20T21:00:38.572Z] Step 10/12 : COPY . . [2023-09-20T21:00:38.572Z] ---> d3c3ae6ccd16 [2023-09-20T21:00:38.572Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T21:00:38.572Z] ---> Running in 1e730de3adbc [2023-09-20T21:00:38.572Z] Removing intermediate container 1e730de3adbc [2023-09-20T21:00:38.572Z] ---> e46300c77842 [2023-09-20T21:00:38.572Z] Step 12/12 : RUN $MAKE [2023-09-20T21:00:38.572Z] ---> Running in adc38d51c9b1 [2023-09-20T21:00:38.572Z] noop [2023-09-20T21:00:38.572Z] Removing intermediate container adc38d51c9b1 [2023-09-20T21:00:38.572Z] ---> 82814840894a [2023-09-20T21:00:38.572Z] Successfully built 82814840894a [2023-09-20T21:00:38.572Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:00:38.965Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:00:38.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:00:39.224Z] prd-ubuntu20.04-docker-arm64-4c-16g-7237 does not seem to be running inside a container [2023-09-20T21:00:39.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/142 -v /w/workspace/device-virtual-go/142:/w/workspace/device-virtual-go/142:rw,z -v /w/workspace/device-virtual-go/142@tmp:/w/workspace/device-virtual-go/142@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-09-20T21:00:40.803Z] $ docker top f360a618b0538bfc82f8102ba45065fbd497bf79fd9a8d8896b79a7f02a26b82 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:00:41.731Z] + go version [2023-09-20T21:00:41.731Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T21:00:41.762Z] $ docker stop --time=1 f360a618b0538bfc82f8102ba45065fbd497bf79fd9a8d8896b79a7f02a26b82 [2023-09-20T21:00:43.534Z] $ docker rm -f --volumes f360a618b0538bfc82f8102ba45065fbd497bf79fd9a8d8896b79a7f02a26b82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:00:44.129Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:00:44.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:00:44.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-7237 does not seem to be running inside a container [2023-09-20T21:00:44.438Z] $ 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/142 -v /w/workspace/device-virtual-go/142:/w/workspace/device-virtual-go/142:rw,z -v /w/workspace/device-virtual-go/142@tmp:/w/workspace/device-virtual-go/142@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-09-20T21:00:45.843Z] $ docker top a3726b776a272206752ac5d1d1df9cdd7902aa34cb25fbc1d68244422668b241 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:00:46.729Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/142 [Pipeline] fileExists [Pipeline] sh [2023-09-20T21:00:47.399Z] + make test [2023-09-20T21:00:47.399Z] go test ./... -coverprofile=coverage.out [2023-09-20T21:00:52.803Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-20T21:03:44.703Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-20T21:03:44.703Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.107s coverage: 58.4% of statements [2023-09-20T21:03:44.703Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T21:03:44.703Z] go vet ./... [2023-09-20T21:04:06.899Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T21:04:06.899Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T21:04:06.899Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T21:04:06.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T21:04:06.942Z] $ docker stop --time=1 a3726b776a272206752ac5d1d1df9cdd7902aa34cb25fbc1d68244422668b241 [2023-09-20T21:04:09.041Z] $ docker rm -f --volumes a3726b776a272206752ac5d1d1df9cdd7902aa34cb25fbc1d68244422668b241 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:04:10.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T21:04:10.487Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T21:04:11.171Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:04:11.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T21:04:11.941Z] + ls -al . [2023-09-20T21:04:11.942Z] total 200 [2023-09-20T21:04:11.942Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 21:00 . [2023-09-20T21:04:11.942Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:58 .. [2023-09-20T21:04:11.942Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:58 .git [2023-09-20T21:04:11.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:58 .github [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 20 20:58 .gitignore [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:58 .golangci.yml [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 20 20:58 Attribution.txt [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 20 20:58 CHANGELOG.md [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 20 20:58 Dockerfile [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:58 GOVERNANCE.md [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 20 20:58 Jenkinsfile [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:58 LICENSE [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 20 20:58 Makefile [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 20 20:58 OWNERS.md [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 20 20:58 README.md [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:55 VERSION [2023-09-20T21:04:11.942Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:58 bin [2023-09-20T21:04:11.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:58 cmd [2023-09-20T21:04:11.942Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 20 21:03 coverage.out [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 20 20:58 go.mod [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 20 20:58 go.sum [2023-09-20T21:04:11.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:58 internal [2023-09-20T21:04:11.942Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:58 snap [2023-09-20T21:04:11.942Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 20 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:04:12.312Z] + 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=a79f7bfda672890f5a827a453c16a6ee5e560f4d --label arch=arm64 --label version=3.1.0-dev.16 . [2023-09-20T21:04:12.924Z] Sending build context to Docker daemon 11.99MB [2023-09-20T21:04:12.924Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T21:04:12.924Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T21:04:12.924Z] ---> 82814840894a [2023-09-20T21:04:12.924Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T21:04:13.901Z] ---> Running in 62fd41f36fa4 [2023-09-20T21:04:14.185Z] Removing intermediate container 62fd41f36fa4 [2023-09-20T21:04:14.185Z] ---> c2830a4264c1 [2023-09-20T21:04:14.185Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T21:04:14.185Z] ---> Running in 63e2d26a0057 [2023-09-20T21:04:14.778Z] Removing intermediate container 63e2d26a0057 [2023-09-20T21:04:14.778Z] ---> 2b98cd89f6f3 [2023-09-20T21:04:14.778Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T21:04:14.778Z] ---> Running in ef4583b7f7c0 [2023-09-20T21:04:15.050Z] Removing intermediate container ef4583b7f7c0 [2023-09-20T21:04:15.050Z] ---> 676cda275571 [2023-09-20T21:04:15.050Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-20T21:04:15.325Z] ---> Running in 9e345f059e42 [2023-09-20T21:04:15.598Z] Removing intermediate container 9e345f059e42 [2023-09-20T21:04:15.598Z] ---> 1d77311046d7 [2023-09-20T21:04:15.598Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T21:04:15.871Z] ---> Running in 631f73445fe4 [2023-09-20T21:04:16.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:04:17.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:04:19.425Z] OK: 270 MiB in 56 packages [2023-09-20T21:04:20.417Z] Removing intermediate container 631f73445fe4 [2023-09-20T21:04:20.417Z] ---> a60fdcad1806 [2023-09-20T21:04:20.417Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-20T21:04:21.017Z] ---> 0d8dae34c7f7 [2023-09-20T21:04:21.017Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:04:21.017Z] ---> Running in 20d714c53043 [2023-09-20T21:04:24.439Z] Removing intermediate container 20d714c53043 [2023-09-20T21:04:24.439Z] ---> 047c5d124a48 [2023-09-20T21:04:24.439Z] Step 10/25 : COPY . . [2023-09-20T21:04:25.416Z] ---> 668f15680775 [2023-09-20T21:04:25.416Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T21:04:25.690Z] ---> Running in cc813ffcd2a8 [2023-09-20T21:04:25.963Z] Removing intermediate container cc813ffcd2a8 [2023-09-20T21:04:25.963Z] ---> 9ac0864752e3 [2023-09-20T21:04:25.963Z] Step 12/25 : RUN $MAKE [2023-09-20T21:04:26.238Z] ---> Running in 4e26e57f23d4 [2023-09-20T21:04:27.223Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-20T21:07:04.082Z] Removing intermediate container 4e26e57f23d4 [2023-09-20T21:07:04.082Z] ---> 5ae2dec84d48 [2023-09-20T21:07:04.082Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T21:07:04.082Z] 3.18: Pulling from library/alpine [2023-09-20T21:07:04.082Z] 9fda8d8052c6: Already exists [2023-09-20T21:07:04.082Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T21:07:04.082Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T21:07:04.082Z] ---> f6648c04cd6c [2023-09-20T21:07:04.082Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-20T21:07:04.082Z] ---> Running in 3bae0f27a34d [2023-09-20T21:07:04.082Z] Removing intermediate container 3bae0f27a34d [2023-09-20T21:07:04.082Z] ---> d45ce3d5adc7 [2023-09-20T21:07:04.082Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T21:07:04.082Z] ---> Running in 46c68274db48 [2023-09-20T21:07:04.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:07:04.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:07:04.082Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T21:07:04.082Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T21:07:04.082Z] OK: 8 MiB in 16 packages [2023-09-20T21:07:04.082Z] Removing intermediate container 46c68274db48 [2023-09-20T21:07:04.082Z] ---> 795300b5940f [2023-09-20T21:07:04.082Z] Step 16/25 : WORKDIR / [2023-09-20T21:07:04.082Z] ---> Running in 79c02696387c [2023-09-20T21:07:04.082Z] Removing intermediate container 79c02696387c [2023-09-20T21:07:04.082Z] ---> f5b834fc3059 [2023-09-20T21:07:04.082Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-20T21:07:04.673Z] ---> fc5b0a686501 [2023-09-20T21:07:04.673Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-20T21:07:05.264Z] ---> 86a64ad204af [2023-09-20T21:07:05.264Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-20T21:07:06.697Z] ---> 1a83a8f102e2 [2023-09-20T21:07:06.697Z] Step 20/25 : EXPOSE 59900 [2023-09-20T21:07:06.697Z] ---> Running in ce0611f3a475 [2023-09-20T21:07:07.290Z] Removing intermediate container ce0611f3a475 [2023-09-20T21:07:07.290Z] ---> 45b96cfa88c9 [2023-09-20T21:07:07.290Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-20T21:07:07.290Z] ---> Running in 3001628ed195 [2023-09-20T21:07:07.566Z] Removing intermediate container 3001628ed195 [2023-09-20T21:07:07.566Z] ---> 62a6b76d0976 [2023-09-20T21:07:07.566Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T21:07:07.841Z] ---> Running in d09aca0d8566 [2023-09-20T21:07:08.114Z] Removing intermediate container d09aca0d8566 [2023-09-20T21:07:08.114Z] ---> 0d4d11ea6814 [2023-09-20T21:07:08.114Z] Step 23/25 : LABEL arch=arm64 [2023-09-20T21:07:08.114Z] ---> Running in 31d167e236bb [2023-09-20T21:07:08.389Z] Removing intermediate container 31d167e236bb [2023-09-20T21:07:08.389Z] ---> ef263ede0cd2 [2023-09-20T21:07:08.389Z] Step 24/25 : LABEL git_sha=a79f7bfda672890f5a827a453c16a6ee5e560f4d [2023-09-20T21:07:08.662Z] ---> Running in bbdb72a8c94f [2023-09-20T21:07:08.941Z] Removing intermediate container bbdb72a8c94f [2023-09-20T21:07:08.941Z] ---> a88bfe412788 [2023-09-20T21:07:08.941Z] Step 25/25 : LABEL version=3.1.0-dev.16 [2023-09-20T21:07:08.941Z] ---> Running in a9d3a1da7e37 [2023-09-20T21:07:09.536Z] Removing intermediate container a9d3a1da7e37 [2023-09-20T21:07:09.536Z] ---> e6940bc127f0 [2023-09-20T21:07:09.536Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T21:07:09.536Z] Successfully built e6940bc127f0 [2023-09-20T21:07:09.536Z] 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-09-20T21:07:09.685Z] provisioning config files... [2023-09-20T21:07:09.705Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/142@tmp/config15997022797258641348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:07:10.075Z] ---> docker-login.sh [2023-09-20T21:07:10.075Z] nexus3.edgexfoundry.org:10001 [2023-09-20T21:07:10.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:07:10.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:07:10.347Z] Configure a credential helper to remove this warning. See [2023-09-20T21:07:10.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:07:10.347Z] [2023-09-20T21:07:10.347Z] Login Succeeded [2023-09-20T21:07:10.347Z] nexus3.edgexfoundry.org:10002 [2023-09-20T21:07:10.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:07:10.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:07:10.892Z] Configure a credential helper to remove this warning. See [2023-09-20T21:07:10.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:07:10.892Z] [2023-09-20T21:07:10.892Z] Login Succeeded [2023-09-20T21:07:10.892Z] nexus3.edgexfoundry.org:10003 [2023-09-20T21:07:11.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:07:11.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:07:11.435Z] Configure a credential helper to remove this warning. See [2023-09-20T21:07:11.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:07:11.435Z] [2023-09-20T21:07:11.435Z] Login Succeeded [2023-09-20T21:07:11.435Z] nexus3.edgexfoundry.org:10004 [2023-09-20T21:07:11.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:07:11.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:07:11.706Z] Configure a credential helper to remove this warning. See [2023-09-20T21:07:11.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:07:11.706Z] [2023-09-20T21:07:11.706Z] Login Succeeded [2023-09-20T21:07:11.706Z] docker.io [2023-09-20T21:07:12.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:07:12.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:07:12.571Z] Configure a credential helper to remove this warning. See [2023-09-20T21:07:12.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:07:12.571Z] [2023-09-20T21:07:12.571Z] Login Succeeded [2023-09-20T21:07:12.571Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T21:07:12.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T21:07:12.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:07:12.655Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-09-20T21:07:12.655Z] a79f7bfda672890f5a827a453c16a6ee5e560f4d [2023-09-20T21:07:12.655Z] latest [2023-09-20T21:07:12.655Z] 3.1.0-dev.16 [2023-09-20T21:07:12.655Z] a79f7bfda672890f5a827a453c16a6ee5e560f4d-3.1.0-dev.16 [2023-09-20T21:07:12.655Z] main [2023-09-20T21:07:12.655Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:13.023Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:a79f7bfda672890f5a827a453c16a6ee5e560f4d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:13.446Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:a79f7bfda672890f5a827a453c16a6ee5e560f4d [2023-09-20T21:07:13.446Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-20T21:07:13.446Z] 6198bcf31c32: Preparing [2023-09-20T21:07:13.446Z] 614ada1386c3: Preparing [2023-09-20T21:07:13.446Z] 432a79732134: Preparing [2023-09-20T21:07:13.446Z] 05ff2084eeb0: Preparing [2023-09-20T21:07:13.446Z] b2191e2be29d: Preparing [2023-09-20T21:07:13.446Z] b2191e2be29d: Layer already exists [2023-09-20T21:07:13.727Z] 432a79732134: Pushed [2023-09-20T21:07:13.727Z] 614ada1386c3: Pushed [2023-09-20T21:07:13.727Z] 05ff2084eeb0: Pushed [2023-09-20T21:07:20.535Z] 6198bcf31c32: Pushed [2023-09-20T21:07:20.535Z] a79f7bfda672890f5a827a453c16a6ee5e560f4d: digest: sha256:f5c94e0736f4fca48c767b6b15b8dbdb1f6f86e2ade3b0f64171601d83a49369 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:20.920Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:21.280Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-20T21:07:21.280Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-20T21:07:21.280Z] 6198bcf31c32: Preparing [2023-09-20T21:07:21.280Z] 614ada1386c3: Preparing [2023-09-20T21:07:21.280Z] 432a79732134: Preparing [2023-09-20T21:07:21.280Z] 05ff2084eeb0: Preparing [2023-09-20T21:07:21.280Z] b2191e2be29d: Preparing [2023-09-20T21:07:21.280Z] 614ada1386c3: Layer already exists [2023-09-20T21:07:21.280Z] b2191e2be29d: Layer already exists [2023-09-20T21:07:21.280Z] 432a79732134: Layer already exists [2023-09-20T21:07:21.280Z] 05ff2084eeb0: Layer already exists [2023-09-20T21:07:21.280Z] 6198bcf31c32: Layer already exists [2023-09-20T21:07:21.553Z] latest: digest: sha256:f5c94e0736f4fca48c767b6b15b8dbdb1f6f86e2ade3b0f64171601d83a49369 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:21.928Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:22.296Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.16 [2023-09-20T21:07:22.296Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-20T21:07:22.296Z] 6198bcf31c32: Preparing [2023-09-20T21:07:22.296Z] 614ada1386c3: Preparing [2023-09-20T21:07:22.296Z] 432a79732134: Preparing [2023-09-20T21:07:22.296Z] 05ff2084eeb0: Preparing [2023-09-20T21:07:22.296Z] b2191e2be29d: Preparing [2023-09-20T21:07:22.296Z] 614ada1386c3: Layer already exists [2023-09-20T21:07:22.296Z] 05ff2084eeb0: Layer already exists [2023-09-20T21:07:22.296Z] b2191e2be29d: Layer already exists [2023-09-20T21:07:22.296Z] 6198bcf31c32: Layer already exists [2023-09-20T21:07:22.296Z] 432a79732134: Layer already exists [2023-09-20T21:07:22.567Z] 3.1.0-dev.16: digest: sha256:f5c94e0736f4fca48c767b6b15b8dbdb1f6f86e2ade3b0f64171601d83a49369 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:22.933Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:a79f7bfda672890f5a827a453c16a6ee5e560f4d-3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:23.289Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:a79f7bfda672890f5a827a453c16a6ee5e560f4d-3.1.0-dev.16 [2023-09-20T21:07:23.289Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-20T21:07:23.289Z] 6198bcf31c32: Preparing [2023-09-20T21:07:23.289Z] 614ada1386c3: Preparing [2023-09-20T21:07:23.289Z] 432a79732134: Preparing [2023-09-20T21:07:23.289Z] 05ff2084eeb0: Preparing [2023-09-20T21:07:23.289Z] b2191e2be29d: Preparing [2023-09-20T21:07:23.289Z] 432a79732134: Layer already exists [2023-09-20T21:07:23.289Z] 6198bcf31c32: Layer already exists [2023-09-20T21:07:23.289Z] b2191e2be29d: Layer already exists [2023-09-20T21:07:23.289Z] 614ada1386c3: Layer already exists [2023-09-20T21:07:23.289Z] 05ff2084eeb0: Layer already exists [2023-09-20T21:07:23.562Z] a79f7bfda672890f5a827a453c16a6ee5e560f4d-3.1.0-dev.16: digest: sha256:f5c94e0736f4fca48c767b6b15b8dbdb1f6f86e2ade3b0f64171601d83a49369 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:23.923Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:24.285Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-09-20T21:07:24.285Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-20T21:07:24.285Z] 6198bcf31c32: Preparing [2023-09-20T21:07:24.285Z] 614ada1386c3: Preparing [2023-09-20T21:07:24.285Z] 432a79732134: Preparing [2023-09-20T21:07:24.285Z] 05ff2084eeb0: Preparing [2023-09-20T21:07:24.285Z] b2191e2be29d: Preparing [2023-09-20T21:07:24.285Z] b2191e2be29d: Layer already exists [2023-09-20T21:07:24.285Z] 432a79732134: Layer already exists [2023-09-20T21:07:24.285Z] 614ada1386c3: Layer already exists [2023-09-20T21:07:24.285Z] 6198bcf31c32: Layer already exists [2023-09-20T21:07:24.285Z] 05ff2084eeb0: Layer already exists [2023-09-20T21:07:24.555Z] main: digest: sha256:f5c94e0736f4fca48c767b6b15b8dbdb1f6f86e2ade3b0f64171601d83a49369 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T21:07:24.603Z] ===================================================== [Pipeline] echo [2023-09-20T21:07:24.609Z] taggedImages: [2023-09-20T21:07:24.609Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:a79f7bfda672890f5a827a453c16a6ee5e560f4d [2023-09-20T21:07:24.609Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-20T21:07:24.609Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.16 [2023-09-20T21:07:24.609Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:a79f7bfda672890f5a827a453c16a6ee5e560f4d-3.1.0-dev.16 [2023-09-20T21:07:24.609Z] - 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-09-20T21:07:25.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:07:25.002Z] [2023-09-20T21:07:25.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:25.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:07:25.632Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T21:07:25.632Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T21:07:25.632Z] 04944245beec: Pulling fs layer [2023-09-20T21:07:25.632Z] 699f458cf7ca: Pulling fs layer [2023-09-20T21:07:25.632Z] 765212b225bb: Pulling fs layer [2023-09-20T21:07:25.632Z] f23df028b6ca: Pulling fs layer [2023-09-20T21:07:25.632Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T21:07:25.632Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T21:07:25.632Z] 765212b225bb: Waiting [2023-09-20T21:07:25.632Z] f23df028b6ca: Waiting [2023-09-20T21:07:25.632Z] d65c8cfc05b1: Waiting [2023-09-20T21:07:25.632Z] 2437ff75d9bd: Waiting [2023-09-20T21:07:25.632Z] 04944245beec: Verifying Checksum [2023-09-20T21:07:25.632Z] 04944245beec: Download complete [2023-09-20T21:07:25.632Z] 765212b225bb: Verifying Checksum [2023-09-20T21:07:25.632Z] 765212b225bb: Download complete [2023-09-20T21:07:25.904Z] f23df028b6ca: Verifying Checksum [2023-09-20T21:07:25.904Z] f23df028b6ca: Download complete [2023-09-20T21:07:25.904Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T21:07:25.904Z] d65c8cfc05b1: Download complete [2023-09-20T21:07:25.904Z] 699f458cf7ca: Verifying Checksum [2023-09-20T21:07:25.904Z] 699f458cf7ca: Download complete [2023-09-20T21:07:26.498Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T21:07:26.498Z] 8998bd30e6a1: Download complete [2023-09-20T21:07:29.103Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T21:07:29.103Z] 2437ff75d9bd: Download complete [2023-09-20T21:07:30.522Z] 8998bd30e6a1: Pull complete [2023-09-20T21:07:31.114Z] 04944245beec: Pull complete [2023-09-20T21:07:32.534Z] 699f458cf7ca: Pull complete [2023-09-20T21:07:32.808Z] 765212b225bb: Pull complete [2023-09-20T21:07:33.785Z] f23df028b6ca: Pull complete [2023-09-20T21:07:34.057Z] d65c8cfc05b1: Pull complete [2023-09-20T21:07:49.103Z] 2437ff75d9bd: Pull complete [2023-09-20T21:07:49.103Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T21:07:49.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:07:49.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:07:49.336Z] prd-ubuntu20.04-docker-arm64-4c-16g-7237 does not seem to be running inside a container [2023-09-20T21:07:49.429Z] $ 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/142 -v /w/workspace/device-virtual-go/142:/w/workspace/device-virtual-go/142:rw,z -v /w/workspace/device-virtual-go/142@tmp:/w/workspace/device-virtual-go/142@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-09-20T21:07:52.734Z] $ docker top 06ccc8e06354ffe2f964d52b2bb55359eadef85c7b86cbca899465ddb08c9551 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:07:53.636Z] ---> job-cost.sh [2023-09-20T21:07:53.636Z] lf-activate-venv: SKIPPING [2023-09-20T21:07:53.636Z] INFO: No Stack... [2023-09-20T21:07:54.224Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T21:07:54.917Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T21:07:55.578Z] + cat /w/workspace/device-virtual-go/142/archives/cost.csv [2023-09-20T21:07:55.578Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T21:07:55.668Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-142-stack-cost] [2023-09-20T21:07:55.673Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-142-stack-cost] did not exist. Created. [2023-09-20T21:07:55.673Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:07:56.361Z] /w/workspace/device-virtual-go/142@tmp/durable-b2bf119b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T21:07:57.051Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T21:07:57.076Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T21:07:57.142Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T21:07:57.149Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-142-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T21:07:57.174Z] $ docker stop --time=1 06ccc8e06354ffe2f964d52b2bb55359eadef85c7b86cbca899465ddb08c9551 [2023-09-20T21:07:58.762Z] $ docker rm -f --volumes 06ccc8e06354ffe2f964d52b2bb55359eadef85c7b86cbca899465ddb08c9551 [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-09-20T21:07:59.179Z] provisioning config files... [2023-09-20T21:07:59.185Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12547029736023499782tmp [Pipeline] { [Pipeline] sh [2023-09-20T21:07:59.487Z] + set +x [2023-09-20T21:07:59.487Z] + curl -s https://codecov.io/bash [2023-09-20T21:07:59.487Z] + bash -s -- [2023-09-20T21:07:59.487Z] [2023-09-20T21:07:59.487Z] _____ _ [2023-09-20T21:07:59.487Z] / ____| | | [2023-09-20T21:07:59.487Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T21:07:59.487Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T21:07:59.487Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T21:07:59.487Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T21:07:59.487Z] Bash-1.0.6 [2023-09-20T21:07:59.487Z] [2023-09-20T21:07:59.487Z] [2023-09-20T21:07:59.487Z] ==> git version 2.25.1 found [2023-09-20T21:07:59.487Z] ==> 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-09-20T21:07:59.487Z] Release-Date: 2020-01-08 [2023-09-20T21:07:59.487Z] 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-09-20T21:07:59.487Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T21:07:59.487Z] ==> Jenkins CI detected. [2023-09-20T21:07:59.487Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-09-20T21:07:59.487Z] project root: . [2023-09-20T21:07:59.487Z] --> token set from env [2023-09-20T21:07:59.487Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T21:07:59.487Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T21:07:59.745Z] ==> Python coveragepy not found [2023-09-20T21:07:59.745Z] ==> Searching for coverage reports in: [2023-09-20T21:07:59.745Z] + . [2023-09-20T21:07:59.745Z] -> Found 1 reports [2023-09-20T21:07:59.745Z] ==> Detecting git/mercurial file structure [2023-09-20T21:07:59.745Z] ==> Reading reports [2023-09-20T21:07:59.745Z] + ./coverage.out bytes=43063 [2023-09-20T21:07:59.745Z] ==> Appending adjustments [2023-09-20T21:07:59.745Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T21:07:59.745Z] + Found adjustments [2023-09-20T21:07:59.745Z] ==> Gzipping contents [2023-09-20T21:07:59.745Z] 8.0K /tmp/codecov.6WYoEQ.gz [2023-09-20T21:07:59.745Z] ==> Uploading reports [2023-09-20T21:07:59.745Z] url: https://codecov.io [2023-09-20T21:07:59.745Z] query: branch=main&commit=a79f7bfda672890f5a827a453c16a6ee5e560f4d&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:07:59.745Z] -> Pinging Codecov [2023-09-20T21:07:59.745Z] 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=a79f7bfda672890f5a827a453c16a6ee5e560f4d&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:08:00.005Z] -> Uploading to [2023-09-20T21:08:00.005Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/5E52B4B073DB2E39498172D8E973AA87/a79f7bfda672890f5a827a453c16a6ee5e560f4d/8229cdc4-169b-48a6-a4ef-6c5512095a00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T210759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=923583bf548d46fa4f6525520a631e14e4c34511b1e00656236d50111c3c3131 [2023-09-20T21:08:00.005Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:08:00.005Z] Dload Upload Total Spent Left Speed [2023-09-20T21:08:00.005Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 28327 --:--:-- --:--:-- --:--:-- 28327 [2023-09-20T21:08:00.005Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a79f7bfda672890f5a827a453c16a6ee5e560f4d [Pipeline] } [2023-09-20T21:08:00.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T21:08:00.139Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T21:08:00.147Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:00.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:08:00.442Z] [2023-09-20T21:08:00.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:00.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:08:00.742Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T21:08:00.742Z] df9b9388f04a: Pulling fs layer [2023-09-20T21:08:00.742Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T21:08:00.742Z] 25bc292e5bac: Pulling fs layer [2023-09-20T21:08:00.742Z] 114826534d7a: Pulling fs layer [2023-09-20T21:08:00.742Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T21:08:00.742Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T21:08:00.742Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T21:08:00.742Z] 6ad1cebc031e: Waiting [2023-09-20T21:08:00.742Z] 4657fd5d0bcf: Waiting [2023-09-20T21:08:00.742Z] 8a3aa393b2d8: Waiting [2023-09-20T21:08:00.742Z] 114826534d7a: Waiting [2023-09-20T21:08:00.742Z] 25bc292e5bac: Verifying Checksum [2023-09-20T21:08:00.742Z] 25bc292e5bac: Download complete [2023-09-20T21:08:00.742Z] 52dc419b0ee2: Verifying Checksum [2023-09-20T21:08:00.742Z] 52dc419b0ee2: Download complete [2023-09-20T21:08:00.742Z] 4657fd5d0bcf: Download complete [2023-09-20T21:08:00.742Z] df9b9388f04a: Verifying Checksum [2023-09-20T21:08:00.742Z] df9b9388f04a: Download complete [2023-09-20T21:08:01.001Z] df9b9388f04a: Pull complete [2023-09-20T21:08:01.001Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T21:08:01.001Z] 6ad1cebc031e: Download complete [2023-09-20T21:08:01.001Z] 52dc419b0ee2: Pull complete [2023-09-20T21:08:01.001Z] 25bc292e5bac: Pull complete [2023-09-20T21:08:01.572Z] 114826534d7a: Verifying Checksum [2023-09-20T21:08:01.572Z] 114826534d7a: Download complete [2023-09-20T21:08:01.572Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T21:08:01.572Z] 8a3aa393b2d8: Download complete [2023-09-20T21:08:07.454Z] 114826534d7a: Pull complete [2023-09-20T21:08:07.454Z] 4657fd5d0bcf: Pull complete [2023-09-20T21:08:07.713Z] 6ad1cebc031e: Pull complete [2023-09-20T21:08:10.251Z] 8a3aa393b2d8: Pull complete [2023-09-20T21:08:10.251Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T21:08:10.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:08:10.251Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:08:10.342Z] prd-ubuntu20.04-docker-8c-8g-7224 does not seem to be running inside a container [2023-09-20T21:08:10.374Z] $ 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-09-20T21:08:14.267Z] $ docker top afc4f813de43a9e7ae560edc2e38e00fd5f32d5fa5424848f428ea467ddbd8ac -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T21:08:14.329Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-09-20T21:08:14.602Z] + set -o pipefail [2023-09-20T21:08:14.602Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-09-20T21:08:19.860Z] [2023-09-20T21:08:19.860Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-09-20T21:08:19.860Z] [2023-09-20T21:08:19.860Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/fb77342d-9528-4105-b1c6-9a6870cea816 [2023-09-20T21:08:19.860Z] [2023-09-20T21:08:19.860Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-20T21:08:19.860Z] [2023-09-20T21:08:19.860Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T21:08:19.860Z] [2023-09-20T21:08:19.860Z] [2023-09-20T21:08:19.860Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T21:08:19.860Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T21:08:19.860Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T21:08:19.868Z] $ docker stop --time=1 afc4f813de43a9e7ae560edc2e38e00fd5f32d5fa5424848f428ea467ddbd8ac [2023-09-20T21:08:23.272Z] $ docker rm -f --volumes afc4f813de43a9e7ae560edc2e38e00fd5f32d5fa5424848f428ea467ddbd8ac [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-09-20T21:08:25.897Z] + git log --format=format:%s -1 a79f7bfda672890f5a827a453c16a6ee5e560f4d [Pipeline] sh [2023-09-20T21:08:26.181Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:08:26.181Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:26.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:08:26.477Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:08:26.547Z] prd-ubuntu20.04-docker-8c-8g-7224 does not seem to be running inside a container [2023-09-20T21:08:26.576Z] $ 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-09-20T21:08:27.064Z] $ docker top 90f8184df92fd043bccbd5956ae26b3b4e010a2d9bb112bd612e25bab9667670 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:08:27.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:08:27.152Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:08:27.269Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:08:27.270Z] $ docker exec 90f8184df92fd043bccbd5956ae26b3b4e010a2d9bb112bd612e25bab9667670 ssh-agent [2023-09-20T21:08:27.371Z] SSH_AUTH_SOCK=/tmp/ssh-8EtbaSN7Sbo6/agent.32 [2023-09-20T21:08:27.371Z] SSH_AGENT_PID=38 [2023-09-20T21:08:27.376Z] Running ssh-add (command line suppressed) [2023-09-20T21:08:27.464Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16151651917277588619.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16151651917277588619.key) [2023-09-20T21:08:27.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:08:27.763Z] + git semver tag [2023-09-20T21:08:28.022Z] 2023-09-20 21:08:27,926 [run_tag] DEBUG tag force:False [2023-09-20T21:08:28.022Z] 2023-09-20 21:08:27,926 [check_head_tag] DEBUG check head tag [2023-09-20T21:08:28.022Z] 2023-09-20 21:08:27,927 [execute] INFO git cat-file --batch-check [2023-09-20T21:08:28.022Z] 2023-09-20 21:08:27,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:08:28.022Z] 2023-09-20 21:08:27,931 [execute] INFO git cat-file --batch [2023-09-20T21:08:28.022Z] 2023-09-20 21:08:27,931 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:08:28.022Z] 2023-09-20 21:08:27,946 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T21:08:28.022Z] 2023-09-20 21:08:27,946 [execute] INFO git tag -a v3.1.0-dev.16 -m v3.1.0-dev.16 [2023-09-20T21:08:28.022Z] 2023-09-20 21:08:27,947 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.16', '-m', 'v3.1.0-dev.16'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:08:28.022Z] 2023-09-20 21:08:27,951 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T21:08:28.022Z] 3.1.0-dev.16 [Pipeline] } [2023-09-20T21:08:28.029Z] $ docker exec --env ******** --env ******** 90f8184df92fd043bccbd5956ae26b3b4e010a2d9bb112bd612e25bab9667670 ssh-agent -k [2023-09-20T21:08:28.111Z] unset SSH_AUTH_SOCK; [2023-09-20T21:08:28.111Z] unset SSH_AGENT_PID; [2023-09-20T21:08:28.111Z] echo Agent pid 38 killed; [2023-09-20T21:08:28.122Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:08:28.421Z] + git semver [Pipeline] } [2023-09-20T21:08:28.689Z] $ docker stop --time=1 90f8184df92fd043bccbd5956ae26b3b4e010a2d9bb112bd612e25bab9667670 [2023-09-20T21:08:29.944Z] $ docker rm -f --volumes 90f8184df92fd043bccbd5956ae26b3b4e010a2d9bb112bd612e25bab9667670 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:30.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:08:30.324Z] [2023-09-20T21:08:30.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:30.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:08:30.628Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T21:08:30.628Z] ab5ef0e58194: Pulling fs layer [2023-09-20T21:08:30.628Z] 9712f1f96733: Pulling fs layer [2023-09-20T21:08:30.628Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T21:08:30.628Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T21:08:30.628Z] e9a5061849ea: Pulling fs layer [2023-09-20T21:08:30.628Z] d747dcd14b5f: Pulling fs layer [2023-09-20T21:08:30.628Z] 2de7ff778b66: Pulling fs layer [2023-09-20T21:08:30.628Z] 0d9ebad4ef96: Waiting [2023-09-20T21:08:30.628Z] e9a5061849ea: Waiting [2023-09-20T21:08:30.628Z] d747dcd14b5f: Waiting [2023-09-20T21:08:30.628Z] 2de7ff778b66: Waiting [2023-09-20T21:08:30.628Z] 9712f1f96733: Verifying Checksum [2023-09-20T21:08:30.628Z] 9712f1f96733: Download complete [2023-09-20T21:08:30.887Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T21:08:30.888Z] 63f879dbbcfc: Download complete [2023-09-20T21:08:31.146Z] e9a5061849ea: Verifying Checksum [2023-09-20T21:08:31.146Z] e9a5061849ea: Download complete [2023-09-20T21:08:31.146Z] d747dcd14b5f: Verifying Checksum [2023-09-20T21:08:31.146Z] d747dcd14b5f: Download complete [2023-09-20T21:08:31.146Z] ab5ef0e58194: Verifying Checksum [2023-09-20T21:08:31.146Z] ab5ef0e58194: Download complete [2023-09-20T21:08:31.146Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T21:08:31.146Z] 0d9ebad4ef96: Download complete [2023-09-20T21:08:31.404Z] 2de7ff778b66: Verifying Checksum [2023-09-20T21:08:31.404Z] 2de7ff778b66: Download complete [2023-09-20T21:08:33.931Z] ab5ef0e58194: Pull complete [2023-09-20T21:08:33.931Z] 9712f1f96733: Pull complete [2023-09-20T21:08:35.422Z] 63f879dbbcfc: Pull complete [2023-09-20T21:08:38.698Z] 0d9ebad4ef96: Pull complete [2023-09-20T21:08:38.957Z] e9a5061849ea: Pull complete [2023-09-20T21:08:39.215Z] d747dcd14b5f: Pull complete [2023-09-20T21:08:40.146Z] 2de7ff778b66: Pull complete [2023-09-20T21:08:40.146Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T21:08:40.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:08:40.146Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:08:40.232Z] prd-ubuntu20.04-docker-8c-8g-7224 does not seem to be running inside a container [2023-09-20T21:08:40.255Z] $ 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-09-20T21:08:45.469Z] $ docker top 825436d701083c69f43f56fd699388b83dd60f984f538edee64ee977db234066 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:08:45.533Z] provisioning config files... [2023-09-20T21:08:45.538Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6138932497761378412tmp [2023-09-20T21:08:45.547Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5805597346358097655tmp [2023-09-20T21:08:45.555Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9069329391721582059tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:08:45.571Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:08:45.848Z] ---> sigul-configuration.sh [2023-09-20T21:08:45.848Z] gpg: directory `/root/.gnupg' created [2023-09-20T21:08:45.848Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T21:08:45.848Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T21:08:45.848Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T21:08:45.848Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T21:08:45.848Z] gpg: CAST5 encrypted data [2023-09-20T21:08:45.848Z] gpg: encrypted with 1 passphrase [2023-09-20T21:08:45.848Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T21:08:46.131Z] + mkdir /home/jenkins [2023-09-20T21:08:46.131Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T21:08:46.414Z] + 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-09-20T21:08:46.423Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:08:46.700Z] ---> sigul-install.sh [2023-09-20T21:08:46.700Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T21:08:48.901Z] + git tag --list [2023-09-20T21:08:48.901Z] v1.0.0 [2023-09-20T21:08:48.901Z] v1.1.0 [2023-09-20T21:08:48.901Z] v1.1.1 [2023-09-20T21:08:48.901Z] v1.2.1 [2023-09-20T21:08:48.901Z] v1.2.2 [2023-09-20T21:08:48.901Z] v1.2.3 [2023-09-20T21:08:48.901Z] v1.3.0 [2023-09-20T21:08:48.901Z] v1.3.1 [2023-09-20T21:08:48.901Z] v2.0.0 [2023-09-20T21:08:48.901Z] v2.1.0 [2023-09-20T21:08:48.901Z] v2.1.1 [2023-09-20T21:08:48.901Z] v2.2.0 [2023-09-20T21:08:48.901Z] v2.3.0 [2023-09-20T21:08:48.901Z] v3.0 [2023-09-20T21:08:48.901Z] v3.0.0 [2023-09-20T21:08:48.901Z] v3.1.0-dev.1 [2023-09-20T21:08:48.901Z] v3.1.0-dev.10 [2023-09-20T21:08:48.901Z] v3.1.0-dev.11 [2023-09-20T21:08:48.901Z] v3.1.0-dev.12 [2023-09-20T21:08:48.901Z] v3.1.0-dev.13 [2023-09-20T21:08:48.901Z] v3.1.0-dev.14 [2023-09-20T21:08:48.901Z] v3.1.0-dev.15 [2023-09-20T21:08:48.901Z] v3.1.0-dev.16 [2023-09-20T21:08:48.901Z] v3.1.0-dev.2 [2023-09-20T21:08:48.901Z] v3.1.0-dev.3 [2023-09-20T21:08:48.901Z] v3.1.0-dev.4 [2023-09-20T21:08:48.901Z] v3.1.0-dev.5 [2023-09-20T21:08:48.901Z] v3.1.0-dev.6 [2023-09-20T21:08:48.901Z] v3.1.0-dev.7 [2023-09-20T21:08:48.901Z] v3.1.0-dev.8 [2023-09-20T21:08:48.901Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T21:08:49.186Z] + lftools sign git-tag v3.1.0-dev.16 [2023-09-20T21:08:49.752Z] Signing Git tag with Sigul... [2023-09-20T21:08:49.752Z] Signing v3.1.0-dev.16 [Pipeline] echo [2023-09-20T21:08:51.438Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:08:56.422Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T21:08:56.430Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T21:08:56.444Z] $ docker stop --time=1 825436d701083c69f43f56fd699388b83dd60f984f538edee64ee977db234066 [2023-09-20T21:08:57.758Z] $ docker rm -f --volumes 825436d701083c69f43f56fd699388b83dd60f984f538edee64ee977db234066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T21:08:58.165Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:08:58.165Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:58.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:08:58.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:08:58.540Z] prd-ubuntu20.04-docker-8c-8g-7224 does not seem to be running inside a container [2023-09-20T21:08:58.570Z] $ 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-09-20T21:08:58.913Z] $ docker top 6778d2d7d078a2641e86187641508fab6ae9a5d179861d2cf02a4c6bcbf7d0a2 -eo pid,comm [2023-09-20T21:08:58.960Z] 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-09-20T21:08:58.960Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:08:58.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:08:58.988Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:08:59.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:08:59.089Z] $ docker exec 6778d2d7d078a2641e86187641508fab6ae9a5d179861d2cf02a4c6bcbf7d0a2 ssh-agent [2023-09-20T21:08:59.183Z] SSH_AUTH_SOCK=/tmp/ssh-S8JNau0Tuncx/agent.32 [2023-09-20T21:08:59.183Z] SSH_AGENT_PID=38 [2023-09-20T21:08:59.187Z] Running ssh-add (command line suppressed) [2023-09-20T21:08:59.276Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8301189383195242189.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8301189383195242189.key) [2023-09-20T21:08:59.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:08:59.577Z] + git semver bump pre [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,765 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,766 [bump_version] DEBUG bumping version:3.1.0-dev.16 on axis:pre with prefix:dev [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,766 [bump_version] DEBUG bumped version:3.1.0-dev.17 [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,766 [write_version] DEBUG write version:3.1.0-dev.17 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,766 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,766 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,769 [execute] INFO git cat-file --batch-check [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,773 [execute] INFO git cat-file --batch [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:08:59.836Z] 2023-09-20 21:08:59,778 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T21:08:59.836Z] 3.1.0-dev.17 [Pipeline] } [2023-09-20T21:08:59.843Z] $ docker exec --env ******** --env ******** 6778d2d7d078a2641e86187641508fab6ae9a5d179861d2cf02a4c6bcbf7d0a2 ssh-agent -k [2023-09-20T21:08:59.949Z] unset SSH_AUTH_SOCK; [2023-09-20T21:08:59.949Z] unset SSH_AGENT_PID; [2023-09-20T21:08:59.949Z] echo Agent pid 38 killed; [2023-09-20T21:08:59.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:09:00.268Z] + git semver [Pipeline] } [2023-09-20T21:09:00.536Z] $ docker stop --time=1 6778d2d7d078a2641e86187641508fab6ae9a5d179861d2cf02a4c6bcbf7d0a2 [2023-09-20T21:09:01.788Z] $ docker rm -f --volumes 6778d2d7d078a2641e86187641508fab6ae9a5d179861d2cf02a4c6bcbf7d0a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:09:02.137Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:09:02.137Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:02.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:09:02.438Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:02.508Z] prd-ubuntu20.04-docker-8c-8g-7224 does not seem to be running inside a container [2023-09-20T21:09:02.532Z] $ 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-09-20T21:09:02.842Z] $ docker top 3ae69514a092d18705bfb241cc7a9cd57a4746bde06c3d699acc4e551fed8cfd -eo pid,comm [2023-09-20T21:09:02.885Z] 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-09-20T21:09:02.885Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:09:02.929Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:09:02.929Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:09:03.049Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:09:03.049Z] $ docker exec 3ae69514a092d18705bfb241cc7a9cd57a4746bde06c3d699acc4e551fed8cfd ssh-agent [2023-09-20T21:09:03.154Z] SSH_AUTH_SOCK=/tmp/ssh-dsKFp1B6rJqf/agent.32 [2023-09-20T21:09:03.154Z] SSH_AGENT_PID=38 [2023-09-20T21:09:03.159Z] Running ssh-add (command line suppressed) [2023-09-20T21:09:03.261Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9550209171634488857.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9550209171634488857.key) [2023-09-20T21:09:03.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:09:03.561Z] + git semver push [2023-09-20T21:09:03.820Z] 2023-09-20 21:09:03,733 [run_push] DEBUG push [2023-09-20T21:09:03.820Z] 2023-09-20 21:09:03,734 [execute] INFO git cat-file --batch-check [2023-09-20T21:09:03.820Z] 2023-09-20 21:09:03,734 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:03.820Z] 2023-09-20 21:09:03,738 [execute] INFO git rev-list d98f5b3806b4bc7a609b6aca40df2f9c80fcfb9d -- [2023-09-20T21:09:03.820Z] 2023-09-20 21:09:03,738 [execute] DEBUG Popen(['git', 'rev-list', 'd98f5b3806b4bc7a609b6aca40df2f9c80fcfb9d', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:09:03.820Z] 2023-09-20 21:09:03,748 [execute] INFO git fetch -v origin [2023-09-20T21:09:03.820Z] 2023-09-20 21:09:03,748 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-20T21:09:04.387Z] 2023-09-20 21:09:04,246 [run_push] DEBUG no remote changes detected [2023-09-20T21:09:04.387Z] 2023-09-20 21:09:04,247 [execute] INFO git push origin semver [2023-09-20T21:09:04.387Z] 2023-09-20 21:09:04,247 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:09:05.322Z] 2023-09-20 21:09:05,096 [run_push] DEBUG push all version tags [2023-09-20T21:09:05.322Z] 2023-09-20 21:09:05,096 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T21:09:05.322Z] 2023-09-20 21:09:05,097 [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-09-20T21:09:06.701Z] 2023-09-20 21:09:06,288 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T21:09:06.701Z] 3.1.0-dev.17 [Pipeline] } [2023-09-20T21:09:06.708Z] $ docker exec --env ******** --env ******** 3ae69514a092d18705bfb241cc7a9cd57a4746bde06c3d699acc4e551fed8cfd ssh-agent -k [2023-09-20T21:09:06.800Z] unset SSH_AUTH_SOCK; [2023-09-20T21:09:06.800Z] unset SSH_AGENT_PID; [2023-09-20T21:09:06.800Z] echo Agent pid 38 killed; [2023-09-20T21:09:06.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:09:07.103Z] + git semver [Pipeline] } [2023-09-20T21:09:07.369Z] $ docker stop --time=1 3ae69514a092d18705bfb241cc7a9cd57a4746bde06c3d699acc4e551fed8cfd [2023-09-20T21:09:08.625Z] $ docker rm -f --volumes 3ae69514a092d18705bfb241cc7a9cd57a4746bde06c3d699acc4e551fed8cfd [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-09-20T21:09:09.305Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-09-20T21:09:09.305Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-20T21:09:09.305Z] total 16 [2023-09-20T21:09:09.305Z] drwxr-xr-x 3 root root 4096 Sep 20 20:57 . [2023-09-20T21:09:09.305Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:08 .. [2023-09-20T21:09:09.305Z] drwxr-xr-x 2 root root 4096 Sep 20 20:57 cost [2023-09-20T21:09:09.305Z] -rw-r--r-- 1 root root 89 Sep 20 20:57 cost.csv [2023-09-20T21:09:09.305Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-20T21:09:09.305Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-20T21:09:09.305Z] total 16 [2023-09-20T21:09:09.305Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:57 . [2023-09-20T21:09:09.305Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:08 .. [2023-09-20T21:09:09.305Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:57 cost [2023-09-20T21:09:09.305Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 20 20:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:09.663Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:10.244Z] ---> package-listing.sh [2023-09-20T21:09:10.244Z] ++ facter osfamily [2023-09-20T21:09:10.244Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T21:09:10.504Z] + OS_FAMILY=debian [2023-09-20T21:09:10.504Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-09-20T21:09:10.504Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T21:09:10.504Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T21:09:10.504Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T21:09:10.504Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T21:09:10.504Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-20T21:09:10.504Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T21:09:10.504Z] + case "${OS_FAMILY}" in [2023-09-20T21:09:10.504Z] + dpkg -l [2023-09-20T21:09:10.504Z] + grep '^ii' [2023-09-20T21:09:10.504Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T21:09:10.504Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T21:09:10.504Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T21:09:10.504Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-20T21:09:10.504Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-09-20T21:09:10.504Z] + 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-09-20T21:09:10.514Z] 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-09-20T21:09:10.790Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:11.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:09:11.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:11.428Z] prd-ubuntu20.04-docker-8c-8g-7224 does not seem to be running inside a container [2023-09-20T21:09:11.455Z] $ 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-09-20T21:09:11.658Z] $ docker top 10812032db7656f5eb80c1ea41e594f0f309855b14f3e5665ec75a841ecce4cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:09:12.001Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T21:09:12.285Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T21:09:12.569Z] + ls /var/log/sa-host [2023-09-20T21:09:12.569Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:09:12.634Z] provisioning config files... [2023-09-20T21:09:12.641Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5676291685178848993tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:09:12.652Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:12.933Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T21:09:12.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:13.264Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T21:09:13.273Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:13.555Z] ---> sudo-logs.sh [2023-09-20T21:09:13.555Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T21:09:13.582Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:13.865Z] ---> job-cost.sh [2023-09-20T21:09:13.865Z] lf-activate-venv: SKIPPING [2023-09-20T21:09:13.865Z] DEBUG: total: 0.2199999988079071 [2023-09-20T21:09:13.865Z] INFO: Retrieving Stack Cost... [2023-09-20T21:09:14.124Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T21:09:14.691Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T21:09:14.701Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:14.985Z] ---> logs-deploy.sh [2023-09-20T21:09:14.985Z] lf-activate-venv: SKIPPING [2023-09-20T21:09:14.985Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/142 [2023-09-20T21:09:14.985Z] INFO: archiving workspace using pattern(s): [2023-09-20T21:09:15.921Z] Archives upload complete. [2023-09-20T21:09:15.921Z] INFO: archiving logs to Nexus