Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d55cfd14756feee5759f983c7252b83ebf242d79 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-ssh5464457362334273564.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1781650853069234267.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2511816380618343340.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6923091745429220023.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-ssh4352565672512574322.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14997 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 > 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 Avoid second fetch Checking out Revision d55cfd14756feee5759f983c7252b83ebf242d79 (main) Commit message: "docs: Add main branch Warning (#405)" > git config core.sparsecheckout # timeout=10 > git checkout -f d55cfd14756feee5759f983c7252b83ebf242d79 # timeout=10 > git rev-list --no-walk 030a1c50f2b785b1102128f0ffb048d726030487 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-10T22:58:04.977Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T22:58:05.023Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T22:58:05.040Z] ========================================================= [2023-05-10T22:58:05.040Z] EdgeX Global Pipelines Version Info [2023-05-10T22:58:05.040Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:58:05.762Z] ------------------- [2023-05-10T22:58:05.762Z] stable info: [2023-05-10T22:58:05.762Z] ------------------- [2023-05-10T22:58:05.762Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T22:58:05.762Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T22:58:05.762Z] Message: update stable to v1.0.249 [2023-05-10T22:58:06.337Z] ------------------- [2023-05-10T22:58:06.337Z] experimental info: [2023-05-10T22:58:06.337Z] ------------------- [2023-05-10T22:58:06.337Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T22:58:06.337Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T22:58:06.337Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T22:58:06.599Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-05-10T22:58:06.615Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-05-10T22:58:06.629Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T22:58:06.642Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T22:58:06.658Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T22:58:06.671Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-10T22:58:06.690Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-10T22:58:06.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-10T22:58:06.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-10T22:58:06.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T22:58:06.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T22:58:06.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-05-10T22:58:06.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T22:58:06.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T22:58:06.817Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T22:58:06.830Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T22:58:06.845Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T22:58:06.858Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T22:58:06.873Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T22:58:06.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T22:58:06.897Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-10T22:58:06.909Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-10T22:58:06.924Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-10T22:58:06.935Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-10T22:58:06.947Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-10T22:58:06.959Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T22:58:06.971Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-10T22:58:06.982Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-10T22:58:06.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-10T22:58:07.008Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-10T22:58:07.025Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d55cfd14756feee5759f983c7252b83ebf242d79 [Pipeline] echo [2023-05-10T22:58:07.037Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d55cfd1 [Pipeline] echo [2023-05-10T22:58:07.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T22:58:07.093Z] provisioning config files... [2023-05-10T22:58:07.114Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4451494416760635431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:58:07.424Z] ---> docker-login.sh [2023-05-10T22:58:07.424Z] nexus3.edgexfoundry.org:10001 [2023-05-10T22:58:07.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:07.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:07.685Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:07.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:07.685Z] [2023-05-10T22:58:07.685Z] Login Succeeded [2023-05-10T22:58:07.685Z] nexus3.edgexfoundry.org:10002 [2023-05-10T22:58:07.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:07.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:07.945Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:07.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:07.945Z] [2023-05-10T22:58:07.945Z] Login Succeeded [2023-05-10T22:58:07.945Z] nexus3.edgexfoundry.org:10003 [2023-05-10T22:58:07.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:07.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:07.945Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:07.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:07.945Z] [2023-05-10T22:58:07.945Z] Login Succeeded [2023-05-10T22:58:07.945Z] nexus3.edgexfoundry.org:10004 [2023-05-10T22:58:07.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:08.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:08.206Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:08.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:08.206Z] [2023-05-10T22:58:08.206Z] Login Succeeded [2023-05-10T22:58:08.206Z] docker.io [2023-05-10T22:58:08.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:08.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:08.466Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:08.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:08.466Z] [2023-05-10T22:58:08.466Z] Login Succeeded [2023-05-10T22:58:08.466Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T22:58:08.475Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-10T22:58:08.837Z] + git rev-list -1 --merges d55cfd14756feee5759f983c7252b83ebf242d79~1..d55cfd14756feee5759f983c7252b83ebf242d79 [Pipeline] echo [2023-05-10T22:58:08.889Z] -----------> git rev-list -1 --merges d55cfd14756feee5759f983c7252b83ebf242d79~1..d55cfd14756feee5759f983c7252b83ebf242d79 d55cfd14756feee5759f983c7252b83ebf242d79 [false] [Pipeline] sh [2023-05-10T22:58:09.178Z] + git log --format=format:%s -1 d55cfd14756feee5759f983c7252b83ebf242d79 [Pipeline] echo [2023-05-10T22:58:09.194Z] ========================================================= [2023-05-10T22:58:09.194Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T22:58:09.194Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T22:58:09.532Z] + git log --format=format:%s -1 d55cfd14756feee5759f983c7252b83ebf242d79 [Pipeline] echo [2023-05-10T22:58:09.544Z] [semverPrep] GIT_COMMIT: d55cfd14756feee5759f983c7252b83ebf242d79, Commit Message: docs: Add main branch Warning (#405) [Pipeline] echo [2023-05-10T22:58:09.553Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-10T22:58:09.910Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T22:58:09.910Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T22:58:09.910Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T22:58:09.910Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T22:58:09.910Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-10T22:58:09.910Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-10T22:58:09.910Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:58:10.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T22:58:10.284Z] [2023-05-10T22:58:10.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:58:10.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T22:58:10.587Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T22:58:10.587Z] b85a868b505f: Pulling fs layer [2023-05-10T22:58:10.587Z] e2be974225ed: Pulling fs layer [2023-05-10T22:58:10.587Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T22:58:10.587Z] 988bab9f4d93: Pulling fs layer [2023-05-10T22:58:10.587Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T22:58:10.587Z] eaf3925da568: Pulling fs layer [2023-05-10T22:58:10.587Z] bab4dde63d76: Pulling fs layer [2023-05-10T22:58:10.587Z] bde34c3a00c8: Pulling fs layer [2023-05-10T22:58:10.587Z] b352a97aabf1: Pulling fs layer [2023-05-10T22:58:10.587Z] 4872d77fe225: Pulling fs layer [2023-05-10T22:58:10.587Z] 5851b861e8e6: Pulling fs layer [2023-05-10T22:58:10.587Z] 1469e6f7b9e6: Waiting [2023-05-10T22:58:10.587Z] eaf3925da568: Waiting [2023-05-10T22:58:10.587Z] 988bab9f4d93: Waiting [2023-05-10T22:58:10.587Z] bab4dde63d76: Waiting [2023-05-10T22:58:10.587Z] bde34c3a00c8: Waiting [2023-05-10T22:58:10.587Z] b352a97aabf1: Waiting [2023-05-10T22:58:10.587Z] 4872d77fe225: Waiting [2023-05-10T22:58:10.587Z] 5851b861e8e6: Waiting [2023-05-10T22:58:10.587Z] e2be974225ed: Download complete [2023-05-10T22:58:10.587Z] 988bab9f4d93: Download complete [2023-05-10T22:58:10.849Z] 1469e6f7b9e6: Verifying Checksum [2023-05-10T22:58:10.849Z] 1469e6f7b9e6: Download complete [2023-05-10T22:58:10.849Z] eaf3925da568: Download complete [2023-05-10T22:58:10.849Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T22:58:10.849Z] 339a4e72a1f5: Download complete [2023-05-10T22:58:10.849Z] bde34c3a00c8: Verifying Checksum [2023-05-10T22:58:10.849Z] bde34c3a00c8: Download complete [2023-05-10T22:58:10.849Z] b352a97aabf1: Verifying Checksum [2023-05-10T22:58:10.849Z] b352a97aabf1: Download complete [2023-05-10T22:58:10.849Z] 4872d77fe225: Verifying Checksum [2023-05-10T22:58:10.849Z] 4872d77fe225: Download complete [2023-05-10T22:58:10.849Z] 5851b861e8e6: Download complete [2023-05-10T22:58:11.109Z] b85a868b505f: Verifying Checksum [2023-05-10T22:58:11.109Z] b85a868b505f: Download complete [2023-05-10T22:58:11.368Z] bab4dde63d76: Verifying Checksum [2023-05-10T22:58:11.368Z] bab4dde63d76: Download complete [2023-05-10T22:58:12.306Z] b85a868b505f: Pull complete [2023-05-10T22:58:12.306Z] e2be974225ed: Pull complete [2023-05-10T22:58:12.565Z] 339a4e72a1f5: Pull complete [2023-05-10T22:58:12.825Z] 988bab9f4d93: Pull complete [2023-05-10T22:58:13.085Z] 1469e6f7b9e6: Pull complete [2023-05-10T22:58:13.085Z] eaf3925da568: Pull complete [2023-05-10T22:58:14.991Z] bab4dde63d76: Pull complete [2023-05-10T22:58:14.991Z] bde34c3a00c8: Pull complete [2023-05-10T22:58:14.991Z] b352a97aabf1: Pull complete [2023-05-10T22:58:14.991Z] 4872d77fe225: Pull complete [2023-05-10T22:58:14.991Z] 5851b861e8e6: Pull complete [2023-05-10T22:58:14.991Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T22:58:14.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T22:58:14.991Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:58:15.087Z] prd-ubuntu20.04-docker-8c-8g-14997 does not seem to be running inside a container [2023-05-10T22:58:15.101Z] $ 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-05-10T22:58:17.558Z] $ docker top 545bb50ef685097ca9adaa14a02fb692fd88814b82e81303e7ba3a65a63a5a0b -eo pid,comm [2023-05-10T22:58:17.631Z] 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-05-10T22:58:17.631Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T22:58:17.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T22:58:17.662Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T22:58:17.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T22:58:17.761Z] $ docker exec 545bb50ef685097ca9adaa14a02fb692fd88814b82e81303e7ba3a65a63a5a0b ssh-agent [2023-05-10T22:58:17.881Z] SSH_AUTH_SOCK=/tmp/ssh-vjWMv8HdGBR6/agent.32 [2023-05-10T22:58:17.881Z] SSH_AGENT_PID=38 [2023-05-10T22:58:17.889Z] Running ssh-add (command line suppressed) [2023-05-10T22:58:17.975Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6462793665470922869.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6462793665470922869.key) [2023-05-10T22:58:18.008Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T22:58:18.301Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T22:58:18.297Z] $ docker exec --env ******** --env ******** 545bb50ef685097ca9adaa14a02fb692fd88814b82e81303e7ba3a65a63a5a0b ssh-agent -k [2023-05-10T22:58:18.396Z] unset SSH_AUTH_SOCK; [2023-05-10T22:58:18.397Z] unset SSH_AGENT_PID; [2023-05-10T22:58:18.397Z] echo Agent pid 38 killed; [2023-05-10T22:58:18.425Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T22:58:18.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T22:58:18.448Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T22:58:18.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T22:58:18.552Z] $ docker exec 545bb50ef685097ca9adaa14a02fb692fd88814b82e81303e7ba3a65a63a5a0b ssh-agent [2023-05-10T22:58:18.693Z] SSH_AUTH_SOCK=/tmp/ssh-B8LwS8vKWxs7/agent.70 [2023-05-10T22:58:18.693Z] SSH_AGENT_PID=76 [2023-05-10T22:58:18.698Z] Running ssh-add (command line suppressed) [2023-05-10T22:58:18.782Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9690679357400850082.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9690679357400850082.key) [2023-05-10T22:58:18.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T22:58:19.100Z] + git semver init [2023-05-10T22:58:19.360Z] 2023-05-10 22:58:19,287 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T22:58:19.360Z] 2023-05-10 22:58:19,288 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-05-10T22:58:19.360Z] 2023-05-10 22:58:19,288 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-05-10T22:58:19.360Z] 2023-05-10 22:58:19,289 [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-05-10T22:58:20.740Z] 2023-05-10 22:58:20,374 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-05-10T22:58:20.740Z] 2023-05-10 22:58:20,374 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-05-10T22:58:20.740Z] 2023-05-10 22:58:20,375 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T22:58:20.740Z] 2023-05-10 22:58:20,375 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T22:58:20.740Z] 3.0.0-dev.45 [Pipeline] } [2023-05-10T22:58:20.737Z] $ docker exec --env ******** --env ******** 545bb50ef685097ca9adaa14a02fb692fd88814b82e81303e7ba3a65a63a5a0b ssh-agent -k [2023-05-10T22:58:20.839Z] unset SSH_AUTH_SOCK; [2023-05-10T22:58:20.839Z] unset SSH_AGENT_PID; [2023-05-10T22:58:20.839Z] echo Agent pid 76 killed; [2023-05-10T22:58:20.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T22:58:21.174Z] + git semver [Pipeline] } [2023-05-10T22:58:21.433Z] $ docker stop --time=1 545bb50ef685097ca9adaa14a02fb692fd88814b82e81303e7ba3a65a63a5a0b [2023-05-10T22:58:22.768Z] $ docker rm -f --volumes 545bb50ef685097ca9adaa14a02fb692fd88814b82e81303e7ba3a65a63a5a0b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T22:58:23.121Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T22:58:23.319Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T22:58:23.323Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.45 [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-05-10T22:58:23.470Z] provisioning config files... [2023-05-10T22:58:23.479Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14134397939926138458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:58:23.776Z] ---> docker-login.sh [2023-05-10T22:58:23.776Z] nexus3.edgexfoundry.org:10001 [2023-05-10T22:58:23.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:23.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:23.776Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:23.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:23.776Z] [2023-05-10T22:58:23.776Z] Login Succeeded [2023-05-10T22:58:23.776Z] nexus3.edgexfoundry.org:10002 [2023-05-10T22:58:23.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:23.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:23.776Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:23.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:23.776Z] [2023-05-10T22:58:23.776Z] Login Succeeded [2023-05-10T22:58:23.776Z] nexus3.edgexfoundry.org:10003 [2023-05-10T22:58:24.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:24.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:24.037Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:24.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:24.037Z] [2023-05-10T22:58:24.037Z] Login Succeeded [2023-05-10T22:58:24.037Z] nexus3.edgexfoundry.org:10004 [2023-05-10T22:58:24.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:24.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:24.037Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:24.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:24.037Z] [2023-05-10T22:58:24.037Z] Login Succeeded [2023-05-10T22:58:24.037Z] docker.io [2023-05-10T22:58:24.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:24.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:24.299Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:24.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:24.299Z] [2023-05-10T22:58:24.299Z] Login Succeeded [2023-05-10T22:58:24.299Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T22:58:24.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T22:58:24.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T22:58:24.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T22:58:24.383Z] ========================================================= [2023-05-10T22:58:24.383Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-10T22:58:24.383Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:58:24.694Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T22:58:24.694Z] Sending build context to Docker daemon 23.64MB [2023-05-10T22:58:24.694Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T22:58:24.694Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T22:58:24.963Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-10T22:58:24.963Z] f56be85fc22e: Pulling fs layer [2023-05-10T22:58:24.963Z] 85791d961cd3: Pulling fs layer [2023-05-10T22:58:24.963Z] d694b5ae8c79: Pulling fs layer [2023-05-10T22:58:24.963Z] 9f32a84ed3da: Pulling fs layer [2023-05-10T22:58:24.963Z] 4d19c01a9841: Pulling fs layer [2023-05-10T22:58:24.963Z] 9325e15d5711: Pulling fs layer [2023-05-10T22:58:24.963Z] 556b6ee489ea: Pulling fs layer [2023-05-10T22:58:24.963Z] c5a4b2cf53e6: Pulling fs layer [2023-05-10T22:58:24.964Z] 9325e15d5711: Waiting [2023-05-10T22:58:24.964Z] c5a4b2cf53e6: Waiting [2023-05-10T22:58:24.964Z] 9f32a84ed3da: Waiting [2023-05-10T22:58:24.964Z] 85791d961cd3: Download complete [2023-05-10T22:58:24.964Z] 9f32a84ed3da: Verifying Checksum [2023-05-10T22:58:24.964Z] 9f32a84ed3da: Download complete [2023-05-10T22:58:24.964Z] 4d19c01a9841: Verifying Checksum [2023-05-10T22:58:24.964Z] 4d19c01a9841: Download complete [2023-05-10T22:58:24.964Z] f56be85fc22e: Verifying Checksum [2023-05-10T22:58:24.964Z] f56be85fc22e: Download complete [2023-05-10T22:58:24.964Z] 9325e15d5711: Verifying Checksum [2023-05-10T22:58:24.964Z] 9325e15d5711: Download complete [2023-05-10T22:58:24.964Z] f56be85fc22e: Pull complete [2023-05-10T22:58:25.226Z] 85791d961cd3: Pull complete [2023-05-10T22:58:25.797Z] c5a4b2cf53e6: Verifying Checksum [2023-05-10T22:58:25.797Z] c5a4b2cf53e6: Download complete [2023-05-10T22:58:25.797Z] d694b5ae8c79: Verifying Checksum [2023-05-10T22:58:25.797Z] d694b5ae8c79: Download complete [2023-05-10T22:58:26.055Z] 556b6ee489ea: Verifying Checksum [2023-05-10T22:58:29.337Z] d694b5ae8c79: Pull complete [2023-05-10T22:58:29.337Z] 9f32a84ed3da: Pull complete [2023-05-10T22:58:29.337Z] 4d19c01a9841: Pull complete [2023-05-10T22:58:29.337Z] 9325e15d5711: Pull complete [2023-05-10T22:58:31.242Z] 556b6ee489ea: Pull complete [2023-05-10T22:58:32.617Z] c5a4b2cf53e6: Pull complete [2023-05-10T22:58:32.617Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-10T22:58:32.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-10T22:58:32.617Z] ---> c4be618373d6 [2023-05-10T22:58:32.617Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T22:58:36.840Z] ---> Running in 0b78aba5dac5 [2023-05-10T22:58:36.840Z] Removing intermediate container 0b78aba5dac5 [2023-05-10T22:58:36.840Z] ---> 158a5bc3554e [2023-05-10T22:58:36.840Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T22:58:36.840Z] ---> Running in 5b40d77d03cb [2023-05-10T22:58:36.840Z] Removing intermediate container 5b40d77d03cb [2023-05-10T22:58:36.840Z] ---> 159263269333 [2023-05-10T22:58:36.840Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T22:58:36.840Z] ---> Running in d82d36f2561c [2023-05-10T22:58:36.840Z] Removing intermediate container d82d36f2561c [2023-05-10T22:58:36.840Z] ---> a1f78d05ffb5 [2023-05-10T22:58:36.840Z] Step 6/12 : WORKDIR /device-virtual-go [2023-05-10T22:58:36.840Z] ---> Running in 69b0f09441ed [2023-05-10T22:58:36.840Z] Removing intermediate container 69b0f09441ed [2023-05-10T22:58:36.840Z] ---> bf889a53ae4d [2023-05-10T22:58:36.840Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T22:58:36.840Z] ---> Running in e0670d5e07a3 [2023-05-10T22:58:37.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T22:58:37.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T22:58:37.359Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T22:58:37.359Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T22:58:37.359Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T22:58:37.359Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T22:58:37.359Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T22:58:37.359Z] OK: 269 MiB in 57 packages [2023-05-10T22:58:37.928Z] Removing intermediate container e0670d5e07a3 [2023-05-10T22:58:37.928Z] ---> 4dbe7ed723eb [2023-05-10T22:58:37.928Z] Step 8/12 : COPY go.mod vendor* ./ [2023-05-10T22:58:37.928Z] ---> 4cd45845507e [2023-05-10T22:58:37.928Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T22:58:37.928Z] ---> Running in 8e790cde9679 [2023-05-10T22:58:38.441Z] Still waiting to schedule task [2023-05-10T22:58:38.441Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-10T22:59:04.481Z] Removing intermediate container 8e790cde9679 [2023-05-10T22:59:04.481Z] ---> 1e9a37710c81 [2023-05-10T22:59:04.481Z] Step 10/12 : COPY . . [2023-05-10T22:59:04.481Z] ---> 6bea4c7a42c6 [2023-05-10T22:59:04.481Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T22:59:04.481Z] ---> Running in 8bf0377ab5a8 [2023-05-10T22:59:04.481Z] Removing intermediate container 8bf0377ab5a8 [2023-05-10T22:59:04.481Z] ---> ec82454f1b78 [2023-05-10T22:59:04.481Z] Step 12/12 : RUN $MAKE [2023-05-10T22:59:04.481Z] ---> Running in 12e918a98241 [2023-05-10T22:59:04.481Z] noop [2023-05-10T22:59:04.481Z] Removing intermediate container 12e918a98241 [2023-05-10T22:59:04.481Z] ---> d40486332844 [2023-05-10T22:59:04.481Z] Successfully built d40486332844 [2023-05-10T22:59:04.481Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:59:04.809Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T22:59:04.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:59:04.888Z] prd-ubuntu20.04-docker-8c-8g-14997 does not seem to be running inside a container [2023-05-10T22:59:04.919Z] $ 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-05-10T22:59:05.265Z] $ docker top 82c9f3409097c93360c4d1c65832e364ab372c9165ecdba4da915483469eaa24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:59:05.603Z] + go version [2023-05-10T22:59:05.603Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-10T22:59:05.618Z] $ docker stop --time=1 82c9f3409097c93360c4d1c65832e364ab372c9165ecdba4da915483469eaa24 [2023-05-10T22:59:06.957Z] $ docker rm -f --volumes 82c9f3409097c93360c4d1c65832e364ab372c9165ecdba4da915483469eaa24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:59:07.381Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T22:59:07.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:59:07.448Z] prd-ubuntu20.04-docker-8c-8g-14997 does not seem to be running inside a container [2023-05-10T22:59:07.482Z] $ 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-05-10T22:59:07.804Z] $ docker top 0fe5381967d617c9b28dd2d7777a0abf38f4baae77204a3c3debd2b5737ea31c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:59:08.143Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-10T22:59:08.441Z] + make test [2023-05-10T22:59:08.441Z] go test ./... -coverprofile=coverage.out [2023-05-10T22:59:13.707Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-05-10T22:59:23.672Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-05-10T22:59:23.672Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements [2023-05-10T22:59:27.867Z] go vet ./... [2023-05-10T22:59:31.151Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T22:59:31.151Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T22:59:31.151Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T22:59:31.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T22:59:31.438Z] $ docker stop --time=1 0fe5381967d617c9b28dd2d7777a0abf38f4baae77204a3c3debd2b5737ea31c [2023-05-10T22:59:34.432Z] $ docker rm -f --volumes 0fe5381967d617c9b28dd2d7777a0abf38f4baae77204a3c3debd2b5737ea31c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T22:59:34.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T22:59:34.942Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-10T22:59:35.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T22:59:35.655Z] + ls -al . [2023-05-10T22:59:35.655Z] total 192 [2023-05-10T22:59:35.655Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 22:59 . [2023-05-10T22:59:35.655Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:58 .. [2023-05-10T22:59:35.655Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:58 .git [2023-05-10T22:59:35.655Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:58 .github [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 337 May 10 22:58 .gitignore [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 22:58 .golangci.yml [2023-05-10T22:59:35.655Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:58 .semver [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 8652 May 10 22:58 Attribution.txt [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 11367 May 10 22:58 CHANGELOG.md [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 1646 May 10 22:58 Dockerfile [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:58 GOVERNANCE.md [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 660 May 10 22:58 Jenkinsfile [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 22:58 LICENSE [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 1696 May 10 22:58 Makefile [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 623 May 10 22:58 OWNERS.md [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 4087 May 10 22:58 README.md [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 22:58 VERSION [2023-05-10T22:59:35.655Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:58 bin [2023-05-10T22:59:35.655Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:58 cmd [2023-05-10T22:59:35.655Z] -rw-r--r-- 1 jenkins jenkins 43063 May 10 22:59 coverage.out [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 3209 May 10 22:58 go.mod [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 30994 May 10 22:58 go.sum [2023-05-10T22:59:35.655Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:58 internal [2023-05-10T22:59:35.655Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:58 snap [2023-05-10T22:59:35.655Z] -rw-rw-r-- 1 jenkins jenkins 235 May 10 22:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:59:35.980Z] + 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=d55cfd14756feee5759f983c7252b83ebf242d79 --label arch=amd64 --label version=3.0.0-dev.45 . [2023-05-10T22:59:35.980Z] Sending build context to Docker daemon 23.68MB [2023-05-10T22:59:35.980Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T22:59:35.980Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-10T22:59:35.980Z] ---> d40486332844 [2023-05-10T22:59:35.980Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T22:59:36.239Z] ---> Running in daacd03a3988 [2023-05-10T22:59:36.239Z] Removing intermediate container daacd03a3988 [2023-05-10T22:59:36.239Z] ---> 3b2e15d93fc7 [2023-05-10T22:59:36.239Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T22:59:36.239Z] ---> Running in 1ff15c14a32d [2023-05-10T22:59:36.498Z] Removing intermediate container 1ff15c14a32d [2023-05-10T22:59:36.498Z] ---> b419846a327d [2023-05-10T22:59:36.498Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-05-10T22:59:36.498Z] ---> Running in fa205f7d808b [2023-05-10T22:59:36.498Z] Removing intermediate container fa205f7d808b [2023-05-10T22:59:36.498Z] ---> fe5bdd148f88 [2023-05-10T22:59:36.498Z] Step 6/25 : WORKDIR /device-virtual-go [2023-05-10T22:59:36.498Z] ---> Running in 64cd8f2e0853 [2023-05-10T22:59:36.498Z] Removing intermediate container 64cd8f2e0853 [2023-05-10T22:59:36.498Z] ---> 0df398cd3b94 [2023-05-10T22:59:36.498Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T22:59:36.498Z] ---> Running in 1d37b95d901b [2023-05-10T22:59:36.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T22:59:37.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T22:59:37.016Z] OK: 269 MiB in 57 packages [2023-05-10T22:59:37.582Z] Removing intermediate container 1d37b95d901b [2023-05-10T22:59:37.582Z] ---> fc77167f9995 [2023-05-10T22:59:37.582Z] Step 8/25 : COPY go.mod vendor* ./ [2023-05-10T22:59:37.582Z] ---> cfbbc527c888 [2023-05-10T22:59:37.582Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T22:59:37.582Z] ---> Running in 477b32fed942 [2023-05-10T22:59:38.517Z] Removing intermediate container 477b32fed942 [2023-05-10T22:59:38.517Z] ---> dfa3da6a199d [2023-05-10T22:59:38.517Z] Step 10/25 : COPY . . [2023-05-10T22:59:39.082Z] ---> 520d6930be5d [2023-05-10T22:59:39.082Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T22:59:39.082Z] ---> Running in 349285c09144 [2023-05-10T22:59:39.082Z] Removing intermediate container 349285c09144 [2023-05-10T22:59:39.082Z] ---> ad638db2e4ce [2023-05-10T22:59:39.082Z] Step 12/25 : RUN $MAKE [2023-05-10T22:59:39.082Z] ---> Running in 6c3ffe078c1e [2023-05-10T22:59:39.342Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.45" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-05-10T22:59:57.799Z] Removing intermediate container 6c3ffe078c1e [2023-05-10T22:59:57.799Z] ---> b02898a7bbc1 [2023-05-10T22:59:57.799Z] Step 13/25 : FROM alpine:3.17 [2023-05-10T22:59:57.799Z] 3.17: Pulling from library/alpine [2023-05-10T22:59:57.799Z] f56be85fc22e: Already exists [2023-05-10T22:59:57.799Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T22:59:57.799Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T22:59:57.799Z] ---> 9ed4aefc74f6 [2023-05-10T22:59:57.799Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-05-10T22:59:57.799Z] ---> Running in 79cdab688d50 [2023-05-10T22:59:57.799Z] Removing intermediate container 79cdab688d50 [2023-05-10T22:59:57.799Z] ---> 67d4f97b350a [2023-05-10T22:59:57.799Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-05-10T22:59:57.799Z] ---> Running in ee1c7b0258f5 [2023-05-10T22:59:57.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T22:59:57.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T22:59:57.800Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T22:59:57.800Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T22:59:57.800Z] OK: 7 MiB in 16 packages [2023-05-10T22:59:59.179Z] Removing intermediate container ee1c7b0258f5 [2023-05-10T22:59:59.179Z] ---> 00423da78e00 [2023-05-10T22:59:59.179Z] Step 16/25 : WORKDIR / [2023-05-10T22:59:59.438Z] ---> Running in 11bd6a4263b8 [2023-05-10T23:00:00.818Z] Removing intermediate container 11bd6a4263b8 [2023-05-10T23:00:00.818Z] ---> cf012014d84f [2023-05-10T23:00:00.818Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-05-10T23:00:00.818Z] ---> 2c592f0d26f5 [2023-05-10T23:00:00.818Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-05-10T23:00:00.818Z] ---> 57b581640975 [2023-05-10T23:00:00.818Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-05-10T23:00:01.385Z] ---> b89dc611c9ca [2023-05-10T23:00:01.385Z] Step 20/25 : EXPOSE 59900 [2023-05-10T23:00:01.385Z] ---> Running in cfd827a06429 [2023-05-10T23:00:01.385Z] Removing intermediate container cfd827a06429 [2023-05-10T23:00:01.385Z] ---> 2a1058234126 [2023-05-10T23:00:01.385Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-05-10T23:00:01.385Z] ---> Running in 646a29b5a198 [2023-05-10T23:00:01.385Z] Removing intermediate container 646a29b5a198 [2023-05-10T23:00:01.385Z] ---> 1eea35508a04 [2023-05-10T23:00:01.385Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-10T23:00:01.385Z] ---> Running in 6c9963a0783b [2023-05-10T23:00:01.645Z] Removing intermediate container 6c9963a0783b [2023-05-10T23:00:01.645Z] ---> b698628b8ac2 [2023-05-10T23:00:01.645Z] Step 23/25 : LABEL arch=amd64 [2023-05-10T23:00:01.645Z] ---> Running in 238802d1223e [2023-05-10T23:00:01.645Z] Removing intermediate container 238802d1223e [2023-05-10T23:00:01.645Z] ---> b48e54a7ddff [2023-05-10T23:00:01.645Z] Step 24/25 : LABEL git_sha=d55cfd14756feee5759f983c7252b83ebf242d79 [2023-05-10T23:00:01.645Z] ---> Running in bb04e6480e66 [2023-05-10T23:00:01.645Z] Removing intermediate container bb04e6480e66 [2023-05-10T23:00:01.645Z] ---> 3af646cde362 [2023-05-10T23:00:01.645Z] Step 25/25 : LABEL version=3.0.0-dev.45 [2023-05-10T23:00:01.645Z] ---> Running in e78c0989efdc [2023-05-10T23:00:01.906Z] Removing intermediate container e78c0989efdc [2023-05-10T23:00:01.906Z] ---> bf5fa41719c5 [2023-05-10T23:00:01.906Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T23:00:01.906Z] Successfully built bf5fa41719c5 [2023-05-10T23:00:01.906Z] 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-05-10T23:00:02.021Z] provisioning config files... [2023-05-10T23:00:02.041Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10365003718909726435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:00:02.345Z] ---> docker-login.sh [2023-05-10T23:00:02.345Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:00:02.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:00:02.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:00:02.345Z] Configure a credential helper to remove this warning. See [2023-05-10T23:00:02.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:00:02.345Z] [2023-05-10T23:00:02.345Z] Login Succeeded [2023-05-10T23:00:02.345Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:00:02.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:00:02.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:00:02.345Z] Configure a credential helper to remove this warning. See [2023-05-10T23:00:02.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:00:02.345Z] [2023-05-10T23:00:02.345Z] Login Succeeded [2023-05-10T23:00:02.345Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:00:02.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:00:02.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:00:02.604Z] Configure a credential helper to remove this warning. See [2023-05-10T23:00:02.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:00:02.604Z] [2023-05-10T23:00:02.604Z] Login Succeeded [2023-05-10T23:00:02.604Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:00:02.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:00:02.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:00:02.604Z] Configure a credential helper to remove this warning. See [2023-05-10T23:00:02.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:00:02.604Z] [2023-05-10T23:00:02.604Z] Login Succeeded [2023-05-10T23:00:02.604Z] docker.io [2023-05-10T23:00:02.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:00:04.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:00:04.245Z] Configure a credential helper to remove this warning. See [2023-05-10T23:00:04.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:00:04.245Z] [2023-05-10T23:00:04.245Z] Login Succeeded [2023-05-10T23:00:04.245Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:00:04.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:00:04.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:00:04.315Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-05-10T23:00:04.315Z] d55cfd14756feee5759f983c7252b83ebf242d79 [2023-05-10T23:00:04.315Z] latest [2023-05-10T23:00:04.315Z] 3.0.0-dev.45 [2023-05-10T23:00:04.315Z] d55cfd14756feee5759f983c7252b83ebf242d79-3.0.0-dev.45 [2023-05-10T23:00:04.315Z] main [2023-05-10T23:00:04.315Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:04.648Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:d55cfd14756feee5759f983c7252b83ebf242d79 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:04.949Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:d55cfd14756feee5759f983c7252b83ebf242d79 [2023-05-10T23:00:04.949Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-05-10T23:00:04.949Z] c936914baa63: Preparing [2023-05-10T23:00:04.949Z] 6d8a86529be4: Preparing [2023-05-10T23:00:04.949Z] 3e6df597ffc7: Preparing [2023-05-10T23:00:04.949Z] 9dbc45fbc996: Preparing [2023-05-10T23:00:04.949Z] f1417ff83b31: Preparing [2023-05-10T23:00:04.949Z] f1417ff83b31: Layer already exists [2023-05-10T23:00:04.949Z] 3e6df597ffc7: Pushed [2023-05-10T23:00:04.949Z] 9dbc45fbc996: Pushed [2023-05-10T23:00:04.949Z] 6d8a86529be4: Pushed [2023-05-10T23:00:07.482Z] c936914baa63: Pushed [2023-05-10T23:00:07.482Z] d55cfd14756feee5759f983c7252b83ebf242d79: digest: sha256:2906e6d2a5a5620c89e9031b58eeb4596c1035b19a0a3440fc0d854a4ef805a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:07.794Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:08.097Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-05-10T23:00:08.097Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-05-10T23:00:08.097Z] c936914baa63: Preparing [2023-05-10T23:00:08.097Z] 6d8a86529be4: Preparing [2023-05-10T23:00:08.097Z] 3e6df597ffc7: Preparing [2023-05-10T23:00:08.097Z] 9dbc45fbc996: Preparing [2023-05-10T23:00:08.097Z] f1417ff83b31: Preparing [2023-05-10T23:00:08.097Z] 3e6df597ffc7: Layer already exists [2023-05-10T23:00:08.097Z] f1417ff83b31: Layer already exists [2023-05-10T23:00:08.097Z] c936914baa63: Layer already exists [2023-05-10T23:00:08.097Z] 9dbc45fbc996: Layer already exists [2023-05-10T23:00:08.097Z] 6d8a86529be4: Layer already exists [2023-05-10T23:00:08.097Z] latest: digest: sha256:2906e6d2a5a5620c89e9031b58eeb4596c1035b19a0a3440fc0d854a4ef805a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:08.414Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:08.746Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.45 [2023-05-10T23:00:08.746Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-05-10T23:00:08.746Z] c936914baa63: Preparing [2023-05-10T23:00:08.746Z] 6d8a86529be4: Preparing [2023-05-10T23:00:08.746Z] 3e6df597ffc7: Preparing [2023-05-10T23:00:08.746Z] 9dbc45fbc996: Preparing [2023-05-10T23:00:08.746Z] f1417ff83b31: Preparing [2023-05-10T23:00:08.746Z] 9dbc45fbc996: Layer already exists [2023-05-10T23:00:08.746Z] 3e6df597ffc7: Layer already exists [2023-05-10T23:00:08.746Z] c936914baa63: Layer already exists [2023-05-10T23:00:08.746Z] f1417ff83b31: Layer already exists [2023-05-10T23:00:08.746Z] 6d8a86529be4: Layer already exists [2023-05-10T23:00:08.746Z] 3.0.0-dev.45: digest: sha256:2906e6d2a5a5620c89e9031b58eeb4596c1035b19a0a3440fc0d854a4ef805a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:09.059Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:d55cfd14756feee5759f983c7252b83ebf242d79-3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:09.379Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:d55cfd14756feee5759f983c7252b83ebf242d79-3.0.0-dev.45 [2023-05-10T23:00:09.379Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-05-10T23:00:09.379Z] c936914baa63: Preparing [2023-05-10T23:00:09.379Z] 6d8a86529be4: Preparing [2023-05-10T23:00:09.379Z] 3e6df597ffc7: Preparing [2023-05-10T23:00:09.379Z] 9dbc45fbc996: Preparing [2023-05-10T23:00:09.379Z] f1417ff83b31: Preparing [2023-05-10T23:00:09.379Z] 3e6df597ffc7: Layer already exists [2023-05-10T23:00:09.379Z] 6d8a86529be4: Layer already exists [2023-05-10T23:00:09.379Z] 9dbc45fbc996: Layer already exists [2023-05-10T23:00:09.379Z] c936914baa63: Layer already exists [2023-05-10T23:00:09.379Z] f1417ff83b31: Layer already exists [2023-05-10T23:00:09.379Z] d55cfd14756feee5759f983c7252b83ebf242d79-3.0.0-dev.45: digest: sha256:2906e6d2a5a5620c89e9031b58eeb4596c1035b19a0a3440fc0d854a4ef805a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:09.707Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:10.019Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-05-10T23:00:10.019Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-05-10T23:00:10.020Z] c936914baa63: Preparing [2023-05-10T23:00:10.020Z] 6d8a86529be4: Preparing [2023-05-10T23:00:10.020Z] 3e6df597ffc7: Preparing [2023-05-10T23:00:10.020Z] 9dbc45fbc996: Preparing [2023-05-10T23:00:10.020Z] f1417ff83b31: Preparing [2023-05-10T23:00:10.020Z] 9dbc45fbc996: Layer already exists [2023-05-10T23:00:10.020Z] 3e6df597ffc7: Layer already exists [2023-05-10T23:00:10.020Z] 6d8a86529be4: Layer already exists [2023-05-10T23:00:10.020Z] f1417ff83b31: Layer already exists [2023-05-10T23:00:10.020Z] c936914baa63: Layer already exists [2023-05-10T23:00:10.020Z] main: digest: sha256:2906e6d2a5a5620c89e9031b58eeb4596c1035b19a0a3440fc0d854a4ef805a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:00:10.062Z] ===================================================== [Pipeline] echo [2023-05-10T23:00:10.069Z] taggedImages: [2023-05-10T23:00:10.069Z] - nexus3.edgexfoundry.org:10004/device-virtual:d55cfd14756feee5759f983c7252b83ebf242d79 [2023-05-10T23:00:10.069Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-05-10T23:00:10.069Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.45 [2023-05-10T23:00:10.069Z] - nexus3.edgexfoundry.org:10004/device-virtual:d55cfd14756feee5759f983c7252b83ebf242d79-3.0.0-dev.45 [2023-05-10T23:00:10.069Z] - 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-05-10T23:00:10.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:00:10.432Z] [2023-05-10T23:00:10.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:00:10.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:00:10.987Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T23:00:10.987Z] 5eb5b503b376: Pulling fs layer [2023-05-10T23:00:10.987Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T23:00:10.987Z] ec43610c2a17: Pulling fs layer [2023-05-10T23:00:10.987Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T23:00:10.987Z] 33b1e0a273af: Pulling fs layer [2023-05-10T23:00:10.987Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T23:00:10.987Z] 2f39f015ded8: Pulling fs layer [2023-05-10T23:00:10.987Z] 33b1e0a273af: Waiting [2023-05-10T23:00:10.987Z] 5d3b04190fa2: Waiting [2023-05-10T23:00:10.987Z] 2f39f015ded8: Waiting [2023-05-10T23:00:10.987Z] 3a2ae6a8a46f: Waiting [2023-05-10T23:00:11.248Z] 5c69ac0246d0: Download complete [2023-05-10T23:00:11.248Z] 3a2ae6a8a46f: Download complete [2023-05-10T23:00:11.248Z] 33b1e0a273af: Verifying Checksum [2023-05-10T23:00:11.248Z] 33b1e0a273af: Download complete [2023-05-10T23:00:11.248Z] ec43610c2a17: Download complete [2023-05-10T23:00:11.248Z] 5d3b04190fa2: Verifying Checksum [2023-05-10T23:00:11.248Z] 5d3b04190fa2: Download complete [2023-05-10T23:00:11.506Z] 5eb5b503b376: Verifying Checksum [2023-05-10T23:00:11.506Z] 5eb5b503b376: Download complete [2023-05-10T23:00:12.478Z] 2f39f015ded8: Download complete [2023-05-10T23:00:12.478Z] 5eb5b503b376: Pull complete [2023-05-10T23:00:12.736Z] 5c69ac0246d0: Pull complete [2023-05-10T23:00:12.995Z] ec43610c2a17: Pull complete [2023-05-10T23:00:12.995Z] 3a2ae6a8a46f: Pull complete [2023-05-10T23:00:13.254Z] 33b1e0a273af: Pull complete [2023-05-10T23:00:13.254Z] 5d3b04190fa2: Pull complete [2023-05-10T23:00:17.443Z] 2f39f015ded8: Pull complete [2023-05-10T23:00:17.443Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T23:00:17.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:00:17.443Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:00:17.515Z] prd-ubuntu20.04-docker-8c-8g-14997 does not seem to be running inside a container [2023-05-10T23:00:17.551Z] $ 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-05-10T23:00:20.054Z] $ docker top ce2643808ab69e94c165fb05be8b255c0b88437a215ea95b75d99b663073fd72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:00:20.424Z] ---> job-cost.sh [2023-05-10T23:00:20.424Z] lf-activate-venv: SKIPPING [2023-05-10T23:00:20.424Z] INFO: No Stack... [2023-05-10T23:00:20.685Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T23:00:20.944Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T23:00:21.236Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-05-10T23:00:21.236Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T23:00:21.251Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-117-stack-cost] [2023-05-10T23:00:21.259Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-117-stack-cost] did not exist. Created. [2023-05-10T23:00:21.259Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T23:00:21.561Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T23:00:21.585Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T23:00:21.592Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-117-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T23:00:21.616Z] $ docker stop --time=1 ce2643808ab69e94c165fb05be8b255c0b88437a215ea95b75d99b663073fd72 [2023-05-10T23:00:22.799Z] $ docker rm -f --volumes ce2643808ab69e94c165fb05be8b255c0b88437a215ea95b75d99b663073fd72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T23:13:11.389Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15116 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-05-10T23:13:11.400Z] Running in /w/workspace/device-virtual-go/117 [Pipeline] { [Pipeline] checkout [2023-05-10T23:13:11.445Z] The recommended git tool is: git [2023-05-10T23:13:18.062Z] using credential edgex-jenkins-ssh [2023-05-10T23:13:18.083Z] Cloning the remote Git repository [2023-05-10T23:13:18.147Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-05-10T23:13:18.268Z] > git init /w/workspace/device-virtual-go/117 # timeout=10 [2023-05-10T23:13:18.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-05-10T23:13:18.448Z] > git --version # timeout=10 [2023-05-10T23:13:18.471Z] > git --version # 'git version 2.25.1' [2023-05-10T23:13:18.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T23:13:18.660Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T23:13:20.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-05-10T23:13:20.981Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T23:13:22.101Z] Avoid second fetch [2023-05-10T23:13:22.102Z] Checking out Revision d55cfd14756feee5759f983c7252b83ebf242d79 (main) [2023-05-10T23:13:22.915Z] Commit message: "docs: Add main branch Warning (#405)" [2023-05-10T23:13:22.122Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T23:13:22.208Z] > git checkout -f d55cfd14756feee5759f983c7252b83ebf242d79 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T23:13:23.919Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T23:13:23.919Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T23:13:23.919Z] Dload Upload Total Spent Left Speed [2023-05-10T23:13:23.919Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-05-10T23:13:24.572Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T23:13:24.941Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2023-05-10T23:13:24.941Z] sudo tee /etc/docker/daemon.new [2023-05-10T23:13:24.941Z] { [2023-05-10T23:13:24.941Z] "registry-mirrors": [ [2023-05-10T23:13:24.941Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T23:13:24.941Z] ], [2023-05-10T23:13:24.941Z] "bip": "10.250.0.254/24", [2023-05-10T23:13:24.941Z] "hosts": [ [2023-05-10T23:13:24.941Z] "tcp://0.0.0.0:5555", [2023-05-10T23:13:24.941Z] "unix:///var/run/docker.sock" [2023-05-10T23:13:24.941Z] ], [2023-05-10T23:13:24.941Z] "mtu": 1458, [2023-05-10T23:13:24.941Z] "selinux-enabled": true, [2023-05-10T23:13:24.941Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T23:13:24.941Z] } [Pipeline] sh [2023-05-10T23:13:25.291Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T23:13:25.621Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:13:43.906Z] provisioning config files... [2023-05-10T23:13:43.937Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/117@tmp/config1147329312433565657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:13:44.304Z] ---> docker-login.sh [2023-05-10T23:13:44.304Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:13:44.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:45.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:45.162Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:45.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:45.162Z] [2023-05-10T23:13:45.162Z] Login Succeeded [2023-05-10T23:13:45.162Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:13:45.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:45.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:45.432Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:45.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:45.432Z] [2023-05-10T23:13:45.432Z] Login Succeeded [2023-05-10T23:13:45.432Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:13:45.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:45.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:45.979Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:45.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:45.979Z] [2023-05-10T23:13:45.979Z] Login Succeeded [2023-05-10T23:13:45.979Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:13:46.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:46.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:46.259Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:46.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:46.259Z] [2023-05-10T23:13:46.259Z] Login Succeeded [2023-05-10T23:13:46.259Z] docker.io [2023-05-10T23:13:46.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:46.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:46.799Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:46.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:46.799Z] [2023-05-10T23:13:46.799Z] Login Succeeded [2023-05-10T23:13:46.799Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:13:46.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T23:13:47.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:13:47.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:13:47.137Z] ========================================================= [2023-05-10T23:13:47.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-10T23:13:47.137Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:13:47.504Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T23:13:47.782Z] Sending build context to Docker daemon 11.99MB [2023-05-10T23:13:48.056Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:13:48.056Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T23:13:48.056Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-10T23:13:48.056Z] c41833b44d91: Pulling fs layer [2023-05-10T23:13:48.056Z] ed15518f5707: Pulling fs layer [2023-05-10T23:13:48.056Z] feae8fd75edb: Pulling fs layer [2023-05-10T23:13:48.056Z] 242c74f7c9fa: Pulling fs layer [2023-05-10T23:13:48.056Z] 3cdef696dda3: Pulling fs layer [2023-05-10T23:13:48.056Z] 2ced38df9373: Pulling fs layer [2023-05-10T23:13:48.056Z] 58f1dce35555: Pulling fs layer [2023-05-10T23:13:48.056Z] 3cdef696dda3: Waiting [2023-05-10T23:13:48.056Z] 2ced38df9373: Waiting [2023-05-10T23:13:48.056Z] 58f1dce35555: Waiting [2023-05-10T23:13:48.056Z] 242c74f7c9fa: Waiting [2023-05-10T23:13:48.056Z] ed15518f5707: Verifying Checksum [2023-05-10T23:13:48.056Z] ed15518f5707: Download complete [2023-05-10T23:13:48.329Z] 242c74f7c9fa: Download complete [2023-05-10T23:13:48.329Z] 3cdef696dda3: Verifying Checksum [2023-05-10T23:13:48.329Z] 3cdef696dda3: Download complete [2023-05-10T23:13:48.329Z] c41833b44d91: Verifying Checksum [2023-05-10T23:13:49.321Z] c41833b44d91: Pull complete [2023-05-10T23:13:49.720Z] 58f1dce35555: Verifying Checksum [2023-05-10T23:13:49.720Z] 58f1dce35555: Download complete [2023-05-10T23:13:51.174Z] feae8fd75edb: Verifying Checksum [2023-05-10T23:13:51.174Z] feae8fd75edb: Download complete [2023-05-10T23:13:51.174Z] 2ced38df9373: Verifying Checksum [2023-05-10T23:13:51.174Z] 2ced38df9373: Download complete [2023-05-10T23:13:51.174Z] ed15518f5707: Pull complete [2023-05-10T23:14:03.540Z] feae8fd75edb: Pull complete [2023-05-10T23:14:03.540Z] 242c74f7c9fa: Pull complete [2023-05-10T23:14:03.540Z] 3cdef696dda3: Pull complete [2023-05-10T23:14:08.987Z] 2ced38df9373: Pull complete [2023-05-10T23:14:11.626Z] 58f1dce35555: Pull complete [2023-05-10T23:14:11.626Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-10T23:14:11.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-10T23:14:11.626Z] ---> fadd8f120f05 [2023-05-10T23:14:11.626Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T23:14:13.600Z] ---> Running in 8a93741d7c2b [2023-05-10T23:14:13.601Z] Removing intermediate container 8a93741d7c2b [2023-05-10T23:14:13.601Z] ---> e3f393145b89 [2023-05-10T23:14:13.601Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T23:14:13.871Z] ---> Running in 4686ec780490 [2023-05-10T23:14:14.141Z] Removing intermediate container 4686ec780490 [2023-05-10T23:14:14.141Z] ---> 52219b79b06d [2023-05-10T23:14:14.141Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:14:14.414Z] ---> Running in 90f37d836dac [2023-05-10T23:14:14.685Z] Removing intermediate container 90f37d836dac [2023-05-10T23:14:14.685Z] ---> 24e6813d60a1 [2023-05-10T23:14:14.685Z] Step 6/12 : WORKDIR /device-virtual-go [2023-05-10T23:14:14.957Z] ---> Running in 21ed51fbea35 [2023-05-10T23:14:15.229Z] Removing intermediate container 21ed51fbea35 [2023-05-10T23:14:15.229Z] ---> 8a70fadc2a53 [2023-05-10T23:14:15.229Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T23:14:15.229Z] ---> Running in 8c4e01def2f4 [2023-05-10T23:14:16.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:14:17.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:14:18.611Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T23:14:18.611Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T23:14:18.611Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T23:14:18.884Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T23:14:18.884Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:14:18.884Z] OK: 268 MiB in 57 packages [2023-05-10T23:14:19.870Z] Removing intermediate container 8c4e01def2f4 [2023-05-10T23:14:19.870Z] ---> 2d146d9fefe6 [2023-05-10T23:14:19.870Z] Step 8/12 : COPY go.mod vendor* ./ [2023-05-10T23:14:20.467Z] ---> c4800c5779b9 [2023-05-10T23:14:20.467Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:14:20.467Z] ---> Running in 3dac13deffee [2023-05-10T23:15:28.423Z] Removing intermediate container 3dac13deffee [2023-05-10T23:15:28.423Z] ---> cb3d806a970d [2023-05-10T23:15:28.423Z] Step 10/12 : COPY . . [2023-05-10T23:15:28.423Z] ---> 16c9f4401495 [2023-05-10T23:15:28.423Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:15:28.423Z] ---> Running in 45ee6c18bd68 [2023-05-10T23:15:28.423Z] Removing intermediate container 45ee6c18bd68 [2023-05-10T23:15:28.423Z] ---> 89d671fd16bd [2023-05-10T23:15:28.423Z] Step 12/12 : RUN $MAKE [2023-05-10T23:15:28.423Z] ---> Running in ad4a6b11542c [2023-05-10T23:15:28.423Z] noop [2023-05-10T23:15:28.423Z] Removing intermediate container ad4a6b11542c [2023-05-10T23:15:28.423Z] ---> 0a02518222e4 [2023-05-10T23:15:28.423Z] Successfully built 0a02518222e4 [2023-05-10T23:15:28.423Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:28.795Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T23:15:28.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:15:29.043Z] prd-ubuntu20.04-docker-arm64-4c-16g-15116 does not seem to be running inside a container [2023-05-10T23:15:29.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/117 -v /w/workspace/device-virtual-go/117:/w/workspace/device-virtual-go/117:rw,z -v /w/workspace/device-virtual-go/117@tmp:/w/workspace/device-virtual-go/117@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-05-10T23:15:30.404Z] $ docker top 99f797d626a4725f06cc9e773f1ec1913becc6d03375301f3bf3de5a967edb0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:15:31.281Z] + go version [2023-05-10T23:15:31.281Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-10T23:15:31.305Z] $ docker stop --time=1 99f797d626a4725f06cc9e773f1ec1913becc6d03375301f3bf3de5a967edb0f [2023-05-10T23:15:32.972Z] $ docker rm -f --volumes 99f797d626a4725f06cc9e773f1ec1913becc6d03375301f3bf3de5a967edb0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:33.561Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T23:15:33.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:15:33.777Z] prd-ubuntu20.04-docker-arm64-4c-16g-15116 does not seem to be running inside a container [2023-05-10T23:15:33.855Z] $ 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/117 -v /w/workspace/device-virtual-go/117:/w/workspace/device-virtual-go/117:rw,z -v /w/workspace/device-virtual-go/117@tmp:/w/workspace/device-virtual-go/117@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-05-10T23:15:35.204Z] $ docker top 4f62a45eec5a9c9e6b38b4bb476ebafe86bd18af4e3a7d7b358820d91c7eecc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:15:35.976Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/117 [Pipeline] fileExists [Pipeline] sh [2023-05-10T23:15:36.643Z] + make test [2023-05-10T23:15:36.643Z] go test ./... -coverprofile=coverage.out [2023-05-10T23:16:15.568Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-05-10T23:18:22.318Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-05-10T23:18:22.319Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.100s coverage: 58.4% of statements [2023-05-10T23:18:22.319Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-10T23:18:22.319Z] go vet ./... [2023-05-10T23:18:40.584Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T23:18:40.584Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T23:18:40.584Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T23:18:40.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T23:18:40.621Z] $ docker stop --time=1 4f62a45eec5a9c9e6b38b4bb476ebafe86bd18af4e3a7d7b358820d91c7eecc7 [2023-05-10T23:18:42.536Z] $ docker rm -f --volumes 4f62a45eec5a9c9e6b38b4bb476ebafe86bd18af4e3a7d7b358820d91c7eecc7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:18:43.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T23:18:43.829Z] Warning: overwriting stash ‘coverage-report’ [2023-05-10T23:18:44.497Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T23:18:44.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T23:18:45.242Z] + ls -al . [2023-05-10T23:18:45.242Z] total 188 [2023-05-10T23:18:45.242Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:15 . [2023-05-10T23:18:45.242Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:13 .. [2023-05-10T23:18:45.242Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:13 .git [2023-05-10T23:18:45.242Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:13 .github [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 337 May 10 23:13 .gitignore [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 23:13 .golangci.yml [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 8652 May 10 23:13 Attribution.txt [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 11367 May 10 23:13 CHANGELOG.md [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 1646 May 10 23:13 Dockerfile [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:13 GOVERNANCE.md [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 660 May 10 23:13 Jenkinsfile [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 23:13 LICENSE [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 1696 May 10 23:13 Makefile [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 623 May 10 23:13 OWNERS.md [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 4087 May 10 23:13 README.md [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 22:58 VERSION [2023-05-10T23:18:45.242Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:13 bin [2023-05-10T23:18:45.242Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:13 cmd [2023-05-10T23:18:45.242Z] -rw-r--r-- 1 jenkins jenkins 43063 May 10 23:18 coverage.out [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 3209 May 10 23:13 go.mod [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 30994 May 10 23:13 go.sum [2023-05-10T23:18:45.242Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:13 internal [2023-05-10T23:18:45.242Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:13 snap [2023-05-10T23:18:45.242Z] -rw-rw-r-- 1 jenkins jenkins 235 May 10 23:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:18:45.605Z] + 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=d55cfd14756feee5759f983c7252b83ebf242d79 --label arch=arm64 --label version=3.0.0-dev.45 . [2023-05-10T23:18:46.226Z] Sending build context to Docker daemon 12.03MB [2023-05-10T23:18:46.226Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:18:46.226Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-10T23:18:46.226Z] ---> 0a02518222e4 [2023-05-10T23:18:46.226Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T23:18:46.226Z] ---> Running in da8929ae34bc [2023-05-10T23:18:46.497Z] Removing intermediate container da8929ae34bc [2023-05-10T23:18:46.497Z] ---> e3a9805bed11 [2023-05-10T23:18:46.497Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T23:18:46.769Z] ---> Running in 518681d65596 [2023-05-10T23:18:47.039Z] Removing intermediate container 518681d65596 [2023-05-10T23:18:47.039Z] ---> 613352d8e33e [2023-05-10T23:18:47.039Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:18:47.039Z] ---> Running in cf947050754c [2023-05-10T23:18:47.319Z] Removing intermediate container cf947050754c [2023-05-10T23:18:47.319Z] ---> ad979bfa7e45 [2023-05-10T23:18:47.319Z] Step 6/25 : WORKDIR /device-virtual-go [2023-05-10T23:18:47.593Z] ---> Running in 3d46839baafe [2023-05-10T23:18:47.866Z] Removing intermediate container 3d46839baafe [2023-05-10T23:18:47.866Z] ---> 2b29fc03884c [2023-05-10T23:18:47.866Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T23:18:47.866Z] ---> Running in f9234e3d123a [2023-05-10T23:18:49.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:18:49.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:18:50.986Z] OK: 268 MiB in 57 packages [2023-05-10T23:18:51.966Z] Removing intermediate container f9234e3d123a [2023-05-10T23:18:51.966Z] ---> 0f12aafbbd17 [2023-05-10T23:18:51.966Z] Step 8/25 : COPY go.mod vendor* ./ [2023-05-10T23:18:52.553Z] ---> 6e825b64c70f [2023-05-10T23:18:52.553Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:18:52.553Z] ---> Running in 5eaf5d34a611 [2023-05-10T23:18:57.913Z] Removing intermediate container 5eaf5d34a611 [2023-05-10T23:18:57.913Z] ---> f91c34150d07 [2023-05-10T23:18:57.913Z] Step 10/25 : COPY . . [2023-05-10T23:18:58.499Z] ---> 71f11994b759 [2023-05-10T23:18:58.499Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:18:58.499Z] ---> Running in 9cea3dfde174 [2023-05-10T23:18:59.084Z] Removing intermediate container 9cea3dfde174 [2023-05-10T23:18:59.084Z] ---> 5fc38190e07b [2023-05-10T23:18:59.084Z] Step 12/25 : RUN $MAKE [2023-05-10T23:18:59.084Z] ---> Running in 747501a4f5a9 [2023-05-10T23:19:00.049Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.45" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-05-10T23:21:21.792Z] Removing intermediate container 747501a4f5a9 [2023-05-10T23:21:21.792Z] ---> 49d77ba99415 [2023-05-10T23:21:21.792Z] Step 13/25 : FROM alpine:3.17 [2023-05-10T23:21:22.381Z] 3.17: Pulling from library/alpine [2023-05-10T23:21:22.381Z] c41833b44d91: Already exists [2023-05-10T23:21:22.650Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T23:21:22.650Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T23:21:22.650Z] ---> 51e60588ff2c [2023-05-10T23:21:22.650Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-05-10T23:21:22.650Z] ---> Running in e2199bf62aea [2023-05-10T23:21:22.921Z] Removing intermediate container e2199bf62aea [2023-05-10T23:21:22.921Z] ---> c0bd090fda2f [2023-05-10T23:21:22.921Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-05-10T23:21:23.189Z] ---> Running in 2085167a75a0 [2023-05-10T23:21:24.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:21:24.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:21:26.151Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T23:21:26.151Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:21:26.151Z] OK: 8 MiB in 16 packages [2023-05-10T23:21:27.123Z] Removing intermediate container 2085167a75a0 [2023-05-10T23:21:27.123Z] ---> ffd6cbf62fda [2023-05-10T23:21:27.123Z] Step 16/25 : WORKDIR / [2023-05-10T23:21:27.123Z] ---> Running in d921ef29e7c0 [2023-05-10T23:21:27.399Z] Removing intermediate container d921ef29e7c0 [2023-05-10T23:21:27.399Z] ---> 1192784cfc0e [2023-05-10T23:21:27.399Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-05-10T23:21:27.992Z] ---> 22588834df96 [2023-05-10T23:21:27.992Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-05-10T23:21:28.259Z] ---> 0417873df3cd [2023-05-10T23:21:28.259Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-05-10T23:21:30.208Z] ---> 4ae31f704bd3 [2023-05-10T23:21:30.208Z] Step 20/25 : EXPOSE 59900 [2023-05-10T23:21:30.208Z] ---> Running in df8c83143386 [2023-05-10T23:21:30.208Z] Removing intermediate container df8c83143386 [2023-05-10T23:21:30.208Z] ---> 718e8ec76c50 [2023-05-10T23:21:30.208Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-05-10T23:21:30.208Z] ---> Running in f71597af8bdd [2023-05-10T23:21:30.796Z] Removing intermediate container f71597af8bdd [2023-05-10T23:21:30.796Z] ---> 812db5482b2f [2023-05-10T23:21:30.796Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-10T23:21:30.796Z] ---> Running in 28952d05957c [2023-05-10T23:21:31.065Z] Removing intermediate container 28952d05957c [2023-05-10T23:21:31.065Z] ---> 6caf76c76935 [2023-05-10T23:21:31.065Z] Step 23/25 : LABEL arch=arm64 [2023-05-10T23:21:31.065Z] ---> Running in 16f58d4fca6e [2023-05-10T23:21:31.335Z] Removing intermediate container 16f58d4fca6e [2023-05-10T23:21:31.335Z] ---> 1a80effedd9d [2023-05-10T23:21:31.335Z] Step 24/25 : LABEL git_sha=d55cfd14756feee5759f983c7252b83ebf242d79 [2023-05-10T23:21:31.335Z] ---> Running in 456a944e8275 [2023-05-10T23:21:31.613Z] Removing intermediate container 456a944e8275 [2023-05-10T23:21:31.613Z] ---> 857b2373b891 [2023-05-10T23:21:31.613Z] Step 25/25 : LABEL version=3.0.0-dev.45 [2023-05-10T23:21:31.884Z] ---> Running in 01949fc3f82e [2023-05-10T23:21:32.156Z] Removing intermediate container 01949fc3f82e [2023-05-10T23:21:32.156Z] ---> 055da77ecb64 [2023-05-10T23:21:32.156Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T23:21:32.156Z] Successfully built 055da77ecb64 [2023-05-10T23:21:32.156Z] 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-05-10T23:21:32.283Z] provisioning config files... [2023-05-10T23:21:32.300Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/117@tmp/config2869227149455514057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:21:32.647Z] ---> docker-login.sh [2023-05-10T23:21:32.647Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:21:32.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:21:32.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:21:32.918Z] Configure a credential helper to remove this warning. See [2023-05-10T23:21:32.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:21:32.918Z] [2023-05-10T23:21:32.918Z] Login Succeeded [2023-05-10T23:21:32.918Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:21:33.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:21:33.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:21:33.186Z] Configure a credential helper to remove this warning. See [2023-05-10T23:21:33.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:21:33.186Z] [2023-05-10T23:21:33.455Z] Login Succeeded [2023-05-10T23:21:33.455Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:21:33.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:21:33.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:21:33.726Z] Configure a credential helper to remove this warning. See [2023-05-10T23:21:33.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:21:33.726Z] [2023-05-10T23:21:33.726Z] Login Succeeded [2023-05-10T23:21:33.726Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:21:33.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:21:34.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:21:34.261Z] Configure a credential helper to remove this warning. See [2023-05-10T23:21:34.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:21:34.261Z] [2023-05-10T23:21:34.261Z] Login Succeeded [2023-05-10T23:21:34.261Z] docker.io [2023-05-10T23:21:34.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:21:34.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:21:34.801Z] Configure a credential helper to remove this warning. See [2023-05-10T23:21:34.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:21:34.801Z] [2023-05-10T23:21:34.801Z] Login Succeeded [2023-05-10T23:21:34.801Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:21:34.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:21:34.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:21:34.881Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-05-10T23:21:34.882Z] d55cfd14756feee5759f983c7252b83ebf242d79 [2023-05-10T23:21:34.882Z] latest [2023-05-10T23:21:34.882Z] 3.0.0-dev.45 [2023-05-10T23:21:34.882Z] d55cfd14756feee5759f983c7252b83ebf242d79-3.0.0-dev.45 [2023-05-10T23:21:34.882Z] main [2023-05-10T23:21:34.882Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:35.271Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:d55cfd14756feee5759f983c7252b83ebf242d79 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:35.617Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:d55cfd14756feee5759f983c7252b83ebf242d79 [2023-05-10T23:21:35.617Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-05-10T23:21:35.617Z] a37e7505e0a9: Preparing [2023-05-10T23:21:35.617Z] 2051d68076af: Preparing [2023-05-10T23:21:35.617Z] 893f412d3916: Preparing [2023-05-10T23:21:35.617Z] e41aab25969a: Preparing [2023-05-10T23:21:35.617Z] 26cbea5cba74: Preparing [2023-05-10T23:21:35.886Z] 26cbea5cba74: Layer already exists [2023-05-10T23:21:35.886Z] 893f412d3916: Pushed [2023-05-10T23:21:35.886Z] 2051d68076af: Pushed [2023-05-10T23:21:35.886Z] e41aab25969a: Pushed [2023-05-10T23:21:41.248Z] a37e7505e0a9: Pushed [2023-05-10T23:21:41.248Z] d55cfd14756feee5759f983c7252b83ebf242d79: digest: sha256:1cf683d9bbd126389585b178a95711ddbbdcdf263a031fbd574c76ac19bea309 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:41.595Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:41.934Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-05-10T23:21:41.934Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-05-10T23:21:41.934Z] a37e7505e0a9: Preparing [2023-05-10T23:21:41.934Z] 2051d68076af: Preparing [2023-05-10T23:21:41.934Z] 893f412d3916: Preparing [2023-05-10T23:21:41.934Z] e41aab25969a: Preparing [2023-05-10T23:21:41.934Z] 26cbea5cba74: Preparing [2023-05-10T23:21:41.934Z] 2051d68076af: Layer already exists [2023-05-10T23:21:41.934Z] a37e7505e0a9: Layer already exists [2023-05-10T23:21:41.934Z] 26cbea5cba74: Layer already exists [2023-05-10T23:21:41.934Z] 893f412d3916: Layer already exists [2023-05-10T23:21:41.934Z] e41aab25969a: Layer already exists [2023-05-10T23:21:42.203Z] latest: digest: sha256:1cf683d9bbd126389585b178a95711ddbbdcdf263a031fbd574c76ac19bea309 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:42.552Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:42.900Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.45 [2023-05-10T23:21:42.900Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-05-10T23:21:42.900Z] a37e7505e0a9: Preparing [2023-05-10T23:21:42.900Z] 2051d68076af: Preparing [2023-05-10T23:21:42.900Z] 893f412d3916: Preparing [2023-05-10T23:21:42.900Z] e41aab25969a: Preparing [2023-05-10T23:21:42.900Z] 26cbea5cba74: Preparing [2023-05-10T23:21:42.900Z] 893f412d3916: Layer already exists [2023-05-10T23:21:42.900Z] 2051d68076af: Layer already exists [2023-05-10T23:21:42.900Z] 26cbea5cba74: Layer already exists [2023-05-10T23:21:42.900Z] a37e7505e0a9: Layer already exists [2023-05-10T23:21:42.900Z] e41aab25969a: Layer already exists [2023-05-10T23:21:42.900Z] 3.0.0-dev.45: digest: sha256:1cf683d9bbd126389585b178a95711ddbbdcdf263a031fbd574c76ac19bea309 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:43.246Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:d55cfd14756feee5759f983c7252b83ebf242d79-3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:43.585Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:d55cfd14756feee5759f983c7252b83ebf242d79-3.0.0-dev.45 [2023-05-10T23:21:43.585Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-05-10T23:21:43.585Z] a37e7505e0a9: Preparing [2023-05-10T23:21:43.585Z] 2051d68076af: Preparing [2023-05-10T23:21:43.585Z] 893f412d3916: Preparing [2023-05-10T23:21:43.585Z] e41aab25969a: Preparing [2023-05-10T23:21:43.585Z] 26cbea5cba74: Preparing [2023-05-10T23:21:43.585Z] 2051d68076af: Layer already exists [2023-05-10T23:21:43.585Z] e41aab25969a: Layer already exists [2023-05-10T23:21:43.585Z] a37e7505e0a9: Layer already exists [2023-05-10T23:21:43.585Z] 893f412d3916: Layer already exists [2023-05-10T23:21:43.585Z] 26cbea5cba74: Layer already exists [2023-05-10T23:21:43.585Z] d55cfd14756feee5759f983c7252b83ebf242d79-3.0.0-dev.45: digest: sha256:1cf683d9bbd126389585b178a95711ddbbdcdf263a031fbd574c76ac19bea309 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:43.935Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:44.278Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-05-10T23:21:44.278Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-05-10T23:21:44.278Z] a37e7505e0a9: Preparing [2023-05-10T23:21:44.278Z] 2051d68076af: Preparing [2023-05-10T23:21:44.278Z] 893f412d3916: Preparing [2023-05-10T23:21:44.278Z] e41aab25969a: Preparing [2023-05-10T23:21:44.278Z] 26cbea5cba74: Preparing [2023-05-10T23:21:44.278Z] 26cbea5cba74: Layer already exists [2023-05-10T23:21:44.278Z] 2051d68076af: Layer already exists [2023-05-10T23:21:44.278Z] e41aab25969a: Layer already exists [2023-05-10T23:21:44.278Z] 893f412d3916: Layer already exists [2023-05-10T23:21:44.278Z] a37e7505e0a9: Layer already exists [2023-05-10T23:21:44.278Z] main: digest: sha256:1cf683d9bbd126389585b178a95711ddbbdcdf263a031fbd574c76ac19bea309 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:21:44.598Z] ===================================================== [Pipeline] echo [2023-05-10T23:21:44.604Z] taggedImages: [2023-05-10T23:21:44.604Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:d55cfd14756feee5759f983c7252b83ebf242d79 [2023-05-10T23:21:44.604Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-05-10T23:21:44.604Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.45 [2023-05-10T23:21:44.604Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:d55cfd14756feee5759f983c7252b83ebf242d79-3.0.0-dev.45 [2023-05-10T23:21:44.604Z] - 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-05-10T23:21:44.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:21:44.960Z] [2023-05-10T23:21:44.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:21:45.300Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:21:45.300Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T23:21:45.300Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T23:21:45.300Z] 04944245beec: Pulling fs layer [2023-05-10T23:21:45.300Z] 699f458cf7ca: Pulling fs layer [2023-05-10T23:21:45.300Z] 765212b225bb: Pulling fs layer [2023-05-10T23:21:45.300Z] f23df028b6ca: Pulling fs layer [2023-05-10T23:21:45.300Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T23:21:45.300Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T23:21:45.300Z] 765212b225bb: Waiting [2023-05-10T23:21:45.300Z] f23df028b6ca: Waiting [2023-05-10T23:21:45.300Z] d65c8cfc05b1: Waiting [2023-05-10T23:21:45.300Z] 2437ff75d9bd: Waiting [2023-05-10T23:21:45.567Z] 04944245beec: Verifying Checksum [2023-05-10T23:21:45.567Z] 04944245beec: Download complete [2023-05-10T23:21:45.567Z] 765212b225bb: Verifying Checksum [2023-05-10T23:21:45.567Z] 765212b225bb: Download complete [2023-05-10T23:21:45.567Z] f23df028b6ca: Verifying Checksum [2023-05-10T23:21:45.567Z] f23df028b6ca: Download complete [2023-05-10T23:21:45.567Z] d65c8cfc05b1: Verifying Checksum [2023-05-10T23:21:45.567Z] d65c8cfc05b1: Download complete [2023-05-10T23:21:45.567Z] 699f458cf7ca: Verifying Checksum [2023-05-10T23:21:45.567Z] 699f458cf7ca: Download complete [2023-05-10T23:21:46.152Z] 8998bd30e6a1: Download complete [2023-05-10T23:21:48.106Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T23:21:48.106Z] 2437ff75d9bd: Download complete [2023-05-10T23:21:50.050Z] 8998bd30e6a1: Pull complete [2023-05-10T23:21:50.317Z] 04944245beec: Pull complete [2023-05-10T23:21:51.727Z] 699f458cf7ca: Pull complete [2023-05-10T23:21:51.727Z] 765212b225bb: Pull complete [2023-05-10T23:21:52.311Z] f23df028b6ca: Pull complete [2023-05-10T23:21:52.579Z] d65c8cfc05b1: Pull complete [2023-05-10T23:22:07.727Z] 2437ff75d9bd: Pull complete [2023-05-10T23:22:07.727Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T23:22:07.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:22:07.727Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:22:07.978Z] prd-ubuntu20.04-docker-arm64-4c-16g-15116 does not seem to be running inside a container [2023-05-10T23:22:08.070Z] $ 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/117 -v /w/workspace/device-virtual-go/117:/w/workspace/device-virtual-go/117:rw,z -v /w/workspace/device-virtual-go/117@tmp:/w/workspace/device-virtual-go/117@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-05-10T23:22:10.724Z] $ docker top 01ec5571917cf6f79f29b21818a6bcfd8147a7f7fd5bd0784ab8bce5cebc11ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:22:11.569Z] ---> job-cost.sh [2023-05-10T23:22:11.569Z] lf-activate-venv: SKIPPING [2023-05-10T23:22:11.569Z] INFO: No Stack... [2023-05-10T23:22:11.835Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T23:22:12.797Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T23:22:13.438Z] + cat /w/workspace/device-virtual-go/117/archives/cost.csv [2023-05-10T23:22:13.438Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T23:22:13.504Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-117-stack-cost] [2023-05-10T23:22:13.510Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-117-stack-cost] did not exist. Created. [2023-05-10T23:22:13.510Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T23:22:14.164Z] /w/workspace/device-virtual-go/117@tmp/durable-627d33c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T23:22:14.812Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T23:22:14.836Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T23:22:14.894Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T23:22:14.900Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-117-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T23:22:14.922Z] $ docker stop --time=1 01ec5571917cf6f79f29b21818a6bcfd8147a7f7fd5bd0784ab8bce5cebc11ed [2023-05-10T23:22:18.227Z] $ docker rm -f --volumes 01ec5571917cf6f79f29b21818a6bcfd8147a7f7fd5bd0784ab8bce5cebc11ed [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-05-10T23:22:18.673Z] provisioning config files... [2023-05-10T23:22:18.681Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15361713670025140262tmp [Pipeline] { [Pipeline] sh [2023-05-10T23:22:18.971Z] + set +x [2023-05-10T23:22:18.971Z] + curl -s https://codecov.io/bash [2023-05-10T23:22:18.971Z] + bash -s -- [2023-05-10T23:22:18.971Z] [2023-05-10T23:22:18.971Z] _____ _ [2023-05-10T23:22:18.971Z] / ____| | | [2023-05-10T23:22:18.971Z] | | ___ __| | ___ ___ _____ __ [2023-05-10T23:22:18.971Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-10T23:22:18.971Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-10T23:22:18.971Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-10T23:22:18.971Z] Bash-1.0.6 [2023-05-10T23:22:18.971Z] [2023-05-10T23:22:18.971Z] [2023-05-10T23:22:18.971Z] ==> git version 2.25.1 found [2023-05-10T23:22:18.971Z] ==> 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-05-10T23:22:18.971Z] Release-Date: 2020-01-08 [2023-05-10T23:22:18.971Z] 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-05-10T23:22:18.971Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-10T23:22:18.971Z] ==> Jenkins CI detected. [2023-05-10T23:22:18.971Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-05-10T23:22:18.971Z] project root: . [2023-05-10T23:22:18.971Z] --> token set from env [2023-05-10T23:22:18.971Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-10T23:22:18.971Z] ==> Running gcov in . (disable via -X gcov) [2023-05-10T23:22:18.971Z] ==> Python coveragepy not found [2023-05-10T23:22:18.971Z] ==> Searching for coverage reports in: [2023-05-10T23:22:18.971Z] + . [2023-05-10T23:22:18.971Z] -> Found 1 reports [2023-05-10T23:22:18.971Z] ==> Detecting git/mercurial file structure [2023-05-10T23:22:18.971Z] ==> Reading reports [2023-05-10T23:22:18.971Z] + ./coverage.out bytes=43063 [2023-05-10T23:22:18.971Z] ==> Appending adjustments [2023-05-10T23:22:18.971Z] https://docs.codecov.io/docs/fixing-reports [2023-05-10T23:22:19.230Z] + Found adjustments [2023-05-10T23:22:19.230Z] ==> Gzipping contents [2023-05-10T23:22:19.230Z] 8.0K /tmp/codecov.72296D.gz [2023-05-10T23:22:19.230Z] ==> Uploading reports [2023-05-10T23:22:19.230Z] url: https://codecov.io [2023-05-10T23:22:19.230Z] query: branch=main&commit=d55cfd14756feee5759f983c7252b83ebf242d79&build=117&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F117%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T23:22:19.230Z] -> Pinging Codecov [2023-05-10T23:22:19.230Z] 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=d55cfd14756feee5759f983c7252b83ebf242d79&build=117&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F117%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T23:22:19.230Z] -> Uploading to [2023-05-10T23:22:19.230Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-10/5E52B4B073DB2E39498172D8E973AA87/d55cfd14756feee5759f983c7252b83ebf242d79/df78da9e-61e0-40e2-bb78-c78c331646c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T232219Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f42c4ae3236aa7ec8bb7368f3ed9db9db6d5c44b540ba5f5763ff0b6d4846a24 [2023-05-10T23:22:19.489Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T23:22:19.489Z] Dload Upload Total Spent Left Speed [2023-05-10T23:22:19.489Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23779 --:--:-- --:--:-- --:--:-- 23779 [2023-05-10T23:22:19.489Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d55cfd14756feee5759f983c7252b83ebf242d79 [Pipeline] } [2023-05-10T23:22:19.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-10T23:22:19.679Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-10T23:22:19.691Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:19.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T23:22:19.995Z] [2023-05-10T23:22:19.995Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:20.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T23:22:20.294Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-10T23:22:20.294Z] df9b9388f04a: Pulling fs layer [2023-05-10T23:22:20.294Z] 52dc419b0ee2: Pulling fs layer [2023-05-10T23:22:20.294Z] 25bc292e5bac: Pulling fs layer [2023-05-10T23:22:20.294Z] 114826534d7a: Pulling fs layer [2023-05-10T23:22:20.294Z] 4657fd5d0bcf: Pulling fs layer [2023-05-10T23:22:20.294Z] 6ad1cebc031e: Pulling fs layer [2023-05-10T23:22:20.294Z] 8a3aa393b2d8: Pulling fs layer [2023-05-10T23:22:20.294Z] 114826534d7a: Waiting [2023-05-10T23:22:20.294Z] 4657fd5d0bcf: Waiting [2023-05-10T23:22:20.294Z] 6ad1cebc031e: Waiting [2023-05-10T23:22:20.294Z] 8a3aa393b2d8: Waiting [2023-05-10T23:22:20.294Z] 25bc292e5bac: Download complete [2023-05-10T23:22:20.294Z] 52dc419b0ee2: Verifying Checksum [2023-05-10T23:22:20.294Z] 52dc419b0ee2: Download complete [2023-05-10T23:22:20.294Z] 4657fd5d0bcf: Verifying Checksum [2023-05-10T23:22:20.294Z] 4657fd5d0bcf: Download complete [2023-05-10T23:22:20.294Z] df9b9388f04a: Download complete [2023-05-10T23:22:20.553Z] df9b9388f04a: Pull complete [2023-05-10T23:22:20.553Z] 52dc419b0ee2: Pull complete [2023-05-10T23:22:20.816Z] 25bc292e5bac: Pull complete [2023-05-10T23:22:20.816Z] 6ad1cebc031e: Download complete [2023-05-10T23:22:21.397Z] 114826534d7a: Verifying Checksum [2023-05-10T23:22:21.397Z] 114826534d7a: Download complete [2023-05-10T23:22:21.397Z] 8a3aa393b2d8: Verifying Checksum [2023-05-10T23:22:21.397Z] 8a3aa393b2d8: Download complete [2023-05-10T23:22:24.672Z] 114826534d7a: Pull complete [2023-05-10T23:22:24.673Z] 4657fd5d0bcf: Pull complete [2023-05-10T23:22:24.673Z] 6ad1cebc031e: Pull complete [2023-05-10T23:22:27.201Z] 8a3aa393b2d8: Pull complete [2023-05-10T23:22:27.201Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-10T23:22:27.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T23:22:27.202Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:22:27.280Z] prd-ubuntu20.04-docker-8c-8g-14997 does not seem to be running inside a container [2023-05-10T23:22:27.328Z] $ 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-05-10T23:22:29.752Z] $ docker top d4f5ce2638a5f4223d76791c35302a70cda4db5b36f92d7a2753f36d194c727b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-10T23:22:29.797Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-05-10T23:22:30.074Z] + set -o pipefail [2023-05-10T23:22:30.074Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-05-10T23:22:35.343Z] [2023-05-10T23:22:35.343Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-05-10T23:22:35.343Z] [2023-05-10T23:22:35.343Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/4c36528c-cf4d-47c1-9f33-968bbc919deb [2023-05-10T23:22:35.343Z] [2023-05-10T23:22:35.343Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-10T23:22:35.343Z] [2023-05-10T23:22:35.343Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-10T23:22:35.343Z] [2023-05-10T23:22:36.283Z] [2023-05-10T23:22:36.283Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-10T23:22:36.283Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-10T23:22:36.283Z] More details here: https://snyk.co/ue1NS [2023-05-10T23:22:36.283Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-10T23:22:36.283Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-10T23:22:36.312Z] $ docker stop --time=1 d4f5ce2638a5f4223d76791c35302a70cda4db5b36f92d7a2753f36d194c727b [2023-05-10T23:22:38.698Z] $ docker rm -f --volumes d4f5ce2638a5f4223d76791c35302a70cda4db5b36f92d7a2753f36d194c727b [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-05-10T23:22:39.364Z] + git log --format=format:%s -1 d55cfd14756feee5759f983c7252b83ebf242d79 [Pipeline] sh [2023-05-10T23:22:39.655Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:22:39.655Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:39.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:22:39.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:22:40.021Z] prd-ubuntu20.04-docker-8c-8g-14997 does not seem to be running inside a container [2023-05-10T23:22:40.072Z] $ 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-05-10T23:22:40.445Z] $ docker top c1ef8f654912b9e1be6f37906c3cb51e683c73602142ae7d780b6885537937f0 -eo pid,comm [2023-05-10T23:22:40.474Z] 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-05-10T23:22:40.474Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:22:40.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:22:40.518Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:22:40.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:22:40.646Z] $ docker exec c1ef8f654912b9e1be6f37906c3cb51e683c73602142ae7d780b6885537937f0 ssh-agent [2023-05-10T23:22:40.739Z] SSH_AUTH_SOCK=/tmp/ssh-vbc7GR8u5Cmd/agent.32 [2023-05-10T23:22:40.739Z] SSH_AGENT_PID=38 [2023-05-10T23:22:40.745Z] Running ssh-add (command line suppressed) [2023-05-10T23:22:40.868Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_607685368791108385.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_607685368791108385.key) [2023-05-10T23:22:40.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:22:41.150Z] + git semver tag [2023-05-10T23:22:41.408Z] 2023-05-10 23:22:41,329 [run_tag] DEBUG tag force:False [2023-05-10T23:22:41.408Z] 2023-05-10 23:22:41,329 [check_head_tag] DEBUG check head tag [2023-05-10T23:22:41.408Z] 2023-05-10 23:22:41,331 [execute] INFO git cat-file --batch-check [2023-05-10T23:22:41.408Z] 2023-05-10 23:22:41,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T23:22:41.408Z] 2023-05-10 23:22:41,334 [execute] INFO git cat-file --batch [2023-05-10T23:22:41.408Z] 2023-05-10 23:22:41,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T23:22:41.408Z] 2023-05-10 23:22:41,356 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T23:22:41.409Z] 2023-05-10 23:22:41,356 [execute] INFO git tag -a v3.0.0-dev.45 -m v3.0.0-dev.45 [2023-05-10T23:22:41.409Z] 2023-05-10 23:22:41,356 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.45', '-m', 'v3.0.0-dev.45'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:22:41.409Z] 2023-05-10 23:22:41,361 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T23:22:41.409Z] 3.0.0-dev.45 [Pipeline] } [2023-05-10T23:22:41.434Z] $ docker exec --env ******** --env ******** c1ef8f654912b9e1be6f37906c3cb51e683c73602142ae7d780b6885537937f0 ssh-agent -k [2023-05-10T23:22:41.532Z] unset SSH_AUTH_SOCK; [2023-05-10T23:22:41.532Z] unset SSH_AGENT_PID; [2023-05-10T23:22:41.532Z] echo Agent pid 38 killed; [2023-05-10T23:22:41.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:22:41.845Z] + git semver [Pipeline] } [2023-05-10T23:22:42.133Z] $ docker stop --time=1 c1ef8f654912b9e1be6f37906c3cb51e683c73602142ae7d780b6885537937f0 [2023-05-10T23:22:43.378Z] $ docker rm -f --volumes c1ef8f654912b9e1be6f37906c3cb51e683c73602142ae7d780b6885537937f0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:43.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T23:22:43.760Z] [2023-05-10T23:22:43.760Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:44.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T23:22:44.064Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-10T23:22:44.064Z] ab5ef0e58194: Pulling fs layer [2023-05-10T23:22:44.064Z] 9712f1f96733: Pulling fs layer [2023-05-10T23:22:44.064Z] 63f879dbbcfc: Pulling fs layer [2023-05-10T23:22:44.064Z] 0d9ebad4ef96: Pulling fs layer [2023-05-10T23:22:44.064Z] e9a5061849ea: Pulling fs layer [2023-05-10T23:22:44.064Z] d747dcd14b5f: Pulling fs layer [2023-05-10T23:22:44.064Z] 2de7ff778b66: Pulling fs layer [2023-05-10T23:22:44.064Z] 0d9ebad4ef96: Waiting [2023-05-10T23:22:44.064Z] e9a5061849ea: Waiting [2023-05-10T23:22:44.064Z] 2de7ff778b66: Waiting [2023-05-10T23:22:44.064Z] d747dcd14b5f: Waiting [2023-05-10T23:22:44.064Z] 9712f1f96733: Verifying Checksum [2023-05-10T23:22:44.064Z] 9712f1f96733: Download complete [2023-05-10T23:22:44.633Z] 63f879dbbcfc: Verifying Checksum [2023-05-10T23:22:44.633Z] 63f879dbbcfc: Download complete [2023-05-10T23:22:44.633Z] 0d9ebad4ef96: Verifying Checksum [2023-05-10T23:22:44.633Z] 0d9ebad4ef96: Download complete [2023-05-10T23:22:44.633Z] d747dcd14b5f: Verifying Checksum [2023-05-10T23:22:44.633Z] d747dcd14b5f: Download complete [2023-05-10T23:22:44.633Z] e9a5061849ea: Verifying Checksum [2023-05-10T23:22:44.633Z] e9a5061849ea: Download complete [2023-05-10T23:22:44.891Z] ab5ef0e58194: Verifying Checksum [2023-05-10T23:22:44.891Z] ab5ef0e58194: Download complete [2023-05-10T23:22:44.891Z] 2de7ff778b66: Verifying Checksum [2023-05-10T23:22:44.891Z] 2de7ff778b66: Download complete [2023-05-10T23:22:47.420Z] ab5ef0e58194: Pull complete [2023-05-10T23:22:47.420Z] 9712f1f96733: Pull complete [2023-05-10T23:22:47.678Z] 63f879dbbcfc: Pull complete [2023-05-10T23:22:50.958Z] 0d9ebad4ef96: Pull complete [2023-05-10T23:22:51.216Z] e9a5061849ea: Pull complete [2023-05-10T23:22:51.216Z] d747dcd14b5f: Pull complete [2023-05-10T23:22:52.158Z] 2de7ff778b66: Pull complete [2023-05-10T23:22:52.158Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-10T23:22:52.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T23:22:52.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:22:52.235Z] prd-ubuntu20.04-docker-8c-8g-14997 does not seem to be running inside a container [2023-05-10T23:22:52.278Z] $ 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-05-10T23:22:55.913Z] $ docker top 838137a12f378788c8087f8d7ca4e3ca38cc42f3003eb6b14e18b6aafa9ed0d2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:22:55.964Z] provisioning config files... [2023-05-10T23:22:55.970Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1194913107394546384tmp [2023-05-10T23:22:55.981Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12551875649232843872tmp [2023-05-10T23:22:55.988Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15272717576618183824tmp [Pipeline] { [Pipeline] echo [2023-05-10T23:22:56.000Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:22:56.280Z] ---> sigul-configuration.sh [2023-05-10T23:22:56.280Z] gpg: directory `/root/.gnupg' created [2023-05-10T23:22:56.280Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-10T23:22:56.280Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-10T23:22:56.280Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-10T23:22:56.280Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-10T23:22:56.280Z] gpg: CAST5 encrypted data [2023-05-10T23:22:56.280Z] gpg: encrypted with 1 passphrase [2023-05-10T23:22:56.280Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-10T23:22:56.562Z] + mkdir /home/jenkins [2023-05-10T23:22:56.562Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-10T23:22:56.848Z] + 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-05-10T23:22:56.857Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:22:57.140Z] ---> sigul-install.sh [2023-05-10T23:22:57.141Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-10T23:22:57.426Z] + git tag --list [2023-05-10T23:22:57.426Z] v1.0.0 [2023-05-10T23:22:57.426Z] v1.1.0 [2023-05-10T23:22:57.426Z] v1.1.1 [2023-05-10T23:22:57.426Z] v1.2.1 [2023-05-10T23:22:57.426Z] v1.2.2 [2023-05-10T23:22:57.426Z] v1.2.3 [2023-05-10T23:22:57.426Z] v1.3.0 [2023-05-10T23:22:57.426Z] v1.3.1 [2023-05-10T23:22:57.426Z] v2.0.0 [2023-05-10T23:22:57.426Z] v2.1.0 [2023-05-10T23:22:57.426Z] v2.1.1 [2023-05-10T23:22:57.426Z] v2.1.1-dev.1 [2023-05-10T23:22:57.426Z] v2.1.1-dev.2 [2023-05-10T23:22:57.426Z] v2.2.0 [2023-05-10T23:22:57.426Z] v2.2.1-dev.1 [2023-05-10T23:22:57.426Z] v2.2.1-dev.2 [2023-05-10T23:22:57.426Z] v2.2.1-dev.3 [2023-05-10T23:22:57.426Z] v2.2.1-dev.4 [2023-05-10T23:22:57.426Z] v2.2.1-dev.5 [2023-05-10T23:22:57.426Z] v2.2.1-dev.6 [2023-05-10T23:22:57.426Z] v2.2.1-dev.7 [2023-05-10T23:22:57.426Z] v2.2.1-dev.8 [2023-05-10T23:22:57.426Z] v2.3.0 [2023-05-10T23:22:57.426Z] v2.3.0-dev.10 [2023-05-10T23:22:57.426Z] v2.3.0-dev.11 [2023-05-10T23:22:57.426Z] v2.3.0-dev.12 [2023-05-10T23:22:57.426Z] v2.3.0-dev.13 [2023-05-10T23:22:57.426Z] v2.3.0-dev.14 [2023-05-10T23:22:57.426Z] v2.3.0-dev.15 [2023-05-10T23:22:57.426Z] v2.3.0-dev.16 [2023-05-10T23:22:57.426Z] v2.3.0-dev.17 [2023-05-10T23:22:57.426Z] v2.3.0-dev.18 [2023-05-10T23:22:57.426Z] v2.3.0-dev.19 [2023-05-10T23:22:57.426Z] v2.3.0-dev.20 [2023-05-10T23:22:57.426Z] v2.3.0-dev.21 [2023-05-10T23:22:57.426Z] v2.3.0-dev.22 [2023-05-10T23:22:57.426Z] v2.3.0-dev.23 [2023-05-10T23:22:57.426Z] v2.3.0-dev.24 [2023-05-10T23:22:57.426Z] v2.3.0-dev.25 [2023-05-10T23:22:57.426Z] v2.3.0-dev.26 [2023-05-10T23:22:57.426Z] v2.3.0-dev.27 [2023-05-10T23:22:57.426Z] v2.3.0-dev.28 [2023-05-10T23:22:57.426Z] v2.3.0-dev.29 [2023-05-10T23:22:57.426Z] v2.3.0-dev.30 [2023-05-10T23:22:57.426Z] v2.3.0-dev.8 [2023-05-10T23:22:57.426Z] v2.3.0-dev.9 [2023-05-10T23:22:57.426Z] v3.0.0-dev.1 [2023-05-10T23:22:57.426Z] v3.0.0-dev.10 [2023-05-10T23:22:57.426Z] v3.0.0-dev.11 [2023-05-10T23:22:57.426Z] v3.0.0-dev.12 [2023-05-10T23:22:57.426Z] v3.0.0-dev.13 [2023-05-10T23:22:57.426Z] v3.0.0-dev.14 [2023-05-10T23:22:57.426Z] v3.0.0-dev.15 [2023-05-10T23:22:57.426Z] v3.0.0-dev.16 [2023-05-10T23:22:57.426Z] v3.0.0-dev.17 [2023-05-10T23:22:57.426Z] v3.0.0-dev.18 [2023-05-10T23:22:57.426Z] v3.0.0-dev.19 [2023-05-10T23:22:57.426Z] v3.0.0-dev.2 [2023-05-10T23:22:57.426Z] v3.0.0-dev.20 [2023-05-10T23:22:57.426Z] v3.0.0-dev.21 [2023-05-10T23:22:57.426Z] v3.0.0-dev.22 [2023-05-10T23:22:57.426Z] v3.0.0-dev.23 [2023-05-10T23:22:57.426Z] v3.0.0-dev.24 [2023-05-10T23:22:57.426Z] v3.0.0-dev.25 [2023-05-10T23:22:57.426Z] v3.0.0-dev.26 [2023-05-10T23:22:57.426Z] v3.0.0-dev.27 [2023-05-10T23:22:57.426Z] v3.0.0-dev.28 [2023-05-10T23:22:57.426Z] v3.0.0-dev.29 [2023-05-10T23:22:57.426Z] v3.0.0-dev.3 [2023-05-10T23:22:57.426Z] v3.0.0-dev.30 [2023-05-10T23:22:57.426Z] v3.0.0-dev.31 [2023-05-10T23:22:57.426Z] v3.0.0-dev.32 [2023-05-10T23:22:57.426Z] v3.0.0-dev.33 [2023-05-10T23:22:57.426Z] v3.0.0-dev.34 [2023-05-10T23:22:57.426Z] v3.0.0-dev.35 [2023-05-10T23:22:57.426Z] v3.0.0-dev.36 [2023-05-10T23:22:57.426Z] v3.0.0-dev.37 [2023-05-10T23:22:57.426Z] v3.0.0-dev.38 [2023-05-10T23:22:57.426Z] v3.0.0-dev.39 [2023-05-10T23:22:57.426Z] v3.0.0-dev.4 [2023-05-10T23:22:57.426Z] v3.0.0-dev.40 [2023-05-10T23:22:57.426Z] v3.0.0-dev.41 [2023-05-10T23:22:57.426Z] v3.0.0-dev.42 [2023-05-10T23:22:57.426Z] v3.0.0-dev.43 [2023-05-10T23:22:57.426Z] v3.0.0-dev.44 [2023-05-10T23:22:57.426Z] v3.0.0-dev.45 [2023-05-10T23:22:57.426Z] v3.0.0-dev.5 [2023-05-10T23:22:57.426Z] v3.0.0-dev.6 [2023-05-10T23:22:57.426Z] v3.0.0-dev.7 [2023-05-10T23:22:57.426Z] v3.0.0-dev.8 [2023-05-10T23:22:57.426Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-10T23:22:57.713Z] + lftools sign git-tag v3.0.0-dev.45 [2023-05-10T23:22:58.279Z] Signing Git tag with Sigul... [2023-05-10T23:22:58.280Z] Signing v3.0.0-dev.45 [Pipeline] echo [2023-05-10T23:22:58.547Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:22:58.831Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-10T23:22:58.838Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-10T23:22:58.876Z] $ docker stop --time=1 838137a12f378788c8087f8d7ca4e3ca38cc42f3003eb6b14e18b6aafa9ed0d2 [2023-05-10T23:23:00.176Z] $ docker rm -f --volumes 838137a12f378788c8087f8d7ca4e3ca38cc42f3003eb6b14e18b6aafa9ed0d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-10T23:23:00.567Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:23:00.567Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:00.866Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:23:00.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:00.940Z] prd-ubuntu20.04-docker-8c-8g-14997 does not seem to be running inside a container [2023-05-10T23:23:01.050Z] $ 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-05-10T23:23:01.761Z] $ docker top b8b35bdfe661a8442122c51ce85649e9003d52b5e74c63da4ebac43ceca65749 -eo pid,comm [2023-05-10T23:23:01.783Z] 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-05-10T23:23:01.783Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:23:01.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:23:01.823Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:23:01.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:23:01.945Z] $ docker exec b8b35bdfe661a8442122c51ce85649e9003d52b5e74c63da4ebac43ceca65749 ssh-agent [2023-05-10T23:23:02.076Z] SSH_AUTH_SOCK=/tmp/ssh-8KSxF0L0sukP/agent.18 [2023-05-10T23:23:02.076Z] SSH_AGENT_PID=27 [2023-05-10T23:23:02.085Z] Running ssh-add (command line suppressed) [2023-05-10T23:23:02.225Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17838134080560357851.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17838134080560357851.key) [2023-05-10T23:23:02.221Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:23:02.506Z] + git semver bump pre [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,713 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,713 [bump_version] DEBUG bumping version:3.0.0-dev.45 on axis:pre with prefix:dev [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,713 [bump_version] DEBUG bumped version:3.0.0-dev.46 [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,713 [write_version] DEBUG write version:3.0.0-dev.46 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,713 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,713 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,715 [execute] INFO git cat-file --batch-check [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,720 [execute] INFO git cat-file --batch [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T23:23:02.765Z] 2023-05-10 23:23:02,726 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T23:23:02.765Z] 3.0.0-dev.46 [Pipeline] } [2023-05-10T23:23:02.792Z] $ docker exec --env ******** --env ******** b8b35bdfe661a8442122c51ce85649e9003d52b5e74c63da4ebac43ceca65749 ssh-agent -k [2023-05-10T23:23:02.900Z] unset SSH_AUTH_SOCK; [2023-05-10T23:23:02.900Z] unset SSH_AGENT_PID; [2023-05-10T23:23:02.900Z] echo Agent pid 27 killed; [2023-05-10T23:23:02.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:23:03.201Z] + git semver [Pipeline] } [2023-05-10T23:23:03.492Z] $ docker stop --time=1 b8b35bdfe661a8442122c51ce85649e9003d52b5e74c63da4ebac43ceca65749 [2023-05-10T23:23:04.755Z] $ docker rm -f --volumes b8b35bdfe661a8442122c51ce85649e9003d52b5e74c63da4ebac43ceca65749 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:23:05.071Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:23:05.071Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:05.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:23:05.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:05.433Z] prd-ubuntu20.04-docker-8c-8g-14997 does not seem to be running inside a container [2023-05-10T23:23:05.482Z] $ 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-05-10T23:23:05.788Z] $ docker top 19e48b3a2ec1d94a36194d547b0168591a7f86cc8347b7c351cba24c9c2aed2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:23:05.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:23:05.859Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:23:05.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:23:05.982Z] $ docker exec 19e48b3a2ec1d94a36194d547b0168591a7f86cc8347b7c351cba24c9c2aed2c ssh-agent [2023-05-10T23:23:06.074Z] SSH_AUTH_SOCK=/tmp/ssh-zwftCpDHAlgU/agent.32 [2023-05-10T23:23:06.074Z] SSH_AGENT_PID=38 [2023-05-10T23:23:06.079Z] Running ssh-add (command line suppressed) [2023-05-10T23:23:06.204Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5604790565463258574.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5604790565463258574.key) [2023-05-10T23:23:06.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:23:06.488Z] + git semver push [2023-05-10T23:23:06.747Z] 2023-05-10 23:23:06,665 [run_push] DEBUG push [2023-05-10T23:23:06.747Z] 2023-05-10 23:23:06,666 [execute] INFO git cat-file --batch-check [2023-05-10T23:23:06.747Z] 2023-05-10 23:23:06,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T23:23:06.747Z] 2023-05-10 23:23:06,670 [execute] INFO git rev-list 2bcfd38cc66be6c58a78a4b116a5404fa64cc6d5 -- [2023-05-10T23:23:06.747Z] 2023-05-10 23:23:06,670 [execute] DEBUG Popen(['git', 'rev-list', '2bcfd38cc66be6c58a78a4b116a5404fa64cc6d5', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:23:06.747Z] 2023-05-10 23:23:06,678 [execute] INFO git fetch -v origin [2023-05-10T23:23:06.747Z] 2023-05-10 23:23:06,679 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-10T23:23:07.316Z] 2023-05-10 23:23:07,244 [run_push] DEBUG no remote changes detected [2023-05-10T23:23:07.316Z] 2023-05-10 23:23:07,245 [execute] INFO git push origin semver [2023-05-10T23:23:07.316Z] 2023-05-10 23:23:07,245 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:23:08.256Z] 2023-05-10 23:23:08,049 [run_push] DEBUG push all version tags [2023-05-10T23:23:08.256Z] 2023-05-10 23:23:08,050 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-10T23:23:08.256Z] 2023-05-10 23:23:08,050 [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-05-10T23:23:08.822Z] 2023-05-10 23:23:08,809 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T23:23:08.822Z] 3.0.0-dev.46 [Pipeline] } [2023-05-10T23:23:08.849Z] $ docker exec --env ******** --env ******** 19e48b3a2ec1d94a36194d547b0168591a7f86cc8347b7c351cba24c9c2aed2c ssh-agent -k [2023-05-10T23:23:08.941Z] unset SSH_AUTH_SOCK; [2023-05-10T23:23:08.941Z] unset SSH_AGENT_PID; [2023-05-10T23:23:08.941Z] echo Agent pid 38 killed; [2023-05-10T23:23:08.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:23:09.232Z] + git semver [Pipeline] } [2023-05-10T23:23:09.521Z] $ docker stop --time=1 19e48b3a2ec1d94a36194d547b0168591a7f86cc8347b7c351cba24c9c2aed2c [2023-05-10T23:23:11.055Z] $ docker rm -f --volumes 19e48b3a2ec1d94a36194d547b0168591a7f86cc8347b7c351cba24c9c2aed2c [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-05-10T23:23:11.585Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-05-10T23:23:11.585Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-05-10T23:23:11.585Z] total 16 [2023-05-10T23:23:11.585Z] drwxr-xr-x 3 root root 4096 May 10 23:00 . [2023-05-10T23:23:11.585Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 23:22 .. [2023-05-10T23:23:11.585Z] drwxr-xr-x 2 root root 4096 May 10 23:00 cost [2023-05-10T23:23:11.585Z] -rw-r--r-- 1 root root 89 May 10 23:00 cost.csv [2023-05-10T23:23:11.585Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-05-10T23:23:11.585Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-05-10T23:23:11.585Z] total 16 [2023-05-10T23:23:11.585Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:00 . [2023-05-10T23:23:11.585Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 23:22 .. [2023-05-10T23:23:11.585Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 23:00 cost [2023-05-10T23:23:11.585Z] -rw-r--r-- 1 jenkins jenkins 89 May 10 23:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:11.872Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:12.846Z] ---> package-listing.sh [2023-05-10T23:23:12.846Z] ++ facter osfamily [2023-05-10T23:23:12.846Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T23:23:12.846Z] + OS_FAMILY=debian [2023-05-10T23:23:12.846Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-05-10T23:23:12.846Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T23:23:12.846Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T23:23:12.846Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T23:23:12.846Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T23:23:12.846Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-05-10T23:23:12.846Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T23:23:12.846Z] + case "${OS_FAMILY}" in [2023-05-10T23:23:12.846Z] + dpkg -l [2023-05-10T23:23:12.846Z] + grep '^ii' [2023-05-10T23:23:13.124Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T23:23:13.124Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T23:23:13.124Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T23:23:13.124Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-05-10T23:23:13.124Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-05-10T23:23:13.124Z] + 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-05-10T23:23:13.155Z] 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-05-10T23:23:13.464Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:14.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:23:14.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:14.088Z] prd-ubuntu20.04-docker-8c-8g-14997 does not seem to be running inside a container [2023-05-10T23:23:14.138Z] $ 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-05-10T23:23:14.345Z] $ docker top d7977ccae37a569da503a17ed5efd697009677ec7945ff41f2549c5c51d899f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:23:14.675Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T23:23:14.961Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T23:23:15.245Z] + ls /var/log/sa-host [2023-05-10T23:23:15.246Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:23:15.321Z] provisioning config files... [2023-05-10T23:23:15.330Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8155631179564489616tmp [Pipeline] { [Pipeline] echo [2023-05-10T23:23:15.347Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:15.631Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T23:23:15.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:15.959Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T23:23:15.965Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:16.248Z] ---> sudo-logs.sh [2023-05-10T23:23:16.248Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T23:23:16.270Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:16.560Z] ---> job-cost.sh [2023-05-10T23:23:16.560Z] lf-activate-venv: SKIPPING [2023-05-10T23:23:16.560Z] DEBUG: total: 0.2199999988079071 [2023-05-10T23:23:16.560Z] INFO: Retrieving Stack Cost... [2023-05-10T23:23:16.824Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T23:23:17.391Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T23:23:17.403Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:17.687Z] ---> logs-deploy.sh [2023-05-10T23:23:17.687Z] lf-activate-venv: SKIPPING [2023-05-10T23:23:17.687Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/117 [2023-05-10T23:23:17.687Z] INFO: archiving workspace using pattern(s): [2023-05-10T23:23:18.623Z] Archives upload complete. [2023-05-10T23:23:18.624Z] INFO: archiving logs to Nexus