Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 88cb92755446ff3d15da758ed0b4d5ad23298886 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-ssh2032254692701759101.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh228579634905222989.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7338238278693171064.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15913746137565679063.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-ssh6791157844572287382.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7636’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-7635’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7639 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 88cb92755446ff3d15da758ed0b4d5ad23298886 (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 88cb92755446ff3d15da758ed0b4d5ad23298886 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#432)" > git rev-list --no-walk a79f7bfda672890f5a827a453c16a6ee5e560f4d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-22T21:45:06.527Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-22T21:45:06.584Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-22T21:45:06.596Z] ========================================================= [2023-09-22T21:45:06.596Z] EdgeX Global Pipelines Version Info [2023-09-22T21:45:06.596Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:45:07.303Z] ------------------- [2023-09-22T21:45:07.303Z] stable info: [2023-09-22T21:45:07.303Z] ------------------- [2023-09-22T21:45:07.303Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-22T21:45:07.303Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-22T21:45:07.303Z] Message: update stable to v1.0.254 [2023-09-22T21:45:07.873Z] ------------------- [2023-09-22T21:45:07.873Z] experimental info: [2023-09-22T21:45:07.873Z] ------------------- [2023-09-22T21:45:07.873Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-22T21:45:07.873Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-22T21:45:07.873Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-22T21:45:08.042Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-22T21:45:08.056Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-22T21:45:08.068Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-22T21:45:08.084Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-22T21:45:08.102Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-22T21:45:08.123Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-22T21:45:08.143Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-22T21:45:08.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-22T21:45:08.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-22T21:45:08.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-22T21:45:08.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-22T21:45:08.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-22T21:45:08.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-22T21:45:08.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-22T21:45:08.242Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-22T21:45:08.254Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-22T21:45:08.273Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-22T21:45:08.285Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-22T21:45:08.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-22T21:45:08.306Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-22T21:45:08.324Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-22T21:45:08.342Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-22T21:45:08.361Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-22T21:45:08.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-22T21:45:08.401Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-22T21:45:08.418Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-22T21:45:08.430Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-22T21:45:08.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-22T21:45:08.463Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-22T21:45:08.483Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-22T21:45:08.500Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88cb92755446ff3d15da758ed0b4d5ad23298886 [Pipeline] echo [2023-09-22T21:45:08.516Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88cb927 [Pipeline] echo [2023-09-22T21:45:08.538Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-22T21:45:08.582Z] provisioning config files... [2023-09-22T21:45:08.598Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9107939019103309676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:45:08.903Z] ---> docker-login.sh [2023-09-22T21:45:08.903Z] nexus3.edgexfoundry.org:10001 [2023-09-22T21:45:09.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:09.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:09.167Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:09.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:09.167Z] [2023-09-22T21:45:09.167Z] Login Succeeded [2023-09-22T21:45:09.167Z] nexus3.edgexfoundry.org:10002 [2023-09-22T21:45:09.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:09.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:09.167Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:09.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:09.167Z] [2023-09-22T21:45:09.167Z] Login Succeeded [2023-09-22T21:45:09.167Z] nexus3.edgexfoundry.org:10003 [2023-09-22T21:45:09.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:09.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:09.427Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:09.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:09.427Z] [2023-09-22T21:45:09.427Z] Login Succeeded [2023-09-22T21:45:09.427Z] nexus3.edgexfoundry.org:10004 [2023-09-22T21:45:09.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:09.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:09.427Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:09.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:09.427Z] [2023-09-22T21:45:09.427Z] Login Succeeded [2023-09-22T21:45:09.427Z] docker.io [2023-09-22T21:45:09.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:09.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:09.690Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:09.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:09.690Z] [2023-09-22T21:45:09.690Z] Login Succeeded [2023-09-22T21:45:09.690Z] ---> docker-login.sh ends [Pipeline] } [2023-09-22T21:45:09.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-22T21:45:10.078Z] + git rev-list -1 --merges 88cb92755446ff3d15da758ed0b4d5ad23298886~1..88cb92755446ff3d15da758ed0b4d5ad23298886 [Pipeline] echo [2023-09-22T21:45:10.127Z] -----------> git rev-list -1 --merges 88cb92755446ff3d15da758ed0b4d5ad23298886~1..88cb92755446ff3d15da758ed0b4d5ad23298886 88cb92755446ff3d15da758ed0b4d5ad23298886 [false] [Pipeline] sh [2023-09-22T21:45:10.419Z] + git log --format=format:%s -1 88cb92755446ff3d15da758ed0b4d5ad23298886 [Pipeline] echo [2023-09-22T21:45:10.433Z] ========================================================= [2023-09-22T21:45:10.433Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-22T21:45:10.433Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-22T21:45:10.752Z] + git log --format=format:%s -1 88cb92755446ff3d15da758ed0b4d5ad23298886 [Pipeline] echo [2023-09-22T21:45:10.790Z] [semverPrep] GIT_COMMIT: 88cb92755446ff3d15da758ed0b4d5ad23298886, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#432) [Pipeline] echo [2023-09-22T21:45:10.800Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-22T21:45:11.150Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-22T21:45:11.150Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-22T21:45:11.150Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-22T21:45:11.150Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-22T21:45:11.150Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-22T21:45:11.150Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-22T21:45:11.150Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:45:11.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T21:45:11.496Z] [2023-09-22T21:45:11.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:45:11.794Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T21:45:11.794Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-22T21:45:11.794Z] b85a868b505f: Pulling fs layer [2023-09-22T21:45:11.794Z] e2be974225ed: Pulling fs layer [2023-09-22T21:45:11.794Z] 339a4e72a1f5: Pulling fs layer [2023-09-22T21:45:11.794Z] 988bab9f4d93: Pulling fs layer [2023-09-22T21:45:11.794Z] 1469e6f7b9e6: Pulling fs layer [2023-09-22T21:45:11.794Z] eaf3925da568: Pulling fs layer [2023-09-22T21:45:11.794Z] bab4dde63d76: Pulling fs layer [2023-09-22T21:45:11.794Z] bde34c3a00c8: Pulling fs layer [2023-09-22T21:45:11.794Z] b352a97aabf1: Pulling fs layer [2023-09-22T21:45:11.794Z] 4872d77fe225: Pulling fs layer [2023-09-22T21:45:11.794Z] 5851b861e8e6: Pulling fs layer [2023-09-22T21:45:11.794Z] eaf3925da568: Waiting [2023-09-22T21:45:11.794Z] bab4dde63d76: Waiting [2023-09-22T21:45:11.794Z] bde34c3a00c8: Waiting [2023-09-22T21:45:11.794Z] b352a97aabf1: Waiting [2023-09-22T21:45:11.794Z] 4872d77fe225: Waiting [2023-09-22T21:45:11.794Z] 5851b861e8e6: Waiting [2023-09-22T21:45:11.794Z] 988bab9f4d93: Waiting [2023-09-22T21:45:11.794Z] 1469e6f7b9e6: Waiting [2023-09-22T21:45:11.794Z] e2be974225ed: Download complete [2023-09-22T21:45:11.794Z] 988bab9f4d93: Verifying Checksum [2023-09-22T21:45:11.794Z] 988bab9f4d93: Download complete [2023-09-22T21:45:12.053Z] 1469e6f7b9e6: Verifying Checksum [2023-09-22T21:45:12.053Z] 1469e6f7b9e6: Download complete [2023-09-22T21:45:12.053Z] 339a4e72a1f5: Verifying Checksum [2023-09-22T21:45:12.053Z] 339a4e72a1f5: Download complete [2023-09-22T21:45:12.053Z] eaf3925da568: Verifying Checksum [2023-09-22T21:45:12.053Z] eaf3925da568: Download complete [2023-09-22T21:45:12.053Z] bde34c3a00c8: Download complete [2023-09-22T21:45:12.053Z] b352a97aabf1: Download complete [2023-09-22T21:45:12.053Z] 4872d77fe225: Download complete [2023-09-22T21:45:12.053Z] 5851b861e8e6: Verifying Checksum [2023-09-22T21:45:12.053Z] 5851b861e8e6: Download complete [2023-09-22T21:45:12.053Z] b85a868b505f: Verifying Checksum [2023-09-22T21:45:12.053Z] b85a868b505f: Download complete [2023-09-22T21:45:12.312Z] bab4dde63d76: Verifying Checksum [2023-09-22T21:45:12.312Z] bab4dde63d76: Download complete [2023-09-22T21:45:13.691Z] b85a868b505f: Pull complete [2023-09-22T21:45:13.691Z] e2be974225ed: Pull complete [2023-09-22T21:45:13.950Z] 339a4e72a1f5: Pull complete [2023-09-22T21:45:14.209Z] 988bab9f4d93: Pull complete [2023-09-22T21:45:14.467Z] 1469e6f7b9e6: Pull complete [2023-09-22T21:45:14.467Z] eaf3925da568: Pull complete [2023-09-22T21:45:16.380Z] bab4dde63d76: Pull complete [2023-09-22T21:45:16.380Z] bde34c3a00c8: Pull complete [2023-09-22T21:45:16.640Z] b352a97aabf1: Pull complete [2023-09-22T21:45:16.640Z] 4872d77fe225: Pull complete [2023-09-22T21:45:16.640Z] 5851b861e8e6: Pull complete [2023-09-22T21:45:16.640Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-22T21:45:16.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T21:45:16.641Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:45:16.733Z] prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container [2023-09-22T21:45:16.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-22T21:45:20.520Z] $ docker top 6b009aff92e2624e3ce7614b1f832ec5bba7d9dd8356a2f8e76bbee10f236269 -eo pid,comm [2023-09-22T21:45:20.576Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-22T21:45:20.576Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-22T21:45:20.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-22T21:45:20.607Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-22T21:45:20.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-22T21:45:20.742Z] $ docker exec 6b009aff92e2624e3ce7614b1f832ec5bba7d9dd8356a2f8e76bbee10f236269 ssh-agent [2023-09-22T21:45:20.868Z] SSH_AUTH_SOCK=/tmp/ssh-Z60NVhOQTdoS/agent.32 [2023-09-22T21:45:20.868Z] SSH_AGENT_PID=38 [2023-09-22T21:45:20.875Z] Running ssh-add (command line suppressed) [2023-09-22T21:45:20.987Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10618485753143393179.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10618485753143393179.key) [2023-09-22T21:45:21.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-22T21:45:21.295Z] + git tag --points-at HEAD [Pipeline] } [2023-09-22T21:45:21.309Z] $ docker exec --env ******** --env ******** 6b009aff92e2624e3ce7614b1f832ec5bba7d9dd8356a2f8e76bbee10f236269 ssh-agent -k [2023-09-22T21:45:21.407Z] unset SSH_AUTH_SOCK; [2023-09-22T21:45:21.407Z] unset SSH_AGENT_PID; [2023-09-22T21:45:21.408Z] echo Agent pid 38 killed; [2023-09-22T21:45:21.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-22T21:45:21.438Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-22T21:45:21.438Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-22T21:45:21.545Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-22T21:45:21.551Z] $ docker exec 6b009aff92e2624e3ce7614b1f832ec5bba7d9dd8356a2f8e76bbee10f236269 ssh-agent [2023-09-22T21:45:21.659Z] SSH_AUTH_SOCK=/tmp/ssh-W0Q2rLuNXe1U/agent.71 [2023-09-22T21:45:21.659Z] SSH_AGENT_PID=77 [2023-09-22T21:45:21.663Z] Running ssh-add (command line suppressed) [2023-09-22T21:45:21.766Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9743412075487856840.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9743412075487856840.key) [2023-09-22T21:45:21.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-22T21:45:22.069Z] + git semver init [2023-09-22T21:45:22.333Z] 2023-09-22 21:45:22,254 [run_init] DEBUG init version:0.0.0 force:False [2023-09-22T21:45:22.333Z] 2023-09-22 21:45:22,255 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-22T21:45:22.333Z] 2023-09-22 21:45:22,256 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-22T21:45:22.333Z] 2023-09-22 21:45:22,256 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-22T21:45:23.712Z] 2023-09-22 21:45:23,325 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-09-22T21:45:23.712Z] 2023-09-22 21:45:23,326 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-09-22T21:45:23.712Z] 2023-09-22 21:45:23,326 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-22T21:45:23.712Z] 2023-09-22 21:45:23,326 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-22T21:45:23.712Z] 3.1.0-dev.17 [Pipeline] } [2023-09-22T21:45:23.724Z] $ docker exec --env ******** --env ******** 6b009aff92e2624e3ce7614b1f832ec5bba7d9dd8356a2f8e76bbee10f236269 ssh-agent -k [2023-09-22T21:45:23.831Z] unset SSH_AUTH_SOCK; [2023-09-22T21:45:23.832Z] unset SSH_AGENT_PID; [2023-09-22T21:45:23.833Z] echo Agent pid 77 killed; [2023-09-22T21:45:23.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-22T21:45:24.143Z] + git semver [Pipeline] } [2023-09-22T21:45:24.417Z] $ docker stop --time=1 6b009aff92e2624e3ce7614b1f832ec5bba7d9dd8356a2f8e76bbee10f236269 [2023-09-22T21:45:25.713Z] $ docker rm -f --volumes 6b009aff92e2624e3ce7614b1f832ec5bba7d9dd8356a2f8e76bbee10f236269 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-22T21:45:26.043Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-22T21:45:26.264Z] Stashed 1 file(s) [Pipeline] echo [2023-09-22T21:45:26.266Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-22T21:45:26.427Z] provisioning config files... [2023-09-22T21:45:26.435Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11933890679146477735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:45:26.730Z] ---> docker-login.sh [2023-09-22T21:45:26.730Z] nexus3.edgexfoundry.org:10001 [2023-09-22T21:45:26.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:26.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:26.730Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:26.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:26.730Z] [2023-09-22T21:45:26.730Z] Login Succeeded [2023-09-22T21:45:26.730Z] nexus3.edgexfoundry.org:10002 [2023-09-22T21:45:26.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:26.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:26.730Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:26.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:26.730Z] [2023-09-22T21:45:26.730Z] Login Succeeded [2023-09-22T21:45:26.730Z] nexus3.edgexfoundry.org:10003 [2023-09-22T21:45:26.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:26.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:26.990Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:26.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:26.990Z] [2023-09-22T21:45:26.990Z] Login Succeeded [2023-09-22T21:45:26.990Z] nexus3.edgexfoundry.org:10004 [2023-09-22T21:45:26.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:26.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:26.990Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:26.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:26.990Z] [2023-09-22T21:45:26.990Z] Login Succeeded [2023-09-22T21:45:26.990Z] docker.io [2023-09-22T21:45:27.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:27.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:27.251Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:27.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:27.251Z] [2023-09-22T21:45:27.251Z] Login Succeeded [2023-09-22T21:45:27.251Z] ---> docker-login.sh ends [Pipeline] } [2023-09-22T21:45:27.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-22T21:45:27.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-22T21:45:27.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-22T21:45:27.338Z] ========================================================= [2023-09-22T21:45:27.338Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-22T21:45:27.338Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:45:27.651Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-22T21:45:27.651Z] Sending build context to Docker daemon 23.62MB [2023-09-22T21:45:27.651Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-22T21:45:27.651Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-22T21:45:27.911Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-22T21:45:27.911Z] 7264a8db6415: Pulling fs layer [2023-09-22T21:45:27.911Z] c4d48a809fc2: Pulling fs layer [2023-09-22T21:45:27.911Z] 4f1c88b9dad5: Pulling fs layer [2023-09-22T21:45:27.911Z] ad3a456e5733: Pulling fs layer [2023-09-22T21:45:27.911Z] 33e27b845d1e: Pulling fs layer [2023-09-22T21:45:27.911Z] c68163c4e522: Pulling fs layer [2023-09-22T21:45:27.911Z] 50da416c3ac9: Pulling fs layer [2023-09-22T21:45:27.911Z] 23d2d4c4bb30: Pulling fs layer [2023-09-22T21:45:27.911Z] ad3a456e5733: Waiting [2023-09-22T21:45:27.911Z] c68163c4e522: Waiting [2023-09-22T21:45:27.911Z] 33e27b845d1e: Waiting [2023-09-22T21:45:27.911Z] 50da416c3ac9: Waiting [2023-09-22T21:45:27.911Z] 23d2d4c4bb30: Waiting [2023-09-22T21:45:27.911Z] c4d48a809fc2: Download complete [2023-09-22T21:45:27.911Z] ad3a456e5733: Download complete [2023-09-22T21:45:27.911Z] 33e27b845d1e: Verifying Checksum [2023-09-22T21:45:27.911Z] 33e27b845d1e: Download complete [2023-09-22T21:45:27.911Z] 7264a8db6415: Verifying Checksum [2023-09-22T21:45:27.911Z] 7264a8db6415: Download complete [2023-09-22T21:45:27.911Z] c68163c4e522: Verifying Checksum [2023-09-22T21:45:27.911Z] c68163c4e522: Download complete [2023-09-22T21:45:28.171Z] 7264a8db6415: Pull complete [2023-09-22T21:45:28.171Z] 23d2d4c4bb30: Download complete [2023-09-22T21:45:28.430Z] 4f1c88b9dad5: Download complete [2023-09-22T21:45:28.430Z] c4d48a809fc2: Pull complete [2023-09-22T21:45:28.688Z] 50da416c3ac9: Verifying Checksum [2023-09-22T21:45:28.688Z] 50da416c3ac9: Download complete [2023-09-22T21:45:31.990Z] 4f1c88b9dad5: Pull complete [2023-09-22T21:45:31.990Z] ad3a456e5733: Pull complete [2023-09-22T21:45:31.990Z] 33e27b845d1e: Pull complete [2023-09-22T21:45:32.251Z] c68163c4e522: Pull complete [2023-09-22T21:45:34.800Z] 50da416c3ac9: Pull complete [2023-09-22T21:45:35.058Z] 23d2d4c4bb30: Pull complete [2023-09-22T21:45:35.058Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-22T21:45:35.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-22T21:45:35.058Z] ---> 0786185ac409 [2023-09-22T21:45:35.058Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-22T21:45:39.253Z] ---> Running in e3edbd42e8e1 [2023-09-22T21:45:39.253Z] Removing intermediate container e3edbd42e8e1 [2023-09-22T21:45:39.253Z] ---> a9608a228772 [2023-09-22T21:45:39.253Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-22T21:45:39.253Z] ---> Running in 614cd8c63e91 [2023-09-22T21:45:39.512Z] Removing intermediate container 614cd8c63e91 [2023-09-22T21:45:39.512Z] ---> 7b1409a8bc0b [2023-09-22T21:45:39.512Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-22T21:45:39.512Z] ---> Running in deba02b611bc [2023-09-22T21:45:39.512Z] Removing intermediate container deba02b611bc [2023-09-22T21:45:39.512Z] ---> 4a39b1b3de1b [2023-09-22T21:45:39.512Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-22T21:45:39.512Z] ---> Running in d7f367016d1f [2023-09-22T21:45:39.772Z] Removing intermediate container d7f367016d1f [2023-09-22T21:45:39.772Z] ---> af5257230cc4 [2023-09-22T21:45:39.772Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-22T21:45:39.772Z] ---> Running in d84a8b516f82 [2023-09-22T21:45:40.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-22T21:45:40.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-22T21:45:40.599Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-22T21:45:40.599Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-22T21:45:40.599Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-22T21:45:40.599Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-22T21:45:40.599Z] Executing busybox-1.36.1-r2.trigger [2023-09-22T21:45:40.599Z] OK: 268 MiB in 56 packages [2023-09-22T21:45:41.166Z] Removing intermediate container d84a8b516f82 [2023-09-22T21:45:41.166Z] ---> 2785ad3b4be6 [2023-09-22T21:45:41.166Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-22T21:45:41.166Z] ---> dc1b0102bbbe [2023-09-22T21:45:41.166Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-22T21:45:41.166Z] ---> Running in b00352c76d86 [2023-09-22T21:45:41.375Z] Still waiting to schedule task [2023-09-22T21:45:41.376Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-22T21:46:20.166Z] Removing intermediate container b00352c76d86 [2023-09-22T21:46:20.166Z] ---> 0a4ad313dc4e [2023-09-22T21:46:20.166Z] Step 10/12 : COPY . . [2023-09-22T21:46:20.166Z] ---> f9f72e4caccf [2023-09-22T21:46:20.166Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-22T21:46:20.166Z] ---> Running in 2f2e7066d169 [2023-09-22T21:46:20.166Z] Removing intermediate container 2f2e7066d169 [2023-09-22T21:46:20.166Z] ---> 784de833629c [2023-09-22T21:46:20.166Z] Step 12/12 : RUN $MAKE [2023-09-22T21:46:20.166Z] ---> Running in 8f6602635b48 [2023-09-22T21:46:20.166Z] noop [2023-09-22T21:46:20.166Z] Removing intermediate container 8f6602635b48 [2023-09-22T21:46:20.166Z] ---> a5d47b1a63e7 [2023-09-22T21:46:20.166Z] Successfully built a5d47b1a63e7 [2023-09-22T21:46:20.166Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:46:20.484Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-22T21:46:20.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:46:20.562Z] prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container [2023-09-22T21:46:20.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-22T21:46:20.921Z] $ docker top ea17aa851192287da2589f686dd4c2ba3e0a89a8c6d5e7e145ce3322ab20a5b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-22T21:46:21.259Z] + go version [2023-09-22T21:46:21.259Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-22T21:46:21.272Z] $ docker stop --time=1 ea17aa851192287da2589f686dd4c2ba3e0a89a8c6d5e7e145ce3322ab20a5b2 [2023-09-22T21:46:22.534Z] $ docker rm -f --volumes ea17aa851192287da2589f686dd4c2ba3e0a89a8c6d5e7e145ce3322ab20a5b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:46:22.953Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-22T21:46:22.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:46:23.024Z] prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container [2023-09-22T21:46:23.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-22T21:46:23.409Z] $ docker top a3a67f6ef7b28fc43681613ac7b003c17d2799d0ee012af888e14820c13c8139 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-22T21:46:23.743Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-22T21:46:24.034Z] + make test [2023-09-22T21:46:24.035Z] go test ./... -coverprofile=coverage.out [2023-09-22T21:46:25.428Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-22T21:46:35.392Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-22T21:46:35.392Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements [2023-09-22T21:46:42.309Z] go vet ./... [2023-09-22T21:46:45.586Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-22T21:46:45.586Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-22T21:46:45.586Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-22T21:46:45.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-22T21:46:45.613Z] $ docker stop --time=1 a3a67f6ef7b28fc43681613ac7b003c17d2799d0ee012af888e14820c13c8139 [2023-09-22T21:46:48.993Z] $ docker rm -f --volumes a3a67f6ef7b28fc43681613ac7b003c17d2799d0ee012af888e14820c13c8139 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-22T21:46:49.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-22T21:46:49.548Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-22T21:46:50.022Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-22T21:46:50.307Z] + ls -al . [2023-09-22T21:46:50.307Z] total 204 [2023-09-22T21:46:50.307Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 21:46 . [2023-09-22T21:46:50.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:45 .. [2023-09-22T21:46:50.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 21:46 .git [2023-09-22T21:46:50.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:45 .github [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 21:45 .gitignore [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 21:45 .golangci.yml [2023-09-22T21:46:50.307Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 21:45 .semver [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 22 21:45 Attribution.txt [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 22 21:45 CHANGELOG.md [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 22 21:45 Dockerfile [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 21:45 GOVERNANCE.md [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 21:45 Jenkinsfile [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 21:45 LICENSE [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 22 21:45 Makefile [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 21:45 OWNERS.md [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 22 21:45 README.md [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 21:45 VERSION [2023-09-22T21:46:50.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:45 bin [2023-09-22T21:46:50.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:45 cmd [2023-09-22T21:46:50.307Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 22 21:46 coverage.out [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 22 21:45 go.mod [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 22 21:45 go.sum [2023-09-22T21:46:50.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:45 internal [2023-09-22T21:46:50.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:45 snap [2023-09-22T21:46:50.307Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 21:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:46:50.634Z] + 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=88cb92755446ff3d15da758ed0b4d5ad23298886 --label arch=amd64 --label version=3.1.0-dev.17 . [2023-09-22T21:46:50.634Z] Sending build context to Docker daemon 23.67MB [2023-09-22T21:46:50.634Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-22T21:46:50.634Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-22T21:46:50.634Z] ---> a5d47b1a63e7 [2023-09-22T21:46:50.634Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-22T21:46:50.892Z] ---> Running in a49081d1d5a0 [2023-09-22T21:46:51.150Z] Removing intermediate container a49081d1d5a0 [2023-09-22T21:46:51.150Z] ---> a216272e2207 [2023-09-22T21:46:51.150Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-22T21:46:51.150Z] ---> Running in 36a694a3576e [2023-09-22T21:46:51.150Z] Removing intermediate container 36a694a3576e [2023-09-22T21:46:51.150Z] ---> 360f664e84d2 [2023-09-22T21:46:51.150Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-22T21:46:51.150Z] ---> Running in 1b96582b2127 [2023-09-22T21:46:51.150Z] Removing intermediate container 1b96582b2127 [2023-09-22T21:46:51.150Z] ---> a6096eddd151 [2023-09-22T21:46:51.150Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-22T21:46:51.150Z] ---> Running in fc92a8e63e86 [2023-09-22T21:46:51.408Z] Removing intermediate container fc92a8e63e86 [2023-09-22T21:46:51.408Z] ---> 8720f288fee8 [2023-09-22T21:46:51.408Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-22T21:46:51.408Z] ---> Running in 49e549cf919c [2023-09-22T21:46:51.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-22T21:46:51.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-22T21:46:51.926Z] OK: 268 MiB in 56 packages [2023-09-22T21:46:52.185Z] Removing intermediate container 49e549cf919c [2023-09-22T21:46:52.185Z] ---> b5725aa1f0a2 [2023-09-22T21:46:52.185Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-22T21:46:52.443Z] ---> 9244a0163fea [2023-09-22T21:46:52.443Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-22T21:46:52.443Z] ---> Running in d2cbe7be8486 [2023-09-22T21:46:53.007Z] Removing intermediate container d2cbe7be8486 [2023-09-22T21:46:53.007Z] ---> fa1bd5ce5a86 [2023-09-22T21:46:53.007Z] Step 10/25 : COPY . . [2023-09-22T21:46:53.574Z] ---> 4c448fa99600 [2023-09-22T21:46:53.574Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-22T21:46:53.574Z] ---> Running in a1182067863e [2023-09-22T21:46:53.832Z] Removing intermediate container a1182067863e [2023-09-22T21:46:53.832Z] ---> 92e88cabf00c [2023-09-22T21:46:53.832Z] Step 12/25 : RUN $MAKE [2023-09-22T21:46:53.832Z] ---> Running in 0e45f108b51c [2023-09-22T21:46:54.092Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-22T21:47:16.004Z] Removing intermediate container 0e45f108b51c [2023-09-22T21:47:16.004Z] ---> 3442109bd017 [2023-09-22T21:47:16.004Z] Step 13/25 : FROM alpine:3.18 [2023-09-22T21:47:16.004Z] 3.18: Pulling from library/alpine [2023-09-22T21:47:16.004Z] 7264a8db6415: Already exists [2023-09-22T21:47:16.004Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-22T21:47:16.004Z] Status: Downloaded newer image for alpine:3.18 [2023-09-22T21:47:16.004Z] ---> 7e01a0d0a1dc [2023-09-22T21:47:16.004Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-22T21:47:16.004Z] ---> Running in 220cc70a7117 [2023-09-22T21:47:16.004Z] Removing intermediate container 220cc70a7117 [2023-09-22T21:47:16.004Z] ---> a8789bef4543 [2023-09-22T21:47:16.004Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-22T21:47:16.004Z] ---> Running in 12998c1bc82c [2023-09-22T21:47:16.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-22T21:47:16.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-22T21:47:16.004Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-22T21:47:16.004Z] Executing busybox-1.36.1-r2.trigger [2023-09-22T21:47:16.004Z] OK: 7 MiB in 16 packages [2023-09-22T21:47:16.004Z] Removing intermediate container 12998c1bc82c [2023-09-22T21:47:16.004Z] ---> bce8ba03d888 [2023-09-22T21:47:16.004Z] Step 16/25 : WORKDIR / [2023-09-22T21:47:16.004Z] ---> Running in bf4cfb2d2246 [2023-09-22T21:47:16.004Z] Removing intermediate container bf4cfb2d2246 [2023-09-22T21:47:16.004Z] ---> 03b337f8a850 [2023-09-22T21:47:16.004Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-22T21:47:16.004Z] ---> 242b93eb2e1f [2023-09-22T21:47:16.004Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-22T21:47:16.004Z] ---> 557f902a671a [2023-09-22T21:47:16.004Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-22T21:47:16.938Z] ---> 425586b31b7f [2023-09-22T21:47:16.938Z] Step 20/25 : EXPOSE 59900 [2023-09-22T21:47:16.938Z] ---> Running in 5cb5b52ae8b5 [2023-09-22T21:47:16.938Z] Removing intermediate container 5cb5b52ae8b5 [2023-09-22T21:47:16.938Z] ---> 25fcd8e3c1d7 [2023-09-22T21:47:16.938Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-22T21:47:16.938Z] ---> Running in efe6108bac3e [2023-09-22T21:47:17.196Z] Removing intermediate container efe6108bac3e [2023-09-22T21:47:17.196Z] ---> 1f5b6bab1ae3 [2023-09-22T21:47:17.196Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-22T21:47:17.196Z] ---> Running in 41c2f241d1d8 [2023-09-22T21:47:17.196Z] Removing intermediate container 41c2f241d1d8 [2023-09-22T21:47:17.196Z] ---> 6ccfadd504f1 [2023-09-22T21:47:17.196Z] Step 23/25 : LABEL arch=amd64 [2023-09-22T21:47:17.196Z] ---> Running in 173a9d9d8494 [2023-09-22T21:47:17.196Z] Removing intermediate container 173a9d9d8494 [2023-09-22T21:47:17.196Z] ---> fb138e0ffaa9 [2023-09-22T21:47:17.196Z] Step 24/25 : LABEL git_sha=88cb92755446ff3d15da758ed0b4d5ad23298886 [2023-09-22T21:47:17.196Z] ---> Running in 9529654cf3c2 [2023-09-22T21:47:17.454Z] Removing intermediate container 9529654cf3c2 [2023-09-22T21:47:17.454Z] ---> 6f1edd9184b3 [2023-09-22T21:47:17.454Z] Step 25/25 : LABEL version=3.1.0-dev.17 [2023-09-22T21:47:17.454Z] ---> Running in 717dd58592bd [2023-09-22T21:47:17.454Z] Removing intermediate container 717dd58592bd [2023-09-22T21:47:17.454Z] ---> 229ca8aad45f [2023-09-22T21:47:17.454Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-22T21:47:17.454Z] Successfully built 229ca8aad45f [2023-09-22T21:47:17.454Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-22T21:47:17.545Z] provisioning config files... [2023-09-22T21:47:17.552Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8559293669183271194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:47:17.854Z] ---> docker-login.sh [2023-09-22T21:47:17.854Z] nexus3.edgexfoundry.org:10001 [2023-09-22T21:47:17.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:47:17.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:47:17.854Z] Configure a credential helper to remove this warning. See [2023-09-22T21:47:17.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:47:17.854Z] [2023-09-22T21:47:17.854Z] Login Succeeded [2023-09-22T21:47:17.854Z] nexus3.edgexfoundry.org:10002 [2023-09-22T21:47:17.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:47:17.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:47:17.854Z] Configure a credential helper to remove this warning. See [2023-09-22T21:47:17.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:47:17.854Z] [2023-09-22T21:47:17.854Z] Login Succeeded [2023-09-22T21:47:17.854Z] nexus3.edgexfoundry.org:10003 [2023-09-22T21:47:18.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:47:18.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:47:18.113Z] Configure a credential helper to remove this warning. See [2023-09-22T21:47:18.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:47:18.113Z] [2023-09-22T21:47:18.113Z] Login Succeeded [2023-09-22T21:47:18.113Z] nexus3.edgexfoundry.org:10004 [2023-09-22T21:47:18.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:47:18.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:47:18.113Z] Configure a credential helper to remove this warning. See [2023-09-22T21:47:18.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:47:18.113Z] [2023-09-22T21:47:18.113Z] Login Succeeded [2023-09-22T21:47:18.113Z] docker.io [2023-09-22T21:47:18.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:47:18.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:47:18.372Z] Configure a credential helper to remove this warning. See [2023-09-22T21:47:18.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:47:18.372Z] [2023-09-22T21:47:18.372Z] Login Succeeded [2023-09-22T21:47:18.372Z] ---> docker-login.sh ends [Pipeline] } [2023-09-22T21:47:18.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-22T21:47:18.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-22T21:47:18.422Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-09-22T21:47:18.422Z] 88cb92755446ff3d15da758ed0b4d5ad23298886 [2023-09-22T21:47:18.422Z] latest [2023-09-22T21:47:18.422Z] 3.1.0-dev.17 [2023-09-22T21:47:18.422Z] 88cb92755446ff3d15da758ed0b4d5ad23298886-3.1.0-dev.17 [2023-09-22T21:47:18.422Z] main [2023-09-22T21:47:18.422Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:18.736Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:88cb92755446ff3d15da758ed0b4d5ad23298886 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:19.041Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:88cb92755446ff3d15da758ed0b4d5ad23298886 [2023-09-22T21:47:19.042Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-22T21:47:19.042Z] 08f7608eabf4: Preparing [2023-09-22T21:47:19.042Z] 73a1cda66fa2: Preparing [2023-09-22T21:47:19.042Z] 179a98837c98: Preparing [2023-09-22T21:47:19.042Z] f6b7e85667a9: Preparing [2023-09-22T21:47:19.042Z] 4693057ce236: Preparing [2023-09-22T21:47:19.042Z] 4693057ce236: Layer already exists [2023-09-22T21:47:19.042Z] f6b7e85667a9: Pushed [2023-09-22T21:47:19.042Z] 73a1cda66fa2: Pushed [2023-09-22T21:47:19.042Z] 179a98837c98: Pushed [2023-09-22T21:47:22.322Z] 08f7608eabf4: Pushed [2023-09-22T21:47:22.322Z] 88cb92755446ff3d15da758ed0b4d5ad23298886: digest: sha256:c2ce38199f1ecd363002ef9a8b411efc54583dce09ec5c5998662f04a440a23a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:22.631Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:22.931Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-22T21:47:22.931Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-22T21:47:22.931Z] 08f7608eabf4: Preparing [2023-09-22T21:47:22.931Z] 73a1cda66fa2: Preparing [2023-09-22T21:47:22.931Z] 179a98837c98: Preparing [2023-09-22T21:47:22.931Z] f6b7e85667a9: Preparing [2023-09-22T21:47:22.931Z] 4693057ce236: Preparing [2023-09-22T21:47:22.931Z] 08f7608eabf4: Layer already exists [2023-09-22T21:47:22.931Z] 4693057ce236: Layer already exists [2023-09-22T21:47:22.931Z] 179a98837c98: Layer already exists [2023-09-22T21:47:22.931Z] f6b7e85667a9: Layer already exists [2023-09-22T21:47:22.931Z] 73a1cda66fa2: Layer already exists [2023-09-22T21:47:22.931Z] latest: digest: sha256:c2ce38199f1ecd363002ef9a8b411efc54583dce09ec5c5998662f04a440a23a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:23.246Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:23.554Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.17 [2023-09-22T21:47:23.554Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-22T21:47:23.554Z] 08f7608eabf4: Preparing [2023-09-22T21:47:23.554Z] 73a1cda66fa2: Preparing [2023-09-22T21:47:23.554Z] 179a98837c98: Preparing [2023-09-22T21:47:23.554Z] f6b7e85667a9: Preparing [2023-09-22T21:47:23.554Z] 4693057ce236: Preparing [2023-09-22T21:47:23.554Z] 08f7608eabf4: Layer already exists [2023-09-22T21:47:23.554Z] 73a1cda66fa2: Layer already exists [2023-09-22T21:47:23.554Z] 4693057ce236: Layer already exists [2023-09-22T21:47:23.554Z] f6b7e85667a9: Layer already exists [2023-09-22T21:47:23.554Z] 179a98837c98: Layer already exists [2023-09-22T21:47:23.554Z] 3.1.0-dev.17: digest: sha256:c2ce38199f1ecd363002ef9a8b411efc54583dce09ec5c5998662f04a440a23a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:23.868Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:88cb92755446ff3d15da758ed0b4d5ad23298886-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:24.166Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:88cb92755446ff3d15da758ed0b4d5ad23298886-3.1.0-dev.17 [2023-09-22T21:47:24.167Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-22T21:47:24.167Z] 08f7608eabf4: Preparing [2023-09-22T21:47:24.167Z] 73a1cda66fa2: Preparing [2023-09-22T21:47:24.167Z] 179a98837c98: Preparing [2023-09-22T21:47:24.167Z] f6b7e85667a9: Preparing [2023-09-22T21:47:24.167Z] 4693057ce236: Preparing [2023-09-22T21:47:24.167Z] 4693057ce236: Layer already exists [2023-09-22T21:47:24.167Z] f6b7e85667a9: Layer already exists [2023-09-22T21:47:24.167Z] 73a1cda66fa2: Layer already exists [2023-09-22T21:47:24.167Z] 179a98837c98: Layer already exists [2023-09-22T21:47:24.167Z] 08f7608eabf4: Layer already exists [2023-09-22T21:47:24.167Z] 88cb92755446ff3d15da758ed0b4d5ad23298886-3.1.0-dev.17: digest: sha256:c2ce38199f1ecd363002ef9a8b411efc54583dce09ec5c5998662f04a440a23a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:24.484Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:24.788Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-09-22T21:47:24.788Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-22T21:47:24.788Z] 08f7608eabf4: Preparing [2023-09-22T21:47:24.788Z] 73a1cda66fa2: Preparing [2023-09-22T21:47:24.788Z] 179a98837c98: Preparing [2023-09-22T21:47:24.788Z] f6b7e85667a9: Preparing [2023-09-22T21:47:24.788Z] 4693057ce236: Preparing [2023-09-22T21:47:24.788Z] 08f7608eabf4: Layer already exists [2023-09-22T21:47:24.788Z] 179a98837c98: Layer already exists [2023-09-22T21:47:24.788Z] 4693057ce236: Layer already exists [2023-09-22T21:47:24.788Z] 73a1cda66fa2: Layer already exists [2023-09-22T21:47:24.788Z] f6b7e85667a9: Layer already exists [2023-09-22T21:47:24.788Z] main: digest: sha256:c2ce38199f1ecd363002ef9a8b411efc54583dce09ec5c5998662f04a440a23a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-22T21:47:24.846Z] ===================================================== [Pipeline] echo [2023-09-22T21:47:24.855Z] taggedImages: [2023-09-22T21:47:24.855Z] - nexus3.edgexfoundry.org:10004/device-virtual:88cb92755446ff3d15da758ed0b4d5ad23298886 [2023-09-22T21:47:24.855Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-22T21:47:24.855Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.17 [2023-09-22T21:47:24.855Z] - nexus3.edgexfoundry.org:10004/device-virtual:88cb92755446ff3d15da758ed0b4d5ad23298886-3.1.0-dev.17 [2023-09-22T21:47:24.855Z] - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:25.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-22T21:47:25.231Z] [2023-09-22T21:47:25.231Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:27.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-22T21:47:27.730Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-22T21:47:27.730Z] 5eb5b503b376: Pulling fs layer [2023-09-22T21:47:27.730Z] 5c69ac0246d0: Pulling fs layer [2023-09-22T21:47:27.730Z] ec43610c2a17: Pulling fs layer [2023-09-22T21:47:27.730Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-22T21:47:27.730Z] 33b1e0a273af: Pulling fs layer [2023-09-22T21:47:27.730Z] 5d3b04190fa2: Pulling fs layer [2023-09-22T21:47:27.730Z] 2f39f015ded8: Pulling fs layer [2023-09-22T21:47:27.730Z] 3a2ae6a8a46f: Waiting [2023-09-22T21:47:27.730Z] 33b1e0a273af: Waiting [2023-09-22T21:47:27.730Z] 5d3b04190fa2: Waiting [2023-09-22T21:47:27.730Z] 2f39f015ded8: Waiting [2023-09-22T21:47:27.730Z] 5c69ac0246d0: Verifying Checksum [2023-09-22T21:47:27.730Z] 5c69ac0246d0: Download complete [2023-09-22T21:47:27.730Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-22T21:47:27.730Z] 3a2ae6a8a46f: Download complete [2023-09-22T21:47:27.730Z] ec43610c2a17: Verifying Checksum [2023-09-22T21:47:27.730Z] ec43610c2a17: Download complete [2023-09-22T21:47:27.730Z] 33b1e0a273af: Verifying Checksum [2023-09-22T21:47:27.730Z] 33b1e0a273af: Download complete [2023-09-22T21:47:27.730Z] 5d3b04190fa2: Verifying Checksum [2023-09-22T21:47:27.730Z] 5d3b04190fa2: Download complete [2023-09-22T21:47:27.989Z] 5eb5b503b376: Verifying Checksum [2023-09-22T21:47:27.989Z] 5eb5b503b376: Download complete [2023-09-22T21:47:28.628Z] 2f39f015ded8: Download complete [2023-09-22T21:47:29.193Z] 5eb5b503b376: Pull complete [2023-09-22T21:47:29.451Z] 5c69ac0246d0: Pull complete [2023-09-22T21:47:29.710Z] ec43610c2a17: Pull complete [2023-09-22T21:47:29.710Z] 3a2ae6a8a46f: Pull complete [2023-09-22T21:47:29.967Z] 33b1e0a273af: Pull complete [2023-09-22T21:47:30.225Z] 5d3b04190fa2: Pull complete [2023-09-22T21:47:34.405Z] 2f39f015ded8: Pull complete [2023-09-22T21:47:34.405Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-22T21:47:34.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-22T21:47:34.405Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:47:34.476Z] prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container [2023-09-22T21:47:34.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-22T21:47:39.541Z] $ docker top 2db5f79ef376809a01a637c094b4cf4663ef7ca49b52e753330549633670339b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:47:39.909Z] ---> job-cost.sh [2023-09-22T21:47:39.909Z] lf-activate-venv: SKIPPING [2023-09-22T21:47:39.909Z] INFO: No Stack... [2023-09-22T21:47:40.167Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-22T21:47:40.735Z] INFO: Archiving Costs [Pipeline] sh [2023-09-22T21:47:41.024Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-09-22T21:47:41.025Z] + cut -d, -f6 [Pipeline] lock [2023-09-22T21:47:41.037Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-143-stack-cost] [2023-09-22T21:47:41.043Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-143-stack-cost] did not exist. Created. [2023-09-22T21:47:41.043Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-22T21:47:41.344Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-22T21:47:41.374Z] Stashed 1 file(s) [Pipeline] } [2023-09-22T21:47:41.380Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-22T21:47:41.402Z] $ docker stop --time=1 2db5f79ef376809a01a637c094b4cf4663ef7ca49b52e753330549633670339b [2023-09-22T21:47:42.551Z] $ docker rm -f --volumes 2db5f79ef376809a01a637c094b4cf4663ef7ca49b52e753330549633670339b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-22T21:48:43.654Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7644 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-09-22T21:48:43.666Z] Running in /w/workspace/device-virtual-go/143 [Pipeline] { [Pipeline] checkout [2023-09-22T21:48:43.702Z] The recommended git tool is: git [2023-09-22T21:48:50.901Z] using credential edgex-jenkins-ssh [2023-09-22T21:48:50.924Z] Cloning the remote Git repository [2023-09-22T21:48:51.005Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-22T21:48:51.148Z] > git init /w/workspace/device-virtual-go/143 # timeout=10 [2023-09-22T21:48:51.338Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-22T21:48:51.339Z] > git --version # timeout=10 [2023-09-22T21:48:51.373Z] > git --version # 'git version 2.25.1' [2023-09-22T21:48:51.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-22T21:48:51.628Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-22T21:48:53.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-22T21:48:53.885Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-22T21:48:55.102Z] Avoid second fetch [2023-09-22T21:48:55.102Z] Checking out Revision 88cb92755446ff3d15da758ed0b4d5ad23298886 (main) [2023-09-22T21:48:55.127Z] > git config core.sparsecheckout # timeout=10 [2023-09-22T21:48:55.207Z] > git checkout -f 88cb92755446ff3d15da758ed0b4d5ad23298886 # timeout=10 [2023-09-22T21:48:55.818Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#432)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-22T21:48:56.713Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-22T21:48:56.713Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-22T21:48:56.713Z] Dload Upload Total Spent Left Speed [2023-09-22T21:48:56.713Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74567 [Pipeline] sh [2023-09-22T21:48:57.425Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-22T21:48:57.773Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-22T21:48:57.773Z] + sudo tee /etc/docker/daemon.new [2023-09-22T21:48:57.773Z] { [2023-09-22T21:48:57.773Z] "registry-mirrors": [ [2023-09-22T21:48:57.773Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-22T21:48:57.773Z] ], [2023-09-22T21:48:57.773Z] "bip": "10.250.0.254/24", [2023-09-22T21:48:57.773Z] "hosts": [ [2023-09-22T21:48:57.773Z] "tcp://0.0.0.0:5555", [2023-09-22T21:48:57.773Z] "unix:///var/run/docker.sock" [2023-09-22T21:48:57.773Z] ], [2023-09-22T21:48:57.773Z] "mtu": 1458, [2023-09-22T21:48:57.773Z] "selinux-enabled": true, [2023-09-22T21:48:57.773Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-22T21:48:57.773Z] } [Pipeline] sh [2023-09-22T21:48:58.145Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-22T21:48:58.509Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-22T21:49:16.864Z] provisioning config files... [2023-09-22T21:49:16.893Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/143@tmp/config2352395994255138972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:49:17.260Z] ---> docker-login.sh [2023-09-22T21:49:17.260Z] nexus3.edgexfoundry.org:10001 [2023-09-22T21:49:17.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:49:18.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:49:18.123Z] Configure a credential helper to remove this warning. See [2023-09-22T21:49:18.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:49:18.123Z] [2023-09-22T21:49:18.123Z] Login Succeeded [2023-09-22T21:49:18.123Z] nexus3.edgexfoundry.org:10002 [2023-09-22T21:49:18.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:49:18.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:49:18.393Z] Configure a credential helper to remove this warning. See [2023-09-22T21:49:18.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:49:18.393Z] [2023-09-22T21:49:18.393Z] Login Succeeded [2023-09-22T21:49:18.393Z] nexus3.edgexfoundry.org:10003 [2023-09-22T21:49:18.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:49:18.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:49:18.939Z] Configure a credential helper to remove this warning. See [2023-09-22T21:49:18.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:49:18.939Z] [2023-09-22T21:49:18.939Z] Login Succeeded [2023-09-22T21:49:18.939Z] nexus3.edgexfoundry.org:10004 [2023-09-22T21:49:19.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:49:19.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:49:19.211Z] Configure a credential helper to remove this warning. See [2023-09-22T21:49:19.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:49:19.211Z] [2023-09-22T21:49:19.211Z] Login Succeeded [2023-09-22T21:49:19.211Z] docker.io [2023-09-22T21:49:19.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:49:19.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:49:19.756Z] Configure a credential helper to remove this warning. See [2023-09-22T21:49:19.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:49:19.756Z] [2023-09-22T21:49:19.756Z] Login Succeeded [2023-09-22T21:49:19.756Z] ---> docker-login.sh ends [Pipeline] } [2023-09-22T21:49:19.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-22T21:49:20.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-22T21:49:20.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-22T21:49:20.378Z] ========================================================= [2023-09-22T21:49:20.378Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-22T21:49:20.378Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:49:20.748Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-22T21:49:21.028Z] Sending build context to Docker daemon 11.95MB [2023-09-22T21:49:21.302Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-22T21:49:21.302Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-22T21:49:21.302Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-22T21:49:21.302Z] 9fda8d8052c6: Pulling fs layer [2023-09-22T21:49:21.302Z] 5d54e960e981: Pulling fs layer [2023-09-22T21:49:21.302Z] c4a7e357bf2a: Pulling fs layer [2023-09-22T21:49:21.302Z] f0e02332f6b5: Pulling fs layer [2023-09-22T21:49:21.302Z] cefa15bbcfad: Pulling fs layer [2023-09-22T21:49:21.302Z] 17808c966233: Pulling fs layer [2023-09-22T21:49:21.302Z] f4c1fc716caa: Pulling fs layer [2023-09-22T21:49:21.302Z] f0e02332f6b5: Waiting [2023-09-22T21:49:21.302Z] cefa15bbcfad: Waiting [2023-09-22T21:49:21.302Z] 17808c966233: Waiting [2023-09-22T21:49:21.302Z] f4c1fc716caa: Waiting [2023-09-22T21:49:21.579Z] 5d54e960e981: Download complete [2023-09-22T21:49:21.579Z] f0e02332f6b5: Verifying Checksum [2023-09-22T21:49:21.579Z] f0e02332f6b5: Download complete [2023-09-22T21:49:21.579Z] cefa15bbcfad: Verifying Checksum [2023-09-22T21:49:21.579Z] cefa15bbcfad: Download complete [2023-09-22T21:49:21.579Z] 9fda8d8052c6: Download complete [2023-09-22T21:49:22.187Z] f4c1fc716caa: Verifying Checksum [2023-09-22T21:49:22.187Z] f4c1fc716caa: Download complete [2023-09-22T21:49:22.784Z] 9fda8d8052c6: Pull complete [2023-09-22T21:49:23.405Z] 5d54e960e981: Pull complete [2023-09-22T21:49:23.405Z] c4a7e357bf2a: Verifying Checksum [2023-09-22T21:49:23.405Z] c4a7e357bf2a: Download complete [2023-09-22T21:49:24.378Z] 17808c966233: Verifying Checksum [2023-09-22T21:49:24.378Z] 17808c966233: Download complete [2023-09-22T21:49:36.756Z] c4a7e357bf2a: Pull complete [2023-09-22T21:49:36.756Z] f0e02332f6b5: Pull complete [2023-09-22T21:49:36.756Z] cefa15bbcfad: Pull complete [2023-09-22T21:49:42.238Z] 17808c966233: Pull complete [2023-09-22T21:49:43.679Z] f4c1fc716caa: Pull complete [2023-09-22T21:49:43.679Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-22T21:49:43.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-22T21:49:43.952Z] ---> ea914061e18c [2023-09-22T21:49:43.952Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-22T21:49:45.908Z] ---> Running in c2c2b7bf62c5 [2023-09-22T21:49:46.499Z] Removing intermediate container c2c2b7bf62c5 [2023-09-22T21:49:46.499Z] ---> f293a42c794b [2023-09-22T21:49:46.499Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-22T21:49:46.499Z] ---> Running in 92bbf56f5bc1 [2023-09-22T21:49:46.777Z] Removing intermediate container 92bbf56f5bc1 [2023-09-22T21:49:46.777Z] ---> 5642ad0b535f [2023-09-22T21:49:46.777Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-22T21:49:46.777Z] ---> Running in a1527fd2f6b6 [2023-09-22T21:49:47.362Z] Removing intermediate container a1527fd2f6b6 [2023-09-22T21:49:47.362Z] ---> 40b3e694c15f [2023-09-22T21:49:47.362Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-22T21:49:47.362Z] ---> Running in bc2353fdd18c [2023-09-22T21:49:47.637Z] Removing intermediate container bc2353fdd18c [2023-09-22T21:49:47.637Z] ---> 38ad9579d752 [2023-09-22T21:49:47.637Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-22T21:49:47.910Z] ---> Running in 7eea652d180c [2023-09-22T21:49:49.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-22T21:49:49.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-22T21:49:51.032Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-22T21:49:51.032Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-22T21:49:51.032Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-22T21:49:51.032Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-22T21:49:51.032Z] Executing busybox-1.36.1-r2.trigger [2023-09-22T21:49:51.303Z] OK: 270 MiB in 56 packages [2023-09-22T21:49:52.281Z] Removing intermediate container 7eea652d180c [2023-09-22T21:49:52.281Z] ---> bafc63ebad9c [2023-09-22T21:49:52.281Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-22T21:49:52.869Z] ---> 6919a793ba27 [2023-09-22T21:49:52.869Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-22T21:49:53.138Z] ---> Running in 2e770875585c [2023-09-22T21:51:14.821Z] Removing intermediate container 2e770875585c [2023-09-22T21:51:14.821Z] ---> 63454e054391 [2023-09-22T21:51:14.821Z] Step 10/12 : COPY . . [2023-09-22T21:51:14.821Z] ---> 438efd32aaae [2023-09-22T21:51:14.821Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-22T21:51:14.821Z] ---> Running in 57aae5f817c0 [2023-09-22T21:51:14.821Z] Removing intermediate container 57aae5f817c0 [2023-09-22T21:51:14.821Z] ---> 4f94d45f94b2 [2023-09-22T21:51:14.821Z] Step 12/12 : RUN $MAKE [2023-09-22T21:51:14.821Z] ---> Running in aab47c41aaa3 [2023-09-22T21:51:14.821Z] noop [2023-09-22T21:51:14.821Z] Removing intermediate container aab47c41aaa3 [2023-09-22T21:51:14.821Z] ---> e3bc0601cd79 [2023-09-22T21:51:14.821Z] Successfully built e3bc0601cd79 [2023-09-22T21:51:14.821Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:51:15.185Z] + docker inspect -f . ci-base-image-arm64 [2023-09-22T21:51:15.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:51:15.423Z] prd-ubuntu20.04-docker-arm64-4c-16g-7644 does not seem to be running inside a container [2023-09-22T21:51:15.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/143 -v /w/workspace/device-virtual-go/143:/w/workspace/device-virtual-go/143:rw,z -v /w/workspace/device-virtual-go/143@tmp:/w/workspace/device-virtual-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-22T21:51:16.958Z] $ docker top 0a377d594712fadc43b07bd9a67d5e31ce01c45276349c7e313590ef31ca6e16 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-22T21:51:17.848Z] + go version [2023-09-22T21:51:17.848Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-22T21:51:17.875Z] $ docker stop --time=1 0a377d594712fadc43b07bd9a67d5e31ce01c45276349c7e313590ef31ca6e16 [2023-09-22T21:51:19.580Z] $ docker rm -f --volumes 0a377d594712fadc43b07bd9a67d5e31ce01c45276349c7e313590ef31ca6e16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:51:20.128Z] + docker inspect -f . ci-base-image-arm64 [2023-09-22T21:51:20.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:51:20.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-7644 does not seem to be running inside a container [2023-09-22T21:51:20.401Z] $ 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/143 -v /w/workspace/device-virtual-go/143:/w/workspace/device-virtual-go/143:rw,z -v /w/workspace/device-virtual-go/143@tmp:/w/workspace/device-virtual-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-22T21:51:21.686Z] $ docker top 2baae61c8dac3aee2b02ff7acb008bb301deb4ebafde4d1f21deb4dc48b2dfc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-22T21:51:22.528Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/143 [Pipeline] fileExists [Pipeline] sh [2023-09-22T21:51:23.192Z] + make test [2023-09-22T21:51:23.192Z] go test ./... -coverprofile=coverage.out [2023-09-22T21:51:27.467Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-22T21:53:34.210Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-22T21:53:34.210Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.088s coverage: 58.4% of statements [2023-09-22T21:53:34.210Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-22T21:53:34.210Z] go vet ./... [2023-09-22T21:54:13.158Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-22T21:54:13.158Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-22T21:54:13.158Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-22T21:54:13.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-22T21:54:13.195Z] $ docker stop --time=1 2baae61c8dac3aee2b02ff7acb008bb301deb4ebafde4d1f21deb4dc48b2dfc8 [2023-09-22T21:54:15.205Z] $ docker rm -f --volumes 2baae61c8dac3aee2b02ff7acb008bb301deb4ebafde4d1f21deb4dc48b2dfc8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-22T21:54:16.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-22T21:54:16.590Z] Warning: overwriting stash ‘coverage-report’ [2023-09-22T21:54:17.240Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-22T21:54:17.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-22T21:54:17.993Z] + ls -al . [2023-09-22T21:54:17.993Z] total 200 [2023-09-22T21:54:17.993Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 21:51 . [2023-09-22T21:54:17.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:48 .. [2023-09-22T21:54:17.993Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 21:48 .git [2023-09-22T21:54:17.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:48 .github [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 21:48 .gitignore [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 21:48 .golangci.yml [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 22 21:48 Attribution.txt [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 22 21:48 CHANGELOG.md [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 22 21:48 Dockerfile [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 21:48 GOVERNANCE.md [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 21:48 Jenkinsfile [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 21:48 LICENSE [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 22 21:48 Makefile [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 21:48 OWNERS.md [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 22 21:48 README.md [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 21:45 VERSION [2023-09-22T21:54:17.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:48 bin [2023-09-22T21:54:17.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:48 cmd [2023-09-22T21:54:17.993Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 22 21:53 coverage.out [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 22 21:48 go.mod [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 22 21:48 go.sum [2023-09-22T21:54:17.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:48 internal [2023-09-22T21:54:17.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:48 snap [2023-09-22T21:54:17.993Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 21:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:54:18.350Z] + 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=88cb92755446ff3d15da758ed0b4d5ad23298886 --label arch=arm64 --label version=3.1.0-dev.17 . [2023-09-22T21:54:18.618Z] Sending build context to Docker daemon 11.99MB [2023-09-22T21:54:18.886Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-22T21:54:18.886Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-22T21:54:18.886Z] ---> e3bc0601cd79 [2023-09-22T21:54:18.886Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-22T21:54:18.886Z] ---> Running in 616ed7f327cb [2023-09-22T21:54:19.474Z] Removing intermediate container 616ed7f327cb [2023-09-22T21:54:19.474Z] ---> 2cb8db3ce9ae [2023-09-22T21:54:19.474Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-22T21:54:19.474Z] ---> Running in 92a0feefcf33 [2023-09-22T21:54:19.742Z] Removing intermediate container 92a0feefcf33 [2023-09-22T21:54:19.742Z] ---> e66077b5568c [2023-09-22T21:54:19.742Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-22T21:54:19.742Z] ---> Running in 26d03821b130 [2023-09-22T21:54:20.011Z] Removing intermediate container 26d03821b130 [2023-09-22T21:54:20.011Z] ---> a0353c5ce7e7 [2023-09-22T21:54:20.011Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-22T21:54:20.282Z] ---> Running in cdb5fbe256ef [2023-09-22T21:54:20.552Z] Removing intermediate container cdb5fbe256ef [2023-09-22T21:54:20.552Z] ---> f7548586deb3 [2023-09-22T21:54:20.552Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-22T21:54:20.552Z] ---> Running in de5ae88192e1 [2023-09-22T21:54:21.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-22T21:54:22.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-22T21:54:23.653Z] OK: 270 MiB in 56 packages [2023-09-22T21:54:24.240Z] Removing intermediate container de5ae88192e1 [2023-09-22T21:54:24.240Z] ---> 93d245b42e94 [2023-09-22T21:54:24.241Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-22T21:54:24.828Z] ---> b4af2daf46fa [2023-09-22T21:54:24.828Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-22T21:54:25.097Z] ---> Running in 52013f1f6b35 [2023-09-22T21:54:27.728Z] Removing intermediate container 52013f1f6b35 [2023-09-22T21:54:27.728Z] ---> 8f12f73a76af [2023-09-22T21:54:27.728Z] Step 10/25 : COPY . . [2023-09-22T21:54:28.692Z] ---> 44ea1631904b [2023-09-22T21:54:28.692Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-22T21:54:28.692Z] ---> Running in 42f4e675380d [2023-09-22T21:54:28.960Z] Removing intermediate container 42f4e675380d [2023-09-22T21:54:28.960Z] ---> d09ad6376926 [2023-09-22T21:54:28.960Z] Step 12/25 : RUN $MAKE [2023-09-22T21:54:29.228Z] ---> Running in e8d2f81a57ad [2023-09-22T21:54:30.198Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-22T21:56:36.912Z] Removing intermediate container e8d2f81a57ad [2023-09-22T21:56:36.912Z] ---> 2ab4ec2ea5c2 [2023-09-22T21:56:36.912Z] Step 13/25 : FROM alpine:3.18 [2023-09-22T21:56:36.912Z] 3.18: Pulling from library/alpine [2023-09-22T21:56:36.912Z] 9fda8d8052c6: Already exists [2023-09-22T21:56:36.912Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-22T21:56:36.912Z] Status: Downloaded newer image for alpine:3.18 [2023-09-22T21:56:36.912Z] ---> f6648c04cd6c [2023-09-22T21:56:36.912Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-22T21:56:36.912Z] ---> Running in 2248cf3f6502 [2023-09-22T21:56:36.912Z] Removing intermediate container 2248cf3f6502 [2023-09-22T21:56:36.912Z] ---> 31ad137c6edb [2023-09-22T21:56:36.912Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-22T21:56:36.912Z] ---> Running in bf6a5af2862f [2023-09-22T21:56:36.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-22T21:56:36.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-22T21:56:36.912Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-22T21:56:36.912Z] Executing busybox-1.36.1-r2.trigger [2023-09-22T21:56:36.912Z] OK: 8 MiB in 16 packages [2023-09-22T21:56:37.874Z] Removing intermediate container bf6a5af2862f [2023-09-22T21:56:37.874Z] ---> 4080ce85a98d [2023-09-22T21:56:37.874Z] Step 16/25 : WORKDIR / [2023-09-22T21:56:37.874Z] ---> Running in b40e64b9a8cf [2023-09-22T21:56:37.874Z] Removing intermediate container b40e64b9a8cf [2023-09-22T21:56:37.874Z] ---> 18fe98bd0563 [2023-09-22T21:56:37.874Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-22T21:56:41.221Z] ---> a7058d590acb [2023-09-22T21:56:41.221Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-22T21:56:41.488Z] ---> 35657f7e78bc [2023-09-22T21:56:41.488Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-22T21:56:43.441Z] ---> 4c207574bbf7 [2023-09-22T21:56:43.441Z] Step 20/25 : EXPOSE 59900 [2023-09-22T21:56:43.441Z] ---> Running in 0c22484c6e38 [2023-09-22T21:56:43.441Z] Removing intermediate container 0c22484c6e38 [2023-09-22T21:56:43.441Z] ---> 0e1fa718cc9c [2023-09-22T21:56:43.441Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-22T21:56:43.441Z] ---> Running in ef09b50a587e [2023-09-22T21:56:44.033Z] Removing intermediate container ef09b50a587e [2023-09-22T21:56:44.033Z] ---> 0d26a9892502 [2023-09-22T21:56:44.033Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-22T21:56:44.033Z] ---> Running in 95c7fc8514e3 [2023-09-22T21:56:44.300Z] Removing intermediate container 95c7fc8514e3 [2023-09-22T21:56:44.301Z] ---> d53c533b31ca [2023-09-22T21:56:44.301Z] Step 23/25 : LABEL arch=arm64 [2023-09-22T21:56:44.301Z] ---> Running in 8d45f24bd390 [2023-09-22T21:56:44.884Z] Removing intermediate container 8d45f24bd390 [2023-09-22T21:56:44.884Z] ---> 2f9328022c27 [2023-09-22T21:56:44.884Z] Step 24/25 : LABEL git_sha=88cb92755446ff3d15da758ed0b4d5ad23298886 [2023-09-22T21:56:44.884Z] ---> Running in d0bfcc311e5e [2023-09-22T21:56:45.152Z] Removing intermediate container d0bfcc311e5e [2023-09-22T21:56:45.152Z] ---> 610773b8121b [2023-09-22T21:56:45.152Z] Step 25/25 : LABEL version=3.1.0-dev.17 [2023-09-22T21:56:45.152Z] ---> Running in 146e0829e885 [2023-09-22T21:56:45.418Z] Removing intermediate container 146e0829e885 [2023-09-22T21:56:45.418Z] ---> 76c7ca0f1c90 [2023-09-22T21:56:45.418Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-22T21:56:45.418Z] Successfully built 76c7ca0f1c90 [2023-09-22T21:56:45.418Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-22T21:56:45.543Z] provisioning config files... [2023-09-22T21:56:45.558Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/143@tmp/config6864876201922167704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:56:45.899Z] ---> docker-login.sh [2023-09-22T21:56:45.899Z] nexus3.edgexfoundry.org:10001 [2023-09-22T21:56:46.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:56:46.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:56:46.168Z] Configure a credential helper to remove this warning. See [2023-09-22T21:56:46.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:56:46.168Z] [2023-09-22T21:56:46.168Z] Login Succeeded [2023-09-22T21:56:46.168Z] nexus3.edgexfoundry.org:10002 [2023-09-22T21:56:46.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:56:46.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:56:46.435Z] Configure a credential helper to remove this warning. See [2023-09-22T21:56:46.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:56:46.435Z] [2023-09-22T21:56:46.435Z] Login Succeeded [2023-09-22T21:56:46.435Z] nexus3.edgexfoundry.org:10003 [2023-09-22T21:56:46.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:56:46.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:56:46.971Z] Configure a credential helper to remove this warning. See [2023-09-22T21:56:46.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:56:46.971Z] [2023-09-22T21:56:46.971Z] Login Succeeded [2023-09-22T21:56:46.971Z] nexus3.edgexfoundry.org:10004 [2023-09-22T21:56:47.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:56:47.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:56:47.239Z] Configure a credential helper to remove this warning. See [2023-09-22T21:56:47.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:56:47.239Z] [2023-09-22T21:56:47.239Z] Login Succeeded [2023-09-22T21:56:47.239Z] docker.io [2023-09-22T21:56:47.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:56:47.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:56:47.776Z] Configure a credential helper to remove this warning. See [2023-09-22T21:56:47.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:56:47.776Z] [2023-09-22T21:56:47.776Z] Login Succeeded [2023-09-22T21:56:47.776Z] ---> docker-login.sh ends [Pipeline] } [2023-09-22T21:56:47.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-22T21:56:47.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-22T21:56:47.842Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-09-22T21:56:47.842Z] 88cb92755446ff3d15da758ed0b4d5ad23298886 [2023-09-22T21:56:47.842Z] latest [2023-09-22T21:56:47.842Z] 3.1.0-dev.17 [2023-09-22T21:56:47.842Z] 88cb92755446ff3d15da758ed0b4d5ad23298886-3.1.0-dev.17 [2023-09-22T21:56:47.842Z] main [2023-09-22T21:56:47.842Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:48.184Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:88cb92755446ff3d15da758ed0b4d5ad23298886 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:48.534Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:88cb92755446ff3d15da758ed0b4d5ad23298886 [2023-09-22T21:56:48.534Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-22T21:56:48.534Z] 0f8bf0ece054: Preparing [2023-09-22T21:56:48.534Z] 5f3c6bb14428: Preparing [2023-09-22T21:56:48.534Z] 8de71f96db37: Preparing [2023-09-22T21:56:48.534Z] ff9750057745: Preparing [2023-09-22T21:56:48.534Z] b2191e2be29d: Preparing [2023-09-22T21:56:48.534Z] b2191e2be29d: Layer already exists [2023-09-22T21:56:48.803Z] 8de71f96db37: Pushed [2023-09-22T21:56:48.803Z] ff9750057745: Pushed [2023-09-22T21:56:48.803Z] 5f3c6bb14428: Pushed [2023-09-22T21:56:55.452Z] 0f8bf0ece054: Pushed [2023-09-22T21:56:55.452Z] 88cb92755446ff3d15da758ed0b4d5ad23298886: digest: sha256:a62c841763223470902a2f7a768e09168f93d05371bdb64b391ae12df766f4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:55.808Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:56.208Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-22T21:56:56.208Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-22T21:56:56.208Z] 0f8bf0ece054: Preparing [2023-09-22T21:56:56.208Z] 5f3c6bb14428: Preparing [2023-09-22T21:56:56.208Z] 8de71f96db37: Preparing [2023-09-22T21:56:56.208Z] ff9750057745: Preparing [2023-09-22T21:56:56.208Z] b2191e2be29d: Preparing [2023-09-22T21:56:56.208Z] 0f8bf0ece054: Layer already exists [2023-09-22T21:56:56.208Z] ff9750057745: Layer already exists [2023-09-22T21:56:56.208Z] b2191e2be29d: Layer already exists [2023-09-22T21:56:56.208Z] 8de71f96db37: Layer already exists [2023-09-22T21:56:56.208Z] 5f3c6bb14428: Layer already exists [2023-09-22T21:56:56.480Z] latest: digest: sha256:a62c841763223470902a2f7a768e09168f93d05371bdb64b391ae12df766f4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:56.847Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:57.207Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.17 [2023-09-22T21:56:57.207Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-22T21:56:57.207Z] 0f8bf0ece054: Preparing [2023-09-22T21:56:57.207Z] 5f3c6bb14428: Preparing [2023-09-22T21:56:57.207Z] 8de71f96db37: Preparing [2023-09-22T21:56:57.207Z] ff9750057745: Preparing [2023-09-22T21:56:57.207Z] b2191e2be29d: Preparing [2023-09-22T21:56:57.207Z] ff9750057745: Layer already exists [2023-09-22T21:56:57.207Z] 5f3c6bb14428: Layer already exists [2023-09-22T21:56:57.207Z] 0f8bf0ece054: Layer already exists [2023-09-22T21:56:57.207Z] b2191e2be29d: Layer already exists [2023-09-22T21:56:57.207Z] 8de71f96db37: Layer already exists [2023-09-22T21:56:57.207Z] 3.1.0-dev.17: digest: sha256:a62c841763223470902a2f7a768e09168f93d05371bdb64b391ae12df766f4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:57.845Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:88cb92755446ff3d15da758ed0b4d5ad23298886-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:58.198Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:88cb92755446ff3d15da758ed0b4d5ad23298886-3.1.0-dev.17 [2023-09-22T21:56:58.198Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-22T21:56:58.198Z] 0f8bf0ece054: Preparing [2023-09-22T21:56:58.198Z] 5f3c6bb14428: Preparing [2023-09-22T21:56:58.198Z] 8de71f96db37: Preparing [2023-09-22T21:56:58.198Z] ff9750057745: Preparing [2023-09-22T21:56:58.198Z] b2191e2be29d: Preparing [2023-09-22T21:56:58.198Z] 8de71f96db37: Layer already exists [2023-09-22T21:56:58.198Z] ff9750057745: Layer already exists [2023-09-22T21:56:58.198Z] 0f8bf0ece054: Layer already exists [2023-09-22T21:56:58.198Z] b2191e2be29d: Layer already exists [2023-09-22T21:56:58.198Z] 5f3c6bb14428: Layer already exists [2023-09-22T21:56:58.198Z] 88cb92755446ff3d15da758ed0b4d5ad23298886-3.1.0-dev.17: digest: sha256:a62c841763223470902a2f7a768e09168f93d05371bdb64b391ae12df766f4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:58.825Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:59.172Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-09-22T21:56:59.172Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-22T21:56:59.172Z] 0f8bf0ece054: Preparing [2023-09-22T21:56:59.172Z] 5f3c6bb14428: Preparing [2023-09-22T21:56:59.172Z] 8de71f96db37: Preparing [2023-09-22T21:56:59.172Z] ff9750057745: Preparing [2023-09-22T21:56:59.172Z] b2191e2be29d: Preparing [2023-09-22T21:56:59.172Z] 0f8bf0ece054: Layer already exists [2023-09-22T21:56:59.172Z] 5f3c6bb14428: Layer already exists [2023-09-22T21:56:59.172Z] ff9750057745: Layer already exists [2023-09-22T21:56:59.172Z] 8de71f96db37: Layer already exists [2023-09-22T21:56:59.172Z] b2191e2be29d: Layer already exists [2023-09-22T21:56:59.440Z] main: digest: sha256:a62c841763223470902a2f7a768e09168f93d05371bdb64b391ae12df766f4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-22T21:56:59.501Z] ===================================================== [Pipeline] echo [2023-09-22T21:56:59.510Z] taggedImages: [2023-09-22T21:56:59.510Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:88cb92755446ff3d15da758ed0b4d5ad23298886 [2023-09-22T21:56:59.510Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-22T21:56:59.510Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.17 [2023-09-22T21:56:59.510Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:88cb92755446ff3d15da758ed0b4d5ad23298886-3.1.0-dev.17 [2023-09-22T21:56:59.510Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:56:59.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-22T21:56:59.875Z] [2023-09-22T21:56:59.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:57:00.212Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-22T21:57:00.212Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-22T21:57:00.212Z] 8998bd30e6a1: Pulling fs layer [2023-09-22T21:57:00.212Z] 04944245beec: Pulling fs layer [2023-09-22T21:57:00.212Z] 699f458cf7ca: Pulling fs layer [2023-09-22T21:57:00.212Z] 765212b225bb: Pulling fs layer [2023-09-22T21:57:00.212Z] f23df028b6ca: Pulling fs layer [2023-09-22T21:57:00.212Z] d65c8cfc05b1: Pulling fs layer [2023-09-22T21:57:00.212Z] 2437ff75d9bd: Pulling fs layer [2023-09-22T21:57:00.212Z] f23df028b6ca: Waiting [2023-09-22T21:57:00.212Z] 2437ff75d9bd: Waiting [2023-09-22T21:57:00.212Z] 765212b225bb: Waiting [2023-09-22T21:57:00.212Z] d65c8cfc05b1: Waiting [2023-09-22T21:57:00.480Z] 04944245beec: Verifying Checksum [2023-09-22T21:57:00.480Z] 04944245beec: Download complete [2023-09-22T21:57:00.480Z] 765212b225bb: Verifying Checksum [2023-09-22T21:57:00.480Z] 765212b225bb: Download complete [2023-09-22T21:57:00.480Z] f23df028b6ca: Verifying Checksum [2023-09-22T21:57:00.480Z] f23df028b6ca: Download complete [2023-09-22T21:57:00.480Z] d65c8cfc05b1: Verifying Checksum [2023-09-22T21:57:00.480Z] d65c8cfc05b1: Download complete [2023-09-22T21:57:00.751Z] 699f458cf7ca: Verifying Checksum [2023-09-22T21:57:00.751Z] 699f458cf7ca: Download complete [2023-09-22T21:57:01.019Z] 8998bd30e6a1: Verifying Checksum [2023-09-22T21:57:01.019Z] 8998bd30e6a1: Download complete [2023-09-22T21:57:03.609Z] 2437ff75d9bd: Verifying Checksum [2023-09-22T21:57:03.609Z] 2437ff75d9bd: Download complete [2023-09-22T21:57:05.022Z] 8998bd30e6a1: Pull complete [2023-09-22T21:57:05.607Z] 04944245beec: Pull complete [2023-09-22T21:57:07.023Z] 699f458cf7ca: Pull complete [2023-09-22T21:57:10.377Z] 765212b225bb: Pull complete [2023-09-22T21:57:10.644Z] f23df028b6ca: Pull complete [2023-09-22T21:57:10.911Z] d65c8cfc05b1: Pull complete [2023-09-22T21:57:25.911Z] 2437ff75d9bd: Pull complete [2023-09-22T21:57:25.912Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-22T21:57:25.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-22T21:57:25.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:57:26.130Z] prd-ubuntu20.04-docker-arm64-4c-16g-7644 does not seem to be running inside a container [2023-09-22T21:57:26.202Z] $ 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/143 -v /w/workspace/device-virtual-go/143:/w/workspace/device-virtual-go/143:rw,z -v /w/workspace/device-virtual-go/143@tmp:/w/workspace/device-virtual-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-22T21:57:29.027Z] $ docker top 0538b27dfc55aeb0cf7bb23ad6c24c885fdc6fa33a98498ab0c6e5511c2058bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:57:29.879Z] ---> job-cost.sh [2023-09-22T21:57:29.879Z] lf-activate-venv: SKIPPING [2023-09-22T21:57:29.879Z] INFO: No Stack... [2023-09-22T21:57:30.148Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-22T21:57:31.109Z] INFO: Archiving Costs [Pipeline] sh [2023-09-22T21:57:31.751Z] + cat /w/workspace/device-virtual-go/143/archives/cost.csv [2023-09-22T21:57:31.751Z] + cut -d, -f6 [Pipeline] lock [2023-09-22T21:57:31.824Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-143-stack-cost] [2023-09-22T21:57:31.834Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-143-stack-cost] did not exist. Created. [2023-09-22T21:57:31.834Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-22T21:57:32.501Z] /w/workspace/device-virtual-go/143@tmp/durable-7e4b4aa8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-22T21:57:33.157Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-22T21:57:33.182Z] Warning: overwriting stash ‘stack-cost’ [2023-09-22T21:57:33.259Z] Stashed 1 file(s) [Pipeline] } [2023-09-22T21:57:33.269Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-22T21:57:33.293Z] $ docker stop --time=1 0538b27dfc55aeb0cf7bb23ad6c24c885fdc6fa33a98498ab0c6e5511c2058bf [2023-09-22T21:57:34.841Z] $ docker rm -f --volumes 0538b27dfc55aeb0cf7bb23ad6c24c885fdc6fa33a98498ab0c6e5511c2058bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-22T21:57:35.266Z] provisioning config files... [2023-09-22T21:57:35.273Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5599128244348142721tmp [Pipeline] { [Pipeline] sh [2023-09-22T21:57:35.573Z] + set +x [2023-09-22T21:57:35.573Z] + bash -s -- [2023-09-22T21:57:35.573Z] + curl -s https://codecov.io/bash [2023-09-22T21:57:35.573Z] [2023-09-22T21:57:35.573Z] _____ _ [2023-09-22T21:57:35.573Z] / ____| | | [2023-09-22T21:57:35.573Z] | | ___ __| | ___ ___ _____ __ [2023-09-22T21:57:35.573Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-22T21:57:35.573Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-22T21:57:35.573Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-22T21:57:35.573Z] Bash-1.0.6 [2023-09-22T21:57:35.573Z] [2023-09-22T21:57:35.573Z] [2023-09-22T21:57:35.573Z] ==> git version 2.25.1 found [2023-09-22T21:57:35.573Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-22T21:57:35.573Z] Release-Date: 2020-01-08 [2023-09-22T21:57:35.573Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-22T21:57:35.573Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-22T21:57:35.573Z] ==> Jenkins CI detected. [2023-09-22T21:57:35.573Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-09-22T21:57:35.573Z] project root: . [2023-09-22T21:57:35.573Z] --> token set from env [2023-09-22T21:57:35.573Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-22T21:57:35.573Z] ==> Running gcov in . (disable via -X gcov) [2023-09-22T21:57:35.573Z] ==> Python coveragepy not found [2023-09-22T21:57:35.573Z] ==> Searching for coverage reports in: [2023-09-22T21:57:35.573Z] + . [2023-09-22T21:57:35.573Z] -> Found 1 reports [2023-09-22T21:57:35.573Z] ==> Detecting git/mercurial file structure [2023-09-22T21:57:35.573Z] ==> Reading reports [2023-09-22T21:57:35.573Z] + ./coverage.out bytes=43063 [2023-09-22T21:57:35.573Z] ==> Appending adjustments [2023-09-22T21:57:35.573Z] https://docs.codecov.io/docs/fixing-reports [2023-09-22T21:57:35.832Z] + Found adjustments [2023-09-22T21:57:35.832Z] ==> Gzipping contents [2023-09-22T21:57:35.832Z] 8.0K /tmp/codecov.mUQJ9E.gz [2023-09-22T21:57:35.832Z] ==> Uploading reports [2023-09-22T21:57:35.832Z] url: https://codecov.io [2023-09-22T21:57:35.832Z] query: branch=main&commit=88cb92755446ff3d15da758ed0b4d5ad23298886&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-22T21:57:35.832Z] -> Pinging Codecov [2023-09-22T21:57:35.832Z] 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=88cb92755446ff3d15da758ed0b4d5ad23298886&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-22T21:57:35.832Z] -> Uploading to [2023-09-22T21:57:35.832Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-22/5E52B4B073DB2E39498172D8E973AA87/88cb92755446ff3d15da758ed0b4d5ad23298886/9bd0ff35-5b12-4820-b613-dc4a3457ffdb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230922T215735Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=abf062568be34a49216404f8afa9aa12bbbeb01743352ae85916abbda100649b [2023-09-22T21:57:36.092Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-22T21:57:36.092Z] Dload Upload Total Spent Left Speed [2023-09-22T21:57:36.092Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 28173 --:--:-- --:--:-- --:--:-- 28173 [2023-09-22T21:57:36.092Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/88cb92755446ff3d15da758ed0b4d5ad23298886 [Pipeline] } [2023-09-22T21:57:36.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-22T21:57:36.219Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-22T21:57:36.231Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:57:36.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-22T21:57:36.536Z] [2023-09-22T21:57:36.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:57:36.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-22T21:57:36.835Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-22T21:57:36.835Z] df9b9388f04a: Pulling fs layer [2023-09-22T21:57:36.835Z] 52dc419b0ee2: Pulling fs layer [2023-09-22T21:57:36.835Z] 25bc292e5bac: Pulling fs layer [2023-09-22T21:57:36.835Z] 114826534d7a: Pulling fs layer [2023-09-22T21:57:36.835Z] 4657fd5d0bcf: Pulling fs layer [2023-09-22T21:57:36.835Z] 114826534d7a: Waiting [2023-09-22T21:57:36.835Z] 6ad1cebc031e: Pulling fs layer [2023-09-22T21:57:36.835Z] 4657fd5d0bcf: Waiting [2023-09-22T21:57:36.835Z] 8a3aa393b2d8: Pulling fs layer [2023-09-22T21:57:36.835Z] 6ad1cebc031e: Waiting [2023-09-22T21:57:36.835Z] 25bc292e5bac: Download complete [2023-09-22T21:57:36.835Z] 52dc419b0ee2: Download complete [2023-09-22T21:57:36.835Z] 4657fd5d0bcf: Verifying Checksum [2023-09-22T21:57:36.835Z] 4657fd5d0bcf: Download complete [2023-09-22T21:57:36.835Z] df9b9388f04a: Verifying Checksum [2023-09-22T21:57:36.835Z] df9b9388f04a: Download complete [2023-09-22T21:57:37.099Z] df9b9388f04a: Pull complete [2023-09-22T21:57:37.099Z] 6ad1cebc031e: Verifying Checksum [2023-09-22T21:57:37.099Z] 6ad1cebc031e: Download complete [2023-09-22T21:57:37.099Z] 52dc419b0ee2: Pull complete [2023-09-22T21:57:37.359Z] 25bc292e5bac: Pull complete [2023-09-22T21:57:37.620Z] 114826534d7a: Verifying Checksum [2023-09-22T21:57:37.620Z] 114826534d7a: Download complete [2023-09-22T21:57:37.879Z] 8a3aa393b2d8: Verifying Checksum [2023-09-22T21:57:37.879Z] 8a3aa393b2d8: Download complete [2023-09-22T21:57:41.162Z] 114826534d7a: Pull complete [2023-09-22T21:57:41.162Z] 4657fd5d0bcf: Pull complete [2023-09-22T21:57:41.421Z] 6ad1cebc031e: Pull complete [2023-09-22T21:57:44.703Z] 8a3aa393b2d8: Pull complete [2023-09-22T21:57:44.703Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-22T21:57:44.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-22T21:57:44.703Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:57:44.787Z] prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container [2023-09-22T21:57:44.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-22T21:57:49.102Z] $ docker top 4a6cf5714740c2e2b439de254bf8b4d11b9415eb318f5ed1736ab787873bd23d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-22T21:57:49.176Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-09-22T21:57:49.454Z] + set -o pipefail [2023-09-22T21:57:49.454Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-09-22T21:57:54.732Z] [2023-09-22T21:57:54.732Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-09-22T21:57:54.732Z] [2023-09-22T21:57:54.732Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/5a4f8591-0788-4d7d-bd64-635a0c48ca6c [2023-09-22T21:57:54.732Z] [2023-09-22T21:57:54.732Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-22T21:57:54.732Z] [2023-09-22T21:57:54.732Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-22T21:57:54.732Z] [2023-09-22T21:57:54.732Z] [2023-09-22T21:57:54.732Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-22T21:57:54.732Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-22T21:57:54.732Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-22T21:57:54.743Z] $ docker stop --time=1 4a6cf5714740c2e2b439de254bf8b4d11b9415eb318f5ed1736ab787873bd23d [2023-09-22T21:57:58.510Z] $ docker rm -f --volumes 4a6cf5714740c2e2b439de254bf8b4d11b9415eb318f5ed1736ab787873bd23d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-22T21:57:59.287Z] + git log --format=format:%s -1 88cb92755446ff3d15da758ed0b4d5ad23298886 [Pipeline] sh [2023-09-22T21:57:59.580Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-22T21:57:59.580Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:57:59.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T21:57:59.880Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:57:59.960Z] prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container [2023-09-22T21:57:59.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-22T21:58:00.498Z] $ docker top d4c0612cf0e1d20b44802439da8297abd500bed8d3a51774f3548d993ae01084 -eo pid,comm [2023-09-22T21:58:00.542Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-22T21:58:00.542Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-22T21:58:00.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-22T21:58:00.583Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-22T21:58:00.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-22T21:58:00.691Z] $ docker exec d4c0612cf0e1d20b44802439da8297abd500bed8d3a51774f3548d993ae01084 ssh-agent [2023-09-22T21:58:00.790Z] SSH_AUTH_SOCK=/tmp/ssh-Q9xUvAoanzRq/agent.33 [2023-09-22T21:58:00.790Z] SSH_AGENT_PID=39 [2023-09-22T21:58:00.795Z] Running ssh-add (command line suppressed) [2023-09-22T21:58:00.898Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16234834382517195791.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16234834382517195791.key) [2023-09-22T21:58:00.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-22T21:58:01.203Z] + git semver tag [2023-09-22T21:58:01.464Z] 2023-09-22 21:58:01,378 [run_tag] DEBUG tag force:False [2023-09-22T21:58:01.464Z] 2023-09-22 21:58:01,378 [check_head_tag] DEBUG check head tag [2023-09-22T21:58:01.464Z] 2023-09-22 21:58:01,379 [execute] INFO git cat-file --batch-check [2023-09-22T21:58:01.464Z] 2023-09-22 21:58:01,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-22T21:58:01.464Z] 2023-09-22 21:58:01,383 [execute] INFO git cat-file --batch [2023-09-22T21:58:01.464Z] 2023-09-22 21:58:01,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-22T21:58:01.464Z] 2023-09-22 21:58:01,397 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-22T21:58:01.464Z] 2023-09-22 21:58:01,397 [execute] INFO git tag -a v3.1.0-dev.17 -m v3.1.0-dev.17 [2023-09-22T21:58:01.464Z] 2023-09-22 21:58:01,398 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.17', '-m', 'v3.1.0-dev.17'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-22T21:58:01.464Z] 2023-09-22 21:58:01,402 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-22T21:58:01.464Z] 3.1.0-dev.17 [Pipeline] } [2023-09-22T21:58:01.474Z] $ docker exec --env ******** --env ******** d4c0612cf0e1d20b44802439da8297abd500bed8d3a51774f3548d993ae01084 ssh-agent -k [2023-09-22T21:58:01.576Z] unset SSH_AUTH_SOCK; [2023-09-22T21:58:01.577Z] unset SSH_AGENT_PID; [2023-09-22T21:58:01.577Z] echo Agent pid 39 killed; [2023-09-22T21:58:01.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-22T21:58:01.892Z] + git semver [Pipeline] } [2023-09-22T21:58:02.166Z] $ docker stop --time=1 d4c0612cf0e1d20b44802439da8297abd500bed8d3a51774f3548d993ae01084 [2023-09-22T21:58:03.440Z] $ docker rm -f --volumes d4c0612cf0e1d20b44802439da8297abd500bed8d3a51774f3548d993ae01084 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:58:03.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-22T21:58:03.843Z] [2023-09-22T21:58:03.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:58:04.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-22T21:58:04.148Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-22T21:58:04.148Z] ab5ef0e58194: Pulling fs layer [2023-09-22T21:58:04.148Z] 9712f1f96733: Pulling fs layer [2023-09-22T21:58:04.148Z] 63f879dbbcfc: Pulling fs layer [2023-09-22T21:58:04.148Z] 0d9ebad4ef96: Pulling fs layer [2023-09-22T21:58:04.148Z] e9a5061849ea: Pulling fs layer [2023-09-22T21:58:04.148Z] d747dcd14b5f: Pulling fs layer [2023-09-22T21:58:04.148Z] 2de7ff778b66: Pulling fs layer [2023-09-22T21:58:04.148Z] d747dcd14b5f: Waiting [2023-09-22T21:58:04.148Z] 0d9ebad4ef96: Waiting [2023-09-22T21:58:04.148Z] 2de7ff778b66: Waiting [2023-09-22T21:58:04.148Z] e9a5061849ea: Waiting [2023-09-22T21:58:04.148Z] 9712f1f96733: Verifying Checksum [2023-09-22T21:58:04.148Z] 9712f1f96733: Download complete [2023-09-22T21:58:04.407Z] 63f879dbbcfc: Verifying Checksum [2023-09-22T21:58:04.407Z] 63f879dbbcfc: Download complete [2023-09-22T21:58:04.664Z] e9a5061849ea: Verifying Checksum [2023-09-22T21:58:04.664Z] e9a5061849ea: Download complete [2023-09-22T21:58:04.664Z] d747dcd14b5f: Verifying Checksum [2023-09-22T21:58:04.664Z] d747dcd14b5f: Download complete [2023-09-22T21:58:04.664Z] 0d9ebad4ef96: Verifying Checksum [2023-09-22T21:58:04.664Z] 0d9ebad4ef96: Download complete [2023-09-22T21:58:04.664Z] ab5ef0e58194: Verifying Checksum [2023-09-22T21:58:04.664Z] ab5ef0e58194: Download complete [2023-09-22T21:58:04.664Z] 2de7ff778b66: Verifying Checksum [2023-09-22T21:58:04.664Z] 2de7ff778b66: Download complete [2023-09-22T21:58:07.952Z] ab5ef0e58194: Pull complete [2023-09-22T21:58:07.952Z] 9712f1f96733: Pull complete [2023-09-22T21:58:08.519Z] 63f879dbbcfc: Pull complete [2023-09-22T21:58:12.822Z] 0d9ebad4ef96: Pull complete [2023-09-22T21:58:12.822Z] e9a5061849ea: Pull complete [2023-09-22T21:58:12.822Z] d747dcd14b5f: Pull complete [2023-09-22T21:58:14.224Z] 2de7ff778b66: Pull complete [2023-09-22T21:58:14.224Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-22T21:58:14.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-22T21:58:14.224Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:58:14.312Z] prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container [2023-09-22T21:58:14.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-22T21:58:20.399Z] $ docker top 973d74b9e215a0af78905db948a3502251c91ad8cf156d594d372db1207c4071 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-22T21:58:20.476Z] provisioning config files... [2023-09-22T21:58:20.482Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1993062681576372285tmp [2023-09-22T21:58:20.493Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5559901282195372270tmp [2023-09-22T21:58:20.502Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15775402200677512978tmp [Pipeline] { [Pipeline] echo [2023-09-22T21:58:20.519Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:58:20.805Z] ---> sigul-configuration.sh [2023-09-22T21:58:20.805Z] gpg: directory `/root/.gnupg' created [2023-09-22T21:58:20.805Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-22T21:58:20.805Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-22T21:58:20.805Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-22T21:58:20.805Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-22T21:58:20.805Z] gpg: CAST5 encrypted data [2023-09-22T21:58:20.805Z] gpg: encrypted with 1 passphrase [2023-09-22T21:58:20.805Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-22T21:58:21.093Z] + mkdir /home/jenkins [2023-09-22T21:58:21.093Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-22T21:58:21.381Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-22T21:58:21.391Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:58:21.677Z] ---> sigul-install.sh [2023-09-22T21:58:21.677Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-22T21:58:21.960Z] + git tag --list [2023-09-22T21:58:21.960Z] v1.0.0 [2023-09-22T21:58:21.960Z] v1.1.0 [2023-09-22T21:58:21.960Z] v1.1.1 [2023-09-22T21:58:21.960Z] v1.2.1 [2023-09-22T21:58:21.960Z] v1.2.2 [2023-09-22T21:58:21.960Z] v1.2.3 [2023-09-22T21:58:21.960Z] v1.3.0 [2023-09-22T21:58:21.960Z] v1.3.1 [2023-09-22T21:58:21.960Z] v2.0.0 [2023-09-22T21:58:21.960Z] v2.1.0 [2023-09-22T21:58:21.960Z] v2.1.1 [2023-09-22T21:58:21.960Z] v2.2.0 [2023-09-22T21:58:21.960Z] v2.3.0 [2023-09-22T21:58:21.960Z] v3.0 [2023-09-22T21:58:21.960Z] v3.0.0 [2023-09-22T21:58:21.960Z] v3.1.0-dev.1 [2023-09-22T21:58:21.960Z] v3.1.0-dev.10 [2023-09-22T21:58:21.960Z] v3.1.0-dev.11 [2023-09-22T21:58:21.960Z] v3.1.0-dev.12 [2023-09-22T21:58:21.960Z] v3.1.0-dev.13 [2023-09-22T21:58:21.960Z] v3.1.0-dev.14 [2023-09-22T21:58:21.960Z] v3.1.0-dev.15 [2023-09-22T21:58:21.960Z] v3.1.0-dev.16 [2023-09-22T21:58:21.960Z] v3.1.0-dev.17 [2023-09-22T21:58:21.960Z] v3.1.0-dev.2 [2023-09-22T21:58:21.960Z] v3.1.0-dev.3 [2023-09-22T21:58:21.960Z] v3.1.0-dev.4 [2023-09-22T21:58:21.960Z] v3.1.0-dev.5 [2023-09-22T21:58:21.960Z] v3.1.0-dev.6 [2023-09-22T21:58:21.960Z] v3.1.0-dev.7 [2023-09-22T21:58:21.960Z] v3.1.0-dev.8 [2023-09-22T21:58:21.960Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-22T21:58:22.245Z] + lftools sign git-tag v3.1.0-dev.17 [2023-09-22T21:58:22.814Z] Signing Git tag with Sigul... [2023-09-22T21:58:22.814Z] Signing v3.1.0-dev.17 [Pipeline] echo [2023-09-22T21:58:23.081Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:58:23.365Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-22T21:58:23.373Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-22T21:58:23.392Z] $ docker stop --time=1 973d74b9e215a0af78905db948a3502251c91ad8cf156d594d372db1207c4071 [2023-09-22T21:58:24.673Z] $ docker rm -f --volumes 973d74b9e215a0af78905db948a3502251c91ad8cf156d594d372db1207c4071 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-22T21:58:25.090Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-22T21:58:25.090Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:58:25.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T21:58:25.382Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:58:25.458Z] prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container [2023-09-22T21:58:25.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-22T21:58:25.820Z] $ docker top 0707a17b3919e7ede254acf9df8a21f104e5f4895019f0a4c88de44bc7683bd7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-22T21:58:25.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-22T21:58:25.912Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-22T21:58:26.026Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-22T21:58:26.029Z] $ docker exec 0707a17b3919e7ede254acf9df8a21f104e5f4895019f0a4c88de44bc7683bd7 ssh-agent [2023-09-22T21:58:26.146Z] SSH_AUTH_SOCK=/tmp/ssh-lSPUDsP43MeN/agent.30 [2023-09-22T21:58:26.146Z] SSH_AGENT_PID=36 [2023-09-22T21:58:26.151Z] Running ssh-add (command line suppressed) [2023-09-22T21:58:26.261Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2546605657002668710.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2546605657002668710.key) [2023-09-22T21:58:26.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-22T21:58:26.560Z] + git semver bump pre [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,742 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,743 [bump_version] DEBUG bumping version:3.1.0-dev.17 on axis:pre with prefix:dev [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,743 [bump_version] DEBUG bumped version:3.1.0-dev.18 [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,743 [write_version] DEBUG write version:3.1.0-dev.18 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,743 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,743 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,745 [execute] INFO git cat-file --batch-check [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,752 [execute] INFO git cat-file --batch [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,753 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-22T21:58:26.820Z] 2023-09-22 21:58:26,759 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-22T21:58:26.820Z] 3.1.0-dev.18 [Pipeline] } [2023-09-22T21:58:26.829Z] $ docker exec --env ******** --env ******** 0707a17b3919e7ede254acf9df8a21f104e5f4895019f0a4c88de44bc7683bd7 ssh-agent -k [2023-09-22T21:58:26.919Z] unset SSH_AUTH_SOCK; [2023-09-22T21:58:26.919Z] unset SSH_AGENT_PID; [2023-09-22T21:58:26.919Z] echo Agent pid 36 killed; [2023-09-22T21:58:26.927Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-22T21:58:27.233Z] + git semver [Pipeline] } [2023-09-22T21:58:27.502Z] $ docker stop --time=1 0707a17b3919e7ede254acf9df8a21f104e5f4895019f0a4c88de44bc7683bd7 [2023-09-22T21:58:28.758Z] $ docker rm -f --volumes 0707a17b3919e7ede254acf9df8a21f104e5f4895019f0a4c88de44bc7683bd7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-22T21:58:29.085Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-22T21:58:29.085Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:58:29.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T21:58:29.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:58:29.460Z] prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container [2023-09-22T21:58:29.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-22T21:58:29.829Z] $ docker top c31620114cab8eb23fba77ca817a25f29977f44ab166dc638c02acd9b8b6a359 -eo pid,comm [2023-09-22T21:58:29.880Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-22T21:58:29.880Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-22T21:58:29.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-22T21:58:29.919Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-22T21:58:30.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-22T21:58:30.049Z] $ docker exec c31620114cab8eb23fba77ca817a25f29977f44ab166dc638c02acd9b8b6a359 ssh-agent [2023-09-22T21:58:30.169Z] SSH_AUTH_SOCK=/tmp/ssh-vNPmjucA4Jzj/agent.32 [2023-09-22T21:58:30.169Z] SSH_AGENT_PID=38 [2023-09-22T21:58:30.174Z] Running ssh-add (command line suppressed) [2023-09-22T21:58:30.279Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11650163050477595432.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11650163050477595432.key) [2023-09-22T21:58:30.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-22T21:58:30.581Z] + git semver push [2023-09-22T21:58:30.840Z] 2023-09-22 21:58:30,761 [run_push] DEBUG push [2023-09-22T21:58:30.840Z] 2023-09-22 21:58:30,762 [execute] INFO git cat-file --batch-check [2023-09-22T21:58:30.840Z] 2023-09-22 21:58:30,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-22T21:58:30.840Z] 2023-09-22 21:58:30,767 [execute] INFO git rev-list 63f93be70e1de4fd266799b661bffa34922c4e26 -- [2023-09-22T21:58:30.840Z] 2023-09-22 21:58:30,767 [execute] DEBUG Popen(['git', 'rev-list', '63f93be70e1de4fd266799b661bffa34922c4e26', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-22T21:58:30.840Z] 2023-09-22 21:58:30,777 [execute] INFO git fetch -v origin [2023-09-22T21:58:30.840Z] 2023-09-22 21:58:30,777 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-22T21:58:31.406Z] 2023-09-22 21:58:31,245 [run_push] DEBUG no remote changes detected [2023-09-22T21:58:31.406Z] 2023-09-22 21:58:31,245 [execute] INFO git push origin semver [2023-09-22T21:58:31.406Z] 2023-09-22 21:58:31,246 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-22T21:58:32.341Z] 2023-09-22 21:58:32,038 [run_push] DEBUG push all version tags [2023-09-22T21:58:32.342Z] 2023-09-22 21:58:32,039 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-22T21:58:32.342Z] 2023-09-22 21:58:32,039 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-22T21:58:32.914Z] 2023-09-22 21:58:32,765 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-22T21:58:32.914Z] 3.1.0-dev.18 [Pipeline] } [2023-09-22T21:58:32.922Z] $ docker exec --env ******** --env ******** c31620114cab8eb23fba77ca817a25f29977f44ab166dc638c02acd9b8b6a359 ssh-agent -k [2023-09-22T21:58:33.007Z] unset SSH_AUTH_SOCK; [2023-09-22T21:58:33.011Z] unset SSH_AGENT_PID; [2023-09-22T21:58:33.011Z] echo Agent pid 38 killed; [2023-09-22T21:58:33.021Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-22T21:58:33.328Z] + git semver [Pipeline] } [2023-09-22T21:58:33.601Z] $ docker stop --time=1 c31620114cab8eb23fba77ca817a25f29977f44ab166dc638c02acd9b8b6a359 [2023-09-22T21:58:34.852Z] $ docker rm -f --volumes c31620114cab8eb23fba77ca817a25f29977f44ab166dc638c02acd9b8b6a359 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-22T21:58:35.400Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-09-22T21:58:35.400Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-22T21:58:35.400Z] total 16 [2023-09-22T21:58:35.400Z] drwxr-xr-x 3 root root 4096 Sep 22 21:47 . [2023-09-22T21:58:35.400Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 21:58 .. [2023-09-22T21:58:35.400Z] drwxr-xr-x 2 root root 4096 Sep 22 21:47 cost [2023-09-22T21:58:35.400Z] -rw-r--r-- 1 root root 89 Sep 22 21:47 cost.csv [2023-09-22T21:58:35.400Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-22T21:58:35.400Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-22T21:58:35.400Z] total 16 [2023-09-22T21:58:35.400Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 21:47 . [2023-09-22T21:58:35.400Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 21:58 .. [2023-09-22T21:58:35.400Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 21:47 cost [2023-09-22T21:58:35.400Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 22 21:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:58:35.686Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:58:36.546Z] ---> package-listing.sh [2023-09-22T21:58:36.547Z] ++ facter osfamily [2023-09-22T21:58:36.547Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-22T21:58:36.809Z] + OS_FAMILY=debian [2023-09-22T21:58:36.809Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-09-22T21:58:36.809Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-22T21:58:36.809Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-22T21:58:36.809Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-22T21:58:36.809Z] + PACKAGES=/tmp/packages_start.txt [2023-09-22T21:58:36.809Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-22T21:58:36.809Z] + PACKAGES=/tmp/packages_end.txt [2023-09-22T21:58:36.809Z] + case "${OS_FAMILY}" in [2023-09-22T21:58:36.809Z] + dpkg -l [2023-09-22T21:58:36.809Z] + grep '^ii' [2023-09-22T21:58:36.809Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-22T21:58:36.809Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-22T21:58:36.809Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-22T21:58:36.809Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-22T21:58:36.809Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-09-22T21:58:36.809Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2023-09-22T21:58:36.819Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-22T21:58:37.101Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:58:37.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-22T21:58:37.818Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:58:37.927Z] prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container [2023-09-22T21:58:37.954Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-22T21:58:38.186Z] $ docker top 60a30dae0c46c1ce06494b1dd77b1c0b1351576940f5efad5bf7741e883deee4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-22T21:58:38.528Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-22T21:58:38.815Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-22T21:58:39.094Z] + ls /var/log/sa-host [2023-09-22T21:58:39.094Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-22T21:58:39.158Z] provisioning config files... [2023-09-22T21:58:39.165Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config218763941269988566tmp [Pipeline] { [Pipeline] echo [2023-09-22T21:58:39.179Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:58:39.453Z] ---> create-netrc.sh [Pipeline] } [2023-09-22T21:58:39.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:58:39.795Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-22T21:58:39.804Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:58:40.086Z] ---> sudo-logs.sh [2023-09-22T21:58:40.086Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-22T21:58:40.116Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:58:40.398Z] ---> job-cost.sh [2023-09-22T21:58:40.398Z] lf-activate-venv: SKIPPING [2023-09-22T21:58:40.398Z] DEBUG: total: 0.2199999988079071 [2023-09-22T21:58:40.398Z] INFO: Retrieving Stack Cost... [2023-09-22T21:58:40.658Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-22T21:58:41.226Z] INFO: Archiving Costs [Pipeline] echo [2023-09-22T21:58:41.238Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:58:41.520Z] ---> logs-deploy.sh [2023-09-22T21:58:41.520Z] lf-activate-venv: SKIPPING [2023-09-22T21:58:41.520Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/143 [2023-09-22T21:58:41.520Z] INFO: archiving workspace using pattern(s): [2023-09-22T21:58:42.456Z] Archives upload complete. [2023-09-22T21:58:42.456Z] INFO: archiving logs to Nexus