Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 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-ssh11977644036761510701.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6494016118736294799.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2234429494567616251.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh7805339720340162340.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-ssh10435075415119734649.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 Running on prd-ubuntu20.04-docker-8c-8g-445 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#354)" > git rev-list --no-walk 1705bfbb6261e298477ee3ade5426f3d03c5e783 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T12:20:42.096Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T12:20:42.153Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T12:20:42.165Z] ========================================================= [2023-03-15T12:20:42.165Z] EdgeX Global Pipelines Version Info [2023-03-15T12:20:42.165Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:20:42.883Z] ------------------- [2023-03-15T12:20:42.883Z] stable info: [2023-03-15T12:20:42.883Z] ------------------- [2023-03-15T12:20:42.883Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T12:20:42.883Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T12:20:42.883Z] Message: update stable to v1.0.245 [2023-03-15T12:20:43.457Z] ------------------- [2023-03-15T12:20:43.457Z] experimental info: [2023-03-15T12:20:43.457Z] ------------------- [2023-03-15T12:20:43.457Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T12:20:43.457Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T12:20:43.457Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T12:20:43.631Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-15T12:20:43.640Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-15T12:20:43.652Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T12:20:43.663Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T12:20:43.674Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T12:20:43.685Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T12:20:43.697Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T12:20:43.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T12:20:43.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T12:20:43.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T12:20:43.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T12:20:43.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-15T12:20:43.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T12:20:43.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T12:20:43.795Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T12:20:43.804Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T12:20:43.816Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T12:20:43.827Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T12:20:43.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T12:20:43.851Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T12:20:43.863Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T12:20:43.875Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T12:20:43.891Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T12:20:43.921Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T12:20:43.935Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T12:20:43.946Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T12:20:43.957Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T12:20:43.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T12:20:43.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T12:20:43.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T12:20:44.009Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [Pipeline] echo [2023-03-15T12:20:44.018Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96a5dbd [Pipeline] echo [2023-03-15T12:20:44.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T12:20:44.072Z] provisioning config files... [2023-03-15T12:20:44.087Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13912947954730933639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:20:44.384Z] ---> docker-login.sh [2023-03-15T12:20:44.384Z] nexus3.edgexfoundry.org:10001 [2023-03-15T12:20:44.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:20:44.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:20:44.904Z] Configure a credential helper to remove this warning. See [2023-03-15T12:20:44.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:20:44.904Z] [2023-03-15T12:20:44.904Z] Login Succeeded [2023-03-15T12:20:44.904Z] nexus3.edgexfoundry.org:10002 [2023-03-15T12:20:44.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:20:44.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:20:44.904Z] Configure a credential helper to remove this warning. See [2023-03-15T12:20:44.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:20:44.904Z] [2023-03-15T12:20:44.904Z] Login Succeeded [2023-03-15T12:20:44.904Z] nexus3.edgexfoundry.org:10003 [2023-03-15T12:20:44.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:20:44.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:20:44.904Z] Configure a credential helper to remove this warning. See [2023-03-15T12:20:44.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:20:44.904Z] [2023-03-15T12:20:44.904Z] Login Succeeded [2023-03-15T12:20:44.904Z] nexus3.edgexfoundry.org:10004 [2023-03-15T12:20:45.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:20:45.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:20:45.164Z] Configure a credential helper to remove this warning. See [2023-03-15T12:20:45.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:20:45.164Z] [2023-03-15T12:20:45.164Z] Login Succeeded [2023-03-15T12:20:45.164Z] docker.io [2023-03-15T12:20:45.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:20:45.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:20:45.423Z] Configure a credential helper to remove this warning. See [2023-03-15T12:20:45.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:20:45.423Z] [2023-03-15T12:20:45.423Z] Login Succeeded [2023-03-15T12:20:45.423Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T12:20:45.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T12:20:45.783Z] + git rev-list -1 --merges 96a5dbd4cf59e276ad3c0925590d8fa28104ff38~1..96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [Pipeline] echo [2023-03-15T12:20:45.829Z] -----------> git rev-list -1 --merges 96a5dbd4cf59e276ad3c0925590d8fa28104ff38~1..96a5dbd4cf59e276ad3c0925590d8fa28104ff38 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [false] [Pipeline] sh [2023-03-15T12:20:46.120Z] + git log --format=format:%s -1 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [Pipeline] echo [2023-03-15T12:20:46.140Z] ========================================================= [2023-03-15T12:20:46.140Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T12:20:46.140Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T12:20:46.472Z] + git log --format=format:%s -1 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [Pipeline] echo [2023-03-15T12:20:46.484Z] [semverPrep] GIT_COMMIT: 96a5dbd4cf59e276ad3c0925590d8fa28104ff38, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory (#354) [Pipeline] echo [2023-03-15T12:20:46.495Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T12:20:46.861Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T12:20:46.861Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T12:20:46.861Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T12:20:46.861Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T12:20:46.861Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T12:20:46.861Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T12:20:46.861Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:20:47.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T12:20:47.290Z] [2023-03-15T12:20:47.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:20:47.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T12:20:47.602Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T12:20:47.602Z] b85a868b505f: Pulling fs layer [2023-03-15T12:20:47.602Z] e2be974225ed: Pulling fs layer [2023-03-15T12:20:47.602Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T12:20:47.602Z] 988bab9f4d93: Pulling fs layer [2023-03-15T12:20:47.602Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T12:20:47.602Z] eaf3925da568: Pulling fs layer [2023-03-15T12:20:47.602Z] bab4dde63d76: Pulling fs layer [2023-03-15T12:20:47.603Z] bde34c3a00c8: Pulling fs layer [2023-03-15T12:20:47.603Z] b352a97aabf1: Pulling fs layer [2023-03-15T12:20:47.603Z] 4872d77fe225: Pulling fs layer [2023-03-15T12:20:47.603Z] 5851b861e8e6: Pulling fs layer [2023-03-15T12:20:47.603Z] 988bab9f4d93: Waiting [2023-03-15T12:20:47.603Z] bab4dde63d76: Waiting [2023-03-15T12:20:47.603Z] bde34c3a00c8: Waiting [2023-03-15T12:20:47.603Z] b352a97aabf1: Waiting [2023-03-15T12:20:47.603Z] 4872d77fe225: Waiting [2023-03-15T12:20:47.603Z] 1469e6f7b9e6: Waiting [2023-03-15T12:20:47.603Z] eaf3925da568: Waiting [2023-03-15T12:20:47.603Z] 5851b861e8e6: Waiting [2023-03-15T12:20:47.603Z] e2be974225ed: Verifying Checksum [2023-03-15T12:20:47.603Z] e2be974225ed: Download complete [2023-03-15T12:20:47.603Z] 988bab9f4d93: Download complete [2023-03-15T12:20:47.864Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T12:20:47.864Z] 1469e6f7b9e6: Download complete [2023-03-15T12:20:47.864Z] eaf3925da568: Verifying Checksum [2023-03-15T12:20:47.864Z] eaf3925da568: Download complete [2023-03-15T12:20:47.864Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T12:20:47.864Z] 339a4e72a1f5: Download complete [2023-03-15T12:20:47.864Z] bde34c3a00c8: Verifying Checksum [2023-03-15T12:20:47.864Z] bde34c3a00c8: Download complete [2023-03-15T12:20:47.864Z] b352a97aabf1: Verifying Checksum [2023-03-15T12:20:47.864Z] b352a97aabf1: Download complete [2023-03-15T12:20:47.864Z] 4872d77fe225: Verifying Checksum [2023-03-15T12:20:47.864Z] 4872d77fe225: Download complete [2023-03-15T12:20:47.864Z] b85a868b505f: Download complete [2023-03-15T12:20:47.864Z] 5851b861e8e6: Verifying Checksum [2023-03-15T12:20:47.864Z] 5851b861e8e6: Download complete [2023-03-15T12:20:48.431Z] bab4dde63d76: Verifying Checksum [2023-03-15T12:20:48.431Z] bab4dde63d76: Download complete [2023-03-15T12:20:49.004Z] b85a868b505f: Pull complete [2023-03-15T12:20:49.264Z] e2be974225ed: Pull complete [2023-03-15T12:20:49.833Z] 339a4e72a1f5: Pull complete [2023-03-15T12:20:49.833Z] 988bab9f4d93: Pull complete [2023-03-15T12:20:50.093Z] 1469e6f7b9e6: Pull complete [2023-03-15T12:20:50.093Z] eaf3925da568: Pull complete [2023-03-15T12:20:51.999Z] bab4dde63d76: Pull complete [2023-03-15T12:20:51.999Z] bde34c3a00c8: Pull complete [2023-03-15T12:20:51.999Z] b352a97aabf1: Pull complete [2023-03-15T12:20:51.999Z] 4872d77fe225: Pull complete [2023-03-15T12:20:51.999Z] 5851b861e8e6: Pull complete [2023-03-15T12:20:51.999Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T12:20:51.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T12:20:51.999Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:20:52.090Z] prd-ubuntu20.04-docker-8c-8g-445 does not seem to be running inside a container [2023-03-15T12:20:52.128Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T12:20:55.041Z] $ docker top 5f258fdba51b37ad96686ba784556f85493d5eb4176786aa7f2a5e6748946c9c -eo pid,comm [2023-03-15T12:20:55.087Z] 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-03-15T12:20:55.087Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T12:20:55.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T12:20:55.125Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T12:20:55.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T12:20:55.243Z] $ docker exec 5f258fdba51b37ad96686ba784556f85493d5eb4176786aa7f2a5e6748946c9c ssh-agent [2023-03-15T12:20:55.342Z] SSH_AUTH_SOCK=/tmp/ssh-PUs128gpB5Ri/agent.31 [2023-03-15T12:20:55.342Z] SSH_AGENT_PID=37 [2023-03-15T12:20:55.348Z] Running ssh-add (command line suppressed) [2023-03-15T12:20:55.457Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10539327368066655655.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10539327368066655655.key) [2023-03-15T12:20:55.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T12:20:55.755Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T12:20:55.771Z] $ docker exec --env ******** --env ******** 5f258fdba51b37ad96686ba784556f85493d5eb4176786aa7f2a5e6748946c9c ssh-agent -k [2023-03-15T12:20:55.866Z] unset SSH_AUTH_SOCK; [2023-03-15T12:20:55.867Z] unset SSH_AGENT_PID; [2023-03-15T12:20:55.867Z] echo Agent pid 37 killed; [2023-03-15T12:20:55.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T12:20:55.893Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T12:20:55.893Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T12:20:56.009Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T12:20:56.017Z] $ docker exec 5f258fdba51b37ad96686ba784556f85493d5eb4176786aa7f2a5e6748946c9c ssh-agent [2023-03-15T12:20:56.119Z] SSH_AUTH_SOCK=/tmp/ssh-cVOzPRS1nIxE/agent.69 [2023-03-15T12:20:56.119Z] SSH_AGENT_PID=75 [2023-03-15T12:20:56.124Z] Running ssh-add (command line suppressed) [2023-03-15T12:20:56.241Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8157807239185665145.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8157807239185665145.key) [2023-03-15T12:20:56.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T12:20:56.536Z] + git semver init [2023-03-15T12:20:56.795Z] 2023-03-15 12:20:56,713 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T12:20:56.795Z] 2023-03-15 12:20:56,714 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-03-15T12:20:56.795Z] 2023-03-15 12:20:56,714 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-03-15T12:20:56.795Z] 2023-03-15 12:20:56,714 [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-03-15T12:20:58.178Z] 2023-03-15 12:20:57,892 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-03-15T12:20:58.178Z] 2023-03-15 12:20:57,892 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-03-15T12:20:58.178Z] 2023-03-15 12:20:57,893 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T12:20:58.178Z] 2023-03-15 12:20:57,893 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T12:20:58.178Z] 3.0.0-dev.22 [Pipeline] } [2023-03-15T12:20:58.192Z] $ docker exec --env ******** --env ******** 5f258fdba51b37ad96686ba784556f85493d5eb4176786aa7f2a5e6748946c9c ssh-agent -k [2023-03-15T12:20:58.280Z] unset SSH_AUTH_SOCK; [2023-03-15T12:20:58.281Z] unset SSH_AGENT_PID; [2023-03-15T12:20:58.281Z] echo Agent pid 75 killed; [2023-03-15T12:20:58.285Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T12:20:58.585Z] + git semver [Pipeline] } [2023-03-15T12:20:58.861Z] $ docker stop --time=1 5f258fdba51b37ad96686ba784556f85493d5eb4176786aa7f2a5e6748946c9c [2023-03-15T12:21:00.159Z] $ docker rm -f --volumes 5f258fdba51b37ad96686ba784556f85493d5eb4176786aa7f2a5e6748946c9c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T12:21:00.490Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T12:21:00.696Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T12:21:00.699Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [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-03-15T12:21:00.833Z] provisioning config files... [2023-03-15T12:21:00.845Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config986361114254364859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:21:01.139Z] ---> docker-login.sh [2023-03-15T12:21:01.139Z] nexus3.edgexfoundry.org:10001 [2023-03-15T12:21:01.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:21:01.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:21:01.139Z] Configure a credential helper to remove this warning. See [2023-03-15T12:21:01.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:21:01.139Z] [2023-03-15T12:21:01.139Z] Login Succeeded [2023-03-15T12:21:01.139Z] nexus3.edgexfoundry.org:10002 [2023-03-15T12:21:01.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:21:01.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:21:01.140Z] Configure a credential helper to remove this warning. See [2023-03-15T12:21:01.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:21:01.140Z] [2023-03-15T12:21:01.140Z] Login Succeeded [2023-03-15T12:21:01.140Z] nexus3.edgexfoundry.org:10003 [2023-03-15T12:21:01.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:21:01.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:21:01.398Z] Configure a credential helper to remove this warning. See [2023-03-15T12:21:01.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:21:01.398Z] [2023-03-15T12:21:01.398Z] Login Succeeded [2023-03-15T12:21:01.398Z] nexus3.edgexfoundry.org:10004 [2023-03-15T12:21:01.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:21:01.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:21:01.398Z] Configure a credential helper to remove this warning. See [2023-03-15T12:21:01.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:21:01.398Z] [2023-03-15T12:21:01.398Z] Login Succeeded [2023-03-15T12:21:01.398Z] docker.io [2023-03-15T12:21:01.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:21:01.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:21:01.657Z] Configure a credential helper to remove this warning. See [2023-03-15T12:21:01.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:21:01.657Z] [2023-03-15T12:21:01.657Z] Login Succeeded [2023-03-15T12:21:01.657Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T12:21:01.664Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T12:21:01.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T12:21:01.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T12:21:01.741Z] ========================================================= [2023-03-15T12:21:01.741Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T12:21:01.741Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:21:02.051Z] + 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-03-15T12:21:02.051Z] Sending build context to Docker daemon 23.44MB [2023-03-15T12:21:02.051Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T12:21:02.051Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T12:21:02.051Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T12:21:02.051Z] 63b65145d645: Pulling fs layer [2023-03-15T12:21:02.051Z] a2d21d5440eb: Pulling fs layer [2023-03-15T12:21:02.051Z] 935e6c44a52c: Pulling fs layer [2023-03-15T12:21:02.051Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T12:21:02.051Z] 30dea6a524f1: Pulling fs layer [2023-03-15T12:21:02.051Z] a2aff8979fd8: Pulling fs layer [2023-03-15T12:21:02.051Z] 6808be2612f2: Pulling fs layer [2023-03-15T12:21:02.051Z] f25807f1079a: Pulling fs layer [2023-03-15T12:21:02.051Z] 94cc34f8dd06: Waiting [2023-03-15T12:21:02.051Z] 30dea6a524f1: Waiting [2023-03-15T12:21:02.051Z] a2aff8979fd8: Waiting [2023-03-15T12:21:02.051Z] 6808be2612f2: Waiting [2023-03-15T12:21:02.051Z] f25807f1079a: Waiting [2023-03-15T12:21:02.315Z] a2d21d5440eb: Download complete [2023-03-15T12:21:02.315Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T12:21:02.315Z] 94cc34f8dd06: Download complete [2023-03-15T12:21:02.315Z] 30dea6a524f1: Verifying Checksum [2023-03-15T12:21:02.315Z] 30dea6a524f1: Download complete [2023-03-15T12:21:02.315Z] 63b65145d645: Verifying Checksum [2023-03-15T12:21:02.315Z] 63b65145d645: Download complete [2023-03-15T12:21:02.315Z] a2aff8979fd8: Verifying Checksum [2023-03-15T12:21:02.315Z] a2aff8979fd8: Download complete [2023-03-15T12:21:02.577Z] 63b65145d645: Pull complete [2023-03-15T12:21:02.577Z] a2d21d5440eb: Pull complete [2023-03-15T12:21:02.839Z] f25807f1079a: Verifying Checksum [2023-03-15T12:21:02.839Z] f25807f1079a: Download complete [2023-03-15T12:21:02.839Z] 935e6c44a52c: Verifying Checksum [2023-03-15T12:21:02.839Z] 935e6c44a52c: Download complete [2023-03-15T12:21:03.098Z] 6808be2612f2: Verifying Checksum [2023-03-15T12:21:03.098Z] 6808be2612f2: Download complete [2023-03-15T12:21:06.383Z] 935e6c44a52c: Pull complete [2023-03-15T12:21:06.383Z] 94cc34f8dd06: Pull complete [2023-03-15T12:21:06.383Z] 30dea6a524f1: Pull complete [2023-03-15T12:21:06.383Z] a2aff8979fd8: Pull complete [2023-03-15T12:21:08.283Z] 6808be2612f2: Pull complete [2023-03-15T12:21:09.218Z] f25807f1079a: Pull complete [2023-03-15T12:21:09.218Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T12:21:09.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T12:21:09.218Z] ---> 3b553350e43f [2023-03-15T12:21:09.218Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T12:21:13.410Z] ---> Running in f48942c06549 [2023-03-15T12:21:13.410Z] Removing intermediate container f48942c06549 [2023-03-15T12:21:13.410Z] ---> 667492cd2409 [2023-03-15T12:21:13.410Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T12:21:13.410Z] ---> Running in 8c0d1ae18c44 [2023-03-15T12:21:13.410Z] Removing intermediate container 8c0d1ae18c44 [2023-03-15T12:21:13.410Z] ---> 149de495600b [2023-03-15T12:21:13.410Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T12:21:13.410Z] ---> Running in 0390dfe274b3 [2023-03-15T12:21:13.670Z] Removing intermediate container 0390dfe274b3 [2023-03-15T12:21:13.670Z] ---> 5d123906fa14 [2023-03-15T12:21:13.670Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-15T12:21:13.670Z] ---> Running in cb2690efc4d8 [2023-03-15T12:21:13.670Z] Removing intermediate container cb2690efc4d8 [2023-03-15T12:21:13.670Z] ---> a941caf51b66 [2023-03-15T12:21:13.670Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T12:21:13.670Z] ---> Running in 9aa6e046ca09 [2023-03-15T12:21:13.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T12:21:14.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T12:21:14.191Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T12:21:14.191Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T12:21:14.191Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T12:21:14.451Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T12:21:14.451Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T12:21:14.451Z] OK: 269 MiB in 57 packages [2023-03-15T12:21:14.710Z] Removing intermediate container 9aa6e046ca09 [2023-03-15T12:21:14.710Z] ---> c15a19d658f7 [2023-03-15T12:21:14.710Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-15T12:21:14.970Z] ---> 5a346eae95be [2023-03-15T12:21:14.970Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T12:21:14.970Z] ---> Running in 346c5cc9c512 [2023-03-15T12:21:15.788Z] Still waiting to schedule task [2023-03-15T12:21:15.788Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-15T12:21:41.521Z] Removing intermediate container 346c5cc9c512 [2023-03-15T12:21:41.521Z] ---> 354888a030dd [2023-03-15T12:21:41.521Z] Step 10/12 : COPY . . [2023-03-15T12:21:41.780Z] ---> 0232355f2fb3 [2023-03-15T12:21:41.780Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T12:21:41.780Z] ---> Running in 7810f891ff12 [2023-03-15T12:21:41.780Z] Removing intermediate container 7810f891ff12 [2023-03-15T12:21:41.780Z] ---> 7c2bd7d2c5c1 [2023-03-15T12:21:41.780Z] Step 12/12 : RUN $MAKE [2023-03-15T12:21:41.780Z] ---> Running in b906391807e4 [2023-03-15T12:21:42.039Z] noop [2023-03-15T12:21:42.298Z] Removing intermediate container b906391807e4 [2023-03-15T12:21:42.298Z] ---> be7fd62aa92e [2023-03-15T12:21:42.298Z] Successfully built be7fd62aa92e [2023-03-15T12:21:42.298Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:21:42.605Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T12:21:42.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:21:42.669Z] prd-ubuntu20.04-docker-8c-8g-445 does not seem to be running inside a container [2023-03-15T12:21:42.707Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-15T12:21:43.010Z] $ docker top f7e39dfcad65ad8b8ac12fa04a03cd7c2bbc4c65b76889b462edd11550f05e21 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T12:21:43.346Z] + go version [2023-03-15T12:21:43.346Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T12:21:43.361Z] $ docker stop --time=1 f7e39dfcad65ad8b8ac12fa04a03cd7c2bbc4c65b76889b462edd11550f05e21 [2023-03-15T12:21:44.608Z] $ docker rm -f --volumes f7e39dfcad65ad8b8ac12fa04a03cd7c2bbc4c65b76889b462edd11550f05e21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:21:44.999Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T12:21:45.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:21:45.067Z] prd-ubuntu20.04-docker-8c-8g-445 does not seem to be running inside a container [2023-03-15T12:21:45.105Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-15T12:21:45.426Z] $ docker top 169092afeac98ee65b4a15c40f4c77262a5d6c0be7909b325fd37645b3126318 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T12:21:45.765Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T12:21:46.060Z] + make test [2023-03-15T12:21:46.061Z] go test ./... -coverprofile=coverage.out [2023-03-15T12:21:51.328Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-15T12:21:59.434Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-15T12:21:59.434Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2023-03-15T12:22:04.695Z] go vet ./... [2023-03-15T12:22:07.971Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T12:22:07.971Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T12:22:07.971Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T12:22:07.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T12:22:08.002Z] $ docker stop --time=1 169092afeac98ee65b4a15c40f4c77262a5d6c0be7909b325fd37645b3126318 [2023-03-15T12:22:12.029Z] $ docker rm -f --volumes 169092afeac98ee65b4a15c40f4c77262a5d6c0be7909b325fd37645b3126318 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T12:22:12.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T12:22:12.574Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T12:22:13.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T12:22:13.332Z] + ls -al . [2023-03-15T12:22:13.332Z] total 192 [2023-03-15T12:22:13.332Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 12:21 . [2023-03-15T12:22:13.332Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 12:20 .. [2023-03-15T12:22:13.332Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 12:20 .git [2023-03-15T12:22:13.332Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 12:20 .github [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 12:20 .gitignore [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 12:20 .golangci.yml [2023-03-15T12:22:13.332Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 12:20 .semver [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 12:20 Attribution.txt [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 12:20 CHANGELOG.md [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 12:20 Dockerfile [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 12:20 GOVERNANCE.md [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 12:20 Jenkinsfile [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 12:20 LICENSE [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 12:20 Makefile [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 12:20 OWNERS.md [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 12:20 README.md [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 12:21 VERSION [2023-03-15T12:22:13.332Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 12:20 bin [2023-03-15T12:22:13.332Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 12:20 cmd [2023-03-15T12:22:13.332Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 12:21 coverage.out [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 12:20 go.mod [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 12:20 go.sum [2023-03-15T12:22:13.332Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 12:20 internal [2023-03-15T12:22:13.332Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 12:20 snap [2023-03-15T12:22:13.332Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 12:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:13.667Z] + 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=96a5dbd4cf59e276ad3c0925590d8fa28104ff38 --label arch=amd64 --label version=3.0.0-dev.22 . [2023-03-15T12:22:13.668Z] Sending build context to Docker daemon 23.48MB [2023-03-15T12:22:13.668Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T12:22:13.668Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T12:22:13.668Z] ---> be7fd62aa92e [2023-03-15T12:22:13.668Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T12:22:14.236Z] ---> Running in 745739518bc8 [2023-03-15T12:22:14.236Z] Removing intermediate container 745739518bc8 [2023-03-15T12:22:14.236Z] ---> 37b3d4878ff1 [2023-03-15T12:22:14.236Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T12:22:14.236Z] ---> Running in 945e8c4cd2ac [2023-03-15T12:22:14.236Z] Removing intermediate container 945e8c4cd2ac [2023-03-15T12:22:14.236Z] ---> de2b98941faa [2023-03-15T12:22:14.236Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T12:22:14.236Z] ---> Running in 972e06a89b91 [2023-03-15T12:22:14.495Z] Removing intermediate container 972e06a89b91 [2023-03-15T12:22:14.495Z] ---> d582e6c4299a [2023-03-15T12:22:14.495Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-15T12:22:14.495Z] ---> Running in 46e537708fda [2023-03-15T12:22:14.495Z] Removing intermediate container 46e537708fda [2023-03-15T12:22:14.495Z] ---> 49cad9e5e853 [2023-03-15T12:22:14.495Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T12:22:14.495Z] ---> Running in a57f7b40bef1 [2023-03-15T12:22:14.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T12:22:15.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T12:22:15.268Z] OK: 269 MiB in 57 packages [2023-03-15T12:22:15.527Z] Removing intermediate container a57f7b40bef1 [2023-03-15T12:22:15.527Z] ---> 89a670ffe033 [2023-03-15T12:22:15.527Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-15T12:22:15.527Z] ---> 9a6b303e7a82 [2023-03-15T12:22:15.527Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T12:22:15.527Z] ---> Running in b54d9dc31b5f [2023-03-15T12:22:16.460Z] Removing intermediate container b54d9dc31b5f [2023-03-15T12:22:16.460Z] ---> 554f02bd6f82 [2023-03-15T12:22:16.460Z] Step 10/25 : COPY . . [2023-03-15T12:22:17.049Z] ---> 9c73f48c9649 [2023-03-15T12:22:17.049Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T12:22:17.049Z] ---> Running in 2f142151f022 [2023-03-15T12:22:17.308Z] Removing intermediate container 2f142151f022 [2023-03-15T12:22:17.308Z] ---> a161e891bfde [2023-03-15T12:22:17.308Z] Step 12/25 : RUN $MAKE [2023-03-15T12:22:17.308Z] ---> Running in 1620cff7114f [2023-03-15T12:22:17.568Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-15T12:22:35.694Z] Removing intermediate container 1620cff7114f [2023-03-15T12:22:35.694Z] ---> bf7f52cb6483 [2023-03-15T12:22:35.694Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T12:22:35.694Z] 3.17: Pulling from library/alpine [2023-03-15T12:22:35.974Z] 63b65145d645: Already exists [2023-03-15T12:22:35.974Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T12:22:35.974Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T12:22:35.974Z] ---> b2aa39c304c2 [2023-03-15T12:22:35.974Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-15T12:22:35.974Z] ---> Running in b239fe616739 [2023-03-15T12:22:35.974Z] Removing intermediate container b239fe616739 [2023-03-15T12:22:35.974Z] ---> 630888d71109 [2023-03-15T12:22:35.974Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T12:22:35.974Z] ---> Running in 743dc7b6b54f [2023-03-15T12:22:36.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T12:22:36.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T12:22:36.791Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T12:22:36.791Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T12:22:36.791Z] OK: 7 MiB in 16 packages [2023-03-15T12:22:37.082Z] Removing intermediate container 743dc7b6b54f [2023-03-15T12:22:37.082Z] ---> ce8f64edf0cd [2023-03-15T12:22:37.082Z] Step 16/25 : WORKDIR / [2023-03-15T12:22:37.082Z] ---> Running in 0ca2d9a36cc1 [2023-03-15T12:22:37.341Z] Removing intermediate container 0ca2d9a36cc1 [2023-03-15T12:22:37.341Z] ---> c1ab7182ae8c [2023-03-15T12:22:37.341Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-15T12:22:37.341Z] ---> 97e937fbdea6 [2023-03-15T12:22:37.341Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-15T12:22:37.602Z] ---> dd6ce40788fd [2023-03-15T12:22:37.602Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-15T12:22:38.277Z] ---> 592d42473b34 [2023-03-15T12:22:38.277Z] Step 20/25 : EXPOSE 59900 [2023-03-15T12:22:38.277Z] ---> Running in b505b1ce3a90 [2023-03-15T12:22:38.535Z] Removing intermediate container b505b1ce3a90 [2023-03-15T12:22:38.535Z] ---> 517b7adf3413 [2023-03-15T12:22:38.535Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-15T12:22:38.535Z] ---> Running in bc1e921b2d60 [2023-03-15T12:22:38.535Z] Removing intermediate container bc1e921b2d60 [2023-03-15T12:22:38.535Z] ---> 819f32ee6e9d [2023-03-15T12:22:38.535Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T12:22:38.535Z] ---> Running in 379da8c872fc [2023-03-15T12:22:38.535Z] Removing intermediate container 379da8c872fc [2023-03-15T12:22:38.535Z] ---> 0e19ec4a15b9 [2023-03-15T12:22:38.535Z] Step 23/25 : LABEL arch=amd64 [2023-03-15T12:22:38.535Z] ---> Running in 86f9e7929bb4 [2023-03-15T12:22:38.794Z] Removing intermediate container 86f9e7929bb4 [2023-03-15T12:22:38.794Z] ---> 9d822ada4583 [2023-03-15T12:22:38.794Z] Step 24/25 : LABEL git_sha=96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [2023-03-15T12:22:38.794Z] ---> Running in ec7e6898bb0a [2023-03-15T12:22:38.794Z] Removing intermediate container ec7e6898bb0a [2023-03-15T12:22:38.794Z] ---> 3fb31ef8accd [2023-03-15T12:22:38.794Z] Step 25/25 : LABEL version=3.0.0-dev.22 [2023-03-15T12:22:38.794Z] ---> Running in 09c73e80080f [2023-03-15T12:22:38.794Z] Removing intermediate container 09c73e80080f [2023-03-15T12:22:38.794Z] ---> 252d0bfec2b6 [2023-03-15T12:22:38.794Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T12:22:38.794Z] Successfully built 252d0bfec2b6 [2023-03-15T12:22:38.794Z] 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-03-15T12:22:38.876Z] provisioning config files... [2023-03-15T12:22:38.885Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3889591206958342742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:22:39.181Z] ---> docker-login.sh [2023-03-15T12:22:39.181Z] nexus3.edgexfoundry.org:10001 [2023-03-15T12:22:39.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:22:39.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:22:39.181Z] Configure a credential helper to remove this warning. See [2023-03-15T12:22:39.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:22:39.181Z] [2023-03-15T12:22:39.181Z] Login Succeeded [2023-03-15T12:22:39.181Z] nexus3.edgexfoundry.org:10002 [2023-03-15T12:22:39.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:22:39.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:22:39.181Z] Configure a credential helper to remove this warning. See [2023-03-15T12:22:39.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:22:39.181Z] [2023-03-15T12:22:39.181Z] Login Succeeded [2023-03-15T12:22:39.181Z] nexus3.edgexfoundry.org:10003 [2023-03-15T12:22:39.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:22:39.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:22:39.439Z] Configure a credential helper to remove this warning. See [2023-03-15T12:22:39.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:22:39.439Z] [2023-03-15T12:22:39.439Z] Login Succeeded [2023-03-15T12:22:39.439Z] nexus3.edgexfoundry.org:10004 [2023-03-15T12:22:39.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:22:39.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:22:39.439Z] Configure a credential helper to remove this warning. See [2023-03-15T12:22:39.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:22:39.439Z] [2023-03-15T12:22:39.439Z] Login Succeeded [2023-03-15T12:22:39.439Z] docker.io [2023-03-15T12:22:39.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:22:39.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:22:39.699Z] Configure a credential helper to remove this warning. See [2023-03-15T12:22:39.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:22:39.699Z] [2023-03-15T12:22:39.699Z] Login Succeeded [2023-03-15T12:22:39.699Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T12:22:39.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T12:22:39.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T12:22:39.762Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-03-15T12:22:39.762Z] 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [2023-03-15T12:22:39.762Z] latest [2023-03-15T12:22:39.762Z] 3.0.0-dev.22 [2023-03-15T12:22:39.762Z] 96a5dbd4cf59e276ad3c0925590d8fa28104ff38-3.0.0-dev.22 [2023-03-15T12:22:39.762Z] main [2023-03-15T12:22:39.762Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:40.091Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:40.408Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [2023-03-15T12:22:40.408Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T12:22:40.408Z] 025bb7f4c569: Preparing [2023-03-15T12:22:40.408Z] fe314f07f747: Preparing [2023-03-15T12:22:40.408Z] a1a22fb940ba: Preparing [2023-03-15T12:22:40.408Z] 17412ca1b259: Preparing [2023-03-15T12:22:40.408Z] 7cd52847ad77: Preparing [2023-03-15T12:22:40.408Z] 7cd52847ad77: Layer already exists [2023-03-15T12:22:40.408Z] fe314f07f747: Pushed [2023-03-15T12:22:40.408Z] a1a22fb940ba: Pushed [2023-03-15T12:22:40.408Z] 17412ca1b259: Pushed [2023-03-15T12:22:42.946Z] 025bb7f4c569: Pushed [2023-03-15T12:22:42.946Z] 96a5dbd4cf59e276ad3c0925590d8fa28104ff38: digest: sha256:41745f70f97dc3883c755b697c46ce82aaaae3178cdfbf22cd3fbe1c8d6e7354 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:43.263Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:43.574Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-03-15T12:22:43.574Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T12:22:43.574Z] 025bb7f4c569: Preparing [2023-03-15T12:22:43.574Z] fe314f07f747: Preparing [2023-03-15T12:22:43.574Z] a1a22fb940ba: Preparing [2023-03-15T12:22:43.574Z] 17412ca1b259: Preparing [2023-03-15T12:22:43.574Z] 7cd52847ad77: Preparing [2023-03-15T12:22:43.574Z] a1a22fb940ba: Layer already exists [2023-03-15T12:22:43.574Z] 7cd52847ad77: Layer already exists [2023-03-15T12:22:43.574Z] 025bb7f4c569: Layer already exists [2023-03-15T12:22:43.574Z] 17412ca1b259: Layer already exists [2023-03-15T12:22:43.574Z] fe314f07f747: Layer already exists [2023-03-15T12:22:43.574Z] latest: digest: sha256:41745f70f97dc3883c755b697c46ce82aaaae3178cdfbf22cd3fbe1c8d6e7354 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:43.887Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:44.204Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.22 [2023-03-15T12:22:44.205Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T12:22:44.205Z] 025bb7f4c569: Preparing [2023-03-15T12:22:44.205Z] fe314f07f747: Preparing [2023-03-15T12:22:44.205Z] a1a22fb940ba: Preparing [2023-03-15T12:22:44.205Z] 17412ca1b259: Preparing [2023-03-15T12:22:44.205Z] 7cd52847ad77: Preparing [2023-03-15T12:22:44.205Z] a1a22fb940ba: Layer already exists [2023-03-15T12:22:44.205Z] fe314f07f747: Layer already exists [2023-03-15T12:22:44.205Z] 025bb7f4c569: Layer already exists [2023-03-15T12:22:44.205Z] 17412ca1b259: Layer already exists [2023-03-15T12:22:44.205Z] 7cd52847ad77: Layer already exists [2023-03-15T12:22:44.205Z] 3.0.0-dev.22: digest: sha256:41745f70f97dc3883c755b697c46ce82aaaae3178cdfbf22cd3fbe1c8d6e7354 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:44.521Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:96a5dbd4cf59e276ad3c0925590d8fa28104ff38-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:44.821Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:96a5dbd4cf59e276ad3c0925590d8fa28104ff38-3.0.0-dev.22 [2023-03-15T12:22:44.822Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T12:22:44.822Z] 025bb7f4c569: Preparing [2023-03-15T12:22:44.822Z] fe314f07f747: Preparing [2023-03-15T12:22:44.822Z] a1a22fb940ba: Preparing [2023-03-15T12:22:44.822Z] 17412ca1b259: Preparing [2023-03-15T12:22:44.822Z] 7cd52847ad77: Preparing [2023-03-15T12:22:44.822Z] fe314f07f747: Layer already exists [2023-03-15T12:22:44.822Z] 025bb7f4c569: Layer already exists [2023-03-15T12:22:44.822Z] 17412ca1b259: Layer already exists [2023-03-15T12:22:44.822Z] 7cd52847ad77: Layer already exists [2023-03-15T12:22:44.822Z] a1a22fb940ba: Layer already exists [2023-03-15T12:22:44.822Z] 96a5dbd4cf59e276ad3c0925590d8fa28104ff38-3.0.0-dev.22: digest: sha256:41745f70f97dc3883c755b697c46ce82aaaae3178cdfbf22cd3fbe1c8d6e7354 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:44.895Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-446 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-03-15T12:22:44.906Z] Running in /w/workspace/device-virtual-go/94 [Pipeline] { [Pipeline] checkout [2023-03-15T12:22:44.963Z] The recommended git tool is: git [2023-03-15T12:22:45.138Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:45.449Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-03-15T12:22:45.449Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T12:22:45.449Z] 025bb7f4c569: Preparing [2023-03-15T12:22:45.449Z] fe314f07f747: Preparing [2023-03-15T12:22:45.449Z] a1a22fb940ba: Preparing [2023-03-15T12:22:45.449Z] 17412ca1b259: Preparing [2023-03-15T12:22:45.449Z] 7cd52847ad77: Preparing [2023-03-15T12:22:45.449Z] a1a22fb940ba: Layer already exists [2023-03-15T12:22:45.449Z] fe314f07f747: Layer already exists [2023-03-15T12:22:45.449Z] 025bb7f4c569: Layer already exists [2023-03-15T12:22:45.449Z] 7cd52847ad77: Layer already exists [2023-03-15T12:22:45.449Z] 17412ca1b259: Layer already exists [2023-03-15T12:22:45.449Z] main: digest: sha256:41745f70f97dc3883c755b697c46ce82aaaae3178cdfbf22cd3fbe1c8d6e7354 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T12:22:45.492Z] ===================================================== [Pipeline] echo [2023-03-15T12:22:45.500Z] taggedImages: [2023-03-15T12:22:45.500Z] - nexus3.edgexfoundry.org:10004/device-virtual:96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [2023-03-15T12:22:45.500Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-03-15T12:22:45.500Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.22 [2023-03-15T12:22:45.500Z] - nexus3.edgexfoundry.org:10004/device-virtual:96a5dbd4cf59e276ad3c0925590d8fa28104ff38-3.0.0-dev.22 [2023-03-15T12:22:45.500Z] - 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-03-15T12:22:45.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T12:22:45.869Z] [2023-03-15T12:22:45.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:22:46.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T12:22:46.175Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T12:22:46.175Z] 5eb5b503b376: Pulling fs layer [2023-03-15T12:22:46.175Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T12:22:46.175Z] ec43610c2a17: Pulling fs layer [2023-03-15T12:22:46.175Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T12:22:46.175Z] 33b1e0a273af: Pulling fs layer [2023-03-15T12:22:46.175Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T12:22:46.175Z] 2f39f015ded8: Pulling fs layer [2023-03-15T12:22:46.175Z] 33b1e0a273af: Waiting [2023-03-15T12:22:46.175Z] 5d3b04190fa2: Waiting [2023-03-15T12:22:46.175Z] 2f39f015ded8: Waiting [2023-03-15T12:22:46.175Z] 3a2ae6a8a46f: Waiting [2023-03-15T12:22:46.175Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T12:22:46.175Z] 5c69ac0246d0: Download complete [2023-03-15T12:22:46.175Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T12:22:46.175Z] 3a2ae6a8a46f: Download complete [2023-03-15T12:22:46.434Z] 33b1e0a273af: Verifying Checksum [2023-03-15T12:22:46.434Z] 33b1e0a273af: Download complete [2023-03-15T12:22:46.434Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T12:22:46.434Z] 5d3b04190fa2: Download complete [2023-03-15T12:22:46.434Z] ec43610c2a17: Verifying Checksum [2023-03-15T12:22:46.434Z] ec43610c2a17: Download complete [2023-03-15T12:22:46.434Z] 5eb5b503b376: Verifying Checksum [2023-03-15T12:22:46.434Z] 5eb5b503b376: Download complete [2023-03-15T12:22:47.001Z] 2f39f015ded8: Download complete [2023-03-15T12:22:47.936Z] 5eb5b503b376: Pull complete [2023-03-15T12:22:47.936Z] 5c69ac0246d0: Pull complete [2023-03-15T12:22:48.503Z] ec43610c2a17: Pull complete [2023-03-15T12:22:48.503Z] 3a2ae6a8a46f: Pull complete [2023-03-15T12:22:48.503Z] 33b1e0a273af: Pull complete [2023-03-15T12:22:48.760Z] 5d3b04190fa2: Pull complete [2023-03-15T12:22:52.169Z] using credential edgex-jenkins-ssh [2023-03-15T12:22:52.185Z] Cloning the remote Git repository [2023-03-15T12:22:52.945Z] 2f39f015ded8: Pull complete [2023-03-15T12:22:52.945Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T12:22:52.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T12:22:52.945Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:22:52.233Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-15T12:22:52.324Z] > git init /w/workspace/device-virtual-go/94 # timeout=10 [2023-03-15T12:22:52.464Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-15T12:22:52.465Z] > git --version # timeout=10 [2023-03-15T12:22:52.487Z] > git --version # 'git version 2.25.1' [2023-03-15T12:22:52.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T12:22:52.650Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T12:22:53.035Z] prd-ubuntu20.04-docker-8c-8g-445 does not seem to be running inside a container [2023-03-15T12:22:53.072Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T12:22:55.600Z] Avoid second fetch [2023-03-15T12:22:55.600Z] Checking out Revision 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 (main) [2023-03-15T12:22:54.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-15T12:22:54.743Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T12:22:55.618Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T12:22:55.688Z] > git checkout -f 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 # timeout=10 [2023-03-15T12:22:56.127Z] Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#354)" [2023-03-15T12:22:56.534Z] [2023-03-15T12:22:56.534Z] GitHub has been notified of this commit’s build result [2023-03-15T12:22:56.534Z] [2023-03-15T12:22:57.201Z] $ docker top 6db569512b86896b6d511541f720dc13d341fd0862a54a794bc39038faab5f99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T12:22:57.602Z] ---> job-cost.sh [2023-03-15T12:22:57.602Z] lf-activate-venv: SKIPPING [2023-03-15T12:22:57.602Z] INFO: No Stack... [2023-03-15T12:22:57.862Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T12:22:57.878Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T12:22:57.878Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T12:22:57.878Z] Dload Upload Total Spent Left Speed [2023-03-15T12:22:57.878Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83888 [2023-03-15T12:22:58.121Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2023-03-15T12:22:58.414Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-03-15T12:22:58.414Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T12:22:58.427Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-94-stack-cost] [2023-03-15T12:22:58.437Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-94-stack-cost] did not exist. Created. [2023-03-15T12:22:58.437Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T12:22:58.492Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T12:22:58.744Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T12:22:58.773Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T12:22:58.780Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T12:22:58.805Z] $ docker stop --time=1 6db569512b86896b6d511541f720dc13d341fd0862a54a794bc39038faab5f99 [2023-03-15T12:22:58.814Z] + sudo tee /etc/docker/daemon.new [2023-03-15T12:22:58.814Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T12:22:58.814Z] { [2023-03-15T12:22:58.814Z] "registry-mirrors": [ [2023-03-15T12:22:58.814Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T12:22:58.815Z] ], [2023-03-15T12:22:58.815Z] "bip": "10.250.0.254/24", [2023-03-15T12:22:58.815Z] "hosts": [ [2023-03-15T12:22:58.815Z] "tcp://0.0.0.0:5555", [2023-03-15T12:22:58.815Z] "unix:///var/run/docker.sock" [2023-03-15T12:22:58.815Z] ], [2023-03-15T12:22:58.815Z] "mtu": 1458, [2023-03-15T12:22:58.815Z] "selinux-enabled": true, [2023-03-15T12:22:58.815Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T12:22:58.815Z] } [2023-03-15T12:22:59.958Z] $ docker rm -f --volumes 6db569512b86896b6d511541f720dc13d341fd0862a54a794bc39038faab5f99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T12:23:00.388Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T12:23:00.718Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T12:23:22.859Z] provisioning config files... [2023-03-15T12:23:22.882Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/94@tmp/config9172379349459981271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:23:23.231Z] ---> docker-login.sh [2023-03-15T12:23:23.231Z] nexus3.edgexfoundry.org:10001 [2023-03-15T12:23:23.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:23:23.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:23:23.771Z] Configure a credential helper to remove this warning. See [2023-03-15T12:23:23.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:23:23.771Z] [2023-03-15T12:23:23.771Z] Login Succeeded [2023-03-15T12:23:23.771Z] nexus3.edgexfoundry.org:10002 [2023-03-15T12:23:24.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:23:24.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:23:24.041Z] Configure a credential helper to remove this warning. See [2023-03-15T12:23:24.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:23:24.041Z] [2023-03-15T12:23:24.041Z] Login Succeeded [2023-03-15T12:23:24.041Z] nexus3.edgexfoundry.org:10003 [2023-03-15T12:23:24.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:23:24.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:23:24.580Z] Configure a credential helper to remove this warning. See [2023-03-15T12:23:24.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:23:24.580Z] [2023-03-15T12:23:24.580Z] Login Succeeded [2023-03-15T12:23:24.580Z] nexus3.edgexfoundry.org:10004 [2023-03-15T12:23:24.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:23:24.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:23:24.852Z] Configure a credential helper to remove this warning. See [2023-03-15T12:23:24.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:23:24.852Z] [2023-03-15T12:23:24.852Z] Login Succeeded [2023-03-15T12:23:24.852Z] docker.io [2023-03-15T12:23:25.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:23:25.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:23:25.390Z] Configure a credential helper to remove this warning. See [2023-03-15T12:23:25.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:23:25.390Z] [2023-03-15T12:23:25.390Z] Login Succeeded [2023-03-15T12:23:25.390Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T12:23:25.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T12:23:25.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T12:23:25.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T12:23:25.654Z] ========================================================= [2023-03-15T12:23:25.654Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T12:23:25.654Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:23:25.993Z] + 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-03-15T12:23:26.261Z] Sending build context to Docker daemon 11.87MB [2023-03-15T12:23:26.261Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T12:23:26.261Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T12:23:26.538Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T12:23:26.538Z] af6eaf76a39c: Pulling fs layer [2023-03-15T12:23:26.538Z] 55522c791124: Pulling fs layer [2023-03-15T12:23:26.538Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T12:23:26.538Z] 169dfbe0d373: Pulling fs layer [2023-03-15T12:23:26.538Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T12:23:26.538Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T12:23:26.538Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T12:23:26.538Z] e1ff8fa3b103: Waiting [2023-03-15T12:23:26.538Z] 169dfbe0d373: Waiting [2023-03-15T12:23:26.538Z] 52ebb69f0ebf: Waiting [2023-03-15T12:23:26.538Z] 5abe8eddf0d5: Waiting [2023-03-15T12:23:26.538Z] 55522c791124: Verifying Checksum [2023-03-15T12:23:26.538Z] 55522c791124: Download complete [2023-03-15T12:23:26.538Z] 169dfbe0d373: Verifying Checksum [2023-03-15T12:23:26.538Z] 169dfbe0d373: Download complete [2023-03-15T12:23:26.538Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T12:23:26.538Z] e1ff8fa3b103: Download complete [2023-03-15T12:23:26.538Z] af6eaf76a39c: Verifying Checksum [2023-03-15T12:23:27.513Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T12:23:27.513Z] 5abe8eddf0d5: Download complete [2023-03-15T12:23:27.782Z] af6eaf76a39c: Pull complete [2023-03-15T12:23:28.052Z] 55522c791124: Pull complete [2023-03-15T12:23:29.016Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T12:23:29.016Z] ce5c4a1c91eb: Download complete [2023-03-15T12:23:29.016Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T12:23:29.016Z] 52ebb69f0ebf: Download complete [2023-03-15T12:23:39.105Z] ce5c4a1c91eb: Pull complete [2023-03-15T12:23:39.373Z] 169dfbe0d373: Pull complete [2023-03-15T12:23:39.640Z] e1ff8fa3b103: Pull complete [2023-03-15T12:23:46.299Z] 52ebb69f0ebf: Pull complete [2023-03-15T12:23:47.719Z] 5abe8eddf0d5: Pull complete [2023-03-15T12:23:47.719Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T12:23:47.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T12:23:47.719Z] ---> 6cb57ee374ae [2023-03-15T12:23:47.719Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T12:23:49.674Z] ---> Running in ddf0dc2725e7 [2023-03-15T12:23:49.674Z] Removing intermediate container ddf0dc2725e7 [2023-03-15T12:23:49.674Z] ---> db33becf7748 [2023-03-15T12:23:49.674Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T12:23:49.674Z] ---> Running in 4729f0a095e2 [2023-03-15T12:23:49.942Z] Removing intermediate container 4729f0a095e2 [2023-03-15T12:23:49.942Z] ---> 5b8fe692d440 [2023-03-15T12:23:49.942Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T12:23:50.208Z] ---> Running in dee4d3377747 [2023-03-15T12:23:50.473Z] Removing intermediate container dee4d3377747 [2023-03-15T12:23:50.473Z] ---> 3716a5be2d1f [2023-03-15T12:23:50.473Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-15T12:23:50.473Z] ---> Running in aa09f436b464 [2023-03-15T12:23:50.743Z] Removing intermediate container aa09f436b464 [2023-03-15T12:23:50.743Z] ---> b58222b86e8e [2023-03-15T12:23:50.743Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T12:23:50.743Z] ---> Running in 04aef7f8658b [2023-03-15T12:23:52.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T12:23:52.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T12:23:53.389Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T12:23:53.389Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T12:23:53.389Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T12:23:53.656Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T12:23:53.656Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T12:23:53.656Z] OK: 268 MiB in 57 packages [2023-03-15T12:23:54.617Z] Removing intermediate container 04aef7f8658b [2023-03-15T12:23:54.617Z] ---> 59ac68b59c2e [2023-03-15T12:23:54.617Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-15T12:23:57.194Z] ---> 7c6cb4c711f2 [2023-03-15T12:23:57.194Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T12:23:57.194Z] ---> Running in 876dd22c4403 [2023-03-15T12:24:53.721Z] Removing intermediate container 876dd22c4403 [2023-03-15T12:24:53.721Z] ---> 594844276122 [2023-03-15T12:24:53.721Z] Step 10/12 : COPY . . [2023-03-15T12:24:53.721Z] ---> ba9d4d6c544f [2023-03-15T12:24:53.721Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T12:24:53.721Z] ---> Running in 383d75171a4f [2023-03-15T12:24:53.721Z] Removing intermediate container 383d75171a4f [2023-03-15T12:24:53.721Z] ---> bd56d7baa885 [2023-03-15T12:24:53.722Z] Step 12/12 : RUN $MAKE [2023-03-15T12:24:53.722Z] ---> Running in f11ee5c18683 [2023-03-15T12:24:53.991Z] noop [2023-03-15T12:24:54.578Z] Removing intermediate container f11ee5c18683 [2023-03-15T12:24:54.578Z] ---> 482221cbd499 [2023-03-15T12:24:54.578Z] Successfully built 482221cbd499 [2023-03-15T12:24:54.578Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:24:54.928Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T12:24:54.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:24:55.161Z] prd-ubuntu20.04-docker-arm64-4c-16g-446 does not seem to be running inside a container [2023-03-15T12:24:55.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/94 -v /w/workspace/device-virtual-go/94:/w/workspace/device-virtual-go/94:rw,z -v /w/workspace/device-virtual-go/94@tmp:/w/workspace/device-virtual-go/94@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-03-15T12:24:56.510Z] $ docker top b804833e656f59d9f57170b627bec3cee4ced6ced272215d581e9c62c83fe1ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T12:24:57.347Z] + go version [2023-03-15T12:24:57.348Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T12:24:57.371Z] $ docker stop --time=1 b804833e656f59d9f57170b627bec3cee4ced6ced272215d581e9c62c83fe1ae [2023-03-15T12:24:58.978Z] $ docker rm -f --volumes b804833e656f59d9f57170b627bec3cee4ced6ced272215d581e9c62c83fe1ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:24:59.503Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T12:24:59.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:24:59.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-446 does not seem to be running inside a container [2023-03-15T12:24:59.755Z] $ 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/94 -v /w/workspace/device-virtual-go/94:/w/workspace/device-virtual-go/94:rw,z -v /w/workspace/device-virtual-go/94@tmp:/w/workspace/device-virtual-go/94@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-03-15T12:25:00.876Z] $ docker top b94649ec4e7c6972586f23842ac3dfad6968b2e4600a6610a1b40e36a8d03d39 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T12:25:01.367Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/94 [Pipeline] fileExists [Pipeline] sh [2023-03-15T12:25:01.697Z] + make test [2023-03-15T12:25:01.697Z] go test ./... -coverprofile=coverage.out [2023-03-15T12:25:33.913Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-15T12:27:25.633Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-15T12:27:25.633Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements [2023-03-15T12:27:25.633Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T12:27:25.633Z] go vet ./... [2023-03-15T12:27:52.331Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T12:27:52.331Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T12:27:52.331Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T12:27:52.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T12:27:52.359Z] $ docker stop --time=1 b94649ec4e7c6972586f23842ac3dfad6968b2e4600a6610a1b40e36a8d03d39 [2023-03-15T12:27:55.836Z] $ docker rm -f --volumes b94649ec4e7c6972586f23842ac3dfad6968b2e4600a6610a1b40e36a8d03d39 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T12:27:56.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T12:27:56.880Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T12:27:57.307Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T12:27:57.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T12:27:58.011Z] + ls -al . [2023-03-15T12:27:58.011Z] total 188 [2023-03-15T12:27:58.011Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 12:25 . [2023-03-15T12:27:58.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 12:22 .. [2023-03-15T12:27:58.011Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 12:22 .git [2023-03-15T12:27:58.011Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 12:22 .github [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 12:22 .gitignore [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 12:22 .golangci.yml [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 12:22 Attribution.txt [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 12:22 CHANGELOG.md [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 12:22 Dockerfile [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 12:22 GOVERNANCE.md [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 12:22 Jenkinsfile [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 12:22 LICENSE [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 12:22 Makefile [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 12:22 OWNERS.md [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 12:22 README.md [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 12:21 VERSION [2023-03-15T12:27:58.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 12:22 bin [2023-03-15T12:27:58.011Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 12:22 cmd [2023-03-15T12:27:58.011Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 12:27 coverage.out [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 12:22 go.mod [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 12:22 go.sum [2023-03-15T12:27:58.011Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 12:22 internal [2023-03-15T12:27:58.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 12:22 snap [2023-03-15T12:27:58.011Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 12:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:27:58.346Z] + 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=96a5dbd4cf59e276ad3c0925590d8fa28104ff38 --label arch=arm64 --label version=3.0.0-dev.22 . [2023-03-15T12:27:58.643Z] Sending build context to Docker daemon 11.92MB [2023-03-15T12:27:58.643Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T12:27:58.643Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T12:27:58.643Z] ---> 482221cbd499 [2023-03-15T12:27:58.643Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T12:27:58.908Z] ---> Running in f483440c87b7 [2023-03-15T12:27:59.176Z] Removing intermediate container f483440c87b7 [2023-03-15T12:27:59.176Z] ---> 9eace39924a4 [2023-03-15T12:27:59.176Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T12:27:59.176Z] ---> Running in 29e7cd346939 [2023-03-15T12:28:01.128Z] Removing intermediate container 29e7cd346939 [2023-03-15T12:28:01.128Z] ---> aa4a31e668b2 [2023-03-15T12:28:01.128Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T12:28:01.128Z] ---> Running in efbee1ec956b [2023-03-15T12:28:01.395Z] Removing intermediate container efbee1ec956b [2023-03-15T12:28:01.395Z] ---> 54b86e75932b [2023-03-15T12:28:01.395Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-15T12:28:01.395Z] ---> Running in 33474e7cb3a4 [2023-03-15T12:28:01.990Z] Removing intermediate container 33474e7cb3a4 [2023-03-15T12:28:01.990Z] ---> 257f109054ab [2023-03-15T12:28:01.990Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T12:28:01.990Z] ---> Running in 3215fb932a0f [2023-03-15T12:28:03.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T12:28:04.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T12:28:05.860Z] OK: 268 MiB in 57 packages [2023-03-15T12:28:11.205Z] Removing intermediate container 3215fb932a0f [2023-03-15T12:28:11.205Z] ---> 7383830b96e1 [2023-03-15T12:28:11.205Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-15T12:28:11.205Z] ---> ebbc24c19d0a [2023-03-15T12:28:11.205Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T12:28:11.205Z] ---> Running in 5b0c1afddfb9 [2023-03-15T12:28:15.508Z] Removing intermediate container 5b0c1afddfb9 [2023-03-15T12:28:15.508Z] ---> 58ae28034f9b [2023-03-15T12:28:15.508Z] Step 10/25 : COPY . . [2023-03-15T12:28:16.470Z] ---> 0ac77c8c209c [2023-03-15T12:28:16.470Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T12:28:16.470Z] ---> Running in 812ef33f58d0 [2023-03-15T12:28:16.738Z] Removing intermediate container 812ef33f58d0 [2023-03-15T12:28:16.738Z] ---> 6b98b8191fbc [2023-03-15T12:28:16.738Z] Step 12/25 : RUN $MAKE [2023-03-15T12:28:16.738Z] ---> Running in 1fa30a7e6a45 [2023-03-15T12:28:17.725Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-15T12:30:24.440Z] Removing intermediate container 1fa30a7e6a45 [2023-03-15T12:30:24.440Z] ---> 4b5c365bd88a [2023-03-15T12:30:24.440Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T12:30:24.440Z] 3.17: Pulling from library/alpine [2023-03-15T12:30:24.440Z] af6eaf76a39c: Already exists [2023-03-15T12:30:24.440Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T12:30:24.440Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T12:30:24.440Z] ---> d74e625d9115 [2023-03-15T12:30:24.440Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-15T12:30:24.440Z] ---> Running in 151d48758123 [2023-03-15T12:30:24.440Z] Removing intermediate container 151d48758123 [2023-03-15T12:30:24.440Z] ---> 1983b4875aa9 [2023-03-15T12:30:24.440Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T12:30:24.440Z] ---> Running in 6ba211102693 [2023-03-15T12:30:24.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T12:30:24.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T12:30:24.440Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T12:30:24.440Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T12:30:24.440Z] OK: 8 MiB in 16 packages [2023-03-15T12:30:24.440Z] Removing intermediate container 6ba211102693 [2023-03-15T12:30:24.440Z] ---> 57e535d27a36 [2023-03-15T12:30:24.440Z] Step 16/25 : WORKDIR / [2023-03-15T12:30:24.440Z] ---> Running in c3d005c57a21 [2023-03-15T12:30:24.440Z] Removing intermediate container c3d005c57a21 [2023-03-15T12:30:24.440Z] ---> aa684cc4651b [2023-03-15T12:30:24.440Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-15T12:30:24.706Z] ---> 34bf6456db87 [2023-03-15T12:30:24.707Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-15T12:30:25.291Z] ---> 1000ff89a75f [2023-03-15T12:30:25.291Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-15T12:30:26.703Z] ---> b6840a951ee8 [2023-03-15T12:30:26.703Z] Step 20/25 : EXPOSE 59900 [2023-03-15T12:30:26.703Z] ---> Running in 9f474cba0d8c [2023-03-15T12:30:26.703Z] Removing intermediate container 9f474cba0d8c [2023-03-15T12:30:26.703Z] ---> f8cb2b9667b2 [2023-03-15T12:30:26.703Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-15T12:30:26.972Z] ---> Running in 0c69108b4504 [2023-03-15T12:30:27.239Z] Removing intermediate container 0c69108b4504 [2023-03-15T12:30:27.239Z] ---> 1ac4bbfe1274 [2023-03-15T12:30:27.239Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T12:30:27.239Z] ---> Running in 24abcaa6aabc [2023-03-15T12:30:27.506Z] Removing intermediate container 24abcaa6aabc [2023-03-15T12:30:27.506Z] ---> c8a20e955076 [2023-03-15T12:30:27.506Z] Step 23/25 : LABEL arch=arm64 [2023-03-15T12:30:27.506Z] ---> Running in 96ca64e2b3a9 [2023-03-15T12:30:27.774Z] Removing intermediate container 96ca64e2b3a9 [2023-03-15T12:30:27.774Z] ---> 2b6316ad0da5 [2023-03-15T12:30:27.774Z] Step 24/25 : LABEL git_sha=96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [2023-03-15T12:30:27.774Z] ---> Running in 0ddd83435795 [2023-03-15T12:30:28.355Z] Removing intermediate container 0ddd83435795 [2023-03-15T12:30:28.355Z] ---> 7f4b9358403a [2023-03-15T12:30:28.355Z] Step 25/25 : LABEL version=3.0.0-dev.22 [2023-03-15T12:30:28.355Z] ---> Running in 572853fba634 [2023-03-15T12:30:28.620Z] Removing intermediate container 572853fba634 [2023-03-15T12:30:28.620Z] ---> 160f7c23944e [2023-03-15T12:30:28.620Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T12:30:28.620Z] Successfully built 160f7c23944e [2023-03-15T12:30:28.620Z] 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-03-15T12:30:28.723Z] provisioning config files... [2023-03-15T12:30:28.740Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/94@tmp/config9525066539813434263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:30:29.065Z] ---> docker-login.sh [2023-03-15T12:30:29.065Z] nexus3.edgexfoundry.org:10001 [2023-03-15T12:30:29.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:30:29.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:30:29.331Z] Configure a credential helper to remove this warning. See [2023-03-15T12:30:29.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:30:29.331Z] [2023-03-15T12:30:29.331Z] Login Succeeded [2023-03-15T12:30:29.331Z] nexus3.edgexfoundry.org:10002 [2023-03-15T12:30:29.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:30:29.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:30:29.598Z] Configure a credential helper to remove this warning. See [2023-03-15T12:30:29.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:30:29.598Z] [2023-03-15T12:30:29.598Z] Login Succeeded [2023-03-15T12:30:29.598Z] nexus3.edgexfoundry.org:10003 [2023-03-15T12:30:29.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:30:30.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:30:30.131Z] Configure a credential helper to remove this warning. See [2023-03-15T12:30:30.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:30:30.131Z] [2023-03-15T12:30:30.131Z] Login Succeeded [2023-03-15T12:30:30.131Z] nexus3.edgexfoundry.org:10004 [2023-03-15T12:30:30.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:30:30.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:30:30.398Z] Configure a credential helper to remove this warning. See [2023-03-15T12:30:30.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:30:30.398Z] [2023-03-15T12:30:30.398Z] Login Succeeded [2023-03-15T12:30:30.398Z] docker.io [2023-03-15T12:30:30.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T12:30:30.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T12:30:30.933Z] Configure a credential helper to remove this warning. See [2023-03-15T12:30:30.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T12:30:30.933Z] [2023-03-15T12:30:30.933Z] Login Succeeded [2023-03-15T12:30:30.933Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T12:30:30.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T12:30:30.980Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T12:30:31.002Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-03-15T12:30:31.002Z] 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [2023-03-15T12:30:31.002Z] latest [2023-03-15T12:30:31.002Z] 3.0.0-dev.22 [2023-03-15T12:30:31.002Z] 96a5dbd4cf59e276ad3c0925590d8fa28104ff38-3.0.0-dev.22 [2023-03-15T12:30:31.002Z] main [2023-03-15T12:30:31.002Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:31.345Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:31.683Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [2023-03-15T12:30:31.683Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T12:30:31.683Z] 0b665cbe75df: Preparing [2023-03-15T12:30:31.683Z] e0a73effae47: Preparing [2023-03-15T12:30:31.683Z] 90c8adfbbb2b: Preparing [2023-03-15T12:30:31.683Z] 564acdeca0d9: Preparing [2023-03-15T12:30:31.683Z] edf70074bd40: Preparing [2023-03-15T12:30:31.683Z] edf70074bd40: Layer already exists [2023-03-15T12:30:31.952Z] 90c8adfbbb2b: Pushed [2023-03-15T12:30:31.952Z] 564acdeca0d9: Pushed [2023-03-15T12:30:31.952Z] e0a73effae47: Pushed [2023-03-15T12:30:37.281Z] 0b665cbe75df: Pushed [2023-03-15T12:30:37.281Z] 96a5dbd4cf59e276ad3c0925590d8fa28104ff38: digest: sha256:04feddb5c538e9e75f6b0279b6e33a27539d03ca7792d3450d8bd1cf91f78835 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:37.630Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:37.960Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-03-15T12:30:37.960Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T12:30:37.960Z] 0b665cbe75df: Preparing [2023-03-15T12:30:37.960Z] e0a73effae47: Preparing [2023-03-15T12:30:37.960Z] 90c8adfbbb2b: Preparing [2023-03-15T12:30:37.960Z] 564acdeca0d9: Preparing [2023-03-15T12:30:37.960Z] edf70074bd40: Preparing [2023-03-15T12:30:37.960Z] 0b665cbe75df: Layer already exists [2023-03-15T12:30:37.960Z] edf70074bd40: Layer already exists [2023-03-15T12:30:37.960Z] 90c8adfbbb2b: Layer already exists [2023-03-15T12:30:37.960Z] e0a73effae47: Layer already exists [2023-03-15T12:30:37.960Z] 564acdeca0d9: Layer already exists [2023-03-15T12:30:37.960Z] latest: digest: sha256:04feddb5c538e9e75f6b0279b6e33a27539d03ca7792d3450d8bd1cf91f78835 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:38.301Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:38.627Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.22 [2023-03-15T12:30:38.627Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T12:30:38.627Z] 0b665cbe75df: Preparing [2023-03-15T12:30:38.627Z] e0a73effae47: Preparing [2023-03-15T12:30:38.627Z] 90c8adfbbb2b: Preparing [2023-03-15T12:30:38.627Z] 564acdeca0d9: Preparing [2023-03-15T12:30:38.627Z] edf70074bd40: Preparing [2023-03-15T12:30:38.627Z] e0a73effae47: Layer already exists [2023-03-15T12:30:38.627Z] edf70074bd40: Layer already exists [2023-03-15T12:30:38.627Z] 90c8adfbbb2b: Layer already exists [2023-03-15T12:30:38.627Z] 564acdeca0d9: Layer already exists [2023-03-15T12:30:38.627Z] 0b665cbe75df: Layer already exists [2023-03-15T12:30:38.627Z] 3.0.0-dev.22: digest: sha256:04feddb5c538e9e75f6b0279b6e33a27539d03ca7792d3450d8bd1cf91f78835 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:38.961Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:96a5dbd4cf59e276ad3c0925590d8fa28104ff38-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:39.296Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:96a5dbd4cf59e276ad3c0925590d8fa28104ff38-3.0.0-dev.22 [2023-03-15T12:30:39.297Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T12:30:39.297Z] 0b665cbe75df: Preparing [2023-03-15T12:30:39.297Z] e0a73effae47: Preparing [2023-03-15T12:30:39.297Z] 90c8adfbbb2b: Preparing [2023-03-15T12:30:39.297Z] 564acdeca0d9: Preparing [2023-03-15T12:30:39.297Z] edf70074bd40: Preparing [2023-03-15T12:30:39.297Z] edf70074bd40: Layer already exists [2023-03-15T12:30:39.297Z] 0b665cbe75df: Layer already exists [2023-03-15T12:30:39.297Z] e0a73effae47: Layer already exists [2023-03-15T12:30:39.297Z] 564acdeca0d9: Layer already exists [2023-03-15T12:30:39.297Z] 90c8adfbbb2b: Layer already exists [2023-03-15T12:30:39.297Z] 96a5dbd4cf59e276ad3c0925590d8fa28104ff38-3.0.0-dev.22: digest: sha256:04feddb5c538e9e75f6b0279b6e33a27539d03ca7792d3450d8bd1cf91f78835 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:39.631Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:39.973Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-03-15T12:30:39.974Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T12:30:39.974Z] 0b665cbe75df: Preparing [2023-03-15T12:30:39.974Z] e0a73effae47: Preparing [2023-03-15T12:30:39.974Z] 90c8adfbbb2b: Preparing [2023-03-15T12:30:39.974Z] 564acdeca0d9: Preparing [2023-03-15T12:30:39.974Z] edf70074bd40: Preparing [2023-03-15T12:30:39.974Z] edf70074bd40: Layer already exists [2023-03-15T12:30:39.974Z] 564acdeca0d9: Layer already exists [2023-03-15T12:30:39.974Z] 0b665cbe75df: Layer already exists [2023-03-15T12:30:39.974Z] e0a73effae47: Layer already exists [2023-03-15T12:30:39.974Z] 90c8adfbbb2b: Layer already exists [2023-03-15T12:30:39.974Z] main: digest: sha256:04feddb5c538e9e75f6b0279b6e33a27539d03ca7792d3450d8bd1cf91f78835 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T12:30:40.298Z] ===================================================== [Pipeline] echo [2023-03-15T12:30:40.306Z] taggedImages: [2023-03-15T12:30:40.306Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [2023-03-15T12:30:40.306Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-03-15T12:30:40.306Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.22 [2023-03-15T12:30:40.306Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:96a5dbd4cf59e276ad3c0925590d8fa28104ff38-3.0.0-dev.22 [2023-03-15T12:30:40.306Z] - 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-03-15T12:30:40.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T12:30:40.667Z] [2023-03-15T12:30:40.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:30:41.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T12:30:41.000Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T12:30:41.000Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T12:30:41.000Z] 04944245beec: Pulling fs layer [2023-03-15T12:30:41.000Z] 699f458cf7ca: Pulling fs layer [2023-03-15T12:30:41.000Z] 765212b225bb: Pulling fs layer [2023-03-15T12:30:41.000Z] f23df028b6ca: Pulling fs layer [2023-03-15T12:30:41.000Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T12:30:41.000Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T12:30:41.000Z] f23df028b6ca: Waiting [2023-03-15T12:30:41.000Z] d65c8cfc05b1: Waiting [2023-03-15T12:30:41.000Z] 2437ff75d9bd: Waiting [2023-03-15T12:30:41.000Z] 765212b225bb: Waiting [2023-03-15T12:30:41.266Z] 04944245beec: Verifying Checksum [2023-03-15T12:30:41.266Z] 04944245beec: Download complete [2023-03-15T12:30:41.266Z] 765212b225bb: Verifying Checksum [2023-03-15T12:30:41.266Z] 765212b225bb: Download complete [2023-03-15T12:30:41.266Z] f23df028b6ca: Verifying Checksum [2023-03-15T12:30:41.266Z] f23df028b6ca: Download complete [2023-03-15T12:30:41.266Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T12:30:41.266Z] d65c8cfc05b1: Download complete [2023-03-15T12:30:41.266Z] 699f458cf7ca: Verifying Checksum [2023-03-15T12:30:41.266Z] 699f458cf7ca: Download complete [2023-03-15T12:30:41.850Z] 8998bd30e6a1: Download complete [2023-03-15T12:30:44.431Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T12:30:44.431Z] 2437ff75d9bd: Download complete [2023-03-15T12:30:45.840Z] 8998bd30e6a1: Pull complete [2023-03-15T12:30:46.108Z] 04944245beec: Pull complete [2023-03-15T12:30:47.514Z] 699f458cf7ca: Pull complete [2023-03-15T12:30:47.781Z] 765212b225bb: Pull complete [2023-03-15T12:30:48.363Z] f23df028b6ca: Pull complete [2023-03-15T12:30:48.630Z] d65c8cfc05b1: Pull complete [2023-03-15T12:31:03.600Z] 2437ff75d9bd: Pull complete [2023-03-15T12:31:03.600Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T12:31:03.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T12:31:03.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:31:03.818Z] prd-ubuntu20.04-docker-arm64-4c-16g-446 does not seem to be running inside a container [2023-03-15T12:31:03.895Z] $ 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/94 -v /w/workspace/device-virtual-go/94:/w/workspace/device-virtual-go/94:rw,z -v /w/workspace/device-virtual-go/94@tmp:/w/workspace/device-virtual-go/94@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-03-15T12:31:06.332Z] $ docker top 772dad4c2a4d8918b360f9ef092e6c27068272fc11c88504a6dbdb56a1bcdd27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:31:07.184Z] ---> job-cost.sh [2023-03-15T12:31:07.185Z] lf-activate-venv: SKIPPING [2023-03-15T12:31:07.185Z] INFO: No Stack... [2023-03-15T12:31:07.454Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T12:31:08.429Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T12:31:09.085Z] + cat /w/workspace/device-virtual-go/94/archives/cost.csv [2023-03-15T12:31:09.085Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T12:31:09.158Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-94-stack-cost] [2023-03-15T12:31:09.165Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-94-stack-cost] did not exist. Created. [2023-03-15T12:31:09.165Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T12:31:09.504Z] /w/workspace/device-virtual-go/94@tmp/durable-21238218/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T12:31:10.158Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T12:31:10.180Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T12:31:10.230Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T12:31:10.238Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T12:31:10.262Z] $ docker stop --time=1 772dad4c2a4d8918b360f9ef092e6c27068272fc11c88504a6dbdb56a1bcdd27 [2023-03-15T12:31:11.751Z] $ docker rm -f --volumes 772dad4c2a4d8918b360f9ef092e6c27068272fc11c88504a6dbdb56a1bcdd27 [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-03-15T12:31:12.144Z] provisioning config files... [2023-03-15T12:31:12.150Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8674371230636734010tmp [Pipeline] { [Pipeline] sh [2023-03-15T12:31:12.441Z] + set +x [2023-03-15T12:31:12.441Z] + curl -s https://codecov.io/bash [2023-03-15T12:31:12.441Z] + bash -s -- [2023-03-15T12:31:12.441Z] [2023-03-15T12:31:12.441Z] _____ _ [2023-03-15T12:31:12.441Z] / ____| | | [2023-03-15T12:31:12.441Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T12:31:12.441Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T12:31:12.441Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T12:31:12.441Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T12:31:12.441Z] Bash-1.0.6 [2023-03-15T12:31:12.441Z] [2023-03-15T12:31:12.441Z] [2023-03-15T12:31:12.441Z] ==> git version 2.25.1 found [2023-03-15T12:31:12.441Z] ==> 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-03-15T12:31:12.441Z] Release-Date: 2020-01-08 [2023-03-15T12:31:12.442Z] 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-03-15T12:31:12.442Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T12:31:12.442Z] ==> Jenkins CI detected. [2023-03-15T12:31:12.442Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-03-15T12:31:12.442Z] project root: . [2023-03-15T12:31:12.442Z] --> token set from env [2023-03-15T12:31:12.442Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T12:31:12.442Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T12:31:12.442Z] ==> Python coveragepy not found [2023-03-15T12:31:12.442Z] ==> Searching for coverage reports in: [2023-03-15T12:31:12.442Z] + . [2023-03-15T12:31:12.442Z] -> Found 1 reports [2023-03-15T12:31:12.442Z] ==> Detecting git/mercurial file structure [2023-03-15T12:31:12.442Z] ==> Reading reports [2023-03-15T12:31:12.442Z] + ./coverage.out bytes=44311 [2023-03-15T12:31:12.442Z] ==> Appending adjustments [2023-03-15T12:31:12.442Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T12:31:12.700Z] + Found adjustments [2023-03-15T12:31:12.700Z] ==> Gzipping contents [2023-03-15T12:31:12.700Z] 8.0K /tmp/codecov.p8qFRM.gz [2023-03-15T12:31:12.700Z] ==> Uploading reports [2023-03-15T12:31:12.700Z] url: https://codecov.io [2023-03-15T12:31:12.700Z] query: branch=main&commit=96a5dbd4cf59e276ad3c0925590d8fa28104ff38&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T12:31:12.700Z] -> Pinging Codecov [2023-03-15T12:31:12.700Z] 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=96a5dbd4cf59e276ad3c0925590d8fa28104ff38&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T12:31:12.700Z] -> Uploading to [2023-03-15T12:31:12.700Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/96a5dbd4cf59e276ad3c0925590d8fa28104ff38/048cd296-4fe3-4c27-b174-2b213b26b203.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T123112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b838d46825f287c4c32465b0b3367c60d2e887056d1f82021437b897158f3679 [2023-03-15T12:31:12.959Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T12:31:12.959Z] Dload Upload Total Spent Left Speed [2023-03-15T12:31:12.959Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5430 0 0 100 5430 0 26748 --:--:-- --:--:-- --:--:-- 26617 100 5430 0 0 100 5430 0 24241 --:--:-- --:--:-- --:--:-- 24133 [2023-03-15T12:31:12.959Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [Pipeline] } [2023-03-15T12:31:12.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T12:31:13.183Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T12:31:13.195Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:31:13.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T12:31:13.491Z] [2023-03-15T12:31:13.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:31:13.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T12:31:13.789Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T12:31:13.789Z] df9b9388f04a: Pulling fs layer [2023-03-15T12:31:13.789Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T12:31:13.789Z] 25bc292e5bac: Pulling fs layer [2023-03-15T12:31:13.789Z] 114826534d7a: Pulling fs layer [2023-03-15T12:31:13.789Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T12:31:13.789Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T12:31:13.789Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T12:31:13.789Z] 114826534d7a: Waiting [2023-03-15T12:31:13.789Z] 4657fd5d0bcf: Waiting [2023-03-15T12:31:13.789Z] 6ad1cebc031e: Waiting [2023-03-15T12:31:13.789Z] 8a3aa393b2d8: Waiting [2023-03-15T12:31:13.789Z] 25bc292e5bac: Verifying Checksum [2023-03-15T12:31:13.789Z] 25bc292e5bac: Download complete [2023-03-15T12:31:13.789Z] 52dc419b0ee2: Verifying Checksum [2023-03-15T12:31:13.789Z] 52dc419b0ee2: Download complete [2023-03-15T12:31:13.789Z] 4657fd5d0bcf: Verifying Checksum [2023-03-15T12:31:13.789Z] 4657fd5d0bcf: Download complete [2023-03-15T12:31:13.789Z] df9b9388f04a: Verifying Checksum [2023-03-15T12:31:14.049Z] df9b9388f04a: Pull complete [2023-03-15T12:31:14.049Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T12:31:14.049Z] 6ad1cebc031e: Download complete [2023-03-15T12:31:14.049Z] 52dc419b0ee2: Pull complete [2023-03-15T12:31:14.049Z] 25bc292e5bac: Pull complete [2023-03-15T12:31:14.617Z] 114826534d7a: Verifying Checksum [2023-03-15T12:31:14.617Z] 114826534d7a: Download complete [2023-03-15T12:31:14.617Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T12:31:14.617Z] 8a3aa393b2d8: Download complete [2023-03-15T12:31:17.902Z] 114826534d7a: Pull complete [2023-03-15T12:31:18.161Z] 4657fd5d0bcf: Pull complete [2023-03-15T12:31:18.420Z] 6ad1cebc031e: Pull complete [2023-03-15T12:31:20.946Z] 8a3aa393b2d8: Pull complete [2023-03-15T12:31:20.946Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T12:31:20.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T12:31:20.946Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:31:21.017Z] prd-ubuntu20.04-docker-8c-8g-445 does not seem to be running inside a container [2023-03-15T12:31:21.051Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-15T12:31:24.914Z] $ docker top 2598a2a476db83b4144c16ef94014cceaf956749158c66e3ff80adeb10738958 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T12:31:24.969Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-03-15T12:31:25.245Z] + set -o pipefail [2023-03-15T12:31:25.245Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-03-15T12:31:30.516Z] [2023-03-15T12:31:30.516Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-03-15T12:31:30.516Z] [2023-03-15T12:31:30.516Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/424170c5-57d5-4178-a022-9d372f453b7b [2023-03-15T12:31:30.516Z] [2023-03-15T12:31:30.516Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-15T12:31:30.516Z] [2023-03-15T12:31:30.516Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-15T12:31:30.516Z] [2023-03-15T12:31:31.453Z] [2023-03-15T12:31:31.453Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-15T12:31:31.453Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-15T12:31:31.453Z] More details here: https://snyk.co/ue1NS [2023-03-15T12:31:31.453Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-03-15T12:31:31.453Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-03-15T12:31:31.471Z] $ docker stop --time=1 2598a2a476db83b4144c16ef94014cceaf956749158c66e3ff80adeb10738958 [2023-03-15T12:31:34.681Z] $ docker rm -f --volumes 2598a2a476db83b4144c16ef94014cceaf956749158c66e3ff80adeb10738958 [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-03-15T12:31:35.366Z] + git log --format=format:%s -1 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 [Pipeline] sh [2023-03-15T12:31:35.660Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T12:31:35.660Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:31:35.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T12:31:35.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:31:36.021Z] prd-ubuntu20.04-docker-8c-8g-445 does not seem to be running inside a container [2023-03-15T12:31:36.054Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T12:31:36.431Z] $ docker top 4d7724c33f7499b05e9b933a49a03eb2a86983ca89bcd651e5d94a32610d11f0 -eo pid,comm [2023-03-15T12:31:36.471Z] 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-03-15T12:31:36.471Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T12:31:36.511Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T12:31:36.511Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T12:31:36.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T12:31:36.638Z] $ docker exec 4d7724c33f7499b05e9b933a49a03eb2a86983ca89bcd651e5d94a32610d11f0 ssh-agent [2023-03-15T12:31:36.735Z] SSH_AUTH_SOCK=/tmp/ssh-u36EDcFhmW0v/agent.33 [2023-03-15T12:31:36.735Z] SSH_AGENT_PID=39 [2023-03-15T12:31:36.740Z] Running ssh-add (command line suppressed) [2023-03-15T12:31:36.867Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16645452453011437211.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16645452453011437211.key) [2023-03-15T12:31:36.872Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T12:31:37.158Z] + git semver tag [2023-03-15T12:31:37.416Z] 2023-03-15 12:31:37,348 [run_tag] DEBUG tag force:False [2023-03-15T12:31:37.416Z] 2023-03-15 12:31:37,348 [check_head_tag] DEBUG check head tag [2023-03-15T12:31:37.416Z] 2023-03-15 12:31:37,349 [execute] INFO git cat-file --batch-check [2023-03-15T12:31:37.416Z] 2023-03-15 12:31:37,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T12:31:37.416Z] 2023-03-15 12:31:37,353 [execute] INFO git cat-file --batch [2023-03-15T12:31:37.416Z] 2023-03-15 12:31:37,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T12:31:37.416Z] 2023-03-15 12:31:37,375 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T12:31:37.417Z] 2023-03-15 12:31:37,375 [execute] INFO git tag -a v3.0.0-dev.22 -m v3.0.0-dev.22 [2023-03-15T12:31:37.417Z] 2023-03-15 12:31:37,375 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.22', '-m', 'v3.0.0-dev.22'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-15T12:31:37.417Z] 2023-03-15 12:31:37,379 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T12:31:37.417Z] 3.0.0-dev.22 [Pipeline] } [2023-03-15T12:31:37.433Z] $ docker exec --env ******** --env ******** 4d7724c33f7499b05e9b933a49a03eb2a86983ca89bcd651e5d94a32610d11f0 ssh-agent -k [2023-03-15T12:31:37.520Z] unset SSH_AUTH_SOCK; [2023-03-15T12:31:37.520Z] unset SSH_AGENT_PID; [2023-03-15T12:31:37.520Z] echo Agent pid 39 killed; [2023-03-15T12:31:37.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T12:31:37.818Z] + git semver [Pipeline] } [2023-03-15T12:31:38.095Z] $ docker stop --time=1 4d7724c33f7499b05e9b933a49a03eb2a86983ca89bcd651e5d94a32610d11f0 [2023-03-15T12:31:39.339Z] $ docker rm -f --volumes 4d7724c33f7499b05e9b933a49a03eb2a86983ca89bcd651e5d94a32610d11f0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:31:39.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T12:31:39.696Z] [2023-03-15T12:31:39.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:31:39.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T12:31:39.989Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-15T12:31:39.989Z] ab5ef0e58194: Pulling fs layer [2023-03-15T12:31:39.989Z] 9712f1f96733: Pulling fs layer [2023-03-15T12:31:39.989Z] 63f879dbbcfc: Pulling fs layer [2023-03-15T12:31:39.989Z] 0d9ebad4ef96: Pulling fs layer [2023-03-15T12:31:39.989Z] e9a5061849ea: Pulling fs layer [2023-03-15T12:31:39.989Z] d747dcd14b5f: Pulling fs layer [2023-03-15T12:31:39.989Z] 2de7ff778b66: Pulling fs layer [2023-03-15T12:31:39.989Z] e9a5061849ea: Waiting [2023-03-15T12:31:39.989Z] d747dcd14b5f: Waiting [2023-03-15T12:31:39.989Z] 2de7ff778b66: Waiting [2023-03-15T12:31:39.989Z] 0d9ebad4ef96: Waiting [2023-03-15T12:31:39.989Z] 9712f1f96733: Download complete [2023-03-15T12:31:40.254Z] 63f879dbbcfc: Verifying Checksum [2023-03-15T12:31:40.254Z] 63f879dbbcfc: Download complete [2023-03-15T12:31:40.512Z] 0d9ebad4ef96: Verifying Checksum [2023-03-15T12:31:40.512Z] 0d9ebad4ef96: Download complete [2023-03-15T12:31:40.512Z] d747dcd14b5f: Download complete [2023-03-15T12:31:40.512Z] ab5ef0e58194: Verifying Checksum [2023-03-15T12:31:40.512Z] ab5ef0e58194: Download complete [2023-03-15T12:31:40.769Z] e9a5061849ea: Verifying Checksum [2023-03-15T12:31:40.769Z] e9a5061849ea: Download complete [2023-03-15T12:31:40.769Z] 2de7ff778b66: Verifying Checksum [2023-03-15T12:31:40.769Z] 2de7ff778b66: Download complete [2023-03-15T12:31:43.296Z] ab5ef0e58194: Pull complete [2023-03-15T12:31:43.296Z] 9712f1f96733: Pull complete [2023-03-15T12:31:43.863Z] 63f879dbbcfc: Pull complete [2023-03-15T12:31:48.050Z] 0d9ebad4ef96: Pull complete [2023-03-15T12:31:48.050Z] e9a5061849ea: Pull complete [2023-03-15T12:31:48.050Z] d747dcd14b5f: Pull complete [2023-03-15T12:31:48.984Z] 2de7ff778b66: Pull complete [2023-03-15T12:31:48.984Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-15T12:31:48.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T12:31:48.985Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:31:49.060Z] prd-ubuntu20.04-docker-8c-8g-445 does not seem to be running inside a container [2023-03-15T12:31:49.092Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-15T12:31:53.263Z] $ docker top 9176f352284b128fcc154be8f57c161c27ecfe2d8eab0f8dd8dfbd9b57cdfdef -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-15T12:31:53.317Z] provisioning config files... [2023-03-15T12:31:53.325Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13193491199727467794tmp [2023-03-15T12:31:53.335Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11930588081791590274tmp [2023-03-15T12:31:53.343Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6110111980687379792tmp [Pipeline] { [Pipeline] echo [2023-03-15T12:31:53.359Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:31:53.645Z] ---> sigul-configuration.sh [2023-03-15T12:31:53.645Z] gpg: directory `/root/.gnupg' created [2023-03-15T12:31:53.645Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-15T12:31:53.645Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-15T12:31:53.645Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-15T12:31:53.645Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-15T12:31:53.645Z] gpg: CAST5 encrypted data [2023-03-15T12:31:53.645Z] gpg: encrypted with 1 passphrase [2023-03-15T12:31:53.645Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-15T12:31:53.930Z] + mkdir /home/jenkins [2023-03-15T12:31:53.930Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-15T12:31:54.214Z] + 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-03-15T12:31:54.221Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:31:54.503Z] ---> sigul-install.sh [2023-03-15T12:31:54.503Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-15T12:31:54.788Z] + git tag --list [2023-03-15T12:31:54.788Z] v1.0.0 [2023-03-15T12:31:54.788Z] v1.1.0 [2023-03-15T12:31:54.788Z] v1.1.1 [2023-03-15T12:31:54.788Z] v1.2.1 [2023-03-15T12:31:54.788Z] v1.2.2 [2023-03-15T12:31:54.788Z] v1.2.3 [2023-03-15T12:31:54.788Z] v1.3.0 [2023-03-15T12:31:54.788Z] v1.3.1 [2023-03-15T12:31:54.788Z] v2.0.0 [2023-03-15T12:31:54.788Z] v2.1.0 [2023-03-15T12:31:54.788Z] v2.1.1 [2023-03-15T12:31:54.788Z] v2.1.1-dev.1 [2023-03-15T12:31:54.788Z] v2.1.1-dev.2 [2023-03-15T12:31:54.788Z] v2.2.0 [2023-03-15T12:31:54.788Z] v2.2.1-dev.1 [2023-03-15T12:31:54.788Z] v2.2.1-dev.2 [2023-03-15T12:31:54.788Z] v2.2.1-dev.3 [2023-03-15T12:31:54.788Z] v2.2.1-dev.4 [2023-03-15T12:31:54.788Z] v2.2.1-dev.5 [2023-03-15T12:31:54.788Z] v2.2.1-dev.6 [2023-03-15T12:31:54.788Z] v2.2.1-dev.7 [2023-03-15T12:31:54.788Z] v2.2.1-dev.8 [2023-03-15T12:31:54.788Z] v2.3.0 [2023-03-15T12:31:54.788Z] v2.3.0-dev.10 [2023-03-15T12:31:54.788Z] v2.3.0-dev.11 [2023-03-15T12:31:54.788Z] v2.3.0-dev.12 [2023-03-15T12:31:54.788Z] v2.3.0-dev.13 [2023-03-15T12:31:54.788Z] v2.3.0-dev.14 [2023-03-15T12:31:54.788Z] v2.3.0-dev.15 [2023-03-15T12:31:54.788Z] v2.3.0-dev.16 [2023-03-15T12:31:54.788Z] v2.3.0-dev.17 [2023-03-15T12:31:54.788Z] v2.3.0-dev.18 [2023-03-15T12:31:54.788Z] v2.3.0-dev.19 [2023-03-15T12:31:54.788Z] v2.3.0-dev.20 [2023-03-15T12:31:54.788Z] v2.3.0-dev.21 [2023-03-15T12:31:54.788Z] v2.3.0-dev.22 [2023-03-15T12:31:54.788Z] v2.3.0-dev.23 [2023-03-15T12:31:54.788Z] v2.3.0-dev.24 [2023-03-15T12:31:54.788Z] v2.3.0-dev.25 [2023-03-15T12:31:54.788Z] v2.3.0-dev.26 [2023-03-15T12:31:54.788Z] v2.3.0-dev.27 [2023-03-15T12:31:54.788Z] v2.3.0-dev.28 [2023-03-15T12:31:54.788Z] v2.3.0-dev.29 [2023-03-15T12:31:54.788Z] v2.3.0-dev.30 [2023-03-15T12:31:54.788Z] v2.3.0-dev.8 [2023-03-15T12:31:54.788Z] v2.3.0-dev.9 [2023-03-15T12:31:54.788Z] v3.0.0-dev.1 [2023-03-15T12:31:54.788Z] v3.0.0-dev.10 [2023-03-15T12:31:54.788Z] v3.0.0-dev.11 [2023-03-15T12:31:54.788Z] v3.0.0-dev.12 [2023-03-15T12:31:54.788Z] v3.0.0-dev.13 [2023-03-15T12:31:54.788Z] v3.0.0-dev.14 [2023-03-15T12:31:54.788Z] v3.0.0-dev.15 [2023-03-15T12:31:54.788Z] v3.0.0-dev.16 [2023-03-15T12:31:54.788Z] v3.0.0-dev.17 [2023-03-15T12:31:54.788Z] v3.0.0-dev.18 [2023-03-15T12:31:54.788Z] v3.0.0-dev.19 [2023-03-15T12:31:54.788Z] v3.0.0-dev.2 [2023-03-15T12:31:54.788Z] v3.0.0-dev.20 [2023-03-15T12:31:54.788Z] v3.0.0-dev.21 [2023-03-15T12:31:54.788Z] v3.0.0-dev.22 [2023-03-15T12:31:54.788Z] v3.0.0-dev.3 [2023-03-15T12:31:54.788Z] v3.0.0-dev.4 [2023-03-15T12:31:54.788Z] v3.0.0-dev.5 [2023-03-15T12:31:54.788Z] v3.0.0-dev.6 [2023-03-15T12:31:54.788Z] v3.0.0-dev.7 [2023-03-15T12:31:54.788Z] v3.0.0-dev.8 [2023-03-15T12:31:54.788Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-15T12:31:55.074Z] + lftools sign git-tag v3.0.0-dev.22 [2023-03-15T12:31:55.642Z] Signing Git tag with Sigul... [2023-03-15T12:31:55.642Z] Signing v3.0.0-dev.22 [Pipeline] echo [2023-03-15T12:31:55.909Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:31:56.192Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-15T12:31:56.198Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-15T12:31:56.225Z] $ docker stop --time=1 9176f352284b128fcc154be8f57c161c27ecfe2d8eab0f8dd8dfbd9b57cdfdef [2023-03-15T12:31:57.480Z] $ docker rm -f --volumes 9176f352284b128fcc154be8f57c161c27ecfe2d8eab0f8dd8dfbd9b57cdfdef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-15T12:31:57.870Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T12:31:57.870Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:31:58.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T12:31:58.171Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:31:58.248Z] prd-ubuntu20.04-docker-8c-8g-445 does not seem to be running inside a container [2023-03-15T12:31:58.286Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T12:31:58.581Z] $ docker top 8f9351e34196abb09908509cb7d3da38e2975a63a1cb139a6c316899bd9da7d6 -eo pid,comm [2023-03-15T12:31:58.618Z] 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-03-15T12:31:58.618Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T12:31:58.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T12:31:58.644Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T12:31:58.752Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T12:31:58.762Z] $ docker exec 8f9351e34196abb09908509cb7d3da38e2975a63a1cb139a6c316899bd9da7d6 ssh-agent [2023-03-15T12:31:58.873Z] SSH_AUTH_SOCK=/tmp/ssh-8WBm0a1CVnTQ/agent.32 [2023-03-15T12:31:58.873Z] SSH_AGENT_PID=38 [2023-03-15T12:31:58.877Z] Running ssh-add (command line suppressed) [2023-03-15T12:31:58.991Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4507536395724144070.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4507536395724144070.key) [2023-03-15T12:31:58.997Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T12:31:59.279Z] + git semver bump pre [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,508 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,508 [bump_version] DEBUG bumping version:3.0.0-dev.22 on axis:pre with prefix:dev [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,508 [bump_version] DEBUG bumped version:3.0.0-dev.23 [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,508 [write_version] DEBUG write version:3.0.0-dev.23 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,508 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,508 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,510 [execute] INFO git cat-file --batch-check [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,510 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,516 [execute] INFO git cat-file --batch [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T12:31:59.538Z] 2023-03-15 12:31:59,523 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T12:31:59.538Z] 3.0.0-dev.23 [Pipeline] } [2023-03-15T12:31:59.812Z] $ docker exec --env ******** --env ******** 8f9351e34196abb09908509cb7d3da38e2975a63a1cb139a6c316899bd9da7d6 ssh-agent -k [2023-03-15T12:31:59.911Z] unset SSH_AUTH_SOCK; [2023-03-15T12:31:59.912Z] unset SSH_AGENT_PID; [2023-03-15T12:31:59.912Z] echo Agent pid 38 killed; [2023-03-15T12:31:59.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T12:32:00.206Z] + git semver [Pipeline] } [2023-03-15T12:32:00.484Z] $ docker stop --time=1 8f9351e34196abb09908509cb7d3da38e2975a63a1cb139a6c316899bd9da7d6 [2023-03-15T12:32:01.738Z] $ docker rm -f --volumes 8f9351e34196abb09908509cb7d3da38e2975a63a1cb139a6c316899bd9da7d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T12:32:02.056Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T12:32:02.056Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:32:02.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T12:32:02.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:32:02.424Z] prd-ubuntu20.04-docker-8c-8g-445 does not seem to be running inside a container [2023-03-15T12:32:02.463Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T12:32:02.805Z] $ docker top 819e943e4566ac4b63b642c067ed7ad3d385ce7d2d0cfa1ebdad2bf0a6bf8890 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T12:32:02.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T12:32:02.885Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T12:32:03.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T12:32:03.013Z] $ docker exec 819e943e4566ac4b63b642c067ed7ad3d385ce7d2d0cfa1ebdad2bf0a6bf8890 ssh-agent [2023-03-15T12:32:03.112Z] SSH_AUTH_SOCK=/tmp/ssh-nMqGVRnSNlsV/agent.33 [2023-03-15T12:32:03.112Z] SSH_AGENT_PID=39 [2023-03-15T12:32:03.117Z] Running ssh-add (command line suppressed) [2023-03-15T12:32:03.224Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1183798572037633427.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1183798572037633427.key) [2023-03-15T12:32:03.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T12:32:03.520Z] + git semver push [2023-03-15T12:32:03.779Z] 2023-03-15 12:32:03,691 [run_push] DEBUG push [2023-03-15T12:32:03.779Z] 2023-03-15 12:32:03,692 [execute] INFO git cat-file --batch-check [2023-03-15T12:32:03.779Z] 2023-03-15 12:32:03,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T12:32:03.779Z] 2023-03-15 12:32:03,694 [execute] INFO git rev-list f48bd9683935ef2f0fb633a49a9519a3015edaec -- [2023-03-15T12:32:03.779Z] 2023-03-15 12:32:03,695 [execute] DEBUG Popen(['git', 'rev-list', 'f48bd9683935ef2f0fb633a49a9519a3015edaec', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-15T12:32:03.779Z] 2023-03-15 12:32:03,702 [execute] INFO git fetch -v origin [2023-03-15T12:32:03.779Z] 2023-03-15 12:32:03,702 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-15T12:32:04.345Z] 2023-03-15 12:32:04,217 [run_push] DEBUG no remote changes detected [2023-03-15T12:32:04.345Z] 2023-03-15 12:32:04,217 [execute] INFO git push origin semver [2023-03-15T12:32:04.345Z] 2023-03-15 12:32:04,218 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-15T12:32:05.284Z] 2023-03-15 12:32:05,023 [run_push] DEBUG push all version tags [2023-03-15T12:32:05.284Z] 2023-03-15 12:32:05,024 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-15T12:32:05.284Z] 2023-03-15 12:32:05,024 [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-03-15T12:32:06.224Z] 2023-03-15 12:32:05,920 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T12:32:06.224Z] 3.0.0-dev.23 [Pipeline] } [2023-03-15T12:32:06.239Z] $ docker exec --env ******** --env ******** 819e943e4566ac4b63b642c067ed7ad3d385ce7d2d0cfa1ebdad2bf0a6bf8890 ssh-agent -k [2023-03-15T12:32:06.328Z] unset SSH_AUTH_SOCK; [2023-03-15T12:32:06.328Z] unset SSH_AGENT_PID; [2023-03-15T12:32:06.328Z] echo Agent pid 39 killed; [2023-03-15T12:32:06.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T12:32:06.629Z] + git semver [Pipeline] } [2023-03-15T12:32:06.909Z] $ docker stop --time=1 819e943e4566ac4b63b642c067ed7ad3d385ce7d2d0cfa1ebdad2bf0a6bf8890 [2023-03-15T12:32:08.214Z] $ docker rm -f --volumes 819e943e4566ac4b63b642c067ed7ad3d385ce7d2d0cfa1ebdad2bf0a6bf8890 [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-03-15T12:32:08.780Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-03-15T12:32:08.781Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-15T12:32:08.781Z] total 16 [2023-03-15T12:32:08.781Z] drwxr-xr-x 3 root root 4096 Mar 15 12:22 . [2023-03-15T12:32:08.781Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 12:31 .. [2023-03-15T12:32:08.781Z] drwxr-xr-x 2 root root 4096 Mar 15 12:22 cost [2023-03-15T12:32:08.781Z] -rw-r--r-- 1 root root 88 Mar 15 12:22 cost.csv [2023-03-15T12:32:08.781Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-15T12:32:08.781Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-15T12:32:08.781Z] total 16 [2023-03-15T12:32:08.781Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 12:22 . [2023-03-15T12:32:08.781Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 12:31 .. [2023-03-15T12:32:08.781Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 12:22 cost [2023-03-15T12:32:08.781Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 15 12:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:32:09.070Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:32:09.929Z] ---> package-listing.sh [2023-03-15T12:32:09.929Z] ++ facter osfamily [2023-03-15T12:32:09.929Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T12:32:10.188Z] + OS_FAMILY=debian [2023-03-15T12:32:10.188Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-03-15T12:32:10.188Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T12:32:10.188Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T12:32:10.188Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T12:32:10.188Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T12:32:10.188Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-03-15T12:32:10.188Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T12:32:10.188Z] + case "${OS_FAMILY}" in [2023-03-15T12:32:10.188Z] + dpkg -l [2023-03-15T12:32:10.188Z] + grep '^ii' [2023-03-15T12:32:10.188Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T12:32:10.188Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T12:32:10.188Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T12:32:10.188Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-03-15T12:32:10.188Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-03-15T12:32:10.188Z] + 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-03-15T12:32:10.229Z] 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-03-15T12:32:10.566Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T12:32:10.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T12:32:10.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T12:32:10.984Z] prd-ubuntu20.04-docker-8c-8g-445 does not seem to be running inside a container [2023-03-15T12:32:11.022Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T12:32:11.243Z] $ docker top 32db36bc9104f1ee1975a5bcc4e9e90e49fc8801d1043625b88761ee1be816b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T12:32:11.580Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T12:32:11.859Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T12:32:12.140Z] + ls /var/log/sa-host [2023-03-15T12:32:12.140Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T12:32:12.279Z] provisioning config files... [2023-03-15T12:32:12.288Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15388894121858981330tmp [Pipeline] { [Pipeline] echo [2023-03-15T12:32:12.307Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:32:12.588Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T12:32:12.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:32:12.916Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T12:32:12.923Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:32:13.202Z] ---> sudo-logs.sh [2023-03-15T12:32:13.202Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T12:32:13.237Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:32:13.519Z] ---> job-cost.sh [2023-03-15T12:32:13.519Z] lf-activate-venv: SKIPPING [2023-03-15T12:32:13.519Z] DEBUG: total: 0.2199999988079071 [2023-03-15T12:32:13.519Z] INFO: Retrieving Stack Cost... [2023-03-15T12:32:13.778Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T12:32:14.347Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T12:32:14.359Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T12:32:14.641Z] ---> logs-deploy.sh [2023-03-15T12:32:14.642Z] lf-activate-venv: SKIPPING [2023-03-15T12:32:14.642Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/94 [2023-03-15T12:32:14.642Z] INFO: archiving workspace using pattern(s): [2023-03-15T12:32:15.578Z] Archives upload complete. [2023-03-15T12:32:15.578Z] INFO: archiving logs to Nexus