Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f1e673898a8ef42faca444c63d377d06123e36f 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-ssh1143336190120074770.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-ssh5343580967061981451.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-ssh9094491724132866663.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-ssh4791818962699783340.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-ssh17962518515499722942.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-91 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 3f1e673898a8ef42faca444c63d377d06123e36f (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 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 Commit message: "Merge pull request #356 from hahattan/bump-dep" > git rev-list --no-walk 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T08:22:22.255Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T08:22:22.312Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T08:22:22.324Z] ========================================================= [2023-03-14T08:22:22.324Z] EdgeX Global Pipelines Version Info [2023-03-14T08:22:22.324Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:22:23.039Z] ------------------- [2023-03-14T08:22:23.039Z] stable info: [2023-03-14T08:22:23.039Z] ------------------- [2023-03-14T08:22:23.039Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T08:22:23.039Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T08:22:23.039Z] Message: update stable to v1.0.245 [2023-03-14T08:22:23.609Z] ------------------- [2023-03-14T08:22:23.609Z] experimental info: [2023-03-14T08:22:23.609Z] ------------------- [2023-03-14T08:22:23.609Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T08:22:23.609Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T08:22:23.609Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T08:22:23.798Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-14T08:22:23.811Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-14T08:22:23.823Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T08:22:23.831Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T08:22:23.839Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T08:22:23.847Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T08:22:23.854Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T08:22:23.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T08:22:23.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T08:22:23.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T08:22:23.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T08:22:23.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-14T08:22:23.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T08:22:23.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T08:22:23.947Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T08:22:23.963Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T08:22:23.981Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T08:22:24.000Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T08:22:24.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T08:22:24.033Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T08:22:24.044Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T08:22:24.061Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T08:22:24.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T08:22:24.087Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T08:22:24.096Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T08:22:24.107Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T08:22:24.119Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T08:22:24.132Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-14T08:22:24.142Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-14T08:22:24.153Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-14T08:22:24.165Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f1e673898a8ef42faca444c63d377d06123e36f [Pipeline] echo [2023-03-14T08:22:24.176Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f1e673 [Pipeline] echo [2023-03-14T08:22:24.187Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T08:22:24.232Z] provisioning config files... [2023-03-14T08:22:24.246Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2257415846316917535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:22:24.548Z] ---> docker-login.sh [2023-03-14T08:22:24.548Z] nexus3.edgexfoundry.org:10001 [2023-03-14T08:22:24.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:22:24.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:22:24.808Z] Configure a credential helper to remove this warning. See [2023-03-14T08:22:24.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:22:24.808Z] [2023-03-14T08:22:24.808Z] Login Succeeded [2023-03-14T08:22:24.808Z] nexus3.edgexfoundry.org:10002 [2023-03-14T08:22:25.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:22:25.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:22:25.067Z] Configure a credential helper to remove this warning. See [2023-03-14T08:22:25.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:22:25.067Z] [2023-03-14T08:22:25.067Z] Login Succeeded [2023-03-14T08:22:25.067Z] nexus3.edgexfoundry.org:10003 [2023-03-14T08:22:25.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:22:25.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:22:25.067Z] Configure a credential helper to remove this warning. See [2023-03-14T08:22:25.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:22:25.067Z] [2023-03-14T08:22:25.067Z] Login Succeeded [2023-03-14T08:22:25.067Z] nexus3.edgexfoundry.org:10004 [2023-03-14T08:22:25.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:22:25.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:22:25.326Z] Configure a credential helper to remove this warning. See [2023-03-14T08:22:25.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:22:25.326Z] [2023-03-14T08:22:25.326Z] Login Succeeded [2023-03-14T08:22:25.326Z] docker.io [2023-03-14T08:22:25.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:22:25.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:22:25.586Z] Configure a credential helper to remove this warning. See [2023-03-14T08:22:25.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:22:25.586Z] [2023-03-14T08:22:25.586Z] Login Succeeded [2023-03-14T08:22:25.586Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T08:22:25.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T08:22:25.941Z] + git rev-list -1 --merges 3f1e673898a8ef42faca444c63d377d06123e36f~1..3f1e673898a8ef42faca444c63d377d06123e36f [Pipeline] echo [2023-03-14T08:22:25.987Z] -----------> git rev-list -1 --merges 3f1e673898a8ef42faca444c63d377d06123e36f~1..3f1e673898a8ef42faca444c63d377d06123e36f 3f1e673898a8ef42faca444c63d377d06123e36f [2023-03-14T08:22:25.987Z] 3f1e673898a8ef42faca444c63d377d06123e36f [false] [Pipeline] sh [2023-03-14T08:22:26.279Z] + git log --format=format:%s -1 3f1e673898a8ef42faca444c63d377d06123e36f [Pipeline] echo [2023-03-14T08:22:26.296Z] ========================================================= [2023-03-14T08:22:26.296Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T08:22:26.296Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T08:22:26.611Z] + git log --format=format:%s -1 3f1e673898a8ef42faca444c63d377d06123e36f [Pipeline] echo [2023-03-14T08:22:26.622Z] [semverPrep] GIT_COMMIT: 3f1e673898a8ef42faca444c63d377d06123e36f, Commit Message: Merge pull request #356 from hahattan/bump-dep [Pipeline] echo [2023-03-14T08:22:26.630Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T08:22:26.995Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T08:22:26.995Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T08:22:26.995Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T08:22:26.995Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T08:22:26.995Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T08:22:26.995Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T08:22:26.995Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:22:27.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T08:22:27.392Z] [2023-03-14T08:22:27.392Z] 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-14T08:22:27.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T08:22:27.697Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T08:22:27.697Z] b85a868b505f: Pulling fs layer [2023-03-14T08:22:27.697Z] e2be974225ed: Pulling fs layer [2023-03-14T08:22:27.697Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T08:22:27.697Z] 988bab9f4d93: Pulling fs layer [2023-03-14T08:22:27.697Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T08:22:27.697Z] eaf3925da568: Pulling fs layer [2023-03-14T08:22:27.697Z] bab4dde63d76: Pulling fs layer [2023-03-14T08:22:27.697Z] bde34c3a00c8: Pulling fs layer [2023-03-14T08:22:27.697Z] b352a97aabf1: Pulling fs layer [2023-03-14T08:22:27.697Z] 4872d77fe225: Pulling fs layer [2023-03-14T08:22:27.697Z] 5851b861e8e6: Pulling fs layer [2023-03-14T08:22:27.697Z] bde34c3a00c8: Waiting [2023-03-14T08:22:27.697Z] b352a97aabf1: Waiting [2023-03-14T08:22:27.697Z] 4872d77fe225: Waiting [2023-03-14T08:22:27.697Z] 5851b861e8e6: Waiting [2023-03-14T08:22:27.697Z] 988bab9f4d93: Waiting [2023-03-14T08:22:27.697Z] bab4dde63d76: Waiting [2023-03-14T08:22:27.697Z] 1469e6f7b9e6: Waiting [2023-03-14T08:22:27.697Z] eaf3925da568: Waiting [2023-03-14T08:22:27.697Z] e2be974225ed: Verifying Checksum [2023-03-14T08:22:27.697Z] e2be974225ed: Download complete [2023-03-14T08:22:27.697Z] 988bab9f4d93: Verifying Checksum [2023-03-14T08:22:27.697Z] 988bab9f4d93: Download complete [2023-03-14T08:22:27.957Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T08:22:27.957Z] 1469e6f7b9e6: Download complete [2023-03-14T08:22:27.957Z] eaf3925da568: Download complete [2023-03-14T08:22:27.957Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T08:22:27.957Z] 339a4e72a1f5: Download complete [2023-03-14T08:22:27.957Z] bde34c3a00c8: Verifying Checksum [2023-03-14T08:22:27.957Z] bde34c3a00c8: Download complete [2023-03-14T08:22:27.957Z] b352a97aabf1: Download complete [2023-03-14T08:22:27.957Z] 4872d77fe225: Verifying Checksum [2023-03-14T08:22:27.957Z] 4872d77fe225: Download complete [2023-03-14T08:22:27.957Z] 5851b861e8e6: Download complete [2023-03-14T08:22:27.957Z] b85a868b505f: Verifying Checksum [2023-03-14T08:22:27.957Z] b85a868b505f: Download complete [2023-03-14T08:22:28.523Z] bab4dde63d76: Verifying Checksum [2023-03-14T08:22:28.523Z] bab4dde63d76: Download complete [2023-03-14T08:22:29.459Z] b85a868b505f: Pull complete [2023-03-14T08:22:29.459Z] e2be974225ed: Pull complete [2023-03-14T08:22:30.027Z] 339a4e72a1f5: Pull complete [2023-03-14T08:22:30.027Z] 988bab9f4d93: Pull complete [2023-03-14T08:22:30.289Z] 1469e6f7b9e6: Pull complete [2023-03-14T08:22:30.549Z] eaf3925da568: Pull complete [2023-03-14T08:22:32.454Z] bab4dde63d76: Pull complete [2023-03-14T08:22:32.454Z] bde34c3a00c8: Pull complete [2023-03-14T08:22:32.454Z] b352a97aabf1: Pull complete [2023-03-14T08:22:32.454Z] 4872d77fe225: Pull complete [2023-03-14T08:22:32.454Z] 5851b861e8e6: Pull complete [2023-03-14T08:22:32.454Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T08:22:32.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T08:22:32.454Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:22:32.548Z] prd-ubuntu20.04-docker-8c-8g-91 does not seem to be running inside a container [2023-03-14T08:22:32.584Z] $ 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-14T08:22:34.937Z] $ docker top 854c4169afcd2ad66ac169a28a15ed839f7e00299ad2fc67c170794f40ea3fa1 -eo pid,comm [2023-03-14T08:22:34.997Z] 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-14T08:22:34.997Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T08:22:35.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T08:22:35.038Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T08:22:35.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T08:22:35.158Z] $ docker exec 854c4169afcd2ad66ac169a28a15ed839f7e00299ad2fc67c170794f40ea3fa1 ssh-agent [2023-03-14T08:22:35.268Z] SSH_AUTH_SOCK=/tmp/ssh-WuyK1wAvoTFX/agent.34 [2023-03-14T08:22:35.268Z] SSH_AGENT_PID=40 [2023-03-14T08:22:35.275Z] Running ssh-add (command line suppressed) [2023-03-14T08:22:35.391Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_956098576398052708.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_956098576398052708.key) [2023-03-14T08:22:35.400Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T08:22:35.687Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T08:22:35.709Z] $ docker exec --env ******** --env ******** 854c4169afcd2ad66ac169a28a15ed839f7e00299ad2fc67c170794f40ea3fa1 ssh-agent -k [2023-03-14T08:22:35.807Z] unset SSH_AUTH_SOCK; [2023-03-14T08:22:35.808Z] unset SSH_AGENT_PID; [2023-03-14T08:22:35.808Z] echo Agent pid 40 killed; [2023-03-14T08:22:35.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T08:22:35.839Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T08:22:35.839Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T08:22:35.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T08:22:35.968Z] $ docker exec 854c4169afcd2ad66ac169a28a15ed839f7e00299ad2fc67c170794f40ea3fa1 ssh-agent [2023-03-14T08:22:36.085Z] SSH_AUTH_SOCK=/tmp/ssh-twzp2CBoaRDV/agent.73 [2023-03-14T08:22:36.085Z] SSH_AGENT_PID=79 [2023-03-14T08:22:36.090Z] Running ssh-add (command line suppressed) [2023-03-14T08:22:36.196Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13504280262365331775.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13504280262365331775.key) [2023-03-14T08:22:36.205Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T08:22:36.491Z] + git semver init [2023-03-14T08:22:36.751Z] 2023-03-14 08:22:36,686 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T08:22:36.751Z] 2023-03-14 08:22:36,686 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-03-14T08:22:36.751Z] 2023-03-14 08:22:36,687 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-03-14T08:22:36.751Z] 2023-03-14 08:22:36,687 [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-14T08:22:38.129Z] 2023-03-14 08:22:37,874 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-03-14T08:22:38.129Z] 2023-03-14 08:22:37,875 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-03-14T08:22:38.129Z] 2023-03-14 08:22:37,875 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-14T08:22:38.129Z] 2023-03-14 08:22:37,875 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-14T08:22:38.129Z] 3.0.0-dev.21 [Pipeline] } [2023-03-14T08:22:38.142Z] $ docker exec --env ******** --env ******** 854c4169afcd2ad66ac169a28a15ed839f7e00299ad2fc67c170794f40ea3fa1 ssh-agent -k [2023-03-14T08:22:38.260Z] unset SSH_AUTH_SOCK; [2023-03-14T08:22:38.260Z] unset SSH_AGENT_PID; [2023-03-14T08:22:38.261Z] echo Agent pid 79 killed; [2023-03-14T08:22:38.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T08:22:38.573Z] + git semver [Pipeline] } [2023-03-14T08:22:38.848Z] $ docker stop --time=1 854c4169afcd2ad66ac169a28a15ed839f7e00299ad2fc67c170794f40ea3fa1 [2023-03-14T08:22:40.147Z] $ docker rm -f --volumes 854c4169afcd2ad66ac169a28a15ed839f7e00299ad2fc67c170794f40ea3fa1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T08:22:40.484Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T08:22:40.695Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T08:22:40.698Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [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-14T08:22:40.809Z] provisioning config files... [2023-03-14T08:22:40.821Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9378423109944752963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:22:41.139Z] ---> docker-login.sh [2023-03-14T08:22:41.139Z] nexus3.edgexfoundry.org:10001 [2023-03-14T08:22:41.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:22:41.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:22:41.139Z] Configure a credential helper to remove this warning. See [2023-03-14T08:22:41.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:22:41.139Z] [2023-03-14T08:22:41.139Z] Login Succeeded [2023-03-14T08:22:41.139Z] nexus3.edgexfoundry.org:10002 [2023-03-14T08:22:41.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:22:41.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:22:41.139Z] Configure a credential helper to remove this warning. See [2023-03-14T08:22:41.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:22:41.139Z] [2023-03-14T08:22:41.139Z] Login Succeeded [2023-03-14T08:22:41.139Z] nexus3.edgexfoundry.org:10003 [2023-03-14T08:22:41.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:22:41.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:22:41.408Z] Configure a credential helper to remove this warning. See [2023-03-14T08:22:41.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:22:41.408Z] [2023-03-14T08:22:41.408Z] Login Succeeded [2023-03-14T08:22:41.408Z] nexus3.edgexfoundry.org:10004 [2023-03-14T08:22:41.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:22:41.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:22:41.408Z] Configure a credential helper to remove this warning. See [2023-03-14T08:22:41.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:22:41.408Z] [2023-03-14T08:22:41.408Z] Login Succeeded [2023-03-14T08:22:41.408Z] docker.io [2023-03-14T08:22:41.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:22:41.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:22:41.668Z] Configure a credential helper to remove this warning. See [2023-03-14T08:22:41.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:22:41.668Z] [2023-03-14T08:22:41.668Z] Login Succeeded [2023-03-14T08:22:41.668Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T08:22:41.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T08:22:41.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T08:22:41.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T08:22:41.761Z] ========================================================= [2023-03-14T08:22:41.761Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T08:22:41.761Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:22:42.061Z] + 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-14T08:22:42.061Z] Sending build context to Docker daemon 23.4MB [2023-03-14T08:22:42.061Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T08:22:42.061Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T08:22:42.323Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T08:22:42.323Z] 63b65145d645: Pulling fs layer [2023-03-14T08:22:42.323Z] a2d21d5440eb: Pulling fs layer [2023-03-14T08:22:42.323Z] 935e6c44a52c: Pulling fs layer [2023-03-14T08:22:42.323Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T08:22:42.323Z] 30dea6a524f1: Pulling fs layer [2023-03-14T08:22:42.323Z] 94cc34f8dd06: Waiting [2023-03-14T08:22:42.323Z] a2aff8979fd8: Pulling fs layer [2023-03-14T08:22:42.323Z] 6808be2612f2: Pulling fs layer [2023-03-14T08:22:42.323Z] a2aff8979fd8: Waiting [2023-03-14T08:22:42.323Z] f25807f1079a: Pulling fs layer [2023-03-14T08:22:42.323Z] 6808be2612f2: Waiting [2023-03-14T08:22:42.323Z] f25807f1079a: Waiting [2023-03-14T08:22:42.323Z] a2d21d5440eb: Download complete [2023-03-14T08:22:42.323Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T08:22:42.323Z] 94cc34f8dd06: Download complete [2023-03-14T08:22:42.323Z] 63b65145d645: Verifying Checksum [2023-03-14T08:22:42.323Z] 63b65145d645: Download complete [2023-03-14T08:22:42.323Z] a2aff8979fd8: Verifying Checksum [2023-03-14T08:22:42.323Z] a2aff8979fd8: Download complete [2023-03-14T08:22:42.593Z] 63b65145d645: Pull complete [2023-03-14T08:22:42.593Z] a2d21d5440eb: Pull complete [2023-03-14T08:22:42.860Z] f25807f1079a: Verifying Checksum [2023-03-14T08:22:42.860Z] f25807f1079a: Download complete [2023-03-14T08:22:43.121Z] 935e6c44a52c: Verifying Checksum [2023-03-14T08:22:43.121Z] 935e6c44a52c: Download complete [2023-03-14T08:22:43.379Z] 6808be2612f2: Verifying Checksum [2023-03-14T08:22:46.667Z] 935e6c44a52c: Pull complete [2023-03-14T08:22:46.667Z] 94cc34f8dd06: Pull complete [2023-03-14T08:22:46.667Z] 30dea6a524f1: Pull complete [2023-03-14T08:22:46.667Z] a2aff8979fd8: Pull complete [2023-03-14T08:22:49.202Z] 6808be2612f2: Pull complete [2023-03-14T08:22:50.137Z] f25807f1079a: Pull complete [2023-03-14T08:22:50.137Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T08:22:50.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T08:22:50.137Z] ---> 3b553350e43f [2023-03-14T08:22:50.137Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T08:22:53.448Z] ---> Running in 09cb12a1cb30 [2023-03-14T08:22:53.448Z] Removing intermediate container 09cb12a1cb30 [2023-03-14T08:22:53.448Z] ---> 6b262c78d7d1 [2023-03-14T08:22:53.448Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T08:22:53.448Z] ---> Running in d0b03838208f [2023-03-14T08:22:53.448Z] Removing intermediate container d0b03838208f [2023-03-14T08:22:53.448Z] ---> fee18bdc6ab0 [2023-03-14T08:22:53.448Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T08:22:53.448Z] ---> Running in 67b3e6a0a04a [2023-03-14T08:22:53.706Z] Removing intermediate container 67b3e6a0a04a [2023-03-14T08:22:53.706Z] ---> 1b380a901576 [2023-03-14T08:22:53.706Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-14T08:22:53.706Z] ---> Running in a46b4653c9d6 [2023-03-14T08:22:53.706Z] Removing intermediate container a46b4653c9d6 [2023-03-14T08:22:53.706Z] ---> bf0cb361139c [2023-03-14T08:22:53.706Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T08:22:53.706Z] ---> Running in da9354ba72e1 [2023-03-14T08:22:54.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T08:22:54.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T08:22:54.533Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T08:22:54.533Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T08:22:54.533Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T08:22:54.533Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T08:22:54.533Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T08:22:54.533Z] OK: 269 MiB in 57 packages [2023-03-14T08:22:55.100Z] Removing intermediate container da9354ba72e1 [2023-03-14T08:22:55.100Z] ---> 4d4521022319 [2023-03-14T08:22:55.100Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-14T08:22:55.361Z] ---> 4efdad1124c5 [2023-03-14T08:22:55.361Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T08:22:55.361Z] ---> Running in 86139b4794d1 [2023-03-14T08:22:55.775Z] Still waiting to schedule task [2023-03-14T08:22:55.776Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-14T08:23:21.904Z] Removing intermediate container 86139b4794d1 [2023-03-14T08:23:21.904Z] ---> d38af856b014 [2023-03-14T08:23:21.904Z] Step 10/12 : COPY . . [2023-03-14T08:23:21.904Z] ---> a5673823dee9 [2023-03-14T08:23:21.904Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T08:23:21.904Z] ---> Running in 4011f9ca0e80 [2023-03-14T08:23:21.904Z] Removing intermediate container 4011f9ca0e80 [2023-03-14T08:23:21.904Z] ---> e43430812793 [2023-03-14T08:23:21.904Z] Step 12/12 : RUN $MAKE [2023-03-14T08:23:21.904Z] ---> Running in 7a872fa3b477 [2023-03-14T08:23:21.904Z] noop [2023-03-14T08:23:21.904Z] Removing intermediate container 7a872fa3b477 [2023-03-14T08:23:21.904Z] ---> c543f71cdad4 [2023-03-14T08:23:21.904Z] Successfully built c543f71cdad4 [2023-03-14T08:23:21.904Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:23:22.218Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T08:23:22.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:23:22.289Z] prd-ubuntu20.04-docker-8c-8g-91 does not seem to be running inside a container [2023-03-14T08:23:22.324Z] $ 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-14T08:23:22.686Z] $ docker top 2c2a12bd81833cc663f1c45414acfa385512f2359c7f94d99092ecd4cfe5208c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T08:23:23.021Z] + go version [2023-03-14T08:23:23.022Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T08:23:23.035Z] $ docker stop --time=1 2c2a12bd81833cc663f1c45414acfa385512f2359c7f94d99092ecd4cfe5208c [2023-03-14T08:23:24.313Z] $ docker rm -f --volumes 2c2a12bd81833cc663f1c45414acfa385512f2359c7f94d99092ecd4cfe5208c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:23:24.711Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T08:23:24.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:23:24.780Z] prd-ubuntu20.04-docker-8c-8g-91 does not seem to be running inside a container [2023-03-14T08:23:24.813Z] $ 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-14T08:23:25.177Z] $ docker top 68199b800df21308a13a3ef9a0e3184e37a4d0da9d9d45ef673d7e0d0bc03812 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T08:23:25.523Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-14T08:23:25.821Z] + make test [2023-03-14T08:23:25.821Z] go test ./... -coverprofile=coverage.out [2023-03-14T08:23:31.091Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-14T08:23:41.061Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-14T08:23:41.061Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2023-03-14T08:23:49.170Z] go vet ./... [2023-03-14T08:23:52.467Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T08:23:52.467Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T08:23:52.467Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T08:23:52.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T08:23:52.494Z] $ docker stop --time=1 68199b800df21308a13a3ef9a0e3184e37a4d0da9d9d45ef673d7e0d0bc03812 [2023-03-14T08:23:55.018Z] $ docker rm -f --volumes 68199b800df21308a13a3ef9a0e3184e37a4d0da9d9d45ef673d7e0d0bc03812 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T08:23:55.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T08:23:55.523Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T08:23:56.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T08:23:56.319Z] + ls -al . [2023-03-14T08:23:56.319Z] total 192 [2023-03-14T08:23:56.319Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 08:23 . [2023-03-14T08:23:56.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 08:22 .. [2023-03-14T08:23:56.319Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 08:22 .git [2023-03-14T08:23:56.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:22 .github [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 08:22 .gitignore [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 08:22 .golangci.yml [2023-03-14T08:23:56.319Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 08:22 .semver [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 08:22 Attribution.txt [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 08:22 CHANGELOG.md [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 08:22 Dockerfile [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 08:22 GOVERNANCE.md [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 08:22 Jenkinsfile [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 08:22 LICENSE [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 1661 Mar 14 08:22 Makefile [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 08:22 OWNERS.md [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 08:22 README.md [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 08:22 VERSION [2023-03-14T08:23:56.319Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 08:22 bin [2023-03-14T08:23:56.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:22 cmd [2023-03-14T08:23:56.319Z] -rw-r--r-- 1 jenkins jenkins 44127 Mar 14 08:23 coverage.out [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 08:22 go.mod [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 08:22 go.sum [2023-03-14T08:23:56.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:22 internal [2023-03-14T08:23:56.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 08:22 snap [2023-03-14T08:23:56.319Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 08:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:23:56.743Z] + 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=3f1e673898a8ef42faca444c63d377d06123e36f --label arch=amd64 --label version=3.0.0-dev.21 . [2023-03-14T08:23:56.743Z] Sending build context to Docker daemon 23.45MB [2023-03-14T08:23:56.743Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T08:23:56.743Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-14T08:23:56.743Z] ---> c543f71cdad4 [2023-03-14T08:23:56.743Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T08:23:57.003Z] ---> Running in 728de074992a [2023-03-14T08:23:57.003Z] Removing intermediate container 728de074992a [2023-03-14T08:23:57.003Z] ---> 7bec8613bf20 [2023-03-14T08:23:57.003Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T08:23:57.003Z] ---> Running in 2e33b4a07f28 [2023-03-14T08:23:57.263Z] Removing intermediate container 2e33b4a07f28 [2023-03-14T08:23:57.263Z] ---> 10769e5e8457 [2023-03-14T08:23:57.263Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-14T08:23:57.263Z] ---> Running in bdd48d37622b [2023-03-14T08:23:57.263Z] Removing intermediate container bdd48d37622b [2023-03-14T08:23:57.263Z] ---> 1bb1637b9e54 [2023-03-14T08:23:57.263Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-14T08:23:57.263Z] ---> Running in f5c155cb9602 [2023-03-14T08:23:57.523Z] Removing intermediate container f5c155cb9602 [2023-03-14T08:23:57.523Z] ---> 019d6dcaf72c [2023-03-14T08:23:57.523Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T08:23:57.523Z] ---> Running in 9cc461a25f9f [2023-03-14T08:23:57.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T08:23:57.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T08:23:58.042Z] OK: 269 MiB in 57 packages [2023-03-14T08:23:58.301Z] Removing intermediate container 9cc461a25f9f [2023-03-14T08:23:58.301Z] ---> fa4509837642 [2023-03-14T08:23:58.301Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-14T08:23:58.561Z] ---> a5dba5f36b92 [2023-03-14T08:23:58.561Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T08:23:58.561Z] ---> Running in b5ea7188d09c [2023-03-14T08:23:59.498Z] Removing intermediate container b5ea7188d09c [2023-03-14T08:23:59.498Z] ---> 452752694fe9 [2023-03-14T08:23:59.498Z] Step 10/25 : COPY . . [2023-03-14T08:24:00.064Z] ---> bc4527921c01 [2023-03-14T08:24:00.065Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T08:24:00.065Z] ---> Running in 563ed9fe735e [2023-03-14T08:24:00.065Z] Removing intermediate container 563ed9fe735e [2023-03-14T08:24:00.065Z] ---> b7ecb777c3dd [2023-03-14T08:24:00.065Z] Step 12/25 : RUN $MAKE [2023-03-14T08:24:00.065Z] ---> Running in a5c14a522720 [2023-03-14T08:24:00.323Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-14T08:24:22.251Z] Removing intermediate container a5c14a522720 [2023-03-14T08:24:22.251Z] ---> ca9532717a19 [2023-03-14T08:24:22.251Z] Step 13/25 : FROM alpine:3.16 [2023-03-14T08:24:22.251Z] 3.16: Pulling from library/alpine [2023-03-14T08:24:22.251Z] ef5531b6e74e: Pulling fs layer [2023-03-14T08:24:22.251Z] ef5531b6e74e: Download complete [2023-03-14T08:24:22.251Z] ef5531b6e74e: Pull complete [2023-03-14T08:24:22.251Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T08:24:22.251Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T08:24:22.251Z] ---> dfd21b5a31f5 [2023-03-14T08:24:22.251Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-14T08:24:22.251Z] ---> Running in fd195dd50176 [2023-03-14T08:24:22.251Z] Removing intermediate container fd195dd50176 [2023-03-14T08:24:22.251Z] ---> 605fbdaf35dd [2023-03-14T08:24:22.251Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-14T08:24:22.251Z] ---> Running in 415af3aadee5 [2023-03-14T08:24:22.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T08:24:22.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-14T08:24:22.251Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-14T08:24:22.251Z] Executing busybox-1.35.0-r17.trigger [2023-03-14T08:24:22.251Z] OK: 6 MiB in 15 packages [2023-03-14T08:24:22.251Z] Removing intermediate container 415af3aadee5 [2023-03-14T08:24:22.251Z] ---> 104402ae8667 [2023-03-14T08:24:22.251Z] Step 16/25 : WORKDIR / [2023-03-14T08:24:22.251Z] ---> Running in 47ab154a13a2 [2023-03-14T08:24:22.251Z] Removing intermediate container 47ab154a13a2 [2023-03-14T08:24:22.251Z] ---> 81e1098da72b [2023-03-14T08:24:22.251Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-14T08:24:22.251Z] ---> d49f6faab66c [2023-03-14T08:24:22.251Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-14T08:24:22.251Z] ---> d1522a0b5a9d [2023-03-14T08:24:22.251Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-14T08:24:22.251Z] ---> f4a36f28d592 [2023-03-14T08:24:22.251Z] Step 20/25 : EXPOSE 59900 [2023-03-14T08:24:22.251Z] ---> Running in 00119c261c8c [2023-03-14T08:24:22.251Z] Removing intermediate container 00119c261c8c [2023-03-14T08:24:22.251Z] ---> 74e42d378bf3 [2023-03-14T08:24:22.251Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-14T08:24:22.251Z] ---> Running in 69a8410b4f2f [2023-03-14T08:24:22.251Z] Removing intermediate container 69a8410b4f2f [2023-03-14T08:24:22.251Z] ---> 15d0b9ee7764 [2023-03-14T08:24:22.251Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T08:24:22.251Z] ---> Running in d2e9b0b42914 [2023-03-14T08:24:22.251Z] Removing intermediate container d2e9b0b42914 [2023-03-14T08:24:22.251Z] ---> 58d651db5056 [2023-03-14T08:24:22.251Z] Step 23/25 : LABEL arch=amd64 [2023-03-14T08:24:22.251Z] ---> Running in 735897dc2610 [2023-03-14T08:24:22.251Z] Removing intermediate container 735897dc2610 [2023-03-14T08:24:22.251Z] ---> 7e4ad22d6aad [2023-03-14T08:24:22.251Z] Step 24/25 : LABEL git_sha=3f1e673898a8ef42faca444c63d377d06123e36f [2023-03-14T08:24:22.251Z] ---> Running in f983d5a1a8c9 [2023-03-14T08:24:22.251Z] Removing intermediate container f983d5a1a8c9 [2023-03-14T08:24:22.251Z] ---> 2ced1dab90dc [2023-03-14T08:24:22.251Z] Step 25/25 : LABEL version=3.0.0-dev.21 [2023-03-14T08:24:22.251Z] ---> Running in d43025fa1a6a [2023-03-14T08:24:22.251Z] Removing intermediate container d43025fa1a6a [2023-03-14T08:24:22.251Z] ---> 332c484261c3 [2023-03-14T08:24:22.251Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T08:24:22.251Z] Successfully built 332c484261c3 [2023-03-14T08:24:22.251Z] 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-14T08:24:22.363Z] provisioning config files... [2023-03-14T08:24:22.373Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17328541799679912327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:24:22.673Z] ---> docker-login.sh [2023-03-14T08:24:22.673Z] nexus3.edgexfoundry.org:10001 [2023-03-14T08:24:22.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:24:22.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:24:22.673Z] Configure a credential helper to remove this warning. See [2023-03-14T08:24:22.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:24:22.673Z] [2023-03-14T08:24:22.673Z] Login Succeeded [2023-03-14T08:24:22.673Z] nexus3.edgexfoundry.org:10002 [2023-03-14T08:24:22.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:24:22.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:24:22.673Z] Configure a credential helper to remove this warning. See [2023-03-14T08:24:22.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:24:22.673Z] [2023-03-14T08:24:22.673Z] Login Succeeded [2023-03-14T08:24:22.673Z] nexus3.edgexfoundry.org:10003 [2023-03-14T08:24:22.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:24:22.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:24:22.932Z] Configure a credential helper to remove this warning. See [2023-03-14T08:24:22.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:24:22.932Z] [2023-03-14T08:24:22.932Z] Login Succeeded [2023-03-14T08:24:22.932Z] nexus3.edgexfoundry.org:10004 [2023-03-14T08:24:22.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:24:22.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:24:22.932Z] Configure a credential helper to remove this warning. See [2023-03-14T08:24:22.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:24:22.932Z] [2023-03-14T08:24:22.932Z] Login Succeeded [2023-03-14T08:24:22.932Z] docker.io [2023-03-14T08:24:23.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:24:23.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:24:23.190Z] Configure a credential helper to remove this warning. See [2023-03-14T08:24:23.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:24:23.190Z] [2023-03-14T08:24:23.190Z] Login Succeeded [2023-03-14T08:24:23.190Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T08:24:23.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T08:24:23.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T08:24:23.257Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-03-14T08:24:23.257Z] 3f1e673898a8ef42faca444c63d377d06123e36f [2023-03-14T08:24:23.257Z] latest [2023-03-14T08:24:23.257Z] 3.0.0-dev.21 [2023-03-14T08:24:23.257Z] 3f1e673898a8ef42faca444c63d377d06123e36f-3.0.0-dev.21 [2023-03-14T08:24:23.257Z] main [2023-03-14T08:24:23.257Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:23.629Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3f1e673898a8ef42faca444c63d377d06123e36f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:23.975Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3f1e673898a8ef42faca444c63d377d06123e36f [2023-03-14T08:24:23.975Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-14T08:24:23.975Z] f71520fd9530: Preparing [2023-03-14T08:24:23.975Z] b9e2797af3f6: Preparing [2023-03-14T08:24:23.975Z] e900a4f7e341: Preparing [2023-03-14T08:24:23.975Z] 78dae6b818e9: Preparing [2023-03-14T08:24:23.975Z] aa5968d388b8: Preparing [2023-03-14T08:24:23.975Z] aa5968d388b8: Layer already exists [2023-03-14T08:24:23.975Z] b9e2797af3f6: Pushed [2023-03-14T08:24:23.975Z] 78dae6b818e9: Pushed [2023-03-14T08:24:23.975Z] e900a4f7e341: Pushed [2023-03-14T08:24:25.583Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-92 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-03-14T08:24:25.595Z] Running in /w/workspace/device-virtual-go/92 [Pipeline] { [Pipeline] checkout [2023-03-14T08:24:25.629Z] The recommended git tool is: git [2023-03-14T08:24:27.310Z] f71520fd9530: Pushed [2023-03-14T08:24:27.310Z] 3f1e673898a8ef42faca444c63d377d06123e36f: digest: sha256:37cbedba1730fd59b2c1ea072d141e44493c6ffa43187227b8559d059d21d70a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:27.626Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:27.936Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-03-14T08:24:27.936Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-14T08:24:27.936Z] f71520fd9530: Preparing [2023-03-14T08:24:27.936Z] b9e2797af3f6: Preparing [2023-03-14T08:24:27.936Z] e900a4f7e341: Preparing [2023-03-14T08:24:27.936Z] 78dae6b818e9: Preparing [2023-03-14T08:24:27.936Z] aa5968d388b8: Preparing [2023-03-14T08:24:27.936Z] b9e2797af3f6: Layer already exists [2023-03-14T08:24:27.936Z] 78dae6b818e9: Layer already exists [2023-03-14T08:24:27.936Z] f71520fd9530: Layer already exists [2023-03-14T08:24:27.936Z] aa5968d388b8: Layer already exists [2023-03-14T08:24:27.936Z] e900a4f7e341: Layer already exists [2023-03-14T08:24:27.936Z] latest: digest: sha256:37cbedba1730fd59b2c1ea072d141e44493c6ffa43187227b8559d059d21d70a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:28.249Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:28.558Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.21 [2023-03-14T08:24:28.558Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-14T08:24:28.558Z] f71520fd9530: Preparing [2023-03-14T08:24:28.558Z] b9e2797af3f6: Preparing [2023-03-14T08:24:28.558Z] e900a4f7e341: Preparing [2023-03-14T08:24:28.558Z] 78dae6b818e9: Preparing [2023-03-14T08:24:28.558Z] aa5968d388b8: Preparing [2023-03-14T08:24:28.558Z] aa5968d388b8: Layer already exists [2023-03-14T08:24:28.558Z] b9e2797af3f6: Layer already exists [2023-03-14T08:24:28.558Z] f71520fd9530: Layer already exists [2023-03-14T08:24:28.558Z] 78dae6b818e9: Layer already exists [2023-03-14T08:24:28.558Z] e900a4f7e341: Layer already exists [2023-03-14T08:24:28.558Z] 3.0.0-dev.21: digest: sha256:37cbedba1730fd59b2c1ea072d141e44493c6ffa43187227b8559d059d21d70a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:28.868Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3f1e673898a8ef42faca444c63d377d06123e36f-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:29.171Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3f1e673898a8ef42faca444c63d377d06123e36f-3.0.0-dev.21 [2023-03-14T08:24:29.171Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-14T08:24:29.171Z] f71520fd9530: Preparing [2023-03-14T08:24:29.171Z] b9e2797af3f6: Preparing [2023-03-14T08:24:29.171Z] e900a4f7e341: Preparing [2023-03-14T08:24:29.171Z] 78dae6b818e9: Preparing [2023-03-14T08:24:29.171Z] aa5968d388b8: Preparing [2023-03-14T08:24:29.171Z] b9e2797af3f6: Layer already exists [2023-03-14T08:24:29.171Z] e900a4f7e341: Layer already exists [2023-03-14T08:24:29.171Z] aa5968d388b8: Layer already exists [2023-03-14T08:24:29.171Z] 78dae6b818e9: Layer already exists [2023-03-14T08:24:29.171Z] f71520fd9530: Layer already exists [2023-03-14T08:24:29.171Z] 3f1e673898a8ef42faca444c63d377d06123e36f-3.0.0-dev.21: digest: sha256:37cbedba1730fd59b2c1ea072d141e44493c6ffa43187227b8559d059d21d70a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:29.484Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:29.791Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-03-14T08:24:29.791Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-14T08:24:29.791Z] f71520fd9530: Preparing [2023-03-14T08:24:29.791Z] b9e2797af3f6: Preparing [2023-03-14T08:24:29.791Z] e900a4f7e341: Preparing [2023-03-14T08:24:29.791Z] 78dae6b818e9: Preparing [2023-03-14T08:24:29.791Z] aa5968d388b8: Preparing [2023-03-14T08:24:29.791Z] e900a4f7e341: Layer already exists [2023-03-14T08:24:29.791Z] b9e2797af3f6: Layer already exists [2023-03-14T08:24:29.791Z] 78dae6b818e9: Layer already exists [2023-03-14T08:24:29.791Z] f71520fd9530: Layer already exists [2023-03-14T08:24:29.791Z] aa5968d388b8: Layer already exists [2023-03-14T08:24:29.791Z] main: digest: sha256:37cbedba1730fd59b2c1ea072d141e44493c6ffa43187227b8559d059d21d70a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T08:24:29.839Z] ===================================================== [Pipeline] echo [2023-03-14T08:24:29.846Z] taggedImages: [2023-03-14T08:24:29.846Z] - nexus3.edgexfoundry.org:10004/device-virtual:3f1e673898a8ef42faca444c63d377d06123e36f [2023-03-14T08:24:29.846Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-03-14T08:24:29.846Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.21 [2023-03-14T08:24:29.846Z] - nexus3.edgexfoundry.org:10004/device-virtual:3f1e673898a8ef42faca444c63d377d06123e36f-3.0.0-dev.21 [2023-03-14T08:24:29.846Z] - 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-14T08:24:30.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T08:24:30.204Z] [2023-03-14T08:24:30.204Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:30.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T08:24:30.505Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T08:24:30.505Z] 5eb5b503b376: Pulling fs layer [2023-03-14T08:24:30.505Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T08:24:30.505Z] ec43610c2a17: Pulling fs layer [2023-03-14T08:24:30.505Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T08:24:30.505Z] 33b1e0a273af: Pulling fs layer [2023-03-14T08:24:30.505Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T08:24:30.505Z] 2f39f015ded8: Pulling fs layer [2023-03-14T08:24:30.505Z] 3a2ae6a8a46f: Waiting [2023-03-14T08:24:30.505Z] 33b1e0a273af: Waiting [2023-03-14T08:24:30.505Z] 5d3b04190fa2: Waiting [2023-03-14T08:24:30.505Z] 2f39f015ded8: Waiting [2023-03-14T08:24:30.505Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T08:24:30.505Z] 5c69ac0246d0: Download complete [2023-03-14T08:24:30.505Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T08:24:30.505Z] 3a2ae6a8a46f: Download complete [2023-03-14T08:24:30.765Z] 33b1e0a273af: Verifying Checksum [2023-03-14T08:24:30.765Z] 33b1e0a273af: Download complete [2023-03-14T08:24:30.765Z] 5d3b04190fa2: Download complete [2023-03-14T08:24:30.765Z] ec43610c2a17: Verifying Checksum [2023-03-14T08:24:30.765Z] ec43610c2a17: Download complete [2023-03-14T08:24:30.765Z] 5eb5b503b376: Verifying Checksum [2023-03-14T08:24:30.765Z] 5eb5b503b376: Download complete [2023-03-14T08:24:31.002Z] using credential edgex-jenkins-ssh [2023-03-14T08:24:31.020Z] Cloning the remote Git repository [2023-03-14T08:24:31.696Z] 2f39f015ded8: Download complete [2023-03-14T08:24:31.071Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-14T08:24:31.182Z] > git init /w/workspace/device-virtual-go/92 # timeout=10 [2023-03-14T08:24:31.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-14T08:24:31.351Z] > git --version # timeout=10 [2023-03-14T08:24:31.372Z] > git --version # 'git version 2.25.1' [2023-03-14T08:24:31.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T08:24:31.549Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T08:24:32.263Z] 5eb5b503b376: Pull complete [2023-03-14T08:24:32.263Z] 5c69ac0246d0: Pull complete [2023-03-14T08:24:32.829Z] ec43610c2a17: Pull complete [2023-03-14T08:24:32.829Z] 3a2ae6a8a46f: Pull complete [2023-03-14T08:24:33.088Z] 33b1e0a273af: Pull complete [2023-03-14T08:24:33.088Z] 5d3b04190fa2: Pull complete [2023-03-14T08:24:34.271Z] Avoid second fetch [2023-03-14T08:24:34.271Z] Checking out Revision 3f1e673898a8ef42faca444c63d377d06123e36f (main) [2023-03-14T08:24:33.453Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-14T08:24:33.471Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T08:24:34.286Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T08:24:34.359Z] > git checkout -f 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 [2023-03-14T08:24:34.843Z] Commit message: "Merge pull request #356 from hahattan/bump-dep" [2023-03-14T08:24:35.346Z] [2023-03-14T08:24:35.346Z] GitHub has been notified of this commit’s build result [2023-03-14T08:24:35.346Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T08:24:35.892Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T08:24:35.892Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T08:24:35.892Z] Dload Upload Total Spent Left Speed [2023-03-14T08:24:35.892Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh [2023-03-14T08:24:36.481Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T08:24:36.815Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T08:24:36.815Z] + sudo tee /etc/docker/daemon.new [2023-03-14T08:24:36.815Z] { [2023-03-14T08:24:36.815Z] "registry-mirrors": [ [2023-03-14T08:24:36.815Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T08:24:36.815Z] ], [2023-03-14T08:24:36.815Z] "bip": "10.250.0.254/24", [2023-03-14T08:24:36.815Z] "hosts": [ [2023-03-14T08:24:36.815Z] "tcp://0.0.0.0:5555", [2023-03-14T08:24:36.815Z] "unix:///var/run/docker.sock" [2023-03-14T08:24:36.815Z] ], [2023-03-14T08:24:36.815Z] "mtu": 1458, [2023-03-14T08:24:36.815Z] "selinux-enabled": true, [2023-03-14T08:24:36.815Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T08:24:36.815Z] } [Pipeline] sh [2023-03-14T08:24:37.149Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T08:24:37.491Z] + sudo service docker restart [2023-03-14T08:24:38.411Z] 2f39f015ded8: Pull complete [2023-03-14T08:24:38.411Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T08:24:38.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T08:24:38.411Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:24:38.492Z] prd-ubuntu20.04-docker-8c-8g-91 does not seem to be running inside a container [2023-03-14T08:24:38.528Z] $ 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-14T08:24:41.318Z] $ docker top 85b59145324e7dea4e000f0af40f25a1bf4a674aa0ef38ae23b32d55866bb5f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:24:41.720Z] ---> job-cost.sh [2023-03-14T08:24:41.720Z] lf-activate-venv: SKIPPING [2023-03-14T08:24:41.720Z] INFO: No Stack... [2023-03-14T08:24:41.981Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T08:24:42.239Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T08:24:42.527Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-03-14T08:24:42.527Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T08:24:42.540Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-92-stack-cost] [2023-03-14T08:24:42.547Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-92-stack-cost] did not exist. Created. [2023-03-14T08:24:42.547Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T08:24:42.852Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T08:24:42.882Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T08:24:42.889Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T08:24:42.912Z] $ docker stop --time=1 85b59145324e7dea4e000f0af40f25a1bf4a674aa0ef38ae23b32d55866bb5f1 [2023-03-14T08:24:44.093Z] $ docker rm -f --volumes 85b59145324e7dea4e000f0af40f25a1bf4a674aa0ef38ae23b32d55866bb5f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T08:24:55.762Z] provisioning config files... [2023-03-14T08:24:55.788Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/92@tmp/config17936706076805915084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:24:56.132Z] ---> docker-login.sh [2023-03-14T08:24:56.132Z] nexus3.edgexfoundry.org:10001 [2023-03-14T08:24:56.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:24:56.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:24:56.667Z] Configure a credential helper to remove this warning. See [2023-03-14T08:24:56.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:24:56.667Z] [2023-03-14T08:24:56.667Z] Login Succeeded [2023-03-14T08:24:56.667Z] nexus3.edgexfoundry.org:10002 [2023-03-14T08:24:56.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:24:56.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:24:56.936Z] Configure a credential helper to remove this warning. See [2023-03-14T08:24:56.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:24:56.936Z] [2023-03-14T08:24:56.936Z] Login Succeeded [2023-03-14T08:24:56.936Z] nexus3.edgexfoundry.org:10003 [2023-03-14T08:24:57.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:24:57.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:24:57.472Z] Configure a credential helper to remove this warning. See [2023-03-14T08:24:57.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:24:57.472Z] [2023-03-14T08:24:57.472Z] Login Succeeded [2023-03-14T08:24:57.472Z] nexus3.edgexfoundry.org:10004 [2023-03-14T08:24:57.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:24:57.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:24:57.740Z] Configure a credential helper to remove this warning. See [2023-03-14T08:24:57.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:24:57.740Z] [2023-03-14T08:24:57.740Z] Login Succeeded [2023-03-14T08:24:57.740Z] docker.io [2023-03-14T08:24:58.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:24:58.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:24:58.274Z] Configure a credential helper to remove this warning. See [2023-03-14T08:24:58.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:24:58.274Z] [2023-03-14T08:24:58.274Z] Login Succeeded [2023-03-14T08:24:58.274Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T08:24:58.286Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T08:24:58.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T08:24:58.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T08:24:58.536Z] ========================================================= [2023-03-14T08:24:58.536Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T08:24:58.536Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:24:58.871Z] + 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-14T08:24:59.140Z] Sending build context to Docker daemon 11.86MB [2023-03-14T08:24:59.140Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T08:24:59.140Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T08:24:59.412Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T08:24:59.412Z] af6eaf76a39c: Pulling fs layer [2023-03-14T08:24:59.412Z] 55522c791124: Pulling fs layer [2023-03-14T08:24:59.412Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T08:24:59.412Z] 169dfbe0d373: Pulling fs layer [2023-03-14T08:24:59.412Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T08:24:59.412Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T08:24:59.412Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T08:24:59.412Z] 169dfbe0d373: Waiting [2023-03-14T08:24:59.412Z] e1ff8fa3b103: Waiting [2023-03-14T08:24:59.412Z] 52ebb69f0ebf: Waiting [2023-03-14T08:24:59.412Z] 5abe8eddf0d5: Waiting [2023-03-14T08:24:59.412Z] 55522c791124: Verifying Checksum [2023-03-14T08:24:59.412Z] 55522c791124: Download complete [2023-03-14T08:24:59.412Z] 169dfbe0d373: Verifying Checksum [2023-03-14T08:24:59.412Z] 169dfbe0d373: Download complete [2023-03-14T08:24:59.412Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T08:24:59.412Z] e1ff8fa3b103: Download complete [2023-03-14T08:24:59.412Z] af6eaf76a39c: Verifying Checksum [2023-03-14T08:24:59.412Z] af6eaf76a39c: Download complete [2023-03-14T08:25:00.833Z] af6eaf76a39c: Pull complete [2023-03-14T08:25:00.833Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T08:25:00.833Z] 5abe8eddf0d5: Download complete [2023-03-14T08:25:01.107Z] 55522c791124: Pull complete [2023-03-14T08:25:02.077Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T08:25:02.077Z] ce5c4a1c91eb: Download complete [2023-03-14T08:25:02.077Z] 52ebb69f0ebf: Download complete [2023-03-14T08:25:14.412Z] ce5c4a1c91eb: Pull complete [2023-03-14T08:25:14.412Z] 169dfbe0d373: Pull complete [2023-03-14T08:25:14.412Z] e1ff8fa3b103: Pull complete [2023-03-14T08:25:21.083Z] 52ebb69f0ebf: Pull complete [2023-03-14T08:25:23.675Z] 5abe8eddf0d5: Pull complete [2023-03-14T08:25:23.675Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T08:25:23.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T08:25:23.675Z] ---> 6cb57ee374ae [2023-03-14T08:25:23.675Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T08:25:25.100Z] ---> Running in 3540ba0adc5f [2023-03-14T08:25:25.367Z] Removing intermediate container 3540ba0adc5f [2023-03-14T08:25:25.367Z] ---> 52418f843d23 [2023-03-14T08:25:25.367Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T08:25:25.367Z] ---> Running in c84b8f0fc4f7 [2023-03-14T08:25:25.636Z] Removing intermediate container c84b8f0fc4f7 [2023-03-14T08:25:25.636Z] ---> 9e8a97e26c0e [2023-03-14T08:25:25.636Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T08:25:25.636Z] ---> Running in 0a9dbfa52c69 [2023-03-14T08:25:25.904Z] Removing intermediate container 0a9dbfa52c69 [2023-03-14T08:25:25.904Z] ---> c988029ebe77 [2023-03-14T08:25:25.904Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-14T08:25:26.173Z] ---> Running in 2dac1bb1eeb9 [2023-03-14T08:25:26.441Z] Removing intermediate container 2dac1bb1eeb9 [2023-03-14T08:25:26.441Z] ---> 0ac44e4d75be [2023-03-14T08:25:26.441Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T08:25:26.441Z] ---> Running in 76793868748e [2023-03-14T08:25:27.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T08:25:27.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T08:25:28.952Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T08:25:29.221Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T08:25:29.221Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T08:25:29.221Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T08:25:29.491Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T08:25:29.491Z] OK: 268 MiB in 57 packages [2023-03-14T08:25:30.457Z] Removing intermediate container 76793868748e [2023-03-14T08:25:30.457Z] ---> 3ccb0de6634f [2023-03-14T08:25:30.457Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-14T08:25:31.041Z] ---> b31565bee301 [2023-03-14T08:25:31.041Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T08:25:31.041Z] ---> Running in ed5bbdf6245b [2023-03-14T08:26:39.052Z] Removing intermediate container ed5bbdf6245b [2023-03-14T08:26:39.052Z] ---> cf56cfc85154 [2023-03-14T08:26:39.052Z] Step 10/12 : COPY . . [2023-03-14T08:26:39.052Z] ---> 5635dcbcd160 [2023-03-14T08:26:39.052Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T08:26:39.052Z] ---> Running in fd4f6515955c [2023-03-14T08:26:39.052Z] Removing intermediate container fd4f6515955c [2023-03-14T08:26:39.052Z] ---> c64b416c77ab [2023-03-14T08:26:39.052Z] Step 12/12 : RUN $MAKE [2023-03-14T08:26:39.052Z] ---> Running in 6d3570e21fb5 [2023-03-14T08:26:39.052Z] noop [2023-03-14T08:26:39.052Z] Removing intermediate container 6d3570e21fb5 [2023-03-14T08:26:39.052Z] ---> a55d19a544f7 [2023-03-14T08:26:39.052Z] Successfully built a55d19a544f7 [2023-03-14T08:26:39.052Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:26:39.404Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T08:26:39.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:26:39.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-92 does not seem to be running inside a container [2023-03-14T08:26:39.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/92 -v /w/workspace/device-virtual-go/92:/w/workspace/device-virtual-go/92:rw,z -v /w/workspace/device-virtual-go/92@tmp:/w/workspace/device-virtual-go/92@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-14T08:26:40.817Z] $ docker top 3ea7fe8a57cd23130e8c78d1d43dcb90a6cdfbcf1869c7a5ac5a48edccddbdd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T08:26:41.660Z] + go version [2023-03-14T08:26:41.660Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T08:26:41.678Z] $ docker stop --time=1 3ea7fe8a57cd23130e8c78d1d43dcb90a6cdfbcf1869c7a5ac5a48edccddbdd4 [2023-03-14T08:26:43.293Z] $ docker rm -f --volumes 3ea7fe8a57cd23130e8c78d1d43dcb90a6cdfbcf1869c7a5ac5a48edccddbdd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:26:43.860Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T08:26:43.860Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:26:44.045Z] prd-ubuntu20.04-docker-arm64-4c-16g-92 does not seem to be running inside a container [2023-03-14T08:26:44.118Z] $ 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/92 -v /w/workspace/device-virtual-go/92:/w/workspace/device-virtual-go/92:rw,z -v /w/workspace/device-virtual-go/92@tmp:/w/workspace/device-virtual-go/92@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-14T08:26:45.185Z] $ docker top 747fcd8592d3fce0d5ff20d13262c35bcd25740b886a1ab44eaccd70dcd79f5c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T08:26:45.671Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/92 [Pipeline] fileExists [Pipeline] sh [2023-03-14T08:26:46.002Z] + make test [2023-03-14T08:26:46.002Z] go test ./... -coverprofile=coverage.out [2023-03-14T08:27:18.218Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-14T08:29:09.879Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-14T08:29:09.879Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements [2023-03-14T08:29:09.879Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T08:29:09.879Z] go vet ./... [2023-03-14T08:29:31.963Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T08:29:31.963Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T08:29:31.963Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T08:29:31.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T08:29:31.991Z] $ docker stop --time=1 747fcd8592d3fce0d5ff20d13262c35bcd25740b886a1ab44eaccd70dcd79f5c [2023-03-14T08:29:34.129Z] $ docker rm -f --volumes 747fcd8592d3fce0d5ff20d13262c35bcd25740b886a1ab44eaccd70dcd79f5c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T08:29:35.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T08:29:35.190Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T08:29:35.602Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T08:29:35.993Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T08:29:36.318Z] + ls -al . [2023-03-14T08:29:36.318Z] total 188 [2023-03-14T08:29:36.318Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 08:26 . [2023-03-14T08:29:36.318Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 08:24 .. [2023-03-14T08:29:36.318Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 08:24 .git [2023-03-14T08:29:36.318Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:24 .github [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 08:24 .gitignore [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 08:24 .golangci.yml [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 08:24 Attribution.txt [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 08:24 CHANGELOG.md [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 08:24 Dockerfile [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 08:24 GOVERNANCE.md [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 08:24 Jenkinsfile [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 08:24 LICENSE [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 1661 Mar 14 08:24 Makefile [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 08:24 OWNERS.md [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 08:24 README.md [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 08:22 VERSION [2023-03-14T08:29:36.318Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 08:24 bin [2023-03-14T08:29:36.318Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:24 cmd [2023-03-14T08:29:36.318Z] -rw-r--r-- 1 jenkins jenkins 44127 Mar 14 08:28 coverage.out [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 08:24 go.mod [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 08:24 go.sum [2023-03-14T08:29:36.318Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:24 internal [2023-03-14T08:29:36.318Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 08:24 snap [2023-03-14T08:29:36.318Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 08:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:29:36.653Z] + 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=3f1e673898a8ef42faca444c63d377d06123e36f --label arch=arm64 --label version=3.0.0-dev.21 . [2023-03-14T08:29:37.240Z] Sending build context to Docker daemon 11.9MB [2023-03-14T08:29:37.240Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T08:29:37.240Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-14T08:29:37.240Z] ---> a55d19a544f7 [2023-03-14T08:29:37.240Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T08:29:37.507Z] ---> Running in 3f0905c223c9 [2023-03-14T08:29:37.772Z] Removing intermediate container 3f0905c223c9 [2023-03-14T08:29:37.772Z] ---> f2131e424075 [2023-03-14T08:29:37.772Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T08:29:37.772Z] ---> Running in 5b50f98828f1 [2023-03-14T08:29:38.041Z] Removing intermediate container 5b50f98828f1 [2023-03-14T08:29:38.041Z] ---> 03594dd9b90c [2023-03-14T08:29:38.041Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-14T08:29:38.308Z] ---> Running in 5cb5d4356f02 [2023-03-14T08:29:38.574Z] Removing intermediate container 5cb5d4356f02 [2023-03-14T08:29:38.574Z] ---> fc947e04f61a [2023-03-14T08:29:38.574Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-14T08:29:38.574Z] ---> Running in 7c1eb210d6a0 [2023-03-14T08:29:38.851Z] Removing intermediate container 7c1eb210d6a0 [2023-03-14T08:29:38.851Z] ---> b1bb0e6877e5 [2023-03-14T08:29:38.851Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T08:29:38.851Z] ---> Running in 1cc35f79e111 [2023-03-14T08:29:40.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T08:29:40.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T08:29:41.811Z] OK: 268 MiB in 57 packages [2023-03-14T08:29:43.754Z] Removing intermediate container 1cc35f79e111 [2023-03-14T08:29:43.754Z] ---> 84f4db100470 [2023-03-14T08:29:43.754Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-14T08:29:44.336Z] ---> 4b04935e1fb3 [2023-03-14T08:29:44.336Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T08:29:44.605Z] ---> Running in 088f85b1d6eb [2023-03-14T08:29:51.259Z] Removing intermediate container 088f85b1d6eb [2023-03-14T08:29:51.259Z] ---> a9f9a8801254 [2023-03-14T08:29:51.259Z] Step 10/25 : COPY . . [2023-03-14T08:29:53.833Z] ---> 4e7378fd57f2 [2023-03-14T08:29:53.833Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T08:29:53.833Z] ---> Running in 5805d8944d09 [2023-03-14T08:29:54.100Z] Removing intermediate container 5805d8944d09 [2023-03-14T08:29:54.100Z] ---> d519656fba2d [2023-03-14T08:29:54.100Z] Step 12/25 : RUN $MAKE [2023-03-14T08:29:54.100Z] ---> Running in bc2dc687277b [2023-03-14T08:29:55.056Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-14T08:32:01.731Z] Removing intermediate container bc2dc687277b [2023-03-14T08:32:01.732Z] ---> fb24cf1b3769 [2023-03-14T08:32:01.732Z] Step 13/25 : FROM alpine:3.16 [2023-03-14T08:32:01.732Z] 3.16: Pulling from library/alpine [2023-03-14T08:32:01.732Z] 3760b48202b3: Pulling fs layer [2023-03-14T08:32:01.732Z] 3760b48202b3: Verifying Checksum [2023-03-14T08:32:01.732Z] 3760b48202b3: Download complete [2023-03-14T08:32:01.732Z] 3760b48202b3: Pull complete [2023-03-14T08:32:01.732Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T08:32:01.732Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T08:32:01.732Z] ---> 4c81e5bf8899 [2023-03-14T08:32:01.732Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-14T08:32:01.732Z] ---> Running in ae8d97918df0 [2023-03-14T08:32:01.732Z] Removing intermediate container ae8d97918df0 [2023-03-14T08:32:01.732Z] ---> 551b3cc7046b [2023-03-14T08:32:01.732Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-14T08:32:01.732Z] ---> Running in 2de96d01a157 [2023-03-14T08:32:01.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T08:32:01.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-14T08:32:02.974Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-14T08:32:02.974Z] Executing busybox-1.35.0-r17.trigger [2023-03-14T08:32:02.974Z] OK: 5 MiB in 15 packages [2023-03-14T08:32:03.559Z] Removing intermediate container 2de96d01a157 [2023-03-14T08:32:03.559Z] ---> 27691aff3df0 [2023-03-14T08:32:03.559Z] Step 16/25 : WORKDIR / [2023-03-14T08:32:03.827Z] ---> Running in 10b69967e96f [2023-03-14T08:32:04.095Z] Removing intermediate container 10b69967e96f [2023-03-14T08:32:04.095Z] ---> 13b6e38d049c [2023-03-14T08:32:04.095Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-14T08:32:04.681Z] ---> a90674cebc3d [2023-03-14T08:32:04.681Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-14T08:32:04.947Z] ---> b4ba6fde84a5 [2023-03-14T08:32:04.947Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-14T08:32:06.357Z] ---> 0d86489693c1 [2023-03-14T08:32:06.357Z] Step 20/25 : EXPOSE 59900 [2023-03-14T08:32:06.357Z] ---> Running in 1f09d0334eca [2023-03-14T08:32:06.625Z] Removing intermediate container 1f09d0334eca [2023-03-14T08:32:06.625Z] ---> 0149505d23d3 [2023-03-14T08:32:06.625Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-14T08:32:06.625Z] ---> Running in 4c3f459f1585 [2023-03-14T08:32:06.893Z] Removing intermediate container 4c3f459f1585 [2023-03-14T08:32:06.893Z] ---> 8fb7265ebaf4 [2023-03-14T08:32:06.893Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T08:32:07.163Z] ---> Running in b28edc219457 [2023-03-14T08:32:07.430Z] Removing intermediate container b28edc219457 [2023-03-14T08:32:07.430Z] ---> 369117820d1e [2023-03-14T08:32:07.430Z] Step 23/25 : LABEL arch=arm64 [2023-03-14T08:32:07.430Z] ---> Running in 6dc00f277d2c [2023-03-14T08:32:07.695Z] Removing intermediate container 6dc00f277d2c [2023-03-14T08:32:07.695Z] ---> aa23b1ead27b [2023-03-14T08:32:07.695Z] Step 24/25 : LABEL git_sha=3f1e673898a8ef42faca444c63d377d06123e36f [2023-03-14T08:32:07.695Z] ---> Running in af775aad2019 [2023-03-14T08:32:07.964Z] Removing intermediate container af775aad2019 [2023-03-14T08:32:07.964Z] ---> 2e9c7dd02c38 [2023-03-14T08:32:07.964Z] Step 25/25 : LABEL version=3.0.0-dev.21 [2023-03-14T08:32:07.964Z] ---> Running in 2eafd0c6acc4 [2023-03-14T08:32:08.229Z] Removing intermediate container 2eafd0c6acc4 [2023-03-14T08:32:08.229Z] ---> 940f6a74a23c [2023-03-14T08:32:08.229Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T08:32:08.229Z] Successfully built 940f6a74a23c [2023-03-14T08:32:08.229Z] 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-14T08:32:08.326Z] provisioning config files... [2023-03-14T08:32:08.339Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/92@tmp/config4999795451755174785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:32:08.665Z] ---> docker-login.sh [2023-03-14T08:32:08.665Z] nexus3.edgexfoundry.org:10001 [2023-03-14T08:32:08.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:32:08.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:32:08.930Z] Configure a credential helper to remove this warning. See [2023-03-14T08:32:08.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:32:08.930Z] [2023-03-14T08:32:08.930Z] Login Succeeded [2023-03-14T08:32:08.930Z] nexus3.edgexfoundry.org:10002 [2023-03-14T08:32:09.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:32:09.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:32:09.197Z] Configure a credential helper to remove this warning. See [2023-03-14T08:32:09.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:32:09.197Z] [2023-03-14T08:32:09.197Z] Login Succeeded [2023-03-14T08:32:09.197Z] nexus3.edgexfoundry.org:10003 [2023-03-14T08:32:09.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:32:09.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:32:09.462Z] Configure a credential helper to remove this warning. See [2023-03-14T08:32:09.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:32:09.462Z] [2023-03-14T08:32:09.462Z] Login Succeeded [2023-03-14T08:32:09.462Z] nexus3.edgexfoundry.org:10004 [2023-03-14T08:32:09.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:32:09.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:32:09.727Z] Configure a credential helper to remove this warning. See [2023-03-14T08:32:09.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:32:09.727Z] [2023-03-14T08:32:09.727Z] Login Succeeded [2023-03-14T08:32:09.727Z] docker.io [2023-03-14T08:32:09.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T08:32:10.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T08:32:10.257Z] Configure a credential helper to remove this warning. See [2023-03-14T08:32:10.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T08:32:10.257Z] [2023-03-14T08:32:10.257Z] Login Succeeded [2023-03-14T08:32:10.257Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T08:32:10.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T08:32:10.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T08:32:10.331Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-03-14T08:32:10.331Z] 3f1e673898a8ef42faca444c63d377d06123e36f [2023-03-14T08:32:10.331Z] latest [2023-03-14T08:32:10.331Z] 3.0.0-dev.21 [2023-03-14T08:32:10.331Z] 3f1e673898a8ef42faca444c63d377d06123e36f-3.0.0-dev.21 [2023-03-14T08:32:10.331Z] main [2023-03-14T08:32:10.331Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:32:10.671Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3f1e673898a8ef42faca444c63d377d06123e36f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:32:11.004Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3f1e673898a8ef42faca444c63d377d06123e36f [2023-03-14T08:32:11.004Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-14T08:32:11.004Z] 9092236c9c49: Preparing [2023-03-14T08:32:11.004Z] 084224eeb8a8: Preparing [2023-03-14T08:32:11.004Z] 809f54f30be7: Preparing [2023-03-14T08:32:11.004Z] 5cb125b73cd5: Preparing [2023-03-14T08:32:11.004Z] f70ee36035b9: Preparing [2023-03-14T08:32:11.268Z] 084224eeb8a8: Pushed [2023-03-14T08:32:11.268Z] 5cb125b73cd5: Pushed [2023-03-14T08:32:11.268Z] 809f54f30be7: Pushed [2023-03-14T08:32:12.222Z] f70ee36035b9: Layer already exists [2023-03-14T08:32:16.455Z] 9092236c9c49: Pushed [2023-03-14T08:32:16.455Z] 3f1e673898a8ef42faca444c63d377d06123e36f: digest: sha256:3adf4a74ba55161561aa38547f880d83991099557757995fc0959f023de06649 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:32:16.800Z] + 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-14T08:32:17.138Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-03-14T08:32:17.138Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-14T08:32:17.138Z] 9092236c9c49: Preparing [2023-03-14T08:32:17.138Z] 084224eeb8a8: Preparing [2023-03-14T08:32:17.138Z] 809f54f30be7: Preparing [2023-03-14T08:32:17.138Z] 5cb125b73cd5: Preparing [2023-03-14T08:32:17.138Z] f70ee36035b9: Preparing [2023-03-14T08:32:17.138Z] 084224eeb8a8: Layer already exists [2023-03-14T08:32:17.138Z] 9092236c9c49: Layer already exists [2023-03-14T08:32:17.138Z] 809f54f30be7: Layer already exists [2023-03-14T08:32:17.138Z] f70ee36035b9: Layer already exists [2023-03-14T08:32:17.138Z] 5cb125b73cd5: Layer already exists [2023-03-14T08:32:17.138Z] latest: digest: sha256:3adf4a74ba55161561aa38547f880d83991099557757995fc0959f023de06649 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:32:17.480Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:32:17.814Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.21 [2023-03-14T08:32:17.814Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-14T08:32:17.814Z] 9092236c9c49: Preparing [2023-03-14T08:32:17.814Z] 084224eeb8a8: Preparing [2023-03-14T08:32:17.814Z] 809f54f30be7: Preparing [2023-03-14T08:32:17.814Z] 5cb125b73cd5: Preparing [2023-03-14T08:32:17.814Z] f70ee36035b9: Preparing [2023-03-14T08:32:17.814Z] f70ee36035b9: Layer already exists [2023-03-14T08:32:17.814Z] 9092236c9c49: Layer already exists [2023-03-14T08:32:17.814Z] 809f54f30be7: Layer already exists [2023-03-14T08:32:17.814Z] 5cb125b73cd5: Layer already exists [2023-03-14T08:32:17.814Z] 084224eeb8a8: Layer already exists [2023-03-14T08:32:17.814Z] 3.0.0-dev.21: digest: sha256:3adf4a74ba55161561aa38547f880d83991099557757995fc0959f023de06649 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:32:18.154Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3f1e673898a8ef42faca444c63d377d06123e36f-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:32:18.482Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3f1e673898a8ef42faca444c63d377d06123e36f-3.0.0-dev.21 [2023-03-14T08:32:18.482Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-14T08:32:18.482Z] 9092236c9c49: Preparing [2023-03-14T08:32:18.482Z] 084224eeb8a8: Preparing [2023-03-14T08:32:18.482Z] 809f54f30be7: Preparing [2023-03-14T08:32:18.482Z] 5cb125b73cd5: Preparing [2023-03-14T08:32:18.482Z] f70ee36035b9: Preparing [2023-03-14T08:32:18.482Z] 9092236c9c49: Layer already exists [2023-03-14T08:32:18.482Z] 084224eeb8a8: Layer already exists [2023-03-14T08:32:18.482Z] 809f54f30be7: Layer already exists [2023-03-14T08:32:18.482Z] 5cb125b73cd5: Layer already exists [2023-03-14T08:32:18.482Z] f70ee36035b9: Layer already exists [2023-03-14T08:32:18.482Z] 3f1e673898a8ef42faca444c63d377d06123e36f-3.0.0-dev.21: digest: sha256:3adf4a74ba55161561aa38547f880d83991099557757995fc0959f023de06649 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:32:18.816Z] + 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-14T08:32:19.152Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-03-14T08:32:19.152Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-14T08:32:19.152Z] 9092236c9c49: Preparing [2023-03-14T08:32:19.152Z] 084224eeb8a8: Preparing [2023-03-14T08:32:19.152Z] 809f54f30be7: Preparing [2023-03-14T08:32:19.152Z] 5cb125b73cd5: Preparing [2023-03-14T08:32:19.152Z] f70ee36035b9: Preparing [2023-03-14T08:32:19.152Z] 084224eeb8a8: Layer already exists [2023-03-14T08:32:19.152Z] f70ee36035b9: Layer already exists [2023-03-14T08:32:19.152Z] 809f54f30be7: Layer already exists [2023-03-14T08:32:19.152Z] 9092236c9c49: Layer already exists [2023-03-14T08:32:19.152Z] 5cb125b73cd5: Layer already exists [2023-03-14T08:32:19.152Z] main: digest: sha256:3adf4a74ba55161561aa38547f880d83991099557757995fc0959f023de06649 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T08:32:19.201Z] ===================================================== [Pipeline] echo [2023-03-14T08:32:19.207Z] taggedImages: [2023-03-14T08:32:19.207Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3f1e673898a8ef42faca444c63d377d06123e36f [2023-03-14T08:32:19.207Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-03-14T08:32:19.207Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.21 [2023-03-14T08:32:19.207Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3f1e673898a8ef42faca444c63d377d06123e36f-3.0.0-dev.21 [2023-03-14T08:32:19.207Z] - 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-14T08:32:19.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T08:32:19.558Z] [2023-03-14T08:32:19.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:32:19.880Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T08:32:19.880Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T08:32:19.880Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T08:32:19.880Z] 04944245beec: Pulling fs layer [2023-03-14T08:32:19.880Z] 699f458cf7ca: Pulling fs layer [2023-03-14T08:32:19.880Z] 765212b225bb: Pulling fs layer [2023-03-14T08:32:19.880Z] f23df028b6ca: Pulling fs layer [2023-03-14T08:32:19.880Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T08:32:19.880Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T08:32:19.880Z] 765212b225bb: Waiting [2023-03-14T08:32:19.880Z] f23df028b6ca: Waiting [2023-03-14T08:32:19.880Z] d65c8cfc05b1: Waiting [2023-03-14T08:32:19.880Z] 2437ff75d9bd: Waiting [2023-03-14T08:32:20.150Z] 04944245beec: Verifying Checksum [2023-03-14T08:32:20.150Z] 04944245beec: Download complete [2023-03-14T08:32:20.150Z] 765212b225bb: Verifying Checksum [2023-03-14T08:32:20.150Z] 765212b225bb: Download complete [2023-03-14T08:32:20.150Z] f23df028b6ca: Verifying Checksum [2023-03-14T08:32:20.150Z] f23df028b6ca: Download complete [2023-03-14T08:32:20.150Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T08:32:20.150Z] d65c8cfc05b1: Download complete [2023-03-14T08:32:20.150Z] 699f458cf7ca: Verifying Checksum [2023-03-14T08:32:20.150Z] 699f458cf7ca: Download complete [2023-03-14T08:32:20.732Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T08:32:20.732Z] 8998bd30e6a1: Download complete [2023-03-14T08:32:22.671Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T08:32:22.671Z] 2437ff75d9bd: Download complete [2023-03-14T08:32:24.074Z] 8998bd30e6a1: Pull complete [2023-03-14T08:32:24.340Z] 04944245beec: Pull complete [2023-03-14T08:32:25.744Z] 699f458cf7ca: Pull complete [2023-03-14T08:32:25.744Z] 765212b225bb: Pull complete [2023-03-14T08:32:26.324Z] f23df028b6ca: Pull complete [2023-03-14T08:32:26.589Z] d65c8cfc05b1: Pull complete [2023-03-14T08:32:38.887Z] 2437ff75d9bd: Pull complete [2023-03-14T08:32:38.887Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T08:32:38.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T08:32:38.887Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:32:39.116Z] prd-ubuntu20.04-docker-arm64-4c-16g-92 does not seem to be running inside a container [2023-03-14T08:32:39.189Z] $ 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/92 -v /w/workspace/device-virtual-go/92:/w/workspace/device-virtual-go/92:rw,z -v /w/workspace/device-virtual-go/92@tmp:/w/workspace/device-virtual-go/92@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-14T08:32:41.651Z] $ docker top 0ec14e92fcfcbf1eb2e1e8c1cad0008049bc59dfa50332dd3e4f25efb1d6b87c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:32:42.210Z] ---> job-cost.sh [2023-03-14T08:32:42.482Z] lf-activate-venv: SKIPPING [2023-03-14T08:32:42.482Z] INFO: No Stack... [2023-03-14T08:32:42.755Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T08:32:43.727Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T08:32:44.048Z] + cat /w/workspace/device-virtual-go/92/archives/cost.csv [2023-03-14T08:32:44.048Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T08:32:44.115Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-92-stack-cost] [2023-03-14T08:32:44.122Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-92-stack-cost] did not exist. Created. [2023-03-14T08:32:44.122Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T08:32:44.446Z] /w/workspace/device-virtual-go/92@tmp/durable-cd2ae8cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T08:32:44.771Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T08:32:44.791Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T08:32:44.836Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T08:32:44.842Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T08:32:44.852Z] $ docker stop --time=1 0ec14e92fcfcbf1eb2e1e8c1cad0008049bc59dfa50332dd3e4f25efb1d6b87c [2023-03-14T08:32:46.303Z] $ docker rm -f --volumes 0ec14e92fcfcbf1eb2e1e8c1cad0008049bc59dfa50332dd3e4f25efb1d6b87c [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-14T08:32:46.734Z] provisioning config files... [2023-03-14T08:32:46.741Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9405018455906934976tmp [Pipeline] { [Pipeline] sh [2023-03-14T08:32:47.031Z] + set +x [2023-03-14T08:32:47.031Z] + bash -s -- [2023-03-14T08:32:47.031Z] + curl -s https://codecov.io/bash [2023-03-14T08:32:47.031Z] [2023-03-14T08:32:47.031Z] _____ _ [2023-03-14T08:32:47.031Z] / ____| | | [2023-03-14T08:32:47.031Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T08:32:47.031Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T08:32:47.031Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T08:32:47.031Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T08:32:47.031Z] Bash-1.0.6 [2023-03-14T08:32:47.031Z] [2023-03-14T08:32:47.031Z] [2023-03-14T08:32:47.031Z] ==> git version 2.25.1 found [2023-03-14T08:32:47.031Z] ==> 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-14T08:32:47.031Z] Release-Date: 2020-01-08 [2023-03-14T08:32:47.031Z] 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-14T08:32:47.031Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T08:32:47.031Z] ==> Jenkins CI detected. [2023-03-14T08:32:47.031Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-03-14T08:32:47.031Z] project root: . [2023-03-14T08:32:47.031Z] --> token set from env [2023-03-14T08:32:47.031Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T08:32:47.031Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T08:32:47.031Z] ==> Python coveragepy not found [2023-03-14T08:32:47.031Z] ==> Searching for coverage reports in: [2023-03-14T08:32:47.031Z] + . [2023-03-14T08:32:47.031Z] -> Found 1 reports [2023-03-14T08:32:47.031Z] ==> Detecting git/mercurial file structure [2023-03-14T08:32:47.031Z] ==> Reading reports [2023-03-14T08:32:47.031Z] + ./coverage.out bytes=44127 [2023-03-14T08:32:47.290Z] ==> Appending adjustments [2023-03-14T08:32:47.290Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T08:32:47.290Z] + Found adjustments [2023-03-14T08:32:47.290Z] ==> Gzipping contents [2023-03-14T08:32:47.290Z] 8.0K /tmp/codecov.RWV8pg.gz [2023-03-14T08:32:47.290Z] ==> Uploading reports [2023-03-14T08:32:47.290Z] url: https://codecov.io [2023-03-14T08:32:47.290Z] query: branch=main&commit=3f1e673898a8ef42faca444c63d377d06123e36f&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-14T08:32:47.290Z] -> Pinging Codecov [2023-03-14T08:32:47.290Z] 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=3f1e673898a8ef42faca444c63d377d06123e36f&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-14T08:32:47.549Z] -> Uploading to [2023-03-14T08:32:47.549Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/5E52B4B073DB2E39498172D8E973AA87/3f1e673898a8ef42faca444c63d377d06123e36f/0c74432e-08a5-40da-a7ed-27545ab0d242.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T083247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b8c07f1a44e95f99e276892ba5979970aee25add38c495b4130cbd6c3e8bae2 [2023-03-14T08:32:47.549Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T08:32:47.549Z] Dload Upload Total Spent Left Speed [2023-03-14T08:32:47.808Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5414 0 0 100 5414 0 19977 --:--:-- --:--:-- --:--:-- 19977 [2023-03-14T08:32:47.808Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3f1e673898a8ef42faca444c63d377d06123e36f [Pipeline] } [2023-03-14T08:32:47.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-14T08:32:48.008Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-14T08:32:48.027Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:32:48.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-14T08:32:48.327Z] [2023-03-14T08:32:48.327Z] 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-14T08:32:48.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-14T08:32:48.634Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-14T08:32:48.634Z] df9b9388f04a: Pulling fs layer [2023-03-14T08:32:48.634Z] 52dc419b0ee2: Pulling fs layer [2023-03-14T08:32:48.634Z] 25bc292e5bac: Pulling fs layer [2023-03-14T08:32:48.634Z] 114826534d7a: Pulling fs layer [2023-03-14T08:32:48.634Z] 4657fd5d0bcf: Pulling fs layer [2023-03-14T08:32:48.634Z] 6ad1cebc031e: Pulling fs layer [2023-03-14T08:32:48.634Z] 8a3aa393b2d8: Pulling fs layer [2023-03-14T08:32:48.634Z] 4657fd5d0bcf: Waiting [2023-03-14T08:32:48.634Z] 8a3aa393b2d8: Waiting [2023-03-14T08:32:48.634Z] 6ad1cebc031e: Waiting [2023-03-14T08:32:48.634Z] 114826534d7a: Waiting [2023-03-14T08:32:48.634Z] 25bc292e5bac: Verifying Checksum [2023-03-14T08:32:48.634Z] 25bc292e5bac: Download complete [2023-03-14T08:32:48.634Z] 52dc419b0ee2: Verifying Checksum [2023-03-14T08:32:48.634Z] 4657fd5d0bcf: Verifying Checksum [2023-03-14T08:32:48.634Z] 4657fd5d0bcf: Download complete [2023-03-14T08:32:48.634Z] df9b9388f04a: Download complete [2023-03-14T08:32:48.897Z] df9b9388f04a: Pull complete [2023-03-14T08:32:48.897Z] 6ad1cebc031e: Verifying Checksum [2023-03-14T08:32:48.897Z] 6ad1cebc031e: Download complete [2023-03-14T08:32:49.156Z] 52dc419b0ee2: Pull complete [2023-03-14T08:32:49.156Z] 25bc292e5bac: Pull complete [2023-03-14T08:32:49.414Z] 114826534d7a: Verifying Checksum [2023-03-14T08:32:49.414Z] 114826534d7a: Download complete [2023-03-14T08:32:49.671Z] 8a3aa393b2d8: Verifying Checksum [2023-03-14T08:32:49.671Z] 8a3aa393b2d8: Download complete [2023-03-14T08:32:52.953Z] 114826534d7a: Pull complete [2023-03-14T08:32:52.953Z] 4657fd5d0bcf: Pull complete [2023-03-14T08:32:53.518Z] 6ad1cebc031e: Pull complete [2023-03-14T08:32:56.045Z] 8a3aa393b2d8: Pull complete [2023-03-14T08:32:56.045Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-14T08:32:56.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-14T08:32:56.045Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:32:56.127Z] prd-ubuntu20.04-docker-8c-8g-91 does not seem to be running inside a container [2023-03-14T08:32:56.155Z] $ 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-14T08:32:59.195Z] $ docker top e3d71dc96412811065b2982a1a4500762445de36ea3d6eb73314322516c9ed7f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-14T08:32:59.265Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-03-14T08:32:59.543Z] + set -o pipefail [2023-03-14T08:32:59.543Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-03-14T08:33:04.816Z] [2023-03-14T08:33:04.816Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-03-14T08:33:04.816Z] [2023-03-14T08:33:04.816Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/9704da36-5340-451a-a4d9-ece6bebc49c2 [2023-03-14T08:33:04.816Z] [2023-03-14T08:33:04.816Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-14T08:33:04.816Z] [2023-03-14T08:33:04.816Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-14T08:33:04.816Z] [2023-03-14T08:33:04.816Z] [2023-03-14T08:33:04.816Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-14T08:33:04.816Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-14T08:33:04.816Z] More details here: https://snyk.co/ue1NS [2023-03-14T08:33:04.816Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-03-14T08:33:04.816Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-03-14T08:33:04.927Z] $ docker stop --time=1 e3d71dc96412811065b2982a1a4500762445de36ea3d6eb73314322516c9ed7f [2023-03-14T08:33:07.428Z] $ docker rm -f --volumes e3d71dc96412811065b2982a1a4500762445de36ea3d6eb73314322516c9ed7f [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-14T08:33:08.143Z] + git log --format=format:%s -1 3f1e673898a8ef42faca444c63d377d06123e36f [Pipeline] sh [2023-03-14T08:33:08.436Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T08:33:08.436Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:33:08.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T08:33:08.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:33:08.803Z] prd-ubuntu20.04-docker-8c-8g-91 does not seem to be running inside a container [2023-03-14T08:33:08.833Z] $ 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-14T08:33:09.245Z] $ docker top 4f5ab0a99166cd4d3b457107681e838689d7f094a2199a0e79751922bf793583 -eo pid,comm [2023-03-14T08:33:09.293Z] 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-14T08:33:09.293Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T08:33:09.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T08:33:09.324Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T08:33:09.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T08:33:09.447Z] $ docker exec 4f5ab0a99166cd4d3b457107681e838689d7f094a2199a0e79751922bf793583 ssh-agent [2023-03-14T08:33:09.561Z] SSH_AUTH_SOCK=/tmp/ssh-qKVYSPfhHdGj/agent.32 [2023-03-14T08:33:09.561Z] SSH_AGENT_PID=38 [2023-03-14T08:33:09.565Z] Running ssh-add (command line suppressed) [2023-03-14T08:33:09.684Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8341525901953644908.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8341525901953644908.key) [2023-03-14T08:33:09.699Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T08:33:09.985Z] + git semver tag [2023-03-14T08:33:10.244Z] 2023-03-14 08:33:10,172 [run_tag] DEBUG tag force:False [2023-03-14T08:33:10.244Z] 2023-03-14 08:33:10,172 [check_head_tag] DEBUG check head tag [2023-03-14T08:33:10.244Z] 2023-03-14 08:33:10,174 [execute] INFO git cat-file --batch-check [2023-03-14T08:33:10.244Z] 2023-03-14 08:33:10,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-03-14T08:33:10.244Z] 2023-03-14 08:33:10,179 [execute] INFO git cat-file --batch [2023-03-14T08:33:10.244Z] 2023-03-14 08:33:10,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-03-14T08:33:10.244Z] 2023-03-14 08:33:10,201 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-14T08:33:10.244Z] 2023-03-14 08:33:10,201 [execute] INFO git tag -a v3.0.0-dev.21 -m v3.0.0-dev.21 [2023-03-14T08:33:10.244Z] 2023-03-14 08:33:10,201 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.21', '-m', 'v3.0.0-dev.21'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-14T08:33:10.244Z] 2023-03-14 08:33:10,207 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-14T08:33:10.244Z] 3.0.0-dev.21 [Pipeline] } [2023-03-14T08:33:10.511Z] $ docker exec --env ******** --env ******** 4f5ab0a99166cd4d3b457107681e838689d7f094a2199a0e79751922bf793583 ssh-agent -k [2023-03-14T08:33:10.619Z] unset SSH_AUTH_SOCK; [2023-03-14T08:33:10.619Z] unset SSH_AGENT_PID; [2023-03-14T08:33:10.619Z] echo Agent pid 38 killed; [2023-03-14T08:33:10.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T08:33:10.933Z] + git semver [Pipeline] } [2023-03-14T08:33:11.202Z] $ docker stop --time=1 4f5ab0a99166cd4d3b457107681e838689d7f094a2199a0e79751922bf793583 [2023-03-14T08:33:12.525Z] $ docker rm -f --volumes 4f5ab0a99166cd4d3b457107681e838689d7f094a2199a0e79751922bf793583 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:33:12.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-14T08:33:12.914Z] [2023-03-14T08:33:12.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:33:13.214Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-14T08:33:13.214Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-14T08:33:13.214Z] ab5ef0e58194: Pulling fs layer [2023-03-14T08:33:13.214Z] 9712f1f96733: Pulling fs layer [2023-03-14T08:33:13.214Z] 63f879dbbcfc: Pulling fs layer [2023-03-14T08:33:13.214Z] 0d9ebad4ef96: Pulling fs layer [2023-03-14T08:33:13.214Z] e9a5061849ea: Pulling fs layer [2023-03-14T08:33:13.214Z] d747dcd14b5f: Pulling fs layer [2023-03-14T08:33:13.214Z] 2de7ff778b66: Pulling fs layer [2023-03-14T08:33:13.214Z] e9a5061849ea: Waiting [2023-03-14T08:33:13.214Z] d747dcd14b5f: Waiting [2023-03-14T08:33:13.214Z] 2de7ff778b66: Waiting [2023-03-14T08:33:13.214Z] 0d9ebad4ef96: Waiting [2023-03-14T08:33:13.214Z] 9712f1f96733: Download complete [2023-03-14T08:33:13.797Z] 63f879dbbcfc: Verifying Checksum [2023-03-14T08:33:13.797Z] 63f879dbbcfc: Download complete [2023-03-14T08:33:13.797Z] e9a5061849ea: Verifying Checksum [2023-03-14T08:33:13.797Z] e9a5061849ea: Download complete [2023-03-14T08:33:13.797Z] d747dcd14b5f: Verifying Checksum [2023-03-14T08:33:13.797Z] d747dcd14b5f: Download complete [2023-03-14T08:33:14.056Z] 0d9ebad4ef96: Verifying Checksum [2023-03-14T08:33:14.056Z] 0d9ebad4ef96: Download complete [2023-03-14T08:33:14.056Z] ab5ef0e58194: Download complete [2023-03-14T08:33:14.056Z] 2de7ff778b66: Verifying Checksum [2023-03-14T08:33:14.056Z] 2de7ff778b66: Download complete [2023-03-14T08:33:17.348Z] ab5ef0e58194: Pull complete [2023-03-14T08:33:17.348Z] 9712f1f96733: Pull complete [2023-03-14T08:33:17.606Z] 63f879dbbcfc: Pull complete [2023-03-14T08:33:21.790Z] 0d9ebad4ef96: Pull complete [2023-03-14T08:33:21.790Z] e9a5061849ea: Pull complete [2023-03-14T08:33:21.790Z] d747dcd14b5f: Pull complete [2023-03-14T08:33:23.165Z] 2de7ff778b66: Pull complete [2023-03-14T08:33:23.165Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-14T08:33:23.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-14T08:33:23.165Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:33:23.255Z] prd-ubuntu20.04-docker-8c-8g-91 does not seem to be running inside a container [2023-03-14T08:33:23.284Z] $ 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-14T08:33:26.709Z] $ docker top fd3538e8a84ede4a134a858469037d54268eab12d7bba0ce64c4ec8bd5d54ff8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-14T08:33:26.784Z] provisioning config files... [2023-03-14T08:33:26.793Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2456316200967118679tmp [2023-03-14T08:33:26.803Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14457423767076549108tmp [2023-03-14T08:33:26.813Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4840371498215958766tmp [Pipeline] { [Pipeline] echo [2023-03-14T08:33:26.828Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:33:27.110Z] ---> sigul-configuration.sh [2023-03-14T08:33:27.110Z] gpg: directory `/root/.gnupg' created [2023-03-14T08:33:27.110Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-14T08:33:27.110Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-14T08:33:27.110Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-14T08:33:27.110Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-14T08:33:27.110Z] gpg: CAST5 encrypted data [2023-03-14T08:33:27.110Z] gpg: encrypted with 1 passphrase [2023-03-14T08:33:27.110Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-14T08:33:27.394Z] + mkdir /home/jenkins [2023-03-14T08:33:27.394Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-14T08:33:27.678Z] + 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-14T08:33:27.686Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:33:27.967Z] ---> sigul-install.sh [2023-03-14T08:33:27.967Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-14T08:33:28.250Z] + git tag --list [2023-03-14T08:33:28.250Z] v1.0.0 [2023-03-14T08:33:28.250Z] v1.1.0 [2023-03-14T08:33:28.250Z] v1.1.1 [2023-03-14T08:33:28.250Z] v1.2.1 [2023-03-14T08:33:28.250Z] v1.2.2 [2023-03-14T08:33:28.250Z] v1.2.3 [2023-03-14T08:33:28.250Z] v1.3.0 [2023-03-14T08:33:28.250Z] v1.3.1 [2023-03-14T08:33:28.250Z] v2.0.0 [2023-03-14T08:33:28.250Z] v2.1.0 [2023-03-14T08:33:28.250Z] v2.1.1 [2023-03-14T08:33:28.250Z] v2.1.1-dev.1 [2023-03-14T08:33:28.250Z] v2.1.1-dev.2 [2023-03-14T08:33:28.250Z] v2.2.0 [2023-03-14T08:33:28.250Z] v2.2.1-dev.1 [2023-03-14T08:33:28.250Z] v2.2.1-dev.2 [2023-03-14T08:33:28.250Z] v2.2.1-dev.3 [2023-03-14T08:33:28.250Z] v2.2.1-dev.4 [2023-03-14T08:33:28.250Z] v2.2.1-dev.5 [2023-03-14T08:33:28.250Z] v2.2.1-dev.6 [2023-03-14T08:33:28.250Z] v2.2.1-dev.7 [2023-03-14T08:33:28.250Z] v2.2.1-dev.8 [2023-03-14T08:33:28.250Z] v2.3.0 [2023-03-14T08:33:28.250Z] v2.3.0-dev.10 [2023-03-14T08:33:28.250Z] v2.3.0-dev.11 [2023-03-14T08:33:28.250Z] v2.3.0-dev.12 [2023-03-14T08:33:28.250Z] v2.3.0-dev.13 [2023-03-14T08:33:28.250Z] v2.3.0-dev.14 [2023-03-14T08:33:28.250Z] v2.3.0-dev.15 [2023-03-14T08:33:28.250Z] v2.3.0-dev.16 [2023-03-14T08:33:28.250Z] v2.3.0-dev.17 [2023-03-14T08:33:28.250Z] v2.3.0-dev.18 [2023-03-14T08:33:28.250Z] v2.3.0-dev.19 [2023-03-14T08:33:28.250Z] v2.3.0-dev.20 [2023-03-14T08:33:28.250Z] v2.3.0-dev.21 [2023-03-14T08:33:28.250Z] v2.3.0-dev.22 [2023-03-14T08:33:28.250Z] v2.3.0-dev.23 [2023-03-14T08:33:28.250Z] v2.3.0-dev.24 [2023-03-14T08:33:28.250Z] v2.3.0-dev.25 [2023-03-14T08:33:28.250Z] v2.3.0-dev.26 [2023-03-14T08:33:28.250Z] v2.3.0-dev.27 [2023-03-14T08:33:28.250Z] v2.3.0-dev.28 [2023-03-14T08:33:28.250Z] v2.3.0-dev.29 [2023-03-14T08:33:28.250Z] v2.3.0-dev.30 [2023-03-14T08:33:28.250Z] v2.3.0-dev.8 [2023-03-14T08:33:28.250Z] v2.3.0-dev.9 [2023-03-14T08:33:28.250Z] v3.0.0-dev.1 [2023-03-14T08:33:28.250Z] v3.0.0-dev.10 [2023-03-14T08:33:28.250Z] v3.0.0-dev.11 [2023-03-14T08:33:28.250Z] v3.0.0-dev.12 [2023-03-14T08:33:28.250Z] v3.0.0-dev.13 [2023-03-14T08:33:28.250Z] v3.0.0-dev.14 [2023-03-14T08:33:28.250Z] v3.0.0-dev.15 [2023-03-14T08:33:28.250Z] v3.0.0-dev.16 [2023-03-14T08:33:28.250Z] v3.0.0-dev.17 [2023-03-14T08:33:28.250Z] v3.0.0-dev.18 [2023-03-14T08:33:28.250Z] v3.0.0-dev.19 [2023-03-14T08:33:28.250Z] v3.0.0-dev.2 [2023-03-14T08:33:28.250Z] v3.0.0-dev.20 [2023-03-14T08:33:28.250Z] v3.0.0-dev.21 [2023-03-14T08:33:28.250Z] v3.0.0-dev.3 [2023-03-14T08:33:28.250Z] v3.0.0-dev.4 [2023-03-14T08:33:28.250Z] v3.0.0-dev.5 [2023-03-14T08:33:28.250Z] v3.0.0-dev.6 [2023-03-14T08:33:28.250Z] v3.0.0-dev.7 [2023-03-14T08:33:28.250Z] v3.0.0-dev.8 [2023-03-14T08:33:28.250Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-14T08:33:28.535Z] + lftools sign git-tag v3.0.0-dev.21 [2023-03-14T08:33:29.103Z] Signing Git tag with Sigul... [2023-03-14T08:33:29.103Z] Signing v3.0.0-dev.21 [Pipeline] echo [2023-03-14T08:33:29.372Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:33:29.657Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-14T08:33:29.665Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-14T08:33:29.680Z] $ docker stop --time=1 fd3538e8a84ede4a134a858469037d54268eab12d7bba0ce64c4ec8bd5d54ff8 [2023-03-14T08:33:30.961Z] $ docker rm -f --volumes fd3538e8a84ede4a134a858469037d54268eab12d7bba0ce64c4ec8bd5d54ff8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-14T08:33:31.382Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T08:33:31.382Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:33:31.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T08:33:31.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:33:31.771Z] prd-ubuntu20.04-docker-8c-8g-91 does not seem to be running inside a container [2023-03-14T08:33:31.797Z] $ 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-14T08:33:32.161Z] $ docker top 847a64c26f745224d621e8bd0ce3788d9ab2a7180f71e05502e8de6150e2eada -eo pid,comm [2023-03-14T08:33:32.213Z] 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-14T08:33:32.213Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T08:33:32.261Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T08:33:32.261Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T08:33:32.392Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T08:33:32.392Z] $ docker exec 847a64c26f745224d621e8bd0ce3788d9ab2a7180f71e05502e8de6150e2eada ssh-agent [2023-03-14T08:33:32.517Z] SSH_AUTH_SOCK=/tmp/ssh-0bbj6qPBHiu6/agent.31 [2023-03-14T08:33:32.517Z] SSH_AGENT_PID=37 [2023-03-14T08:33:32.522Z] Running ssh-add (command line suppressed) [2023-03-14T08:33:32.626Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12359917172344661180.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12359917172344661180.key) [2023-03-14T08:33:32.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T08:33:32.929Z] + git semver bump pre [2023-03-14T08:33:33.188Z] 2023-03-14 08:33:33,122 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-14T08:33:33.188Z] 2023-03-14 08:33:33,123 [bump_version] DEBUG bumping version:3.0.0-dev.21 on axis:pre with prefix:dev [2023-03-14T08:33:33.188Z] 2023-03-14 08:33:33,123 [bump_version] DEBUG bumped version:3.0.0-dev.22 [2023-03-14T08:33:33.188Z] 2023-03-14 08:33:33,123 [write_version] DEBUG write version:3.0.0-dev.22 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-03-14T08:33:33.188Z] 2023-03-14 08:33:33,123 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-14T08:33:33.188Z] 2023-03-14 08:33:33,123 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-14T08:33:33.188Z] 2023-03-14 08:33:33,125 [execute] INFO git cat-file --batch-check [2023-03-14T08:33:33.188Z] 2023-03-14 08:33:33,125 [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-14T08:33:33.188Z] 2023-03-14 08:33:33,130 [execute] INFO git cat-file --batch [2023-03-14T08:33:33.188Z] 2023-03-14 08:33:33,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T08:33:33.188Z] 2023-03-14 08:33:33,135 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-14T08:33:33.188Z] 3.0.0-dev.22 [Pipeline] } [2023-03-14T08:33:33.196Z] $ docker exec --env ******** --env ******** 847a64c26f745224d621e8bd0ce3788d9ab2a7180f71e05502e8de6150e2eada ssh-agent -k [2023-03-14T08:33:33.305Z] unset SSH_AUTH_SOCK; [2023-03-14T08:33:33.306Z] unset SSH_AGENT_PID; [2023-03-14T08:33:33.306Z] echo Agent pid 37 killed; [2023-03-14T08:33:33.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T08:33:33.625Z] + git semver [Pipeline] } [2023-03-14T08:33:33.894Z] $ docker stop --time=1 847a64c26f745224d621e8bd0ce3788d9ab2a7180f71e05502e8de6150e2eada [2023-03-14T08:33:35.190Z] $ docker rm -f --volumes 847a64c26f745224d621e8bd0ce3788d9ab2a7180f71e05502e8de6150e2eada [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T08:33:35.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T08:33:35.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:33:35.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T08:33:35.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:33:35.903Z] prd-ubuntu20.04-docker-8c-8g-91 does not seem to be running inside a container [2023-03-14T08:33:35.928Z] $ 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-14T08:33:36.266Z] $ docker top db8192da7d71d56832b943bdd44792387a5a498c3c2fee873d5665b5ee967b9e -eo pid,comm [2023-03-14T08:33:36.316Z] 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-14T08:33:36.316Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T08:33:36.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T08:33:36.352Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T08:33:36.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T08:33:36.474Z] $ docker exec db8192da7d71d56832b943bdd44792387a5a498c3c2fee873d5665b5ee967b9e ssh-agent [2023-03-14T08:33:36.579Z] SSH_AUTH_SOCK=/tmp/ssh-Q2Z5hTjXVLQM/agent.31 [2023-03-14T08:33:36.579Z] SSH_AGENT_PID=37 [2023-03-14T08:33:36.583Z] Running ssh-add (command line suppressed) [2023-03-14T08:33:36.690Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1695793178401939131.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1695793178401939131.key) [2023-03-14T08:33:36.706Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T08:33:36.992Z] + git semver push [2023-03-14T08:33:37.250Z] 2023-03-14 08:33:37,158 [run_push] DEBUG push [2023-03-14T08:33:37.250Z] 2023-03-14 08:33:37,159 [execute] INFO git cat-file --batch-check [2023-03-14T08:33:37.250Z] 2023-03-14 08:33:37,159 [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-14T08:33:37.250Z] 2023-03-14 08:33:37,163 [execute] INFO git rev-list b75a9613597673f1e2df4da6765d11eee6c90ea3 -- [2023-03-14T08:33:37.250Z] 2023-03-14 08:33:37,164 [execute] DEBUG Popen(['git', 'rev-list', 'b75a9613597673f1e2df4da6765d11eee6c90ea3', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-14T08:33:37.250Z] 2023-03-14 08:33:37,174 [execute] INFO git fetch -v origin [2023-03-14T08:33:37.250Z] 2023-03-14 08:33:37,174 [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-14T08:33:37.818Z] 2023-03-14 08:33:37,729 [run_push] DEBUG no remote changes detected [2023-03-14T08:33:37.818Z] 2023-03-14 08:33:37,730 [execute] INFO git push origin semver [2023-03-14T08:33:37.818Z] 2023-03-14 08:33:37,730 [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-14T08:33:38.751Z] 2023-03-14 08:33:38,568 [run_push] DEBUG push all version tags [2023-03-14T08:33:38.751Z] 2023-03-14 08:33:38,569 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-14T08:33:38.751Z] 2023-03-14 08:33:38,569 [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-14T08:33:39.688Z] 2023-03-14 08:33:39,357 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-14T08:33:39.689Z] 3.0.0-dev.22 [Pipeline] } [2023-03-14T08:33:39.695Z] $ docker exec --env ******** --env ******** db8192da7d71d56832b943bdd44792387a5a498c3c2fee873d5665b5ee967b9e ssh-agent -k [2023-03-14T08:33:39.799Z] unset SSH_AUTH_SOCK; [2023-03-14T08:33:39.800Z] unset SSH_AGENT_PID; [2023-03-14T08:33:39.800Z] echo Agent pid 37 killed; [2023-03-14T08:33:39.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T08:33:40.111Z] + git semver [Pipeline] } [2023-03-14T08:33:40.384Z] $ docker stop --time=1 db8192da7d71d56832b943bdd44792387a5a498c3c2fee873d5665b5ee967b9e [2023-03-14T08:33:41.656Z] $ docker rm -f --volumes db8192da7d71d56832b943bdd44792387a5a498c3c2fee873d5665b5ee967b9e [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-14T08:33:42.193Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-03-14T08:33:42.193Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-14T08:33:42.193Z] total 16 [2023-03-14T08:33:42.193Z] drwxr-xr-x 3 root root 4096 Mar 14 08:24 . [2023-03-14T08:33:42.193Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 08:33 .. [2023-03-14T08:33:42.193Z] drwxr-xr-x 2 root root 4096 Mar 14 08:24 cost [2023-03-14T08:33:42.193Z] -rw-r--r-- 1 root root 88 Mar 14 08:24 cost.csv [2023-03-14T08:33:42.193Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-14T08:33:42.193Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-14T08:33:42.193Z] total 16 [2023-03-14T08:33:42.193Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 08:24 . [2023-03-14T08:33:42.193Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 08:33 .. [2023-03-14T08:33:42.193Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 08:24 cost [2023-03-14T08:33:42.193Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 14 08:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:33:42.493Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:33:43.350Z] ---> package-listing.sh [2023-03-14T08:33:43.350Z] ++ facter osfamily [2023-03-14T08:33:43.350Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T08:33:43.609Z] + OS_FAMILY=debian [2023-03-14T08:33:43.609Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-03-14T08:33:43.609Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T08:33:43.609Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T08:33:43.609Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T08:33:43.609Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T08:33:43.609Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-03-14T08:33:43.609Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T08:33:43.609Z] + case "${OS_FAMILY}" in [2023-03-14T08:33:43.609Z] + dpkg -l [2023-03-14T08:33:43.610Z] + grep '^ii' [2023-03-14T08:33:43.610Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T08:33:43.610Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T08:33:43.610Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T08:33:43.610Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-03-14T08:33:43.610Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-03-14T08:33:43.610Z] + 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-14T08:33:43.619Z] 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-14T08:33:43.900Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T08:33:44.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T08:33:44.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T08:33:44.517Z] prd-ubuntu20.04-docker-8c-8g-91 does not seem to be running inside a container [2023-03-14T08:33:44.627Z] $ 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-14T08:33:44.853Z] $ docker top 2b705ad38e90994c900070fd7f77ae0d14fb6ec6e2fa0599e8dd008feaf5eabf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T08:33:45.281Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T08:33:45.572Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T08:33:45.859Z] + ls /var/log/sa-host [2023-03-14T08:33:45.859Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T08:33:45.992Z] provisioning config files... [2023-03-14T08:33:46.002Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3875542206959873668tmp [Pipeline] { [Pipeline] echo [2023-03-14T08:33:46.017Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:33:46.304Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T08:33:46.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:33:46.636Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T08:33:46.645Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:33:46.926Z] ---> sudo-logs.sh [2023-03-14T08:33:46.926Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T08:33:46.956Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:33:47.237Z] ---> job-cost.sh [2023-03-14T08:33:47.237Z] lf-activate-venv: SKIPPING [2023-03-14T08:33:47.237Z] DEBUG: total: 0.2199999988079071 [2023-03-14T08:33:47.237Z] INFO: Retrieving Stack Cost... [2023-03-14T08:33:47.495Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T08:33:48.062Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T08:33:48.073Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T08:33:48.357Z] ---> logs-deploy.sh [2023-03-14T08:33:48.357Z] lf-activate-venv: SKIPPING [2023-03-14T08:33:48.357Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/92 [2023-03-14T08:33:48.357Z] INFO: archiving workspace using pattern(s): [2023-03-14T08:33:49.292Z] Archives upload complete. [2023-03-14T08:33:49.551Z] INFO: archiving logs to Nexus