Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b76ffb3f756266f027a45c1155223ddd586b2bad 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-ssh4564591097333992506.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-ssh15747380488186253143.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-ssh6171547793191108548.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-ssh4564467866483467512.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-ssh10151422966631102929.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6151 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 b76ffb3f756266f027a45c1155223ddd586b2bad (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 b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 Commit message: "refactor!: Changed configuration and devices files format to YAML (#368)" > git rev-list --no-walk 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-29T00:31:52.504Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-29T00:31:52.557Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-29T00:31:52.571Z] ========================================================= [2023-03-29T00:31:52.571Z] EdgeX Global Pipelines Version Info [2023-03-29T00:31:52.571Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:31:53.280Z] ------------------- [2023-03-29T00:31:53.280Z] stable info: [2023-03-29T00:31:53.280Z] ------------------- [2023-03-29T00:31:53.280Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-29T00:31:53.281Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-29T00:31:53.281Z] Message: update stable to v1.0.245 [2023-03-29T00:31:53.852Z] ------------------- [2023-03-29T00:31:53.852Z] experimental info: [2023-03-29T00:31:53.852Z] ------------------- [2023-03-29T00:31:53.852Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-29T00:31:53.852Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-29T00:31:53.852Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-29T00:31:54.029Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-29T00:31:54.041Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-29T00:31:54.054Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-29T00:31:54.065Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-29T00:31:54.079Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-29T00:31:54.088Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-29T00:31:54.099Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-29T00:31:54.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-29T00:31:54.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-29T00:31:54.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-29T00:31:54.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-29T00:31:54.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-29T00:31:54.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-29T00:31:54.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-29T00:31:54.193Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T00:31:54.206Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T00:31:54.219Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T00:31:54.230Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T00:31:54.241Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-29T00:31:54.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-29T00:31:54.266Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-29T00:31:54.279Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-29T00:31:54.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-29T00:31:54.310Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-29T00:31:54.327Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-29T00:31:54.338Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-29T00:31:54.352Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-29T00:31:54.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-29T00:31:54.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-29T00:31:54.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-29T00:31:54.406Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] echo [2023-03-29T00:31:54.419Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b76ffb3 [Pipeline] echo [2023-03-29T00:31:54.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T00:31:54.475Z] provisioning config files... [2023-03-29T00:31:54.489Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2410709663567867179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:31:54.794Z] ---> docker-login.sh [2023-03-29T00:31:54.794Z] nexus3.edgexfoundry.org:10001 [2023-03-29T00:31:55.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:31:55.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:31:55.054Z] Configure a credential helper to remove this warning. See [2023-03-29T00:31:55.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:31:55.054Z] [2023-03-29T00:31:55.054Z] Login Succeeded [2023-03-29T00:31:55.054Z] nexus3.edgexfoundry.org:10002 [2023-03-29T00:31:55.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:31:55.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:31:55.054Z] Configure a credential helper to remove this warning. See [2023-03-29T00:31:55.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:31:55.054Z] [2023-03-29T00:31:55.054Z] Login Succeeded [2023-03-29T00:31:55.054Z] nexus3.edgexfoundry.org:10003 [2023-03-29T00:31:55.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:31:55.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:31:55.314Z] Configure a credential helper to remove this warning. See [2023-03-29T00:31:55.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:31:55.315Z] [2023-03-29T00:31:55.315Z] Login Succeeded [2023-03-29T00:31:55.315Z] nexus3.edgexfoundry.org:10004 [2023-03-29T00:31:55.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:31:55.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:31:55.315Z] Configure a credential helper to remove this warning. See [2023-03-29T00:31:55.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:31:55.315Z] [2023-03-29T00:31:55.315Z] Login Succeeded [2023-03-29T00:31:55.315Z] docker.io [2023-03-29T00:31:55.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:31:55.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:31:55.575Z] Configure a credential helper to remove this warning. See [2023-03-29T00:31:55.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:31:55.575Z] [2023-03-29T00:31:55.575Z] Login Succeeded [2023-03-29T00:31:55.575Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T00:31:55.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-29T00:31:55.939Z] + git rev-list -1 --merges b76ffb3f756266f027a45c1155223ddd586b2bad~1..b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] echo [2023-03-29T00:31:55.989Z] -----------> git rev-list -1 --merges b76ffb3f756266f027a45c1155223ddd586b2bad~1..b76ffb3f756266f027a45c1155223ddd586b2bad b76ffb3f756266f027a45c1155223ddd586b2bad [false] [Pipeline] sh [2023-03-29T00:31:56.280Z] + git log --format=format:%s -1 b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] echo [2023-03-29T00:31:56.294Z] ========================================================= [2023-03-29T00:31:56.294Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-29T00:31:56.294Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T00:31:56.607Z] + git log --format=format:%s -1 b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] echo [2023-03-29T00:31:56.619Z] [semverPrep] GIT_COMMIT: b76ffb3f756266f027a45c1155223ddd586b2bad, Commit Message: refactor!: Changed configuration and devices files format to YAML (#368) [Pipeline] echo [2023-03-29T00:31:56.628Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-29T00:31:56.969Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T00:31:56.969Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-29T00:31:56.969Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-29T00:31:56.969Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-29T00:31:56.969Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-29T00:31:56.969Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-29T00:31:56.969Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:31:57.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T00:31:57.316Z] [2023-03-29T00:31:57.316Z] 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-29T00:31:57.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T00:31:57.615Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-29T00:31:57.615Z] b85a868b505f: Pulling fs layer [2023-03-29T00:31:57.615Z] e2be974225ed: Pulling fs layer [2023-03-29T00:31:57.615Z] 339a4e72a1f5: Pulling fs layer [2023-03-29T00:31:57.615Z] 988bab9f4d93: Pulling fs layer [2023-03-29T00:31:57.615Z] 1469e6f7b9e6: Pulling fs layer [2023-03-29T00:31:57.616Z] eaf3925da568: Pulling fs layer [2023-03-29T00:31:57.616Z] bab4dde63d76: Pulling fs layer [2023-03-29T00:31:57.616Z] bde34c3a00c8: Pulling fs layer [2023-03-29T00:31:57.616Z] b352a97aabf1: Pulling fs layer [2023-03-29T00:31:57.616Z] 4872d77fe225: Pulling fs layer [2023-03-29T00:31:57.616Z] 5851b861e8e6: Pulling fs layer [2023-03-29T00:31:57.616Z] 988bab9f4d93: Waiting [2023-03-29T00:31:57.616Z] 1469e6f7b9e6: Waiting [2023-03-29T00:31:57.616Z] eaf3925da568: Waiting [2023-03-29T00:31:57.616Z] bab4dde63d76: Waiting [2023-03-29T00:31:57.616Z] bde34c3a00c8: Waiting [2023-03-29T00:31:57.616Z] b352a97aabf1: Waiting [2023-03-29T00:31:57.616Z] 4872d77fe225: Waiting [2023-03-29T00:31:57.616Z] 5851b861e8e6: Waiting [2023-03-29T00:31:57.616Z] e2be974225ed: Verifying Checksum [2023-03-29T00:31:57.616Z] e2be974225ed: Download complete [2023-03-29T00:31:57.616Z] 988bab9f4d93: Verifying Checksum [2023-03-29T00:31:57.616Z] 988bab9f4d93: Download complete [2023-03-29T00:31:57.616Z] 1469e6f7b9e6: Verifying Checksum [2023-03-29T00:31:57.616Z] 1469e6f7b9e6: Download complete [2023-03-29T00:31:57.616Z] 339a4e72a1f5: Verifying Checksum [2023-03-29T00:31:57.616Z] 339a4e72a1f5: Download complete [2023-03-29T00:31:57.897Z] eaf3925da568: Verifying Checksum [2023-03-29T00:31:57.897Z] eaf3925da568: Download complete [2023-03-29T00:31:57.897Z] bde34c3a00c8: Verifying Checksum [2023-03-29T00:31:57.897Z] bde34c3a00c8: Download complete [2023-03-29T00:31:57.897Z] b352a97aabf1: Verifying Checksum [2023-03-29T00:31:57.897Z] b352a97aabf1: Download complete [2023-03-29T00:31:57.897Z] 4872d77fe225: Verifying Checksum [2023-03-29T00:31:57.897Z] 4872d77fe225: Download complete [2023-03-29T00:31:57.897Z] 5851b861e8e6: Download complete [2023-03-29T00:31:57.897Z] b85a868b505f: Verifying Checksum [2023-03-29T00:31:57.897Z] b85a868b505f: Download complete [2023-03-29T00:31:58.158Z] bab4dde63d76: Verifying Checksum [2023-03-29T00:31:58.158Z] bab4dde63d76: Download complete [2023-03-29T00:31:59.534Z] b85a868b505f: Pull complete [2023-03-29T00:31:59.534Z] e2be974225ed: Pull complete [2023-03-29T00:31:59.793Z] 339a4e72a1f5: Pull complete [2023-03-29T00:32:00.051Z] 988bab9f4d93: Pull complete [2023-03-29T00:32:00.309Z] 1469e6f7b9e6: Pull complete [2023-03-29T00:32:00.309Z] eaf3925da568: Pull complete [2023-03-29T00:32:02.215Z] bab4dde63d76: Pull complete [2023-03-29T00:32:02.215Z] bde34c3a00c8: Pull complete [2023-03-29T00:32:02.215Z] b352a97aabf1: Pull complete [2023-03-29T00:32:02.475Z] 4872d77fe225: Pull complete [2023-03-29T00:32:02.475Z] 5851b861e8e6: Pull complete [2023-03-29T00:32:02.475Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-29T00:32:02.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T00:32:02.475Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:32:02.583Z] prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container [2023-03-29T00:32:02.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-29T00:32:05.062Z] $ docker top 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 -eo pid,comm [2023-03-29T00:32:05.122Z] 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-29T00:32:05.122Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T00:32:05.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T00:32:05.164Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T00:32:05.287Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T00:32:05.298Z] $ docker exec 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 ssh-agent [2023-03-29T00:32:05.393Z] SSH_AUTH_SOCK=/tmp/ssh-XgqVez1TbP4E/agent.32 [2023-03-29T00:32:05.393Z] SSH_AGENT_PID=38 [2023-03-29T00:32:05.399Z] Running ssh-add (command line suppressed) [2023-03-29T00:32:05.511Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14868254068838344573.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14868254068838344573.key) [2023-03-29T00:32:05.517Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T00:32:05.807Z] + git tag --points-at HEAD [Pipeline] } [2023-03-29T00:32:05.827Z] $ docker exec --env ******** --env ******** 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 ssh-agent -k [2023-03-29T00:32:05.942Z] unset SSH_AUTH_SOCK; [2023-03-29T00:32:05.943Z] unset SSH_AGENT_PID; [2023-03-29T00:32:05.943Z] echo Agent pid 38 killed; [2023-03-29T00:32:05.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-29T00:32:05.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T00:32:05.966Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T00:32:06.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T00:32:06.097Z] $ docker exec 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 ssh-agent [2023-03-29T00:32:06.201Z] SSH_AUTH_SOCK=/tmp/ssh-waxRzmv5rsTl/agent.70 [2023-03-29T00:32:06.201Z] SSH_AGENT_PID=76 [2023-03-29T00:32:06.205Z] Running ssh-add (command line suppressed) [2023-03-29T00:32:06.326Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8377385796987074386.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8377385796987074386.key) [2023-03-29T00:32:06.337Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T00:32:06.623Z] + git semver init [2023-03-29T00:32:06.883Z] 2023-03-29 00:32:06,816 [run_init] DEBUG init version:0.0.0 force:False [2023-03-29T00:32:06.883Z] 2023-03-29 00:32:06,817 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-03-29T00:32:06.883Z] 2023-03-29 00:32:06,817 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-03-29T00:32:06.883Z] 2023-03-29 00:32:06,817 [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-29T00:32:08.261Z] 2023-03-29 00:32:07,861 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-03-29T00:32:08.261Z] 2023-03-29 00:32:07,862 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-03-29T00:32:08.261Z] 2023-03-29 00:32:07,862 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-29T00:32:08.261Z] 2023-03-29 00:32:07,862 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-29T00:32:08.261Z] 3.0.0-dev.25 [Pipeline] } [2023-03-29T00:32:08.275Z] $ docker exec --env ******** --env ******** 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 ssh-agent -k [2023-03-29T00:32:08.372Z] unset SSH_AUTH_SOCK; [2023-03-29T00:32:08.372Z] unset SSH_AGENT_PID; [2023-03-29T00:32:08.372Z] echo Agent pid 76 killed; [2023-03-29T00:32:08.379Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T00:32:08.690Z] + git semver [Pipeline] } [2023-03-29T00:32:08.967Z] $ docker stop --time=1 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 [2023-03-29T00:32:10.270Z] $ docker rm -f --volumes 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T00:32:10.610Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-29T00:32:10.805Z] Stashed 1 file(s) [Pipeline] echo [2023-03-29T00:32:10.807Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.25 [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-29T00:32:10.906Z] provisioning config files... [2023-03-29T00:32:10.915Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2274138456469758626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:32:11.204Z] ---> docker-login.sh [2023-03-29T00:32:11.204Z] nexus3.edgexfoundry.org:10001 [2023-03-29T00:32:11.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:11.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:11.204Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:11.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:11.204Z] [2023-03-29T00:32:11.204Z] Login Succeeded [2023-03-29T00:32:11.204Z] nexus3.edgexfoundry.org:10002 [2023-03-29T00:32:11.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:11.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:11.204Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:11.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:11.204Z] [2023-03-29T00:32:11.204Z] Login Succeeded [2023-03-29T00:32:11.204Z] nexus3.edgexfoundry.org:10003 [2023-03-29T00:32:11.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:11.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:11.463Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:11.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:11.463Z] [2023-03-29T00:32:11.463Z] Login Succeeded [2023-03-29T00:32:11.463Z] nexus3.edgexfoundry.org:10004 [2023-03-29T00:32:11.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:11.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:11.463Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:11.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:11.463Z] [2023-03-29T00:32:11.463Z] Login Succeeded [2023-03-29T00:32:11.463Z] docker.io [2023-03-29T00:32:11.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:11.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:11.722Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:11.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:11.722Z] [2023-03-29T00:32:11.981Z] Login Succeeded [2023-03-29T00:32:11.981Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T00:32:11.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T00:32:12.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T00:32:12.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T00:32:12.076Z] ========================================================= [2023-03-29T00:32:12.076Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-29T00:32:12.076Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:32:12.392Z] + 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-29T00:32:12.392Z] Sending build context to Docker daemon 23.49MB [2023-03-29T00:32:12.392Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T00:32:12.392Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T00:32:12.660Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-29T00:32:12.660Z] 63b65145d645: Pulling fs layer [2023-03-29T00:32:12.660Z] a2d21d5440eb: Pulling fs layer [2023-03-29T00:32:12.660Z] 935e6c44a52c: Pulling fs layer [2023-03-29T00:32:12.660Z] 94cc34f8dd06: Pulling fs layer [2023-03-29T00:32:12.660Z] 30dea6a524f1: Pulling fs layer [2023-03-29T00:32:12.660Z] a2aff8979fd8: Pulling fs layer [2023-03-29T00:32:12.660Z] 6808be2612f2: Pulling fs layer [2023-03-29T00:32:12.660Z] f25807f1079a: Pulling fs layer [2023-03-29T00:32:12.660Z] 30dea6a524f1: Waiting [2023-03-29T00:32:12.660Z] a2aff8979fd8: Waiting [2023-03-29T00:32:12.660Z] 6808be2612f2: Waiting [2023-03-29T00:32:12.660Z] f25807f1079a: Waiting [2023-03-29T00:32:12.660Z] a2d21d5440eb: Download complete [2023-03-29T00:32:12.660Z] 94cc34f8dd06: Download complete [2023-03-29T00:32:12.660Z] 30dea6a524f1: Verifying Checksum [2023-03-29T00:32:12.660Z] 30dea6a524f1: Download complete [2023-03-29T00:32:12.660Z] 63b65145d645: Verifying Checksum [2023-03-29T00:32:12.660Z] 63b65145d645: Download complete [2023-03-29T00:32:12.660Z] a2aff8979fd8: Verifying Checksum [2023-03-29T00:32:12.660Z] a2aff8979fd8: Download complete [2023-03-29T00:32:12.919Z] 63b65145d645: Pull complete [2023-03-29T00:32:12.919Z] a2d21d5440eb: Pull complete [2023-03-29T00:32:13.178Z] f25807f1079a: Verifying Checksum [2023-03-29T00:32:13.178Z] f25807f1079a: Download complete [2023-03-29T00:32:13.178Z] 935e6c44a52c: Verifying Checksum [2023-03-29T00:32:13.178Z] 935e6c44a52c: Download complete [2023-03-29T00:32:13.436Z] 6808be2612f2: Verifying Checksum [2023-03-29T00:32:13.436Z] 6808be2612f2: Download complete [2023-03-29T00:32:16.726Z] 935e6c44a52c: Pull complete [2023-03-29T00:32:16.985Z] 94cc34f8dd06: Pull complete [2023-03-29T00:32:16.985Z] 30dea6a524f1: Pull complete [2023-03-29T00:32:17.243Z] a2aff8979fd8: Pull complete [2023-03-29T00:32:19.775Z] 6808be2612f2: Pull complete [2023-03-29T00:32:20.342Z] f25807f1079a: Pull complete [2023-03-29T00:32:20.342Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-29T00:32:20.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-29T00:32:20.342Z] ---> 3b553350e43f [2023-03-29T00:32:20.342Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T00:32:23.639Z] ---> Running in a1c7361182d5 [2023-03-29T00:32:23.639Z] Removing intermediate container a1c7361182d5 [2023-03-29T00:32:23.639Z] ---> b8a50191ba69 [2023-03-29T00:32:23.639Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T00:32:23.639Z] ---> Running in 4c7c1897192e [2023-03-29T00:32:23.639Z] Removing intermediate container 4c7c1897192e [2023-03-29T00:32:23.639Z] ---> bad3353bb046 [2023-03-29T00:32:23.639Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T00:32:23.639Z] ---> Running in 74c3966b611a [2023-03-29T00:32:23.639Z] Removing intermediate container 74c3966b611a [2023-03-29T00:32:23.639Z] ---> a60f56dd8e50 [2023-03-29T00:32:23.639Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-29T00:32:23.639Z] ---> Running in 3649916108bc [2023-03-29T00:32:23.639Z] Removing intermediate container 3649916108bc [2023-03-29T00:32:23.639Z] ---> 274536f05158 [2023-03-29T00:32:23.639Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T00:32:23.639Z] ---> Running in 8c33d13593b0 [2023-03-29T00:32:23.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T00:32:24.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T00:32:24.410Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T00:32:24.410Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T00:32:24.410Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T00:32:24.410Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T00:32:24.410Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T00:32:24.410Z] OK: 269 MiB in 57 packages [2023-03-29T00:32:24.999Z] Removing intermediate container 8c33d13593b0 [2023-03-29T00:32:24.999Z] ---> fe94efafb986 [2023-03-29T00:32:24.999Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-29T00:32:25.259Z] ---> f1cac6f972ec [2023-03-29T00:32:25.259Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T00:32:25.259Z] ---> Running in 72b676688df0 [2023-03-29T00:32:25.877Z] Still waiting to schedule task [2023-03-29T00:32:25.878Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-29T00:32:57.387Z] Removing intermediate container 72b676688df0 [2023-03-29T00:32:57.387Z] ---> 2b4df9163fe8 [2023-03-29T00:32:57.387Z] Step 10/12 : COPY . . [2023-03-29T00:32:57.387Z] ---> 2c2f4facf47d [2023-03-29T00:32:57.387Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T00:32:57.387Z] ---> Running in 7ea9f89258ff [2023-03-29T00:32:57.387Z] Removing intermediate container 7ea9f89258ff [2023-03-29T00:32:57.387Z] ---> c97cf52df016 [2023-03-29T00:32:57.387Z] Step 12/12 : RUN $MAKE [2023-03-29T00:32:57.387Z] ---> Running in 43b30202d621 [2023-03-29T00:32:57.387Z] noop [2023-03-29T00:32:57.387Z] Removing intermediate container 43b30202d621 [2023-03-29T00:32:57.387Z] ---> 3df02b01e3f2 [2023-03-29T00:32:57.387Z] Successfully built 3df02b01e3f2 [2023-03-29T00:32:57.387Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:32:57.689Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T00:32:57.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:32:57.761Z] prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container [2023-03-29T00:32:57.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T00:32:58.134Z] $ docker top d7bc00d1c382c989d9ecfc44564786dd3fc8134da940f3a900427dd521dce4f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T00:32:58.472Z] + go version [2023-03-29T00:32:58.472Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-29T00:32:58.486Z] $ docker stop --time=1 d7bc00d1c382c989d9ecfc44564786dd3fc8134da940f3a900427dd521dce4f4 [2023-03-29T00:32:59.760Z] $ docker rm -f --volumes d7bc00d1c382c989d9ecfc44564786dd3fc8134da940f3a900427dd521dce4f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:33:00.164Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T00:33:00.164Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:33:00.239Z] prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container [2023-03-29T00:33:00.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T00:33:00.633Z] $ docker top b359cc65d46138a6f578210ee2a3582e1653f3ee5f7fd59e4b48e632580817d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T00:33:00.976Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-29T00:33:01.266Z] + make test [2023-03-29T00:33:01.266Z] go test ./... -coverprofile=coverage.out [2023-03-29T00:33:06.534Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-29T00:33:16.497Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-29T00:33:16.497Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2023-03-29T00:33:23.056Z] go vet ./... [2023-03-29T00:33:26.341Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T00:33:26.341Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T00:33:26.341Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T00:33:26.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T00:33:26.626Z] $ docker stop --time=1 b359cc65d46138a6f578210ee2a3582e1653f3ee5f7fd59e4b48e632580817d7 [2023-03-29T00:33:29.457Z] $ docker rm -f --volumes b359cc65d46138a6f578210ee2a3582e1653f3ee5f7fd59e4b48e632580817d7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T00:33:29.904Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T00:33:29.956Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-29T00:33:30.505Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T00:33:30.858Z] + ls -al . [2023-03-29T00:33:30.858Z] total 192 [2023-03-29T00:33:30.858Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 00:33 . [2023-03-29T00:33:30.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 00:31 .. [2023-03-29T00:33:30.858Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 00:32 .git [2023-03-29T00:33:30.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:31 .github [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 29 00:31 .gitignore [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 00:31 .golangci.yml [2023-03-29T00:33:30.858Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 00:32 .semver [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 29 00:31 Attribution.txt [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 29 00:31 CHANGELOG.md [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 29 00:31 Dockerfile [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 00:31 GOVERNANCE.md [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 29 00:31 Jenkinsfile [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 00:31 LICENSE [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 29 00:31 Makefile [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 29 00:31 OWNERS.md [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 29 00:31 README.md [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 29 00:32 VERSION [2023-03-29T00:33:30.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 00:31 bin [2023-03-29T00:33:30.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:31 cmd [2023-03-29T00:33:30.858Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 29 00:33 coverage.out [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 3254 Mar 29 00:31 go.mod [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 30610 Mar 29 00:31 go.sum [2023-03-29T00:33:30.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:31 internal [2023-03-29T00:33:30.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 00:31 snap [2023-03-29T00:33:30.858Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 29 00:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:33:31.210Z] + 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=b76ffb3f756266f027a45c1155223ddd586b2bad --label arch=amd64 --label version=3.0.0-dev.25 . [2023-03-29T00:33:31.210Z] Sending build context to Docker daemon 23.53MB [2023-03-29T00:33:31.210Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T00:33:31.210Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-29T00:33:31.210Z] ---> 3df02b01e3f2 [2023-03-29T00:33:31.210Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T00:33:31.493Z] ---> Running in 7ae72437cf0f [2023-03-29T00:33:31.493Z] Removing intermediate container 7ae72437cf0f [2023-03-29T00:33:31.493Z] ---> 4bd0b52d95ad [2023-03-29T00:33:31.493Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T00:33:31.756Z] ---> Running in 619037d97465 [2023-03-29T00:33:31.756Z] Removing intermediate container 619037d97465 [2023-03-29T00:33:31.756Z] ---> 244927b89bff [2023-03-29T00:33:31.756Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-29T00:33:31.756Z] ---> Running in 4a79b2b08fd7 [2023-03-29T00:33:31.756Z] Removing intermediate container 4a79b2b08fd7 [2023-03-29T00:33:31.756Z] ---> 252d514e7224 [2023-03-29T00:33:31.756Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-29T00:33:31.756Z] ---> Running in e7454223602a [2023-03-29T00:33:32.014Z] Removing intermediate container e7454223602a [2023-03-29T00:33:32.015Z] ---> 8c44f9e5713f [2023-03-29T00:33:32.015Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T00:33:32.015Z] ---> Running in 3a7fa764f313 [2023-03-29T00:33:32.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T00:33:32.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T00:33:32.533Z] OK: 269 MiB in 57 packages [2023-03-29T00:33:32.806Z] Removing intermediate container 3a7fa764f313 [2023-03-29T00:33:32.806Z] ---> 2f82b8c87239 [2023-03-29T00:33:32.806Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-29T00:33:33.066Z] ---> 526d8157aec2 [2023-03-29T00:33:33.066Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T00:33:33.066Z] ---> Running in 67491441e890 [2023-03-29T00:33:34.003Z] Removing intermediate container 67491441e890 [2023-03-29T00:33:34.003Z] ---> c9135f000866 [2023-03-29T00:33:34.003Z] Step 10/25 : COPY . . [2023-03-29T00:33:34.571Z] ---> d3093de177d2 [2023-03-29T00:33:34.571Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T00:33:34.571Z] ---> Running in 62cf44dbc0c1 [2023-03-29T00:33:34.571Z] Removing intermediate container 62cf44dbc0c1 [2023-03-29T00:33:34.571Z] ---> 8be231f61da6 [2023-03-29T00:33:34.571Z] Step 12/25 : RUN $MAKE [2023-03-29T00:33:34.571Z] ---> Running in 8b0c2ee26f29 [2023-03-29T00:33:34.828Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.25" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-29T00:33:52.901Z] Removing intermediate container 8b0c2ee26f29 [2023-03-29T00:33:52.901Z] ---> 0029acdce560 [2023-03-29T00:33:52.901Z] Step 13/25 : FROM alpine:3.17 [2023-03-29T00:33:53.160Z] 3.17: Pulling from library/alpine [2023-03-29T00:33:53.420Z] 63b65145d645: Already exists [2023-03-29T00:33:53.420Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-29T00:33:53.420Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T00:33:53.420Z] ---> b2aa39c304c2 [2023-03-29T00:33:53.420Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-29T00:33:53.679Z] ---> Running in 088e153009bb [2023-03-29T00:33:53.679Z] Removing intermediate container 088e153009bb [2023-03-29T00:33:53.679Z] ---> ccb94b2ee454 [2023-03-29T00:33:53.679Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-29T00:33:53.679Z] ---> Running in a5b9ac7be913 [2023-03-29T00:33:53.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T00:33:53.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T00:33:54.194Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-29T00:33:54.194Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T00:33:54.194Z] OK: 7 MiB in 16 packages [2023-03-29T00:33:54.760Z] Removing intermediate container a5b9ac7be913 [2023-03-29T00:33:54.760Z] ---> ff6463d2e114 [2023-03-29T00:33:54.760Z] Step 16/25 : WORKDIR / [2023-03-29T00:33:54.760Z] ---> Running in b3d33fd77392 [2023-03-29T00:33:54.760Z] Removing intermediate container b3d33fd77392 [2023-03-29T00:33:54.760Z] ---> 2ee29be6d4ce [2023-03-29T00:33:54.760Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-29T00:33:54.760Z] ---> 2b4645f68818 [2023-03-29T00:33:54.760Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-29T00:33:55.017Z] ---> f76ab6296947 [2023-03-29T00:33:55.017Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-29T00:33:55.953Z] ---> 8e0208207ad9 [2023-03-29T00:33:55.953Z] Step 20/25 : EXPOSE 59900 [2023-03-29T00:33:55.953Z] ---> Running in 60d485e08c4d [2023-03-29T00:33:55.953Z] Removing intermediate container 60d485e08c4d [2023-03-29T00:33:55.953Z] ---> 99ed0e20c798 [2023-03-29T00:33:55.953Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-29T00:33:55.953Z] ---> Running in d135bc2bc7c4 [2023-03-29T00:33:55.953Z] Removing intermediate container d135bc2bc7c4 [2023-03-29T00:33:55.953Z] ---> 450c09e3dfbc [2023-03-29T00:33:55.953Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-29T00:33:55.953Z] ---> Running in b811df3db5eb [2023-03-29T00:33:56.212Z] Removing intermediate container b811df3db5eb [2023-03-29T00:33:56.212Z] ---> a3c49b1635a4 [2023-03-29T00:33:56.212Z] Step 23/25 : LABEL arch=amd64 [2023-03-29T00:33:56.212Z] ---> Running in 85317fbcb159 [2023-03-29T00:33:56.212Z] Removing intermediate container 85317fbcb159 [2023-03-29T00:33:56.212Z] ---> 6aa77f8638ee [2023-03-29T00:33:56.212Z] Step 24/25 : LABEL git_sha=b76ffb3f756266f027a45c1155223ddd586b2bad [2023-03-29T00:33:56.212Z] ---> Running in c4ad26d4624f [2023-03-29T00:33:56.471Z] Removing intermediate container c4ad26d4624f [2023-03-29T00:33:56.471Z] ---> 73eeb3afee07 [2023-03-29T00:33:56.471Z] Step 25/25 : LABEL version=3.0.0-dev.25 [2023-03-29T00:33:56.471Z] ---> Running in 1b2963dcba81 [2023-03-29T00:33:56.471Z] Removing intermediate container 1b2963dcba81 [2023-03-29T00:33:56.471Z] ---> 8089237d3ff6 [2023-03-29T00:33:56.471Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T00:33:56.471Z] Successfully built 8089237d3ff6 [2023-03-29T00:33:56.471Z] 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-29T00:33:56.570Z] provisioning config files... [2023-03-29T00:33:56.578Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9068991286652937475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:33:56.930Z] ---> docker-login.sh [2023-03-29T00:33:56.930Z] nexus3.edgexfoundry.org:10001 [2023-03-29T00:33:56.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:33:56.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:33:56.930Z] Configure a credential helper to remove this warning. See [2023-03-29T00:33:56.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:33:56.930Z] [2023-03-29T00:33:56.930Z] Login Succeeded [2023-03-29T00:33:56.930Z] nexus3.edgexfoundry.org:10002 [2023-03-29T00:33:56.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:33:56.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:33:56.930Z] Configure a credential helper to remove this warning. See [2023-03-29T00:33:56.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:33:56.930Z] [2023-03-29T00:33:56.930Z] Login Succeeded [2023-03-29T00:33:56.930Z] nexus3.edgexfoundry.org:10003 [2023-03-29T00:33:57.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:33:57.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:33:57.191Z] Configure a credential helper to remove this warning. See [2023-03-29T00:33:57.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:33:57.191Z] [2023-03-29T00:33:57.191Z] Login Succeeded [2023-03-29T00:33:57.191Z] nexus3.edgexfoundry.org:10004 [2023-03-29T00:33:57.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:33:57.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:33:57.191Z] Configure a credential helper to remove this warning. See [2023-03-29T00:33:57.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:33:57.191Z] [2023-03-29T00:33:57.191Z] Login Succeeded [2023-03-29T00:33:57.191Z] docker.io [2023-03-29T00:33:57.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:33:57.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:33:57.450Z] Configure a credential helper to remove this warning. See [2023-03-29T00:33:57.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:33:57.450Z] [2023-03-29T00:33:57.450Z] Login Succeeded [2023-03-29T00:33:57.450Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T00:33:57.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-29T00:33:57.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T00:33:57.499Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-03-29T00:33:57.499Z] b76ffb3f756266f027a45c1155223ddd586b2bad [2023-03-29T00:33:57.499Z] latest [2023-03-29T00:33:57.499Z] 3.0.0-dev.25 [2023-03-29T00:33:57.499Z] b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 [2023-03-29T00:33:57.499Z] main [2023-03-29T00:33:57.499Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:33:57.817Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:33:58.119Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad [2023-03-29T00:33:58.119Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-29T00:33:58.119Z] ab9ad9cd6cb0: Preparing [2023-03-29T00:33:58.119Z] 47c7815f078b: Preparing [2023-03-29T00:33:58.119Z] abbd2fa991bd: Preparing [2023-03-29T00:33:58.119Z] b0ae05ca6d7c: Preparing [2023-03-29T00:33:58.119Z] 7cd52847ad77: Preparing [2023-03-29T00:33:58.119Z] 7cd52847ad77: Layer already exists [2023-03-29T00:33:58.119Z] abbd2fa991bd: Pushed [2023-03-29T00:33:58.119Z] 47c7815f078b: Pushed [2023-03-29T00:33:58.119Z] b0ae05ca6d7c: Pushed [2023-03-29T00:34:01.405Z] ab9ad9cd6cb0: Pushed [2023-03-29T00:34:01.405Z] b76ffb3f756266f027a45c1155223ddd586b2bad: digest: sha256:8c9b68386bf1b0cb20fa2f9b165a9c9ba253db72782dcd05340c51506cef241a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:01.720Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:02.033Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-03-29T00:34:02.033Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-29T00:34:02.033Z] ab9ad9cd6cb0: Preparing [2023-03-29T00:34:02.033Z] 47c7815f078b: Preparing [2023-03-29T00:34:02.033Z] abbd2fa991bd: Preparing [2023-03-29T00:34:02.033Z] b0ae05ca6d7c: Preparing [2023-03-29T00:34:02.033Z] 7cd52847ad77: Preparing [2023-03-29T00:34:02.033Z] abbd2fa991bd: Layer already exists [2023-03-29T00:34:02.033Z] 47c7815f078b: Layer already exists [2023-03-29T00:34:02.033Z] b0ae05ca6d7c: Layer already exists [2023-03-29T00:34:02.033Z] 7cd52847ad77: Layer already exists [2023-03-29T00:34:02.033Z] ab9ad9cd6cb0: Layer already exists [2023-03-29T00:34:02.033Z] latest: digest: sha256:8c9b68386bf1b0cb20fa2f9b165a9c9ba253db72782dcd05340c51506cef241a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:02.342Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:02.653Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.25 [2023-03-29T00:34:02.654Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-29T00:34:02.654Z] ab9ad9cd6cb0: Preparing [2023-03-29T00:34:02.654Z] 47c7815f078b: Preparing [2023-03-29T00:34:02.654Z] abbd2fa991bd: Preparing [2023-03-29T00:34:02.654Z] b0ae05ca6d7c: Preparing [2023-03-29T00:34:02.654Z] 7cd52847ad77: Preparing [2023-03-29T00:34:02.654Z] abbd2fa991bd: Layer already exists [2023-03-29T00:34:02.654Z] ab9ad9cd6cb0: Layer already exists [2023-03-29T00:34:02.654Z] 7cd52847ad77: Layer already exists [2023-03-29T00:34:02.654Z] b0ae05ca6d7c: Layer already exists [2023-03-29T00:34:02.654Z] 47c7815f078b: Layer already exists [2023-03-29T00:34:02.654Z] 3.0.0-dev.25: digest: sha256:8c9b68386bf1b0cb20fa2f9b165a9c9ba253db72782dcd05340c51506cef241a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:02.963Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:03.265Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 [2023-03-29T00:34:03.265Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-29T00:34:03.265Z] ab9ad9cd6cb0: Preparing [2023-03-29T00:34:03.265Z] 47c7815f078b: Preparing [2023-03-29T00:34:03.265Z] abbd2fa991bd: Preparing [2023-03-29T00:34:03.265Z] b0ae05ca6d7c: Preparing [2023-03-29T00:34:03.265Z] 7cd52847ad77: Preparing [2023-03-29T00:34:03.265Z] 47c7815f078b: Layer already exists [2023-03-29T00:34:03.265Z] abbd2fa991bd: Layer already exists [2023-03-29T00:34:03.265Z] 7cd52847ad77: Layer already exists [2023-03-29T00:34:03.265Z] ab9ad9cd6cb0: Layer already exists [2023-03-29T00:34:03.265Z] b0ae05ca6d7c: Layer already exists [2023-03-29T00:34:03.265Z] b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25: digest: sha256:8c9b68386bf1b0cb20fa2f9b165a9c9ba253db72782dcd05340c51506cef241a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:03.583Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:03.845Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6153 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-03-29T00:34:03.856Z] Running in /w/workspace/device-virtual-go/97 [Pipeline] { [Pipeline] checkout [2023-03-29T00:34:03.887Z] The recommended git tool is: git [2023-03-29T00:34:03.898Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-03-29T00:34:03.898Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-29T00:34:03.898Z] ab9ad9cd6cb0: Preparing [2023-03-29T00:34:03.898Z] 47c7815f078b: Preparing [2023-03-29T00:34:03.898Z] abbd2fa991bd: Preparing [2023-03-29T00:34:03.898Z] b0ae05ca6d7c: Preparing [2023-03-29T00:34:03.898Z] 7cd52847ad77: Preparing [2023-03-29T00:34:03.898Z] 7cd52847ad77: Layer already exists [2023-03-29T00:34:03.898Z] ab9ad9cd6cb0: Layer already exists [2023-03-29T00:34:03.898Z] abbd2fa991bd: Layer already exists [2023-03-29T00:34:03.898Z] 47c7815f078b: Layer already exists [2023-03-29T00:34:03.898Z] b0ae05ca6d7c: Layer already exists [2023-03-29T00:34:03.898Z] main: digest: sha256:8c9b68386bf1b0cb20fa2f9b165a9c9ba253db72782dcd05340c51506cef241a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-29T00:34:03.940Z] ===================================================== [Pipeline] echo [2023-03-29T00:34:03.949Z] taggedImages: [2023-03-29T00:34:03.949Z] - nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad [2023-03-29T00:34:03.949Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-03-29T00:34:03.949Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.25 [2023-03-29T00:34:03.949Z] - nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 [2023-03-29T00:34:03.949Z] - 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-29T00:34:04.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T00:34:04.312Z] [2023-03-29T00:34:04.312Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:04.609Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T00:34:04.609Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-29T00:34:04.609Z] 5eb5b503b376: Pulling fs layer [2023-03-29T00:34:04.609Z] 5c69ac0246d0: Pulling fs layer [2023-03-29T00:34:04.609Z] ec43610c2a17: Pulling fs layer [2023-03-29T00:34:04.609Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-29T00:34:04.609Z] 33b1e0a273af: Pulling fs layer [2023-03-29T00:34:04.609Z] 5d3b04190fa2: Pulling fs layer [2023-03-29T00:34:04.609Z] 2f39f015ded8: Pulling fs layer [2023-03-29T00:34:04.609Z] 3a2ae6a8a46f: Waiting [2023-03-29T00:34:04.609Z] 33b1e0a273af: Waiting [2023-03-29T00:34:04.609Z] 5d3b04190fa2: Waiting [2023-03-29T00:34:04.609Z] 5c69ac0246d0: Verifying Checksum [2023-03-29T00:34:04.609Z] 5c69ac0246d0: Download complete [2023-03-29T00:34:04.609Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-29T00:34:04.609Z] 3a2ae6a8a46f: Download complete [2023-03-29T00:34:04.609Z] 33b1e0a273af: Verifying Checksum [2023-03-29T00:34:04.609Z] 33b1e0a273af: Download complete [2023-03-29T00:34:04.609Z] ec43610c2a17: Verifying Checksum [2023-03-29T00:34:04.609Z] ec43610c2a17: Download complete [2023-03-29T00:34:04.609Z] 5d3b04190fa2: Verifying Checksum [2023-03-29T00:34:04.609Z] 5d3b04190fa2: Download complete [2023-03-29T00:34:04.866Z] 5eb5b503b376: Verifying Checksum [2023-03-29T00:34:04.866Z] 5eb5b503b376: Download complete [2023-03-29T00:34:05.430Z] 2f39f015ded8: Download complete [2023-03-29T00:34:05.996Z] 5eb5b503b376: Pull complete [2023-03-29T00:34:06.254Z] 5c69ac0246d0: Pull complete [2023-03-29T00:34:06.822Z] ec43610c2a17: Pull complete [2023-03-29T00:34:06.822Z] 3a2ae6a8a46f: Pull complete [2023-03-29T00:34:07.082Z] 33b1e0a273af: Pull complete [2023-03-29T00:34:07.082Z] 5d3b04190fa2: Pull complete [2023-03-29T00:34:09.973Z] using credential edgex-jenkins-ssh [2023-03-29T00:34:09.994Z] Cloning the remote Git repository [2023-03-29T00:34:10.062Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-29T00:34:10.194Z] > git init /w/workspace/device-virtual-go/97 # timeout=10 [2023-03-29T00:34:10.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-29T00:34:10.394Z] > git --version # timeout=10 [2023-03-29T00:34:10.420Z] > git --version # 'git version 2.25.1' [2023-03-29T00:34:10.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T00:34:10.610Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T00:34:12.359Z] 2f39f015ded8: Pull complete [2023-03-29T00:34:12.359Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-29T00:34:12.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T00:34:12.359Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:34:12.453Z] prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container [2023-03-29T00:34:12.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T00:34:13.973Z] Avoid second fetch [2023-03-29T00:34:13.974Z] Checking out Revision b76ffb3f756266f027a45c1155223ddd586b2bad (main) [2023-03-29T00:34:13.011Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-29T00:34:13.038Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T00:34:13.994Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T00:34:14.579Z] Commit message: "refactor!: Changed configuration and devices files format to YAML (#368)" [2023-03-29T00:34:14.898Z] [2023-03-29T00:34:14.898Z] GitHub has been notified of this commit’s build result [2023-03-29T00:34:14.898Z] [2023-03-29T00:34:14.075Z] > git checkout -f b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 [2023-03-29T00:34:15.733Z] $ docker top 2e4ceabb5bbe813c55186dac626b04149814e70042020aa00f7f4d82040bbffd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T00:34:16.109Z] ---> job-cost.sh [2023-03-29T00:34:16.109Z] lf-activate-venv: SKIPPING [2023-03-29T00:34:16.109Z] INFO: No Stack... [2023-03-29T00:34:16.369Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T00:34:16.423Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-29T00:34:16.423Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T00:34:16.423Z] Dload Upload Total Spent Left Speed [2023-03-29T00:34:16.423Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh [2023-03-29T00:34:16.938Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T00:34:17.098Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-29T00:34:17.228Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-03-29T00:34:17.228Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T00:34:17.241Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] [2023-03-29T00:34:17.252Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] did not exist. Created. [2023-03-29T00:34:17.252Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T00:34:17.431Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-29T00:34:17.431Z] + sudo tee /etc/docker/daemon.new [2023-03-29T00:34:17.431Z] { [2023-03-29T00:34:17.431Z] "registry-mirrors": [ [2023-03-29T00:34:17.431Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-29T00:34:17.431Z] ], [2023-03-29T00:34:17.431Z] "bip": "10.250.0.254/24", [2023-03-29T00:34:17.431Z] "hosts": [ [2023-03-29T00:34:17.431Z] "tcp://0.0.0.0:5555", [2023-03-29T00:34:17.431Z] "unix:///var/run/docker.sock" [2023-03-29T00:34:17.431Z] ], [2023-03-29T00:34:17.431Z] "mtu": 1458, [2023-03-29T00:34:17.431Z] "selinux-enabled": true, [2023-03-29T00:34:17.431Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-29T00:34:17.431Z] } [Pipeline] sh [2023-03-29T00:34:17.554Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-29T00:34:17.584Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T00:34:17.589Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T00:34:17.609Z] $ docker stop --time=1 2e4ceabb5bbe813c55186dac626b04149814e70042020aa00f7f4d82040bbffd [2023-03-29T00:34:17.765Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-03-29T00:34:18.762Z] $ docker rm -f --volumes 2e4ceabb5bbe813c55186dac626b04149814e70042020aa00f7f4d82040bbffd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T00:34:19.140Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T00:34:37.416Z] provisioning config files... [2023-03-29T00:34:37.449Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/97@tmp/config9304787245968908394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:34:37.816Z] ---> docker-login.sh [2023-03-29T00:34:37.816Z] nexus3.edgexfoundry.org:10001 [2023-03-29T00:34:38.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:34:38.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:34:38.409Z] Configure a credential helper to remove this warning. See [2023-03-29T00:34:38.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:34:38.409Z] [2023-03-29T00:34:38.409Z] Login Succeeded [2023-03-29T00:34:38.409Z] nexus3.edgexfoundry.org:10002 [2023-03-29T00:34:38.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:34:38.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:34:38.950Z] Configure a credential helper to remove this warning. See [2023-03-29T00:34:38.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:34:38.950Z] [2023-03-29T00:34:38.950Z] Login Succeeded [2023-03-29T00:34:38.950Z] nexus3.edgexfoundry.org:10003 [2023-03-29T00:34:39.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:34:39.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:34:39.223Z] Configure a credential helper to remove this warning. See [2023-03-29T00:34:39.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:34:39.223Z] [2023-03-29T00:34:39.223Z] Login Succeeded [2023-03-29T00:34:39.223Z] nexus3.edgexfoundry.org:10004 [2023-03-29T00:34:39.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:34:39.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:34:39.782Z] Configure a credential helper to remove this warning. See [2023-03-29T00:34:39.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:34:39.782Z] [2023-03-29T00:34:39.782Z] Login Succeeded [2023-03-29T00:34:39.782Z] docker.io [2023-03-29T00:34:39.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:34:40.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:34:40.051Z] Configure a credential helper to remove this warning. See [2023-03-29T00:34:40.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:34:40.051Z] [2023-03-29T00:34:40.051Z] Login Succeeded [2023-03-29T00:34:40.051Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T00:34:40.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T00:34:40.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T00:34:40.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T00:34:40.397Z] ========================================================= [2023-03-29T00:34:40.397Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-29T00:34:40.397Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:40.751Z] + 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-29T00:34:41.024Z] Sending build context to Docker daemon 11.9MB [2023-03-29T00:34:41.295Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T00:34:41.296Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T00:34:41.296Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-29T00:34:41.296Z] af6eaf76a39c: Pulling fs layer [2023-03-29T00:34:41.296Z] 55522c791124: Pulling fs layer [2023-03-29T00:34:41.296Z] ce5c4a1c91eb: Pulling fs layer [2023-03-29T00:34:41.296Z] 169dfbe0d373: Pulling fs layer [2023-03-29T00:34:41.296Z] e1ff8fa3b103: Pulling fs layer [2023-03-29T00:34:41.296Z] 52ebb69f0ebf: Pulling fs layer [2023-03-29T00:34:41.296Z] 5abe8eddf0d5: Pulling fs layer [2023-03-29T00:34:41.296Z] e1ff8fa3b103: Waiting [2023-03-29T00:34:41.296Z] 52ebb69f0ebf: Waiting [2023-03-29T00:34:41.296Z] 5abe8eddf0d5: Waiting [2023-03-29T00:34:41.296Z] 169dfbe0d373: Waiting [2023-03-29T00:34:41.575Z] 55522c791124: Verifying Checksum [2023-03-29T00:34:41.575Z] 55522c791124: Download complete [2023-03-29T00:34:41.575Z] 169dfbe0d373: Verifying Checksum [2023-03-29T00:34:41.575Z] 169dfbe0d373: Download complete [2023-03-29T00:34:41.575Z] e1ff8fa3b103: Download complete [2023-03-29T00:34:41.575Z] af6eaf76a39c: Verifying Checksum [2023-03-29T00:34:41.575Z] af6eaf76a39c: Download complete [2023-03-29T00:34:42.548Z] af6eaf76a39c: Pull complete [2023-03-29T00:34:42.549Z] 5abe8eddf0d5: Verifying Checksum [2023-03-29T00:34:42.549Z] 5abe8eddf0d5: Download complete [2023-03-29T00:34:43.160Z] 55522c791124: Pull complete [2023-03-29T00:34:44.151Z] ce5c4a1c91eb: Verifying Checksum [2023-03-29T00:34:44.151Z] ce5c4a1c91eb: Download complete [2023-03-29T00:34:44.151Z] 52ebb69f0ebf: Verifying Checksum [2023-03-29T00:34:44.151Z] 52ebb69f0ebf: Download complete [2023-03-29T00:34:56.524Z] ce5c4a1c91eb: Pull complete [2023-03-29T00:34:56.524Z] 169dfbe0d373: Pull complete [2023-03-29T00:34:56.524Z] e1ff8fa3b103: Pull complete [2023-03-29T00:35:03.264Z] 52ebb69f0ebf: Pull complete [2023-03-29T00:35:04.772Z] 5abe8eddf0d5: Pull complete [2023-03-29T00:35:04.772Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-29T00:35:04.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-29T00:35:04.772Z] ---> 6cb57ee374ae [2023-03-29T00:35:04.772Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T00:35:06.763Z] ---> Running in bbe4882e9f90 [2023-03-29T00:35:06.763Z] Removing intermediate container bbe4882e9f90 [2023-03-29T00:35:06.763Z] ---> c94c2dea0c86 [2023-03-29T00:35:06.763Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T00:35:06.763Z] ---> Running in 1e40d136e221 [2023-03-29T00:35:07.032Z] Removing intermediate container 1e40d136e221 [2023-03-29T00:35:07.032Z] ---> 2673b932a278 [2023-03-29T00:35:07.032Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T00:35:07.303Z] ---> Running in 298fb6b0765f [2023-03-29T00:35:07.572Z] Removing intermediate container 298fb6b0765f [2023-03-29T00:35:07.572Z] ---> f9570fbdf059 [2023-03-29T00:35:07.572Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-29T00:35:07.572Z] ---> Running in 51e352166816 [2023-03-29T00:35:07.845Z] Removing intermediate container 51e352166816 [2023-03-29T00:35:07.845Z] ---> e757d1a9cacb [2023-03-29T00:35:07.845Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T00:35:08.112Z] ---> Running in a6396e51b17e [2023-03-29T00:35:09.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T00:35:10.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T00:35:11.006Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T00:35:11.006Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T00:35:11.006Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T00:35:11.006Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T00:35:11.006Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T00:35:11.006Z] OK: 268 MiB in 57 packages [2023-03-29T00:35:11.965Z] Removing intermediate container a6396e51b17e [2023-03-29T00:35:11.965Z] ---> eec1ed371a99 [2023-03-29T00:35:11.965Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-29T00:35:12.558Z] ---> 8285e0fb015f [2023-03-29T00:35:12.558Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T00:35:12.558Z] ---> Running in cb82412eb460 [2023-03-29T00:36:08.984Z] Removing intermediate container cb82412eb460 [2023-03-29T00:36:08.984Z] ---> 9c1f69dd2977 [2023-03-29T00:36:08.984Z] Step 10/12 : COPY . . [2023-03-29T00:36:10.392Z] ---> 185e095e8370 [2023-03-29T00:36:10.392Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T00:36:10.392Z] ---> Running in a053f83804d3 [2023-03-29T00:36:10.392Z] Removing intermediate container a053f83804d3 [2023-03-29T00:36:10.392Z] ---> f538710de622 [2023-03-29T00:36:10.392Z] Step 12/12 : RUN $MAKE [2023-03-29T00:36:10.661Z] ---> Running in 0a606e528f55 [2023-03-29T00:36:11.623Z] noop [2023-03-29T00:36:11.889Z] Removing intermediate container 0a606e528f55 [2023-03-29T00:36:11.889Z] ---> d1fb067a5a6c [2023-03-29T00:36:11.889Z] Successfully built d1fb067a5a6c [2023-03-29T00:36:11.889Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:36:12.500Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T00:36:12.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:36:12.712Z] prd-ubuntu20.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container [2023-03-29T00:36:12.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/97 -v /w/workspace/device-virtual-go/97:/w/workspace/device-virtual-go/97:rw,z -v /w/workspace/device-virtual-go/97@tmp:/w/workspace/device-virtual-go/97@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-29T00:36:13.939Z] $ docker top ae52764491f88b506b020383230cedd3f019d8dd9c847849551d945e97cb5e9d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T00:36:14.785Z] + go version [2023-03-29T00:36:14.785Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-29T00:36:14.807Z] $ docker stop --time=1 ae52764491f88b506b020383230cedd3f019d8dd9c847849551d945e97cb5e9d [2023-03-29T00:36:16.442Z] $ docker rm -f --volumes ae52764491f88b506b020383230cedd3f019d8dd9c847849551d945e97cb5e9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:36:16.969Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T00:36:16.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:36:17.157Z] prd-ubuntu20.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container [2023-03-29T00:36:17.237Z] $ 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/97 -v /w/workspace/device-virtual-go/97:/w/workspace/device-virtual-go/97:rw,z -v /w/workspace/device-virtual-go/97@tmp:/w/workspace/device-virtual-go/97@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-29T00:36:18.355Z] $ docker top 792bb43ecb110b8f8f80ff14566751e81d35f56409855bf9f636cfc61483885c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T00:36:18.858Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/97 [Pipeline] fileExists [Pipeline] sh [2023-03-29T00:36:19.185Z] + make test [2023-03-29T00:36:19.185Z] go test ./... -coverprofile=coverage.out [2023-03-29T00:36:51.411Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-29T00:38:43.105Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-29T00:38:43.105Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 65.7% of statements [2023-03-29T00:38:43.105Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-29T00:38:43.105Z] go vet ./... [2023-03-29T00:39:15.400Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T00:39:15.400Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T00:39:15.400Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T00:39:15.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T00:39:15.431Z] $ docker stop --time=1 792bb43ecb110b8f8f80ff14566751e81d35f56409855bf9f636cfc61483885c [2023-03-29T00:39:17.509Z] $ docker rm -f --volumes 792bb43ecb110b8f8f80ff14566751e81d35f56409855bf9f636cfc61483885c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T00:39:18.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T00:39:18.735Z] Warning: overwriting stash ‘coverage-report’ [2023-03-29T00:39:19.376Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T00:39:19.771Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T00:39:20.110Z] + ls -al . [2023-03-29T00:39:20.110Z] total 188 [2023-03-29T00:39:20.110Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 00:36 . [2023-03-29T00:39:20.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 00:34 .. [2023-03-29T00:39:20.110Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 00:34 .git [2023-03-29T00:39:20.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:34 .github [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 29 00:34 .gitignore [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 00:34 .golangci.yml [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 29 00:34 Attribution.txt [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 29 00:34 CHANGELOG.md [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 29 00:34 Dockerfile [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 00:34 GOVERNANCE.md [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 29 00:34 Jenkinsfile [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 00:34 LICENSE [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 29 00:34 Makefile [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 29 00:34 OWNERS.md [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 29 00:34 README.md [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 29 00:32 VERSION [2023-03-29T00:39:20.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 00:34 bin [2023-03-29T00:39:20.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:34 cmd [2023-03-29T00:39:20.110Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 29 00:38 coverage.out [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 3254 Mar 29 00:34 go.mod [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 30610 Mar 29 00:34 go.sum [2023-03-29T00:39:20.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:34 internal [2023-03-29T00:39:20.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 00:34 snap [2023-03-29T00:39:20.110Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 29 00:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:39:20.475Z] + 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=b76ffb3f756266f027a45c1155223ddd586b2bad --label arch=arm64 --label version=3.0.0-dev.25 . [2023-03-29T00:39:21.440Z] Sending build context to Docker daemon 11.94MB [2023-03-29T00:39:21.440Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T00:39:21.440Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-29T00:39:21.440Z] ---> d1fb067a5a6c [2023-03-29T00:39:21.440Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T00:39:21.705Z] ---> Running in bead8fd2bcd1 [2023-03-29T00:39:21.973Z] Removing intermediate container bead8fd2bcd1 [2023-03-29T00:39:21.973Z] ---> 4cd9f03d0e17 [2023-03-29T00:39:21.973Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T00:39:21.973Z] ---> Running in 1be2a8c56ab4 [2023-03-29T00:39:22.558Z] Removing intermediate container 1be2a8c56ab4 [2023-03-29T00:39:22.558Z] ---> a1d92b17a930 [2023-03-29T00:39:22.558Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-29T00:39:22.558Z] ---> Running in 37220d4b5963 [2023-03-29T00:39:23.971Z] Removing intermediate container 37220d4b5963 [2023-03-29T00:39:23.971Z] ---> df99ecf9b214 [2023-03-29T00:39:23.971Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-29T00:39:23.971Z] ---> Running in c2429c36e1c9 [2023-03-29T00:39:24.238Z] Removing intermediate container c2429c36e1c9 [2023-03-29T00:39:24.238Z] ---> a1a9c555a22d [2023-03-29T00:39:24.238Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T00:39:24.238Z] ---> Running in 209451d4cec8 [2023-03-29T00:39:26.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T00:39:27.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T00:39:28.106Z] OK: 268 MiB in 57 packages [2023-03-29T00:39:29.525Z] Removing intermediate container 209451d4cec8 [2023-03-29T00:39:29.525Z] ---> c0d6586dc195 [2023-03-29T00:39:29.525Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-29T00:39:29.792Z] ---> 82342de045ba [2023-03-29T00:39:29.792Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T00:39:29.792Z] ---> Running in ae5ea957cc7a [2023-03-29T00:39:32.388Z] Removing intermediate container ae5ea957cc7a [2023-03-29T00:39:32.388Z] ---> 0e7ecb90541b [2023-03-29T00:39:32.388Z] Step 10/25 : COPY . . [2023-03-29T00:39:33.802Z] ---> a8be5b42c696 [2023-03-29T00:39:33.802Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T00:39:33.802Z] ---> Running in 3055eeb74e34 [2023-03-29T00:39:34.071Z] Removing intermediate container 3055eeb74e34 [2023-03-29T00:39:34.071Z] ---> 898f3ae52b47 [2023-03-29T00:39:34.071Z] Step 12/25 : RUN $MAKE [2023-03-29T00:39:34.071Z] ---> Running in a5abfe85d36e [2023-03-29T00:39:35.046Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.25" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-29T00:41:56.764Z] Removing intermediate container a5abfe85d36e [2023-03-29T00:41:56.764Z] ---> 68364018a7cc [2023-03-29T00:41:56.764Z] Step 13/25 : FROM alpine:3.17 [2023-03-29T00:41:56.764Z] 3.17: Pulling from library/alpine [2023-03-29T00:41:56.764Z] af6eaf76a39c: Already exists [2023-03-29T00:41:56.764Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-29T00:41:56.764Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T00:41:56.764Z] ---> d74e625d9115 [2023-03-29T00:41:56.764Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-29T00:41:56.764Z] ---> Running in 885286b62deb [2023-03-29T00:41:56.764Z] Removing intermediate container 885286b62deb [2023-03-29T00:41:56.764Z] ---> d424684423d9 [2023-03-29T00:41:56.764Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-29T00:41:56.764Z] ---> Running in 11f6548e3aaa [2023-03-29T00:41:56.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T00:41:56.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T00:41:56.764Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-29T00:41:56.764Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T00:41:56.764Z] OK: 8 MiB in 16 packages [2023-03-29T00:41:56.764Z] Removing intermediate container 11f6548e3aaa [2023-03-29T00:41:56.764Z] ---> 4c4c4b488537 [2023-03-29T00:41:56.764Z] Step 16/25 : WORKDIR / [2023-03-29T00:41:56.764Z] ---> Running in af9c31691a80 [2023-03-29T00:41:56.764Z] Removing intermediate container af9c31691a80 [2023-03-29T00:41:56.764Z] ---> ddc0e0255196 [2023-03-29T00:41:56.764Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-29T00:41:56.764Z] ---> fd1de6851425 [2023-03-29T00:41:56.764Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-29T00:41:56.764Z] ---> 34ef648bde06 [2023-03-29T00:41:56.764Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-29T00:41:56.764Z] ---> 8541c203719f [2023-03-29T00:41:56.764Z] Step 20/25 : EXPOSE 59900 [2023-03-29T00:41:56.764Z] ---> Running in edf3c74b1394 [2023-03-29T00:41:56.764Z] Removing intermediate container edf3c74b1394 [2023-03-29T00:41:56.764Z] ---> 53d425b97eae [2023-03-29T00:41:56.764Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-29T00:41:56.764Z] ---> Running in ab41a2cd4c7b [2023-03-29T00:41:56.764Z] Removing intermediate container ab41a2cd4c7b [2023-03-29T00:41:56.764Z] ---> 61cce3834ca4 [2023-03-29T00:41:56.764Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-29T00:41:56.764Z] ---> Running in 8e3d2fc7755a [2023-03-29T00:41:56.764Z] Removing intermediate container 8e3d2fc7755a [2023-03-29T00:41:56.764Z] ---> b15d17cc7fd3 [2023-03-29T00:41:56.764Z] Step 23/25 : LABEL arch=arm64 [2023-03-29T00:41:56.764Z] ---> Running in e57fe11feccd [2023-03-29T00:41:56.764Z] Removing intermediate container e57fe11feccd [2023-03-29T00:41:56.764Z] ---> 4281e894e5ed [2023-03-29T00:41:56.764Z] Step 24/25 : LABEL git_sha=b76ffb3f756266f027a45c1155223ddd586b2bad [2023-03-29T00:41:56.764Z] ---> Running in 3594363919a3 [2023-03-29T00:41:56.764Z] Removing intermediate container 3594363919a3 [2023-03-29T00:41:56.764Z] ---> 96281a8537d2 [2023-03-29T00:41:56.764Z] Step 25/25 : LABEL version=3.0.0-dev.25 [2023-03-29T00:41:56.764Z] ---> Running in eb2363ba1cfa [2023-03-29T00:41:56.764Z] Removing intermediate container eb2363ba1cfa [2023-03-29T00:41:56.764Z] ---> 00796cf7dd03 [2023-03-29T00:41:56.764Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T00:41:56.764Z] Successfully built 00796cf7dd03 [2023-03-29T00:41:56.764Z] 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-29T00:41:56.862Z] provisioning config files... [2023-03-29T00:41:56.876Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/97@tmp/config12266318919148021283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:41:57.205Z] ---> docker-login.sh [2023-03-29T00:41:57.205Z] nexus3.edgexfoundry.org:10001 [2023-03-29T00:41:57.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:41:57.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:41:57.473Z] Configure a credential helper to remove this warning. See [2023-03-29T00:41:57.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:41:57.473Z] [2023-03-29T00:41:57.473Z] Login Succeeded [2023-03-29T00:41:57.473Z] nexus3.edgexfoundry.org:10002 [2023-03-29T00:41:57.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:41:57.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:41:57.742Z] Configure a credential helper to remove this warning. See [2023-03-29T00:41:57.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:41:57.742Z] [2023-03-29T00:41:57.742Z] Login Succeeded [2023-03-29T00:41:57.742Z] nexus3.edgexfoundry.org:10003 [2023-03-29T00:41:58.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:41:58.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:41:58.277Z] Configure a credential helper to remove this warning. See [2023-03-29T00:41:58.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:41:58.277Z] [2023-03-29T00:41:58.277Z] Login Succeeded [2023-03-29T00:41:58.277Z] nexus3.edgexfoundry.org:10004 [2023-03-29T00:41:58.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:41:58.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:41:58.545Z] Configure a credential helper to remove this warning. See [2023-03-29T00:41:58.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:41:58.545Z] [2023-03-29T00:41:58.545Z] Login Succeeded [2023-03-29T00:41:58.545Z] docker.io [2023-03-29T00:41:58.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:41:59.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:41:59.076Z] Configure a credential helper to remove this warning. See [2023-03-29T00:41:59.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:41:59.076Z] [2023-03-29T00:41:59.076Z] Login Succeeded [2023-03-29T00:41:59.076Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T00:41:59.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-29T00:41:59.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T00:41:59.129Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-03-29T00:41:59.129Z] b76ffb3f756266f027a45c1155223ddd586b2bad [2023-03-29T00:41:59.129Z] latest [2023-03-29T00:41:59.129Z] 3.0.0-dev.25 [2023-03-29T00:41:59.129Z] b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 [2023-03-29T00:41:59.129Z] main [2023-03-29T00:41:59.129Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:41:59.465Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:41:59.805Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad [2023-03-29T00:41:59.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-29T00:41:59.805Z] c9629c9b7a01: Preparing [2023-03-29T00:41:59.805Z] 822fa2d62ca5: Preparing [2023-03-29T00:41:59.805Z] 2df3feada49d: Preparing [2023-03-29T00:41:59.805Z] b5a227151230: Preparing [2023-03-29T00:41:59.805Z] edf70074bd40: Preparing [2023-03-29T00:41:59.805Z] edf70074bd40: Layer already exists [2023-03-29T00:42:00.072Z] 822fa2d62ca5: Pushed [2023-03-29T00:42:00.072Z] 2df3feada49d: Pushed [2023-03-29T00:42:00.072Z] b5a227151230: Pushed [2023-03-29T00:42:05.410Z] c9629c9b7a01: Pushed [2023-03-29T00:42:05.675Z] b76ffb3f756266f027a45c1155223ddd586b2bad: digest: sha256:763e2822acce1c3275e3ed06ef0976b3bb582fc7afed956a15bdb0d9d76410d7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:42:06.022Z] + 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-29T00:42:06.441Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-03-29T00:42:06.441Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-29T00:42:06.441Z] c9629c9b7a01: Preparing [2023-03-29T00:42:06.441Z] 822fa2d62ca5: Preparing [2023-03-29T00:42:06.441Z] 2df3feada49d: Preparing [2023-03-29T00:42:06.441Z] b5a227151230: Preparing [2023-03-29T00:42:06.441Z] edf70074bd40: Preparing [2023-03-29T00:42:06.441Z] edf70074bd40: Layer already exists [2023-03-29T00:42:06.441Z] b5a227151230: Layer already exists [2023-03-29T00:42:06.441Z] 2df3feada49d: Layer already exists [2023-03-29T00:42:06.441Z] c9629c9b7a01: Layer already exists [2023-03-29T00:42:06.441Z] 822fa2d62ca5: Layer already exists [2023-03-29T00:42:06.714Z] latest: digest: sha256:763e2822acce1c3275e3ed06ef0976b3bb582fc7afed956a15bdb0d9d76410d7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:42:07.073Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:42:07.427Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.25 [2023-03-29T00:42:07.427Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-29T00:42:07.427Z] c9629c9b7a01: Preparing [2023-03-29T00:42:07.427Z] 822fa2d62ca5: Preparing [2023-03-29T00:42:07.427Z] 2df3feada49d: Preparing [2023-03-29T00:42:07.427Z] b5a227151230: Preparing [2023-03-29T00:42:07.427Z] edf70074bd40: Preparing [2023-03-29T00:42:07.427Z] edf70074bd40: Layer already exists [2023-03-29T00:42:07.427Z] c9629c9b7a01: Layer already exists [2023-03-29T00:42:07.427Z] b5a227151230: Layer already exists [2023-03-29T00:42:07.427Z] 822fa2d62ca5: Layer already exists [2023-03-29T00:42:07.427Z] 2df3feada49d: Layer already exists [2023-03-29T00:42:07.427Z] 3.0.0-dev.25: digest: sha256:763e2822acce1c3275e3ed06ef0976b3bb582fc7afed956a15bdb0d9d76410d7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:42:07.774Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:42:08.134Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 [2023-03-29T00:42:08.134Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-29T00:42:08.134Z] c9629c9b7a01: Preparing [2023-03-29T00:42:08.134Z] 822fa2d62ca5: Preparing [2023-03-29T00:42:08.134Z] 2df3feada49d: Preparing [2023-03-29T00:42:08.134Z] b5a227151230: Preparing [2023-03-29T00:42:08.134Z] edf70074bd40: Preparing [2023-03-29T00:42:08.134Z] 822fa2d62ca5: Layer already exists [2023-03-29T00:42:08.134Z] 2df3feada49d: Layer already exists [2023-03-29T00:42:08.134Z] c9629c9b7a01: Layer already exists [2023-03-29T00:42:08.134Z] b5a227151230: Layer already exists [2023-03-29T00:42:08.134Z] edf70074bd40: Layer already exists [2023-03-29T00:42:08.134Z] b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25: digest: sha256:763e2822acce1c3275e3ed06ef0976b3bb582fc7afed956a15bdb0d9d76410d7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:42:08.483Z] + 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-29T00:42:08.822Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-03-29T00:42:08.823Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-29T00:42:08.823Z] c9629c9b7a01: Preparing [2023-03-29T00:42:08.823Z] 822fa2d62ca5: Preparing [2023-03-29T00:42:08.823Z] 2df3feada49d: Preparing [2023-03-29T00:42:08.823Z] b5a227151230: Preparing [2023-03-29T00:42:08.823Z] edf70074bd40: Preparing [2023-03-29T00:42:08.823Z] 822fa2d62ca5: Layer already exists [2023-03-29T00:42:08.823Z] c9629c9b7a01: Layer already exists [2023-03-29T00:42:08.823Z] edf70074bd40: Layer already exists [2023-03-29T00:42:08.823Z] 2df3feada49d: Layer already exists [2023-03-29T00:42:08.823Z] b5a227151230: Layer already exists [2023-03-29T00:42:08.823Z] main: digest: sha256:763e2822acce1c3275e3ed06ef0976b3bb582fc7afed956a15bdb0d9d76410d7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-29T00:42:09.153Z] ===================================================== [Pipeline] echo [2023-03-29T00:42:09.160Z] taggedImages: [2023-03-29T00:42:09.160Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad [2023-03-29T00:42:09.160Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-03-29T00:42:09.160Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.25 [2023-03-29T00:42:09.160Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 [2023-03-29T00:42:09.160Z] - 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-29T00:42:09.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T00:42:09.525Z] [2023-03-29T00:42:09.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:42:09.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T00:42:09.858Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-29T00:42:09.858Z] 8998bd30e6a1: Pulling fs layer [2023-03-29T00:42:09.858Z] 04944245beec: Pulling fs layer [2023-03-29T00:42:09.858Z] 699f458cf7ca: Pulling fs layer [2023-03-29T00:42:09.858Z] 765212b225bb: Pulling fs layer [2023-03-29T00:42:09.858Z] f23df028b6ca: Pulling fs layer [2023-03-29T00:42:09.858Z] d65c8cfc05b1: Pulling fs layer [2023-03-29T00:42:09.858Z] 2437ff75d9bd: Pulling fs layer [2023-03-29T00:42:09.858Z] 765212b225bb: Waiting [2023-03-29T00:42:09.858Z] f23df028b6ca: Waiting [2023-03-29T00:42:09.858Z] d65c8cfc05b1: Waiting [2023-03-29T00:42:09.858Z] 2437ff75d9bd: Waiting [2023-03-29T00:42:10.129Z] 04944245beec: Verifying Checksum [2023-03-29T00:42:10.129Z] 04944245beec: Download complete [2023-03-29T00:42:10.129Z] 765212b225bb: Verifying Checksum [2023-03-29T00:42:10.129Z] 765212b225bb: Download complete [2023-03-29T00:42:10.129Z] f23df028b6ca: Verifying Checksum [2023-03-29T00:42:10.129Z] f23df028b6ca: Download complete [2023-03-29T00:42:10.129Z] d65c8cfc05b1: Verifying Checksum [2023-03-29T00:42:10.129Z] d65c8cfc05b1: Download complete [2023-03-29T00:42:10.397Z] 699f458cf7ca: Verifying Checksum [2023-03-29T00:42:10.397Z] 699f458cf7ca: Download complete [2023-03-29T00:42:10.663Z] 8998bd30e6a1: Download complete [2023-03-29T00:42:13.242Z] 2437ff75d9bd: Verifying Checksum [2023-03-29T00:42:13.242Z] 2437ff75d9bd: Download complete [2023-03-29T00:42:14.649Z] 8998bd30e6a1: Pull complete [2023-03-29T00:42:15.233Z] 04944245beec: Pull complete [2023-03-29T00:42:16.191Z] 699f458cf7ca: Pull complete [2023-03-29T00:42:19.529Z] 765212b225bb: Pull complete [2023-03-29T00:42:19.529Z] f23df028b6ca: Pull complete [2023-03-29T00:42:19.795Z] d65c8cfc05b1: Pull complete [2023-03-29T00:42:34.783Z] 2437ff75d9bd: Pull complete [2023-03-29T00:42:34.783Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-29T00:42:34.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T00:42:34.783Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:42:35.076Z] prd-ubuntu20.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container [2023-03-29T00:42:35.144Z] $ 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/97 -v /w/workspace/device-virtual-go/97:/w/workspace/device-virtual-go/97:rw,z -v /w/workspace/device-virtual-go/97@tmp:/w/workspace/device-virtual-go/97@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-29T00:42:37.624Z] $ docker top 564a68f7da68733c2c1e810dd4389e3c0b59f2070c6c9155153a5534f791b8a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:42:38.429Z] ---> job-cost.sh [2023-03-29T00:42:38.429Z] lf-activate-venv: SKIPPING [2023-03-29T00:42:38.429Z] INFO: No Stack... [2023-03-29T00:42:38.693Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-29T00:42:39.653Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T00:42:39.973Z] + cat+ /w/workspace/device-virtual-go/97/archives/cost.csv [2023-03-29T00:42:39.973Z] cut -d, -f6 [Pipeline] lock [2023-03-29T00:42:40.036Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] [2023-03-29T00:42:40.044Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] did not exist. Created. [2023-03-29T00:42:40.044Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T00:42:40.710Z] /w/workspace/device-virtual-go/97@tmp/durable-20b70828/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-29T00:42:41.043Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-29T00:42:41.061Z] Warning: overwriting stash ‘stack-cost’ [2023-03-29T00:42:41.106Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T00:42:41.116Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T00:42:41.139Z] $ docker stop --time=1 564a68f7da68733c2c1e810dd4389e3c0b59f2070c6c9155153a5534f791b8a9 [2023-03-29T00:42:42.619Z] $ docker rm -f --volumes 564a68f7da68733c2c1e810dd4389e3c0b59f2070c6c9155153a5534f791b8a9 [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-29T00:42:42.991Z] provisioning config files... [2023-03-29T00:42:42.999Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1105932909331466519tmp [Pipeline] { [Pipeline] sh [2023-03-29T00:42:43.290Z] + set +x [2023-03-29T00:42:43.290Z] + + bash -s -- [2023-03-29T00:42:43.290Z] curl -s https://codecov.io/bash [2023-03-29T00:42:43.290Z] [2023-03-29T00:42:43.290Z] _____ _ [2023-03-29T00:42:43.290Z] / ____| | | [2023-03-29T00:42:43.290Z] | | ___ __| | ___ ___ _____ __ [2023-03-29T00:42:43.290Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-29T00:42:43.290Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-29T00:42:43.290Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-29T00:42:43.290Z] Bash-1.0.6 [2023-03-29T00:42:43.290Z] [2023-03-29T00:42:43.290Z] [2023-03-29T00:42:43.290Z] ==> git version 2.25.1 found [2023-03-29T00:42:43.290Z] ==> 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-29T00:42:43.290Z] Release-Date: 2020-01-08 [2023-03-29T00:42:43.290Z] 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-29T00:42:43.290Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-29T00:42:43.290Z] ==> Jenkins CI detected. [2023-03-29T00:42:43.290Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-03-29T00:42:43.290Z] project root: . [2023-03-29T00:42:43.290Z] --> token set from env [2023-03-29T00:42:43.290Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-29T00:42:43.549Z] ==> Running gcov in . (disable via -X gcov) [2023-03-29T00:42:43.549Z] ==> Python coveragepy not found [2023-03-29T00:42:43.549Z] ==> Searching for coverage reports in: [2023-03-29T00:42:43.549Z] + . [2023-03-29T00:42:43.549Z] -> Found 1 reports [2023-03-29T00:42:43.549Z] ==> Detecting git/mercurial file structure [2023-03-29T00:42:43.549Z] ==> Reading reports [2023-03-29T00:42:43.549Z] + ./coverage.out bytes=44311 [2023-03-29T00:42:43.549Z] ==> Appending adjustments [2023-03-29T00:42:43.549Z] https://docs.codecov.io/docs/fixing-reports [2023-03-29T00:42:43.549Z] + Found adjustments [2023-03-29T00:42:43.549Z] ==> Gzipping contents [2023-03-29T00:42:43.549Z] 8.0K /tmp/codecov.378k4p.gz [2023-03-29T00:42:43.549Z] ==> Uploading reports [2023-03-29T00:42:43.549Z] url: https://codecov.io [2023-03-29T00:42:43.549Z] query: branch=main&commit=b76ffb3f756266f027a45c1155223ddd586b2bad&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-29T00:42:43.549Z] -> Pinging Codecov [2023-03-29T00:42:43.549Z] 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=b76ffb3f756266f027a45c1155223ddd586b2bad&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-29T00:42:43.807Z] -> Uploading to [2023-03-29T00:42:43.808Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-29/5E52B4B073DB2E39498172D8E973AA87/b76ffb3f756266f027a45c1155223ddd586b2bad/72b58f3f-0091-4514-8395-c7e46d778efb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T004243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=390e36d91efca7ae177ddd695398d75e85400f47b75481fec3dbafa8e315e856 [2023-03-29T00:42:43.808Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T00:42:43.808Z] Dload Upload Total Spent Left Speed [2023-03-29T00:42:44.068Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5413 0 0 100 5413 0 18537 --:--:-- --:--:-- --:--:-- 18537 [2023-03-29T00:42:44.068Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] } [2023-03-29T00:42:44.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-29T00:42:44.189Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-29T00:42:44.202Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:42:44.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-29T00:42:44.508Z] [2023-03-29T00:42:44.508Z] 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-29T00:42:44.814Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-29T00:42:44.814Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-29T00:42:44.814Z] df9b9388f04a: Pulling fs layer [2023-03-29T00:42:44.814Z] 52dc419b0ee2: Pulling fs layer [2023-03-29T00:42:44.814Z] 25bc292e5bac: Pulling fs layer [2023-03-29T00:42:44.814Z] 114826534d7a: Pulling fs layer [2023-03-29T00:42:44.814Z] 4657fd5d0bcf: Pulling fs layer [2023-03-29T00:42:44.814Z] 6ad1cebc031e: Pulling fs layer [2023-03-29T00:42:44.814Z] 8a3aa393b2d8: Pulling fs layer [2023-03-29T00:42:44.814Z] 114826534d7a: Waiting [2023-03-29T00:42:44.814Z] 6ad1cebc031e: Waiting [2023-03-29T00:42:44.814Z] 4657fd5d0bcf: Waiting [2023-03-29T00:42:44.814Z] 8a3aa393b2d8: Waiting [2023-03-29T00:42:44.814Z] 25bc292e5bac: Verifying Checksum [2023-03-29T00:42:44.814Z] 25bc292e5bac: Download complete [2023-03-29T00:42:44.814Z] 52dc419b0ee2: Verifying Checksum [2023-03-29T00:42:44.814Z] 52dc419b0ee2: Download complete [2023-03-29T00:42:44.814Z] 4657fd5d0bcf: Verifying Checksum [2023-03-29T00:42:44.814Z] 4657fd5d0bcf: Download complete [2023-03-29T00:42:44.814Z] df9b9388f04a: Download complete [2023-03-29T00:42:45.073Z] 6ad1cebc031e: Verifying Checksum [2023-03-29T00:42:45.073Z] 6ad1cebc031e: Download complete [2023-03-29T00:42:45.073Z] df9b9388f04a: Pull complete [2023-03-29T00:42:45.073Z] 52dc419b0ee2: Pull complete [2023-03-29T00:42:45.333Z] 25bc292e5bac: Pull complete [2023-03-29T00:42:45.592Z] 114826534d7a: Verifying Checksum [2023-03-29T00:42:45.592Z] 114826534d7a: Download complete [2023-03-29T00:42:45.592Z] 8a3aa393b2d8: Verifying Checksum [2023-03-29T00:42:45.592Z] 8a3aa393b2d8: Download complete [2023-03-29T00:42:49.778Z] 114826534d7a: Pull complete [2023-03-29T00:42:49.778Z] 4657fd5d0bcf: Pull complete [2023-03-29T00:42:49.778Z] 6ad1cebc031e: Pull complete [2023-03-29T00:42:53.077Z] 8a3aa393b2d8: Pull complete [2023-03-29T00:42:53.077Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-29T00:42:53.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-29T00:42:53.077Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:42:53.160Z] prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container [2023-03-29T00:42:53.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-29T00:42:57.272Z] $ docker top 60530d00ad3cbc9a4138c6f2d62bb3d86183f5b037c9f8dad955565c180b2460 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-29T00:42:57.331Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-03-29T00:42:57.605Z] + set -o pipefail [2023-03-29T00:42:57.605Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-03-29T00:43:02.874Z] [2023-03-29T00:43:02.874Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-03-29T00:43:02.874Z] [2023-03-29T00:43:02.874Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/0749aae9-0423-42d6-aab0-b951c47e5676 [2023-03-29T00:43:02.874Z] [2023-03-29T00:43:02.874Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-29T00:43:02.874Z] [2023-03-29T00:43:02.874Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-29T00:43:02.874Z] [2023-03-29T00:43:02.874Z] [2023-03-29T00:43:02.874Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-29T00:43:02.874Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-29T00:43:02.874Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-29T00:43:02.891Z] $ docker stop --time=1 60530d00ad3cbc9a4138c6f2d62bb3d86183f5b037c9f8dad955565c180b2460 [2023-03-29T00:43:06.117Z] $ docker rm -f --volumes 60530d00ad3cbc9a4138c6f2d62bb3d86183f5b037c9f8dad955565c180b2460 [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-29T00:43:06.842Z] + git log --format=format:%s -1 b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] sh [2023-03-29T00:43:07.130Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T00:43:07.131Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:43:07.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T00:43:07.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:43:07.508Z] prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container [2023-03-29T00:43:07.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-29T00:43:07.990Z] $ docker top b01d585d73704d5f3a8506acb2679f64075ea199bcc0166b1d931f534ae94d56 -eo pid,comm [2023-03-29T00:43:08.037Z] 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-29T00:43:08.037Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T00:43:08.077Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T00:43:08.077Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T00:43:08.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T00:43:08.198Z] $ docker exec b01d585d73704d5f3a8506acb2679f64075ea199bcc0166b1d931f534ae94d56 ssh-agent [2023-03-29T00:43:08.315Z] SSH_AUTH_SOCK=/tmp/ssh-87jsI2XJFsmQ/agent.32 [2023-03-29T00:43:08.315Z] SSH_AGENT_PID=38 [2023-03-29T00:43:08.320Z] Running ssh-add (command line suppressed) [2023-03-29T00:43:08.442Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18094730636069982404.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18094730636069982404.key) [2023-03-29T00:43:08.451Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T00:43:08.738Z] + git semver tag [2023-03-29T00:43:08.999Z] 2023-03-29 00:43:08,974 [run_tag] DEBUG tag force:False [2023-03-29T00:43:08.999Z] 2023-03-29 00:43:08,974 [check_head_tag] DEBUG check head tag [2023-03-29T00:43:08.999Z] 2023-03-29 00:43:08,975 [execute] INFO git cat-file --batch-check [2023-03-29T00:43:08.999Z] 2023-03-29 00:43:08,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-03-29T00:43:08.999Z] 2023-03-29 00:43:08,981 [execute] INFO git cat-file --batch [2023-03-29T00:43:08.999Z] 2023-03-29 00:43:08,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-03-29T00:43:08.999Z] 2023-03-29 00:43:09,003 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-29T00:43:09.259Z] 2023-03-29 00:43:09,003 [execute] INFO git tag -a v3.0.0-dev.25 -m v3.0.0-dev.25 [2023-03-29T00:43:09.259Z] 2023-03-29 00:43:09,004 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.25', '-m', 'v3.0.0-dev.25'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-29T00:43:09.259Z] 2023-03-29 00:43:09,009 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-29T00:43:09.259Z] 3.0.0-dev.25 [Pipeline] } [2023-03-29T00:43:09.273Z] $ docker exec --env ******** --env ******** b01d585d73704d5f3a8506acb2679f64075ea199bcc0166b1d931f534ae94d56 ssh-agent -k [2023-03-29T00:43:09.393Z] unset SSH_AUTH_SOCK; [2023-03-29T00:43:09.394Z] unset SSH_AGENT_PID; [2023-03-29T00:43:09.394Z] echo Agent pid 38 killed; [2023-03-29T00:43:09.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T00:43:09.701Z] + git semver [Pipeline] } [2023-03-29T00:43:09.979Z] $ docker stop --time=1 b01d585d73704d5f3a8506acb2679f64075ea199bcc0166b1d931f534ae94d56 [2023-03-29T00:43:11.287Z] $ docker rm -f --volumes b01d585d73704d5f3a8506acb2679f64075ea199bcc0166b1d931f534ae94d56 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:43:11.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-29T00:43:11.676Z] [2023-03-29T00:43:11.676Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:43:11.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-29T00:43:11.982Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-29T00:43:11.982Z] ab5ef0e58194: Pulling fs layer [2023-03-29T00:43:11.982Z] 9712f1f96733: Pulling fs layer [2023-03-29T00:43:11.982Z] 63f879dbbcfc: Pulling fs layer [2023-03-29T00:43:11.982Z] 0d9ebad4ef96: Pulling fs layer [2023-03-29T00:43:11.982Z] e9a5061849ea: Pulling fs layer [2023-03-29T00:43:11.982Z] 0d9ebad4ef96: Waiting [2023-03-29T00:43:11.982Z] e9a5061849ea: Waiting [2023-03-29T00:43:11.982Z] d747dcd14b5f: Pulling fs layer [2023-03-29T00:43:11.982Z] 2de7ff778b66: Pulling fs layer [2023-03-29T00:43:11.982Z] d747dcd14b5f: Waiting [2023-03-29T00:43:11.982Z] 2de7ff778b66: Waiting [2023-03-29T00:43:11.982Z] 9712f1f96733: Verifying Checksum [2023-03-29T00:43:11.982Z] 9712f1f96733: Download complete [2023-03-29T00:43:12.261Z] 63f879dbbcfc: Verifying Checksum [2023-03-29T00:43:12.261Z] 63f879dbbcfc: Download complete [2023-03-29T00:43:12.539Z] e9a5061849ea: Verifying Checksum [2023-03-29T00:43:12.539Z] e9a5061849ea: Download complete [2023-03-29T00:43:12.539Z] d747dcd14b5f: Download complete [2023-03-29T00:43:12.539Z] 0d9ebad4ef96: Verifying Checksum [2023-03-29T00:43:12.539Z] 0d9ebad4ef96: Download complete [2023-03-29T00:43:12.539Z] ab5ef0e58194: Verifying Checksum [2023-03-29T00:43:12.539Z] ab5ef0e58194: Download complete [2023-03-29T00:43:12.539Z] 2de7ff778b66: Verifying Checksum [2023-03-29T00:43:15.845Z] ab5ef0e58194: Pull complete [2023-03-29T00:43:15.845Z] 9712f1f96733: Pull complete [2023-03-29T00:43:16.415Z] 63f879dbbcfc: Pull complete [2023-03-29T00:43:20.605Z] 0d9ebad4ef96: Pull complete [2023-03-29T00:43:20.605Z] e9a5061849ea: Pull complete [2023-03-29T00:43:20.605Z] d747dcd14b5f: Pull complete [2023-03-29T00:43:21.981Z] 2de7ff778b66: Pull complete [2023-03-29T00:43:21.981Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-29T00:43:21.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-29T00:43:21.981Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:43:22.057Z] prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container [2023-03-29T00:43:22.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-29T00:43:26.251Z] $ docker top 4656a1a2ca342296da0595874d5705ec6c9e01ed6a079531e9f7018a787fbc78 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-29T00:43:26.321Z] provisioning config files... [2023-03-29T00:43:26.326Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5027522529621308686tmp [2023-03-29T00:43:26.337Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15762471936923896709tmp [2023-03-29T00:43:26.346Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13279684956915837134tmp [Pipeline] { [Pipeline] echo [2023-03-29T00:43:26.359Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:43:26.643Z] ---> sigul-configuration.sh [2023-03-29T00:43:26.643Z] gpg: directory `/root/.gnupg' created [2023-03-29T00:43:26.643Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-29T00:43:26.643Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-29T00:43:26.643Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-29T00:43:26.643Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-29T00:43:26.643Z] gpg: CAST5 encrypted data [2023-03-29T00:43:26.643Z] gpg: encrypted with 1 passphrase [2023-03-29T00:43:26.643Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-29T00:43:26.928Z] + mkdir /home/jenkins [2023-03-29T00:43:26.928Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-29T00:43:27.216Z] + 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-29T00:43:27.224Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:43:27.507Z] ---> sigul-install.sh [2023-03-29T00:43:27.507Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-29T00:43:27.794Z] + git tag --list [2023-03-29T00:43:27.794Z] v1.0.0 [2023-03-29T00:43:27.794Z] v1.1.0 [2023-03-29T00:43:27.794Z] v1.1.1 [2023-03-29T00:43:27.794Z] v1.2.1 [2023-03-29T00:43:27.794Z] v1.2.2 [2023-03-29T00:43:27.794Z] v1.2.3 [2023-03-29T00:43:27.794Z] v1.3.0 [2023-03-29T00:43:27.794Z] v1.3.1 [2023-03-29T00:43:27.794Z] v2.0.0 [2023-03-29T00:43:27.794Z] v2.1.0 [2023-03-29T00:43:27.794Z] v2.1.1 [2023-03-29T00:43:27.794Z] v2.1.1-dev.1 [2023-03-29T00:43:27.794Z] v2.1.1-dev.2 [2023-03-29T00:43:27.794Z] v2.2.0 [2023-03-29T00:43:27.794Z] v2.2.1-dev.1 [2023-03-29T00:43:27.794Z] v2.2.1-dev.2 [2023-03-29T00:43:27.794Z] v2.2.1-dev.3 [2023-03-29T00:43:27.794Z] v2.2.1-dev.4 [2023-03-29T00:43:27.794Z] v2.2.1-dev.5 [2023-03-29T00:43:27.794Z] v2.2.1-dev.6 [2023-03-29T00:43:27.794Z] v2.2.1-dev.7 [2023-03-29T00:43:27.794Z] v2.2.1-dev.8 [2023-03-29T00:43:27.794Z] v2.3.0 [2023-03-29T00:43:27.794Z] v2.3.0-dev.10 [2023-03-29T00:43:27.794Z] v2.3.0-dev.11 [2023-03-29T00:43:27.794Z] v2.3.0-dev.12 [2023-03-29T00:43:27.794Z] v2.3.0-dev.13 [2023-03-29T00:43:27.794Z] v2.3.0-dev.14 [2023-03-29T00:43:27.794Z] v2.3.0-dev.15 [2023-03-29T00:43:27.794Z] v2.3.0-dev.16 [2023-03-29T00:43:27.794Z] v2.3.0-dev.17 [2023-03-29T00:43:27.794Z] v2.3.0-dev.18 [2023-03-29T00:43:27.794Z] v2.3.0-dev.19 [2023-03-29T00:43:27.794Z] v2.3.0-dev.20 [2023-03-29T00:43:27.794Z] v2.3.0-dev.21 [2023-03-29T00:43:27.794Z] v2.3.0-dev.22 [2023-03-29T00:43:27.794Z] v2.3.0-dev.23 [2023-03-29T00:43:27.794Z] v2.3.0-dev.24 [2023-03-29T00:43:27.794Z] v2.3.0-dev.25 [2023-03-29T00:43:27.794Z] v2.3.0-dev.26 [2023-03-29T00:43:27.794Z] v2.3.0-dev.27 [2023-03-29T00:43:27.794Z] v2.3.0-dev.28 [2023-03-29T00:43:27.794Z] v2.3.0-dev.29 [2023-03-29T00:43:27.794Z] v2.3.0-dev.30 [2023-03-29T00:43:27.794Z] v2.3.0-dev.8 [2023-03-29T00:43:27.794Z] v2.3.0-dev.9 [2023-03-29T00:43:27.794Z] v3.0.0-dev.1 [2023-03-29T00:43:27.794Z] v3.0.0-dev.10 [2023-03-29T00:43:27.794Z] v3.0.0-dev.11 [2023-03-29T00:43:27.794Z] v3.0.0-dev.12 [2023-03-29T00:43:27.794Z] v3.0.0-dev.13 [2023-03-29T00:43:27.794Z] v3.0.0-dev.14 [2023-03-29T00:43:27.794Z] v3.0.0-dev.15 [2023-03-29T00:43:27.794Z] v3.0.0-dev.16 [2023-03-29T00:43:27.794Z] v3.0.0-dev.17 [2023-03-29T00:43:27.794Z] v3.0.0-dev.18 [2023-03-29T00:43:27.794Z] v3.0.0-dev.19 [2023-03-29T00:43:27.794Z] v3.0.0-dev.2 [2023-03-29T00:43:27.794Z] v3.0.0-dev.20 [2023-03-29T00:43:27.794Z] v3.0.0-dev.21 [2023-03-29T00:43:27.794Z] v3.0.0-dev.22 [2023-03-29T00:43:27.794Z] v3.0.0-dev.23 [2023-03-29T00:43:27.794Z] v3.0.0-dev.24 [2023-03-29T00:43:27.794Z] v3.0.0-dev.25 [2023-03-29T00:43:27.794Z] v3.0.0-dev.3 [2023-03-29T00:43:27.794Z] v3.0.0-dev.4 [2023-03-29T00:43:27.794Z] v3.0.0-dev.5 [2023-03-29T00:43:27.794Z] v3.0.0-dev.6 [2023-03-29T00:43:27.794Z] v3.0.0-dev.7 [2023-03-29T00:43:27.794Z] v3.0.0-dev.8 [2023-03-29T00:43:27.794Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-29T00:43:28.075Z] + lftools sign git-tag v3.0.0-dev.25 [2023-03-29T00:43:28.643Z] Signing Git tag with Sigul... [2023-03-29T00:43:28.643Z] Signing v3.0.0-dev.25 [Pipeline] echo [2023-03-29T00:43:29.218Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:43:29.500Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-29T00:43:29.507Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-29T00:43:29.533Z] $ docker stop --time=1 4656a1a2ca342296da0595874d5705ec6c9e01ed6a079531e9f7018a787fbc78 [2023-03-29T00:43:30.797Z] $ docker rm -f --volumes 4656a1a2ca342296da0595874d5705ec6c9e01ed6a079531e9f7018a787fbc78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-29T00:43:31.193Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T00:43:31.193Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:43:31.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T00:43:31.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:43:31.558Z] prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container [2023-03-29T00:43:31.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-29T00:43:31.971Z] $ docker top 116d9f118cedb1fc91a1f175442e9cb00043f94778c01062c3737137c32a20eb -eo pid,comm [2023-03-29T00:43:32.020Z] 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-29T00:43:32.020Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T00:43:32.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T00:43:32.055Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T00:43:32.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T00:43:32.175Z] $ docker exec 116d9f118cedb1fc91a1f175442e9cb00043f94778c01062c3737137c32a20eb ssh-agent [2023-03-29T00:43:32.281Z] SSH_AUTH_SOCK=/tmp/ssh-YTvQ6RpBBr3r/agent.33 [2023-03-29T00:43:32.281Z] SSH_AGENT_PID=39 [2023-03-29T00:43:32.285Z] Running ssh-add (command line suppressed) [2023-03-29T00:43:32.390Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2078082951312661113.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2078082951312661113.key) [2023-03-29T00:43:32.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T00:43:32.685Z] + git semver bump pre [2023-03-29T00:43:32.945Z] 2023-03-29 00:43:32,892 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-29T00:43:32.945Z] 2023-03-29 00:43:32,892 [bump_version] DEBUG bumping version:3.0.0-dev.25 on axis:pre with prefix:dev [2023-03-29T00:43:32.945Z] 2023-03-29 00:43:32,892 [bump_version] DEBUG bumped version:3.0.0-dev.26 [2023-03-29T00:43:32.945Z] 2023-03-29 00:43:32,892 [write_version] DEBUG write version:3.0.0-dev.26 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-03-29T00:43:32.945Z] 2023-03-29 00:43:32,892 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-29T00:43:32.945Z] 2023-03-29 00:43:32,892 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-29T00:43:32.945Z] 2023-03-29 00:43:32,894 [execute] INFO git cat-file --batch-check [2023-03-29T00:43:32.945Z] 2023-03-29 00:43:32,894 [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-29T00:43:32.945Z] 2023-03-29 00:43:32,900 [execute] INFO git cat-file --batch [2023-03-29T00:43:32.945Z] 2023-03-29 00:43:32,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T00:43:32.945Z] 2023-03-29 00:43:32,905 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-29T00:43:32.945Z] 3.0.0-dev.26 [Pipeline] } [2023-03-29T00:43:32.959Z] $ docker exec --env ******** --env ******** 116d9f118cedb1fc91a1f175442e9cb00043f94778c01062c3737137c32a20eb ssh-agent -k [2023-03-29T00:43:33.052Z] unset SSH_AUTH_SOCK; [2023-03-29T00:43:33.052Z] unset SSH_AGENT_PID; [2023-03-29T00:43:33.052Z] echo Agent pid 39 killed; [2023-03-29T00:43:33.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T00:43:33.358Z] + git semver [Pipeline] } [2023-03-29T00:43:33.634Z] $ docker stop --time=1 116d9f118cedb1fc91a1f175442e9cb00043f94778c01062c3737137c32a20eb [2023-03-29T00:43:34.941Z] $ docker rm -f --volumes 116d9f118cedb1fc91a1f175442e9cb00043f94778c01062c3737137c32a20eb [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T00:43:35.284Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T00:43:35.284Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:43:35.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T00:43:35.587Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:43:35.667Z] prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container [2023-03-29T00:43:35.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-29T00:43:36.112Z] $ docker top ce6dff029b8f108f97b47e0f47e1daa6175195075b0f74968221f0c0ad5b1cad -eo pid,comm [2023-03-29T00:43:36.158Z] 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-29T00:43:36.158Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T00:43:36.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T00:43:36.197Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T00:43:36.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T00:43:36.309Z] $ docker exec ce6dff029b8f108f97b47e0f47e1daa6175195075b0f74968221f0c0ad5b1cad ssh-agent [2023-03-29T00:43:36.407Z] SSH_AUTH_SOCK=/tmp/ssh-agCYwTWTWeFH/agent.32 [2023-03-29T00:43:36.407Z] SSH_AGENT_PID=38 [2023-03-29T00:43:36.412Z] Running ssh-add (command line suppressed) [2023-03-29T00:43:36.525Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16924493805483703031.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16924493805483703031.key) [2023-03-29T00:43:36.534Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T00:43:36.821Z] + git semver push [2023-03-29T00:43:37.082Z] 2023-03-29 00:43:37,003 [run_push] DEBUG push [2023-03-29T00:43:37.082Z] 2023-03-29 00:43:37,003 [execute] INFO git cat-file --batch-check [2023-03-29T00:43:37.082Z] 2023-03-29 00:43:37,004 [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-29T00:43:37.082Z] 2023-03-29 00:43:37,008 [execute] INFO git rev-list 2191c86a69009c8b26903c9ab64cb8cfc83bd048 -- [2023-03-29T00:43:37.082Z] 2023-03-29 00:43:37,008 [execute] DEBUG Popen(['git', 'rev-list', '2191c86a69009c8b26903c9ab64cb8cfc83bd048', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-29T00:43:37.082Z] 2023-03-29 00:43:37,018 [execute] INFO git fetch -v origin [2023-03-29T00:43:37.082Z] 2023-03-29 00:43:37,018 [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-29T00:43:37.652Z] 2023-03-29 00:43:37,510 [run_push] DEBUG no remote changes detected [2023-03-29T00:43:37.652Z] 2023-03-29 00:43:37,511 [execute] INFO git push origin semver [2023-03-29T00:43:37.652Z] 2023-03-29 00:43:37,511 [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-29T00:43:38.590Z] 2023-03-29 00:43:38,241 [run_push] DEBUG push all version tags [2023-03-29T00:43:38.590Z] 2023-03-29 00:43:38,242 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-29T00:43:38.590Z] 2023-03-29 00:43:38,243 [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-29T00:43:39.161Z] 2023-03-29 00:43:39,040 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-29T00:43:39.161Z] 3.0.0-dev.26 [Pipeline] } [2023-03-29T00:43:39.176Z] $ docker exec --env ******** --env ******** ce6dff029b8f108f97b47e0f47e1daa6175195075b0f74968221f0c0ad5b1cad ssh-agent -k [2023-03-29T00:43:39.281Z] unset SSH_AUTH_SOCK; [2023-03-29T00:43:39.282Z] unset SSH_AGENT_PID; [2023-03-29T00:43:39.282Z] echo Agent pid 38 killed; [2023-03-29T00:43:39.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T00:43:39.594Z] + git semver [Pipeline] } [2023-03-29T00:43:39.869Z] $ docker stop --time=1 ce6dff029b8f108f97b47e0f47e1daa6175195075b0f74968221f0c0ad5b1cad [2023-03-29T00:43:41.192Z] $ docker rm -f --volumes ce6dff029b8f108f97b47e0f47e1daa6175195075b0f74968221f0c0ad5b1cad [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-29T00:43:41.724Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-03-29T00:43:41.724Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-29T00:43:41.724Z] total 16 [2023-03-29T00:43:41.724Z] drwxr-xr-x 3 root root 4096 Mar 29 00:34 . [2023-03-29T00:43:41.724Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 00:43 .. [2023-03-29T00:43:41.724Z] drwxr-xr-x 2 root root 4096 Mar 29 00:34 cost [2023-03-29T00:43:41.724Z] -rw-r--r-- 1 root root 88 Mar 29 00:34 cost.csv [2023-03-29T00:43:41.724Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-29T00:43:41.724Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-29T00:43:41.724Z] total 16 [2023-03-29T00:43:41.724Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 00:34 . [2023-03-29T00:43:41.724Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 00:43 .. [2023-03-29T00:43:41.724Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 00:34 cost [2023-03-29T00:43:41.724Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 29 00:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:43:42.013Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:43:42.869Z] ---> package-listing.sh [2023-03-29T00:43:42.869Z] ++ facter osfamily [2023-03-29T00:43:42.869Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-29T00:43:43.128Z] + OS_FAMILY=debian [2023-03-29T00:43:43.128Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-03-29T00:43:43.128Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-29T00:43:43.128Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-29T00:43:43.128Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-29T00:43:43.128Z] + PACKAGES=/tmp/packages_start.txt [2023-03-29T00:43:43.128Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-03-29T00:43:43.128Z] + PACKAGES=/tmp/packages_end.txt [2023-03-29T00:43:43.128Z] + case "${OS_FAMILY}" in [2023-03-29T00:43:43.128Z] + dpkg -l [2023-03-29T00:43:43.128Z] + grep '^ii' [2023-03-29T00:43:43.128Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-29T00:43:43.128Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-29T00:43:43.128Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-29T00:43:43.128Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-03-29T00:43:43.128Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-03-29T00:43:43.128Z] + 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-29T00:43:43.137Z] 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-29T00:43:43.415Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:43:43.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T00:43:43.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:43:44.095Z] prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container [2023-03-29T00:43:44.147Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T00:43:44.372Z] $ docker top 35016b3dbbb36e7d1fb36d7364ff7be2c08795fa2f5a8717ddf7971b9a4bc67c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T00:43:44.728Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-29T00:43:45.016Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-29T00:43:45.301Z] + ls /var/log/sa-host [2023-03-29T00:43:45.301Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T00:43:45.367Z] provisioning config files... [2023-03-29T00:43:45.375Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15553758326667350690tmp [Pipeline] { [Pipeline] echo [2023-03-29T00:43:45.390Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:43:45.668Z] ---> create-netrc.sh [Pipeline] } [2023-03-29T00:43:45.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:43:45.997Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-29T00:43:46.005Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:43:46.284Z] ---> sudo-logs.sh [2023-03-29T00:43:46.284Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-29T00:43:46.309Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:43:46.585Z] ---> job-cost.sh [2023-03-29T00:43:46.585Z] lf-activate-venv: SKIPPING [2023-03-29T00:43:46.585Z] DEBUG: total: 0.2199999988079071 [2023-03-29T00:43:46.585Z] INFO: Retrieving Stack Cost... [2023-03-29T00:43:47.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T00:43:47.411Z] INFO: Archiving Costs [Pipeline] echo [2023-03-29T00:43:47.421Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:43:47.700Z] ---> logs-deploy.sh [2023-03-29T00:43:47.700Z] lf-activate-venv: SKIPPING [2023-03-29T00:43:47.700Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/97 [2023-03-29T00:43:47.700Z] INFO: archiving workspace using pattern(s): [2023-03-29T00:43:48.637Z] Archives upload complete. [2023-03-29T00:43:48.896Z] INFO: archiving logs to Nexus