Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 156beb4bb4cc3957e05b7219f54451536aed9ec4 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-ssh3755079304640323117.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh2618023377897778225.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh18092183779537393651.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh274367971362414956.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-ssh10367100553111117657.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8845 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 156beb4bb4cc3957e05b7219f54451536aed9ec4 (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 156beb4bb4cc3957e05b7219f54451536aed9ec4 # timeout=10 Commit message: "Merge pull request #382 from hahattan/bump-sdk" > git rev-list --no-walk 31d774b4f359865edc3dcd5479b181cce8101838 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T02:35:07.065Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T02:35:07.120Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T02:35:07.139Z] ========================================================= [2023-04-18T02:35:07.139Z] EdgeX Global Pipelines Version Info [2023-04-18T02:35:07.139Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:35:07.862Z] ------------------- [2023-04-18T02:35:07.862Z] stable info: [2023-04-18T02:35:07.862Z] ------------------- [2023-04-18T02:35:07.862Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T02:35:07.862Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T02:35:07.862Z] Message: update stable to v1.0.248 [2023-04-18T02:35:08.433Z] ------------------- [2023-04-18T02:35:08.433Z] experimental info: [2023-04-18T02:35:08.433Z] ------------------- [2023-04-18T02:35:08.433Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T02:35:08.433Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T02:35:08.433Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T02:35:08.626Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-04-18T02:35:08.641Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-04-18T02:35:08.657Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T02:35:08.674Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T02:35:08.690Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T02:35:08.702Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T02:35:08.714Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T02:35:08.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T02:35:08.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T02:35:08.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T02:35:08.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T02:35:08.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-04-18T02:35:08.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T02:35:08.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T02:35:08.840Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T02:35:08.857Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T02:35:08.867Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T02:35:08.878Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T02:35:08.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T02:35:08.910Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T02:35:08.925Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T02:35:08.935Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T02:35:08.948Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T02:35:08.960Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T02:35:08.971Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T02:35:08.985Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T02:35:09.000Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T02:35:09.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-18T02:35:09.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-18T02:35:09.033Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-18T02:35:09.046Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] echo [2023-04-18T02:35:09.058Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 156beb4 [Pipeline] echo [2023-04-18T02:35:09.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T02:35:09.119Z] provisioning config files... [2023-04-18T02:35:09.136Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8614417907592234432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:35:09.439Z] ---> docker-login.sh [2023-04-18T02:35:09.439Z] nexus3.edgexfoundry.org:10001 [2023-04-18T02:35:09.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:35:09.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:35:09.957Z] Configure a credential helper to remove this warning. See [2023-04-18T02:35:09.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:35:09.957Z] [2023-04-18T02:35:09.957Z] Login Succeeded [2023-04-18T02:35:09.957Z] nexus3.edgexfoundry.org:10002 [2023-04-18T02:35:09.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:35:09.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:35:09.957Z] Configure a credential helper to remove this warning. See [2023-04-18T02:35:09.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:35:09.957Z] [2023-04-18T02:35:09.957Z] Login Succeeded [2023-04-18T02:35:09.957Z] nexus3.edgexfoundry.org:10003 [2023-04-18T02:35:09.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:35:10.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:35:10.218Z] Configure a credential helper to remove this warning. See [2023-04-18T02:35:10.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:35:10.218Z] [2023-04-18T02:35:10.218Z] Login Succeeded [2023-04-18T02:35:10.218Z] nexus3.edgexfoundry.org:10004 [2023-04-18T02:35:10.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:35:10.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:35:10.218Z] Configure a credential helper to remove this warning. See [2023-04-18T02:35:10.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:35:10.218Z] [2023-04-18T02:35:10.218Z] Login Succeeded [2023-04-18T02:35:10.218Z] docker.io [2023-04-18T02:35:10.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:35:10.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:35:10.479Z] Configure a credential helper to remove this warning. See [2023-04-18T02:35:10.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:35:10.479Z] [2023-04-18T02:35:10.479Z] Login Succeeded [2023-04-18T02:35:10.479Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T02:35:10.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T02:35:10.865Z] + git rev-list -1 --merges 156beb4bb4cc3957e05b7219f54451536aed9ec4~1..156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] echo [2023-04-18T02:35:10.908Z] -----------> git rev-list -1 --merges 156beb4bb4cc3957e05b7219f54451536aed9ec4~1..156beb4bb4cc3957e05b7219f54451536aed9ec4 156beb4bb4cc3957e05b7219f54451536aed9ec4 [2023-04-18T02:35:10.908Z] 156beb4bb4cc3957e05b7219f54451536aed9ec4 [false] [Pipeline] sh [2023-04-18T02:35:11.192Z] + git log --format=format:%s -1 156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] echo [2023-04-18T02:35:11.211Z] ========================================================= [2023-04-18T02:35:11.211Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T02:35:11.211Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T02:35:11.551Z] + git log --format=format:%s -1 156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] echo [2023-04-18T02:35:11.563Z] [semverPrep] GIT_COMMIT: 156beb4bb4cc3957e05b7219f54451536aed9ec4, Commit Message: Merge pull request #382 from hahattan/bump-sdk [Pipeline] echo [2023-04-18T02:35:11.573Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T02:35:11.949Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T02:35:11.949Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T02:35:11.949Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T02:35:11.949Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T02:35:11.949Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T02:35:11.949Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T02:35:11.949Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:35:12.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T02:35:12.372Z] [2023-04-18T02:35:12.372Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:35:12.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T02:35:12.671Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T02:35:12.671Z] b85a868b505f: Pulling fs layer [2023-04-18T02:35:12.671Z] e2be974225ed: Pulling fs layer [2023-04-18T02:35:12.671Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T02:35:12.671Z] 988bab9f4d93: Pulling fs layer [2023-04-18T02:35:12.671Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T02:35:12.671Z] eaf3925da568: Pulling fs layer [2023-04-18T02:35:12.671Z] bab4dde63d76: Pulling fs layer [2023-04-18T02:35:12.671Z] bde34c3a00c8: Pulling fs layer [2023-04-18T02:35:12.671Z] b352a97aabf1: Pulling fs layer [2023-04-18T02:35:12.671Z] 4872d77fe225: Pulling fs layer [2023-04-18T02:35:12.671Z] 5851b861e8e6: Pulling fs layer [2023-04-18T02:35:12.671Z] 1469e6f7b9e6: Waiting [2023-04-18T02:35:12.671Z] 988bab9f4d93: Waiting [2023-04-18T02:35:12.671Z] bab4dde63d76: Waiting [2023-04-18T02:35:12.671Z] eaf3925da568: Waiting [2023-04-18T02:35:12.671Z] bde34c3a00c8: Waiting [2023-04-18T02:35:12.671Z] 4872d77fe225: Waiting [2023-04-18T02:35:12.671Z] b352a97aabf1: Waiting [2023-04-18T02:35:12.671Z] e2be974225ed: Verifying Checksum [2023-04-18T02:35:12.671Z] e2be974225ed: Download complete [2023-04-18T02:35:12.671Z] 988bab9f4d93: Verifying Checksum [2023-04-18T02:35:12.671Z] 988bab9f4d93: Download complete [2023-04-18T02:35:12.671Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T02:35:12.671Z] 1469e6f7b9e6: Download complete [2023-04-18T02:35:12.671Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T02:35:12.671Z] 339a4e72a1f5: Download complete [2023-04-18T02:35:12.931Z] eaf3925da568: Download complete [2023-04-18T02:35:12.931Z] bde34c3a00c8: Download complete [2023-04-18T02:35:12.931Z] b352a97aabf1: Download complete [2023-04-18T02:35:12.931Z] 4872d77fe225: Verifying Checksum [2023-04-18T02:35:12.931Z] 4872d77fe225: Download complete [2023-04-18T02:35:12.931Z] 5851b861e8e6: Verifying Checksum [2023-04-18T02:35:12.931Z] 5851b861e8e6: Download complete [2023-04-18T02:35:12.931Z] b85a868b505f: Verifying Checksum [2023-04-18T02:35:12.931Z] b85a868b505f: Download complete [2023-04-18T02:35:13.192Z] bab4dde63d76: Verifying Checksum [2023-04-18T02:35:13.192Z] bab4dde63d76: Download complete [2023-04-18T02:35:14.127Z] b85a868b505f: Pull complete [2023-04-18T02:35:14.388Z] e2be974225ed: Pull complete [2023-04-18T02:35:14.956Z] 339a4e72a1f5: Pull complete [2023-04-18T02:35:14.956Z] 988bab9f4d93: Pull complete [2023-04-18T02:35:15.216Z] 1469e6f7b9e6: Pull complete [2023-04-18T02:35:15.216Z] eaf3925da568: Pull complete [2023-04-18T02:35:17.118Z] bab4dde63d76: Pull complete [2023-04-18T02:35:17.118Z] bde34c3a00c8: Pull complete [2023-04-18T02:35:17.378Z] b352a97aabf1: Pull complete [2023-04-18T02:35:17.378Z] 4872d77fe225: Pull complete [2023-04-18T02:35:17.378Z] 5851b861e8e6: Pull complete [2023-04-18T02:35:17.637Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T02:35:17.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T02:35:17.637Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:35:17.764Z] prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container [2023-04-18T02:35:17.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T02:35:21.016Z] $ docker top a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e -eo pid,comm [2023-04-18T02:35:21.069Z] 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-04-18T02:35:21.069Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T02:35:21.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T02:35:21.112Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T02:35:21.245Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T02:35:21.254Z] $ docker exec a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e ssh-agent [2023-04-18T02:35:21.366Z] SSH_AUTH_SOCK=/tmp/ssh-tjxUNGW3deFd/agent.32 [2023-04-18T02:35:21.366Z] SSH_AGENT_PID=38 [2023-04-18T02:35:21.373Z] Running ssh-add (command line suppressed) [2023-04-18T02:35:21.480Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6770508911610621428.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6770508911610621428.key) [2023-04-18T02:35:21.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T02:35:21.776Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T02:35:21.799Z] $ docker exec --env ******** --env ******** a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e ssh-agent -k [2023-04-18T02:35:21.890Z] unset SSH_AUTH_SOCK; [2023-04-18T02:35:21.893Z] unset SSH_AGENT_PID; [2023-04-18T02:35:21.893Z] echo Agent pid 38 killed; [2023-04-18T02:35:21.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T02:35:21.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T02:35:21.922Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T02:35:22.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T02:35:22.047Z] $ docker exec a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e ssh-agent [2023-04-18T02:35:22.170Z] SSH_AUTH_SOCK=/tmp/ssh-lnbcVpXqoxeQ/agent.71 [2023-04-18T02:35:22.170Z] SSH_AGENT_PID=77 [2023-04-18T02:35:22.175Z] Running ssh-add (command line suppressed) [2023-04-18T02:35:22.285Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16312833451218461369.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16312833451218461369.key) [2023-04-18T02:35:22.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T02:35:22.581Z] + git semver init [2023-04-18T02:35:22.841Z] 2023-04-18 02:35:22,786 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T02:35:22.841Z] 2023-04-18 02:35:22,787 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-04-18T02:35:22.841Z] 2023-04-18 02:35:22,787 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-04-18T02:35:22.841Z] 2023-04-18 02:35:22,788 [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-04-18T02:35:24.225Z] 2023-04-18 02:35:23,888 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-04-18T02:35:24.225Z] 2023-04-18 02:35:23,889 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-04-18T02:35:24.225Z] 2023-04-18 02:35:23,889 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-04-18T02:35:24.225Z] 2023-04-18 02:35:23,889 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-04-18T02:35:24.225Z] 3.0.0-dev.32 [Pipeline] } [2023-04-18T02:35:24.242Z] $ docker exec --env ******** --env ******** a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e ssh-agent -k [2023-04-18T02:35:24.347Z] unset SSH_AUTH_SOCK; [2023-04-18T02:35:24.348Z] unset SSH_AGENT_PID; [2023-04-18T02:35:24.348Z] echo Agent pid 77 killed; [2023-04-18T02:35:24.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T02:35:24.664Z] + git semver [Pipeline] } [2023-04-18T02:35:24.945Z] $ docker stop --time=1 a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e [2023-04-18T02:35:26.232Z] $ docker rm -f --volumes a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T02:35:26.575Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T02:35:26.800Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T02:35:26.804Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.32 [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-04-18T02:35:26.939Z] provisioning config files... [2023-04-18T02:35:26.949Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7045063501637137984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:35:27.248Z] ---> docker-login.sh [2023-04-18T02:35:27.248Z] nexus3.edgexfoundry.org:10001 [2023-04-18T02:35:27.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:35:27.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:35:27.248Z] Configure a credential helper to remove this warning. See [2023-04-18T02:35:27.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:35:27.248Z] [2023-04-18T02:35:27.248Z] Login Succeeded [2023-04-18T02:35:27.248Z] nexus3.edgexfoundry.org:10002 [2023-04-18T02:35:27.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:35:27.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:35:27.248Z] Configure a credential helper to remove this warning. See [2023-04-18T02:35:27.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:35:27.248Z] [2023-04-18T02:35:27.248Z] Login Succeeded [2023-04-18T02:35:27.248Z] nexus3.edgexfoundry.org:10003 [2023-04-18T02:35:27.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:35:27.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:35:27.508Z] Configure a credential helper to remove this warning. See [2023-04-18T02:35:27.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:35:27.508Z] [2023-04-18T02:35:27.508Z] Login Succeeded [2023-04-18T02:35:27.508Z] nexus3.edgexfoundry.org:10004 [2023-04-18T02:35:27.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:35:27.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:35:27.508Z] Configure a credential helper to remove this warning. See [2023-04-18T02:35:27.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:35:27.508Z] [2023-04-18T02:35:27.508Z] Login Succeeded [2023-04-18T02:35:27.508Z] docker.io [2023-04-18T02:35:27.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:35:27.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:35:27.769Z] Configure a credential helper to remove this warning. See [2023-04-18T02:35:27.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:35:27.769Z] [2023-04-18T02:35:27.769Z] Login Succeeded [2023-04-18T02:35:27.769Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T02:35:27.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T02:35:27.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T02:35:27.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T02:35:27.869Z] ========================================================= [2023-04-18T02:35:27.869Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T02:35:27.869Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:35:28.190Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T02:35:28.190Z] Sending build context to Docker daemon 23.55MB [2023-04-18T02:35:28.190Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T02:35:28.190Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T02:35:28.450Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T02:35:28.450Z] 63b65145d645: Pulling fs layer [2023-04-18T02:35:28.450Z] a2d21d5440eb: Pulling fs layer [2023-04-18T02:35:28.450Z] 935e6c44a52c: Pulling fs layer [2023-04-18T02:35:28.450Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T02:35:28.450Z] 30dea6a524f1: Pulling fs layer [2023-04-18T02:35:28.450Z] a2aff8979fd8: Pulling fs layer [2023-04-18T02:35:28.450Z] 6808be2612f2: Pulling fs layer [2023-04-18T02:35:28.450Z] f25807f1079a: Pulling fs layer [2023-04-18T02:35:28.450Z] 30dea6a524f1: Waiting [2023-04-18T02:35:28.450Z] a2aff8979fd8: Waiting [2023-04-18T02:35:28.450Z] 6808be2612f2: Waiting [2023-04-18T02:35:28.450Z] f25807f1079a: Waiting [2023-04-18T02:35:28.450Z] 94cc34f8dd06: Waiting [2023-04-18T02:35:28.450Z] a2d21d5440eb: Verifying Checksum [2023-04-18T02:35:28.450Z] a2d21d5440eb: Download complete [2023-04-18T02:35:28.450Z] 94cc34f8dd06: Download complete [2023-04-18T02:35:28.450Z] 30dea6a524f1: Verifying Checksum [2023-04-18T02:35:28.450Z] 30dea6a524f1: Download complete [2023-04-18T02:35:28.450Z] 63b65145d645: Verifying Checksum [2023-04-18T02:35:28.450Z] 63b65145d645: Download complete [2023-04-18T02:35:28.450Z] a2aff8979fd8: Verifying Checksum [2023-04-18T02:35:28.450Z] a2aff8979fd8: Download complete [2023-04-18T02:35:29.019Z] 63b65145d645: Pull complete [2023-04-18T02:35:29.019Z] f25807f1079a: Verifying Checksum [2023-04-18T02:35:29.019Z] f25807f1079a: Download complete [2023-04-18T02:35:29.019Z] a2d21d5440eb: Pull complete [2023-04-18T02:35:29.283Z] 935e6c44a52c: Verifying Checksum [2023-04-18T02:35:29.283Z] 935e6c44a52c: Download complete [2023-04-18T02:35:29.543Z] 6808be2612f2: Verifying Checksum [2023-04-18T02:35:29.543Z] 6808be2612f2: Download complete [2023-04-18T02:35:32.830Z] 935e6c44a52c: Pull complete [2023-04-18T02:35:32.830Z] 94cc34f8dd06: Pull complete [2023-04-18T02:35:32.830Z] 30dea6a524f1: Pull complete [2023-04-18T02:35:32.830Z] a2aff8979fd8: Pull complete [2023-04-18T02:35:35.361Z] 6808be2612f2: Pull complete [2023-04-18T02:35:35.926Z] f25807f1079a: Pull complete [2023-04-18T02:35:35.926Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T02:35:35.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T02:35:35.926Z] ---> 3b553350e43f [2023-04-18T02:35:35.926Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T02:35:41.196Z] ---> Running in bf70049faf53 [2023-04-18T02:35:41.196Z] Removing intermediate container bf70049faf53 [2023-04-18T02:35:41.196Z] ---> 4d485fe642bb [2023-04-18T02:35:41.196Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T02:35:41.196Z] ---> Running in d652a6d28500 [2023-04-18T02:35:41.196Z] Removing intermediate container d652a6d28500 [2023-04-18T02:35:41.196Z] ---> 2f3c54ea5ad7 [2023-04-18T02:35:41.196Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T02:35:41.196Z] ---> Running in 160c5420cf3b [2023-04-18T02:35:41.196Z] Removing intermediate container 160c5420cf3b [2023-04-18T02:35:41.196Z] ---> b261368bbbde [2023-04-18T02:35:41.196Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-18T02:35:41.196Z] ---> Running in 5abdf30e282c [2023-04-18T02:35:41.196Z] Removing intermediate container 5abdf30e282c [2023-04-18T02:35:41.196Z] ---> bec64bc8e5ee [2023-04-18T02:35:41.196Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T02:35:41.196Z] ---> Running in b228433fe17f [2023-04-18T02:35:41.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T02:35:41.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T02:35:41.713Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T02:35:41.907Z] Still waiting to schedule task [2023-04-18T02:35:41.907Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8842’ [2023-04-18T02:35:41.972Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T02:35:41.972Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T02:35:41.972Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T02:35:41.972Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T02:35:41.972Z] OK: 269 MiB in 57 packages [2023-04-18T02:35:42.539Z] Removing intermediate container b228433fe17f [2023-04-18T02:35:42.539Z] ---> 2dd16e8f0a0b [2023-04-18T02:35:42.539Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-18T02:35:42.539Z] ---> 0fea1614e7e1 [2023-04-18T02:35:42.539Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T02:35:42.539Z] ---> Running in ca57cbf67fc9 [2023-04-18T02:36:14.633Z] Removing intermediate container ca57cbf67fc9 [2023-04-18T02:36:14.633Z] ---> fa1ffac38774 [2023-04-18T02:36:14.633Z] Step 10/12 : COPY . . [2023-04-18T02:36:14.633Z] ---> 44d1334d94f7 [2023-04-18T02:36:14.633Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T02:36:14.633Z] ---> Running in 32113cd1fb28 [2023-04-18T02:36:14.633Z] Removing intermediate container 32113cd1fb28 [2023-04-18T02:36:14.633Z] ---> eff3923ba8df [2023-04-18T02:36:14.633Z] Step 12/12 : RUN $MAKE [2023-04-18T02:36:14.633Z] ---> Running in 75839c6deb23 [2023-04-18T02:36:14.633Z] noop [2023-04-18T02:36:14.633Z] Removing intermediate container 75839c6deb23 [2023-04-18T02:36:14.633Z] ---> e3ee788f3b9f [2023-04-18T02:36:14.633Z] Successfully built e3ee788f3b9f [2023-04-18T02:36:14.633Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:36:14.937Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T02:36:14.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:36:15.002Z] prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container [2023-04-18T02:36:15.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T02:36:15.356Z] $ docker top 419d17db47f7fbc1926bb76a5220261fba8fbe0f5a791d9ef583fe1bf4c76746 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T02:36:15.693Z] + go version [2023-04-18T02:36:15.693Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T02:36:15.709Z] $ docker stop --time=1 419d17db47f7fbc1926bb76a5220261fba8fbe0f5a791d9ef583fe1bf4c76746 [2023-04-18T02:36:16.997Z] $ docker rm -f --volumes 419d17db47f7fbc1926bb76a5220261fba8fbe0f5a791d9ef583fe1bf4c76746 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:36:17.400Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T02:36:17.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:36:17.469Z] prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container [2023-04-18T02:36:17.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T02:36:17.806Z] $ docker top bf775ce82d6f7663f250cf0896ab10847fd5c1d7f6cfa1ffbe11ffdf73d196b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T02:36:18.135Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-18T02:36:18.429Z] + make test [2023-04-18T02:36:18.429Z] go test ./... -coverprofile=coverage.out [2023-04-18T02:36:22.623Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-18T02:36:32.577Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-04-18T02:36:32.577Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements [2023-04-18T02:36:36.758Z] go vet ./... [2023-04-18T02:36:40.043Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T02:36:40.043Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T02:36:40.043Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T02:36:40.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T02:36:40.076Z] $ docker stop --time=1 bf775ce82d6f7663f250cf0896ab10847fd5c1d7f6cfa1ffbe11ffdf73d196b7 [2023-04-18T02:36:42.973Z] $ docker rm -f --volumes bf775ce82d6f7663f250cf0896ab10847fd5c1d7f6cfa1ffbe11ffdf73d196b7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T02:36:43.413Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T02:36:43.460Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T02:36:43.967Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T02:36:44.248Z] + ls -al . [2023-04-18T02:36:44.248Z] total 192 [2023-04-18T02:36:44.248Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 02:36 . [2023-04-18T02:36:44.248Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:35 .. [2023-04-18T02:36:44.248Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 02:35 .git [2023-04-18T02:36:44.248Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:35 .github [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 02:35 .gitignore [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 02:35 .golangci.yml [2023-04-18T02:36:44.248Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 02:35 .semver [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 8652 Apr 18 02:35 Attribution.txt [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 02:35 CHANGELOG.md [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 02:35 Dockerfile [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 02:35 GOVERNANCE.md [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 02:35 Jenkinsfile [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 02:35 LICENSE [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 02:35 Makefile [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 02:35 OWNERS.md [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 02:35 README.md [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 02:35 VERSION [2023-04-18T02:36:44.248Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 02:35 bin [2023-04-18T02:36:44.248Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:35 cmd [2023-04-18T02:36:44.248Z] -rw-r--r-- 1 jenkins jenkins 43063 Apr 18 02:36 coverage.out [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 02:35 go.mod [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 31219 Apr 18 02:35 go.sum [2023-04-18T02:36:44.248Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:35 internal [2023-04-18T02:36:44.248Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:35 snap [2023-04-18T02:36:44.248Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 02:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:36:44.548Z] + 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=156beb4bb4cc3957e05b7219f54451536aed9ec4 --label arch=amd64 --label version=3.0.0-dev.32 . [2023-04-18T02:36:44.548Z] Sending build context to Docker daemon 23.59MB [2023-04-18T02:36:44.548Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T02:36:44.548Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-18T02:36:44.548Z] ---> e3ee788f3b9f [2023-04-18T02:36:44.548Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T02:36:45.127Z] ---> Running in 8e8b022d9dd9 [2023-04-18T02:36:45.127Z] Removing intermediate container 8e8b022d9dd9 [2023-04-18T02:36:45.127Z] ---> a88a7cfbad89 [2023-04-18T02:36:45.127Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T02:36:45.127Z] ---> Running in 93106ad23e72 [2023-04-18T02:36:45.127Z] Removing intermediate container 93106ad23e72 [2023-04-18T02:36:45.127Z] ---> a005db033b45 [2023-04-18T02:36:45.127Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-04-18T02:36:45.127Z] ---> Running in 0be4b9148956 [2023-04-18T02:36:45.127Z] Removing intermediate container 0be4b9148956 [2023-04-18T02:36:45.127Z] ---> 8b310523805d [2023-04-18T02:36:45.127Z] Step 6/25 : WORKDIR /device-virtual-go [2023-04-18T02:36:45.127Z] ---> Running in 61de63ca312b [2023-04-18T02:36:45.384Z] Removing intermediate container 61de63ca312b [2023-04-18T02:36:45.384Z] ---> f456629bf992 [2023-04-18T02:36:45.384Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T02:36:45.384Z] ---> Running in f251d077f3e4 [2023-04-18T02:36:45.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T02:36:45.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T02:36:45.902Z] OK: 269 MiB in 57 packages [2023-04-18T02:36:46.161Z] Removing intermediate container f251d077f3e4 [2023-04-18T02:36:46.161Z] ---> c20b78f0faa3 [2023-04-18T02:36:46.161Z] Step 8/25 : COPY go.mod vendor* ./ [2023-04-18T02:36:46.420Z] ---> aec6ca18ff2c [2023-04-18T02:36:46.420Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T02:36:46.420Z] ---> Running in d33e5e6a74ea [2023-04-18T02:36:46.988Z] Removing intermediate container d33e5e6a74ea [2023-04-18T02:36:46.988Z] ---> a328067ff5f8 [2023-04-18T02:36:46.988Z] Step 10/25 : COPY . . [2023-04-18T02:36:47.925Z] ---> 2a8b12d77269 [2023-04-18T02:36:47.925Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T02:36:47.925Z] ---> Running in dcbedd5cfc14 [2023-04-18T02:36:47.925Z] Removing intermediate container dcbedd5cfc14 [2023-04-18T02:36:47.925Z] ---> 08afacdf3db8 [2023-04-18T02:36:47.925Z] Step 12/25 : RUN $MAKE [2023-04-18T02:36:47.925Z] ---> Running in 9ae2389d8ec9 [2023-04-18T02:36:48.184Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.32" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-04-18T02:37:06.417Z] Removing intermediate container 9ae2389d8ec9 [2023-04-18T02:37:06.417Z] ---> 2b8f8f5671c8 [2023-04-18T02:37:06.417Z] Step 13/25 : FROM alpine:3.17 [2023-04-18T02:37:06.417Z] 3.17: Pulling from library/alpine [2023-04-18T02:37:06.417Z] f56be85fc22e: Pulling fs layer [2023-04-18T02:37:06.417Z] f56be85fc22e: Download complete [2023-04-18T02:37:06.417Z] f56be85fc22e: Pull complete [2023-04-18T02:37:06.417Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T02:37:06.417Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T02:37:06.417Z] ---> 9ed4aefc74f6 [2023-04-18T02:37:06.417Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-04-18T02:37:06.417Z] ---> Running in 3540e92cb2d2 [2023-04-18T02:37:06.417Z] Removing intermediate container 3540e92cb2d2 [2023-04-18T02:37:06.417Z] ---> 4f0de58d96e4 [2023-04-18T02:37:06.417Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-04-18T02:37:06.417Z] ---> Running in 0835f434a540 [2023-04-18T02:37:06.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T02:37:06.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T02:37:06.677Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T02:37:06.677Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T02:37:06.677Z] OK: 7 MiB in 16 packages [2023-04-18T02:37:07.246Z] Removing intermediate container 0835f434a540 [2023-04-18T02:37:07.246Z] ---> 20e0074bebae [2023-04-18T02:37:07.246Z] Step 16/25 : WORKDIR / [2023-04-18T02:37:07.246Z] ---> Running in 4787a1a2c2d1 [2023-04-18T02:37:07.246Z] Removing intermediate container 4787a1a2c2d1 [2023-04-18T02:37:07.246Z] ---> aade597116e5 [2023-04-18T02:37:07.246Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-04-18T02:37:07.246Z] ---> 201045153dad [2023-04-18T02:37:07.246Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-04-18T02:37:07.505Z] ---> 6329f86086f0 [2023-04-18T02:37:07.505Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-04-18T02:37:08.071Z] ---> 717bfab87265 [2023-04-18T02:37:08.071Z] Step 20/25 : EXPOSE 59900 [2023-04-18T02:37:08.071Z] ---> Running in 338c5648a690 [2023-04-18T02:37:08.071Z] Removing intermediate container 338c5648a690 [2023-04-18T02:37:08.071Z] ---> 156fa2ae345d [2023-04-18T02:37:08.071Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-04-18T02:37:08.071Z] ---> Running in 14cc0a1e28aa [2023-04-18T02:37:08.329Z] Removing intermediate container 14cc0a1e28aa [2023-04-18T02:37:08.329Z] ---> fcfdc69db97b [2023-04-18T02:37:08.329Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T02:37:08.329Z] ---> Running in 3f999ffb93c9 [2023-04-18T02:37:08.329Z] Removing intermediate container 3f999ffb93c9 [2023-04-18T02:37:08.329Z] ---> fb3169e3b707 [2023-04-18T02:37:08.329Z] Step 23/25 : LABEL arch=amd64 [2023-04-18T02:37:08.329Z] ---> Running in 419b1a40dd17 [2023-04-18T02:37:08.329Z] Removing intermediate container 419b1a40dd17 [2023-04-18T02:37:08.329Z] ---> bb9ece5c4b93 [2023-04-18T02:37:08.329Z] Step 24/25 : LABEL git_sha=156beb4bb4cc3957e05b7219f54451536aed9ec4 [2023-04-18T02:37:08.329Z] ---> Running in 3b854f31bfa4 [2023-04-18T02:37:08.587Z] Removing intermediate container 3b854f31bfa4 [2023-04-18T02:37:08.587Z] ---> 7ef1adc24141 [2023-04-18T02:37:08.587Z] Step 25/25 : LABEL version=3.0.0-dev.32 [2023-04-18T02:37:08.587Z] ---> Running in 694b507f29df [2023-04-18T02:37:08.587Z] Removing intermediate container 694b507f29df [2023-04-18T02:37:08.587Z] ---> def8500a9405 [2023-04-18T02:37:08.587Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T02:37:08.587Z] Successfully built def8500a9405 [2023-04-18T02:37:08.587Z] 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-04-18T02:37:08.668Z] provisioning config files... [2023-04-18T02:37:08.676Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1955569442926146009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:37:08.981Z] ---> docker-login.sh [2023-04-18T02:37:08.981Z] nexus3.edgexfoundry.org:10001 [2023-04-18T02:37:08.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:37:08.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:37:08.981Z] Configure a credential helper to remove this warning. See [2023-04-18T02:37:08.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:37:08.981Z] [2023-04-18T02:37:08.981Z] Login Succeeded [2023-04-18T02:37:08.981Z] nexus3.edgexfoundry.org:10002 [2023-04-18T02:37:08.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:37:08.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:37:08.981Z] Configure a credential helper to remove this warning. See [2023-04-18T02:37:08.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:37:08.981Z] [2023-04-18T02:37:08.981Z] Login Succeeded [2023-04-18T02:37:08.981Z] nexus3.edgexfoundry.org:10003 [2023-04-18T02:37:09.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:37:09.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:37:09.240Z] Configure a credential helper to remove this warning. See [2023-04-18T02:37:09.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:37:09.240Z] [2023-04-18T02:37:09.240Z] Login Succeeded [2023-04-18T02:37:09.240Z] nexus3.edgexfoundry.org:10004 [2023-04-18T02:37:09.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:37:09.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:37:09.240Z] Configure a credential helper to remove this warning. See [2023-04-18T02:37:09.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:37:09.240Z] [2023-04-18T02:37:09.240Z] Login Succeeded [2023-04-18T02:37:09.240Z] docker.io [2023-04-18T02:37:09.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:37:09.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:37:09.500Z] Configure a credential helper to remove this warning. See [2023-04-18T02:37:09.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:37:09.500Z] [2023-04-18T02:37:09.500Z] Login Succeeded [2023-04-18T02:37:09.500Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T02:37:09.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T02:37:09.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T02:37:09.546Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-04-18T02:37:09.546Z] 156beb4bb4cc3957e05b7219f54451536aed9ec4 [2023-04-18T02:37:09.546Z] latest [2023-04-18T02:37:09.546Z] 3.0.0-dev.32 [2023-04-18T02:37:09.546Z] 156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 [2023-04-18T02:37:09.546Z] main [2023-04-18T02:37:09.546Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:09.851Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:10.151Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4 [2023-04-18T02:37:10.151Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-04-18T02:37:10.151Z] 26cbf9a6694e: Preparing [2023-04-18T02:37:10.151Z] 1ebdce184e07: Preparing [2023-04-18T02:37:10.151Z] c3b609a5f0e3: Preparing [2023-04-18T02:37:10.151Z] f0be87ae58b8: Preparing [2023-04-18T02:37:10.151Z] f1417ff83b31: Preparing [2023-04-18T02:37:10.151Z] f1417ff83b31: Layer already exists [2023-04-18T02:37:10.151Z] 1ebdce184e07: Pushed [2023-04-18T02:37:10.151Z] f0be87ae58b8: Pushed [2023-04-18T02:37:10.151Z] c3b609a5f0e3: Pushed [2023-04-18T02:37:12.687Z] 26cbf9a6694e: Pushed [2023-04-18T02:37:12.687Z] 156beb4bb4cc3957e05b7219f54451536aed9ec4: digest: sha256:f6853a82db5018ff2657160b28bfd1905822dcc30590a33fe0997ef5e3ac17b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:13.000Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:13.308Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-04-18T02:37:13.308Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-04-18T02:37:13.308Z] 26cbf9a6694e: Preparing [2023-04-18T02:37:13.308Z] 1ebdce184e07: Preparing [2023-04-18T02:37:13.308Z] c3b609a5f0e3: Preparing [2023-04-18T02:37:13.308Z] f0be87ae58b8: Preparing [2023-04-18T02:37:13.308Z] f1417ff83b31: Preparing [2023-04-18T02:37:13.308Z] c3b609a5f0e3: Layer already exists [2023-04-18T02:37:13.308Z] f1417ff83b31: Layer already exists [2023-04-18T02:37:13.308Z] 1ebdce184e07: Layer already exists [2023-04-18T02:37:13.308Z] 26cbf9a6694e: Layer already exists [2023-04-18T02:37:13.308Z] f0be87ae58b8: Layer already exists [2023-04-18T02:37:13.308Z] latest: digest: sha256:f6853a82db5018ff2657160b28bfd1905822dcc30590a33fe0997ef5e3ac17b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:13.614Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:13.918Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.32 [2023-04-18T02:37:13.919Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-04-18T02:37:13.919Z] 26cbf9a6694e: Preparing [2023-04-18T02:37:13.919Z] 1ebdce184e07: Preparing [2023-04-18T02:37:13.919Z] c3b609a5f0e3: Preparing [2023-04-18T02:37:13.919Z] f0be87ae58b8: Preparing [2023-04-18T02:37:13.919Z] f1417ff83b31: Preparing [2023-04-18T02:37:13.919Z] c3b609a5f0e3: Layer already exists [2023-04-18T02:37:13.919Z] 1ebdce184e07: Layer already exists [2023-04-18T02:37:13.919Z] 26cbf9a6694e: Layer already exists [2023-04-18T02:37:13.919Z] f1417ff83b31: Layer already exists [2023-04-18T02:37:13.919Z] f0be87ae58b8: Layer already exists [2023-04-18T02:37:13.919Z] 3.0.0-dev.32: digest: sha256:f6853a82db5018ff2657160b28bfd1905822dcc30590a33fe0997ef5e3ac17b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:14.234Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:14.539Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 [2023-04-18T02:37:14.539Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-04-18T02:37:14.539Z] 26cbf9a6694e: Preparing [2023-04-18T02:37:14.539Z] 1ebdce184e07: Preparing [2023-04-18T02:37:14.539Z] c3b609a5f0e3: Preparing [2023-04-18T02:37:14.539Z] f0be87ae58b8: Preparing [2023-04-18T02:37:14.539Z] f1417ff83b31: Preparing [2023-04-18T02:37:14.539Z] f1417ff83b31: Layer already exists [2023-04-18T02:37:14.539Z] c3b609a5f0e3: Layer already exists [2023-04-18T02:37:14.539Z] 1ebdce184e07: Layer already exists [2023-04-18T02:37:14.539Z] f0be87ae58b8: Layer already exists [2023-04-18T02:37:14.539Z] 26cbf9a6694e: Layer already exists [2023-04-18T02:37:14.539Z] 156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32: digest: sha256:f6853a82db5018ff2657160b28bfd1905822dcc30590a33fe0997ef5e3ac17b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:14.846Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:15.152Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-04-18T02:37:15.152Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-04-18T02:37:15.152Z] 26cbf9a6694e: Preparing [2023-04-18T02:37:15.152Z] 1ebdce184e07: Preparing [2023-04-18T02:37:15.152Z] c3b609a5f0e3: Preparing [2023-04-18T02:37:15.152Z] f0be87ae58b8: Preparing [2023-04-18T02:37:15.152Z] f1417ff83b31: Preparing [2023-04-18T02:37:15.152Z] f0be87ae58b8: Layer already exists [2023-04-18T02:37:15.152Z] 1ebdce184e07: Layer already exists [2023-04-18T02:37:15.152Z] 26cbf9a6694e: Layer already exists [2023-04-18T02:37:15.152Z] f1417ff83b31: Layer already exists [2023-04-18T02:37:15.152Z] c3b609a5f0e3: Layer already exists [2023-04-18T02:37:15.152Z] main: digest: sha256:f6853a82db5018ff2657160b28bfd1905822dcc30590a33fe0997ef5e3ac17b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T02:37:15.190Z] ===================================================== [Pipeline] echo [2023-04-18T02:37:15.197Z] taggedImages: [2023-04-18T02:37:15.197Z] - nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4 [2023-04-18T02:37:15.197Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-04-18T02:37:15.197Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.32 [2023-04-18T02:37:15.197Z] - nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 [2023-04-18T02:37:15.197Z] - 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-04-18T02:37:15.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T02:37:15.541Z] [2023-04-18T02:37:15.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:37:15.833Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T02:37:15.833Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T02:37:15.833Z] 5eb5b503b376: Pulling fs layer [2023-04-18T02:37:15.833Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T02:37:15.833Z] ec43610c2a17: Pulling fs layer [2023-04-18T02:37:15.833Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T02:37:15.833Z] 33b1e0a273af: Pulling fs layer [2023-04-18T02:37:15.833Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T02:37:15.833Z] 2f39f015ded8: Pulling fs layer [2023-04-18T02:37:15.833Z] 3a2ae6a8a46f: Waiting [2023-04-18T02:37:15.833Z] 33b1e0a273af: Waiting [2023-04-18T02:37:15.833Z] 5d3b04190fa2: Waiting [2023-04-18T02:37:15.833Z] 2f39f015ded8: Waiting [2023-04-18T02:37:15.833Z] 5c69ac0246d0: Verifying Checksum [2023-04-18T02:37:15.833Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T02:37:15.833Z] 3a2ae6a8a46f: Download complete [2023-04-18T02:37:15.833Z] 33b1e0a273af: Verifying Checksum [2023-04-18T02:37:15.833Z] 33b1e0a273af: Download complete [2023-04-18T02:37:15.833Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T02:37:15.833Z] 5d3b04190fa2: Download complete [2023-04-18T02:37:15.833Z] ec43610c2a17: Verifying Checksum [2023-04-18T02:37:15.833Z] ec43610c2a17: Download complete [2023-04-18T02:37:16.092Z] 5eb5b503b376: Verifying Checksum [2023-04-18T02:37:16.092Z] 5eb5b503b376: Download complete [2023-04-18T02:37:16.657Z] 2f39f015ded8: Download complete [2023-04-18T02:37:17.223Z] 5eb5b503b376: Pull complete [2023-04-18T02:37:17.223Z] 5c69ac0246d0: Pull complete [2023-04-18T02:37:17.790Z] ec43610c2a17: Pull complete [2023-04-18T02:37:17.790Z] 3a2ae6a8a46f: Pull complete [2023-04-18T02:37:18.048Z] 33b1e0a273af: Pull complete [2023-04-18T02:37:18.048Z] 5d3b04190fa2: Pull complete [2023-04-18T02:37:22.233Z] 2f39f015ded8: Pull complete [2023-04-18T02:37:22.233Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T02:37:22.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T02:37:22.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:37:22.314Z] prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container [2023-04-18T02:37:22.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T02:37:25.929Z] $ docker top c947a8396f66ef37028a235aba3534a2854c131268a6ba325f44a7df4d5d7a4a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:37:26.311Z] ---> job-cost.sh [2023-04-18T02:37:26.311Z] lf-activate-venv: SKIPPING [2023-04-18T02:37:26.311Z] INFO: No Stack... [2023-04-18T02:37:26.570Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T02:37:26.829Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T02:37:27.118Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-04-18T02:37:27.118Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T02:37:27.132Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] [2023-04-18T02:37:27.138Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] did not exist. Created. [2023-04-18T02:37:27.138Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T02:37:27.440Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T02:37:27.461Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T02:37:27.471Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T02:37:27.495Z] $ docker stop --time=1 c947a8396f66ef37028a235aba3534a2854c131268a6ba325f44a7df4d5d7a4a [2023-04-18T02:37:28.633Z] $ docker rm -f --volumes c947a8396f66ef37028a235aba3534a2854c131268a6ba325f44a7df4d5d7a4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T02:39:14.816Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8847 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-04-18T02:39:14.828Z] Running in /w/workspace/device-virtual-go/104 [Pipeline] { [Pipeline] checkout [2023-04-18T02:39:14.905Z] The recommended git tool is: git [2023-04-18T02:39:20.450Z] using credential edgex-jenkins-ssh [2023-04-18T02:39:20.467Z] Cloning the remote Git repository [2023-04-18T02:39:20.530Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-04-18T02:39:20.652Z] > git init /w/workspace/device-virtual-go/104 # timeout=10 [2023-04-18T02:39:20.818Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-18T02:39:20.819Z] > git --version # timeout=10 [2023-04-18T02:39:20.848Z] > git --version # 'git version 2.25.1' [2023-04-18T02:39:20.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T02:39:21.018Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T02:39:24.375Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-18T02:39:24.397Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T02:39:25.353Z] Avoid second fetch [2023-04-18T02:39:25.354Z] Checking out Revision 156beb4bb4cc3957e05b7219f54451536aed9ec4 (main) [2023-04-18T02:39:25.949Z] Commit message: "Merge pull request #382 from hahattan/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-04-18T02:39:25.378Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T02:39:25.454Z] > git checkout -f 156beb4bb4cc3957e05b7219f54451536aed9ec4 # timeout=10 [Pipeline] sh [2023-04-18T02:39:26.973Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T02:39:26.973Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T02:39:26.973Z] Dload Upload Total Spent Left Speed [2023-04-18T02:39:26.973Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-04-18T02:39:27.593Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T02:39:27.920Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-04-18T02:39:27.920Z] [2023-04-18T02:39:27.920Z] { [2023-04-18T02:39:27.920Z] "registry-mirrors": [ [2023-04-18T02:39:27.920Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T02:39:27.920Z] ], [2023-04-18T02:39:27.920Z] "bip": "10.250.0.254/24", [2023-04-18T02:39:27.920Z] "hosts": [ [2023-04-18T02:39:27.920Z] "tcp://0.0.0.0:5555", [2023-04-18T02:39:27.920Z] "unix:///var/run/docker.sock" [2023-04-18T02:39:27.920Z] ], [2023-04-18T02:39:27.920Z] "mtu": 1458, [2023-04-18T02:39:27.920Z] "selinux-enabled": true, [2023-04-18T02:39:27.920Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T02:39:27.920Z] } [Pipeline] sh [2023-04-18T02:39:28.252Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T02:39:28.590Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T02:39:46.877Z] provisioning config files... [2023-04-18T02:39:46.904Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/104@tmp/config7126246192620788932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:39:47.258Z] ---> docker-login.sh [2023-04-18T02:39:47.258Z] nexus3.edgexfoundry.org:10001 [2023-04-18T02:39:47.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:39:47.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:39:47.849Z] Configure a credential helper to remove this warning. See [2023-04-18T02:39:47.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:39:47.849Z] [2023-04-18T02:39:47.849Z] Login Succeeded [2023-04-18T02:39:47.849Z] nexus3.edgexfoundry.org:10002 [2023-04-18T02:39:48.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:39:48.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:39:48.391Z] Configure a credential helper to remove this warning. See [2023-04-18T02:39:48.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:39:48.391Z] [2023-04-18T02:39:48.391Z] Login Succeeded [2023-04-18T02:39:48.391Z] nexus3.edgexfoundry.org:10003 [2023-04-18T02:39:48.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:39:48.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:39:48.662Z] Configure a credential helper to remove this warning. See [2023-04-18T02:39:48.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:39:48.662Z] [2023-04-18T02:39:48.662Z] Login Succeeded [2023-04-18T02:39:48.662Z] nexus3.edgexfoundry.org:10004 [2023-04-18T02:39:48.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:39:48.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:39:48.934Z] Configure a credential helper to remove this warning. See [2023-04-18T02:39:48.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:39:48.934Z] [2023-04-18T02:39:48.934Z] Login Succeeded [2023-04-18T02:39:48.934Z] docker.io [2023-04-18T02:39:49.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:39:49.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:39:49.472Z] Configure a credential helper to remove this warning. See [2023-04-18T02:39:49.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:39:49.472Z] [2023-04-18T02:39:49.472Z] Login Succeeded [2023-04-18T02:39:49.472Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T02:39:49.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T02:39:49.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T02:39:49.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T02:39:49.788Z] ========================================================= [2023-04-18T02:39:49.788Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T02:39:49.788Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:39:50.147Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T02:39:50.421Z] Sending build context to Docker daemon 11.93MB [2023-04-18T02:39:51.854Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T02:39:51.854Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T02:39:51.854Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T02:39:51.854Z] af6eaf76a39c: Pulling fs layer [2023-04-18T02:39:51.854Z] 55522c791124: Pulling fs layer [2023-04-18T02:39:51.854Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T02:39:51.854Z] 169dfbe0d373: Pulling fs layer [2023-04-18T02:39:51.854Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T02:39:51.854Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T02:39:51.854Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T02:39:51.854Z] 169dfbe0d373: Waiting [2023-04-18T02:39:51.854Z] e1ff8fa3b103: Waiting [2023-04-18T02:39:51.854Z] 52ebb69f0ebf: Waiting [2023-04-18T02:39:51.854Z] 5abe8eddf0d5: Waiting [2023-04-18T02:39:51.854Z] 55522c791124: Verifying Checksum [2023-04-18T02:39:51.854Z] 55522c791124: Download complete [2023-04-18T02:39:51.854Z] 169dfbe0d373: Download complete [2023-04-18T02:39:51.854Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T02:39:51.854Z] e1ff8fa3b103: Download complete [2023-04-18T02:39:51.854Z] af6eaf76a39c: Download complete [2023-04-18T02:39:52.860Z] 5abe8eddf0d5: Download complete [2023-04-18T02:39:52.860Z] af6eaf76a39c: Pull complete [2023-04-18T02:39:53.454Z] 55522c791124: Pull complete [2023-04-18T02:39:54.426Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T02:39:54.426Z] ce5c4a1c91eb: Download complete [2023-04-18T02:39:54.426Z] 52ebb69f0ebf: Download complete [2023-04-18T02:40:06.768Z] ce5c4a1c91eb: Pull complete [2023-04-18T02:40:06.768Z] 169dfbe0d373: Pull complete [2023-04-18T02:40:06.768Z] e1ff8fa3b103: Pull complete [2023-04-18T02:40:13.458Z] 52ebb69f0ebf: Pull complete [2023-04-18T02:40:14.875Z] 5abe8eddf0d5: Pull complete [2023-04-18T02:40:14.875Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T02:40:14.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T02:40:14.875Z] ---> 6cb57ee374ae [2023-04-18T02:40:14.875Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T02:40:16.302Z] ---> Running in 36186cff7caa [2023-04-18T02:40:16.571Z] Removing intermediate container 36186cff7caa [2023-04-18T02:40:16.571Z] ---> 0295f455fd6f [2023-04-18T02:40:16.571Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T02:40:16.843Z] ---> Running in 5e3f37c67725 [2023-04-18T02:40:17.114Z] Removing intermediate container 5e3f37c67725 [2023-04-18T02:40:17.114Z] ---> 4f551882e04b [2023-04-18T02:40:17.114Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T02:40:17.114Z] ---> Running in bf420498162a [2023-04-18T02:40:17.385Z] Removing intermediate container bf420498162a [2023-04-18T02:40:17.385Z] ---> 9ea11eb48ef3 [2023-04-18T02:40:17.385Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-18T02:40:17.653Z] ---> Running in 01030b4f19a9 [2023-04-18T02:40:17.930Z] Removing intermediate container 01030b4f19a9 [2023-04-18T02:40:17.930Z] ---> b8b7ce4461ce [2023-04-18T02:40:17.931Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T02:40:17.931Z] ---> Running in e30f6ecc70a5 [2023-04-18T02:40:19.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T02:40:19.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T02:40:20.903Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T02:40:20.903Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T02:40:20.903Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T02:40:20.903Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T02:40:20.903Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T02:40:20.903Z] OK: 268 MiB in 57 packages [2023-04-18T02:40:21.872Z] Removing intermediate container e30f6ecc70a5 [2023-04-18T02:40:21.872Z] ---> 5fe7fdb9fc94 [2023-04-18T02:40:21.872Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-18T02:40:22.462Z] ---> 6784d1187083 [2023-04-18T02:40:22.462Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T02:40:22.731Z] ---> Running in 4ef0b6740624 [2023-04-18T02:41:30.772Z] Removing intermediate container 4ef0b6740624 [2023-04-18T02:41:30.772Z] ---> b6b2b7db545c [2023-04-18T02:41:30.772Z] Step 10/12 : COPY . . [2023-04-18T02:41:30.772Z] ---> b4ba9fd04f87 [2023-04-18T02:41:30.772Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T02:41:30.772Z] ---> Running in d32939bb8df9 [2023-04-18T02:41:30.772Z] Removing intermediate container d32939bb8df9 [2023-04-18T02:41:30.772Z] ---> 93d19c0dc120 [2023-04-18T02:41:30.772Z] Step 12/12 : RUN $MAKE [2023-04-18T02:41:30.772Z] ---> Running in bfee22b3f749 [2023-04-18T02:41:30.772Z] noop [2023-04-18T02:41:30.772Z] Removing intermediate container bfee22b3f749 [2023-04-18T02:41:30.772Z] ---> e7b2254a670e [2023-04-18T02:41:30.772Z] Successfully built e7b2254a670e [2023-04-18T02:41:30.772Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:41:31.135Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T02:41:31.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:41:31.364Z] prd-ubuntu20.04-docker-arm64-4c-16g-8847 does not seem to be running inside a container [2023-04-18T02:41:31.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/104 -v /w/workspace/device-virtual-go/104:/w/workspace/device-virtual-go/104:rw,z -v /w/workspace/device-virtual-go/104@tmp:/w/workspace/device-virtual-go/104@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-04-18T02:41:32.612Z] $ docker top e7fb7b541021188dab46c7d1ccbea44212435f63863fca58a793753b72d493e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T02:41:33.448Z] + go version [2023-04-18T02:41:33.448Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T02:41:33.474Z] $ docker stop --time=1 e7fb7b541021188dab46c7d1ccbea44212435f63863fca58a793753b72d493e3 [2023-04-18T02:41:35.068Z] $ docker rm -f --volumes e7fb7b541021188dab46c7d1ccbea44212435f63863fca58a793753b72d493e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:41:35.584Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T02:41:35.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:41:35.765Z] prd-ubuntu20.04-docker-arm64-4c-16g-8847 does not seem to be running inside a container [2023-04-18T02:41:35.841Z] $ 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/104 -v /w/workspace/device-virtual-go/104:/w/workspace/device-virtual-go/104:rw,z -v /w/workspace/device-virtual-go/104@tmp:/w/workspace/device-virtual-go/104@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-04-18T02:41:38.397Z] $ docker top 3e70c2ba65ee61d1492ee7159a0ce09357c3d302db1f3c07dfa23dad1609b4a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T02:41:38.884Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/104 [Pipeline] fileExists [Pipeline] sh [2023-04-18T02:41:39.208Z] + make test [2023-04-18T02:41:39.208Z] go test ./... -coverprofile=coverage.out [2023-04-18T02:42:11.415Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-18T02:44:03.076Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-04-18T02:44:03.076Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.095s coverage: 58.4% of statements [2023-04-18T02:44:03.076Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T02:44:03.076Z] go vet ./... [2023-04-18T02:44:29.786Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T02:44:29.786Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T02:44:29.786Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T02:44:29.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T02:44:29.825Z] $ docker stop --time=1 3e70c2ba65ee61d1492ee7159a0ce09357c3d302db1f3c07dfa23dad1609b4a9 [2023-04-18T02:44:31.769Z] $ docker rm -f --volumes 3e70c2ba65ee61d1492ee7159a0ce09357c3d302db1f3c07dfa23dad1609b4a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T02:44:32.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T02:44:32.856Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T02:44:33.315Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T02:44:33.706Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T02:44:34.030Z] + ls -al . [2023-04-18T02:44:34.030Z] total 188 [2023-04-18T02:44:34.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 02:41 . [2023-04-18T02:44:34.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:39 .. [2023-04-18T02:44:34.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 02:39 .git [2023-04-18T02:44:34.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:39 .github [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 02:39 .gitignore [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 02:39 .golangci.yml [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 8652 Apr 18 02:39 Attribution.txt [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 02:39 CHANGELOG.md [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 02:39 Dockerfile [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 02:39 GOVERNANCE.md [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 02:39 Jenkinsfile [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 02:39 LICENSE [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 02:39 Makefile [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 02:39 OWNERS.md [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 02:39 README.md [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 02:35 VERSION [2023-04-18T02:44:34.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 02:39 bin [2023-04-18T02:44:34.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:39 cmd [2023-04-18T02:44:34.030Z] -rw-r--r-- 1 jenkins jenkins 43063 Apr 18 02:43 coverage.out [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 02:39 go.mod [2023-04-18T02:44:34.030Z] -rw-rw-r-- 1 jenkins jenkins 31219 Apr 18 02:39 go.sum [2023-04-18T02:44:34.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:39 internal [2023-04-18T02:44:34.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:39 snap [2023-04-18T02:44:34.031Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 02:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:44:34.372Z] + 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=156beb4bb4cc3957e05b7219f54451536aed9ec4 --label arch=arm64 --label version=3.0.0-dev.32 . [2023-04-18T02:44:34.958Z] Sending build context to Docker daemon 11.97MB [2023-04-18T02:44:34.958Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T02:44:34.958Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-18T02:44:34.958Z] ---> e7b2254a670e [2023-04-18T02:44:34.958Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T02:44:34.959Z] ---> Running in 0cb68ce04c7b [2023-04-18T02:44:36.924Z] Removing intermediate container 0cb68ce04c7b [2023-04-18T02:44:36.924Z] ---> f278b734e4a0 [2023-04-18T02:44:36.924Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T02:44:36.924Z] ---> Running in 86a4d6e18dd0 [2023-04-18T02:44:37.192Z] Removing intermediate container 86a4d6e18dd0 [2023-04-18T02:44:37.192Z] ---> 0ab81f4fc05b [2023-04-18T02:44:37.192Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-04-18T02:44:37.192Z] ---> Running in 811c796dfcb5 [2023-04-18T02:44:37.459Z] Removing intermediate container 811c796dfcb5 [2023-04-18T02:44:37.460Z] ---> 10e69fd53f73 [2023-04-18T02:44:37.460Z] Step 6/25 : WORKDIR /device-virtual-go [2023-04-18T02:44:37.726Z] ---> Running in 4ed92d6e1196 [2023-04-18T02:44:39.147Z] Removing intermediate container 4ed92d6e1196 [2023-04-18T02:44:39.147Z] ---> a548ade45b6e [2023-04-18T02:44:39.147Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T02:44:39.425Z] ---> Running in 9917829f3baf [2023-04-18T02:44:40.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T02:44:41.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T02:44:42.390Z] OK: 268 MiB in 57 packages [2023-04-18T02:44:45.003Z] Removing intermediate container 9917829f3baf [2023-04-18T02:44:45.003Z] ---> 98871a003025 [2023-04-18T02:44:45.003Z] Step 8/25 : COPY go.mod vendor* ./ [2023-04-18T02:44:45.592Z] ---> 92106b1d2e95 [2023-04-18T02:44:45.592Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T02:44:45.592Z] ---> Running in 04bf21ec2f00 [2023-04-18T02:44:48.960Z] Removing intermediate container 04bf21ec2f00 [2023-04-18T02:44:48.960Z] ---> 3e23c65f4724 [2023-04-18T02:44:48.960Z] Step 10/25 : COPY . . [2023-04-18T02:44:50.364Z] ---> f15d8f07ab71 [2023-04-18T02:44:50.364Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T02:44:50.364Z] ---> Running in 82147b239264 [2023-04-18T02:44:50.630Z] Removing intermediate container 82147b239264 [2023-04-18T02:44:50.630Z] ---> cc447c1d5808 [2023-04-18T02:44:50.630Z] Step 12/25 : RUN $MAKE [2023-04-18T02:44:50.898Z] ---> Running in 947d0775507a [2023-04-18T02:44:51.865Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.32" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-04-18T02:46:58.549Z] Removing intermediate container 947d0775507a [2023-04-18T02:46:58.549Z] ---> 3ce5579b7e79 [2023-04-18T02:46:58.549Z] Step 13/25 : FROM alpine:3.17 [2023-04-18T02:46:58.549Z] 3.17: Pulling from library/alpine [2023-04-18T02:46:58.549Z] c41833b44d91: Pulling fs layer [2023-04-18T02:46:58.549Z] c41833b44d91: Verifying Checksum [2023-04-18T02:46:58.549Z] c41833b44d91: Download complete [2023-04-18T02:46:58.549Z] c41833b44d91: Pull complete [2023-04-18T02:46:58.549Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T02:46:58.549Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T02:46:58.549Z] ---> 51e60588ff2c [2023-04-18T02:46:58.549Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-04-18T02:46:58.549Z] ---> Running in b6d53a885cc4 [2023-04-18T02:46:58.549Z] Removing intermediate container b6d53a885cc4 [2023-04-18T02:46:58.549Z] ---> 031a2ffcf4c3 [2023-04-18T02:46:58.549Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-04-18T02:46:58.549Z] ---> Running in bf31124899f1 [2023-04-18T02:46:59.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T02:47:00.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T02:47:01.060Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T02:47:01.060Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T02:47:01.060Z] OK: 8 MiB in 16 packages [2023-04-18T02:47:02.022Z] Removing intermediate container bf31124899f1 [2023-04-18T02:47:02.022Z] ---> cdb2f1813c5d [2023-04-18T02:47:02.022Z] Step 16/25 : WORKDIR / [2023-04-18T02:47:02.022Z] ---> Running in c65881666525 [2023-04-18T02:47:02.288Z] Removing intermediate container c65881666525 [2023-04-18T02:47:02.288Z] ---> 0e4296a3ca01 [2023-04-18T02:47:02.289Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-04-18T02:47:02.872Z] ---> 2b5d70e7ee36 [2023-04-18T02:47:02.872Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-04-18T02:47:03.139Z] ---> 17cf6e48990b [2023-04-18T02:47:03.139Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-04-18T02:47:04.546Z] ---> 55962baebace [2023-04-18T02:47:04.546Z] Step 20/25 : EXPOSE 59900 [2023-04-18T02:47:04.546Z] ---> Running in 7693a3c1bfc9 [2023-04-18T02:47:04.815Z] Removing intermediate container 7693a3c1bfc9 [2023-04-18T02:47:04.815Z] ---> 335e1107b0d5 [2023-04-18T02:47:04.815Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-04-18T02:47:05.081Z] ---> Running in 4369c3e85029 [2023-04-18T02:47:05.354Z] Removing intermediate container 4369c3e85029 [2023-04-18T02:47:05.354Z] ---> fdbc245934f5 [2023-04-18T02:47:05.354Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T02:47:05.354Z] ---> Running in a87cac13a553 [2023-04-18T02:47:05.621Z] Removing intermediate container a87cac13a553 [2023-04-18T02:47:05.621Z] ---> aeb555c27adf [2023-04-18T02:47:05.621Z] Step 23/25 : LABEL arch=arm64 [2023-04-18T02:47:05.621Z] ---> Running in 44b593fd23e4 [2023-04-18T02:47:05.888Z] Removing intermediate container 44b593fd23e4 [2023-04-18T02:47:05.888Z] ---> 701daaeac3f3 [2023-04-18T02:47:05.888Z] Step 24/25 : LABEL git_sha=156beb4bb4cc3957e05b7219f54451536aed9ec4 [2023-04-18T02:47:06.155Z] ---> Running in 1aa86a180e73 [2023-04-18T02:47:06.422Z] Removing intermediate container 1aa86a180e73 [2023-04-18T02:47:06.422Z] ---> e7476f55c70f [2023-04-18T02:47:06.422Z] Step 25/25 : LABEL version=3.0.0-dev.32 [2023-04-18T02:47:06.422Z] ---> Running in fc9bbc704c76 [2023-04-18T02:47:06.688Z] Removing intermediate container fc9bbc704c76 [2023-04-18T02:47:06.688Z] ---> 548466e7997a [2023-04-18T02:47:06.688Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T02:47:06.688Z] Successfully built 548466e7997a [2023-04-18T02:47:06.688Z] 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-04-18T02:47:06.804Z] provisioning config files... [2023-04-18T02:47:06.816Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/104@tmp/config13683745779515655231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:47:07.143Z] ---> docker-login.sh [2023-04-18T02:47:07.143Z] nexus3.edgexfoundry.org:10001 [2023-04-18T02:47:07.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:47:07.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:47:07.411Z] Configure a credential helper to remove this warning. See [2023-04-18T02:47:07.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:47:07.411Z] [2023-04-18T02:47:07.411Z] Login Succeeded [2023-04-18T02:47:07.411Z] nexus3.edgexfoundry.org:10002 [2023-04-18T02:47:07.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:47:07.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:47:07.678Z] Configure a credential helper to remove this warning. See [2023-04-18T02:47:07.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:47:07.678Z] [2023-04-18T02:47:07.678Z] Login Succeeded [2023-04-18T02:47:07.678Z] nexus3.edgexfoundry.org:10003 [2023-04-18T02:47:07.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:47:08.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:47:08.211Z] Configure a credential helper to remove this warning. See [2023-04-18T02:47:08.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:47:08.211Z] [2023-04-18T02:47:08.211Z] Login Succeeded [2023-04-18T02:47:08.211Z] nexus3.edgexfoundry.org:10004 [2023-04-18T02:47:08.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:47:08.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:47:08.476Z] Configure a credential helper to remove this warning. See [2023-04-18T02:47:08.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:47:08.476Z] [2023-04-18T02:47:08.476Z] Login Succeeded [2023-04-18T02:47:08.476Z] docker.io [2023-04-18T02:47:08.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:47:09.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:47:09.006Z] Configure a credential helper to remove this warning. See [2023-04-18T02:47:09.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:47:09.006Z] [2023-04-18T02:47:09.006Z] Login Succeeded [2023-04-18T02:47:09.006Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T02:47:09.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T02:47:09.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T02:47:09.077Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-04-18T02:47:09.077Z] 156beb4bb4cc3957e05b7219f54451536aed9ec4 [2023-04-18T02:47:09.077Z] latest [2023-04-18T02:47:09.077Z] 3.0.0-dev.32 [2023-04-18T02:47:09.077Z] 156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 [2023-04-18T02:47:09.077Z] main [2023-04-18T02:47:09.077Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:09.426Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:09.764Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4 [2023-04-18T02:47:09.764Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-04-18T02:47:09.764Z] 8a783fb185ce: Preparing [2023-04-18T02:47:09.764Z] 84ce3d601b16: Preparing [2023-04-18T02:47:09.764Z] 35f00aca547b: Preparing [2023-04-18T02:47:09.764Z] 942e223da657: Preparing [2023-04-18T02:47:09.764Z] 26cbea5cba74: Preparing [2023-04-18T02:47:09.764Z] 26cbea5cba74: Layer already exists [2023-04-18T02:47:10.031Z] 942e223da657: Pushed [2023-04-18T02:47:10.031Z] 84ce3d601b16: Pushed [2023-04-18T02:47:10.031Z] 35f00aca547b: Pushed [2023-04-18T02:47:15.365Z] 8a783fb185ce: Pushed [2023-04-18T02:47:15.365Z] 156beb4bb4cc3957e05b7219f54451536aed9ec4: digest: sha256:6ccb57c79592798cb2367822d2187d0ebc4e8e704eb5f34eb35a8d26de284a91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:15.701Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:16.044Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-04-18T02:47:16.044Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-04-18T02:47:16.044Z] 8a783fb185ce: Preparing [2023-04-18T02:47:16.045Z] 84ce3d601b16: Preparing [2023-04-18T02:47:16.045Z] 35f00aca547b: Preparing [2023-04-18T02:47:16.045Z] 942e223da657: Preparing [2023-04-18T02:47:16.045Z] 26cbea5cba74: Preparing [2023-04-18T02:47:16.045Z] 35f00aca547b: Layer already exists [2023-04-18T02:47:16.045Z] 84ce3d601b16: Layer already exists [2023-04-18T02:47:16.045Z] 26cbea5cba74: Layer already exists [2023-04-18T02:47:16.045Z] 942e223da657: Layer already exists [2023-04-18T02:47:16.045Z] 8a783fb185ce: Layer already exists [2023-04-18T02:47:16.045Z] latest: digest: sha256:6ccb57c79592798cb2367822d2187d0ebc4e8e704eb5f34eb35a8d26de284a91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:16.390Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:16.720Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.32 [2023-04-18T02:47:16.720Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-04-18T02:47:16.720Z] 8a783fb185ce: Preparing [2023-04-18T02:47:16.720Z] 84ce3d601b16: Preparing [2023-04-18T02:47:16.720Z] 35f00aca547b: Preparing [2023-04-18T02:47:16.720Z] 942e223da657: Preparing [2023-04-18T02:47:16.720Z] 26cbea5cba74: Preparing [2023-04-18T02:47:16.720Z] 26cbea5cba74: Layer already exists [2023-04-18T02:47:16.720Z] 942e223da657: Layer already exists [2023-04-18T02:47:16.720Z] 35f00aca547b: Layer already exists [2023-04-18T02:47:16.720Z] 84ce3d601b16: Layer already exists [2023-04-18T02:47:16.720Z] 8a783fb185ce: Layer already exists [2023-04-18T02:47:16.720Z] 3.0.0-dev.32: digest: sha256:6ccb57c79592798cb2367822d2187d0ebc4e8e704eb5f34eb35a8d26de284a91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:17.054Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:17.384Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 [2023-04-18T02:47:17.384Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-04-18T02:47:17.384Z] 8a783fb185ce: Preparing [2023-04-18T02:47:17.384Z] 84ce3d601b16: Preparing [2023-04-18T02:47:17.384Z] 35f00aca547b: Preparing [2023-04-18T02:47:17.384Z] 942e223da657: Preparing [2023-04-18T02:47:17.384Z] 26cbea5cba74: Preparing [2023-04-18T02:47:17.384Z] 26cbea5cba74: Layer already exists [2023-04-18T02:47:17.384Z] 84ce3d601b16: Layer already exists [2023-04-18T02:47:17.384Z] 942e223da657: Layer already exists [2023-04-18T02:47:17.384Z] 8a783fb185ce: Layer already exists [2023-04-18T02:47:17.384Z] 35f00aca547b: Layer already exists [2023-04-18T02:47:17.384Z] 156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32: digest: sha256:6ccb57c79592798cb2367822d2187d0ebc4e8e704eb5f34eb35a8d26de284a91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:17.717Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:18.047Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-04-18T02:47:18.047Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-04-18T02:47:18.047Z] 8a783fb185ce: Preparing [2023-04-18T02:47:18.047Z] 84ce3d601b16: Preparing [2023-04-18T02:47:18.047Z] 35f00aca547b: Preparing [2023-04-18T02:47:18.047Z] 942e223da657: Preparing [2023-04-18T02:47:18.047Z] 26cbea5cba74: Preparing [2023-04-18T02:47:18.047Z] 26cbea5cba74: Layer already exists [2023-04-18T02:47:18.047Z] 35f00aca547b: Layer already exists [2023-04-18T02:47:18.047Z] 942e223da657: Layer already exists [2023-04-18T02:47:18.047Z] 8a783fb185ce: Layer already exists [2023-04-18T02:47:18.047Z] 84ce3d601b16: Layer already exists [2023-04-18T02:47:18.047Z] main: digest: sha256:6ccb57c79592798cb2367822d2187d0ebc4e8e704eb5f34eb35a8d26de284a91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T02:47:18.089Z] ===================================================== [Pipeline] echo [2023-04-18T02:47:18.096Z] taggedImages: [2023-04-18T02:47:18.096Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4 [2023-04-18T02:47:18.096Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-04-18T02:47:18.096Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.32 [2023-04-18T02:47:18.096Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 [2023-04-18T02:47:18.096Z] - 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-04-18T02:47:18.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T02:47:18.448Z] [2023-04-18T02:47:18.448Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:18.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T02:47:18.777Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T02:47:18.777Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T02:47:18.777Z] 04944245beec: Pulling fs layer [2023-04-18T02:47:18.777Z] 699f458cf7ca: Pulling fs layer [2023-04-18T02:47:18.777Z] 765212b225bb: Pulling fs layer [2023-04-18T02:47:18.777Z] f23df028b6ca: Pulling fs layer [2023-04-18T02:47:18.777Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T02:47:18.777Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T02:47:18.777Z] f23df028b6ca: Waiting [2023-04-18T02:47:18.777Z] d65c8cfc05b1: Waiting [2023-04-18T02:47:18.777Z] 2437ff75d9bd: Waiting [2023-04-18T02:47:18.777Z] 765212b225bb: Waiting [2023-04-18T02:47:19.043Z] 04944245beec: Verifying Checksum [2023-04-18T02:47:19.043Z] 04944245beec: Download complete [2023-04-18T02:47:19.043Z] 765212b225bb: Download complete [2023-04-18T02:47:19.043Z] f23df028b6ca: Download complete [2023-04-18T02:47:19.043Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T02:47:19.043Z] d65c8cfc05b1: Download complete [2023-04-18T02:47:19.043Z] 699f458cf7ca: Verifying Checksum [2023-04-18T02:47:19.043Z] 699f458cf7ca: Download complete [2023-04-18T02:47:19.625Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T02:47:19.625Z] 8998bd30e6a1: Download complete [2023-04-18T02:47:21.565Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T02:47:21.565Z] 2437ff75d9bd: Download complete [2023-04-18T02:47:22.971Z] 8998bd30e6a1: Pull complete [2023-04-18T02:47:23.552Z] 04944245beec: Pull complete [2023-04-18T02:47:24.956Z] 699f458cf7ca: Pull complete [2023-04-18T02:47:24.956Z] 765212b225bb: Pull complete [2023-04-18T02:47:25.540Z] f23df028b6ca: Pull complete [2023-04-18T02:47:25.807Z] d65c8cfc05b1: Pull complete [2023-04-18T02:47:38.105Z] 2437ff75d9bd: Pull complete [2023-04-18T02:47:38.105Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T02:47:38.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T02:47:38.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:47:38.292Z] prd-ubuntu20.04-docker-arm64-4c-16g-8847 does not seem to be running inside a container [2023-04-18T02:47:38.360Z] $ 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/104 -v /w/workspace/device-virtual-go/104:/w/workspace/device-virtual-go/104:rw,z -v /w/workspace/device-virtual-go/104@tmp:/w/workspace/device-virtual-go/104@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-04-18T02:47:40.896Z] $ docker top 4e128c42e6899c6816d5d34ae922c6ac144008a6055d5bf96dff653350a267fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:47:41.499Z] ---> job-cost.sh [2023-04-18T02:47:41.766Z] lf-activate-venv: SKIPPING [2023-04-18T02:47:41.766Z] INFO: No Stack... [2023-04-18T02:47:42.041Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T02:47:43.017Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T02:47:43.662Z] + cat /w/workspace/device-virtual-go/104/archives/cost.csv [2023-04-18T02:47:43.662Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T02:47:43.739Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] [2023-04-18T02:47:43.747Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] did not exist. Created. [2023-04-18T02:47:43.747Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T02:47:44.413Z] /w/workspace/device-virtual-go/104@tmp/durable-82f08057/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T02:47:45.062Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T02:47:45.082Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T02:47:45.133Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T02:47:45.144Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T02:47:45.164Z] $ docker stop --time=1 4e128c42e6899c6816d5d34ae922c6ac144008a6055d5bf96dff653350a267fd [2023-04-18T02:47:48.567Z] $ docker rm -f --volumes 4e128c42e6899c6816d5d34ae922c6ac144008a6055d5bf96dff653350a267fd [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-04-18T02:47:48.985Z] provisioning config files... [2023-04-18T02:47:48.993Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7512201934439996692tmp [Pipeline] { [Pipeline] sh [2023-04-18T02:47:49.284Z] + set +x [2023-04-18T02:47:49.284Z] + curl -s https://codecov.io/bash [2023-04-18T02:47:49.284Z] + bash -s -- [2023-04-18T02:47:49.284Z] [2023-04-18T02:47:49.284Z] _____ _ [2023-04-18T02:47:49.284Z] / ____| | | [2023-04-18T02:47:49.284Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T02:47:49.284Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T02:47:49.284Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T02:47:49.284Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T02:47:49.284Z] Bash-1.0.6 [2023-04-18T02:47:49.284Z] [2023-04-18T02:47:49.284Z] [2023-04-18T02:47:49.284Z] ==> git version 2.25.1 found [2023-04-18T02:47:49.284Z] ==> 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-04-18T02:47:49.284Z] Release-Date: 2020-01-08 [2023-04-18T02:47:49.284Z] 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-04-18T02:47:49.284Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T02:47:49.284Z] ==> Jenkins CI detected. [2023-04-18T02:47:49.284Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-04-18T02:47:49.284Z] project root: . [2023-04-18T02:47:49.284Z] --> token set from env [2023-04-18T02:47:49.284Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T02:47:49.284Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T02:47:49.284Z] ==> Python coveragepy not found [2023-04-18T02:47:49.284Z] ==> Searching for coverage reports in: [2023-04-18T02:47:49.284Z] + . [2023-04-18T02:47:49.284Z] -> Found 1 reports [2023-04-18T02:47:49.284Z] ==> Detecting git/mercurial file structure [2023-04-18T02:47:49.543Z] ==> Reading reports [2023-04-18T02:47:49.543Z] + ./coverage.out bytes=43063 [2023-04-18T02:47:49.543Z] ==> Appending adjustments [2023-04-18T02:47:49.543Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T02:47:49.543Z] + Found adjustments [2023-04-18T02:47:49.543Z] ==> Gzipping contents [2023-04-18T02:47:49.543Z] 8.0K /tmp/codecov.oQS4C1.gz [2023-04-18T02:47:49.543Z] ==> Uploading reports [2023-04-18T02:47:49.543Z] url: https://codecov.io [2023-04-18T02:47:49.543Z] query: branch=main&commit=156beb4bb4cc3957e05b7219f54451536aed9ec4&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T02:47:49.543Z] -> Pinging Codecov [2023-04-18T02:47:49.543Z] 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=156beb4bb4cc3957e05b7219f54451536aed9ec4&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T02:47:49.802Z] -> Uploading to [2023-04-18T02:47:49.802Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/5E52B4B073DB2E39498172D8E973AA87/156beb4bb4cc3957e05b7219f54451536aed9ec4/0cfedc05-5c4c-43b4-a45e-c25510cdf31d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T024749Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=929ddbbc883e445903b21bba254a5b1122c00f63e8c9809e301381d5c99b2b00 [2023-04-18T02:47:49.802Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T02:47:49.802Z] Dload Upload Total Spent Left Speed [2023-04-18T02:47:49.802Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 21245 --:--:-- --:--:-- --:--:-- 21245 [2023-04-18T02:47:50.060Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] } [2023-04-18T02:47:50.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-18T02:47:50.271Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-18T02:47:50.370Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:50.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T02:47:50.668Z] [2023-04-18T02:47:50.668Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:47:50.963Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T02:47:50.963Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-18T02:47:50.963Z] df9b9388f04a: Pulling fs layer [2023-04-18T02:47:50.963Z] 52dc419b0ee2: Pulling fs layer [2023-04-18T02:47:50.963Z] 25bc292e5bac: Pulling fs layer [2023-04-18T02:47:50.963Z] 114826534d7a: Pulling fs layer [2023-04-18T02:47:50.963Z] 4657fd5d0bcf: Pulling fs layer [2023-04-18T02:47:50.963Z] 6ad1cebc031e: Pulling fs layer [2023-04-18T02:47:50.963Z] 114826534d7a: Waiting [2023-04-18T02:47:50.963Z] 4657fd5d0bcf: Waiting [2023-04-18T02:47:50.963Z] 8a3aa393b2d8: Pulling fs layer [2023-04-18T02:47:50.963Z] 6ad1cebc031e: Waiting [2023-04-18T02:47:50.963Z] 8a3aa393b2d8: Waiting [2023-04-18T02:47:50.963Z] 25bc292e5bac: Verifying Checksum [2023-04-18T02:47:50.963Z] 25bc292e5bac: Download complete [2023-04-18T02:47:50.963Z] 52dc419b0ee2: Download complete [2023-04-18T02:47:50.963Z] 4657fd5d0bcf: Download complete [2023-04-18T02:47:50.963Z] df9b9388f04a: Verifying Checksum [2023-04-18T02:47:50.963Z] df9b9388f04a: Download complete [2023-04-18T02:47:51.221Z] df9b9388f04a: Pull complete [2023-04-18T02:47:51.221Z] 6ad1cebc031e: Verifying Checksum [2023-04-18T02:47:51.221Z] 6ad1cebc031e: Download complete [2023-04-18T02:47:51.221Z] 52dc419b0ee2: Pull complete [2023-04-18T02:47:51.221Z] 25bc292e5bac: Pull complete [2023-04-18T02:47:51.793Z] 114826534d7a: Verifying Checksum [2023-04-18T02:47:51.793Z] 114826534d7a: Download complete [2023-04-18T02:47:51.793Z] 8a3aa393b2d8: Verifying Checksum [2023-04-18T02:47:51.793Z] 8a3aa393b2d8: Download complete [2023-04-18T02:47:55.076Z] 114826534d7a: Pull complete [2023-04-18T02:47:55.076Z] 4657fd5d0bcf: Pull complete [2023-04-18T02:47:55.336Z] 6ad1cebc031e: Pull complete [2023-04-18T02:47:58.617Z] 8a3aa393b2d8: Pull complete [2023-04-18T02:47:58.617Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-18T02:47:58.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T02:47:58.617Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:47:58.687Z] prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container [2023-04-18T02:47:58.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-18T02:48:03.326Z] $ docker top 424541cd0eb3fd9c12e41642fa61958dc613f170613cdc54405d9a0ac58c073c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-18T02:48:03.388Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-04-18T02:48:03.663Z] + set -o pipefail [2023-04-18T02:48:03.663Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-04-18T02:48:10.225Z] [2023-04-18T02:48:10.225Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-04-18T02:48:10.225Z] [2023-04-18T02:48:10.225Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/7d106f80-c55c-443d-a548-3f5b64d0e8e3 [2023-04-18T02:48:10.225Z] [2023-04-18T02:48:10.225Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-18T02:48:10.225Z] [2023-04-18T02:48:10.225Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-18T02:48:10.225Z] [2023-04-18T02:48:10.792Z] [2023-04-18T02:48:10.792Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-18T02:48:10.792Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-18T02:48:10.792Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-18T02:48:10.808Z] $ docker stop --time=1 424541cd0eb3fd9c12e41642fa61958dc613f170613cdc54405d9a0ac58c073c [2023-04-18T02:48:13.809Z] $ docker rm -f --volumes 424541cd0eb3fd9c12e41642fa61958dc613f170613cdc54405d9a0ac58c073c [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-04-18T02:48:14.493Z] + git log --format=format:%s -1 156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] sh [2023-04-18T02:48:14.782Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T02:48:14.782Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:48:15.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T02:48:15.075Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:48:15.136Z] prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container [2023-04-18T02:48:15.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T02:48:15.590Z] $ docker top e6ebcde61140828f08c63dec1a7fd3e742212543f4321d93b035195f3058ec83 -eo pid,comm [2023-04-18T02:48:15.626Z] 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-04-18T02:48:15.626Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T02:48:15.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T02:48:15.665Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T02:48:15.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T02:48:15.778Z] $ docker exec e6ebcde61140828f08c63dec1a7fd3e742212543f4321d93b035195f3058ec83 ssh-agent [2023-04-18T02:48:15.874Z] SSH_AUTH_SOCK=/tmp/ssh-mY666zgINC9h/agent.33 [2023-04-18T02:48:15.874Z] SSH_AGENT_PID=39 [2023-04-18T02:48:15.879Z] Running ssh-add (command line suppressed) [2023-04-18T02:48:15.974Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17873144720812399645.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17873144720812399645.key) [2023-04-18T02:48:15.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T02:48:16.266Z] + git semver tag [2023-04-18T02:48:16.526Z] 2023-04-18 02:48:16,451 [run_tag] DEBUG tag force:False [2023-04-18T02:48:16.526Z] 2023-04-18 02:48:16,451 [check_head_tag] DEBUG check head tag [2023-04-18T02:48:16.526Z] 2023-04-18 02:48:16,452 [execute] INFO git cat-file --batch-check [2023-04-18T02:48:16.526Z] 2023-04-18 02:48:16,452 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-04-18T02:48:16.526Z] 2023-04-18 02:48:16,456 [execute] INFO git cat-file --batch [2023-04-18T02:48:16.526Z] 2023-04-18 02:48:16,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-04-18T02:48:16.526Z] 2023-04-18 02:48:16,479 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-04-18T02:48:16.526Z] 2023-04-18 02:48:16,480 [execute] INFO git tag -a v3.0.0-dev.32 -m v3.0.0-dev.32 [2023-04-18T02:48:16.526Z] 2023-04-18 02:48:16,480 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.32', '-m', 'v3.0.0-dev.32'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-18T02:48:16.526Z] 2023-04-18 02:48:16,484 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-04-18T02:48:16.526Z] 3.0.0-dev.32 [Pipeline] } [2023-04-18T02:48:16.541Z] $ docker exec --env ******** --env ******** e6ebcde61140828f08c63dec1a7fd3e742212543f4321d93b035195f3058ec83 ssh-agent -k [2023-04-18T02:48:16.631Z] unset SSH_AUTH_SOCK; [2023-04-18T02:48:16.632Z] unset SSH_AGENT_PID; [2023-04-18T02:48:16.632Z] echo Agent pid 39 killed; [2023-04-18T02:48:16.637Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T02:48:16.940Z] + git semver [Pipeline] } [2023-04-18T02:48:17.216Z] $ docker stop --time=1 e6ebcde61140828f08c63dec1a7fd3e742212543f4321d93b035195f3058ec83 [2023-04-18T02:48:18.456Z] $ docker rm -f --volumes e6ebcde61140828f08c63dec1a7fd3e742212543f4321d93b035195f3058ec83 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:48:18.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T02:48:18.848Z] [2023-04-18T02:48:18.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:48:19.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T02:48:19.142Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-18T02:48:19.142Z] ab5ef0e58194: Pulling fs layer [2023-04-18T02:48:19.142Z] 9712f1f96733: Pulling fs layer [2023-04-18T02:48:19.142Z] 63f879dbbcfc: Pulling fs layer [2023-04-18T02:48:19.142Z] 0d9ebad4ef96: Pulling fs layer [2023-04-18T02:48:19.142Z] e9a5061849ea: Pulling fs layer [2023-04-18T02:48:19.142Z] d747dcd14b5f: Pulling fs layer [2023-04-18T02:48:19.142Z] 2de7ff778b66: Pulling fs layer [2023-04-18T02:48:19.142Z] 0d9ebad4ef96: Waiting [2023-04-18T02:48:19.142Z] e9a5061849ea: Waiting [2023-04-18T02:48:19.142Z] d747dcd14b5f: Waiting [2023-04-18T02:48:19.142Z] 2de7ff778b66: Waiting [2023-04-18T02:48:19.142Z] 9712f1f96733: Verifying Checksum [2023-04-18T02:48:19.142Z] 9712f1f96733: Download complete [2023-04-18T02:48:19.403Z] 63f879dbbcfc: Verifying Checksum [2023-04-18T02:48:19.403Z] 63f879dbbcfc: Download complete [2023-04-18T02:48:19.661Z] e9a5061849ea: Verifying Checksum [2023-04-18T02:48:19.661Z] e9a5061849ea: Download complete [2023-04-18T02:48:19.661Z] d747dcd14b5f: Verifying Checksum [2023-04-18T02:48:19.661Z] d747dcd14b5f: Download complete [2023-04-18T02:48:19.661Z] 0d9ebad4ef96: Verifying Checksum [2023-04-18T02:48:19.661Z] 0d9ebad4ef96: Download complete [2023-04-18T02:48:19.661Z] ab5ef0e58194: Verifying Checksum [2023-04-18T02:48:19.661Z] ab5ef0e58194: Download complete [2023-04-18T02:48:19.661Z] 2de7ff778b66: Verifying Checksum [2023-04-18T02:48:22.974Z] ab5ef0e58194: Pull complete [2023-04-18T02:48:22.974Z] 9712f1f96733: Pull complete [2023-04-18T02:48:23.544Z] 63f879dbbcfc: Pull complete [2023-04-18T02:48:27.726Z] 0d9ebad4ef96: Pull complete [2023-04-18T02:48:27.726Z] e9a5061849ea: Pull complete [2023-04-18T02:48:27.726Z] d747dcd14b5f: Pull complete [2023-04-18T02:48:28.292Z] 2de7ff778b66: Pull complete [2023-04-18T02:48:28.551Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-18T02:48:28.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T02:48:28.551Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:48:28.627Z] prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container [2023-04-18T02:48:28.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-18T02:48:33.233Z] $ docker top e806ea3d08f0c6c7649f46b55d8e2d9ac60dd2ea860da5681f24e877ce2af14c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-18T02:48:33.300Z] provisioning config files... [2023-04-18T02:48:33.306Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1279007841829763544tmp [2023-04-18T02:48:33.316Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12655637902048349771tmp [2023-04-18T02:48:33.327Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12813526365961767977tmp [Pipeline] { [Pipeline] echo [2023-04-18T02:48:33.342Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:48:33.623Z] ---> sigul-configuration.sh [2023-04-18T02:48:33.623Z] gpg: directory `/root/.gnupg' created [2023-04-18T02:48:33.623Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-18T02:48:33.623Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-18T02:48:33.623Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-18T02:48:33.623Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-18T02:48:33.623Z] gpg: CAST5 encrypted data [2023-04-18T02:48:33.623Z] gpg: encrypted with 1 passphrase [2023-04-18T02:48:33.623Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-18T02:48:33.904Z] + mkdir /home/jenkins [2023-04-18T02:48:33.904Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-18T02:48:34.188Z] + 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-04-18T02:48:34.196Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:48:34.477Z] ---> sigul-install.sh [2023-04-18T02:48:34.477Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-18T02:48:34.762Z] + git tag --list [2023-04-18T02:48:34.762Z] v1.0.0 [2023-04-18T02:48:34.762Z] v1.1.0 [2023-04-18T02:48:34.762Z] v1.1.1 [2023-04-18T02:48:34.762Z] v1.2.1 [2023-04-18T02:48:34.762Z] v1.2.2 [2023-04-18T02:48:34.762Z] v1.2.3 [2023-04-18T02:48:34.762Z] v1.3.0 [2023-04-18T02:48:34.762Z] v1.3.1 [2023-04-18T02:48:34.762Z] v2.0.0 [2023-04-18T02:48:34.762Z] v2.1.0 [2023-04-18T02:48:34.762Z] v2.1.1 [2023-04-18T02:48:34.762Z] v2.1.1-dev.1 [2023-04-18T02:48:34.762Z] v2.1.1-dev.2 [2023-04-18T02:48:34.762Z] v2.2.0 [2023-04-18T02:48:34.762Z] v2.2.1-dev.1 [2023-04-18T02:48:34.762Z] v2.2.1-dev.2 [2023-04-18T02:48:34.762Z] v2.2.1-dev.3 [2023-04-18T02:48:34.762Z] v2.2.1-dev.4 [2023-04-18T02:48:34.762Z] v2.2.1-dev.5 [2023-04-18T02:48:34.762Z] v2.2.1-dev.6 [2023-04-18T02:48:34.762Z] v2.2.1-dev.7 [2023-04-18T02:48:34.762Z] v2.2.1-dev.8 [2023-04-18T02:48:34.762Z] v2.3.0 [2023-04-18T02:48:34.762Z] v2.3.0-dev.10 [2023-04-18T02:48:34.762Z] v2.3.0-dev.11 [2023-04-18T02:48:34.762Z] v2.3.0-dev.12 [2023-04-18T02:48:34.762Z] v2.3.0-dev.13 [2023-04-18T02:48:34.762Z] v2.3.0-dev.14 [2023-04-18T02:48:34.762Z] v2.3.0-dev.15 [2023-04-18T02:48:34.762Z] v2.3.0-dev.16 [2023-04-18T02:48:34.762Z] v2.3.0-dev.17 [2023-04-18T02:48:34.762Z] v2.3.0-dev.18 [2023-04-18T02:48:34.762Z] v2.3.0-dev.19 [2023-04-18T02:48:34.762Z] v2.3.0-dev.20 [2023-04-18T02:48:34.762Z] v2.3.0-dev.21 [2023-04-18T02:48:34.762Z] v2.3.0-dev.22 [2023-04-18T02:48:34.762Z] v2.3.0-dev.23 [2023-04-18T02:48:34.762Z] v2.3.0-dev.24 [2023-04-18T02:48:34.762Z] v2.3.0-dev.25 [2023-04-18T02:48:34.762Z] v2.3.0-dev.26 [2023-04-18T02:48:34.762Z] v2.3.0-dev.27 [2023-04-18T02:48:34.762Z] v2.3.0-dev.28 [2023-04-18T02:48:34.762Z] v2.3.0-dev.29 [2023-04-18T02:48:34.762Z] v2.3.0-dev.30 [2023-04-18T02:48:34.762Z] v2.3.0-dev.8 [2023-04-18T02:48:34.762Z] v2.3.0-dev.9 [2023-04-18T02:48:34.762Z] v3.0.0-dev.1 [2023-04-18T02:48:34.762Z] v3.0.0-dev.10 [2023-04-18T02:48:34.762Z] v3.0.0-dev.11 [2023-04-18T02:48:34.762Z] v3.0.0-dev.12 [2023-04-18T02:48:34.762Z] v3.0.0-dev.13 [2023-04-18T02:48:34.762Z] v3.0.0-dev.14 [2023-04-18T02:48:34.762Z] v3.0.0-dev.15 [2023-04-18T02:48:34.762Z] v3.0.0-dev.16 [2023-04-18T02:48:34.762Z] v3.0.0-dev.17 [2023-04-18T02:48:34.762Z] v3.0.0-dev.18 [2023-04-18T02:48:34.762Z] v3.0.0-dev.19 [2023-04-18T02:48:34.762Z] v3.0.0-dev.2 [2023-04-18T02:48:34.762Z] v3.0.0-dev.20 [2023-04-18T02:48:34.762Z] v3.0.0-dev.21 [2023-04-18T02:48:34.762Z] v3.0.0-dev.22 [2023-04-18T02:48:34.762Z] v3.0.0-dev.23 [2023-04-18T02:48:34.762Z] v3.0.0-dev.24 [2023-04-18T02:48:34.762Z] v3.0.0-dev.25 [2023-04-18T02:48:34.762Z] v3.0.0-dev.26 [2023-04-18T02:48:34.762Z] v3.0.0-dev.27 [2023-04-18T02:48:34.762Z] v3.0.0-dev.28 [2023-04-18T02:48:34.762Z] v3.0.0-dev.29 [2023-04-18T02:48:34.762Z] v3.0.0-dev.3 [2023-04-18T02:48:34.762Z] v3.0.0-dev.30 [2023-04-18T02:48:34.762Z] v3.0.0-dev.31 [2023-04-18T02:48:34.762Z] v3.0.0-dev.32 [2023-04-18T02:48:34.762Z] v3.0.0-dev.4 [2023-04-18T02:48:34.762Z] v3.0.0-dev.5 [2023-04-18T02:48:34.762Z] v3.0.0-dev.6 [2023-04-18T02:48:34.762Z] v3.0.0-dev.7 [2023-04-18T02:48:34.762Z] v3.0.0-dev.8 [2023-04-18T02:48:34.762Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-18T02:48:35.047Z] + lftools sign git-tag v3.0.0-dev.32 [2023-04-18T02:48:35.615Z] Signing Git tag with Sigul... [2023-04-18T02:48:35.615Z] Signing v3.0.0-dev.32 [Pipeline] echo [2023-04-18T02:48:35.882Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:48:36.165Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-18T02:48:36.172Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-18T02:48:36.194Z] $ docker stop --time=1 e806ea3d08f0c6c7649f46b55d8e2d9ac60dd2ea860da5681f24e877ce2af14c [2023-04-18T02:48:37.479Z] $ docker rm -f --volumes e806ea3d08f0c6c7649f46b55d8e2d9ac60dd2ea860da5681f24e877ce2af14c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-18T02:48:37.865Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T02:48:37.865Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:48:38.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T02:48:38.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:48:38.227Z] prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container [2023-04-18T02:48:38.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T02:48:38.588Z] $ docker top e24d05d929c7fde5bd571e997314ad489a4400d7fde6887d8b27744862b781e1 -eo pid,comm [2023-04-18T02:48:38.630Z] 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-04-18T02:48:38.630Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T02:48:38.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T02:48:38.672Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T02:48:38.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T02:48:38.787Z] $ docker exec e24d05d929c7fde5bd571e997314ad489a4400d7fde6887d8b27744862b781e1 ssh-agent [2023-04-18T02:48:38.878Z] SSH_AUTH_SOCK=/tmp/ssh-FgQGJLFk1h4S/agent.31 [2023-04-18T02:48:38.878Z] SSH_AGENT_PID=37 [2023-04-18T02:48:38.882Z] Running ssh-add (command line suppressed) [2023-04-18T02:48:38.986Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11964386269814181298.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11964386269814181298.key) [2023-04-18T02:48:38.995Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T02:48:39.286Z] + git semver bump pre [2023-04-18T02:48:39.546Z] 2023-04-18 02:48:39,455 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-04-18T02:48:39.546Z] 2023-04-18 02:48:39,455 [bump_version] DEBUG bumping version:3.0.0-dev.32 on axis:pre with prefix:dev [2023-04-18T02:48:39.546Z] 2023-04-18 02:48:39,455 [bump_version] DEBUG bumped version:3.0.0-dev.33 [2023-04-18T02:48:39.546Z] 2023-04-18 02:48:39,455 [write_version] DEBUG write version:3.0.0-dev.33 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-04-18T02:48:39.546Z] 2023-04-18 02:48:39,455 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-04-18T02:48:39.546Z] 2023-04-18 02:48:39,455 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-04-18T02:48:39.546Z] 2023-04-18 02:48:39,457 [execute] INFO git cat-file --batch-check [2023-04-18T02:48:39.546Z] 2023-04-18 02:48:39,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T02:48:39.546Z] 2023-04-18 02:48:39,463 [execute] INFO git cat-file --batch [2023-04-18T02:48:39.547Z] 2023-04-18 02:48:39,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T02:48:39.547Z] 2023-04-18 02:48:39,468 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-04-18T02:48:39.547Z] 3.0.0-dev.33 [Pipeline] } [2023-04-18T02:48:39.561Z] $ docker exec --env ******** --env ******** e24d05d929c7fde5bd571e997314ad489a4400d7fde6887d8b27744862b781e1 ssh-agent -k [2023-04-18T02:48:39.653Z] unset SSH_AUTH_SOCK; [2023-04-18T02:48:39.653Z] unset SSH_AGENT_PID; [2023-04-18T02:48:39.653Z] echo Agent pid 37 killed; [2023-04-18T02:48:39.657Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T02:48:39.957Z] + git semver [Pipeline] } [2023-04-18T02:48:40.233Z] $ docker stop --time=1 e24d05d929c7fde5bd571e997314ad489a4400d7fde6887d8b27744862b781e1 [2023-04-18T02:48:41.531Z] $ docker rm -f --volumes e24d05d929c7fde5bd571e997314ad489a4400d7fde6887d8b27744862b781e1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T02:48:41.856Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T02:48:41.856Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:48:42.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T02:48:42.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:48:42.213Z] prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container [2023-04-18T02:48:42.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T02:48:42.579Z] $ docker top 0393e716456738e059060d8db567d1a422b15521e0f3ab7d2144c635a7d6c708 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T02:48:42.656Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T02:48:42.656Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T02:48:42.770Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T02:48:42.777Z] $ docker exec 0393e716456738e059060d8db567d1a422b15521e0f3ab7d2144c635a7d6c708 ssh-agent [2023-04-18T02:48:42.875Z] SSH_AUTH_SOCK=/tmp/ssh-um3J4lMY2iQz/agent.32 [2023-04-18T02:48:42.875Z] SSH_AGENT_PID=38 [2023-04-18T02:48:42.879Z] Running ssh-add (command line suppressed) [2023-04-18T02:48:42.983Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16486632074939818051.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16486632074939818051.key) [2023-04-18T02:48:42.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T02:48:43.275Z] + git semver push [2023-04-18T02:48:43.536Z] 2023-04-18 02:48:43,443 [run_push] DEBUG push [2023-04-18T02:48:43.537Z] 2023-04-18 02:48:43,443 [execute] INFO git cat-file --batch-check [2023-04-18T02:48:43.537Z] 2023-04-18 02:48:43,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T02:48:43.537Z] 2023-04-18 02:48:43,448 [execute] INFO git rev-list a671f7d848cbfaf99bfc459949e92f2445f8a879 -- [2023-04-18T02:48:43.537Z] 2023-04-18 02:48:43,448 [execute] DEBUG Popen(['git', 'rev-list', 'a671f7d848cbfaf99bfc459949e92f2445f8a879', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T02:48:43.537Z] 2023-04-18 02:48:43,457 [execute] INFO git fetch -v origin [2023-04-18T02:48:43.537Z] 2023-04-18 02:48:43,457 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-18T02:48:44.105Z] 2023-04-18 02:48:43,967 [run_push] DEBUG no remote changes detected [2023-04-18T02:48:44.105Z] 2023-04-18 02:48:43,967 [execute] INFO git push origin semver [2023-04-18T02:48:44.105Z] 2023-04-18 02:48:43,968 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T02:48:45.043Z] 2023-04-18 02:48:44,785 [run_push] DEBUG push all version tags [2023-04-18T02:48:45.043Z] 2023-04-18 02:48:44,786 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-18T02:48:45.043Z] 2023-04-18 02:48:44,786 [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-04-18T02:48:45.612Z] 2023-04-18 02:48:45,561 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-04-18T02:48:45.612Z] 3.0.0-dev.33 [Pipeline] } [2023-04-18T02:48:45.626Z] $ docker exec --env ******** --env ******** 0393e716456738e059060d8db567d1a422b15521e0f3ab7d2144c635a7d6c708 ssh-agent -k [2023-04-18T02:48:45.730Z] unset SSH_AUTH_SOCK; [2023-04-18T02:48:45.731Z] unset SSH_AGENT_PID; [2023-04-18T02:48:45.731Z] echo Agent pid 38 killed; [2023-04-18T02:48:45.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T02:48:46.034Z] + git semver [Pipeline] } [2023-04-18T02:48:46.311Z] $ docker stop --time=1 0393e716456738e059060d8db567d1a422b15521e0f3ab7d2144c635a7d6c708 [2023-04-18T02:48:47.599Z] $ docker rm -f --volumes 0393e716456738e059060d8db567d1a422b15521e0f3ab7d2144c635a7d6c708 [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-04-18T02:48:48.215Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-04-18T02:48:48.215Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-04-18T02:48:48.215Z] total 16 [2023-04-18T02:48:48.215Z] drwxr-xr-x 3 root root 4096 Apr 18 02:37 . [2023-04-18T02:48:48.215Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 02:48 .. [2023-04-18T02:48:48.215Z] drwxr-xr-x 2 root root 4096 Apr 18 02:37 cost [2023-04-18T02:48:48.215Z] -rw-r--r-- 1 root root 89 Apr 18 02:37 cost.csv [2023-04-18T02:48:48.215Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-04-18T02:48:48.215Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-04-18T02:48:48.215Z] total 16 [2023-04-18T02:48:48.215Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 02:37 . [2023-04-18T02:48:48.215Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 02:48 .. [2023-04-18T02:48:48.215Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 02:37 cost [2023-04-18T02:48:48.215Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 18 02:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:48:48.503Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:48:49.359Z] ---> package-listing.sh [2023-04-18T02:48:49.359Z] ++ facter osfamily [2023-04-18T02:48:49.359Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T02:48:49.618Z] + OS_FAMILY=debian [2023-04-18T02:48:49.618Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-04-18T02:48:49.618Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T02:48:49.619Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T02:48:49.619Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T02:48:49.619Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T02:48:49.619Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-04-18T02:48:49.619Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T02:48:49.619Z] + case "${OS_FAMILY}" in [2023-04-18T02:48:49.619Z] + dpkg -l [2023-04-18T02:48:49.619Z] + grep '^ii' [2023-04-18T02:48:49.619Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T02:48:49.619Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T02:48:49.619Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T02:48:49.619Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-04-18T02:48:49.619Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-04-18T02:48:49.619Z] + 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-04-18T02:48:49.629Z] 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-04-18T02:48:49.902Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:48:50.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T02:48:50.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:48:50.593Z] prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container [2023-04-18T02:48:50.673Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T02:48:50.898Z] $ docker top 9fd5008a43c9a8273ea74dba5e9f3e3b8f661cbf7271fa36c10f4ef88a09c92c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T02:48:51.240Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T02:48:51.523Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T02:48:51.806Z] + ls /var/log/sa-host [2023-04-18T02:48:51.806Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T02:48:51.948Z] provisioning config files... [2023-04-18T02:48:51.955Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1394006570446180051tmp [Pipeline] { [Pipeline] echo [2023-04-18T02:48:51.969Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:48:52.251Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T02:48:52.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:48:52.584Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T02:48:52.592Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:48:52.873Z] ---> sudo-logs.sh [2023-04-18T02:48:52.873Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T02:48:52.908Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:48:53.188Z] ---> job-cost.sh [2023-04-18T02:48:53.188Z] lf-activate-venv: SKIPPING [2023-04-18T02:48:53.188Z] DEBUG: total: 0.2199999988079071 [2023-04-18T02:48:53.188Z] INFO: Retrieving Stack Cost... [2023-04-18T02:48:53.446Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T02:48:54.013Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T02:48:54.023Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:48:54.304Z] ---> logs-deploy.sh [2023-04-18T02:48:54.304Z] lf-activate-venv: SKIPPING [2023-04-18T02:48:54.304Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/104 [2023-04-18T02:48:54.304Z] INFO: archiving workspace using pattern(s): [2023-04-18T02:48:55.241Z] Archives upload complete. [2023-04-18T02:48:55.241Z] INFO: archiving logs to Nexus