Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ed857253c333b25bd607939277ad976310c7a90d 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-ssh17891848425375788154.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-ssh10842510409822974412.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-ssh9480781563157206835.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-ssh15942344621250272077.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-ssh17125460788144366555.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-5462 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 ed857253c333b25bd607939277ad976310c7a90d (main) Commit message: "Merge pull request #425 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" > git config core.sparsecheckout # timeout=10 > git checkout -f ed857253c333b25bd607939277ad976310c7a90d # timeout=10 > git rev-list --no-walk 53a713b286b98fea7a803b04fd4711df4e3dc4c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-06T14:22:55.375Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-06T14:22:55.453Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-06T14:22:55.474Z] ========================================================= [2023-09-06T14:22:55.474Z] EdgeX Global Pipelines Version Info [2023-09-06T14:22:55.474Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:22:56.212Z] ------------------- [2023-09-06T14:22:56.212Z] stable info: [2023-09-06T14:22:56.212Z] ------------------- [2023-09-06T14:22:56.212Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-06T14:22:56.212Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T14:22:56.212Z] Message: update stable to v1.0.253 [2023-09-06T14:22:56.781Z] ------------------- [2023-09-06T14:22:56.781Z] experimental info: [2023-09-06T14:22:56.781Z] ------------------- [2023-09-06T14:22:56.781Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-06T14:22:56.781Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T14:22:56.781Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-06T14:22:56.949Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-06T14:22:56.970Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-06T14:22:56.990Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-06T14:22:57.008Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-06T14:22:57.028Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-06T14:22:57.047Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-06T14:22:57.064Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-06T14:22:57.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-06T14:22:57.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-06T14:22:57.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-06T14:22:57.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-06T14:22:57.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-06T14:22:57.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-06T14:22:57.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-06T14:22:57.214Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T14:22:57.231Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T14:22:57.247Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T14:22:57.263Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T14:22:57.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-06T14:22:57.298Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-06T14:22:57.316Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-06T14:22:57.336Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-06T14:22:57.360Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-06T14:22:57.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-06T14:22:57.396Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-06T14:22:57.413Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-06T14:22:57.426Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-06T14:22:57.439Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-06T14:22:57.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-06T14:22:57.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-06T14:22:57.481Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed857253c333b25bd607939277ad976310c7a90d [Pipeline] echo [2023-09-06T14:22:57.495Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed85725 [Pipeline] echo [2023-09-06T14:22:57.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T14:22:57.557Z] provisioning config files... [2023-09-06T14:22:57.571Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7155169502863496029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:22:57.873Z] ---> docker-login.sh [2023-09-06T14:22:57.873Z] nexus3.edgexfoundry.org:10001 [2023-09-06T14:22:58.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:22:58.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:22:58.393Z] Configure a credential helper to remove this warning. See [2023-09-06T14:22:58.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:22:58.393Z] [2023-09-06T14:22:58.393Z] Login Succeeded [2023-09-06T14:22:58.393Z] nexus3.edgexfoundry.org:10002 [2023-09-06T14:22:58.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:22:58.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:22:58.393Z] Configure a credential helper to remove this warning. See [2023-09-06T14:22:58.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:22:58.393Z] [2023-09-06T14:22:58.393Z] Login Succeeded [2023-09-06T14:22:58.393Z] nexus3.edgexfoundry.org:10003 [2023-09-06T14:22:58.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:22:58.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:22:58.653Z] Configure a credential helper to remove this warning. See [2023-09-06T14:22:58.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:22:58.653Z] [2023-09-06T14:22:58.653Z] Login Succeeded [2023-09-06T14:22:58.653Z] nexus3.edgexfoundry.org:10004 [2023-09-06T14:22:58.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:22:58.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:22:58.653Z] Configure a credential helper to remove this warning. See [2023-09-06T14:22:58.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:22:58.653Z] [2023-09-06T14:22:58.653Z] Login Succeeded [2023-09-06T14:22:58.653Z] docker.io [2023-09-06T14:22:58.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:22:58.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:22:58.918Z] Configure a credential helper to remove this warning. See [2023-09-06T14:22:58.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:22:58.918Z] [2023-09-06T14:22:58.918Z] Login Succeeded [2023-09-06T14:22:58.918Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T14:22:58.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-06T14:22:59.306Z] + git rev-list -1 --merges ed857253c333b25bd607939277ad976310c7a90d~1..ed857253c333b25bd607939277ad976310c7a90d [Pipeline] echo [2023-09-06T14:22:59.380Z] -----------> git rev-list -1 --merges ed857253c333b25bd607939277ad976310c7a90d~1..ed857253c333b25bd607939277ad976310c7a90d ed857253c333b25bd607939277ad976310c7a90d [2023-09-06T14:22:59.380Z] ed857253c333b25bd607939277ad976310c7a90d [false] [Pipeline] sh [2023-09-06T14:22:59.669Z] + git log --format=format:%s -1 ed857253c333b25bd607939277ad976310c7a90d [Pipeline] echo [2023-09-06T14:22:59.687Z] ========================================================= [2023-09-06T14:22:59.687Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-06T14:22:59.687Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T14:23:00.042Z] + git log --format=format:%s -1 ed857253c333b25bd607939277ad976310c7a90d [Pipeline] echo [2023-09-06T14:23:00.053Z] [semverPrep] GIT_COMMIT: ed857253c333b25bd607939277ad976310c7a90d, Commit Message: Merge pull request #425 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19 [Pipeline] echo [2023-09-06T14:23:00.061Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-06T14:23:00.450Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T14:23:00.450Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-06T14:23:00.450Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-06T14:23:00.450Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-06T14:23:00.450Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-06T14:23:00.450Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-06T14:23:00.450Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:23:00.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T14:23:00.854Z] [2023-09-06T14:23:00.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:23:01.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T14:23:01.161Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-06T14:23:01.161Z] b85a868b505f: Pulling fs layer [2023-09-06T14:23:01.161Z] e2be974225ed: Pulling fs layer [2023-09-06T14:23:01.161Z] 339a4e72a1f5: Pulling fs layer [2023-09-06T14:23:01.161Z] 988bab9f4d93: Pulling fs layer [2023-09-06T14:23:01.161Z] 1469e6f7b9e6: Pulling fs layer [2023-09-06T14:23:01.161Z] eaf3925da568: Pulling fs layer [2023-09-06T14:23:01.161Z] bab4dde63d76: Pulling fs layer [2023-09-06T14:23:01.161Z] bde34c3a00c8: Pulling fs layer [2023-09-06T14:23:01.161Z] b352a97aabf1: Pulling fs layer [2023-09-06T14:23:01.161Z] 4872d77fe225: Pulling fs layer [2023-09-06T14:23:01.161Z] 5851b861e8e6: Pulling fs layer [2023-09-06T14:23:01.161Z] 988bab9f4d93: Waiting [2023-09-06T14:23:01.161Z] 1469e6f7b9e6: Waiting [2023-09-06T14:23:01.161Z] eaf3925da568: Waiting [2023-09-06T14:23:01.162Z] bab4dde63d76: Waiting [2023-09-06T14:23:01.162Z] bde34c3a00c8: Waiting [2023-09-06T14:23:01.162Z] b352a97aabf1: Waiting [2023-09-06T14:23:01.162Z] 4872d77fe225: Waiting [2023-09-06T14:23:01.162Z] 5851b861e8e6: Waiting [2023-09-06T14:23:01.162Z] e2be974225ed: Verifying Checksum [2023-09-06T14:23:01.162Z] e2be974225ed: Download complete [2023-09-06T14:23:01.162Z] 988bab9f4d93: Download complete [2023-09-06T14:23:01.424Z] 1469e6f7b9e6: Verifying Checksum [2023-09-06T14:23:01.424Z] 1469e6f7b9e6: Download complete [2023-09-06T14:23:01.424Z] eaf3925da568: Verifying Checksum [2023-09-06T14:23:01.424Z] eaf3925da568: Download complete [2023-09-06T14:23:01.424Z] 339a4e72a1f5: Verifying Checksum [2023-09-06T14:23:01.424Z] 339a4e72a1f5: Download complete [2023-09-06T14:23:01.424Z] bde34c3a00c8: Verifying Checksum [2023-09-06T14:23:01.424Z] bde34c3a00c8: Download complete [2023-09-06T14:23:01.424Z] b352a97aabf1: Verifying Checksum [2023-09-06T14:23:01.424Z] b352a97aabf1: Download complete [2023-09-06T14:23:01.424Z] 4872d77fe225: Verifying Checksum [2023-09-06T14:23:01.424Z] 4872d77fe225: Download complete [2023-09-06T14:23:01.424Z] 5851b861e8e6: Verifying Checksum [2023-09-06T14:23:01.424Z] 5851b861e8e6: Download complete [2023-09-06T14:23:01.424Z] b85a868b505f: Verifying Checksum [2023-09-06T14:23:01.424Z] b85a868b505f: Download complete [2023-09-06T14:23:01.684Z] bab4dde63d76: Verifying Checksum [2023-09-06T14:23:01.684Z] bab4dde63d76: Download complete [2023-09-06T14:23:03.068Z] b85a868b505f: Pull complete [2023-09-06T14:23:03.068Z] e2be974225ed: Pull complete [2023-09-06T14:23:03.326Z] 339a4e72a1f5: Pull complete [2023-09-06T14:23:03.585Z] 988bab9f4d93: Pull complete [2023-09-06T14:23:03.848Z] 1469e6f7b9e6: Pull complete [2023-09-06T14:23:03.848Z] eaf3925da568: Pull complete [2023-09-06T14:23:05.773Z] bab4dde63d76: Pull complete [2023-09-06T14:23:06.033Z] bde34c3a00c8: Pull complete [2023-09-06T14:23:06.033Z] b352a97aabf1: Pull complete [2023-09-06T14:23:06.292Z] 4872d77fe225: Pull complete [2023-09-06T14:23:06.292Z] 5851b861e8e6: Pull complete [2023-09-06T14:23:06.292Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-06T14:23:06.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T14:23:06.292Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:23:06.397Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-09-06T14:23:06.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-06T14:23:10.639Z] $ docker top 81833ec401e990b35c997a6ffd7cd371c25227cb68f4982e3a7d9cc850e4b022 -eo pid,comm [2023-09-06T14:23:10.689Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-06T14:23:10.689Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T14:23:10.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T14:23:10.726Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T14:23:10.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T14:23:10.845Z] $ docker exec 81833ec401e990b35c997a6ffd7cd371c25227cb68f4982e3a7d9cc850e4b022 ssh-agent [2023-09-06T14:23:10.954Z] SSH_AUTH_SOCK=/tmp/ssh-qNYVeEhK6XP6/agent.32 [2023-09-06T14:23:10.954Z] SSH_AGENT_PID=38 [2023-09-06T14:23:10.961Z] Running ssh-add (command line suppressed) [2023-09-06T14:23:11.088Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8931790510130270336.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8931790510130270336.key) [2023-09-06T14:23:11.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T14:23:11.387Z] + git tag --points-at HEAD [Pipeline] } [2023-09-06T14:23:11.409Z] $ docker exec --env ******** --env ******** 81833ec401e990b35c997a6ffd7cd371c25227cb68f4982e3a7d9cc850e4b022 ssh-agent -k [2023-09-06T14:23:11.507Z] unset SSH_AUTH_SOCK; [2023-09-06T14:23:11.508Z] unset SSH_AGENT_PID; [2023-09-06T14:23:11.508Z] echo Agent pid 38 killed; [2023-09-06T14:23:11.515Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-06T14:23:11.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T14:23:11.539Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T14:23:11.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T14:23:11.657Z] $ docker exec 81833ec401e990b35c997a6ffd7cd371c25227cb68f4982e3a7d9cc850e4b022 ssh-agent [2023-09-06T14:23:11.768Z] SSH_AUTH_SOCK=/tmp/ssh-FJoXyRma9k2S/agent.71 [2023-09-06T14:23:11.769Z] SSH_AGENT_PID=78 [2023-09-06T14:23:11.773Z] Running ssh-add (command line suppressed) [2023-09-06T14:23:11.875Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6104123705863698002.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6104123705863698002.key) [2023-09-06T14:23:11.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T14:23:12.175Z] + git semver init [2023-09-06T14:23:12.434Z] 2023-09-06 14:23:12,403 [run_init] DEBUG init version:0.0.0 force:False [2023-09-06T14:23:12.434Z] 2023-09-06 14:23:12,404 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-06T14:23:12.434Z] 2023-09-06 14:23:12,405 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-06T14:23:12.434Z] 2023-09-06 14:23:12,406 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-06T14:23:13.827Z] 2023-09-06 14:23:13,747 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-09-06T14:23:13.827Z] 2023-09-06 14:23:13,747 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-09-06T14:23:13.827Z] 2023-09-06 14:23:13,747 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-06T14:23:13.827Z] 2023-09-06 14:23:13,748 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-06T14:23:13.827Z] 3.1.0-dev.10 [Pipeline] } [2023-09-06T14:23:13.841Z] $ docker exec --env ******** --env ******** 81833ec401e990b35c997a6ffd7cd371c25227cb68f4982e3a7d9cc850e4b022 ssh-agent -k [2023-09-06T14:23:13.949Z] unset SSH_AUTH_SOCK; [2023-09-06T14:23:13.950Z] unset SSH_AGENT_PID; [2023-09-06T14:23:13.950Z] echo Agent pid 78 killed; [2023-09-06T14:23:13.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T14:23:14.256Z] + git semver [Pipeline] } [2023-09-06T14:23:14.532Z] $ docker stop --time=1 81833ec401e990b35c997a6ffd7cd371c25227cb68f4982e3a7d9cc850e4b022 [2023-09-06T14:23:15.946Z] $ docker rm -f --volumes 81833ec401e990b35c997a6ffd7cd371c25227cb68f4982e3a7d9cc850e4b022 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T14:23:16.284Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-06T14:23:16.525Z] Stashed 1 file(s) [Pipeline] echo [2023-09-06T14:23:16.528Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T14:23:16.655Z] provisioning config files... [2023-09-06T14:23:16.666Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10091119948395827583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:23:16.969Z] ---> docker-login.sh [2023-09-06T14:23:16.969Z] nexus3.edgexfoundry.org:10001 [2023-09-06T14:23:16.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:23:16.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:23:16.969Z] Configure a credential helper to remove this warning. See [2023-09-06T14:23:16.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:23:16.969Z] [2023-09-06T14:23:16.969Z] Login Succeeded [2023-09-06T14:23:16.969Z] nexus3.edgexfoundry.org:10002 [2023-09-06T14:23:16.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:23:16.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:23:16.969Z] Configure a credential helper to remove this warning. See [2023-09-06T14:23:16.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:23:16.969Z] [2023-09-06T14:23:16.969Z] Login Succeeded [2023-09-06T14:23:16.969Z] nexus3.edgexfoundry.org:10003 [2023-09-06T14:23:17.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:23:17.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:23:17.229Z] Configure a credential helper to remove this warning. See [2023-09-06T14:23:17.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:23:17.229Z] [2023-09-06T14:23:17.229Z] Login Succeeded [2023-09-06T14:23:17.229Z] nexus3.edgexfoundry.org:10004 [2023-09-06T14:23:17.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:23:17.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:23:17.229Z] Configure a credential helper to remove this warning. See [2023-09-06T14:23:17.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:23:17.229Z] [2023-09-06T14:23:17.229Z] Login Succeeded [2023-09-06T14:23:17.229Z] docker.io [2023-09-06T14:23:17.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:23:17.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:23:17.749Z] Configure a credential helper to remove this warning. See [2023-09-06T14:23:17.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:23:17.749Z] [2023-09-06T14:23:17.749Z] Login Succeeded [2023-09-06T14:23:17.749Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T14:23:17.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-06T14:23:17.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T14:23:17.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T14:23:17.840Z] ========================================================= [2023-09-06T14:23:17.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-06T14:23:17.840Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:23:18.158Z] + 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-09-06T14:23:18.158Z] Sending build context to Docker daemon 23.58MB [2023-09-06T14:23:18.158Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T14:23:18.158Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-06T14:23:18.419Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-06T14:23:18.419Z] 4db1b89c0bd1: Pulling fs layer [2023-09-06T14:23:18.419Z] 6911f1a30b25: Pulling fs layer [2023-09-06T14:23:18.419Z] e194b8c5c2a9: Pulling fs layer [2023-09-06T14:23:18.419Z] 6863d3e3a2b1: Pulling fs layer [2023-09-06T14:23:18.419Z] ec0bb842ea78: Pulling fs layer [2023-09-06T14:23:18.419Z] 40a00589a448: Pulling fs layer [2023-09-06T14:23:18.419Z] 6c08303d61cc: Pulling fs layer [2023-09-06T14:23:18.419Z] 6863d3e3a2b1: Waiting [2023-09-06T14:23:18.419Z] 6c08303d61cc: Waiting [2023-09-06T14:23:18.419Z] 40a00589a448: Waiting [2023-09-06T14:23:18.419Z] ec0bb842ea78: Waiting [2023-09-06T14:23:18.419Z] 798269fcf238: Pulling fs layer [2023-09-06T14:23:18.419Z] 798269fcf238: Waiting [2023-09-06T14:23:18.419Z] 6911f1a30b25: Verifying Checksum [2023-09-06T14:23:18.419Z] 6911f1a30b25: Download complete [2023-09-06T14:23:18.419Z] 6863d3e3a2b1: Verifying Checksum [2023-09-06T14:23:18.419Z] 6863d3e3a2b1: Download complete [2023-09-06T14:23:18.419Z] ec0bb842ea78: Verifying Checksum [2023-09-06T14:23:18.419Z] ec0bb842ea78: Download complete [2023-09-06T14:23:18.419Z] 4db1b89c0bd1: Verifying Checksum [2023-09-06T14:23:18.419Z] 4db1b89c0bd1: Download complete [2023-09-06T14:23:18.419Z] 40a00589a448: Verifying Checksum [2023-09-06T14:23:18.419Z] 40a00589a448: Download complete [2023-09-06T14:23:18.680Z] 4db1b89c0bd1: Pull complete [2023-09-06T14:23:18.680Z] 6911f1a30b25: Pull complete [2023-09-06T14:23:19.253Z] 798269fcf238: Verifying Checksum [2023-09-06T14:23:19.253Z] 798269fcf238: Download complete [2023-09-06T14:23:19.253Z] e194b8c5c2a9: Verifying Checksum [2023-09-06T14:23:19.253Z] e194b8c5c2a9: Download complete [2023-09-06T14:23:19.512Z] 6c08303d61cc: Verifying Checksum [2023-09-06T14:23:19.512Z] 6c08303d61cc: Download complete [2023-09-06T14:23:23.717Z] e194b8c5c2a9: Pull complete [2023-09-06T14:23:23.717Z] 6863d3e3a2b1: Pull complete [2023-09-06T14:23:23.717Z] ec0bb842ea78: Pull complete [2023-09-06T14:23:23.717Z] 40a00589a448: Pull complete [2023-09-06T14:23:27.087Z] 6c08303d61cc: Pull complete [2023-09-06T14:23:28.025Z] 798269fcf238: Pull complete [2023-09-06T14:23:28.284Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-06T14:23:28.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-06T14:23:28.543Z] ---> ec979cd7f677 [2023-09-06T14:23:28.543Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-06T14:23:31.617Z] Still waiting to schedule task [2023-09-06T14:23:31.618Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-06T14:23:43.455Z] ---> Running in b3ecdaff20ac [2023-09-06T14:23:43.455Z] Removing intermediate container b3ecdaff20ac [2023-09-06T14:23:43.455Z] ---> 8b48724360d6 [2023-09-06T14:23:43.455Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-06T14:23:43.455Z] ---> Running in ca3c8ffee8a0 [2023-09-06T14:23:43.455Z] Removing intermediate container ca3c8ffee8a0 [2023-09-06T14:23:43.455Z] ---> 08a31ba44a24 [2023-09-06T14:23:43.455Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-06T14:23:43.455Z] ---> Running in 26853f902655 [2023-09-06T14:23:43.455Z] Removing intermediate container 26853f902655 [2023-09-06T14:23:43.455Z] ---> 22b618c39171 [2023-09-06T14:23:43.455Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-06T14:23:43.455Z] ---> Running in f46a359001a8 [2023-09-06T14:23:43.714Z] Removing intermediate container f46a359001a8 [2023-09-06T14:23:43.714Z] ---> c395368f9b06 [2023-09-06T14:23:43.714Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T14:23:43.714Z] ---> Running in e90ea06ce1e3 [2023-09-06T14:23:43.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T14:23:44.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T14:23:44.493Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-06T14:23:44.493Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-06T14:23:44.493Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-06T14:23:44.752Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-06T14:23:44.752Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T14:23:44.752Z] OK: 269 MiB in 57 packages [2023-09-06T14:23:45.321Z] Removing intermediate container e90ea06ce1e3 [2023-09-06T14:23:45.321Z] ---> e987e4b95522 [2023-09-06T14:23:45.321Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-06T14:23:45.321Z] ---> ea372f21b32f [2023-09-06T14:23:45.321Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T14:23:45.321Z] ---> Running in 5314abe6c2b8 [2023-09-06T14:24:53.158Z] Removing intermediate container 5314abe6c2b8 [2023-09-06T14:24:53.159Z] ---> 1a4814b5f7a6 [2023-09-06T14:24:53.159Z] Step 10/12 : COPY . . [2023-09-06T14:24:53.159Z] ---> 7ea3a9856526 [2023-09-06T14:24:53.159Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T14:24:53.159Z] ---> Running in 7527ab675805 [2023-09-06T14:24:53.159Z] Removing intermediate container 7527ab675805 [2023-09-06T14:24:53.159Z] ---> 8c66f2c734d1 [2023-09-06T14:24:53.159Z] Step 12/12 : RUN $MAKE [2023-09-06T14:24:53.159Z] ---> Running in 9d15111a9124 [2023-09-06T14:24:53.159Z] noop [2023-09-06T14:24:53.159Z] Removing intermediate container 9d15111a9124 [2023-09-06T14:24:53.159Z] ---> dfc48e23546c [2023-09-06T14:24:53.159Z] Successfully built dfc48e23546c [2023-09-06T14:24:53.159Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:24:53.481Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T14:24:53.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:24:53.558Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-09-06T14:24:53.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-06T14:24:53.972Z] $ docker top 89686c63ae550b7301410f0339de723d6465861f2833269d8658ee203ce06068 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T14:24:54.313Z] + go version [2023-09-06T14:24:54.314Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-06T14:24:54.327Z] $ docker stop --time=1 89686c63ae550b7301410f0339de723d6465861f2833269d8658ee203ce06068 [2023-09-06T14:24:55.607Z] $ docker rm -f --volumes 89686c63ae550b7301410f0339de723d6465861f2833269d8658ee203ce06068 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:24:56.021Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T14:24:56.022Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:24:56.096Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-09-06T14:24:56.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-06T14:24:56.464Z] $ docker top c30be8a81f790c548ae94b06e88129d64a0f1167e5fccd815d9a9346a4d86d78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T14:24:56.812Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-06T14:24:57.110Z] + make test [2023-09-06T14:24:57.111Z] go test ./... -coverprofile=coverage.out [2023-09-06T14:25:02.383Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-06T14:25:11.416Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5463 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-09-06T14:25:11.428Z] Running in /w/workspace/device-virtual-go/136 [Pipeline] { [Pipeline] checkout [2023-09-06T14:25:11.455Z] The recommended git tool is: git [2023-09-06T14:25:14.591Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-06T14:25:14.591Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements [2023-09-06T14:25:16.362Z] using credential edgex-jenkins-ssh [2023-09-06T14:25:16.379Z] Cloning the remote Git repository [2023-09-06T14:25:16.416Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-06T14:25:16.502Z] > git init /w/workspace/device-virtual-go/136 # timeout=10 [2023-09-06T14:25:16.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-06T14:25:16.623Z] > git --version # timeout=10 [2023-09-06T14:25:16.642Z] > git --version # 'git version 2.25.1' [2023-09-06T14:25:16.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T14:25:16.777Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T14:25:18.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-06T14:25:18.762Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T14:25:19.551Z] Avoid second fetch [2023-09-06T14:25:19.552Z] Checking out Revision ed857253c333b25bd607939277ad976310c7a90d (main) [2023-09-06T14:25:20.056Z] Commit message: "Merge pull request #425 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" [2023-09-06T14:25:19.565Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T14:25:19.633Z] > git checkout -f ed857253c333b25bd607939277ad976310c7a90d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T14:25:21.022Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-06T14:25:21.022Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T14:25:21.022Z] Dload Upload Total Spent Left Speed [2023-09-06T14:25:21.022Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83888 [2023-09-06T14:25:21.163Z] go vet ./... [Pipeline] sh [2023-09-06T14:25:21.667Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-06T14:25:21.987Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-06T14:25:21.987Z] + sudo tee /etc/docker/daemon.new [2023-09-06T14:25:21.987Z] { [2023-09-06T14:25:21.987Z] "registry-mirrors": [ [2023-09-06T14:25:21.987Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-06T14:25:21.987Z] ], [2023-09-06T14:25:21.987Z] "bip": "10.250.0.254/24", [2023-09-06T14:25:21.987Z] "hosts": [ [2023-09-06T14:25:21.987Z] "tcp://0.0.0.0:5555", [2023-09-06T14:25:21.987Z] "unix:///var/run/docker.sock" [2023-09-06T14:25:21.987Z] ], [2023-09-06T14:25:21.987Z] "mtu": 1458, [2023-09-06T14:25:21.987Z] "selinux-enabled": true, [2023-09-06T14:25:21.987Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-06T14:25:21.987Z] } [Pipeline] sh [2023-09-06T14:25:22.314Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-06T14:25:22.656Z] + sudo service docker restart [2023-09-06T14:25:24.456Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T14:25:24.456Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T14:25:24.456Z] ./bin/test-attribution-txt.sh [2023-09-06T14:25:24.456Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-09-06T14:25:24.456Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-09-06T14:25:24.456Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-09-06T14:25:24.456Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-09-06T14:25:24.456Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-09-06T14:25:24.456Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-09-06T14:25:24.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T14:25:24.483Z] $ docker stop --time=1 c30be8a81f790c548ae94b06e88129d64a0f1167e5fccd815d9a9346a4d86d78 [2023-09-06T14:25:29.705Z] $ docker rm -f --volumes c30be8a81f790c548ae94b06e88129d64a0f1167e5fccd815d9a9346a4d86d78 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T14:25:30.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T14:25:30.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-06T14:25:30.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T14:25:31.136Z] + ls -al . [2023-09-06T14:25:31.136Z] total 204 [2023-09-06T14:25:31.136Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 6 14:24 . [2023-09-06T14:25:31.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 14:22 .. [2023-09-06T14:25:31.136Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 14:23 .git [2023-09-06T14:25:31.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 14:22 .github [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 6 14:22 .gitignore [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 14:22 .golangci.yml [2023-09-06T14:25:31.136Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 14:23 .semver [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 8950 Sep 6 14:22 Attribution.txt [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 6 14:22 CHANGELOG.md [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 6 14:22 Dockerfile [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 14:22 GOVERNANCE.md [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 6 14:22 Jenkinsfile [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 14:22 LICENSE [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 6 14:22 Makefile [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 6 14:22 OWNERS.md [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 6 14:22 README.md [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 14:23 VERSION [2023-09-06T14:25:31.136Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 14:22 bin [2023-09-06T14:25:31.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 14:22 cmd [2023-09-06T14:25:31.136Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 6 14:25 coverage.out [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 3636 Sep 6 14:22 go.mod [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 33427 Sep 6 14:22 go.sum [2023-09-06T14:25:31.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 14:22 internal [2023-09-06T14:25:31.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 14:22 snap [2023-09-06T14:25:31.136Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 6 14:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:25:31.441Z] + 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=ed857253c333b25bd607939277ad976310c7a90d --label arch=amd64 --label version=3.1.0-dev.10 . [2023-09-06T14:25:31.441Z] Sending build context to Docker daemon 23.63MB [2023-09-06T14:25:31.441Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T14:25:31.441Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-06T14:25:31.441Z] ---> dfc48e23546c [2023-09-06T14:25:31.441Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-06T14:25:32.060Z] ---> Running in 1caf756f8c58 [2023-09-06T14:25:32.060Z] Removing intermediate container 1caf756f8c58 [2023-09-06T14:25:32.060Z] ---> 13a99151e36d [2023-09-06T14:25:32.060Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-06T14:25:32.060Z] ---> Running in c772a4197906 [2023-09-06T14:25:32.060Z] Removing intermediate container c772a4197906 [2023-09-06T14:25:32.060Z] ---> 64f108c70925 [2023-09-06T14:25:32.060Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-06T14:25:32.060Z] ---> Running in 21ca7217f8bd [2023-09-06T14:25:32.060Z] Removing intermediate container 21ca7217f8bd [2023-09-06T14:25:32.060Z] ---> 0e80a0ff54b2 [2023-09-06T14:25:32.060Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-06T14:25:32.319Z] ---> Running in d8ac65a60fa5 [2023-09-06T14:25:32.319Z] Removing intermediate container d8ac65a60fa5 [2023-09-06T14:25:32.319Z] ---> ded57635e7ff [2023-09-06T14:25:32.319Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T14:25:32.319Z] ---> Running in a16ef701045b [2023-09-06T14:25:32.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T14:25:32.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T14:25:33.097Z] OK: 269 MiB in 57 packages [2023-09-06T14:25:33.355Z] Removing intermediate container a16ef701045b [2023-09-06T14:25:33.355Z] ---> f7cd5392eb91 [2023-09-06T14:25:33.355Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-06T14:25:33.614Z] ---> bae65163b173 [2023-09-06T14:25:33.614Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T14:25:33.614Z] ---> Running in 7a6ccb824243 [2023-09-06T14:25:34.553Z] Removing intermediate container 7a6ccb824243 [2023-09-06T14:25:34.553Z] ---> 62f8544263b6 [2023-09-06T14:25:34.553Z] Step 10/25 : COPY . . [2023-09-06T14:25:35.490Z] ---> 1c3ca0a83334 [2023-09-06T14:25:35.490Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T14:25:35.490Z] ---> Running in c45860293559 [2023-09-06T14:25:35.490Z] Removing intermediate container c45860293559 [2023-09-06T14:25:35.490Z] ---> 36cc18f4dd6c [2023-09-06T14:25:35.490Z] Step 12/25 : RUN $MAKE [2023-09-06T14:25:35.749Z] ---> Running in dcaa63cd0cf8 [2023-09-06T14:25:36.007Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T14:25:40.904Z] provisioning config files... [2023-09-06T14:25:40.929Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/136@tmp/config5809088031252539496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:25:41.273Z] ---> docker-login.sh [2023-09-06T14:25:41.274Z] nexus3.edgexfoundry.org:10001 [2023-09-06T14:25:41.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:25:41.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:25:41.810Z] Configure a credential helper to remove this warning. See [2023-09-06T14:25:41.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:25:41.810Z] [2023-09-06T14:25:41.810Z] Login Succeeded [2023-09-06T14:25:41.810Z] nexus3.edgexfoundry.org:10002 [2023-09-06T14:25:42.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:25:42.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:25:42.078Z] Configure a credential helper to remove this warning. See [2023-09-06T14:25:42.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:25:42.078Z] [2023-09-06T14:25:42.078Z] Login Succeeded [2023-09-06T14:25:42.078Z] nexus3.edgexfoundry.org:10003 [2023-09-06T14:25:42.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:25:42.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:25:42.620Z] Configure a credential helper to remove this warning. See [2023-09-06T14:25:42.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:25:42.620Z] [2023-09-06T14:25:42.620Z] Login Succeeded [2023-09-06T14:25:42.620Z] nexus3.edgexfoundry.org:10004 [2023-09-06T14:25:42.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:25:42.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:25:42.894Z] Configure a credential helper to remove this warning. See [2023-09-06T14:25:42.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:25:42.894Z] [2023-09-06T14:25:42.894Z] Login Succeeded [2023-09-06T14:25:42.894Z] docker.io [2023-09-06T14:25:43.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:25:43.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:25:43.434Z] Configure a credential helper to remove this warning. See [2023-09-06T14:25:43.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:25:43.434Z] [2023-09-06T14:25:43.434Z] Login Succeeded [2023-09-06T14:25:43.434Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T14:25:43.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-06T14:25:43.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T14:25:43.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T14:25:43.725Z] ========================================================= [2023-09-06T14:25:43.726Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-06T14:25:43.726Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:25:44.077Z] + 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-09-06T14:25:44.347Z] Sending build context to Docker daemon 11.92MB [2023-09-06T14:25:44.347Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T14:25:44.347Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-06T14:25:44.617Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-06T14:25:44.617Z] edb6bdbacee9: Pulling fs layer [2023-09-06T14:25:44.617Z] 5f9638ab2659: Pulling fs layer [2023-09-06T14:25:44.617Z] 8d51d6327a98: Pulling fs layer [2023-09-06T14:25:44.617Z] 8b374f2dd631: Pulling fs layer [2023-09-06T14:25:44.617Z] ec14aa9079de: Pulling fs layer [2023-09-06T14:25:44.617Z] 2f466654f4bb: Pulling fs layer [2023-09-06T14:25:44.617Z] 554e91adad29: Pulling fs layer [2023-09-06T14:25:44.617Z] 8b374f2dd631: Waiting [2023-09-06T14:25:44.617Z] ec14aa9079de: Waiting [2023-09-06T14:25:44.617Z] 2f466654f4bb: Waiting [2023-09-06T14:25:44.617Z] 554e91adad29: Waiting [2023-09-06T14:25:44.617Z] 5f9638ab2659: Verifying Checksum [2023-09-06T14:25:44.617Z] 5f9638ab2659: Download complete [2023-09-06T14:25:44.617Z] 8b374f2dd631: Download complete [2023-09-06T14:25:44.617Z] ec14aa9079de: Verifying Checksum [2023-09-06T14:25:44.617Z] ec14aa9079de: Download complete [2023-09-06T14:25:44.617Z] edb6bdbacee9: Verifying Checksum [2023-09-06T14:25:44.617Z] edb6bdbacee9: Download complete [2023-09-06T14:25:46.043Z] edb6bdbacee9: Pull complete [2023-09-06T14:25:46.043Z] 554e91adad29: Verifying Checksum [2023-09-06T14:25:46.043Z] 554e91adad29: Download complete [2023-09-06T14:25:46.313Z] 5f9638ab2659: Pull complete [2023-09-06T14:25:47.294Z] 2f466654f4bb: Verifying Checksum [2023-09-06T14:25:47.294Z] 2f466654f4bb: Download complete [2023-09-06T14:25:47.294Z] 8d51d6327a98: Verifying Checksum [2023-09-06T14:25:47.294Z] 8d51d6327a98: Download complete [2023-09-06T14:25:57.376Z] 8d51d6327a98: Pull complete [2023-09-06T14:25:57.647Z] 8b374f2dd631: Pull complete [2023-09-06T14:25:57.914Z] ec14aa9079de: Pull complete [2023-09-06T14:26:02.598Z] Removing intermediate container dcaa63cd0cf8 [2023-09-06T14:26:02.598Z] ---> 74ab88fdf6c9 [2023-09-06T14:26:02.598Z] Step 13/25 : FROM alpine:3.17 [2023-09-06T14:26:02.598Z] 3.17: Pulling from library/alpine [2023-09-06T14:26:02.598Z] 9398808236ff: Pulling fs layer [2023-09-06T14:26:02.598Z] 9398808236ff: Verifying Checksum [2023-09-06T14:26:02.598Z] 9398808236ff: Download complete [2023-09-06T14:26:02.598Z] 9398808236ff: Pull complete [2023-09-06T14:26:02.598Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T14:26:02.598Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T14:26:02.598Z] ---> 1e0b8b5322fc [2023-09-06T14:26:02.598Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-06T14:26:02.598Z] ---> Running in 4649d5680ce7 [2023-09-06T14:26:02.598Z] Removing intermediate container 4649d5680ce7 [2023-09-06T14:26:02.598Z] ---> ca5ec2d6910f [2023-09-06T14:26:02.598Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-06T14:26:02.598Z] ---> Running in d1f8ffbef000 [2023-09-06T14:26:02.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T14:26:02.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T14:26:02.598Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-06T14:26:02.598Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T14:26:02.598Z] OK: 7 MiB in 16 packages [2023-09-06T14:26:02.598Z] Removing intermediate container d1f8ffbef000 [2023-09-06T14:26:02.598Z] ---> c999f25d6f97 [2023-09-06T14:26:02.598Z] Step 16/25 : WORKDIR / [2023-09-06T14:26:02.598Z] ---> Running in 98b056cc9f5e [2023-09-06T14:26:02.598Z] Removing intermediate container 98b056cc9f5e [2023-09-06T14:26:02.598Z] ---> 40997c920230 [2023-09-06T14:26:02.598Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-06T14:26:02.598Z] ---> d0a49bd1dc0f [2023-09-06T14:26:02.598Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-06T14:26:02.598Z] ---> 33e1e6594853 [2023-09-06T14:26:02.598Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-06T14:26:02.598Z] ---> 865ee927cb52 [2023-09-06T14:26:02.598Z] Step 20/25 : EXPOSE 59900 [2023-09-06T14:26:02.598Z] ---> Running in b8eb41c550fc [2023-09-06T14:26:02.598Z] Removing intermediate container b8eb41c550fc [2023-09-06T14:26:02.598Z] ---> e9b42222b5a2 [2023-09-06T14:26:02.598Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-06T14:26:02.598Z] ---> Running in 796bf6f98d45 [2023-09-06T14:26:02.598Z] Removing intermediate container 796bf6f98d45 [2023-09-06T14:26:02.598Z] ---> 4f46ece365b0 [2023-09-06T14:26:02.598Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-06T14:26:02.598Z] ---> Running in 62ac4febcddc [2023-09-06T14:26:02.598Z] Removing intermediate container 62ac4febcddc [2023-09-06T14:26:02.598Z] ---> 7cd2842246a1 [2023-09-06T14:26:02.598Z] Step 23/25 : LABEL arch=amd64 [2023-09-06T14:26:02.598Z] ---> Running in b1c073bc41c8 [2023-09-06T14:26:02.598Z] Removing intermediate container b1c073bc41c8 [2023-09-06T14:26:02.598Z] ---> 137a3f844268 [2023-09-06T14:26:02.598Z] Step 24/25 : LABEL git_sha=ed857253c333b25bd607939277ad976310c7a90d [2023-09-06T14:26:02.598Z] ---> Running in 409b091d0ba3 [2023-09-06T14:26:02.598Z] Removing intermediate container 409b091d0ba3 [2023-09-06T14:26:02.598Z] ---> f9aa4340a24e [2023-09-06T14:26:02.598Z] Step 25/25 : LABEL version=3.1.0-dev.10 [2023-09-06T14:26:02.857Z] ---> Running in a127e308404b [2023-09-06T14:26:02.857Z] Removing intermediate container a127e308404b [2023-09-06T14:26:02.857Z] ---> fcc498b81269 [2023-09-06T14:26:02.857Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T14:26:02.857Z] Successfully built fcc498b81269 [2023-09-06T14:26:02.857Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T14:26:02.941Z] provisioning config files... [2023-09-06T14:26:02.949Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13773398071552598215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:26:03.243Z] ---> docker-login.sh [2023-09-06T14:26:03.243Z] nexus3.edgexfoundry.org:10001 [2023-09-06T14:26:03.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:26:03.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:26:03.243Z] Configure a credential helper to remove this warning. See [2023-09-06T14:26:03.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:26:03.243Z] [2023-09-06T14:26:03.243Z] Login Succeeded [2023-09-06T14:26:03.243Z] nexus3.edgexfoundry.org:10002 [2023-09-06T14:26:03.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:26:03.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:26:03.243Z] Configure a credential helper to remove this warning. See [2023-09-06T14:26:03.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:26:03.243Z] [2023-09-06T14:26:03.243Z] Login Succeeded [2023-09-06T14:26:03.243Z] nexus3.edgexfoundry.org:10003 [2023-09-06T14:26:03.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:26:03.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:26:03.502Z] Configure a credential helper to remove this warning. See [2023-09-06T14:26:03.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:26:03.502Z] [2023-09-06T14:26:03.502Z] Login Succeeded [2023-09-06T14:26:03.502Z] nexus3.edgexfoundry.org:10004 [2023-09-06T14:26:03.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:26:03.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:26:03.502Z] Configure a credential helper to remove this warning. See [2023-09-06T14:26:03.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:26:03.502Z] [2023-09-06T14:26:03.502Z] Login Succeeded [2023-09-06T14:26:03.502Z] docker.io [2023-09-06T14:26:03.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:26:03.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:26:03.763Z] Configure a credential helper to remove this warning. See [2023-09-06T14:26:03.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:26:03.763Z] [2023-09-06T14:26:03.763Z] Login Succeeded [2023-09-06T14:26:03.763Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T14:26:03.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-06T14:26:03.796Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T14:26:03.813Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-09-06T14:26:03.813Z] ed857253c333b25bd607939277ad976310c7a90d [2023-09-06T14:26:03.813Z] latest [2023-09-06T14:26:03.813Z] 3.1.0-dev.10 [2023-09-06T14:26:03.813Z] ed857253c333b25bd607939277ad976310c7a90d-3.1.0-dev.10 [2023-09-06T14:26:03.813Z] main [2023-09-06T14:26:03.813Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:04.193Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ed857253c333b25bd607939277ad976310c7a90d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:04.512Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:ed857253c333b25bd607939277ad976310c7a90d [2023-09-06T14:26:04.512Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-06T14:26:04.512Z] 2e66accfce2e: Preparing [2023-09-06T14:26:04.512Z] 841af11b8ddc: Preparing [2023-09-06T14:26:04.512Z] 6e8ce8bcff0c: Preparing [2023-09-06T14:26:04.512Z] 9735302f410f: Preparing [2023-09-06T14:26:04.512Z] 36b50b131297: Preparing [2023-09-06T14:26:04.512Z] 36b50b131297: Layer already exists [2023-09-06T14:26:04.512Z] 841af11b8ddc: Pushed [2023-09-06T14:26:04.512Z] 9735302f410f: Pushed [2023-09-06T14:26:04.512Z] 6e8ce8bcff0c: Pushed [2023-09-06T14:26:06.142Z] 2f466654f4bb: Pull complete [2023-09-06T14:26:07.734Z] 554e91adad29: Pull complete [2023-09-06T14:26:07.734Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-06T14:26:07.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-06T14:26:07.734Z] ---> 1e15ea492957 [2023-09-06T14:26:07.734Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-06T14:26:07.800Z] 2e66accfce2e: Pushed [2023-09-06T14:26:07.800Z] ed857253c333b25bd607939277ad976310c7a90d: digest: sha256:4aef2aa652046c315576b6588cd5e808da88957e023b06045086d755025283dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:08.114Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:08.415Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-06T14:26:08.415Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-06T14:26:08.415Z] 2e66accfce2e: Preparing [2023-09-06T14:26:08.415Z] 841af11b8ddc: Preparing [2023-09-06T14:26:08.415Z] 6e8ce8bcff0c: Preparing [2023-09-06T14:26:08.415Z] 9735302f410f: Preparing [2023-09-06T14:26:08.415Z] 36b50b131297: Preparing [2023-09-06T14:26:08.415Z] 841af11b8ddc: Layer already exists [2023-09-06T14:26:08.415Z] 6e8ce8bcff0c: Layer already exists [2023-09-06T14:26:08.415Z] 2e66accfce2e: Layer already exists [2023-09-06T14:26:08.415Z] 36b50b131297: Layer already exists [2023-09-06T14:26:08.415Z] 9735302f410f: Layer already exists [2023-09-06T14:26:08.415Z] latest: digest: sha256:4aef2aa652046c315576b6588cd5e808da88957e023b06045086d755025283dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:08.724Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:09.031Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.10 [2023-09-06T14:26:09.031Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-06T14:26:09.031Z] 2e66accfce2e: Preparing [2023-09-06T14:26:09.031Z] 841af11b8ddc: Preparing [2023-09-06T14:26:09.031Z] 6e8ce8bcff0c: Preparing [2023-09-06T14:26:09.031Z] 9735302f410f: Preparing [2023-09-06T14:26:09.031Z] 36b50b131297: Preparing [2023-09-06T14:26:09.031Z] 6e8ce8bcff0c: Layer already exists [2023-09-06T14:26:09.031Z] 36b50b131297: Layer already exists [2023-09-06T14:26:09.031Z] 841af11b8ddc: Layer already exists [2023-09-06T14:26:09.031Z] 9735302f410f: Layer already exists [2023-09-06T14:26:09.031Z] 2e66accfce2e: Layer already exists [2023-09-06T14:26:09.031Z] 3.1.0-dev.10: digest: sha256:4aef2aa652046c315576b6588cd5e808da88957e023b06045086d755025283dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:09.338Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ed857253c333b25bd607939277ad976310c7a90d-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:09.641Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:ed857253c333b25bd607939277ad976310c7a90d-3.1.0-dev.10 [2023-09-06T14:26:09.641Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-06T14:26:09.641Z] 2e66accfce2e: Preparing [2023-09-06T14:26:09.641Z] 841af11b8ddc: Preparing [2023-09-06T14:26:09.641Z] 6e8ce8bcff0c: Preparing [2023-09-06T14:26:09.641Z] 9735302f410f: Preparing [2023-09-06T14:26:09.641Z] 36b50b131297: Preparing [2023-09-06T14:26:09.641Z] 9735302f410f: Layer already exists [2023-09-06T14:26:09.641Z] 2e66accfce2e: Layer already exists [2023-09-06T14:26:09.641Z] 36b50b131297: Layer already exists [2023-09-06T14:26:09.641Z] 841af11b8ddc: Layer already exists [2023-09-06T14:26:09.641Z] 6e8ce8bcff0c: Layer already exists [2023-09-06T14:26:09.641Z] ed857253c333b25bd607939277ad976310c7a90d-3.1.0-dev.10: digest: sha256:4aef2aa652046c315576b6588cd5e808da88957e023b06045086d755025283dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:09.697Z] ---> Running in 034bab088d76 [2023-09-06T14:26:09.697Z] Removing intermediate container 034bab088d76 [2023-09-06T14:26:09.697Z] ---> e8b1f8c9ca3a [2023-09-06T14:26:09.697Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-06T14:26:09.697Z] ---> Running in 3150b389d9d6 [2023-09-06T14:26:09.955Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [2023-09-06T14:26:09.965Z] Removing intermediate container 3150b389d9d6 [2023-09-06T14:26:09.965Z] ---> 344ef962e016 [2023-09-06T14:26:09.965Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-06T14:26:09.965Z] ---> Running in 0891e37afaa9 [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:10.231Z] Removing intermediate container 0891e37afaa9 [2023-09-06T14:26:10.231Z] ---> 31d2391b2c76 [2023-09-06T14:26:10.231Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-06T14:26:10.276Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-09-06T14:26:10.276Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-06T14:26:10.276Z] 2e66accfce2e: Preparing [2023-09-06T14:26:10.276Z] 841af11b8ddc: Preparing [2023-09-06T14:26:10.276Z] 6e8ce8bcff0c: Preparing [2023-09-06T14:26:10.276Z] 9735302f410f: Preparing [2023-09-06T14:26:10.276Z] 36b50b131297: Preparing [2023-09-06T14:26:10.276Z] 6e8ce8bcff0c: Layer already exists [2023-09-06T14:26:10.276Z] 841af11b8ddc: Layer already exists [2023-09-06T14:26:10.276Z] 2e66accfce2e: Layer already exists [2023-09-06T14:26:10.276Z] 9735302f410f: Layer already exists [2023-09-06T14:26:10.276Z] 36b50b131297: Layer already exists [2023-09-06T14:26:10.276Z] main: digest: sha256:4aef2aa652046c315576b6588cd5e808da88957e023b06045086d755025283dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-06T14:26:10.330Z] ===================================================== [Pipeline] echo [2023-09-06T14:26:10.340Z] taggedImages: [2023-09-06T14:26:10.340Z] - nexus3.edgexfoundry.org:10004/device-virtual:ed857253c333b25bd607939277ad976310c7a90d [2023-09-06T14:26:10.340Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-06T14:26:10.340Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.10 [2023-09-06T14:26:10.340Z] - nexus3.edgexfoundry.org:10004/device-virtual:ed857253c333b25bd607939277ad976310c7a90d-3.1.0-dev.10 [2023-09-06T14:26:10.340Z] - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:10.499Z] ---> Running in de22e1a8e42d [2023-09-06T14:26:10.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T14:26:10.712Z] [2023-09-06T14:26:10.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:26:10.765Z] Removing intermediate container de22e1a8e42d [2023-09-06T14:26:10.765Z] ---> 20fcefb3ca91 [2023-09-06T14:26:10.765Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T14:26:10.765Z] ---> Running in 0e74f9107ad6 [2023-09-06T14:26:11.022Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T14:26:11.022Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-06T14:26:11.022Z] 5eb5b503b376: Pulling fs layer [2023-09-06T14:26:11.022Z] 5c69ac0246d0: Pulling fs layer [2023-09-06T14:26:11.022Z] ec43610c2a17: Pulling fs layer [2023-09-06T14:26:11.022Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-06T14:26:11.022Z] 33b1e0a273af: Pulling fs layer [2023-09-06T14:26:11.022Z] 5d3b04190fa2: Pulling fs layer [2023-09-06T14:26:11.022Z] 2f39f015ded8: Pulling fs layer [2023-09-06T14:26:11.022Z] 5d3b04190fa2: Waiting [2023-09-06T14:26:11.022Z] 2f39f015ded8: Waiting [2023-09-06T14:26:11.022Z] 3a2ae6a8a46f: Waiting [2023-09-06T14:26:11.022Z] 5c69ac0246d0: Verifying Checksum [2023-09-06T14:26:11.022Z] 5c69ac0246d0: Download complete [2023-09-06T14:26:11.022Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-06T14:26:11.022Z] 3a2ae6a8a46f: Download complete [2023-09-06T14:26:11.022Z] ec43610c2a17: Verifying Checksum [2023-09-06T14:26:11.022Z] ec43610c2a17: Download complete [2023-09-06T14:26:11.022Z] 33b1e0a273af: Verifying Checksum [2023-09-06T14:26:11.022Z] 33b1e0a273af: Download complete [2023-09-06T14:26:11.022Z] 5d3b04190fa2: Download complete [2023-09-06T14:26:11.283Z] 5eb5b503b376: Verifying Checksum [2023-09-06T14:26:11.283Z] 5eb5b503b376: Download complete [2023-09-06T14:26:11.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T14:26:11.849Z] 2f39f015ded8: Verifying Checksum [2023-09-06T14:26:11.849Z] 2f39f015ded8: Download complete [2023-09-06T14:26:12.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T14:26:12.414Z] 5eb5b503b376: Pull complete [2023-09-06T14:26:12.672Z] 5c69ac0246d0: Pull complete [2023-09-06T14:26:12.931Z] ec43610c2a17: Pull complete [2023-09-06T14:26:12.931Z] 3a2ae6a8a46f: Pull complete [2023-09-06T14:26:13.203Z] 33b1e0a273af: Pull complete [2023-09-06T14:26:13.296Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-06T14:26:13.296Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-06T14:26:13.296Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-06T14:26:13.462Z] 5d3b04190fa2: Pull complete [2023-09-06T14:26:13.562Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-06T14:26:13.562Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T14:26:13.562Z] OK: 268 MiB in 57 packages [2023-09-06T14:26:14.528Z] Removing intermediate container 0e74f9107ad6 [2023-09-06T14:26:14.528Z] ---> 6c1c59684cfc [2023-09-06T14:26:14.528Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-06T14:26:15.115Z] ---> aef21ac38dd5 [2023-09-06T14:26:15.115Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T14:26:15.115Z] ---> Running in b1e02461aba1 [2023-09-06T14:26:17.660Z] 2f39f015ded8: Pull complete [2023-09-06T14:26:17.661Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-06T14:26:17.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T14:26:17.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:26:17.735Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-09-06T14:26:17.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-06T14:26:25.214Z] $ docker top 0ca55090ac4a96cceea3217b9fb542275aff4bbd1ee9706c04ba8e1fb9871ced -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:26:25.616Z] ---> job-cost.sh [2023-09-06T14:26:25.616Z] lf-activate-venv: SKIPPING [2023-09-06T14:26:25.616Z] INFO: No Stack... [2023-09-06T14:26:25.881Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T14:26:26.141Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T14:26:26.430Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-09-06T14:26:26.430Z] + cut -d, -f6 [Pipeline] lock [2023-09-06T14:26:26.443Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-136-stack-cost] [2023-09-06T14:26:26.449Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-136-stack-cost] did not exist. Created. [2023-09-06T14:26:26.449Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T14:26:26.756Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-06T14:26:26.790Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T14:26:26.797Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T14:26:26.815Z] $ docker stop --time=1 0ca55090ac4a96cceea3217b9fb542275aff4bbd1ee9706c04ba8e1fb9871ced [2023-09-06T14:26:27.965Z] $ docker rm -f --volumes 0ca55090ac4a96cceea3217b9fb542275aff4bbd1ee9706c04ba8e1fb9871ced [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-06T14:27:22.979Z] Removing intermediate container b1e02461aba1 [2023-09-06T14:27:22.979Z] ---> 923624766bc0 [2023-09-06T14:27:22.979Z] Step 10/12 : COPY . . [2023-09-06T14:27:22.979Z] ---> 99263cc85f6d [2023-09-06T14:27:22.979Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T14:27:22.979Z] ---> Running in 37529d00383f [2023-09-06T14:27:22.979Z] Removing intermediate container 37529d00383f [2023-09-06T14:27:22.979Z] ---> 811ec934a534 [2023-09-06T14:27:22.979Z] Step 12/12 : RUN $MAKE [2023-09-06T14:27:22.979Z] ---> Running in 81f3fa19db75 [2023-09-06T14:27:22.979Z] noop [2023-09-06T14:27:22.979Z] Removing intermediate container 81f3fa19db75 [2023-09-06T14:27:22.979Z] ---> 2bdd854ffd7f [2023-09-06T14:27:22.979Z] Successfully built 2bdd854ffd7f [2023-09-06T14:27:22.979Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:27:23.321Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T14:27:23.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:27:23.528Z] prd-ubuntu20.04-docker-arm64-4c-16g-5463 does not seem to be running inside a container [2023-09-06T14:27:23.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/136 -v /w/workspace/device-virtual-go/136:/w/workspace/device-virtual-go/136:rw,z -v /w/workspace/device-virtual-go/136@tmp:/w/workspace/device-virtual-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-06T14:27:24.737Z] $ docker top 78c1754cdb97c6671f9ec6e7310b92c0edc098be9ab8a3c79495392c7fa9dd04 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T14:27:25.559Z] + go version [2023-09-06T14:27:25.559Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-06T14:27:25.576Z] $ docker stop --time=1 78c1754cdb97c6671f9ec6e7310b92c0edc098be9ab8a3c79495392c7fa9dd04 [2023-09-06T14:27:27.184Z] $ docker rm -f --volumes 78c1754cdb97c6671f9ec6e7310b92c0edc098be9ab8a3c79495392c7fa9dd04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:27:27.718Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T14:27:27.718Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:27:27.897Z] prd-ubuntu20.04-docker-arm64-4c-16g-5463 does not seem to be running inside a container [2023-09-06T14:27:27.957Z] $ 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/136 -v /w/workspace/device-virtual-go/136:/w/workspace/device-virtual-go/136:rw,z -v /w/workspace/device-virtual-go/136@tmp:/w/workspace/device-virtual-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-06T14:27:29.101Z] $ docker top 1f54ea3b48090505aba2fbc8d4e565f440de0ce081f0e4e92663f851b5493f7c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T14:27:29.598Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/136 [Pipeline] fileExists [Pipeline] sh [2023-09-06T14:27:29.927Z] + make test [2023-09-06T14:27:29.927Z] go test ./... -coverprofile=coverage.out [2023-09-06T14:28:02.161Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-06T14:29:53.846Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-06T14:29:53.846Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.104s coverage: 58.4% of statements [2023-09-06T14:29:53.846Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-06T14:29:53.846Z] go vet ./... [2023-09-06T14:30:20.527Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T14:30:20.527Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T14:30:20.527Z] ./bin/test-attribution-txt.sh [2023-09-06T14:30:20.527Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-09-06T14:30:20.527Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-09-06T14:30:20.527Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-09-06T14:30:20.527Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-09-06T14:30:20.527Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-09-06T14:30:20.527Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-09-06T14:30:20.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T14:30:20.556Z] $ docker stop --time=1 1f54ea3b48090505aba2fbc8d4e565f440de0ce081f0e4e92663f851b5493f7c [2023-09-06T14:30:22.302Z] $ docker rm -f --volumes 1f54ea3b48090505aba2fbc8d4e565f440de0ce081f0e4e92663f851b5493f7c [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T14:30:23.370Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T14:30:23.386Z] Warning: overwriting stash ‘coverage-report’ [2023-09-06T14:30:23.823Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T14:30:24.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T14:30:24.500Z] + ls -al . [2023-09-06T14:30:24.500Z] total 200 [2023-09-06T14:30:24.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 14:27 . [2023-09-06T14:30:24.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 14:25 .. [2023-09-06T14:30:24.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 14:25 .git [2023-09-06T14:30:24.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 14:25 .github [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 6 14:25 .gitignore [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 14:25 .golangci.yml [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 8950 Sep 6 14:25 Attribution.txt [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 6 14:25 CHANGELOG.md [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 6 14:25 Dockerfile [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 14:25 GOVERNANCE.md [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 6 14:25 Jenkinsfile [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 14:25 LICENSE [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 6 14:25 Makefile [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 6 14:25 OWNERS.md [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 6 14:25 README.md [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 14:23 VERSION [2023-09-06T14:30:24.500Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 14:25 bin [2023-09-06T14:30:24.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 14:25 cmd [2023-09-06T14:30:24.500Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 6 14:29 coverage.out [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 3636 Sep 6 14:25 go.mod [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 33427 Sep 6 14:25 go.sum [2023-09-06T14:30:24.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 14:25 internal [2023-09-06T14:30:24.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 14:25 snap [2023-09-06T14:30:24.500Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 6 14:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:30:24.838Z] + 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=ed857253c333b25bd607939277ad976310c7a90d --label arch=arm64 --label version=3.1.0-dev.10 . [2023-09-06T14:30:25.106Z] Sending build context to Docker daemon 11.96MB [2023-09-06T14:30:25.106Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T14:30:25.106Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-06T14:30:25.106Z] ---> 2bdd854ffd7f [2023-09-06T14:30:25.106Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-06T14:30:25.374Z] ---> Running in 6065bd4f6482 [2023-09-06T14:30:25.641Z] Removing intermediate container 6065bd4f6482 [2023-09-06T14:30:25.641Z] ---> 56f79ffd5127 [2023-09-06T14:30:25.641Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-06T14:30:25.641Z] ---> Running in fb96ec8914bc [2023-09-06T14:30:25.909Z] Removing intermediate container fb96ec8914bc [2023-09-06T14:30:25.909Z] ---> be05618cd1a5 [2023-09-06T14:30:25.909Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-06T14:30:25.909Z] ---> Running in 34f36243dd74 [2023-09-06T14:30:26.178Z] Removing intermediate container 34f36243dd74 [2023-09-06T14:30:26.178Z] ---> 9ae1257e22ce [2023-09-06T14:30:26.178Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-06T14:30:26.447Z] ---> Running in c50b6d8d37da [2023-09-06T14:30:26.715Z] Removing intermediate container c50b6d8d37da [2023-09-06T14:30:26.715Z] ---> 816924e3bfcd [2023-09-06T14:30:26.715Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T14:30:26.715Z] ---> Running in c3bf9157c60a [2023-09-06T14:30:27.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T14:30:28.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T14:30:29.218Z] OK: 268 MiB in 57 packages [2023-09-06T14:30:29.803Z] Removing intermediate container c3bf9157c60a [2023-09-06T14:30:29.803Z] ---> da8545567d04 [2023-09-06T14:30:29.803Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-06T14:30:30.388Z] ---> be81bbb7eafe [2023-09-06T14:30:30.388Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T14:30:30.388Z] ---> Running in 15f88e12371a [2023-09-06T14:30:34.634Z] Removing intermediate container 15f88e12371a [2023-09-06T14:30:34.634Z] ---> 6ceaeeebe1bc [2023-09-06T14:30:34.634Z] Step 10/25 : COPY . . [2023-09-06T14:30:35.593Z] ---> 918579a82bd2 [2023-09-06T14:30:35.593Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T14:30:35.862Z] ---> Running in c0a157343fad [2023-09-06T14:30:36.130Z] Removing intermediate container c0a157343fad [2023-09-06T14:30:36.130Z] ---> 32e5989b31e4 [2023-09-06T14:30:36.130Z] Step 12/25 : RUN $MAKE [2023-09-06T14:30:36.130Z] ---> Running in 576a28f5e414 [2023-09-06T14:30:37.095Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-06T14:32:43.780Z] Removing intermediate container 576a28f5e414 [2023-09-06T14:32:43.780Z] ---> cf7e1998d548 [2023-09-06T14:32:43.780Z] Step 13/25 : FROM alpine:3.17 [2023-09-06T14:32:43.780Z] 3.17: Pulling from library/alpine [2023-09-06T14:32:43.780Z] 4060ece20d7a: Pulling fs layer [2023-09-06T14:32:43.780Z] 4060ece20d7a: Verifying Checksum [2023-09-06T14:32:43.780Z] 4060ece20d7a: Download complete [2023-09-06T14:32:43.780Z] 4060ece20d7a: Pull complete [2023-09-06T14:32:43.780Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T14:32:43.780Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T14:32:43.780Z] ---> 8650cd65339b [2023-09-06T14:32:43.780Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-06T14:32:43.780Z] ---> Running in 26f041ee7421 [2023-09-06T14:32:43.780Z] Removing intermediate container 26f041ee7421 [2023-09-06T14:32:43.780Z] ---> 4fe8500da0d2 [2023-09-06T14:32:43.780Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-06T14:32:43.780Z] ---> Running in 39fa1952b38f [2023-09-06T14:32:44.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T14:32:45.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T14:32:46.660Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-06T14:32:46.660Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T14:32:46.928Z] OK: 8 MiB in 16 packages [2023-09-06T14:32:47.895Z] Removing intermediate container 39fa1952b38f [2023-09-06T14:32:47.895Z] ---> 84a121d0ec14 [2023-09-06T14:32:47.895Z] Step 16/25 : WORKDIR / [2023-09-06T14:32:47.895Z] ---> Running in e60ec7d6cf00 [2023-09-06T14:32:48.161Z] Removing intermediate container e60ec7d6cf00 [2023-09-06T14:32:48.162Z] ---> 4efd2e3bf23f [2023-09-06T14:32:48.162Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-06T14:32:48.744Z] ---> b07d4e4fa38b [2023-09-06T14:32:48.744Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-06T14:32:49.326Z] ---> bd0f5f157258 [2023-09-06T14:32:49.326Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-06T14:32:50.755Z] ---> 26428d5edb94 [2023-09-06T14:32:50.755Z] Step 20/25 : EXPOSE 59900 [2023-09-06T14:32:50.755Z] ---> Running in ad2a278eefd9 [2023-09-06T14:32:51.021Z] Removing intermediate container ad2a278eefd9 [2023-09-06T14:32:51.021Z] ---> 13c0efbf6521 [2023-09-06T14:32:51.021Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-06T14:32:51.021Z] ---> Running in 41a1bdb78258 [2023-09-06T14:32:51.288Z] Removing intermediate container 41a1bdb78258 [2023-09-06T14:32:51.288Z] ---> b727dd4e2cad [2023-09-06T14:32:51.288Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-06T14:32:51.288Z] ---> Running in 4bd5dc0dacbf [2023-09-06T14:32:51.555Z] Removing intermediate container 4bd5dc0dacbf [2023-09-06T14:32:51.555Z] ---> 2c013b26b514 [2023-09-06T14:32:51.555Z] Step 23/25 : LABEL arch=arm64 [2023-09-06T14:32:51.555Z] ---> Running in b34a397edc4d [2023-09-06T14:32:51.822Z] Removing intermediate container b34a397edc4d [2023-09-06T14:32:51.822Z] ---> cf06a738a611 [2023-09-06T14:32:51.822Z] Step 24/25 : LABEL git_sha=ed857253c333b25bd607939277ad976310c7a90d [2023-09-06T14:32:52.090Z] ---> Running in 134f6db77665 [2023-09-06T14:32:52.357Z] Removing intermediate container 134f6db77665 [2023-09-06T14:32:52.357Z] ---> 7b6d40fe0043 [2023-09-06T14:32:52.357Z] Step 25/25 : LABEL version=3.1.0-dev.10 [2023-09-06T14:32:52.357Z] ---> Running in 35a6fbda5b31 [2023-09-06T14:32:52.623Z] Removing intermediate container 35a6fbda5b31 [2023-09-06T14:32:52.623Z] ---> 870b7093aad7 [2023-09-06T14:32:52.623Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T14:32:52.623Z] Successfully built 870b7093aad7 [2023-09-06T14:32:52.623Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T14:32:52.731Z] provisioning config files... [2023-09-06T14:32:52.744Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/136@tmp/config18319921887097640633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:32:53.072Z] ---> docker-login.sh [2023-09-06T14:32:53.072Z] nexus3.edgexfoundry.org:10001 [2023-09-06T14:32:53.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:32:53.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:32:53.337Z] Configure a credential helper to remove this warning. See [2023-09-06T14:32:53.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:32:53.337Z] [2023-09-06T14:32:53.337Z] Login Succeeded [2023-09-06T14:32:53.338Z] nexus3.edgexfoundry.org:10002 [2023-09-06T14:32:53.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:32:53.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:32:53.603Z] Configure a credential helper to remove this warning. See [2023-09-06T14:32:53.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:32:53.603Z] [2023-09-06T14:32:53.603Z] Login Succeeded [2023-09-06T14:32:53.603Z] nexus3.edgexfoundry.org:10003 [2023-09-06T14:32:53.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:32:53.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:32:53.870Z] Configure a credential helper to remove this warning. See [2023-09-06T14:32:53.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:32:53.870Z] [2023-09-06T14:32:53.870Z] Login Succeeded [2023-09-06T14:32:53.870Z] nexus3.edgexfoundry.org:10004 [2023-09-06T14:32:54.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:32:54.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:32:54.404Z] Configure a credential helper to remove this warning. See [2023-09-06T14:32:54.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:32:54.404Z] [2023-09-06T14:32:54.404Z] Login Succeeded [2023-09-06T14:32:54.404Z] docker.io [2023-09-06T14:32:54.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T14:32:54.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T14:32:54.938Z] Configure a credential helper to remove this warning. See [2023-09-06T14:32:54.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T14:32:54.938Z] [2023-09-06T14:32:54.938Z] Login Succeeded [2023-09-06T14:32:54.938Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T14:32:54.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-06T14:32:54.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T14:32:54.994Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-09-06T14:32:54.994Z] ed857253c333b25bd607939277ad976310c7a90d [2023-09-06T14:32:54.994Z] latest [2023-09-06T14:32:54.994Z] 3.1.0-dev.10 [2023-09-06T14:32:54.994Z] ed857253c333b25bd607939277ad976310c7a90d-3.1.0-dev.10 [2023-09-06T14:32:54.994Z] main [2023-09-06T14:32:54.994Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:32:55.323Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed857253c333b25bd607939277ad976310c7a90d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:32:55.662Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed857253c333b25bd607939277ad976310c7a90d [2023-09-06T14:32:55.662Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-06T14:32:55.662Z] e47896d23765: Preparing [2023-09-06T14:32:55.662Z] 513b2fe7c158: Preparing [2023-09-06T14:32:55.662Z] bd94bfc68264: Preparing [2023-09-06T14:32:55.662Z] 62561ebc920a: Preparing [2023-09-06T14:32:55.662Z] d2d9d24a8c2a: Preparing [2023-09-06T14:32:55.662Z] d2d9d24a8c2a: Layer already exists [2023-09-06T14:32:55.928Z] bd94bfc68264: Pushed [2023-09-06T14:32:55.928Z] 513b2fe7c158: Pushed [2023-09-06T14:32:55.928Z] 62561ebc920a: Pushed [2023-09-06T14:33:02.556Z] e47896d23765: Pushed [2023-09-06T14:33:02.556Z] ed857253c333b25bd607939277ad976310c7a90d: digest: sha256:77f23e4ab91475abaeea9594848b9ad997e2bcbb23915c3fa3c23e4478bcf26a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:02.901Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:03.232Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-06T14:33:03.232Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-06T14:33:03.232Z] e47896d23765: Preparing [2023-09-06T14:33:03.232Z] 513b2fe7c158: Preparing [2023-09-06T14:33:03.232Z] bd94bfc68264: Preparing [2023-09-06T14:33:03.232Z] 62561ebc920a: Preparing [2023-09-06T14:33:03.232Z] d2d9d24a8c2a: Preparing [2023-09-06T14:33:03.232Z] d2d9d24a8c2a: Layer already exists [2023-09-06T14:33:03.232Z] bd94bfc68264: Layer already exists [2023-09-06T14:33:03.232Z] 513b2fe7c158: Layer already exists [2023-09-06T14:33:03.232Z] e47896d23765: Layer already exists [2023-09-06T14:33:03.232Z] 62561ebc920a: Layer already exists [2023-09-06T14:33:03.232Z] latest: digest: sha256:77f23e4ab91475abaeea9594848b9ad997e2bcbb23915c3fa3c23e4478bcf26a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:03.635Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:03.983Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.10 [2023-09-06T14:33:03.983Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-06T14:33:03.983Z] e47896d23765: Preparing [2023-09-06T14:33:03.983Z] 513b2fe7c158: Preparing [2023-09-06T14:33:03.983Z] bd94bfc68264: Preparing [2023-09-06T14:33:03.983Z] 62561ebc920a: Preparing [2023-09-06T14:33:03.983Z] d2d9d24a8c2a: Preparing [2023-09-06T14:33:03.983Z] d2d9d24a8c2a: Layer already exists [2023-09-06T14:33:03.983Z] 513b2fe7c158: Layer already exists [2023-09-06T14:33:03.983Z] 62561ebc920a: Layer already exists [2023-09-06T14:33:03.983Z] bd94bfc68264: Layer already exists [2023-09-06T14:33:03.983Z] e47896d23765: Layer already exists [2023-09-06T14:33:03.983Z] 3.1.0-dev.10: digest: sha256:77f23e4ab91475abaeea9594848b9ad997e2bcbb23915c3fa3c23e4478bcf26a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:04.341Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed857253c333b25bd607939277ad976310c7a90d-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:04.700Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed857253c333b25bd607939277ad976310c7a90d-3.1.0-dev.10 [2023-09-06T14:33:04.700Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-06T14:33:04.700Z] e47896d23765: Preparing [2023-09-06T14:33:04.700Z] 513b2fe7c158: Preparing [2023-09-06T14:33:04.700Z] bd94bfc68264: Preparing [2023-09-06T14:33:04.700Z] 62561ebc920a: Preparing [2023-09-06T14:33:04.700Z] d2d9d24a8c2a: Preparing [2023-09-06T14:33:04.700Z] e47896d23765: Layer already exists [2023-09-06T14:33:04.700Z] 62561ebc920a: Layer already exists [2023-09-06T14:33:04.700Z] bd94bfc68264: Layer already exists [2023-09-06T14:33:04.700Z] d2d9d24a8c2a: Layer already exists [2023-09-06T14:33:04.700Z] 513b2fe7c158: Layer already exists [2023-09-06T14:33:04.700Z] ed857253c333b25bd607939277ad976310c7a90d-3.1.0-dev.10: digest: sha256:77f23e4ab91475abaeea9594848b9ad997e2bcbb23915c3fa3c23e4478bcf26a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:05.057Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:05.391Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-09-06T14:33:05.391Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-06T14:33:05.391Z] e47896d23765: Preparing [2023-09-06T14:33:05.391Z] 513b2fe7c158: Preparing [2023-09-06T14:33:05.391Z] bd94bfc68264: Preparing [2023-09-06T14:33:05.391Z] 62561ebc920a: Preparing [2023-09-06T14:33:05.391Z] d2d9d24a8c2a: Preparing [2023-09-06T14:33:05.391Z] e47896d23765: Layer already exists [2023-09-06T14:33:05.391Z] 62561ebc920a: Layer already exists [2023-09-06T14:33:05.391Z] bd94bfc68264: Layer already exists [2023-09-06T14:33:05.391Z] 513b2fe7c158: Layer already exists [2023-09-06T14:33:05.391Z] d2d9d24a8c2a: Layer already exists [2023-09-06T14:33:05.391Z] main: digest: sha256:77f23e4ab91475abaeea9594848b9ad997e2bcbb23915c3fa3c23e4478bcf26a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-06T14:33:05.701Z] ===================================================== [Pipeline] echo [2023-09-06T14:33:05.708Z] taggedImages: [2023-09-06T14:33:05.708Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed857253c333b25bd607939277ad976310c7a90d [2023-09-06T14:33:05.708Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-06T14:33:05.708Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.10 [2023-09-06T14:33:05.708Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed857253c333b25bd607939277ad976310c7a90d-3.1.0-dev.10 [2023-09-06T14:33:05.708Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:06.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T14:33:06.054Z] [2023-09-06T14:33:06.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:06.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T14:33:06.377Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-06T14:33:06.377Z] 8998bd30e6a1: Pulling fs layer [2023-09-06T14:33:06.377Z] 04944245beec: Pulling fs layer [2023-09-06T14:33:06.377Z] 699f458cf7ca: Pulling fs layer [2023-09-06T14:33:06.377Z] 765212b225bb: Pulling fs layer [2023-09-06T14:33:06.377Z] f23df028b6ca: Pulling fs layer [2023-09-06T14:33:06.377Z] d65c8cfc05b1: Pulling fs layer [2023-09-06T14:33:06.377Z] 2437ff75d9bd: Pulling fs layer [2023-09-06T14:33:06.377Z] 765212b225bb: Waiting [2023-09-06T14:33:06.377Z] f23df028b6ca: Waiting [2023-09-06T14:33:06.377Z] d65c8cfc05b1: Waiting [2023-09-06T14:33:06.377Z] 2437ff75d9bd: Waiting [2023-09-06T14:33:06.646Z] 04944245beec: Verifying Checksum [2023-09-06T14:33:06.646Z] 04944245beec: Download complete [2023-09-06T14:33:06.646Z] 765212b225bb: Verifying Checksum [2023-09-06T14:33:06.646Z] 765212b225bb: Download complete [2023-09-06T14:33:06.646Z] f23df028b6ca: Verifying Checksum [2023-09-06T14:33:06.646Z] f23df028b6ca: Download complete [2023-09-06T14:33:06.646Z] d65c8cfc05b1: Verifying Checksum [2023-09-06T14:33:06.646Z] d65c8cfc05b1: Download complete [2023-09-06T14:33:06.646Z] 699f458cf7ca: Verifying Checksum [2023-09-06T14:33:06.646Z] 699f458cf7ca: Download complete [2023-09-06T14:33:07.239Z] 8998bd30e6a1: Verifying Checksum [2023-09-06T14:33:07.240Z] 8998bd30e6a1: Download complete [2023-09-06T14:33:09.181Z] 2437ff75d9bd: Download complete [2023-09-06T14:33:11.124Z] 8998bd30e6a1: Pull complete [2023-09-06T14:33:13.697Z] 04944245beec: Pull complete [2023-09-06T14:33:15.109Z] 699f458cf7ca: Pull complete [2023-09-06T14:33:15.109Z] 765212b225bb: Pull complete [2023-09-06T14:33:15.694Z] f23df028b6ca: Pull complete [2023-09-06T14:33:15.961Z] d65c8cfc05b1: Pull complete [2023-09-06T14:33:30.954Z] 2437ff75d9bd: Pull complete [2023-09-06T14:33:30.954Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-06T14:33:30.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T14:33:30.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:33:31.131Z] prd-ubuntu20.04-docker-arm64-4c-16g-5463 does not seem to be running inside a container [2023-09-06T14:33:31.187Z] $ 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/136 -v /w/workspace/device-virtual-go/136:/w/workspace/device-virtual-go/136:rw,z -v /w/workspace/device-virtual-go/136@tmp:/w/workspace/device-virtual-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-06T14:33:33.503Z] $ docker top b7a60550f4e87d60425eb44760fd76da9d787b2a033e7074ead29be4563c15b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:33:34.016Z] ---> job-cost.sh [2023-09-06T14:33:34.281Z] lf-activate-venv: SKIPPING [2023-09-06T14:33:34.281Z] INFO: No Stack... [2023-09-06T14:33:34.546Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-06T14:33:35.498Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T14:33:35.813Z] + cat /w/workspace/device-virtual-go/136/archives/cost.csv [2023-09-06T14:33:35.813Z] + cut -d, -f6 [Pipeline] lock [2023-09-06T14:33:36.138Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-136-stack-cost] [2023-09-06T14:33:36.145Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-136-stack-cost] did not exist. Created. [2023-09-06T14:33:36.145Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T14:33:36.471Z] /w/workspace/device-virtual-go/136@tmp/durable-b13aa313/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-06T14:33:36.795Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-06T14:33:37.078Z] Warning: overwriting stash ‘stack-cost’ [2023-09-06T14:33:37.128Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T14:33:37.138Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T14:33:37.152Z] $ docker stop --time=1 b7a60550f4e87d60425eb44760fd76da9d787b2a033e7074ead29be4563c15b6 [2023-09-06T14:33:38.633Z] $ docker rm -f --volumes b7a60550f4e87d60425eb44760fd76da9d787b2a033e7074ead29be4563c15b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-06T14:33:39.014Z] provisioning config files... [2023-09-06T14:33:39.031Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2965915905681247317tmp [Pipeline] { [Pipeline] sh [2023-09-06T14:33:39.340Z] + set +x [2023-09-06T14:33:39.340Z] + curl -s https://codecov.io/bash [2023-09-06T14:33:39.340Z] + bash -s -- [2023-09-06T14:33:39.340Z] [2023-09-06T14:33:39.340Z] _____ _ [2023-09-06T14:33:39.340Z] / ____| | | [2023-09-06T14:33:39.340Z] | | ___ __| | ___ ___ _____ __ [2023-09-06T14:33:39.340Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-06T14:33:39.340Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-06T14:33:39.340Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-06T14:33:39.340Z] Bash-1.0.6 [2023-09-06T14:33:39.340Z] [2023-09-06T14:33:39.340Z] [2023-09-06T14:33:39.340Z] ==> git version 2.25.1 found [2023-09-06T14:33:39.340Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-06T14:33:39.340Z] Release-Date: 2020-01-08 [2023-09-06T14:33:39.340Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-06T14:33:39.340Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-06T14:33:39.340Z] ==> Jenkins CI detected. [2023-09-06T14:33:39.340Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-09-06T14:33:39.340Z] project root: . [2023-09-06T14:33:39.340Z] --> token set from env [2023-09-06T14:33:39.340Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-06T14:33:39.340Z] ==> Running gcov in . (disable via -X gcov) [2023-09-06T14:33:39.340Z] ==> Python coveragepy not found [2023-09-06T14:33:39.340Z] ==> Searching for coverage reports in: [2023-09-06T14:33:39.340Z] + . [2023-09-06T14:33:39.340Z] -> Found 1 reports [2023-09-06T14:33:39.340Z] ==> Detecting git/mercurial file structure [2023-09-06T14:33:39.340Z] ==> Reading reports [2023-09-06T14:33:39.340Z] + ./coverage.out bytes=43063 [2023-09-06T14:33:39.340Z] ==> Appending adjustments [2023-09-06T14:33:39.340Z] https://docs.codecov.io/docs/fixing-reports [2023-09-06T14:33:39.599Z] + Found adjustments [2023-09-06T14:33:39.599Z] ==> Gzipping contents [2023-09-06T14:33:39.599Z] 8.0K /tmp/codecov.fobrkT.gz [2023-09-06T14:33:39.599Z] ==> Uploading reports [2023-09-06T14:33:39.599Z] url: https://codecov.io [2023-09-06T14:33:39.599Z] query: branch=main&commit=ed857253c333b25bd607939277ad976310c7a90d&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-06T14:33:39.599Z] -> Pinging Codecov [2023-09-06T14:33:39.599Z] 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=ed857253c333b25bd607939277ad976310c7a90d&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-06T14:33:39.599Z] -> Uploading to [2023-09-06T14:33:39.599Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-06/5E52B4B073DB2E39498172D8E973AA87/ed857253c333b25bd607939277ad976310c7a90d/1fb0653a-61d2-4b01-9e8b-573c84631add.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230906T143339Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=324738245118bc31cf160641a117bf322e63709c9b9d8eddadbb900c5f8759e6 [2023-09-06T14:33:39.599Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T14:33:39.599Z] Dload Upload Total Spent Left Speed [2023-09-06T14:33:39.858Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26860 --:--:-- --:--:-- --:--:-- 26860 [2023-09-06T14:33:39.858Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ed857253c333b25bd607939277ad976310c7a90d [Pipeline] } [2023-09-06T14:33:39.865Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-06T14:33:40.042Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-06T14:33:40.051Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:40.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-06T14:33:40.344Z] [2023-09-06T14:33:40.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:33:40.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-06T14:33:40.638Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-06T14:33:40.638Z] df9b9388f04a: Pulling fs layer [2023-09-06T14:33:40.638Z] 52dc419b0ee2: Pulling fs layer [2023-09-06T14:33:40.638Z] 25bc292e5bac: Pulling fs layer [2023-09-06T14:33:40.638Z] 114826534d7a: Pulling fs layer [2023-09-06T14:33:40.638Z] 4657fd5d0bcf: Pulling fs layer [2023-09-06T14:33:40.638Z] 6ad1cebc031e: Pulling fs layer [2023-09-06T14:33:40.638Z] 8a3aa393b2d8: Pulling fs layer [2023-09-06T14:33:40.638Z] 8a3aa393b2d8: Waiting [2023-09-06T14:33:40.638Z] 4657fd5d0bcf: Waiting [2023-09-06T14:33:40.638Z] 6ad1cebc031e: Waiting [2023-09-06T14:33:40.638Z] 114826534d7a: Waiting [2023-09-06T14:33:40.638Z] 25bc292e5bac: Verifying Checksum [2023-09-06T14:33:40.638Z] 25bc292e5bac: Download complete [2023-09-06T14:33:40.638Z] 52dc419b0ee2: Download complete [2023-09-06T14:33:40.638Z] 4657fd5d0bcf: Verifying Checksum [2023-09-06T14:33:40.638Z] 4657fd5d0bcf: Download complete [2023-09-06T14:33:40.638Z] df9b9388f04a: Download complete [2023-09-06T14:33:40.897Z] df9b9388f04a: Pull complete [2023-09-06T14:33:40.897Z] 52dc419b0ee2: Pull complete [2023-09-06T14:33:40.897Z] 6ad1cebc031e: Download complete [2023-09-06T14:33:41.158Z] 25bc292e5bac: Pull complete [2023-09-06T14:33:41.729Z] 114826534d7a: Verifying Checksum [2023-09-06T14:33:41.729Z] 114826534d7a: Download complete [2023-09-06T14:33:41.729Z] 8a3aa393b2d8: Verifying Checksum [2023-09-06T14:33:41.729Z] 8a3aa393b2d8: Download complete [2023-09-06T14:33:45.008Z] 114826534d7a: Pull complete [2023-09-06T14:33:45.008Z] 4657fd5d0bcf: Pull complete [2023-09-06T14:33:45.268Z] 6ad1cebc031e: Pull complete [2023-09-06T14:33:48.556Z] 8a3aa393b2d8: Pull complete [2023-09-06T14:33:48.556Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-06T14:33:48.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-06T14:33:48.556Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:33:48.641Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-09-06T14:33:48.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-06T14:33:56.167Z] $ docker top e4ca57c8fcad96c301bab51374ac719ee489dbecef15983f72e68a3c4ac7899b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-06T14:33:56.231Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-09-06T14:33:56.512Z] + set -o pipefail [2023-09-06T14:33:56.512Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-09-06T14:34:03.085Z] [2023-09-06T14:34:03.085Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-09-06T14:34:03.085Z] [2023-09-06T14:34:03.085Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/0a87b6d0-52f3-4ef5-a3d4-c503c8972c28 [2023-09-06T14:34:03.085Z] [2023-09-06T14:34:03.085Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-06T14:34:03.085Z] [2023-09-06T14:34:03.085Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-06T14:34:03.085Z] [2023-09-06T14:34:03.085Z] [2023-09-06T14:34:03.085Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-06T14:34:03.085Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-06T14:34:03.085Z] More details here: https://snyk.co/ue1NS [2023-09-06T14:34:03.085Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-06T14:34:03.085Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-06T14:34:03.096Z] $ docker stop --time=1 e4ca57c8fcad96c301bab51374ac719ee489dbecef15983f72e68a3c4ac7899b [2023-09-06T14:34:09.230Z] $ docker rm -f --volumes e4ca57c8fcad96c301bab51374ac719ee489dbecef15983f72e68a3c4ac7899b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T14:34:09.929Z] + git log --format=format:%s -1 ed857253c333b25bd607939277ad976310c7a90d [Pipeline] sh [2023-09-06T14:34:10.221Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T14:34:10.221Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:34:10.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T14:34:10.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:34:10.590Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-09-06T14:34:10.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-06T14:34:11.167Z] $ docker top 64f8d691adf9dd4960c5df8c4120682072b96c0328cac24bfce768ff82741f1a -eo pid,comm [2023-09-06T14:34:11.212Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-06T14:34:11.212Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T14:34:11.246Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T14:34:11.246Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T14:34:11.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T14:34:11.361Z] $ docker exec 64f8d691adf9dd4960c5df8c4120682072b96c0328cac24bfce768ff82741f1a ssh-agent [2023-09-06T14:34:11.515Z] SSH_AUTH_SOCK=/tmp/ssh-jFbpM14zKPeE/agent.31 [2023-09-06T14:34:11.515Z] SSH_AGENT_PID=36 [2023-09-06T14:34:11.521Z] Running ssh-add (command line suppressed) [2023-09-06T14:34:11.628Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15676615365990119094.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15676615365990119094.key) [2023-09-06T14:34:11.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T14:34:11.931Z] + git semver tag [2023-09-06T14:34:12.190Z] 2023-09-06 14:34:12,154 [run_tag] DEBUG tag force:False [2023-09-06T14:34:12.190Z] 2023-09-06 14:34:12,154 [check_head_tag] DEBUG check head tag [2023-09-06T14:34:12.190Z] 2023-09-06 14:34:12,155 [execute] INFO git cat-file --batch-check [2023-09-06T14:34:12.190Z] 2023-09-06 14:34:12,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-06T14:34:12.190Z] 2023-09-06 14:34:12,160 [execute] INFO git cat-file --batch [2023-09-06T14:34:12.190Z] 2023-09-06 14:34:12,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-06T14:34:12.190Z] 2023-09-06 14:34:12,171 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-06T14:34:12.190Z] 2023-09-06 14:34:12,171 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 [2023-09-06T14:34:12.190Z] 2023-09-06 14:34:12,171 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-06T14:34:12.190Z] 2023-09-06 14:34:12,176 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-06T14:34:12.190Z] 3.1.0-dev.10 [Pipeline] } [2023-09-06T14:34:12.461Z] $ docker exec --env ******** --env ******** 64f8d691adf9dd4960c5df8c4120682072b96c0328cac24bfce768ff82741f1a ssh-agent -k [2023-09-06T14:34:12.555Z] unset SSH_AUTH_SOCK; [2023-09-06T14:34:12.556Z] unset SSH_AGENT_PID; [2023-09-06T14:34:12.556Z] echo Agent pid 36 killed; [2023-09-06T14:34:12.567Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T14:34:12.883Z] + git semver [Pipeline] } [2023-09-06T14:34:13.156Z] $ docker stop --time=1 64f8d691adf9dd4960c5df8c4120682072b96c0328cac24bfce768ff82741f1a [2023-09-06T14:34:14.489Z] $ docker rm -f --volumes 64f8d691adf9dd4960c5df8c4120682072b96c0328cac24bfce768ff82741f1a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:34:14.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-06T14:34:14.860Z] [2023-09-06T14:34:14.860Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:34:15.157Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-06T14:34:15.158Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-06T14:34:15.158Z] ab5ef0e58194: Pulling fs layer [2023-09-06T14:34:15.158Z] 9712f1f96733: Pulling fs layer [2023-09-06T14:34:15.158Z] 63f879dbbcfc: Pulling fs layer [2023-09-06T14:34:15.158Z] 0d9ebad4ef96: Pulling fs layer [2023-09-06T14:34:15.158Z] e9a5061849ea: Pulling fs layer [2023-09-06T14:34:15.158Z] d747dcd14b5f: Pulling fs layer [2023-09-06T14:34:15.158Z] 2de7ff778b66: Pulling fs layer [2023-09-06T14:34:15.158Z] 0d9ebad4ef96: Waiting [2023-09-06T14:34:15.158Z] e9a5061849ea: Waiting [2023-09-06T14:34:15.158Z] d747dcd14b5f: Waiting [2023-09-06T14:34:15.158Z] 2de7ff778b66: Waiting [2023-09-06T14:34:15.158Z] 9712f1f96733: Verifying Checksum [2023-09-06T14:34:15.158Z] 9712f1f96733: Download complete [2023-09-06T14:34:15.762Z] 63f879dbbcfc: Verifying Checksum [2023-09-06T14:34:15.762Z] 63f879dbbcfc: Download complete [2023-09-06T14:34:16.022Z] e9a5061849ea: Verifying Checksum [2023-09-06T14:34:16.022Z] e9a5061849ea: Download complete [2023-09-06T14:34:16.022Z] d747dcd14b5f: Verifying Checksum [2023-09-06T14:34:16.022Z] d747dcd14b5f: Download complete [2023-09-06T14:34:16.022Z] 0d9ebad4ef96: Verifying Checksum [2023-09-06T14:34:16.022Z] 0d9ebad4ef96: Download complete [2023-09-06T14:34:16.022Z] ab5ef0e58194: Verifying Checksum [2023-09-06T14:34:16.022Z] ab5ef0e58194: Download complete [2023-09-06T14:34:16.279Z] 2de7ff778b66: Verifying Checksum [2023-09-06T14:34:16.279Z] 2de7ff778b66: Download complete [2023-09-06T14:34:18.809Z] ab5ef0e58194: Pull complete [2023-09-06T14:34:18.809Z] 9712f1f96733: Pull complete [2023-09-06T14:34:19.376Z] 63f879dbbcfc: Pull complete [2023-09-06T14:34:23.578Z] 0d9ebad4ef96: Pull complete [2023-09-06T14:34:23.578Z] e9a5061849ea: Pull complete [2023-09-06T14:34:23.839Z] d747dcd14b5f: Pull complete [2023-09-06T14:34:25.225Z] 2de7ff778b66: Pull complete [2023-09-06T14:34:25.225Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-06T14:34:25.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-06T14:34:25.225Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:34:25.316Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-09-06T14:34:25.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-06T14:34:34.004Z] $ docker top afd0b943abb71ac5c5cfededb20f08b0a60465e1db8964075e738b7630052673 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-06T14:34:34.073Z] provisioning config files... [2023-09-06T14:34:34.079Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16025602439685297548tmp [2023-09-06T14:34:34.090Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14273296135460153545tmp [2023-09-06T14:34:34.102Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11929061798254372139tmp [Pipeline] { [Pipeline] echo [2023-09-06T14:34:34.117Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:34:34.402Z] ---> sigul-configuration.sh [2023-09-06T14:34:34.402Z] gpg: directory `/root/.gnupg' created [2023-09-06T14:34:34.402Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-06T14:34:34.402Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-06T14:34:34.402Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-06T14:34:34.402Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-06T14:34:34.402Z] gpg: CAST5 encrypted data [2023-09-06T14:34:34.402Z] gpg: encrypted with 1 passphrase [2023-09-06T14:34:34.402Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-06T14:34:34.688Z] + mkdir /home/jenkins [2023-09-06T14:34:34.688Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-06T14:34:34.973Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-06T14:34:34.982Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:34:35.269Z] ---> sigul-install.sh [2023-09-06T14:34:35.269Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-06T14:34:35.552Z] + git tag --list [2023-09-06T14:34:35.552Z] v1.0.0 [2023-09-06T14:34:35.552Z] v1.1.0 [2023-09-06T14:34:35.552Z] v1.1.1 [2023-09-06T14:34:35.552Z] v1.2.1 [2023-09-06T14:34:35.552Z] v1.2.2 [2023-09-06T14:34:35.552Z] v1.2.3 [2023-09-06T14:34:35.552Z] v1.3.0 [2023-09-06T14:34:35.552Z] v1.3.1 [2023-09-06T14:34:35.552Z] v2.0.0 [2023-09-06T14:34:35.552Z] v2.1.0 [2023-09-06T14:34:35.552Z] v2.1.1 [2023-09-06T14:34:35.552Z] v2.2.0 [2023-09-06T14:34:35.552Z] v2.3.0 [2023-09-06T14:34:35.552Z] v3.0 [2023-09-06T14:34:35.552Z] v3.0.0 [2023-09-06T14:34:35.552Z] v3.1.0-dev.1 [2023-09-06T14:34:35.552Z] v3.1.0-dev.10 [2023-09-06T14:34:35.552Z] v3.1.0-dev.2 [2023-09-06T14:34:35.552Z] v3.1.0-dev.3 [2023-09-06T14:34:35.552Z] v3.1.0-dev.4 [2023-09-06T14:34:35.552Z] v3.1.0-dev.5 [2023-09-06T14:34:35.552Z] v3.1.0-dev.6 [2023-09-06T14:34:35.552Z] v3.1.0-dev.7 [2023-09-06T14:34:35.552Z] v3.1.0-dev.8 [2023-09-06T14:34:35.552Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-06T14:34:35.836Z] + lftools sign git-tag v3.1.0-dev.10 [2023-09-06T14:34:36.405Z] Signing Git tag with Sigul... [2023-09-06T14:34:36.405Z] Signing v3.1.0-dev.10 [Pipeline] echo [2023-09-06T14:34:36.673Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:34:36.957Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-06T14:34:36.964Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-06T14:34:36.984Z] $ docker stop --time=1 afd0b943abb71ac5c5cfededb20f08b0a60465e1db8964075e738b7630052673 [2023-09-06T14:34:38.286Z] $ docker rm -f --volumes afd0b943abb71ac5c5cfededb20f08b0a60465e1db8964075e738b7630052673 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-06T14:34:38.691Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T14:34:38.691Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:34:38.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T14:34:38.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:34:39.051Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-09-06T14:34:39.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-06T14:34:39.420Z] $ docker top db9ca213e9a76d2ccf235bdada66191a5801eac957ed81e72b50cd7a19cafea7 -eo pid,comm [2023-09-06T14:34:39.464Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-06T14:34:39.464Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T14:34:39.505Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T14:34:39.505Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T14:34:39.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T14:34:39.626Z] $ docker exec db9ca213e9a76d2ccf235bdada66191a5801eac957ed81e72b50cd7a19cafea7 ssh-agent [2023-09-06T14:34:39.731Z] SSH_AUTH_SOCK=/tmp/ssh-FPvCIR6ZdC0p/agent.31 [2023-09-06T14:34:39.731Z] SSH_AGENT_PID=37 [2023-09-06T14:34:39.736Z] Running ssh-add (command line suppressed) [2023-09-06T14:34:39.826Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15505948303903399194.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15505948303903399194.key) [2023-09-06T14:34:39.841Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T14:34:40.127Z] + git semver bump pre [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,323 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,323 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,323 [bump_version] DEBUG bumped version:3.1.0-dev.11 [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,323 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,323 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,323 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,325 [execute] INFO git cat-file --batch-check [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,330 [execute] INFO git cat-file --batch [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T14:34:40.387Z] 2023-09-06 14:34:40,335 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-06T14:34:40.387Z] 3.1.0-dev.11 [Pipeline] } [2023-09-06T14:34:40.397Z] $ docker exec --env ******** --env ******** db9ca213e9a76d2ccf235bdada66191a5801eac957ed81e72b50cd7a19cafea7 ssh-agent -k [2023-09-06T14:34:40.499Z] unset SSH_AUTH_SOCK; [2023-09-06T14:34:40.499Z] unset SSH_AGENT_PID; [2023-09-06T14:34:40.499Z] echo Agent pid 37 killed; [2023-09-06T14:34:40.508Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T14:34:40.821Z] + git semver [Pipeline] } [2023-09-06T14:34:41.093Z] $ docker stop --time=1 db9ca213e9a76d2ccf235bdada66191a5801eac957ed81e72b50cd7a19cafea7 [2023-09-06T14:34:42.408Z] $ docker rm -f --volumes db9ca213e9a76d2ccf235bdada66191a5801eac957ed81e72b50cd7a19cafea7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T14:34:42.746Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T14:34:42.746Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:34:43.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T14:34:43.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:34:43.114Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-09-06T14:34:43.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-06T14:34:43.474Z] $ docker top d2a7740a2520c8fac5fe40c0b3843e254b0377160b6173a96d82dcb07a06cd51 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T14:34:43.563Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T14:34:43.563Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T14:34:43.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T14:34:43.687Z] $ docker exec d2a7740a2520c8fac5fe40c0b3843e254b0377160b6173a96d82dcb07a06cd51 ssh-agent [2023-09-06T14:34:43.813Z] SSH_AUTH_SOCK=/tmp/ssh-8N9ur4a46QzE/agent.32 [2023-09-06T14:34:43.813Z] SSH_AGENT_PID=38 [2023-09-06T14:34:43.818Z] Running ssh-add (command line suppressed) [2023-09-06T14:34:43.920Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3749173226809975957.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3749173226809975957.key) [2023-09-06T14:34:43.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T14:34:44.217Z] + git semver push [2023-09-06T14:34:44.476Z] 2023-09-06 14:34:44,382 [run_push] DEBUG push [2023-09-06T14:34:44.476Z] 2023-09-06 14:34:44,383 [execute] INFO git cat-file --batch-check [2023-09-06T14:34:44.476Z] 2023-09-06 14:34:44,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T14:34:44.476Z] 2023-09-06 14:34:44,386 [execute] INFO git rev-list 502c532eb24f7bb6c84cb3d56c17f3a81d8eeca3 -- [2023-09-06T14:34:44.476Z] 2023-09-06 14:34:44,386 [execute] DEBUG Popen(['git', 'rev-list', '502c532eb24f7bb6c84cb3d56c17f3a81d8eeca3', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-06T14:34:44.476Z] 2023-09-06 14:34:44,394 [execute] INFO git fetch -v origin [2023-09-06T14:34:44.476Z] 2023-09-06 14:34:44,395 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-06T14:34:45.042Z] 2023-09-06 14:34:44,873 [run_push] DEBUG no remote changes detected [2023-09-06T14:34:45.042Z] 2023-09-06 14:34:44,873 [execute] INFO git push origin semver [2023-09-06T14:34:45.042Z] 2023-09-06 14:34:44,874 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-06T14:34:45.978Z] 2023-09-06 14:34:45,676 [run_push] DEBUG push all version tags [2023-09-06T14:34:45.978Z] 2023-09-06 14:34:45,677 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-06T14:34:45.978Z] 2023-09-06 14:34:45,677 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-06T14:34:46.915Z] 2023-09-06 14:34:46,571 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-06T14:34:46.915Z] 3.1.0-dev.11 [Pipeline] } [2023-09-06T14:34:46.924Z] $ docker exec --env ******** --env ******** d2a7740a2520c8fac5fe40c0b3843e254b0377160b6173a96d82dcb07a06cd51 ssh-agent -k [2023-09-06T14:34:47.016Z] unset SSH_AUTH_SOCK; [2023-09-06T14:34:47.019Z] unset SSH_AGENT_PID; [2023-09-06T14:34:47.019Z] echo Agent pid 38 killed; [2023-09-06T14:34:47.026Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T14:34:47.338Z] + git semver [Pipeline] } [2023-09-06T14:34:47.609Z] $ docker stop --time=1 d2a7740a2520c8fac5fe40c0b3843e254b0377160b6173a96d82dcb07a06cd51 [2023-09-06T14:34:48.929Z] $ docker rm -f --volumes d2a7740a2520c8fac5fe40c0b3843e254b0377160b6173a96d82dcb07a06cd51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-06T14:34:49.479Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-09-06T14:34:49.479Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-06T14:34:49.479Z] total 16 [2023-09-06T14:34:49.479Z] drwxr-xr-x 3 root root 4096 Sep 6 14:26 . [2023-09-06T14:34:49.479Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 14:34 .. [2023-09-06T14:34:49.479Z] drwxr-xr-x 2 root root 4096 Sep 6 14:26 cost [2023-09-06T14:34:49.479Z] -rw-r--r-- 1 root root 89 Sep 6 14:26 cost.csv [2023-09-06T14:34:49.479Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-06T14:34:49.479Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-06T14:34:49.479Z] total 16 [2023-09-06T14:34:49.479Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 14:26 . [2023-09-06T14:34:49.479Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 14:34 .. [2023-09-06T14:34:49.479Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 14:26 cost [2023-09-06T14:34:49.479Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 6 14:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:34:49.769Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:34:50.629Z] ---> package-listing.sh [2023-09-06T14:34:50.629Z] ++ facter osfamily [2023-09-06T14:34:50.629Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-06T14:34:50.887Z] + OS_FAMILY=debian [2023-09-06T14:34:50.887Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-09-06T14:34:50.887Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-06T14:34:50.887Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-06T14:34:50.887Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-06T14:34:50.887Z] + PACKAGES=/tmp/packages_start.txt [2023-09-06T14:34:50.887Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-06T14:34:50.887Z] + PACKAGES=/tmp/packages_end.txt [2023-09-06T14:34:50.887Z] + case "${OS_FAMILY}" in [2023-09-06T14:34:50.887Z] + dpkg -l [2023-09-06T14:34:50.887Z] + grep '^ii' [2023-09-06T14:34:50.887Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-06T14:34:50.887Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-06T14:34:50.887Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-06T14:34:50.887Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-06T14:34:50.887Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-09-06T14:34:50.887Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2023-09-06T14:34:50.896Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-06T14:34:51.170Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T14:34:51.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T14:34:51.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T14:34:51.798Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-09-06T14:34:51.938Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-06T14:34:52.144Z] $ docker top 9a854028ed35644288cc3cd520fc92ecd974993452cf894ac8e7d8435aacffc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T14:34:52.532Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-06T14:34:52.827Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-06T14:34:53.107Z] + ls /var/log/sa-host [2023-09-06T14:34:53.107Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T14:34:53.266Z] provisioning config files... [2023-09-06T14:34:53.274Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2798582414518703044tmp [Pipeline] { [Pipeline] echo [2023-09-06T14:34:53.289Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:34:53.572Z] ---> create-netrc.sh [Pipeline] } [2023-09-06T14:34:53.581Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:34:53.919Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-06T14:34:53.928Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:34:54.208Z] ---> sudo-logs.sh [2023-09-06T14:34:54.209Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-06T14:34:54.235Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:34:54.537Z] ---> job-cost.sh [2023-09-06T14:34:54.537Z] lf-activate-venv: SKIPPING [2023-09-06T14:34:54.537Z] DEBUG: total: 0.2199999988079071 [2023-09-06T14:34:54.537Z] INFO: Retrieving Stack Cost... [2023-09-06T14:34:54.795Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T14:34:55.364Z] INFO: Archiving Costs [Pipeline] echo [2023-09-06T14:34:55.376Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T14:34:55.657Z] ---> logs-deploy.sh [2023-09-06T14:34:55.658Z] lf-activate-venv: SKIPPING [2023-09-06T14:34:55.658Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/136 [2023-09-06T14:34:55.658Z] INFO: archiving workspace using pattern(s): [2023-09-06T14:34:56.597Z] Archives upload complete. [2023-09-06T14:34:56.597Z] INFO: archiving logs to Nexus