Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53a713b286b98fea7a803b04fd4711df4e3dc4c9 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-ssh17875373610874623810.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh5692725893167333397.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh9211008907716159492.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh6829383770707181296.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-ssh18140958525004249801.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5013 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 > 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 Avoid second fetch Checking out Revision 53a713b286b98fea7a803b04fd4711df4e3dc4c9 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#423)" > git config core.sparsecheckout # timeout=10 > git checkout -f 53a713b286b98fea7a803b04fd4711df4e3dc4c9 # timeout=10 > git rev-list --no-walk 83fb2e95e5e72747d7a272c489488621ada49dbc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-31T14:54:56.723Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-31T14:54:56.787Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-31T14:54:56.810Z] ========================================================= [2023-08-31T14:54:56.810Z] EdgeX Global Pipelines Version Info [2023-08-31T14:54:56.810Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:54:57.524Z] ------------------- [2023-08-31T14:54:57.524Z] stable info: [2023-08-31T14:54:57.524Z] ------------------- [2023-08-31T14:54:57.524Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-31T14:54:57.524Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T14:54:57.524Z] Message: update stable to v1.0.253 [2023-08-31T14:54:58.093Z] ------------------- [2023-08-31T14:54:58.093Z] experimental info: [2023-08-31T14:54:58.093Z] ------------------- [2023-08-31T14:54:58.093Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-31T14:54:58.093Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T14:54:58.093Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-31T14:54:58.267Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-08-31T14:54:58.282Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-08-31T14:54:58.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-31T14:54:58.316Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-31T14:54:58.333Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-31T14:54:58.346Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-31T14:54:58.362Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-31T14:54:58.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-31T14:54:58.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-31T14:54:58.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-31T14:54:58.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-31T14:54:58.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-08-31T14:54:58.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-31T14:54:58.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-31T14:54:58.487Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T14:54:58.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T14:54:58.522Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T14:54:58.537Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T14:54:58.550Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-31T14:54:58.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-31T14:54:58.576Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-31T14:54:58.589Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-31T14:54:58.604Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-31T14:54:58.613Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-31T14:54:58.621Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-31T14:54:58.630Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-31T14:54:58.638Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-31T14:54:58.648Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-31T14:54:58.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-31T14:54:58.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-31T14:54:58.699Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53a713b286b98fea7a803b04fd4711df4e3dc4c9 [Pipeline] echo [2023-08-31T14:54:58.716Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53a713b [Pipeline] echo [2023-08-31T14:54:58.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T14:54:58.777Z] provisioning config files... [2023-08-31T14:54:58.790Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7530518366154350512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:54:59.092Z] ---> docker-login.sh [2023-08-31T14:54:59.092Z] nexus3.edgexfoundry.org:10001 [2023-08-31T14:54:59.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:54:59.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:54:59.661Z] Configure a credential helper to remove this warning. See [2023-08-31T14:54:59.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:54:59.661Z] [2023-08-31T14:54:59.661Z] Login Succeeded [2023-08-31T14:54:59.661Z] nexus3.edgexfoundry.org:10002 [2023-08-31T14:54:59.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:54:59.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:54:59.661Z] Configure a credential helper to remove this warning. See [2023-08-31T14:54:59.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:54:59.661Z] [2023-08-31T14:54:59.661Z] Login Succeeded [2023-08-31T14:54:59.920Z] nexus3.edgexfoundry.org:10003 [2023-08-31T14:54:59.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:54:59.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:54:59.920Z] Configure a credential helper to remove this warning. See [2023-08-31T14:54:59.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:54:59.920Z] [2023-08-31T14:54:59.920Z] Login Succeeded [2023-08-31T14:54:59.920Z] nexus3.edgexfoundry.org:10004 [2023-08-31T14:54:59.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:54:59.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:54:59.920Z] Configure a credential helper to remove this warning. See [2023-08-31T14:54:59.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:54:59.920Z] [2023-08-31T14:54:59.920Z] Login Succeeded [2023-08-31T14:54:59.920Z] docker.io [2023-08-31T14:55:00.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:55:00.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:55:00.438Z] Configure a credential helper to remove this warning. See [2023-08-31T14:55:00.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:55:00.438Z] [2023-08-31T14:55:00.438Z] Login Succeeded [2023-08-31T14:55:00.438Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T14:55:00.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-31T14:55:00.850Z] + git rev-list -1 --merges 53a713b286b98fea7a803b04fd4711df4e3dc4c9~1..53a713b286b98fea7a803b04fd4711df4e3dc4c9 [Pipeline] echo [2023-08-31T14:55:00.925Z] -----------> git rev-list -1 --merges 53a713b286b98fea7a803b04fd4711df4e3dc4c9~1..53a713b286b98fea7a803b04fd4711df4e3dc4c9 53a713b286b98fea7a803b04fd4711df4e3dc4c9 [false] [Pipeline] sh [2023-08-31T14:55:01.233Z] + git log --format=format:%s -1 53a713b286b98fea7a803b04fd4711df4e3dc4c9 [Pipeline] echo [2023-08-31T14:55:01.247Z] ========================================================= [2023-08-31T14:55:01.247Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-31T14:55:01.247Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T14:55:01.620Z] + git log --format=format:%s -1 53a713b286b98fea7a803b04fd4711df4e3dc4c9 [Pipeline] echo [2023-08-31T14:55:01.629Z] [semverPrep] GIT_COMMIT: 53a713b286b98fea7a803b04fd4711df4e3dc4c9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#423) [Pipeline] echo [2023-08-31T14:55:01.637Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-31T14:55:02.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T14:55:02.012Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-31T14:55:02.012Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-31T14:55:02.012Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-31T14:55:02.012Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-31T14:55:02.012Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-31T14:55:02.012Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:55:02.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T14:55:02.441Z] [2023-08-31T14:55:02.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:55:02.750Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T14:55:02.751Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-31T14:55:02.751Z] b85a868b505f: Pulling fs layer [2023-08-31T14:55:02.751Z] e2be974225ed: Pulling fs layer [2023-08-31T14:55:02.751Z] 339a4e72a1f5: Pulling fs layer [2023-08-31T14:55:02.751Z] 988bab9f4d93: Pulling fs layer [2023-08-31T14:55:02.751Z] 1469e6f7b9e6: Pulling fs layer [2023-08-31T14:55:02.751Z] eaf3925da568: Pulling fs layer [2023-08-31T14:55:02.751Z] bab4dde63d76: Pulling fs layer [2023-08-31T14:55:02.751Z] bde34c3a00c8: Pulling fs layer [2023-08-31T14:55:02.751Z] b352a97aabf1: Pulling fs layer [2023-08-31T14:55:02.751Z] 4872d77fe225: Pulling fs layer [2023-08-31T14:55:02.751Z] 5851b861e8e6: Pulling fs layer [2023-08-31T14:55:02.751Z] bab4dde63d76: Waiting [2023-08-31T14:55:02.751Z] bde34c3a00c8: Waiting [2023-08-31T14:55:02.751Z] b352a97aabf1: Waiting [2023-08-31T14:55:02.751Z] 4872d77fe225: Waiting [2023-08-31T14:55:02.751Z] 5851b861e8e6: Waiting [2023-08-31T14:55:02.751Z] 988bab9f4d93: Waiting [2023-08-31T14:55:02.751Z] 1469e6f7b9e6: Waiting [2023-08-31T14:55:02.751Z] eaf3925da568: Waiting [2023-08-31T14:55:02.751Z] e2be974225ed: Verifying Checksum [2023-08-31T14:55:02.751Z] e2be974225ed: Download complete [2023-08-31T14:55:02.751Z] 988bab9f4d93: Verifying Checksum [2023-08-31T14:55:02.751Z] 988bab9f4d93: Download complete [2023-08-31T14:55:03.010Z] 1469e6f7b9e6: Verifying Checksum [2023-08-31T14:55:03.010Z] 1469e6f7b9e6: Download complete [2023-08-31T14:55:03.010Z] eaf3925da568: Verifying Checksum [2023-08-31T14:55:03.010Z] eaf3925da568: Download complete [2023-08-31T14:55:03.010Z] 339a4e72a1f5: Verifying Checksum [2023-08-31T14:55:03.010Z] 339a4e72a1f5: Download complete [2023-08-31T14:55:03.010Z] bde34c3a00c8: Download complete [2023-08-31T14:55:03.010Z] b352a97aabf1: Verifying Checksum [2023-08-31T14:55:03.010Z] b352a97aabf1: Download complete [2023-08-31T14:55:03.010Z] 4872d77fe225: Verifying Checksum [2023-08-31T14:55:03.010Z] 4872d77fe225: Download complete [2023-08-31T14:55:03.010Z] 5851b861e8e6: Download complete [2023-08-31T14:55:03.010Z] b85a868b505f: Verifying Checksum [2023-08-31T14:55:03.010Z] b85a868b505f: Download complete [2023-08-31T14:55:03.270Z] bab4dde63d76: Verifying Checksum [2023-08-31T14:55:03.270Z] bab4dde63d76: Download complete [2023-08-31T14:55:04.211Z] b85a868b505f: Pull complete [2023-08-31T14:55:04.469Z] e2be974225ed: Pull complete [2023-08-31T14:55:04.728Z] 339a4e72a1f5: Pull complete [2023-08-31T14:55:04.728Z] 988bab9f4d93: Pull complete [2023-08-31T14:55:04.988Z] 1469e6f7b9e6: Pull complete [2023-08-31T14:55:05.248Z] eaf3925da568: Pull complete [2023-08-31T14:55:07.152Z] bab4dde63d76: Pull complete [2023-08-31T14:55:07.152Z] bde34c3a00c8: Pull complete [2023-08-31T14:55:07.152Z] b352a97aabf1: Pull complete [2023-08-31T14:55:07.152Z] 4872d77fe225: Pull complete [2023-08-31T14:55:07.152Z] 5851b861e8e6: Pull complete [2023-08-31T14:55:07.411Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-31T14:55:07.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T14:55:07.411Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:55:07.506Z] prd-ubuntu20.04-docker-8c-8g-5013 does not seem to be running inside a container [2023-08-31T14:55:07.547Z] $ 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-08-31T14:55:12.253Z] $ docker top 4ca297ced217bc23085d6ad3511b323f2a9742eebd219f2edf1e4924535b2dad -eo pid,comm [2023-08-31T14:55:12.299Z] 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-08-31T14:55:12.299Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T14:55:12.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T14:55:12.338Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T14:55:12.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T14:55:12.466Z] $ docker exec 4ca297ced217bc23085d6ad3511b323f2a9742eebd219f2edf1e4924535b2dad ssh-agent [2023-08-31T14:55:12.584Z] SSH_AUTH_SOCK=/tmp/ssh-k7X7nZcWX9w3/agent.33 [2023-08-31T14:55:12.584Z] SSH_AGENT_PID=39 [2023-08-31T14:55:12.591Z] Running ssh-add (command line suppressed) [2023-08-31T14:55:12.693Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8691550434115853055.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8691550434115853055.key) [2023-08-31T14:55:12.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T14:55:12.985Z] + git tag --points-at HEAD [Pipeline] } [2023-08-31T14:55:13.001Z] $ docker exec --env ******** --env ******** 4ca297ced217bc23085d6ad3511b323f2a9742eebd219f2edf1e4924535b2dad ssh-agent -k [2023-08-31T14:55:13.095Z] unset SSH_AUTH_SOCK; [2023-08-31T14:55:13.095Z] unset SSH_AGENT_PID; [2023-08-31T14:55:13.095Z] echo Agent pid 39 killed; [2023-08-31T14:55:13.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-31T14:55:13.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T14:55:13.125Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T14:55:13.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T14:55:13.239Z] $ docker exec 4ca297ced217bc23085d6ad3511b323f2a9742eebd219f2edf1e4924535b2dad ssh-agent [2023-08-31T14:55:13.337Z] SSH_AUTH_SOCK=/tmp/ssh-iFvq9yYOVsoP/agent.71 [2023-08-31T14:55:13.337Z] SSH_AGENT_PID=78 [2023-08-31T14:55:13.342Z] Running ssh-add (command line suppressed) [2023-08-31T14:55:13.444Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16582521292784572954.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16582521292784572954.key) [2023-08-31T14:55:13.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T14:55:13.748Z] + git semver init [2023-08-31T14:55:14.008Z] 2023-08-31 14:55:13,911 [run_init] DEBUG init version:0.0.0 force:False [2023-08-31T14:55:14.008Z] 2023-08-31 14:55:13,912 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-08-31T14:55:14.008Z] 2023-08-31 14:55:13,912 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-08-31T14:55:14.008Z] 2023-08-31 14:55:13,912 [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-08-31T14:55:14.943Z] 2023-08-31 14:55:14,931 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-08-31T14:55:14.943Z] 2023-08-31 14:55:14,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-08-31T14:55:14.943Z] 2023-08-31 14:55:14,932 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-31T14:55:14.943Z] 2023-08-31 14:55:14,932 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-31T14:55:14.943Z] 3.1.0-dev.9 [Pipeline] } [2023-08-31T14:55:15.218Z] $ docker exec --env ******** --env ******** 4ca297ced217bc23085d6ad3511b323f2a9742eebd219f2edf1e4924535b2dad ssh-agent -k [2023-08-31T14:55:15.311Z] unset SSH_AUTH_SOCK; [2023-08-31T14:55:15.312Z] unset SSH_AGENT_PID; [2023-08-31T14:55:15.312Z] echo Agent pid 78 killed; [2023-08-31T14:55:15.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T14:55:15.620Z] + git semver [Pipeline] } [2023-08-31T14:55:15.896Z] $ docker stop --time=1 4ca297ced217bc23085d6ad3511b323f2a9742eebd219f2edf1e4924535b2dad [2023-08-31T14:55:17.484Z] $ docker rm -f --volumes 4ca297ced217bc23085d6ad3511b323f2a9742eebd219f2edf1e4924535b2dad [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T14:55:17.935Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-31T14:55:18.197Z] Stashed 1 file(s) [Pipeline] echo [2023-08-31T14:55:18.202Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [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-08-31T14:55:18.355Z] provisioning config files... [2023-08-31T14:55:18.364Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14862202188105966737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:55:18.662Z] ---> docker-login.sh [2023-08-31T14:55:18.662Z] nexus3.edgexfoundry.org:10001 [2023-08-31T14:55:18.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:55:18.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:55:18.662Z] Configure a credential helper to remove this warning. See [2023-08-31T14:55:18.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:55:18.662Z] [2023-08-31T14:55:18.662Z] Login Succeeded [2023-08-31T14:55:18.662Z] nexus3.edgexfoundry.org:10002 [2023-08-31T14:55:18.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:55:18.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:55:18.662Z] Configure a credential helper to remove this warning. See [2023-08-31T14:55:18.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:55:18.662Z] [2023-08-31T14:55:18.662Z] Login Succeeded [2023-08-31T14:55:18.662Z] nexus3.edgexfoundry.org:10003 [2023-08-31T14:55:18.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:55:18.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:55:18.921Z] Configure a credential helper to remove this warning. See [2023-08-31T14:55:18.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:55:18.921Z] [2023-08-31T14:55:18.921Z] Login Succeeded [2023-08-31T14:55:18.921Z] nexus3.edgexfoundry.org:10004 [2023-08-31T14:55:18.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:55:18.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:55:18.921Z] Configure a credential helper to remove this warning. See [2023-08-31T14:55:18.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:55:18.921Z] [2023-08-31T14:55:18.921Z] Login Succeeded [2023-08-31T14:55:18.921Z] docker.io [2023-08-31T14:55:18.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:55:19.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:55:19.180Z] Configure a credential helper to remove this warning. See [2023-08-31T14:55:19.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:55:19.180Z] [2023-08-31T14:55:19.180Z] Login Succeeded [2023-08-31T14:55:19.180Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T14:55:19.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T14:55:19.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:55:19.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:55:19.276Z] ========================================================= [2023-08-31T14:55:19.276Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-31T14:55:19.276Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:55:19.584Z] + 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-08-31T14:55:19.584Z] Sending build context to Docker daemon 23.57MB [2023-08-31T14:55:19.584Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T14:55:19.584Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-31T14:55:19.584Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-31T14:55:19.584Z] 4db1b89c0bd1: Pulling fs layer [2023-08-31T14:55:19.584Z] 6911f1a30b25: Pulling fs layer [2023-08-31T14:55:19.584Z] e194b8c5c2a9: Pulling fs layer [2023-08-31T14:55:19.584Z] 6863d3e3a2b1: Pulling fs layer [2023-08-31T14:55:19.584Z] ec0bb842ea78: Pulling fs layer [2023-08-31T14:55:19.584Z] 40a00589a448: Pulling fs layer [2023-08-31T14:55:19.584Z] 6863d3e3a2b1: Waiting [2023-08-31T14:55:19.584Z] ec0bb842ea78: Waiting [2023-08-31T14:55:19.584Z] 6c08303d61cc: Pulling fs layer [2023-08-31T14:55:19.584Z] 798269fcf238: Pulling fs layer [2023-08-31T14:55:19.584Z] 40a00589a448: Waiting [2023-08-31T14:55:19.584Z] 6c08303d61cc: Waiting [2023-08-31T14:55:19.584Z] 798269fcf238: Waiting [2023-08-31T14:55:19.887Z] 6911f1a30b25: Download complete [2023-08-31T14:55:19.887Z] 6863d3e3a2b1: Verifying Checksum [2023-08-31T14:55:19.887Z] 6863d3e3a2b1: Download complete [2023-08-31T14:55:19.887Z] ec0bb842ea78: Verifying Checksum [2023-08-31T14:55:19.887Z] ec0bb842ea78: Download complete [2023-08-31T14:55:19.887Z] 4db1b89c0bd1: Verifying Checksum [2023-08-31T14:55:19.887Z] 4db1b89c0bd1: Download complete [2023-08-31T14:55:19.887Z] 40a00589a448: Verifying Checksum [2023-08-31T14:55:19.887Z] 40a00589a448: Download complete [2023-08-31T14:55:20.148Z] 4db1b89c0bd1: Pull complete [2023-08-31T14:55:20.148Z] 6911f1a30b25: Pull complete [2023-08-31T14:55:20.408Z] 798269fcf238: Verifying Checksum [2023-08-31T14:55:20.408Z] 798269fcf238: Download complete [2023-08-31T14:55:20.408Z] e194b8c5c2a9: Verifying Checksum [2023-08-31T14:55:20.408Z] e194b8c5c2a9: Download complete [2023-08-31T14:55:20.669Z] 6c08303d61cc: Verifying Checksum [2023-08-31T14:55:20.669Z] 6c08303d61cc: Download complete [2023-08-31T14:55:23.960Z] e194b8c5c2a9: Pull complete [2023-08-31T14:55:23.960Z] 6863d3e3a2b1: Pull complete [2023-08-31T14:55:23.960Z] ec0bb842ea78: Pull complete [2023-08-31T14:55:23.960Z] 40a00589a448: Pull complete [2023-08-31T14:55:25.860Z] 6c08303d61cc: Pull complete [2023-08-31T14:55:26.795Z] 798269fcf238: Pull complete [2023-08-31T14:55:26.795Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-31T14:55:26.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-31T14:55:26.795Z] ---> ec979cd7f677 [2023-08-31T14:55:26.795Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T14:55:33.311Z] Still waiting to schedule task [2023-08-31T14:55:33.311Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-31T14:55:33.399Z] ---> Running in 32fb409e4334 [2023-08-31T14:55:33.399Z] Removing intermediate container 32fb409e4334 [2023-08-31T14:55:33.399Z] ---> 86b87904ba8d [2023-08-31T14:55:33.399Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T14:55:33.399Z] ---> Running in cf089c9b4769 [2023-08-31T14:55:33.399Z] Removing intermediate container cf089c9b4769 [2023-08-31T14:55:33.399Z] ---> f3654ce76cdc [2023-08-31T14:55:33.399Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-31T14:55:33.399Z] ---> Running in 236d05a28879 [2023-08-31T14:55:33.657Z] Removing intermediate container 236d05a28879 [2023-08-31T14:55:33.657Z] ---> 558571209f82 [2023-08-31T14:55:33.657Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-31T14:55:33.657Z] ---> Running in 8cf80ea955b7 [2023-08-31T14:55:33.657Z] Removing intermediate container 8cf80ea955b7 [2023-08-31T14:55:33.657Z] ---> 21441872ed1e [2023-08-31T14:55:33.657Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T14:55:33.657Z] ---> Running in 6515a7d8e115 [2023-08-31T14:55:33.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T14:55:34.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T14:55:34.463Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T14:55:34.463Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-31T14:55:34.463Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T14:55:34.463Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T14:55:34.463Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T14:55:34.463Z] OK: 269 MiB in 57 packages [2023-08-31T14:55:35.416Z] Removing intermediate container 6515a7d8e115 [2023-08-31T14:55:35.416Z] ---> bba5b4131eda [2023-08-31T14:55:35.416Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-31T14:55:35.416Z] ---> a59825abf952 [2023-08-31T14:55:35.416Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T14:55:35.416Z] ---> Running in e99ab5ede19d [2023-08-31T14:56:31.795Z] Removing intermediate container e99ab5ede19d [2023-08-31T14:56:31.795Z] ---> 36a9621c4c95 [2023-08-31T14:56:31.795Z] Step 10/12 : COPY . . [2023-08-31T14:56:31.795Z] ---> 02154ef26e25 [2023-08-31T14:56:31.795Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T14:56:31.795Z] ---> Running in 06520f24b83f [2023-08-31T14:56:31.795Z] Removing intermediate container 06520f24b83f [2023-08-31T14:56:31.795Z] ---> b490a97128e8 [2023-08-31T14:56:31.795Z] Step 12/12 : RUN $MAKE [2023-08-31T14:56:31.795Z] ---> Running in 373a074d20d1 [2023-08-31T14:56:31.795Z] noop [2023-08-31T14:56:31.795Z] Removing intermediate container 373a074d20d1 [2023-08-31T14:56:31.795Z] ---> 6a59af109968 [2023-08-31T14:56:31.795Z] Successfully built 6a59af109968 [2023-08-31T14:56:31.795Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:56:32.114Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T14:56:32.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:56:32.188Z] prd-ubuntu20.04-docker-8c-8g-5013 does not seem to be running inside a container [2023-08-31T14:56:32.222Z] $ 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-08-31T14:56:32.875Z] $ docker top 1f9f5eacd171643cf1ffa47238eb3e51881c463dde47d15b71fe5728c09d1d40 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T14:56:33.206Z] + go version [2023-08-31T14:56:33.206Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-31T14:56:33.220Z] $ docker stop --time=1 1f9f5eacd171643cf1ffa47238eb3e51881c463dde47d15b71fe5728c09d1d40 [2023-08-31T14:56:34.519Z] $ docker rm -f --volumes 1f9f5eacd171643cf1ffa47238eb3e51881c463dde47d15b71fe5728c09d1d40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:56:34.909Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T14:56:34.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:56:34.985Z] prd-ubuntu20.04-docker-8c-8g-5013 does not seem to be running inside a container [2023-08-31T14:56:35.025Z] $ 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-08-31T14:56:35.326Z] $ docker top 6557e7588de5adc389db62c79f3048c94d515ff0be6a1ffd55755d9ce42b6a8e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T14:56:35.666Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-31T14:56:35.961Z] + make test [2023-08-31T14:56:35.961Z] go test ./... -coverprofile=coverage.out [2023-08-31T14:56:40.147Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-31T14:56:50.145Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-31T14:56:50.145Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements [2023-08-31T14:56:56.699Z] go vet ./... [2023-08-31T14:57:00.880Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T14:57:00.880Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T14:57:00.880Z] ./bin/test-attribution-txt.sh [2023-08-31T14:57:00.880Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-31T14:57:00.880Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-31T14:57:00.880Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-31T14:57:00.880Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-31T14:57:00.880Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-31T14:57:00.880Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-31T14:57:00.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T14:57:00.908Z] $ docker stop --time=1 6557e7588de5adc389db62c79f3048c94d515ff0be6a1ffd55755d9ce42b6a8e [2023-08-31T14:57:04.109Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5018 in /w/workspace/exfoundry_device-virtual-go_main [2023-08-31T14:57:04.706Z] $ docker rm -f --volumes 6557e7588de5adc389db62c79f3048c94d515ff0be6a1ffd55755d9ce42b6a8e [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-08-31T14:57:04.910Z] Running in /w/workspace/device-virtual-go/135 [Pipeline] { [Pipeline] checkout [2023-08-31T14:57:04.946Z] The recommended git tool is: git [2023-08-31T14:57:05.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T14:57:05.301Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-31T14:57:05.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T14:57:06.265Z] + ls -al . [2023-08-31T14:57:06.265Z] total 204 [2023-08-31T14:57:06.265Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 14:56 . [2023-08-31T14:57:06.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:54 .. [2023-08-31T14:57:06.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 14:55 .git [2023-08-31T14:57:06.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:54 .github [2023-08-31T14:57:06.265Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 14:54 .gitignore [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 14:54 .golangci.yml [2023-08-31T14:57:06.266Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 14:55 .semver [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 31 14:54 Attribution.txt [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 31 14:54 CHANGELOG.md [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 31 14:54 Dockerfile [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 14:54 GOVERNANCE.md [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 14:54 Jenkinsfile [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 14:54 LICENSE [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 31 14:54 Makefile [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 14:54 OWNERS.md [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 31 14:54 README.md [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 31 14:55 VERSION [2023-08-31T14:57:06.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:54 bin [2023-08-31T14:57:06.266Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:54 cmd [2023-08-31T14:57:06.266Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 31 14:56 coverage.out [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 31 14:54 go.mod [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 31 14:54 go.sum [2023-08-31T14:57:06.266Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:54 internal [2023-08-31T14:57:06.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:54 snap [2023-08-31T14:57:06.266Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 14:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:06.572Z] + 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=53a713b286b98fea7a803b04fd4711df4e3dc4c9 --label arch=amd64 --label version=3.1.0-dev.9 . [2023-08-31T14:57:06.572Z] Sending build context to Docker daemon 23.61MB [2023-08-31T14:57:06.572Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T14:57:06.572Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-31T14:57:06.572Z] ---> 6a59af109968 [2023-08-31T14:57:06.572Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T14:57:07.510Z] ---> Running in a9bbb90d004a [2023-08-31T14:57:07.786Z] Removing intermediate container a9bbb90d004a [2023-08-31T14:57:07.786Z] ---> 39a501818d71 [2023-08-31T14:57:07.786Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T14:57:08.045Z] ---> Running in 82e70955f989 [2023-08-31T14:57:08.303Z] Removing intermediate container 82e70955f989 [2023-08-31T14:57:08.303Z] ---> 54e488937c69 [2023-08-31T14:57:08.303Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-31T14:57:08.562Z] ---> Running in ab8973a03adf [2023-08-31T14:57:08.819Z] Removing intermediate container ab8973a03adf [2023-08-31T14:57:08.819Z] ---> 1909105f661a [2023-08-31T14:57:08.819Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-31T14:57:08.819Z] ---> Running in 1a353a0c9847 [2023-08-31T14:57:08.819Z] Removing intermediate container 1a353a0c9847 [2023-08-31T14:57:08.819Z] ---> abb90f3b467a [2023-08-31T14:57:08.819Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T14:57:08.819Z] ---> Running in fa10d10d1a0c [2023-08-31T14:57:09.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T14:57:09.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T14:57:09.597Z] OK: 269 MiB in 57 packages [2023-08-31T14:57:09.881Z] Removing intermediate container fa10d10d1a0c [2023-08-31T14:57:09.881Z] ---> 247194e16826 [2023-08-31T14:57:09.881Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-31T14:57:10.139Z] ---> 913de6f8ff2f [2023-08-31T14:57:10.139Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T14:57:10.139Z] ---> Running in 18f7151d1150 [2023-08-31T14:57:10.267Z] using credential edgex-jenkins-ssh [2023-08-31T14:57:10.283Z] Cloning the remote Git repository [2023-08-31T14:57:10.708Z] Removing intermediate container 18f7151d1150 [2023-08-31T14:57:10.708Z] ---> 51dd9ce95d4c [2023-08-31T14:57:10.708Z] Step 10/25 : COPY . . [2023-08-31T14:57:10.331Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-08-31T14:57:10.437Z] > git init /w/workspace/device-virtual-go/135 # timeout=10 [2023-08-31T14:57:10.586Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-31T14:57:10.588Z] > git --version # timeout=10 [2023-08-31T14:57:10.610Z] > git --version # 'git version 2.25.1' [2023-08-31T14:57:10.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T14:57:10.763Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T14:57:11.646Z] ---> 0a01619bb1c2 [2023-08-31T14:57:11.646Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T14:57:11.646Z] ---> Running in 603ae3aed88a [2023-08-31T14:57:11.647Z] Removing intermediate container 603ae3aed88a [2023-08-31T14:57:11.647Z] ---> 9de6df193b90 [2023-08-31T14:57:11.647Z] Step 12/25 : RUN $MAKE [2023-08-31T14:57:11.647Z] ---> Running in 7873c67bdd66 [2023-08-31T14:57:11.905Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-31T14:57:13.550Z] Avoid second fetch [2023-08-31T14:57:13.551Z] Checking out Revision 53a713b286b98fea7a803b04fd4711df4e3dc4c9 (main) [2023-08-31T14:57:12.734Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-31T14:57:12.752Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T14:57:13.564Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T14:57:13.616Z] > git checkout -f 53a713b286b98fea7a803b04fd4711df4e3dc4c9 # timeout=10 [2023-08-31T14:57:14.087Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#423)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T14:57:15.012Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-31T14:57:15.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T14:57:15.012Z] Dload Upload Total Spent Left Speed [2023-08-31T14:57:15.012Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-08-31T14:57:15.567Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-31T14:57:15.889Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-31T14:57:15.889Z] + sudo tee /etc/docker/daemon.new [2023-08-31T14:57:15.889Z] { [2023-08-31T14:57:15.889Z] "registry-mirrors": [ [2023-08-31T14:57:15.889Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-31T14:57:15.889Z] ], [2023-08-31T14:57:15.889Z] "bip": "10.250.0.254/24", [2023-08-31T14:57:15.889Z] "hosts": [ [2023-08-31T14:57:15.889Z] "tcp://0.0.0.0:5555", [2023-08-31T14:57:15.889Z] "unix:///var/run/docker.sock" [2023-08-31T14:57:15.889Z] ], [2023-08-31T14:57:15.889Z] "mtu": 1458, [2023-08-31T14:57:15.889Z] "selinux-enabled": true, [2023-08-31T14:57:15.889Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-31T14:57:15.889Z] } [Pipeline] sh [2023-08-31T14:57:16.219Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-31T14:57:16.547Z] + sudo service docker restart [2023-08-31T14:57:33.833Z] Removing intermediate container 7873c67bdd66 [2023-08-31T14:57:33.833Z] ---> 1fb67e619afa [2023-08-31T14:57:33.833Z] Step 13/25 : FROM alpine:3.17 [2023-08-31T14:57:33.833Z] 3.17: Pulling from library/alpine [2023-08-31T14:57:33.833Z] 9398808236ff: Pulling fs layer [2023-08-31T14:57:33.833Z] 9398808236ff: Verifying Checksum [2023-08-31T14:57:33.833Z] 9398808236ff: Download complete [2023-08-31T14:57:33.833Z] 9398808236ff: Pull complete [2023-08-31T14:57:33.833Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T14:57:33.833Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T14:57:33.833Z] ---> 1e0b8b5322fc [2023-08-31T14:57:33.833Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-31T14:57:33.833Z] ---> Running in 0b38cdad6565 [2023-08-31T14:57:33.833Z] Removing intermediate container 0b38cdad6565 [2023-08-31T14:57:33.833Z] ---> c06105a809de [2023-08-31T14:57:33.833Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-31T14:57:33.833Z] ---> Running in e0329e628d91 [2023-08-31T14:57:33.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T14:57:33.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T14:57:33.833Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T14:57:33.833Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T14:57:33.833Z] OK: 7 MiB in 16 packages [2023-08-31T14:57:33.833Z] Removing intermediate container e0329e628d91 [2023-08-31T14:57:33.833Z] ---> 065dafa9ca13 [2023-08-31T14:57:33.833Z] Step 16/25 : WORKDIR / [2023-08-31T14:57:34.093Z] ---> Running in b9eb20e86e76 [2023-08-31T14:57:34.093Z] Removing intermediate container b9eb20e86e76 [2023-08-31T14:57:34.093Z] ---> 607026cd697e [2023-08-31T14:57:34.093Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-31T14:57:34.093Z] ---> 9d3c9f48140a [2023-08-31T14:57:34.093Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-31T14:57:34.351Z] ---> c9aa76086236 [2023-08-31T14:57:34.351Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T14:57:34.803Z] provisioning config files... [2023-08-31T14:57:34.829Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/135@tmp/config2531428703037927928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:57:35.188Z] ---> docker-login.sh [2023-08-31T14:57:35.189Z] nexus3.edgexfoundry.org:10001 [2023-08-31T14:57:35.287Z] ---> 35abc8861951 [2023-08-31T14:57:35.287Z] Step 20/25 : EXPOSE 59900 [2023-08-31T14:57:35.287Z] ---> Running in 4c59d2640ca4 [2023-08-31T14:57:35.287Z] Removing intermediate container 4c59d2640ca4 [2023-08-31T14:57:35.287Z] ---> 14385f405797 [2023-08-31T14:57:35.287Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-31T14:57:35.287Z] ---> Running in e85e74ee140b [2023-08-31T14:57:35.287Z] Removing intermediate container e85e74ee140b [2023-08-31T14:57:35.287Z] ---> eef4eb9bdc7a [2023-08-31T14:57:35.287Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-31T14:57:35.287Z] ---> Running in 2103b5720434 [2023-08-31T14:57:35.287Z] Removing intermediate container 2103b5720434 [2023-08-31T14:57:35.287Z] ---> e61221a7a72a [2023-08-31T14:57:35.288Z] Step 23/25 : LABEL arch=amd64 [2023-08-31T14:57:35.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:57:35.546Z] ---> Running in 63eff987dfe4 [2023-08-31T14:57:35.546Z] Removing intermediate container 63eff987dfe4 [2023-08-31T14:57:35.546Z] ---> f35860b67b8b [2023-08-31T14:57:35.546Z] Step 24/25 : LABEL git_sha=53a713b286b98fea7a803b04fd4711df4e3dc4c9 [2023-08-31T14:57:35.546Z] ---> Running in da64462ea253 [2023-08-31T14:57:35.546Z] Removing intermediate container da64462ea253 [2023-08-31T14:57:35.546Z] ---> f88dd5fd31aa [2023-08-31T14:57:35.546Z] Step 25/25 : LABEL version=3.1.0-dev.9 [2023-08-31T14:57:35.546Z] ---> Running in acf512368e2a [2023-08-31T14:57:35.546Z] Removing intermediate container acf512368e2a [2023-08-31T14:57:35.546Z] ---> dfcf79edaef2 [2023-08-31T14:57:35.546Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T14:57:35.805Z] Successfully built dfcf79edaef2 [2023-08-31T14:57:35.805Z] 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-08-31T14:57:36.005Z] provisioning config files... [2023-08-31T14:57:36.012Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11919150864052394365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:57:36.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:57:36.055Z] Configure a credential helper to remove this warning. See [2023-08-31T14:57:36.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:57:36.055Z] [2023-08-31T14:57:36.055Z] Login Succeeded [2023-08-31T14:57:36.055Z] nexus3.edgexfoundry.org:10002 [2023-08-31T14:57:36.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:57:36.303Z] ---> docker-login.sh [2023-08-31T14:57:36.303Z] nexus3.edgexfoundry.org:10001 [2023-08-31T14:57:36.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:57:36.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:57:36.303Z] Configure a credential helper to remove this warning. See [2023-08-31T14:57:36.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:57:36.303Z] [2023-08-31T14:57:36.303Z] Login Succeeded [2023-08-31T14:57:36.303Z] nexus3.edgexfoundry.org:10002 [2023-08-31T14:57:36.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:57:36.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:57:36.303Z] Configure a credential helper to remove this warning. See [2023-08-31T14:57:36.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:57:36.303Z] [2023-08-31T14:57:36.303Z] Login Succeeded [2023-08-31T14:57:36.303Z] nexus3.edgexfoundry.org:10003 [2023-08-31T14:57:36.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:57:36.323Z] Configure a credential helper to remove this warning. See [2023-08-31T14:57:36.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:57:36.323Z] [2023-08-31T14:57:36.323Z] Login Succeeded [2023-08-31T14:57:36.323Z] nexus3.edgexfoundry.org:10003 [2023-08-31T14:57:36.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:57:36.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:57:36.562Z] Configure a credential helper to remove this warning. See [2023-08-31T14:57:36.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:57:36.562Z] [2023-08-31T14:57:36.562Z] Login Succeeded [2023-08-31T14:57:36.562Z] nexus3.edgexfoundry.org:10004 [2023-08-31T14:57:36.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:57:36.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:57:36.562Z] Configure a credential helper to remove this warning. See [2023-08-31T14:57:36.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:57:36.562Z] [2023-08-31T14:57:36.562Z] Login Succeeded [2023-08-31T14:57:36.562Z] docker.io [2023-08-31T14:57:36.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:57:36.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:57:36.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:57:36.601Z] Configure a credential helper to remove this warning. See [2023-08-31T14:57:36.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:57:36.601Z] [2023-08-31T14:57:36.601Z] Login Succeeded [2023-08-31T14:57:36.601Z] nexus3.edgexfoundry.org:10004 [2023-08-31T14:57:36.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:57:36.821Z] Configure a credential helper to remove this warning. See [2023-08-31T14:57:36.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:57:36.821Z] [2023-08-31T14:57:36.821Z] Login Succeeded [2023-08-31T14:57:36.821Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T14:57:36.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T14:57:36.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-08-31T14:57:36.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:57:36.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:57:36.868Z] Configure a credential helper to remove this warning. See [2023-08-31T14:57:36.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:57:36.868Z] [2023-08-31T14:57:36.868Z] Login Succeeded [2023-08-31T14:57:36.868Z] docker.io [Pipeline] echo [2023-08-31T14:57:36.886Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-08-31T14:57:36.886Z] 53a713b286b98fea7a803b04fd4711df4e3dc4c9 [2023-08-31T14:57:36.886Z] latest [2023-08-31T14:57:36.886Z] 3.1.0-dev.9 [2023-08-31T14:57:36.886Z] 53a713b286b98fea7a803b04fd4711df4e3dc4c9-3.1.0-dev.9 [2023-08-31T14:57:36.886Z] main [2023-08-31T14:57:36.886Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:37.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:57:37.216Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:53a713b286b98fea7a803b04fd4711df4e3dc4c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:37.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:57:37.401Z] Configure a credential helper to remove this warning. See [2023-08-31T14:57:37.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:57:37.401Z] [2023-08-31T14:57:37.401Z] Login Succeeded [2023-08-31T14:57:37.401Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T14:57:37.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-08-31T14:57:37.522Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:53a713b286b98fea7a803b04fd4711df4e3dc4c9 [2023-08-31T14:57:37.522Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-31T14:57:37.522Z] 4130d33c1974: Preparing [2023-08-31T14:57:37.522Z] c43510874a26: Preparing [2023-08-31T14:57:37.522Z] 5113488f05e5: Preparing [2023-08-31T14:57:37.522Z] 1f17d52cb542: Preparing [2023-08-31T14:57:37.522Z] 36b50b131297: Preparing [2023-08-31T14:57:37.522Z] 36b50b131297: Layer already exists [2023-08-31T14:57:37.522Z] 5113488f05e5: Pushed [2023-08-31T14:57:37.522Z] 1f17d52cb542: Pushed [2023-08-31T14:57:37.522Z] c43510874a26: Pushed [Pipeline] echo [2023-08-31T14:57:37.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:57:37.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:57:37.670Z] ========================================================= [2023-08-31T14:57:37.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-31T14:57:37.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:38.017Z] + 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-08-31T14:57:38.285Z] Sending build context to Docker daemon 11.92MB [2023-08-31T14:57:38.285Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T14:57:38.285Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-31T14:57:38.557Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-31T14:57:38.557Z] edb6bdbacee9: Pulling fs layer [2023-08-31T14:57:38.557Z] 5f9638ab2659: Pulling fs layer [2023-08-31T14:57:38.557Z] 8d51d6327a98: Pulling fs layer [2023-08-31T14:57:38.557Z] 8b374f2dd631: Pulling fs layer [2023-08-31T14:57:38.557Z] ec14aa9079de: Pulling fs layer [2023-08-31T14:57:38.557Z] 2f466654f4bb: Pulling fs layer [2023-08-31T14:57:38.557Z] 554e91adad29: Pulling fs layer [2023-08-31T14:57:38.557Z] ec14aa9079de: Waiting [2023-08-31T14:57:38.557Z] 2f466654f4bb: Waiting [2023-08-31T14:57:38.557Z] 554e91adad29: Waiting [2023-08-31T14:57:38.557Z] 8b374f2dd631: Waiting [2023-08-31T14:57:38.557Z] 5f9638ab2659: Verifying Checksum [2023-08-31T14:57:38.557Z] 5f9638ab2659: Download complete [2023-08-31T14:57:38.557Z] 8b374f2dd631: Verifying Checksum [2023-08-31T14:57:38.557Z] 8b374f2dd631: Download complete [2023-08-31T14:57:38.557Z] ec14aa9079de: Verifying Checksum [2023-08-31T14:57:38.557Z] ec14aa9079de: Download complete [2023-08-31T14:57:38.557Z] edb6bdbacee9: Verifying Checksum [2023-08-31T14:57:39.977Z] edb6bdbacee9: Pull complete [2023-08-31T14:57:39.977Z] 554e91adad29: Verifying Checksum [2023-08-31T14:57:39.977Z] 554e91adad29: Download complete [2023-08-31T14:57:40.058Z] 4130d33c1974: Pushed [2023-08-31T14:57:40.249Z] 5f9638ab2659: Pull complete [2023-08-31T14:57:40.318Z] 53a713b286b98fea7a803b04fd4711df4e3dc4c9: digest: sha256:f66fc4fff37ef6be26834b74b68a15ba4a3fe07661750c8dfdb4a4b1f2b119b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:40.644Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:40.953Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-08-31T14:57:40.953Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-31T14:57:40.953Z] 4130d33c1974: Preparing [2023-08-31T14:57:40.953Z] c43510874a26: Preparing [2023-08-31T14:57:40.953Z] 5113488f05e5: Preparing [2023-08-31T14:57:40.953Z] 1f17d52cb542: Preparing [2023-08-31T14:57:40.953Z] 36b50b131297: Preparing [2023-08-31T14:57:40.953Z] c43510874a26: Layer already exists [2023-08-31T14:57:40.953Z] 4130d33c1974: Layer already exists [2023-08-31T14:57:40.953Z] 5113488f05e5: Layer already exists [2023-08-31T14:57:40.953Z] 1f17d52cb542: Layer already exists [2023-08-31T14:57:40.953Z] 36b50b131297: Layer already exists [2023-08-31T14:57:40.953Z] latest: digest: sha256:f66fc4fff37ef6be26834b74b68a15ba4a3fe07661750c8dfdb4a4b1f2b119b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:41.223Z] 2f466654f4bb: Verifying Checksum [2023-08-31T14:57:41.223Z] 2f466654f4bb: Download complete [2023-08-31T14:57:41.223Z] 8d51d6327a98: Download complete [2023-08-31T14:57:41.284Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:41.593Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.9 [2023-08-31T14:57:41.593Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-31T14:57:41.593Z] 4130d33c1974: Preparing [2023-08-31T14:57:41.593Z] c43510874a26: Preparing [2023-08-31T14:57:41.593Z] 5113488f05e5: Preparing [2023-08-31T14:57:41.593Z] 1f17d52cb542: Preparing [2023-08-31T14:57:41.593Z] 36b50b131297: Preparing [2023-08-31T14:57:41.593Z] c43510874a26: Layer already exists [2023-08-31T14:57:41.593Z] 36b50b131297: Layer already exists [2023-08-31T14:57:41.593Z] 5113488f05e5: Layer already exists [2023-08-31T14:57:41.593Z] 4130d33c1974: Layer already exists [2023-08-31T14:57:41.593Z] 1f17d52cb542: Layer already exists [2023-08-31T14:57:41.593Z] 3.1.0-dev.9: digest: sha256:f66fc4fff37ef6be26834b74b68a15ba4a3fe07661750c8dfdb4a4b1f2b119b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:41.901Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:53a713b286b98fea7a803b04fd4711df4e3dc4c9-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:42.210Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:53a713b286b98fea7a803b04fd4711df4e3dc4c9-3.1.0-dev.9 [2023-08-31T14:57:42.210Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-31T14:57:42.210Z] 4130d33c1974: Preparing [2023-08-31T14:57:42.210Z] c43510874a26: Preparing [2023-08-31T14:57:42.210Z] 5113488f05e5: Preparing [2023-08-31T14:57:42.210Z] 1f17d52cb542: Preparing [2023-08-31T14:57:42.210Z] 36b50b131297: Preparing [2023-08-31T14:57:42.210Z] 1f17d52cb542: Layer already exists [2023-08-31T14:57:42.210Z] 36b50b131297: Layer already exists [2023-08-31T14:57:42.210Z] 4130d33c1974: Layer already exists [2023-08-31T14:57:42.210Z] c43510874a26: Layer already exists [2023-08-31T14:57:42.210Z] 5113488f05e5: Layer already exists [2023-08-31T14:57:42.210Z] 53a713b286b98fea7a803b04fd4711df4e3dc4c9-3.1.0-dev.9: digest: sha256:f66fc4fff37ef6be26834b74b68a15ba4a3fe07661750c8dfdb4a4b1f2b119b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:42.531Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:42.832Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-08-31T14:57:42.832Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-31T14:57:42.832Z] 4130d33c1974: Preparing [2023-08-31T14:57:42.832Z] c43510874a26: Preparing [2023-08-31T14:57:42.832Z] 5113488f05e5: Preparing [2023-08-31T14:57:42.832Z] 1f17d52cb542: Preparing [2023-08-31T14:57:42.832Z] 36b50b131297: Preparing [2023-08-31T14:57:42.832Z] 5113488f05e5: Layer already exists [2023-08-31T14:57:42.832Z] c43510874a26: Layer already exists [2023-08-31T14:57:42.832Z] 1f17d52cb542: Layer already exists [2023-08-31T14:57:42.832Z] 4130d33c1974: Layer already exists [2023-08-31T14:57:42.832Z] 36b50b131297: Layer already exists [2023-08-31T14:57:42.832Z] main: digest: sha256:f66fc4fff37ef6be26834b74b68a15ba4a3fe07661750c8dfdb4a4b1f2b119b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T14:57:42.871Z] ===================================================== [Pipeline] echo [2023-08-31T14:57:42.881Z] taggedImages: [2023-08-31T14:57:42.881Z] - nexus3.edgexfoundry.org:10004/device-virtual:53a713b286b98fea7a803b04fd4711df4e3dc4c9 [2023-08-31T14:57:42.881Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-08-31T14:57:42.881Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.9 [2023-08-31T14:57:42.881Z] - nexus3.edgexfoundry.org:10004/device-virtual:53a713b286b98fea7a803b04fd4711df4e3dc4c9-3.1.0-dev.9 [2023-08-31T14:57:42.881Z] - 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-08-31T14:57:43.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T14:57:43.262Z] [2023-08-31T14:57:43.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:43.565Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T14:57:43.565Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-31T14:57:43.565Z] 5eb5b503b376: Pulling fs layer [2023-08-31T14:57:43.565Z] 5c69ac0246d0: Pulling fs layer [2023-08-31T14:57:43.565Z] ec43610c2a17: Pulling fs layer [2023-08-31T14:57:43.565Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-31T14:57:43.565Z] 33b1e0a273af: Pulling fs layer [2023-08-31T14:57:43.565Z] 5d3b04190fa2: Pulling fs layer [2023-08-31T14:57:43.565Z] 2f39f015ded8: Pulling fs layer [2023-08-31T14:57:43.565Z] 33b1e0a273af: Waiting [2023-08-31T14:57:43.565Z] 5d3b04190fa2: Waiting [2023-08-31T14:57:43.565Z] 2f39f015ded8: Waiting [2023-08-31T14:57:43.565Z] 3a2ae6a8a46f: Waiting [2023-08-31T14:57:43.565Z] 5c69ac0246d0: Download complete [2023-08-31T14:57:43.565Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-31T14:57:43.565Z] 3a2ae6a8a46f: Download complete [2023-08-31T14:57:43.565Z] 33b1e0a273af: Download complete [2023-08-31T14:57:43.565Z] 5d3b04190fa2: Verifying Checksum [2023-08-31T14:57:43.565Z] 5d3b04190fa2: Download complete [2023-08-31T14:57:43.825Z] ec43610c2a17: Verifying Checksum [2023-08-31T14:57:43.825Z] ec43610c2a17: Download complete [2023-08-31T14:57:43.825Z] 5eb5b503b376: Verifying Checksum [2023-08-31T14:57:43.825Z] 5eb5b503b376: Download complete [2023-08-31T14:57:44.391Z] 2f39f015ded8: Download complete [2023-08-31T14:57:44.955Z] 5eb5b503b376: Pull complete [2023-08-31T14:57:45.213Z] 5c69ac0246d0: Pull complete [2023-08-31T14:57:45.782Z] ec43610c2a17: Pull complete [2023-08-31T14:57:45.782Z] 3a2ae6a8a46f: Pull complete [2023-08-31T14:57:46.042Z] 33b1e0a273af: Pull complete [2023-08-31T14:57:46.301Z] 5d3b04190fa2: Pull complete [2023-08-31T14:57:50.499Z] 2f39f015ded8: Pull complete [2023-08-31T14:57:50.499Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-31T14:57:50.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T14:57:50.499Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:57:50.580Z] prd-ubuntu20.04-docker-8c-8g-5013 does not seem to be running inside a container [2023-08-31T14:57:50.615Z] $ 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-08-31T14:57:53.716Z] 8d51d6327a98: Pull complete [2023-08-31T14:57:53.716Z] 8b374f2dd631: Pull complete [2023-08-31T14:57:53.716Z] ec14aa9079de: Pull complete [2023-08-31T14:57:55.295Z] $ docker top 1602a35b466628b7f2243bebe45c99567ab8ce678b0f57c15f808813d70831ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:57:55.722Z] ---> job-cost.sh [2023-08-31T14:57:55.722Z] lf-activate-venv: SKIPPING [2023-08-31T14:57:55.722Z] INFO: No Stack... [2023-08-31T14:57:55.982Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T14:57:56.242Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T14:57:56.530Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-08-31T14:57:56.530Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T14:57:56.543Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-135-stack-cost] [2023-08-31T14:57:56.552Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-135-stack-cost] did not exist. Created. [2023-08-31T14:57:56.552Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T14:57:56.849Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-31T14:57:56.880Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T14:57:56.887Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T14:57:56.912Z] $ docker stop --time=1 1602a35b466628b7f2243bebe45c99567ab8ce678b0f57c15f808813d70831ab [2023-08-31T14:57:58.055Z] $ docker rm -f --volumes 1602a35b466628b7f2243bebe45c99567ab8ce678b0f57c15f808813d70831ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-31T14:58:00.398Z] 2f466654f4bb: Pull complete [2023-08-31T14:58:03.802Z] 554e91adad29: Pull complete [2023-08-31T14:58:03.802Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-31T14:58:03.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-31T14:58:03.802Z] ---> 1e15ea492957 [2023-08-31T14:58:03.802Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T14:58:05.330Z] ---> Running in 446d27dc3359 [2023-08-31T14:58:05.600Z] Removing intermediate container 446d27dc3359 [2023-08-31T14:58:05.600Z] ---> d1245f186e97 [2023-08-31T14:58:05.600Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T14:58:05.600Z] ---> Running in 0711574474db [2023-08-31T14:58:05.870Z] Removing intermediate container 0711574474db [2023-08-31T14:58:05.870Z] ---> 7c05a0a37158 [2023-08-31T14:58:05.870Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-31T14:58:05.870Z] ---> Running in b621e0a77d3b [2023-08-31T14:58:06.160Z] Removing intermediate container b621e0a77d3b [2023-08-31T14:58:06.160Z] ---> c6012b68a66f [2023-08-31T14:58:06.160Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-31T14:58:06.428Z] ---> Running in e6fedde39c84 [2023-08-31T14:58:06.696Z] Removing intermediate container e6fedde39c84 [2023-08-31T14:58:06.696Z] ---> 3633be7918cc [2023-08-31T14:58:06.696Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T14:58:06.696Z] ---> Running in b129282372c9 [2023-08-31T14:58:08.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T14:58:08.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T14:58:09.797Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T14:58:09.797Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-31T14:58:09.797Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T14:58:09.797Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T14:58:09.797Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T14:58:09.797Z] OK: 268 MiB in 57 packages [2023-08-31T14:58:15.164Z] Removing intermediate container b129282372c9 [2023-08-31T14:58:15.164Z] ---> 5fd9d201759b [2023-08-31T14:58:15.164Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-31T14:58:15.164Z] ---> 7daf1fc93d94 [2023-08-31T14:58:15.164Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T14:58:15.164Z] ---> Running in 1b400bfc5f4a [2023-08-31T14:59:36.856Z] Removing intermediate container 1b400bfc5f4a [2023-08-31T14:59:36.856Z] ---> 729d42dbabe9 [2023-08-31T14:59:36.856Z] Step 10/12 : COPY . . [2023-08-31T14:59:36.856Z] ---> 54b6ac48cba0 [2023-08-31T14:59:36.856Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T14:59:36.856Z] ---> Running in f6bfa830516d [2023-08-31T14:59:36.856Z] Removing intermediate container f6bfa830516d [2023-08-31T14:59:36.856Z] ---> 7f6da62623c2 [2023-08-31T14:59:36.856Z] Step 12/12 : RUN $MAKE [2023-08-31T14:59:36.856Z] ---> Running in 4fd02a303313 [2023-08-31T14:59:36.856Z] noop [2023-08-31T14:59:36.856Z] Removing intermediate container 4fd02a303313 [2023-08-31T14:59:36.856Z] ---> 07c6df2d4e90 [2023-08-31T14:59:36.856Z] Successfully built 07c6df2d4e90 [2023-08-31T14:59:36.856Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:59:37.210Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T14:59:37.210Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:59:37.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-5018 does not seem to be running inside a container [2023-08-31T14:59:37.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/135 -v /w/workspace/device-virtual-go/135:/w/workspace/device-virtual-go/135:rw,z -v /w/workspace/device-virtual-go/135@tmp:/w/workspace/device-virtual-go/135@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-08-31T14:59:38.870Z] $ docker top 37df4d18d1ed56c795dad406143340bc0acef833832c74be974cdb964c75ffdb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T14:59:39.746Z] + go version [2023-08-31T14:59:39.746Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-31T14:59:39.764Z] $ docker stop --time=1 37df4d18d1ed56c795dad406143340bc0acef833832c74be974cdb964c75ffdb [2023-08-31T14:59:41.435Z] $ docker rm -f --volumes 37df4d18d1ed56c795dad406143340bc0acef833832c74be974cdb964c75ffdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:59:42.010Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T14:59:42.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:59:42.226Z] prd-ubuntu20.04-docker-arm64-4c-16g-5018 does not seem to be running inside a container [2023-08-31T14:59:42.303Z] $ 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/135 -v /w/workspace/device-virtual-go/135:/w/workspace/device-virtual-go/135:rw,z -v /w/workspace/device-virtual-go/135@tmp:/w/workspace/device-virtual-go/135@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-08-31T14:59:43.608Z] $ docker top 4e84357c6bdb10f2338a2a1f24a65c118fafe01254cae646ac72f294f826702e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T14:59:44.484Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/135 [Pipeline] fileExists [Pipeline] sh [2023-08-31T14:59:45.152Z] + make test [2023-08-31T14:59:45.153Z] go test ./... -coverprofile=coverage.out [2023-08-31T15:00:24.066Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-31T15:02:45.871Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-31T15:02:45.871Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.105s coverage: 58.4% of statements [2023-08-31T15:02:45.871Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-31T15:02:45.871Z] go vet ./... [2023-08-31T15:03:18.238Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T15:03:18.238Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T15:03:18.238Z] ./bin/test-attribution-txt.sh [2023-08-31T15:03:18.238Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-31T15:03:18.238Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-31T15:03:18.238Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-31T15:03:18.238Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-31T15:03:18.238Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-31T15:03:18.238Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-31T15:03:18.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T15:03:18.281Z] $ docker stop --time=1 4e84357c6bdb10f2338a2a1f24a65c118fafe01254cae646ac72f294f826702e [2023-08-31T15:03:21.736Z] $ docker rm -f --volumes 4e84357c6bdb10f2338a2a1f24a65c118fafe01254cae646ac72f294f826702e [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T15:03:23.070Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T15:03:23.097Z] Warning: overwriting stash ‘coverage-report’ [2023-08-31T15:03:23.706Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T15:03:24.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T15:03:24.499Z] + ls -al . [2023-08-31T15:03:24.499Z] total 200 [2023-08-31T15:03:24.499Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 14:59 . [2023-08-31T15:03:24.499Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:57 .. [2023-08-31T15:03:24.499Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 14:57 .git [2023-08-31T15:03:24.499Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:57 .github [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 14:57 .gitignore [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 14:57 .golangci.yml [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 31 14:57 Attribution.txt [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 31 14:57 CHANGELOG.md [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 31 14:57 Dockerfile [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 14:57 GOVERNANCE.md [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 14:57 Jenkinsfile [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 14:57 LICENSE [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 31 14:57 Makefile [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 14:57 OWNERS.md [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 31 14:57 README.md [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 31 14:55 VERSION [2023-08-31T15:03:24.499Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:57 bin [2023-08-31T15:03:24.499Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:57 cmd [2023-08-31T15:03:24.499Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 31 15:02 coverage.out [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 31 14:57 go.mod [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 31 14:57 go.sum [2023-08-31T15:03:24.499Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:57 internal [2023-08-31T15:03:24.499Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:57 snap [2023-08-31T15:03:24.499Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 14:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:03:24.856Z] + 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=53a713b286b98fea7a803b04fd4711df4e3dc4c9 --label arch=arm64 --label version=3.1.0-dev.9 . [2023-08-31T15:03:25.126Z] Sending build context to Docker daemon 11.96MB [2023-08-31T15:03:25.396Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T15:03:25.396Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-31T15:03:25.396Z] ---> 07c6df2d4e90 [2023-08-31T15:03:25.396Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T15:03:25.396Z] ---> Running in ded72b06367b [2023-08-31T15:03:25.671Z] Removing intermediate container ded72b06367b [2023-08-31T15:03:25.671Z] ---> abdeb19b69d2 [2023-08-31T15:03:25.671Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T15:03:25.957Z] ---> Running in 7da5c4c72c6e [2023-08-31T15:03:26.228Z] Removing intermediate container 7da5c4c72c6e [2023-08-31T15:03:26.228Z] ---> f42b6d2c5f02 [2023-08-31T15:03:26.228Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-31T15:03:26.228Z] ---> Running in 109f0a355989 [2023-08-31T15:03:26.502Z] Removing intermediate container 109f0a355989 [2023-08-31T15:03:26.502Z] ---> 5ed2bca7f465 [2023-08-31T15:03:26.502Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-31T15:03:26.502Z] ---> Running in 367c2f4e2438 [2023-08-31T15:03:27.106Z] Removing intermediate container 367c2f4e2438 [2023-08-31T15:03:27.106Z] ---> 83aaa780a5f1 [2023-08-31T15:03:27.106Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T15:03:27.106Z] ---> Running in 0cacb9f71008 [2023-08-31T15:03:28.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T15:03:28.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T15:03:30.081Z] OK: 268 MiB in 57 packages [2023-08-31T15:03:31.092Z] Removing intermediate container 0cacb9f71008 [2023-08-31T15:03:31.092Z] ---> 2ebdc97b4593 [2023-08-31T15:03:31.092Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-31T15:03:31.361Z] ---> bb6fbd1b875e [2023-08-31T15:03:31.361Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T15:03:31.630Z] ---> Running in 03562106ffd2 [2023-08-31T15:03:35.004Z] Removing intermediate container 03562106ffd2 [2023-08-31T15:03:35.004Z] ---> aa1c2d94e979 [2023-08-31T15:03:35.004Z] Step 10/25 : COPY . . [2023-08-31T15:03:36.422Z] ---> 5f3a726ea8df [2023-08-31T15:03:36.422Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T15:03:36.422Z] ---> Running in b902f1af602e [2023-08-31T15:03:36.696Z] Removing intermediate container b902f1af602e [2023-08-31T15:03:36.696Z] ---> 9a0bd8adef8d [2023-08-31T15:03:36.696Z] Step 12/25 : RUN $MAKE [2023-08-31T15:03:36.967Z] ---> Running in 48f3d5d81934 [2023-08-31T15:03:37.936Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-31T15:06:29.727Z] Removing intermediate container 48f3d5d81934 [2023-08-31T15:06:29.727Z] ---> 1a796852891d [2023-08-31T15:06:29.727Z] Step 13/25 : FROM alpine:3.17 [2023-08-31T15:06:29.727Z] 3.17: Pulling from library/alpine [2023-08-31T15:06:29.727Z] 4060ece20d7a: Pulling fs layer [2023-08-31T15:06:29.727Z] 4060ece20d7a: Verifying Checksum [2023-08-31T15:06:29.727Z] 4060ece20d7a: Download complete [2023-08-31T15:06:29.727Z] 4060ece20d7a: Pull complete [2023-08-31T15:06:29.727Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T15:06:29.727Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T15:06:29.727Z] ---> 8650cd65339b [2023-08-31T15:06:29.727Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-31T15:06:29.727Z] ---> Running in c02e776972af [2023-08-31T15:06:29.727Z] Removing intermediate container c02e776972af [2023-08-31T15:06:29.727Z] ---> c41094e5fd5f [2023-08-31T15:06:29.727Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-31T15:06:29.727Z] ---> Running in 4fca372fc353 [2023-08-31T15:06:29.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T15:06:29.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T15:06:29.727Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T15:06:29.727Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T15:06:29.727Z] OK: 8 MiB in 16 packages [2023-08-31T15:06:29.727Z] Removing intermediate container 4fca372fc353 [2023-08-31T15:06:29.727Z] ---> 50e4ef3dcebf [2023-08-31T15:06:29.727Z] Step 16/25 : WORKDIR / [2023-08-31T15:06:29.995Z] ---> Running in 0939fa99601f [2023-08-31T15:06:30.263Z] Removing intermediate container 0939fa99601f [2023-08-31T15:06:30.263Z] ---> 7269e32e48c3 [2023-08-31T15:06:30.263Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-31T15:06:30.852Z] ---> 68ad8ec2a3c8 [2023-08-31T15:06:30.852Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-31T15:06:31.438Z] ---> 943a67c27277 [2023-08-31T15:06:31.438Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-31T15:06:32.857Z] ---> 7c79b1b41bba [2023-08-31T15:06:32.857Z] Step 20/25 : EXPOSE 59900 [2023-08-31T15:06:32.857Z] ---> Running in 0dbaa331475c [2023-08-31T15:06:33.131Z] Removing intermediate container 0dbaa331475c [2023-08-31T15:06:33.131Z] ---> a6ff02d97310 [2023-08-31T15:06:33.131Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-31T15:06:33.398Z] ---> Running in 6c0e70cd3f65 [2023-08-31T15:06:33.667Z] Removing intermediate container 6c0e70cd3f65 [2023-08-31T15:06:33.667Z] ---> 425a671b263c [2023-08-31T15:06:33.667Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-31T15:06:33.667Z] ---> Running in 8bfbf4a353bb [2023-08-31T15:06:33.936Z] Removing intermediate container 8bfbf4a353bb [2023-08-31T15:06:33.936Z] ---> 2620974eabb5 [2023-08-31T15:06:33.936Z] Step 23/25 : LABEL arch=arm64 [2023-08-31T15:06:33.936Z] ---> Running in 1a7e47d5f334 [2023-08-31T15:06:34.524Z] Removing intermediate container 1a7e47d5f334 [2023-08-31T15:06:34.524Z] ---> b961a5c1270a [2023-08-31T15:06:34.524Z] Step 24/25 : LABEL git_sha=53a713b286b98fea7a803b04fd4711df4e3dc4c9 [2023-08-31T15:06:34.524Z] ---> Running in 820528f82d38 [2023-08-31T15:06:34.792Z] Removing intermediate container 820528f82d38 [2023-08-31T15:06:34.792Z] ---> 52f8057126de [2023-08-31T15:06:34.792Z] Step 25/25 : LABEL version=3.1.0-dev.9 [2023-08-31T15:06:34.792Z] ---> Running in 35455f5fc0cf [2023-08-31T15:06:35.385Z] Removing intermediate container 35455f5fc0cf [2023-08-31T15:06:35.385Z] ---> fdbdb1b08e76 [2023-08-31T15:06:35.385Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T15:06:35.385Z] Successfully built fdbdb1b08e76 [2023-08-31T15:06:35.385Z] 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-08-31T15:06:35.511Z] provisioning config files... [2023-08-31T15:06:35.526Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/135@tmp/config8163645427887770872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:06:35.882Z] ---> docker-login.sh [2023-08-31T15:06:35.882Z] nexus3.edgexfoundry.org:10001 [2023-08-31T15:06:36.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:06:36.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:06:36.151Z] Configure a credential helper to remove this warning. See [2023-08-31T15:06:36.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:06:36.151Z] [2023-08-31T15:06:36.151Z] Login Succeeded [2023-08-31T15:06:36.151Z] nexus3.edgexfoundry.org:10002 [2023-08-31T15:06:36.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:06:36.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:06:36.418Z] Configure a credential helper to remove this warning. See [2023-08-31T15:06:36.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:06:36.418Z] [2023-08-31T15:06:36.418Z] Login Succeeded [2023-08-31T15:06:36.418Z] nexus3.edgexfoundry.org:10003 [2023-08-31T15:06:36.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:06:36.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:06:36.954Z] Configure a credential helper to remove this warning. See [2023-08-31T15:06:36.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:06:36.954Z] [2023-08-31T15:06:36.954Z] Login Succeeded [2023-08-31T15:06:36.954Z] nexus3.edgexfoundry.org:10004 [2023-08-31T15:06:37.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:06:37.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:06:37.221Z] Configure a credential helper to remove this warning. See [2023-08-31T15:06:37.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:06:37.221Z] [2023-08-31T15:06:37.221Z] Login Succeeded [2023-08-31T15:06:37.221Z] docker.io [2023-08-31T15:06:37.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:06:38.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:06:38.117Z] Configure a credential helper to remove this warning. See [2023-08-31T15:06:38.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:06:38.117Z] [2023-08-31T15:06:38.117Z] Login Succeeded [2023-08-31T15:06:38.117Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T15:06:38.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T15:06:38.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T15:06:38.177Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-08-31T15:06:38.177Z] 53a713b286b98fea7a803b04fd4711df4e3dc4c9 [2023-08-31T15:06:38.177Z] latest [2023-08-31T15:06:38.177Z] 3.1.0-dev.9 [2023-08-31T15:06:38.177Z] 53a713b286b98fea7a803b04fd4711df4e3dc4c9-3.1.0-dev.9 [2023-08-31T15:06:38.177Z] main [2023-08-31T15:06:38.177Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:38.532Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:53a713b286b98fea7a803b04fd4711df4e3dc4c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:38.927Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:53a713b286b98fea7a803b04fd4711df4e3dc4c9 [2023-08-31T15:06:38.927Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-31T15:06:38.927Z] 92842b14d774: Preparing [2023-08-31T15:06:38.927Z] 7adfc141965c: Preparing [2023-08-31T15:06:38.927Z] ab5020cb058f: Preparing [2023-08-31T15:06:38.927Z] 3c0abf2efe8f: Preparing [2023-08-31T15:06:38.927Z] d2d9d24a8c2a: Preparing [2023-08-31T15:06:38.927Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:06:39.200Z] ab5020cb058f: Pushed [2023-08-31T15:06:39.200Z] 7adfc141965c: Pushed [2023-08-31T15:06:39.200Z] 3c0abf2efe8f: Pushed [2023-08-31T15:06:45.877Z] 92842b14d774: Pushed [2023-08-31T15:06:45.877Z] 53a713b286b98fea7a803b04fd4711df4e3dc4c9: digest: sha256:284c55456225c46d5ee658524f8929b49c7059612f9a6f9c0eb84a58a4e37c7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:46.240Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:46.599Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-08-31T15:06:46.599Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-31T15:06:46.599Z] 92842b14d774: Preparing [2023-08-31T15:06:46.599Z] 7adfc141965c: Preparing [2023-08-31T15:06:46.599Z] ab5020cb058f: Preparing [2023-08-31T15:06:46.599Z] 3c0abf2efe8f: Preparing [2023-08-31T15:06:46.599Z] d2d9d24a8c2a: Preparing [2023-08-31T15:06:46.599Z] 3c0abf2efe8f: Layer already exists [2023-08-31T15:06:46.599Z] 7adfc141965c: Layer already exists [2023-08-31T15:06:46.599Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:06:46.599Z] 92842b14d774: Layer already exists [2023-08-31T15:06:46.599Z] ab5020cb058f: Layer already exists [2023-08-31T15:06:46.869Z] latest: digest: sha256:284c55456225c46d5ee658524f8929b49c7059612f9a6f9c0eb84a58a4e37c7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:47.241Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:47.595Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.9 [2023-08-31T15:06:47.595Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-31T15:06:47.595Z] 92842b14d774: Preparing [2023-08-31T15:06:47.595Z] 7adfc141965c: Preparing [2023-08-31T15:06:47.595Z] ab5020cb058f: Preparing [2023-08-31T15:06:47.595Z] 3c0abf2efe8f: Preparing [2023-08-31T15:06:47.595Z] d2d9d24a8c2a: Preparing [2023-08-31T15:06:47.595Z] 92842b14d774: Layer already exists [2023-08-31T15:06:47.595Z] ab5020cb058f: Layer already exists [2023-08-31T15:06:47.595Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:06:47.595Z] 7adfc141965c: Layer already exists [2023-08-31T15:06:47.595Z] 3c0abf2efe8f: Layer already exists [2023-08-31T15:06:47.595Z] 3.1.0-dev.9: digest: sha256:284c55456225c46d5ee658524f8929b49c7059612f9a6f9c0eb84a58a4e37c7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:48.237Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:53a713b286b98fea7a803b04fd4711df4e3dc4c9-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:48.591Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:53a713b286b98fea7a803b04fd4711df4e3dc4c9-3.1.0-dev.9 [2023-08-31T15:06:48.591Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-31T15:06:48.591Z] 92842b14d774: Preparing [2023-08-31T15:06:48.591Z] 7adfc141965c: Preparing [2023-08-31T15:06:48.591Z] ab5020cb058f: Preparing [2023-08-31T15:06:48.591Z] 3c0abf2efe8f: Preparing [2023-08-31T15:06:48.591Z] d2d9d24a8c2a: Preparing [2023-08-31T15:06:48.591Z] ab5020cb058f: Layer already exists [2023-08-31T15:06:48.591Z] 7adfc141965c: Layer already exists [2023-08-31T15:06:48.591Z] 3c0abf2efe8f: Layer already exists [2023-08-31T15:06:48.591Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:06:48.591Z] 92842b14d774: Layer already exists [2023-08-31T15:06:48.591Z] 53a713b286b98fea7a803b04fd4711df4e3dc4c9-3.1.0-dev.9: digest: sha256:284c55456225c46d5ee658524f8929b49c7059612f9a6f9c0eb84a58a4e37c7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:49.218Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:49.572Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-08-31T15:06:49.573Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-31T15:06:49.573Z] 92842b14d774: Preparing [2023-08-31T15:06:49.573Z] 7adfc141965c: Preparing [2023-08-31T15:06:49.573Z] ab5020cb058f: Preparing [2023-08-31T15:06:49.573Z] 3c0abf2efe8f: Preparing [2023-08-31T15:06:49.573Z] d2d9d24a8c2a: Preparing [2023-08-31T15:06:49.573Z] 3c0abf2efe8f: Layer already exists [2023-08-31T15:06:49.573Z] ab5020cb058f: Layer already exists [2023-08-31T15:06:49.573Z] 7adfc141965c: Layer already exists [2023-08-31T15:06:49.573Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:06:49.573Z] 92842b14d774: Layer already exists [2023-08-31T15:06:49.842Z] main: digest: sha256:284c55456225c46d5ee658524f8929b49c7059612f9a6f9c0eb84a58a4e37c7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T15:06:49.896Z] ===================================================== [Pipeline] echo [2023-08-31T15:06:49.902Z] taggedImages: [2023-08-31T15:06:49.902Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:53a713b286b98fea7a803b04fd4711df4e3dc4c9 [2023-08-31T15:06:49.902Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-08-31T15:06:49.902Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.9 [2023-08-31T15:06:49.902Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:53a713b286b98fea7a803b04fd4711df4e3dc4c9-3.1.0-dev.9 [2023-08-31T15:06:49.902Z] - 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-08-31T15:06:50.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T15:06:50.263Z] [2023-08-31T15:06:50.263Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:50.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T15:06:50.611Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-31T15:06:50.611Z] 8998bd30e6a1: Pulling fs layer [2023-08-31T15:06:50.611Z] 04944245beec: Pulling fs layer [2023-08-31T15:06:50.611Z] 699f458cf7ca: Pulling fs layer [2023-08-31T15:06:50.611Z] 765212b225bb: Pulling fs layer [2023-08-31T15:06:50.611Z] f23df028b6ca: Pulling fs layer [2023-08-31T15:06:50.611Z] d65c8cfc05b1: Pulling fs layer [2023-08-31T15:06:50.611Z] 2437ff75d9bd: Pulling fs layer [2023-08-31T15:06:50.611Z] 765212b225bb: Waiting [2023-08-31T15:06:50.611Z] f23df028b6ca: Waiting [2023-08-31T15:06:50.611Z] d65c8cfc05b1: Waiting [2023-08-31T15:06:50.611Z] 2437ff75d9bd: Waiting [2023-08-31T15:06:50.881Z] 04944245beec: Verifying Checksum [2023-08-31T15:06:50.881Z] 04944245beec: Download complete [2023-08-31T15:06:50.881Z] 765212b225bb: Verifying Checksum [2023-08-31T15:06:50.881Z] 765212b225bb: Download complete [2023-08-31T15:06:50.881Z] f23df028b6ca: Download complete [2023-08-31T15:06:50.881Z] d65c8cfc05b1: Verifying Checksum [2023-08-31T15:06:50.881Z] d65c8cfc05b1: Download complete [2023-08-31T15:06:51.154Z] 699f458cf7ca: Verifying Checksum [2023-08-31T15:06:51.154Z] 699f458cf7ca: Download complete [2023-08-31T15:06:51.426Z] 8998bd30e6a1: Download complete [2023-08-31T15:06:54.023Z] 2437ff75d9bd: Verifying Checksum [2023-08-31T15:06:54.023Z] 2437ff75d9bd: Download complete [2023-08-31T15:06:55.994Z] 8998bd30e6a1: Pull complete [2023-08-31T15:06:56.584Z] 04944245beec: Pull complete [2023-08-31T15:06:59.743Z] 699f458cf7ca: Pull complete [2023-08-31T15:06:59.743Z] 765212b225bb: Pull complete [2023-08-31T15:06:59.743Z] f23df028b6ca: Pull complete [2023-08-31T15:06:59.743Z] d65c8cfc05b1: Pull complete [2023-08-31T15:07:12.060Z] 2437ff75d9bd: Pull complete [2023-08-31T15:07:12.060Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-31T15:07:12.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T15:07:12.060Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:07:12.264Z] prd-ubuntu20.04-docker-arm64-4c-16g-5018 does not seem to be running inside a container [2023-08-31T15:07:12.330Z] $ 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/135 -v /w/workspace/device-virtual-go/135:/w/workspace/device-virtual-go/135:rw,z -v /w/workspace/device-virtual-go/135@tmp:/w/workspace/device-virtual-go/135@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-08-31T15:07:18.904Z] $ docker top 5fd03b9140f40d0435b197ff6ca9af3a0638ec77809f8e9553ddfc62e45a2520 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:07:19.755Z] ---> job-cost.sh [2023-08-31T15:07:19.755Z] lf-activate-venv: SKIPPING [2023-08-31T15:07:19.755Z] INFO: No Stack... [2023-08-31T15:07:20.338Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-31T15:07:20.923Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T15:07:21.564Z] + cat /w/workspace/device-virtual-go/135/archives/cost.csv [2023-08-31T15:07:21.564Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T15:07:21.632Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-135-stack-cost] [2023-08-31T15:07:21.636Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-135-stack-cost] did not exist. Created. [2023-08-31T15:07:21.636Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T15:07:22.296Z] /w/workspace/device-virtual-go/135@tmp/durable-a7888c31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-31T15:07:22.963Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-31T15:07:22.981Z] Warning: overwriting stash ‘stack-cost’ [2023-08-31T15:07:23.047Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T15:07:23.053Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T15:07:23.067Z] $ docker stop --time=1 5fd03b9140f40d0435b197ff6ca9af3a0638ec77809f8e9553ddfc62e45a2520 [2023-08-31T15:07:24.603Z] $ docker rm -f --volumes 5fd03b9140f40d0435b197ff6ca9af3a0638ec77809f8e9553ddfc62e45a2520 [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-08-31T15:07:25.023Z] provisioning config files... [2023-08-31T15:07:25.031Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13946246348506328300tmp [Pipeline] { [Pipeline] sh [2023-08-31T15:07:25.332Z] + set +x [2023-08-31T15:07:25.332Z] + curl -s https://codecov.io/bash [2023-08-31T15:07:25.332Z] + bash -s -- [2023-08-31T15:07:25.332Z] [2023-08-31T15:07:25.332Z] _____ _ [2023-08-31T15:07:25.332Z] / ____| | | [2023-08-31T15:07:25.332Z] | | ___ __| | ___ ___ _____ __ [2023-08-31T15:07:25.332Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-31T15:07:25.332Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-31T15:07:25.332Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-31T15:07:25.332Z] Bash-1.0.6 [2023-08-31T15:07:25.332Z] [2023-08-31T15:07:25.332Z] [2023-08-31T15:07:25.332Z] ==> git version 2.25.1 found [2023-08-31T15:07:25.332Z] ==> 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-08-31T15:07:25.332Z] Release-Date: 2020-01-08 [2023-08-31T15:07:25.332Z] 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-08-31T15:07:25.332Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-31T15:07:25.332Z] ==> Jenkins CI detected. [2023-08-31T15:07:25.332Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-08-31T15:07:25.332Z] project root: . [2023-08-31T15:07:25.332Z] --> token set from env [2023-08-31T15:07:25.332Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-31T15:07:25.332Z] ==> Running gcov in . (disable via -X gcov) [2023-08-31T15:07:25.332Z] ==> Python coveragepy not found [2023-08-31T15:07:25.332Z] ==> Searching for coverage reports in: [2023-08-31T15:07:25.332Z] + . [2023-08-31T15:07:25.332Z] -> Found 1 reports [2023-08-31T15:07:25.332Z] ==> Detecting git/mercurial file structure [2023-08-31T15:07:25.332Z] ==> Reading reports [2023-08-31T15:07:25.332Z] + ./coverage.out bytes=43063 [2023-08-31T15:07:25.592Z] ==> Appending adjustments [2023-08-31T15:07:25.592Z] https://docs.codecov.io/docs/fixing-reports [2023-08-31T15:07:25.592Z] + Found adjustments [2023-08-31T15:07:25.592Z] ==> Gzipping contents [2023-08-31T15:07:25.592Z] 8.0K /tmp/codecov.WNpRJR.gz [2023-08-31T15:07:25.592Z] ==> Uploading reports [2023-08-31T15:07:25.592Z] url: https://codecov.io [2023-08-31T15:07:25.592Z] query: branch=main&commit=53a713b286b98fea7a803b04fd4711df4e3dc4c9&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-31T15:07:25.592Z] -> Pinging Codecov [2023-08-31T15:07:25.592Z] 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=53a713b286b98fea7a803b04fd4711df4e3dc4c9&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-31T15:07:25.592Z] -> Uploading to [2023-08-31T15:07:25.592Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-31/5E52B4B073DB2E39498172D8E973AA87/53a713b286b98fea7a803b04fd4711df4e3dc4c9/39cade26-c715-457f-9bd6-3d787440a9d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230831T150725Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13bdc3798f6d8bf49c1c236562f601bfba33e0913fd893f4c35cb0afcf0852ba [2023-08-31T15:07:25.592Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T15:07:25.592Z] Dload Upload Total Spent Left Speed [2023-08-31T15:07:25.853Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25920 --:--:-- --:--:-- --:--:-- 25920 [2023-08-31T15:07:25.853Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/53a713b286b98fea7a803b04fd4711df4e3dc4c9 [Pipeline] } [2023-08-31T15:07:25.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-31T15:07:26.004Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-31T15:07:26.013Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:07:26.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-31T15:07:26.306Z] [2023-08-31T15:07:26.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:07:26.598Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-31T15:07:26.598Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-31T15:07:26.598Z] df9b9388f04a: Pulling fs layer [2023-08-31T15:07:26.598Z] 52dc419b0ee2: Pulling fs layer [2023-08-31T15:07:26.598Z] 25bc292e5bac: Pulling fs layer [2023-08-31T15:07:26.598Z] 114826534d7a: Pulling fs layer [2023-08-31T15:07:26.598Z] 4657fd5d0bcf: Pulling fs layer [2023-08-31T15:07:26.598Z] 6ad1cebc031e: Pulling fs layer [2023-08-31T15:07:26.598Z] 8a3aa393b2d8: Pulling fs layer [2023-08-31T15:07:26.598Z] 114826534d7a: Waiting [2023-08-31T15:07:26.598Z] 4657fd5d0bcf: Waiting [2023-08-31T15:07:26.598Z] 6ad1cebc031e: Waiting [2023-08-31T15:07:26.598Z] 8a3aa393b2d8: Waiting [2023-08-31T15:07:26.598Z] 25bc292e5bac: Verifying Checksum [2023-08-31T15:07:26.598Z] 25bc292e5bac: Download complete [2023-08-31T15:07:26.598Z] 52dc419b0ee2: Download complete [2023-08-31T15:07:26.598Z] 4657fd5d0bcf: Verifying Checksum [2023-08-31T15:07:26.598Z] 4657fd5d0bcf: Download complete [2023-08-31T15:07:26.598Z] df9b9388f04a: Download complete [2023-08-31T15:07:26.859Z] 6ad1cebc031e: Verifying Checksum [2023-08-31T15:07:26.859Z] 6ad1cebc031e: Download complete [2023-08-31T15:07:26.859Z] df9b9388f04a: Pull complete [2023-08-31T15:07:26.859Z] 52dc419b0ee2: Pull complete [2023-08-31T15:07:27.131Z] 25bc292e5bac: Pull complete [2023-08-31T15:07:27.389Z] 114826534d7a: Verifying Checksum [2023-08-31T15:07:27.389Z] 114826534d7a: Download complete [2023-08-31T15:07:27.646Z] 8a3aa393b2d8: Verifying Checksum [2023-08-31T15:07:27.646Z] 8a3aa393b2d8: Download complete [2023-08-31T15:07:30.925Z] 114826534d7a: Pull complete [2023-08-31T15:07:30.925Z] 4657fd5d0bcf: Pull complete [2023-08-31T15:07:31.184Z] 6ad1cebc031e: Pull complete [2023-08-31T15:07:33.738Z] 8a3aa393b2d8: Pull complete [2023-08-31T15:07:33.738Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-31T15:07:33.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-31T15:07:33.738Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:07:33.819Z] prd-ubuntu20.04-docker-8c-8g-5013 does not seem to be running inside a container [2023-08-31T15:07:33.853Z] $ 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-08-31T15:07:38.476Z] $ docker top e6379999bcd774ba292f7c0b304f2a6df98e1b6326e0be802ecf15d98034bbba -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-31T15:07:38.536Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-08-31T15:07:38.813Z] + set -o pipefail [2023-08-31T15:07:38.813Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-08-31T15:07:44.080Z] [2023-08-31T15:07:44.080Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-08-31T15:07:44.080Z] [2023-08-31T15:07:44.080Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/0e25962f-b8e6-4fab-b29e-2d5eca03aa66 [2023-08-31T15:07:44.080Z] [2023-08-31T15:07:44.080Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-31T15:07:44.080Z] [2023-08-31T15:07:44.080Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-31T15:07:44.080Z] [2023-08-31T15:07:44.080Z] [2023-08-31T15:07:44.080Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-31T15:07:44.080Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-31T15:07:44.080Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-31T15:07:44.093Z] $ docker stop --time=1 e6379999bcd774ba292f7c0b304f2a6df98e1b6326e0be802ecf15d98034bbba [2023-08-31T15:07:47.922Z] $ docker rm -f --volumes e6379999bcd774ba292f7c0b304f2a6df98e1b6326e0be802ecf15d98034bbba [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-08-31T15:07:48.651Z] + git log --format=format:%s -1 53a713b286b98fea7a803b04fd4711df4e3dc4c9 [Pipeline] sh [2023-08-31T15:07:48.936Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T15:07:48.936Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:07:49.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T15:07:49.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:07:49.309Z] prd-ubuntu20.04-docker-8c-8g-5013 does not seem to be running inside a container [2023-08-31T15:07:49.339Z] $ 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-08-31T15:07:49.762Z] $ docker top 1bb438653c00746e7a3da28d1208dc0b14004d0a85416a92b465676243ea3c17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T15:07:49.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T15:07:49.844Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T15:07:49.953Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T15:07:49.958Z] $ docker exec 1bb438653c00746e7a3da28d1208dc0b14004d0a85416a92b465676243ea3c17 ssh-agent [2023-08-31T15:07:50.054Z] SSH_AUTH_SOCK=/tmp/ssh-vN4Y86blRXEb/agent.32 [2023-08-31T15:07:50.054Z] SSH_AGENT_PID=38 [2023-08-31T15:07:50.060Z] Running ssh-add (command line suppressed) [2023-08-31T15:07:50.153Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4861174505918434734.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4861174505918434734.key) [2023-08-31T15:07:50.164Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T15:07:50.450Z] + git semver tag [2023-08-31T15:07:50.709Z] 2023-08-31 15:07:50,638 [run_tag] DEBUG tag force:False [2023-08-31T15:07:50.709Z] 2023-08-31 15:07:50,638 [check_head_tag] DEBUG check head tag [2023-08-31T15:07:50.709Z] 2023-08-31 15:07:50,639 [execute] INFO git cat-file --batch-check [2023-08-31T15:07:50.709Z] 2023-08-31 15:07:50,639 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-08-31T15:07:50.709Z] 2023-08-31 15:07:50,643 [execute] INFO git cat-file --batch [2023-08-31T15:07:50.709Z] 2023-08-31 15:07:50,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-08-31T15:07:50.709Z] 2023-08-31 15:07:50,652 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-31T15:07:50.709Z] 2023-08-31 15:07:50,653 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 [2023-08-31T15:07:50.709Z] 2023-08-31 15:07:50,653 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-31T15:07:50.709Z] 2023-08-31 15:07:50,657 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-31T15:07:50.709Z] 3.1.0-dev.9 [Pipeline] } [2023-08-31T15:07:50.721Z] $ docker exec --env ******** --env ******** 1bb438653c00746e7a3da28d1208dc0b14004d0a85416a92b465676243ea3c17 ssh-agent -k [2023-08-31T15:07:50.822Z] unset SSH_AUTH_SOCK; [2023-08-31T15:07:50.823Z] unset SSH_AGENT_PID; [2023-08-31T15:07:50.823Z] echo Agent pid 38 killed; [2023-08-31T15:07:50.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T15:07:51.135Z] + git semver [Pipeline] } [2023-08-31T15:07:51.409Z] $ docker stop --time=1 1bb438653c00746e7a3da28d1208dc0b14004d0a85416a92b465676243ea3c17 [2023-08-31T15:07:52.669Z] $ docker rm -f --volumes 1bb438653c00746e7a3da28d1208dc0b14004d0a85416a92b465676243ea3c17 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:07:53.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T15:07:53.072Z] [2023-08-31T15:07:53.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:07:53.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T15:07:53.374Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-31T15:07:53.374Z] ab5ef0e58194: Pulling fs layer [2023-08-31T15:07:53.374Z] 9712f1f96733: Pulling fs layer [2023-08-31T15:07:53.374Z] 63f879dbbcfc: Pulling fs layer [2023-08-31T15:07:53.374Z] 0d9ebad4ef96: Pulling fs layer [2023-08-31T15:07:53.374Z] e9a5061849ea: Pulling fs layer [2023-08-31T15:07:53.374Z] d747dcd14b5f: Pulling fs layer [2023-08-31T15:07:53.374Z] 2de7ff778b66: Pulling fs layer [2023-08-31T15:07:53.374Z] 0d9ebad4ef96: Waiting [2023-08-31T15:07:53.374Z] e9a5061849ea: Waiting [2023-08-31T15:07:53.374Z] d747dcd14b5f: Waiting [2023-08-31T15:07:53.374Z] 2de7ff778b66: Waiting [2023-08-31T15:07:53.374Z] 9712f1f96733: Verifying Checksum [2023-08-31T15:07:53.634Z] 63f879dbbcfc: Verifying Checksum [2023-08-31T15:07:53.634Z] 63f879dbbcfc: Download complete [2023-08-31T15:07:53.893Z] e9a5061849ea: Verifying Checksum [2023-08-31T15:07:53.893Z] e9a5061849ea: Download complete [2023-08-31T15:07:53.893Z] 0d9ebad4ef96: Verifying Checksum [2023-08-31T15:07:53.893Z] 0d9ebad4ef96: Download complete [2023-08-31T15:07:53.893Z] d747dcd14b5f: Download complete [2023-08-31T15:07:53.893Z] ab5ef0e58194: Verifying Checksum [2023-08-31T15:07:53.893Z] ab5ef0e58194: Download complete [2023-08-31T15:07:54.151Z] 2de7ff778b66: Verifying Checksum [2023-08-31T15:07:54.151Z] 2de7ff778b66: Download complete [2023-08-31T15:07:56.678Z] ab5ef0e58194: Pull complete [2023-08-31T15:07:56.678Z] 9712f1f96733: Pull complete [2023-08-31T15:07:57.245Z] 63f879dbbcfc: Pull complete [2023-08-31T15:08:01.435Z] 0d9ebad4ef96: Pull complete [2023-08-31T15:08:01.435Z] e9a5061849ea: Pull complete [2023-08-31T15:08:01.435Z] d747dcd14b5f: Pull complete [2023-08-31T15:08:02.000Z] 2de7ff778b66: Pull complete [2023-08-31T15:08:02.000Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-31T15:08:02.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T15:08:02.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:08:02.074Z] prd-ubuntu20.04-docker-8c-8g-5013 does not seem to be running inside a container [2023-08-31T15:08:02.104Z] $ 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-08-31T15:08:06.821Z] $ docker top 4a14d35215f5e0a9929ebfd95be1e693ff0dc9e758aac10ad087c6d0f38b24fe -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-31T15:08:06.880Z] provisioning config files... [2023-08-31T15:08:06.886Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17748299209939889304tmp [2023-08-31T15:08:06.896Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15938182602940882112tmp [2023-08-31T15:08:06.906Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5371663647992873533tmp [Pipeline] { [Pipeline] echo [2023-08-31T15:08:06.923Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:07.202Z] ---> sigul-configuration.sh [2023-08-31T15:08:07.202Z] gpg: directory `/root/.gnupg' created [2023-08-31T15:08:07.202Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-31T15:08:07.202Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-31T15:08:07.202Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-31T15:08:07.202Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-31T15:08:07.202Z] gpg: CAST5 encrypted data [2023-08-31T15:08:07.202Z] gpg: encrypted with 1 passphrase [2023-08-31T15:08:07.202Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-31T15:08:07.552Z] + mkdir /home/jenkins [2023-08-31T15:08:07.552Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-31T15:08:07.837Z] + 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-08-31T15:08:07.845Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:08.128Z] ---> sigul-install.sh [2023-08-31T15:08:08.128Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-31T15:08:08.413Z] + git tag --list [2023-08-31T15:08:08.413Z] v1.0.0 [2023-08-31T15:08:08.413Z] v1.1.0 [2023-08-31T15:08:08.413Z] v1.1.1 [2023-08-31T15:08:08.413Z] v1.2.1 [2023-08-31T15:08:08.413Z] v1.2.2 [2023-08-31T15:08:08.413Z] v1.2.3 [2023-08-31T15:08:08.413Z] v1.3.0 [2023-08-31T15:08:08.413Z] v1.3.1 [2023-08-31T15:08:08.413Z] v2.0.0 [2023-08-31T15:08:08.413Z] v2.1.0 [2023-08-31T15:08:08.413Z] v2.1.1 [2023-08-31T15:08:08.413Z] v2.2.0 [2023-08-31T15:08:08.413Z] v2.3.0 [2023-08-31T15:08:08.413Z] v3.0 [2023-08-31T15:08:08.413Z] v3.0.0 [2023-08-31T15:08:08.413Z] v3.1.0-dev.1 [2023-08-31T15:08:08.413Z] v3.1.0-dev.2 [2023-08-31T15:08:08.413Z] v3.1.0-dev.3 [2023-08-31T15:08:08.413Z] v3.1.0-dev.4 [2023-08-31T15:08:08.413Z] v3.1.0-dev.5 [2023-08-31T15:08:08.413Z] v3.1.0-dev.6 [2023-08-31T15:08:08.413Z] v3.1.0-dev.7 [2023-08-31T15:08:08.413Z] v3.1.0-dev.8 [2023-08-31T15:08:08.413Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-31T15:08:08.699Z] + lftools sign git-tag v3.1.0-dev.9 [2023-08-31T15:08:09.264Z] Signing Git tag with Sigul... [2023-08-31T15:08:09.264Z] Signing v3.1.0-dev.9 [Pipeline] echo [2023-08-31T15:08:09.532Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:09.812Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-31T15:08:09.819Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-31T15:08:09.843Z] $ docker stop --time=1 4a14d35215f5e0a9929ebfd95be1e693ff0dc9e758aac10ad087c6d0f38b24fe [2023-08-31T15:08:11.104Z] $ docker rm -f --volumes 4a14d35215f5e0a9929ebfd95be1e693ff0dc9e758aac10ad087c6d0f38b24fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-31T15:08:11.512Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T15:08:11.512Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:11.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T15:08:11.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:08:11.880Z] prd-ubuntu20.04-docker-8c-8g-5013 does not seem to be running inside a container [2023-08-31T15:08:11.919Z] $ 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-08-31T15:08:12.227Z] $ docker top af32793a06325d36b0e35789d246f3dcfdd8c6666e234b3d556a038ee145e962 -eo pid,comm [2023-08-31T15:08:12.267Z] 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-08-31T15:08:12.267Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T15:08:12.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T15:08:12.297Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T15:08:12.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T15:08:12.407Z] $ docker exec af32793a06325d36b0e35789d246f3dcfdd8c6666e234b3d556a038ee145e962 ssh-agent [2023-08-31T15:08:12.505Z] SSH_AUTH_SOCK=/tmp/ssh-gzyV3DDfxjuG/agent.32 [2023-08-31T15:08:12.505Z] SSH_AGENT_PID=38 [2023-08-31T15:08:12.510Z] Running ssh-add (command line suppressed) [2023-08-31T15:08:12.616Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15416567909203283304.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15416567909203283304.key) [2023-08-31T15:08:12.626Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T15:08:12.911Z] + git semver bump pre [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,073 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,073 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,074 [bump_version] DEBUG bumped version:3.1.0-dev.10 [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,074 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,074 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,074 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,076 [execute] INFO git cat-file --batch-check [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,082 [execute] INFO git cat-file --batch [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T15:08:13.170Z] 2023-08-31 15:08:13,087 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-31T15:08:13.170Z] 3.1.0-dev.10 [Pipeline] } [2023-08-31T15:08:13.182Z] $ docker exec --env ******** --env ******** af32793a06325d36b0e35789d246f3dcfdd8c6666e234b3d556a038ee145e962 ssh-agent -k [2023-08-31T15:08:13.289Z] unset SSH_AUTH_SOCK; [2023-08-31T15:08:13.290Z] unset SSH_AGENT_PID; [2023-08-31T15:08:13.290Z] echo Agent pid 38 killed; [2023-08-31T15:08:13.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T15:08:13.595Z] + git semver [Pipeline] } [2023-08-31T15:08:13.865Z] $ docker stop --time=1 af32793a06325d36b0e35789d246f3dcfdd8c6666e234b3d556a038ee145e962 [2023-08-31T15:08:15.117Z] $ docker rm -f --volumes af32793a06325d36b0e35789d246f3dcfdd8c6666e234b3d556a038ee145e962 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T15:08:15.449Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T15:08:15.449Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:15.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T15:08:15.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:08:15.824Z] prd-ubuntu20.04-docker-8c-8g-5013 does not seem to be running inside a container [2023-08-31T15:08:15.861Z] $ 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-08-31T15:08:16.192Z] $ docker top f1ea5d2e3de4bc384a797c43ff51f5dedaa7c555c0334e262eb70701baf54d7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T15:08:16.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T15:08:16.280Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T15:08:16.404Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T15:08:16.409Z] $ docker exec f1ea5d2e3de4bc384a797c43ff51f5dedaa7c555c0334e262eb70701baf54d7f ssh-agent [2023-08-31T15:08:16.520Z] SSH_AUTH_SOCK=/tmp/ssh-3COMlE0a85tb/agent.32 [2023-08-31T15:08:16.520Z] SSH_AGENT_PID=38 [2023-08-31T15:08:16.526Z] Running ssh-add (command line suppressed) [2023-08-31T15:08:16.640Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11163293962134622865.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11163293962134622865.key) [2023-08-31T15:08:16.653Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T15:08:16.937Z] + git semver push [2023-08-31T15:08:17.196Z] 2023-08-31 15:08:17,120 [run_push] DEBUG push [2023-08-31T15:08:17.197Z] 2023-08-31 15:08:17,121 [execute] INFO git cat-file --batch-check [2023-08-31T15:08:17.197Z] 2023-08-31 15:08:17,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T15:08:17.197Z] 2023-08-31 15:08:17,125 [execute] INFO git rev-list 6b8fa0ff817ef1e4b64edff486bb84aac8ccdb09 -- [2023-08-31T15:08:17.197Z] 2023-08-31 15:08:17,125 [execute] DEBUG Popen(['git', 'rev-list', '6b8fa0ff817ef1e4b64edff486bb84aac8ccdb09', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-31T15:08:17.197Z] 2023-08-31 15:08:17,135 [execute] INFO git fetch -v origin [2023-08-31T15:08:17.197Z] 2023-08-31 15:08:17,136 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-31T15:08:17.767Z] 2023-08-31 15:08:17,589 [run_push] DEBUG no remote changes detected [2023-08-31T15:08:17.767Z] 2023-08-31 15:08:17,589 [execute] INFO git push origin semver [2023-08-31T15:08:17.767Z] 2023-08-31 15:08:17,590 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-31T15:08:18.704Z] 2023-08-31 15:08:18,565 [run_push] DEBUG push all version tags [2023-08-31T15:08:18.704Z] 2023-08-31 15:08:18,566 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-31T15:08:18.704Z] 2023-08-31 15:08:18,566 [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-08-31T15:08:19.645Z] 2023-08-31 15:08:19,484 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-31T15:08:19.645Z] 3.1.0-dev.10 [Pipeline] } [2023-08-31T15:08:19.658Z] $ docker exec --env ******** --env ******** f1ea5d2e3de4bc384a797c43ff51f5dedaa7c555c0334e262eb70701baf54d7f ssh-agent -k [2023-08-31T15:08:19.762Z] unset SSH_AUTH_SOCK; [2023-08-31T15:08:19.762Z] unset SSH_AGENT_PID; [2023-08-31T15:08:19.762Z] echo Agent pid 38 killed; [2023-08-31T15:08:19.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T15:08:20.071Z] + git semver [Pipeline] } [2023-08-31T15:08:20.346Z] $ docker stop --time=1 f1ea5d2e3de4bc384a797c43ff51f5dedaa7c555c0334e262eb70701baf54d7f [2023-08-31T15:08:21.635Z] $ docker rm -f --volumes f1ea5d2e3de4bc384a797c43ff51f5dedaa7c555c0334e262eb70701baf54d7f [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-08-31T15:08:22.221Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-08-31T15:08:22.221Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-31T15:08:22.221Z] total 16 [2023-08-31T15:08:22.221Z] drwxr-xr-x 3 root root 4096 Aug 31 14:57 . [2023-08-31T15:08:22.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 15:08 .. [2023-08-31T15:08:22.221Z] drwxr-xr-x 2 root root 4096 Aug 31 14:57 cost [2023-08-31T15:08:22.221Z] -rw-r--r-- 1 root root 89 Aug 31 14:57 cost.csv [2023-08-31T15:08:22.221Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-31T15:08:22.221Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-31T15:08:22.221Z] total 16 [2023-08-31T15:08:22.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 14:57 . [2023-08-31T15:08:22.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 15:08 .. [2023-08-31T15:08:22.221Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 14:57 cost [2023-08-31T15:08:22.221Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 31 14:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:22.511Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:23.481Z] ---> package-listing.sh [2023-08-31T15:08:23.481Z] ++ facter osfamily [2023-08-31T15:08:23.481Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-31T15:08:23.481Z] + OS_FAMILY=debian [2023-08-31T15:08:23.481Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-08-31T15:08:23.481Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-31T15:08:23.481Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-31T15:08:23.481Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-31T15:08:23.481Z] + PACKAGES=/tmp/packages_start.txt [2023-08-31T15:08:23.481Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-08-31T15:08:23.481Z] + PACKAGES=/tmp/packages_end.txt [2023-08-31T15:08:23.481Z] + case "${OS_FAMILY}" in [2023-08-31T15:08:23.481Z] + dpkg -l [2023-08-31T15:08:23.481Z] + grep '^ii' [2023-08-31T15:08:23.766Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-31T15:08:23.766Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-31T15:08:23.766Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-31T15:08:23.766Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-08-31T15:08:23.766Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-08-31T15:08:23.766Z] + 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-08-31T15:08:23.801Z] 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-08-31T15:08:24.099Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:24.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T15:08:24.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:08:24.732Z] prd-ubuntu20.04-docker-8c-8g-5013 does not seem to be running inside a container [2023-08-31T15:08:24.767Z] $ 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-08-31T15:08:24.978Z] $ docker top e33b7e7de5b0552812f2ae710bb310c2b1e046b9a709fa2393bd15058955a795 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T15:08:25.325Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-31T15:08:25.610Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-31T15:08:25.897Z] + ls /var/log/sa-host [2023-08-31T15:08:25.897Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T15:08:25.973Z] provisioning config files... [2023-08-31T15:08:25.980Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10632230458129695508tmp [Pipeline] { [Pipeline] echo [2023-08-31T15:08:25.993Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:26.276Z] ---> create-netrc.sh [Pipeline] } [2023-08-31T15:08:26.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:26.609Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-31T15:08:26.617Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:26.904Z] ---> sudo-logs.sh [2023-08-31T15:08:26.904Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-31T15:08:26.923Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:27.204Z] ---> job-cost.sh [2023-08-31T15:08:27.204Z] lf-activate-venv: SKIPPING [2023-08-31T15:08:27.204Z] DEBUG: total: 0.2199999988079071 [2023-08-31T15:08:27.204Z] INFO: Retrieving Stack Cost... [2023-08-31T15:08:27.771Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T15:08:28.029Z] INFO: Archiving Costs [Pipeline] echo [2023-08-31T15:08:28.039Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:28.317Z] ---> logs-deploy.sh [2023-08-31T15:08:28.317Z] lf-activate-venv: SKIPPING [2023-08-31T15:08:28.317Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/135 [2023-08-31T15:08:28.317Z] INFO: archiving workspace using pattern(s): [2023-08-31T15:08:29.255Z] Archives upload complete. [2023-08-31T15:08:29.255Z] INFO: archiving logs to Nexus