Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 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-ssh2797421474920066620.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17453596875045577125.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5227911620239853646.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3274810241118181981.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-ssh2996225452430276944.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10138 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#441)" > git rev-list --no-walk a824126fc7aa73da39901a16544d301861d29328 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T18:28:47.432Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T18:28:47.481Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T18:28:47.492Z] ========================================================= [2023-10-24T18:28:47.492Z] EdgeX Global Pipelines Version Info [2023-10-24T18:28:47.492Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:28:48.202Z] ------------------- [2023-10-24T18:28:48.202Z] stable info: [2023-10-24T18:28:48.202Z] ------------------- [2023-10-24T18:28:48.202Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T18:28:48.202Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T18:28:48.202Z] Message: update stable to v1.0.254 [2023-10-24T18:28:48.771Z] ------------------- [2023-10-24T18:28:48.771Z] experimental info: [2023-10-24T18:28:48.771Z] ------------------- [2023-10-24T18:28:48.771Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T18:28:48.771Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T18:28:48.771Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T18:28:48.925Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-10-24T18:28:48.936Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-10-24T18:28:48.951Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T18:28:48.963Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T18:28:48.983Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T18:28:48.995Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T18:28:49.009Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T18:28:49.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T18:28:49.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T18:28:49.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T18:28:49.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T18:28:49.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-10-24T18:28:49.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T18:28:49.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T18:28:49.128Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T18:28:49.145Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T18:28:49.156Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T18:28:49.171Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T18:28:49.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T18:28:49.199Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T18:28:49.211Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T18:28:49.220Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T18:28:49.228Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T18:28:49.237Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T18:28:49.248Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T18:28:49.258Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T18:28:49.267Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T18:28:49.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T18:28:49.287Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T18:28:49.298Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T18:28:49.314Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [Pipeline] echo [2023-10-24T18:28:49.327Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4bca90f [Pipeline] echo [2023-10-24T18:28:49.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:28:49.384Z] provisioning config files... [2023-10-24T18:28:49.402Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14338258544875638622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:28:49.704Z] ---> docker-login.sh [2023-10-24T18:28:49.704Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:28:49.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:28:49.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:28:49.963Z] Configure a credential helper to remove this warning. See [2023-10-24T18:28:49.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:28:49.963Z] [2023-10-24T18:28:49.963Z] Login Succeeded [2023-10-24T18:28:49.963Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:28:49.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:28:49.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:28:49.963Z] Configure a credential helper to remove this warning. See [2023-10-24T18:28:49.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:28:49.963Z] [2023-10-24T18:28:49.963Z] Login Succeeded [2023-10-24T18:28:49.963Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:28:50.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:28:50.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:28:50.223Z] Configure a credential helper to remove this warning. See [2023-10-24T18:28:50.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:28:50.223Z] [2023-10-24T18:28:50.223Z] Login Succeeded [2023-10-24T18:28:50.223Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:28:50.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:28:50.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:28:50.223Z] Configure a credential helper to remove this warning. See [2023-10-24T18:28:50.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:28:50.223Z] [2023-10-24T18:28:50.223Z] Login Succeeded [2023-10-24T18:28:50.223Z] docker.io [2023-10-24T18:28:50.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:28:50.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:28:50.482Z] Configure a credential helper to remove this warning. See [2023-10-24T18:28:50.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:28:50.482Z] [2023-10-24T18:28:50.482Z] Login Succeeded [2023-10-24T18:28:50.482Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:28:50.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T18:28:50.847Z] + git rev-list -1 --merges 4bca90f1dcf7f6a68b4f435e584e4fdab171b977~1..4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [Pipeline] echo [2023-10-24T18:28:50.899Z] -----------> git rev-list -1 --merges 4bca90f1dcf7f6a68b4f435e584e4fdab171b977~1..4bca90f1dcf7f6a68b4f435e584e4fdab171b977 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [false] [Pipeline] sh [2023-10-24T18:28:51.203Z] + git log --format=format:%s -1 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [Pipeline] echo [2023-10-24T18:28:51.218Z] ========================================================= [2023-10-24T18:28:51.218Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T18:28:51.218Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:28:51.563Z] + git log --format=format:%s -1 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [Pipeline] echo [2023-10-24T18:28:51.574Z] [semverPrep] GIT_COMMIT: 4bca90f1dcf7f6a68b4f435e584e4fdab171b977, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#441) [Pipeline] echo [2023-10-24T18:28:51.581Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T18:28:51.923Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:28:51.923Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T18:28:51.923Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T18:28:51.923Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T18:28:51.923Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T18:28:51.923Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T18:28:51.923Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:28:52.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:28:52.261Z] [2023-10-24T18:28:52.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:28:52.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:28:52.567Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T18:28:52.567Z] b85a868b505f: Pulling fs layer [2023-10-24T18:28:52.567Z] e2be974225ed: Pulling fs layer [2023-10-24T18:28:52.567Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T18:28:52.567Z] 988bab9f4d93: Pulling fs layer [2023-10-24T18:28:52.567Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T18:28:52.567Z] eaf3925da568: Pulling fs layer [2023-10-24T18:28:52.567Z] bab4dde63d76: Pulling fs layer [2023-10-24T18:28:52.567Z] bde34c3a00c8: Pulling fs layer [2023-10-24T18:28:52.567Z] b352a97aabf1: Pulling fs layer [2023-10-24T18:28:52.567Z] 4872d77fe225: Pulling fs layer [2023-10-24T18:28:52.567Z] 5851b861e8e6: Pulling fs layer [2023-10-24T18:28:52.567Z] bab4dde63d76: Waiting [2023-10-24T18:28:52.567Z] 4872d77fe225: Waiting [2023-10-24T18:28:52.567Z] 5851b861e8e6: Waiting [2023-10-24T18:28:52.567Z] bde34c3a00c8: Waiting [2023-10-24T18:28:52.567Z] b352a97aabf1: Waiting [2023-10-24T18:28:52.567Z] 988bab9f4d93: Waiting [2023-10-24T18:28:52.567Z] 1469e6f7b9e6: Waiting [2023-10-24T18:28:52.567Z] eaf3925da568: Waiting [2023-10-24T18:28:52.567Z] e2be974225ed: Verifying Checksum [2023-10-24T18:28:52.567Z] e2be974225ed: Download complete [2023-10-24T18:28:52.567Z] 988bab9f4d93: Download complete [2023-10-24T18:28:52.567Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T18:28:52.567Z] 339a4e72a1f5: Download complete [2023-10-24T18:28:52.824Z] eaf3925da568: Download complete [2023-10-24T18:28:52.824Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T18:28:52.824Z] 1469e6f7b9e6: Download complete [2023-10-24T18:28:52.824Z] bde34c3a00c8: Verifying Checksum [2023-10-24T18:28:52.824Z] b352a97aabf1: Verifying Checksum [2023-10-24T18:28:52.824Z] b352a97aabf1: Download complete [2023-10-24T18:28:52.824Z] 4872d77fe225: Verifying Checksum [2023-10-24T18:28:52.824Z] 4872d77fe225: Download complete [2023-10-24T18:28:52.824Z] 5851b861e8e6: Download complete [2023-10-24T18:28:52.824Z] b85a868b505f: Verifying Checksum [2023-10-24T18:28:52.824Z] b85a868b505f: Download complete [2023-10-24T18:28:53.086Z] bab4dde63d76: Verifying Checksum [2023-10-24T18:28:53.086Z] bab4dde63d76: Download complete [2023-10-24T18:28:54.458Z] b85a868b505f: Pull complete [2023-10-24T18:28:54.458Z] e2be974225ed: Pull complete [2023-10-24T18:28:54.739Z] 339a4e72a1f5: Pull complete [2023-10-24T18:28:55.000Z] 988bab9f4d93: Pull complete [2023-10-24T18:28:55.258Z] 1469e6f7b9e6: Pull complete [2023-10-24T18:28:55.258Z] eaf3925da568: Pull complete [2023-10-24T18:28:57.160Z] bab4dde63d76: Pull complete [2023-10-24T18:28:57.160Z] bde34c3a00c8: Pull complete [2023-10-24T18:28:57.419Z] b352a97aabf1: Pull complete [2023-10-24T18:28:57.419Z] 4872d77fe225: Pull complete [2023-10-24T18:28:57.419Z] 5851b861e8e6: Pull complete [2023-10-24T18:28:57.419Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T18:28:57.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:28:57.419Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:28:57.513Z] prd-ubuntu20.04-docker-8c-8g-10138 does not seem to be running inside a container [2023-10-24T18:28:57.555Z] $ 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-10-24T18:28:59.957Z] $ docker top 3953336a032572671bc47319f2775b54ea229a763ee574b579381070febe8dfc -eo pid,comm [2023-10-24T18:29:00.009Z] 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-10-24T18:29:00.009Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:29:00.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:29:00.037Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:29:00.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:29:00.154Z] $ docker exec 3953336a032572671bc47319f2775b54ea229a763ee574b579381070febe8dfc ssh-agent [2023-10-24T18:29:00.254Z] SSH_AUTH_SOCK=/tmp/ssh-iuTLvHixiGml/agent.32 [2023-10-24T18:29:00.254Z] SSH_AGENT_PID=38 [2023-10-24T18:29:00.261Z] Running ssh-add (command line suppressed) [2023-10-24T18:29:00.372Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6727231210768561297.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6727231210768561297.key) [2023-10-24T18:29:00.382Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:29:00.667Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T18:29:00.681Z] $ docker exec --env ******** --env ******** 3953336a032572671bc47319f2775b54ea229a763ee574b579381070febe8dfc ssh-agent -k [2023-10-24T18:29:00.793Z] unset SSH_AUTH_SOCK; [2023-10-24T18:29:00.794Z] unset SSH_AGENT_PID; [2023-10-24T18:29:00.794Z] echo Agent pid 38 killed; [2023-10-24T18:29:00.801Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T18:29:00.824Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:29:00.824Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:29:00.944Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:29:00.950Z] $ docker exec 3953336a032572671bc47319f2775b54ea229a763ee574b579381070febe8dfc ssh-agent [2023-10-24T18:29:01.066Z] SSH_AUTH_SOCK=/tmp/ssh-pBtNXO0bD7Tb/agent.70 [2023-10-24T18:29:01.066Z] SSH_AGENT_PID=76 [2023-10-24T18:29:01.071Z] Running ssh-add (command line suppressed) [2023-10-24T18:29:01.174Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1256308512519790440.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1256308512519790440.key) [2023-10-24T18:29:01.186Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:29:01.476Z] + git semver init [2023-10-24T18:29:01.735Z] 2023-10-24 18:29:01,676 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T18:29:01.736Z] 2023-10-24 18:29:01,677 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-10-24T18:29:01.736Z] 2023-10-24 18:29:01,677 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-10-24T18:29:01.736Z] 2023-10-24 18:29:01,678 [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-10-24T18:29:03.115Z] 2023-10-24 18:29:02,897 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-10-24T18:29:03.115Z] 2023-10-24 18:29:02,898 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-10-24T18:29:03.115Z] 2023-10-24 18:29:02,898 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-24T18:29:03.115Z] 2023-10-24 18:29:02,898 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-24T18:29:03.115Z] 3.1.0-dev.25 [Pipeline] } [2023-10-24T18:29:03.129Z] $ docker exec --env ******** --env ******** 3953336a032572671bc47319f2775b54ea229a763ee574b579381070febe8dfc ssh-agent -k [2023-10-24T18:29:03.229Z] unset SSH_AUTH_SOCK; [2023-10-24T18:29:03.229Z] unset SSH_AGENT_PID; [2023-10-24T18:29:03.229Z] echo Agent pid 76 killed; [2023-10-24T18:29:03.239Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:29:03.548Z] + git semver [Pipeline] } [2023-10-24T18:29:03.826Z] $ docker stop --time=1 3953336a032572671bc47319f2775b54ea229a763ee574b579381070febe8dfc [2023-10-24T18:29:05.149Z] $ docker rm -f --volumes 3953336a032572671bc47319f2775b54ea229a763ee574b579381070febe8dfc [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:29:05.479Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T18:29:05.687Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T18:29:05.689Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.25 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:29:05.855Z] provisioning config files... [2023-10-24T18:29:05.864Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3494839738532740868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:29:06.160Z] ---> docker-login.sh [2023-10-24T18:29:06.160Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:29:06.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:29:06.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:29:06.160Z] Configure a credential helper to remove this warning. See [2023-10-24T18:29:06.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:29:06.160Z] [2023-10-24T18:29:06.160Z] Login Succeeded [2023-10-24T18:29:06.160Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:29:06.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:29:06.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:29:06.427Z] Configure a credential helper to remove this warning. See [2023-10-24T18:29:06.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:29:06.427Z] [2023-10-24T18:29:06.427Z] Login Succeeded [2023-10-24T18:29:06.427Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:29:06.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:29:06.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:29:06.427Z] Configure a credential helper to remove this warning. See [2023-10-24T18:29:06.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:29:06.427Z] [2023-10-24T18:29:06.427Z] Login Succeeded [2023-10-24T18:29:06.427Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:29:06.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:29:06.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:29:06.685Z] Configure a credential helper to remove this warning. See [2023-10-24T18:29:06.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:29:06.685Z] [2023-10-24T18:29:06.685Z] Login Succeeded [2023-10-24T18:29:06.685Z] docker.io [2023-10-24T18:29:06.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:29:06.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:29:06.947Z] Configure a credential helper to remove this warning. See [2023-10-24T18:29:06.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:29:06.947Z] [2023-10-24T18:29:06.947Z] Login Succeeded [2023-10-24T18:29:06.947Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:29:06.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T18:29:07.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:29:07.036Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:29:07.042Z] ========================================================= [2023-10-24T18:29:07.042Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T18:29:07.042Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:29:07.357Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T18:29:07.357Z] Sending build context to Docker daemon 23.67MB [2023-10-24T18:29:07.357Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:29:07.357Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T18:29:07.636Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T18:29:07.636Z] 7264a8db6415: Pulling fs layer [2023-10-24T18:29:07.636Z] c4d48a809fc2: Pulling fs layer [2023-10-24T18:29:07.636Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T18:29:07.636Z] ad3a456e5733: Pulling fs layer [2023-10-24T18:29:07.636Z] 33e27b845d1e: Pulling fs layer [2023-10-24T18:29:07.636Z] c68163c4e522: Pulling fs layer [2023-10-24T18:29:07.636Z] 50da416c3ac9: Pulling fs layer [2023-10-24T18:29:07.636Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T18:29:07.636Z] c68163c4e522: Waiting [2023-10-24T18:29:07.636Z] 50da416c3ac9: Waiting [2023-10-24T18:29:07.636Z] ad3a456e5733: Waiting [2023-10-24T18:29:07.636Z] 33e27b845d1e: Waiting [2023-10-24T18:29:07.636Z] 23d2d4c4bb30: Waiting [2023-10-24T18:29:07.636Z] c4d48a809fc2: Download complete [2023-10-24T18:29:07.636Z] ad3a456e5733: Verifying Checksum [2023-10-24T18:29:07.636Z] ad3a456e5733: Download complete [2023-10-24T18:29:07.636Z] 7264a8db6415: Verifying Checksum [2023-10-24T18:29:07.636Z] 7264a8db6415: Download complete [2023-10-24T18:29:07.636Z] 33e27b845d1e: Verifying Checksum [2023-10-24T18:29:07.636Z] 33e27b845d1e: Download complete [2023-10-24T18:29:07.636Z] c68163c4e522: Verifying Checksum [2023-10-24T18:29:07.636Z] c68163c4e522: Download complete [2023-10-24T18:29:07.897Z] 7264a8db6415: Pull complete [2023-10-24T18:29:07.897Z] 23d2d4c4bb30: Download complete [2023-10-24T18:29:07.897Z] c4d48a809fc2: Pull complete [2023-10-24T18:29:08.155Z] 4f1c88b9dad5: Download complete [2023-10-24T18:29:08.412Z] 50da416c3ac9: Verifying Checksum [2023-10-24T18:29:08.412Z] 50da416c3ac9: Download complete [2023-10-24T18:29:10.938Z] 4f1c88b9dad5: Pull complete [2023-10-24T18:29:11.197Z] ad3a456e5733: Pull complete [2023-10-24T18:29:11.197Z] 33e27b845d1e: Pull complete [2023-10-24T18:29:11.197Z] c68163c4e522: Pull complete [2023-10-24T18:29:13.717Z] 50da416c3ac9: Pull complete [2023-10-24T18:29:13.976Z] 23d2d4c4bb30: Pull complete [2023-10-24T18:29:13.976Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T18:29:13.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T18:29:13.976Z] ---> 0786185ac409 [2023-10-24T18:29:13.976Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T18:29:17.265Z] ---> Running in 53d2a5dd46ae [2023-10-24T18:29:17.265Z] Removing intermediate container 53d2a5dd46ae [2023-10-24T18:29:17.265Z] ---> 505635528158 [2023-10-24T18:29:17.265Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:29:17.265Z] ---> Running in b5593bed1233 [2023-10-24T18:29:17.265Z] Removing intermediate container b5593bed1233 [2023-10-24T18:29:17.265Z] ---> b62adfddea7f [2023-10-24T18:29:17.265Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:29:17.265Z] ---> Running in d6ce0b6ee785 [2023-10-24T18:29:17.265Z] Removing intermediate container d6ce0b6ee785 [2023-10-24T18:29:17.265Z] ---> 463ae5f4096a [2023-10-24T18:29:17.265Z] Step 6/12 : WORKDIR /device-virtual-go [2023-10-24T18:29:17.265Z] ---> Running in 27523bed15a9 [2023-10-24T18:29:17.265Z] Removing intermediate container 27523bed15a9 [2023-10-24T18:29:17.265Z] ---> 05e064a35a5f [2023-10-24T18:29:17.265Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:29:17.265Z] ---> Running in 4dc783d2b5f0 [2023-10-24T18:29:17.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:29:17.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:29:18.040Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T18:29:18.040Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T18:29:18.040Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T18:29:18.040Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T18:29:18.040Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:29:18.040Z] OK: 268 MiB in 56 packages [2023-10-24T18:29:18.604Z] Removing intermediate container 4dc783d2b5f0 [2023-10-24T18:29:18.604Z] ---> 6c4cc2e1eced [2023-10-24T18:29:18.604Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-24T18:29:18.862Z] ---> 566e7650bb2d [2023-10-24T18:29:18.862Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:29:18.862Z] ---> Running in 075264a08e42 [2023-10-24T18:29:20.797Z] Still waiting to schedule task [2023-10-24T18:29:20.798Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T18:30:05.808Z] Removing intermediate container 075264a08e42 [2023-10-24T18:30:05.808Z] ---> d3216006c12a [2023-10-24T18:30:05.808Z] Step 10/12 : COPY . . [2023-10-24T18:30:05.808Z] ---> 50d552cd39ee [2023-10-24T18:30:05.808Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:30:05.808Z] ---> Running in 7ee395a301f6 [2023-10-24T18:30:05.808Z] Removing intermediate container 7ee395a301f6 [2023-10-24T18:30:05.808Z] ---> fe846e1502e0 [2023-10-24T18:30:05.808Z] Step 12/12 : RUN $MAKE [2023-10-24T18:30:05.808Z] ---> Running in 318a4eaba9ad [2023-10-24T18:30:05.808Z] noop [2023-10-24T18:30:05.808Z] Removing intermediate container 318a4eaba9ad [2023-10-24T18:30:05.808Z] ---> bc78229b35e8 [2023-10-24T18:30:05.808Z] Successfully built bc78229b35e8 [2023-10-24T18:30:05.808Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:30:06.183Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T18:30:06.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:30:06.260Z] prd-ubuntu20.04-docker-8c-8g-10138 does not seem to be running inside a container [2023-10-24T18:30:06.288Z] $ 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-10-24T18:30:06.600Z] $ docker top 4df55161ba7f8c230882ab6f5b66b1ee700d28a86de57df849169e17860dcc8b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:30:06.927Z] + go version [2023-10-24T18:30:06.927Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T18:30:06.940Z] $ docker stop --time=1 4df55161ba7f8c230882ab6f5b66b1ee700d28a86de57df849169e17860dcc8b [2023-10-24T18:30:08.199Z] $ docker rm -f --volumes 4df55161ba7f8c230882ab6f5b66b1ee700d28a86de57df849169e17860dcc8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:30:08.594Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T18:30:08.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:30:08.670Z] prd-ubuntu20.04-docker-8c-8g-10138 does not seem to be running inside a container [2023-10-24T18:30:08.702Z] $ 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-10-24T18:30:09.020Z] $ docker top 550d0c5c12b53aacf6ad2f112d7397bd263d50416902c78e45f4fab7f6b8d582 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:30:09.361Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T18:30:09.655Z] + make test [2023-10-24T18:30:09.655Z] go test ./... -coverprofile=coverage.out [2023-10-24T18:30:11.034Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-10-24T18:30:20.229Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-10-24T18:30:20.229Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements [2023-10-24T18:30:28.333Z] go vet ./... [2023-10-24T18:30:30.861Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T18:30:30.861Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T18:30:30.861Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T18:30:31.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T18:30:31.148Z] $ docker stop --time=1 550d0c5c12b53aacf6ad2f112d7397bd263d50416902c78e45f4fab7f6b8d582 [2023-10-24T18:30:33.980Z] $ docker rm -f --volumes 550d0c5c12b53aacf6ad2f112d7397bd263d50416902c78e45f4fab7f6b8d582 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:30:34.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T18:30:34.485Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T18:30:34.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T18:30:35.255Z] + ls -al . [2023-10-24T18:30:35.255Z] total 200 [2023-10-24T18:30:35.255Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:30 . [2023-10-24T18:30:35.255Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:28 .. [2023-10-24T18:30:35.255Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:30 .git [2023-10-24T18:30:35.255Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:28 .github [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 24 18:28 .gitignore [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:28 .golangci.yml [2023-10-24T18:30:35.255Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:29 .semver [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 9708 Oct 24 18:28 Attribution.txt [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 14372 Oct 24 18:28 CHANGELOG.md [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 1646 Oct 24 18:28 Dockerfile [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:28 GOVERNANCE.md [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 18:28 Jenkinsfile [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:28 LICENSE [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 1947 Oct 24 18:28 Makefile [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 18:28 OWNERS.md [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 24 18:28 README.md [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:29 VERSION [2023-10-24T18:30:35.255Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:28 bin [2023-10-24T18:30:35.255Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:28 cmd [2023-10-24T18:30:35.255Z] -rw-r--r-- 1 jenkins jenkins 43063 Oct 24 18:30 coverage.out [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 3638 Oct 24 18:28 go.mod [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 34490 Oct 24 18:28 go.sum [2023-10-24T18:30:35.255Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:28 internal [2023-10-24T18:30:35.255Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 18:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:30:35.591Z] + 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=4bca90f1dcf7f6a68b4f435e584e4fdab171b977 --label arch=amd64 --label version=3.1.0-dev.25 . [2023-10-24T18:30:35.592Z] Sending build context to Docker daemon 23.71MB [2023-10-24T18:30:35.592Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:30:35.592Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T18:30:35.592Z] ---> bc78229b35e8 [2023-10-24T18:30:35.592Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T18:30:35.866Z] ---> Running in 2824c742b3c2 [2023-10-24T18:30:36.140Z] Removing intermediate container 2824c742b3c2 [2023-10-24T18:30:36.140Z] ---> 6ad41605b614 [2023-10-24T18:30:36.140Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:30:36.140Z] ---> Running in 03c07294e223 [2023-10-24T18:30:36.140Z] Removing intermediate container 03c07294e223 [2023-10-24T18:30:36.140Z] ---> 268201d5dbc8 [2023-10-24T18:30:36.140Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:30:36.140Z] ---> Running in c1cfe24f2bcc [2023-10-24T18:30:36.140Z] Removing intermediate container c1cfe24f2bcc [2023-10-24T18:30:36.140Z] ---> 418dafdc0198 [2023-10-24T18:30:36.140Z] Step 6/25 : WORKDIR /device-virtual-go [2023-10-24T18:30:36.140Z] ---> Running in c8e78840c6b3 [2023-10-24T18:30:36.401Z] Removing intermediate container c8e78840c6b3 [2023-10-24T18:30:36.401Z] ---> 5b9a19ff632a [2023-10-24T18:30:36.401Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:30:36.401Z] ---> Running in 92b3a9d84494 [2023-10-24T18:30:36.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:30:36.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:30:36.920Z] OK: 268 MiB in 56 packages [2023-10-24T18:30:37.488Z] Removing intermediate container 92b3a9d84494 [2023-10-24T18:30:37.488Z] ---> 02a120e793dc [2023-10-24T18:30:37.488Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-24T18:30:37.488Z] ---> 933160e40b04 [2023-10-24T18:30:37.488Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:30:37.488Z] ---> Running in 4a12e685c6b2 [2023-10-24T18:30:38.055Z] Removing intermediate container 4a12e685c6b2 [2023-10-24T18:30:38.055Z] ---> e9f5d67f8746 [2023-10-24T18:30:38.055Z] Step 10/25 : COPY . . [2023-10-24T18:30:38.623Z] ---> 72d0a25a4980 [2023-10-24T18:30:38.623Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:30:38.623Z] ---> Running in aca624e6525b [2023-10-24T18:30:38.895Z] Removing intermediate container aca624e6525b [2023-10-24T18:30:38.895Z] ---> e20b19e7e373 [2023-10-24T18:30:38.895Z] Step 12/25 : RUN $MAKE [2023-10-24T18:30:38.895Z] ---> Running in 84fc21fb2abc [2023-10-24T18:30:39.154Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-10-24T18:31:01.079Z] Removing intermediate container 84fc21fb2abc [2023-10-24T18:31:01.079Z] ---> fd4b1bb6632d [2023-10-24T18:31:01.079Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T18:31:01.079Z] 3.18: Pulling from library/alpine [2023-10-24T18:31:01.079Z] 96526aa774ef: Pulling fs layer [2023-10-24T18:31:01.079Z] 96526aa774ef: Verifying Checksum [2023-10-24T18:31:01.079Z] 96526aa774ef: Download complete [2023-10-24T18:31:01.079Z] 96526aa774ef: Pull complete [2023-10-24T18:31:01.079Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T18:31:01.079Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T18:31:01.079Z] ---> 8ca4688f4f35 [2023-10-24T18:31:01.079Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-10-24T18:31:01.079Z] ---> Running in eb9841dca030 [2023-10-24T18:31:01.079Z] Removing intermediate container eb9841dca030 [2023-10-24T18:31:01.079Z] ---> a368dcbd7bde [2023-10-24T18:31:01.079Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T18:31:01.079Z] ---> Running in c02b738d9e8a [2023-10-24T18:31:01.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:31:01.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:31:01.079Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T18:31:01.079Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:31:01.079Z] OK: 7 MiB in 16 packages [2023-10-24T18:31:01.079Z] Removing intermediate container c02b738d9e8a [2023-10-24T18:31:01.079Z] ---> 42aa52f97996 [2023-10-24T18:31:01.079Z] Step 16/25 : WORKDIR / [2023-10-24T18:31:01.079Z] ---> Running in 0960a22c49e3 [2023-10-24T18:31:01.079Z] Removing intermediate container 0960a22c49e3 [2023-10-24T18:31:01.079Z] ---> a2aba64f1100 [2023-10-24T18:31:01.079Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-10-24T18:31:01.079Z] ---> bc97ed557bc7 [2023-10-24T18:31:01.079Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-10-24T18:31:01.079Z] ---> 9d97c11fc3cf [2023-10-24T18:31:01.079Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-10-24T18:31:01.079Z] ---> 76eef74476be [2023-10-24T18:31:01.079Z] Step 20/25 : EXPOSE 59900 [2023-10-24T18:31:01.079Z] ---> Running in 7b79d3a23cf8 [2023-10-24T18:31:01.079Z] Removing intermediate container 7b79d3a23cf8 [2023-10-24T18:31:01.079Z] ---> d4bee05ae145 [2023-10-24T18:31:01.079Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-10-24T18:31:01.079Z] ---> Running in dadfec455067 [2023-10-24T18:31:01.337Z] Removing intermediate container dadfec455067 [2023-10-24T18:31:01.337Z] ---> ffaad4fea523 [2023-10-24T18:31:01.337Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T18:31:01.337Z] ---> Running in 1d24b5a7c3b2 [2023-10-24T18:31:01.337Z] Removing intermediate container 1d24b5a7c3b2 [2023-10-24T18:31:01.337Z] ---> 321fd36844a1 [2023-10-24T18:31:01.337Z] Step 23/25 : LABEL arch=amd64 [2023-10-24T18:31:01.337Z] ---> Running in 1c114c5be46b [2023-10-24T18:31:01.337Z] Removing intermediate container 1c114c5be46b [2023-10-24T18:31:01.337Z] ---> 971fc52c965e [2023-10-24T18:31:01.337Z] Step 24/25 : LABEL git_sha=4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [2023-10-24T18:31:01.337Z] ---> Running in 20971de3eff6 [2023-10-24T18:31:01.594Z] Removing intermediate container 20971de3eff6 [2023-10-24T18:31:01.594Z] ---> 2aae560576e9 [2023-10-24T18:31:01.594Z] Step 25/25 : LABEL version=3.1.0-dev.25 [2023-10-24T18:31:01.594Z] ---> Running in 504fe8f2c795 [2023-10-24T18:31:01.594Z] Removing intermediate container 504fe8f2c795 [2023-10-24T18:31:01.594Z] ---> 886a7a7738e4 [2023-10-24T18:31:01.594Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T18:31:01.594Z] Successfully built 886a7a7738e4 [2023-10-24T18:31:01.594Z] 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-10-24T18:31:01.687Z] provisioning config files... [2023-10-24T18:31:01.695Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14157074543218468410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:31:01.985Z] ---> docker-login.sh [2023-10-24T18:31:01.985Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:31:01.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:31:01.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:31:01.985Z] Configure a credential helper to remove this warning. See [2023-10-24T18:31:01.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:31:01.985Z] [2023-10-24T18:31:01.985Z] Login Succeeded [2023-10-24T18:31:01.985Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:31:01.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:31:01.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:31:01.985Z] Configure a credential helper to remove this warning. See [2023-10-24T18:31:01.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:31:01.985Z] [2023-10-24T18:31:01.985Z] Login Succeeded [2023-10-24T18:31:02.247Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:31:02.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:31:02.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:31:02.247Z] Configure a credential helper to remove this warning. See [2023-10-24T18:31:02.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:31:02.247Z] [2023-10-24T18:31:02.247Z] Login Succeeded [2023-10-24T18:31:02.247Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:31:02.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:31:02.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:31:02.247Z] Configure a credential helper to remove this warning. See [2023-10-24T18:31:02.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:31:02.247Z] [2023-10-24T18:31:02.247Z] Login Succeeded [2023-10-24T18:31:02.247Z] docker.io [2023-10-24T18:31:02.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:31:02.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:31:02.765Z] Configure a credential helper to remove this warning. See [2023-10-24T18:31:02.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:31:02.765Z] [2023-10-24T18:31:02.765Z] Login Succeeded [2023-10-24T18:31:02.765Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:31:02.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:31:02.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:31:02.837Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-10-24T18:31:02.837Z] 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [2023-10-24T18:31:02.837Z] latest [2023-10-24T18:31:02.837Z] 3.1.0-dev.25 [2023-10-24T18:31:02.837Z] 4bca90f1dcf7f6a68b4f435e584e4fdab171b977-3.1.0-dev.25 [2023-10-24T18:31:02.837Z] main [2023-10-24T18:31:02.837Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:03.156Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:03.470Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [2023-10-24T18:31:03.470Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-24T18:31:03.470Z] 9e00fe4bc78f: Preparing [2023-10-24T18:31:03.470Z] f1d948667975: Preparing [2023-10-24T18:31:03.470Z] 67d37c5d0457: Preparing [2023-10-24T18:31:03.470Z] 906b88c991e1: Preparing [2023-10-24T18:31:03.470Z] cc2447e1835a: Preparing [2023-10-24T18:31:03.470Z] cc2447e1835a: Layer already exists [2023-10-24T18:31:03.470Z] 67d37c5d0457: Pushed [2023-10-24T18:31:03.470Z] f1d948667975: Pushed [2023-10-24T18:31:03.470Z] 906b88c991e1: Pushed [2023-10-24T18:31:06.751Z] 9e00fe4bc78f: Pushed [2023-10-24T18:31:06.751Z] 4bca90f1dcf7f6a68b4f435e584e4fdab171b977: digest: sha256:90ef9c131e256e4684ebf0dd754f86af1a72c132361acd4b4f2135c5a0636d65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:07.083Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:07.398Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-10-24T18:31:07.398Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-24T18:31:07.398Z] 9e00fe4bc78f: Preparing [2023-10-24T18:31:07.398Z] f1d948667975: Preparing [2023-10-24T18:31:07.398Z] 67d37c5d0457: Preparing [2023-10-24T18:31:07.398Z] 906b88c991e1: Preparing [2023-10-24T18:31:07.398Z] cc2447e1835a: Preparing [2023-10-24T18:31:07.398Z] 67d37c5d0457: Layer already exists [2023-10-24T18:31:07.398Z] 906b88c991e1: Layer already exists [2023-10-24T18:31:07.398Z] cc2447e1835a: Layer already exists [2023-10-24T18:31:07.398Z] 9e00fe4bc78f: Layer already exists [2023-10-24T18:31:07.398Z] f1d948667975: Layer already exists [2023-10-24T18:31:07.398Z] latest: digest: sha256:90ef9c131e256e4684ebf0dd754f86af1a72c132361acd4b4f2135c5a0636d65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:07.719Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:08.022Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.25 [2023-10-24T18:31:08.022Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-24T18:31:08.022Z] 9e00fe4bc78f: Preparing [2023-10-24T18:31:08.022Z] f1d948667975: Preparing [2023-10-24T18:31:08.022Z] 67d37c5d0457: Preparing [2023-10-24T18:31:08.022Z] 906b88c991e1: Preparing [2023-10-24T18:31:08.022Z] cc2447e1835a: Preparing [2023-10-24T18:31:08.022Z] 906b88c991e1: Layer already exists [2023-10-24T18:31:08.022Z] f1d948667975: Layer already exists [2023-10-24T18:31:08.022Z] cc2447e1835a: Layer already exists [2023-10-24T18:31:08.023Z] 9e00fe4bc78f: Layer already exists [2023-10-24T18:31:08.023Z] 67d37c5d0457: Layer already exists [2023-10-24T18:31:08.023Z] 3.1.0-dev.25: digest: sha256:90ef9c131e256e4684ebf0dd754f86af1a72c132361acd4b4f2135c5a0636d65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:08.336Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4bca90f1dcf7f6a68b4f435e584e4fdab171b977-3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:08.640Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:4bca90f1dcf7f6a68b4f435e584e4fdab171b977-3.1.0-dev.25 [2023-10-24T18:31:08.640Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-24T18:31:08.640Z] 9e00fe4bc78f: Preparing [2023-10-24T18:31:08.640Z] f1d948667975: Preparing [2023-10-24T18:31:08.640Z] 67d37c5d0457: Preparing [2023-10-24T18:31:08.640Z] 906b88c991e1: Preparing [2023-10-24T18:31:08.640Z] cc2447e1835a: Preparing [2023-10-24T18:31:08.640Z] f1d948667975: Layer already exists [2023-10-24T18:31:08.640Z] 67d37c5d0457: Layer already exists [2023-10-24T18:31:08.640Z] 9e00fe4bc78f: Layer already exists [2023-10-24T18:31:08.640Z] 906b88c991e1: Layer already exists [2023-10-24T18:31:08.640Z] cc2447e1835a: Layer already exists [2023-10-24T18:31:08.640Z] 4bca90f1dcf7f6a68b4f435e584e4fdab171b977-3.1.0-dev.25: digest: sha256:90ef9c131e256e4684ebf0dd754f86af1a72c132361acd4b4f2135c5a0636d65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:08.953Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:09.269Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-10-24T18:31:09.269Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-24T18:31:09.269Z] 9e00fe4bc78f: Preparing [2023-10-24T18:31:09.269Z] f1d948667975: Preparing [2023-10-24T18:31:09.270Z] 67d37c5d0457: Preparing [2023-10-24T18:31:09.270Z] 906b88c991e1: Preparing [2023-10-24T18:31:09.270Z] cc2447e1835a: Preparing [2023-10-24T18:31:09.270Z] 67d37c5d0457: Layer already exists [2023-10-24T18:31:09.270Z] 9e00fe4bc78f: Layer already exists [2023-10-24T18:31:09.270Z] f1d948667975: Layer already exists [2023-10-24T18:31:09.270Z] cc2447e1835a: Layer already exists [2023-10-24T18:31:09.270Z] 906b88c991e1: Layer already exists [2023-10-24T18:31:09.270Z] main: digest: sha256:90ef9c131e256e4684ebf0dd754f86af1a72c132361acd4b4f2135c5a0636d65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:31:09.305Z] ===================================================== [Pipeline] echo [2023-10-24T18:31:09.314Z] taggedImages: [2023-10-24T18:31:09.314Z] - nexus3.edgexfoundry.org:10004/device-virtual:4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [2023-10-24T18:31:09.314Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-10-24T18:31:09.314Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.25 [2023-10-24T18:31:09.314Z] - nexus3.edgexfoundry.org:10004/device-virtual:4bca90f1dcf7f6a68b4f435e584e4fdab171b977-3.1.0-dev.25 [2023-10-24T18:31:09.314Z] - 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-10-24T18:31:09.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:31:09.670Z] [2023-10-24T18:31:09.670Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:09.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:31:09.973Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T18:31:09.973Z] 5eb5b503b376: Pulling fs layer [2023-10-24T18:31:09.973Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T18:31:09.973Z] ec43610c2a17: Pulling fs layer [2023-10-24T18:31:09.973Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T18:31:09.973Z] 33b1e0a273af: Pulling fs layer [2023-10-24T18:31:09.973Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T18:31:09.973Z] 2f39f015ded8: Pulling fs layer [2023-10-24T18:31:09.973Z] 5d3b04190fa2: Waiting [2023-10-24T18:31:09.973Z] 2f39f015ded8: Waiting [2023-10-24T18:31:09.973Z] 3a2ae6a8a46f: Waiting [2023-10-24T18:31:09.973Z] 5c69ac0246d0: Download complete [2023-10-24T18:31:09.973Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T18:31:09.973Z] 3a2ae6a8a46f: Download complete [2023-10-24T18:31:09.973Z] 33b1e0a273af: Verifying Checksum [2023-10-24T18:31:09.973Z] 33b1e0a273af: Download complete [2023-10-24T18:31:09.973Z] ec43610c2a17: Verifying Checksum [2023-10-24T18:31:09.973Z] ec43610c2a17: Download complete [2023-10-24T18:31:09.973Z] 5d3b04190fa2: Download complete [2023-10-24T18:31:10.232Z] 5eb5b503b376: Verifying Checksum [2023-10-24T18:31:10.232Z] 5eb5b503b376: Download complete [2023-10-24T18:31:10.800Z] 2f39f015ded8: Verifying Checksum [2023-10-24T18:31:10.800Z] 2f39f015ded8: Download complete [2023-10-24T18:31:11.370Z] 5eb5b503b376: Pull complete [2023-10-24T18:31:11.627Z] 5c69ac0246d0: Pull complete [2023-10-24T18:31:11.884Z] ec43610c2a17: Pull complete [2023-10-24T18:31:12.144Z] 3a2ae6a8a46f: Pull complete [2023-10-24T18:31:12.402Z] 33b1e0a273af: Pull complete [2023-10-24T18:31:12.402Z] 5d3b04190fa2: Pull complete [2023-10-24T18:31:16.597Z] 2f39f015ded8: Pull complete [2023-10-24T18:31:16.598Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T18:31:16.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:31:16.598Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:31:16.673Z] prd-ubuntu20.04-docker-8c-8g-10138 does not seem to be running inside a container [2023-10-24T18:31:16.707Z] $ 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-10-24T18:31:19.849Z] $ docker top 5d227fc3d59478856b2a0bfdcb8417e2f666f0d2c8da2fcd489a9e2937b775c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:31:20.224Z] ---> job-cost.sh [2023-10-24T18:31:20.224Z] lf-activate-venv: SKIPPING [2023-10-24T18:31:20.224Z] INFO: No Stack... [2023-10-24T18:31:20.484Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T18:31:21.052Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T18:31:21.348Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-10-24T18:31:21.348Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T18:31:21.359Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-151-stack-cost] [2023-10-24T18:31:21.367Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-151-stack-cost] did not exist. Created. [2023-10-24T18:31:21.367Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:31:21.668Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T18:31:21.695Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T18:31:21.702Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-151-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T18:31:21.721Z] $ docker stop --time=1 5d227fc3d59478856b2a0bfdcb8417e2f666f0d2c8da2fcd489a9e2937b775c9 [2023-10-24T18:31:22.879Z] $ docker rm -f --volumes 5d227fc3d59478856b2a0bfdcb8417e2f666f0d2c8da2fcd489a9e2937b775c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T18:38:02.753Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10239 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-10-24T18:38:02.768Z] Running in /w/workspace/device-virtual-go/151 [Pipeline] { [Pipeline] checkout [2023-10-24T18:38:02.808Z] The recommended git tool is: git [2023-10-24T18:38:10.755Z] using credential edgex-jenkins-ssh [2023-10-24T18:38:10.778Z] Cloning the remote Git repository [2023-10-24T18:38:10.874Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-10-24T18:38:11.030Z] > git init /w/workspace/device-virtual-go/151 # timeout=10 [2023-10-24T18:38:11.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-10-24T18:38:11.265Z] > git --version # timeout=10 [2023-10-24T18:38:11.292Z] > git --version # 'git version 2.25.1' [2023-10-24T18:38:11.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T18:38:11.530Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T18:38:14.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-10-24T18:38:14.242Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T18:38:15.591Z] Avoid second fetch [2023-10-24T18:38:15.592Z] Checking out Revision 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 (main) [2023-10-24T18:38:15.625Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T18:38:15.727Z] > git checkout -f 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 # timeout=10 [2023-10-24T18:38:16.445Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#441)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:38:17.469Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T18:38:17.470Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T18:38:17.470Z] Dload Upload Total Spent Left Speed [2023-10-24T18:38:17.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 150k 0 --:--:-- --:--:-- --:--:-- 151k [Pipeline] sh [2023-10-24T18:38:18.210Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T18:38:18.580Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T18:38:18.580Z] + sudo tee /etc/docker/daemon.new [2023-10-24T18:38:18.580Z] { [2023-10-24T18:38:18.580Z] "registry-mirrors": [ [2023-10-24T18:38:18.580Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T18:38:18.580Z] ], [2023-10-24T18:38:18.580Z] "bip": "10.250.0.254/24", [2023-10-24T18:38:18.580Z] "hosts": [ [2023-10-24T18:38:18.580Z] "tcp://0.0.0.0:5555", [2023-10-24T18:38:18.580Z] "unix:///var/run/docker.sock" [2023-10-24T18:38:18.580Z] ], [2023-10-24T18:38:18.580Z] "mtu": 1458, [2023-10-24T18:38:18.580Z] "selinux-enabled": true, [2023-10-24T18:38:18.580Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T18:38:18.580Z] } [Pipeline] sh [2023-10-24T18:38:18.927Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T18:38:19.295Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:38:37.639Z] provisioning config files... [2023-10-24T18:38:37.670Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/151@tmp/config1672020561725021490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:38:38.059Z] ---> docker-login.sh [2023-10-24T18:38:38.059Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:38:38.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:38:38.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:38:38.661Z] Configure a credential helper to remove this warning. See [2023-10-24T18:38:38.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:38:38.661Z] [2023-10-24T18:38:38.661Z] Login Succeeded [2023-10-24T18:38:38.661Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:38:38.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:38:39.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:38:39.207Z] Configure a credential helper to remove this warning. See [2023-10-24T18:38:39.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:38:39.207Z] [2023-10-24T18:38:39.207Z] Login Succeeded [2023-10-24T18:38:39.207Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:38:39.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:38:39.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:38:39.489Z] Configure a credential helper to remove this warning. See [2023-10-24T18:38:39.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:38:39.489Z] [2023-10-24T18:38:39.489Z] Login Succeeded [2023-10-24T18:38:39.489Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:38:39.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:38:40.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:38:40.032Z] Configure a credential helper to remove this warning. See [2023-10-24T18:38:40.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:38:40.032Z] [2023-10-24T18:38:40.032Z] Login Succeeded [2023-10-24T18:38:40.032Z] docker.io [2023-10-24T18:38:40.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:38:40.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:38:40.576Z] Configure a credential helper to remove this warning. See [2023-10-24T18:38:40.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:38:40.576Z] [2023-10-24T18:38:40.576Z] Login Succeeded [2023-10-24T18:38:40.576Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:38:40.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T18:38:40.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:38:40.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:38:40.929Z] ========================================================= [2023-10-24T18:38:40.930Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T18:38:40.930Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:38:41.277Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T18:38:41.868Z] Sending build context to Docker daemon 11.96MB [2023-10-24T18:38:41.868Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:38:41.868Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T18:38:42.142Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T18:38:42.142Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T18:38:42.142Z] 5d54e960e981: Pulling fs layer [2023-10-24T18:38:42.142Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T18:38:42.142Z] f0e02332f6b5: Pulling fs layer [2023-10-24T18:38:42.142Z] cefa15bbcfad: Pulling fs layer [2023-10-24T18:38:42.142Z] 17808c966233: Pulling fs layer [2023-10-24T18:38:42.142Z] f4c1fc716caa: Pulling fs layer [2023-10-24T18:38:42.142Z] cefa15bbcfad: Waiting [2023-10-24T18:38:42.142Z] 17808c966233: Waiting [2023-10-24T18:38:42.142Z] f0e02332f6b5: Waiting [2023-10-24T18:38:42.142Z] f4c1fc716caa: Waiting [2023-10-24T18:38:42.142Z] 5d54e960e981: Verifying Checksum [2023-10-24T18:38:42.142Z] 5d54e960e981: Download complete [2023-10-24T18:38:42.142Z] f0e02332f6b5: Verifying Checksum [2023-10-24T18:38:42.142Z] f0e02332f6b5: Download complete [2023-10-24T18:38:42.142Z] cefa15bbcfad: Verifying Checksum [2023-10-24T18:38:42.142Z] cefa15bbcfad: Download complete [2023-10-24T18:38:42.142Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T18:38:42.142Z] 9fda8d8052c6: Download complete [2023-10-24T18:38:42.748Z] f4c1fc716caa: Verifying Checksum [2023-10-24T18:38:42.748Z] f4c1fc716caa: Download complete [2023-10-24T18:38:43.358Z] 9fda8d8052c6: Pull complete [2023-10-24T18:38:43.956Z] 5d54e960e981: Pull complete [2023-10-24T18:38:44.235Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T18:38:44.235Z] c4a7e357bf2a: Download complete [2023-10-24T18:38:45.682Z] 17808c966233: Verifying Checksum [2023-10-24T18:38:45.682Z] 17808c966233: Download complete [2023-10-24T18:38:58.029Z] c4a7e357bf2a: Pull complete [2023-10-24T18:38:58.702Z] f0e02332f6b5: Pull complete [2023-10-24T18:38:58.702Z] cefa15bbcfad: Pull complete [2023-10-24T18:39:11.041Z] 17808c966233: Pull complete [2023-10-24T18:39:11.627Z] f4c1fc716caa: Pull complete [2023-10-24T18:39:11.627Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T18:39:11.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T18:39:11.627Z] ---> ea914061e18c [2023-10-24T18:39:11.627Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T18:39:13.056Z] ---> Running in 81c9a2ef2cb6 [2023-10-24T18:39:13.648Z] Removing intermediate container 81c9a2ef2cb6 [2023-10-24T18:39:13.648Z] ---> ad7e87cee6f2 [2023-10-24T18:39:13.648Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:39:13.935Z] ---> Running in 047d980738f1 [2023-10-24T18:39:14.211Z] Removing intermediate container 047d980738f1 [2023-10-24T18:39:14.211Z] ---> c52690ce08d8 [2023-10-24T18:39:14.211Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:39:14.482Z] ---> Running in 11733ffdcaf9 [2023-10-24T18:39:14.752Z] Removing intermediate container 11733ffdcaf9 [2023-10-24T18:39:14.752Z] ---> 38deb8a86cd7 [2023-10-24T18:39:14.752Z] Step 6/12 : WORKDIR /device-virtual-go [2023-10-24T18:39:15.029Z] ---> Running in b182d1e6f666 [2023-10-24T18:39:15.887Z] Removing intermediate container b182d1e6f666 [2023-10-24T18:39:15.887Z] ---> db033c2bb7e4 [2023-10-24T18:39:15.887Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:39:15.887Z] ---> Running in 08348fffeccb [2023-10-24T18:39:16.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:39:17.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:39:18.579Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T18:39:18.579Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T18:39:18.579Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T18:39:18.579Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T18:39:18.579Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:39:18.579Z] OK: 270 MiB in 56 packages [2023-10-24T18:39:20.009Z] Removing intermediate container 08348fffeccb [2023-10-24T18:39:20.009Z] ---> 482fc3f9faa8 [2023-10-24T18:39:20.009Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-24T18:39:20.605Z] ---> 745cac6f5ee8 [2023-10-24T18:39:20.605Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:39:20.605Z] ---> Running in 32f476538691 [2023-10-24T18:40:57.307Z] Removing intermediate container 32f476538691 [2023-10-24T18:40:57.307Z] ---> 6bd7ea4233b2 [2023-10-24T18:40:57.307Z] Step 10/12 : COPY . . [2023-10-24T18:40:57.307Z] ---> 8fa8e6934a72 [2023-10-24T18:40:57.307Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:40:57.307Z] ---> Running in a4c9eee9b46a [2023-10-24T18:40:57.307Z] Removing intermediate container a4c9eee9b46a [2023-10-24T18:40:57.307Z] ---> 538860394884 [2023-10-24T18:40:57.307Z] Step 12/12 : RUN $MAKE [2023-10-24T18:40:57.307Z] ---> Running in 62af9cb6d6a1 [2023-10-24T18:40:57.578Z] noop [2023-10-24T18:40:58.164Z] Removing intermediate container 62af9cb6d6a1 [2023-10-24T18:40:58.164Z] ---> e4e53a5a2061 [2023-10-24T18:40:58.434Z] Successfully built e4e53a5a2061 [2023-10-24T18:40:58.434Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:40:58.790Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T18:40:58.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:40:59.040Z] prd-ubuntu20.04-docker-arm64-4c-16g-10239 does not seem to be running inside a container [2023-10-24T18:40:59.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/151 -v /w/workspace/device-virtual-go/151:/w/workspace/device-virtual-go/151:rw,z -v /w/workspace/device-virtual-go/151@tmp:/w/workspace/device-virtual-go/151@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-10-24T18:41:00.532Z] $ docker top 6c7c0586a9c34bb69baa0e1032e445f765497146856309fbcaa2fc4a0bd7520c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:41:01.430Z] + go version [2023-10-24T18:41:01.430Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T18:41:01.450Z] $ docker stop --time=1 6c7c0586a9c34bb69baa0e1032e445f765497146856309fbcaa2fc4a0bd7520c [2023-10-24T18:41:03.164Z] $ docker rm -f --volumes 6c7c0586a9c34bb69baa0e1032e445f765497146856309fbcaa2fc4a0bd7520c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:41:03.750Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T18:41:03.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:41:03.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-10239 does not seem to be running inside a container [2023-10-24T18:41:04.033Z] $ 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/151 -v /w/workspace/device-virtual-go/151:/w/workspace/device-virtual-go/151:rw,z -v /w/workspace/device-virtual-go/151@tmp:/w/workspace/device-virtual-go/151@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-10-24T18:41:05.311Z] $ docker top 2134ef8494ef1577e3360cc8cde32c56854fa96dca3eca91e75fbb085fa3ab24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:41:06.188Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/151 [Pipeline] fileExists [Pipeline] sh [2023-10-24T18:41:06.838Z] + make test [2023-10-24T18:41:06.838Z] go test ./... -coverprofile=coverage.out [2023-10-24T18:41:12.198Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-10-24T18:43:18.950Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-10-24T18:43:18.950Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.089s coverage: 58.4% of statements [2023-10-24T18:43:18.950Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T18:43:18.950Z] go vet ./... [2023-10-24T18:43:45.673Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T18:43:45.673Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T18:43:45.673Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T18:43:45.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T18:43:45.707Z] $ docker stop --time=1 2134ef8494ef1577e3360cc8cde32c56854fa96dca3eca91e75fbb085fa3ab24 [2023-10-24T18:43:47.679Z] $ docker rm -f --volumes 2134ef8494ef1577e3360cc8cde32c56854fa96dca3eca91e75fbb085fa3ab24 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:43:48.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T18:43:48.975Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T18:43:49.554Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:43:49.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T18:43:50.278Z] + ls -al . [2023-10-24T18:43:50.278Z] total 196 [2023-10-24T18:43:50.278Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 18:41 . [2023-10-24T18:43:50.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:38 .. [2023-10-24T18:43:50.278Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:38 .git [2023-10-24T18:43:50.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:38 .github [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 24 18:38 .gitignore [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:38 .golangci.yml [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 9708 Oct 24 18:38 Attribution.txt [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 14372 Oct 24 18:38 CHANGELOG.md [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 1646 Oct 24 18:38 Dockerfile [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:38 GOVERNANCE.md [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 18:38 Jenkinsfile [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:38 LICENSE [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 1947 Oct 24 18:38 Makefile [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 18:38 OWNERS.md [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 24 18:38 README.md [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:29 VERSION [2023-10-24T18:43:50.278Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:38 bin [2023-10-24T18:43:50.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:38 cmd [2023-10-24T18:43:50.278Z] -rw-r--r-- 1 jenkins jenkins 43063 Oct 24 18:43 coverage.out [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 3638 Oct 24 18:38 go.mod [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 34490 Oct 24 18:38 go.sum [2023-10-24T18:43:50.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:38 internal [2023-10-24T18:43:50.278Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 18:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:43:50.651Z] + 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=4bca90f1dcf7f6a68b4f435e584e4fdab171b977 --label arch=arm64 --label version=3.1.0-dev.25 . [2023-10-24T18:43:51.238Z] Sending build context to Docker daemon 12.01MB [2023-10-24T18:43:51.238Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:43:51.238Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T18:43:51.238Z] ---> e4e53a5a2061 [2023-10-24T18:43:51.238Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T18:43:51.238Z] ---> Running in f0dfacc3f9e3 [2023-10-24T18:43:51.513Z] Removing intermediate container f0dfacc3f9e3 [2023-10-24T18:43:51.513Z] ---> 0299b927b431 [2023-10-24T18:43:51.513Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:43:51.785Z] ---> Running in dff83bb11f20 [2023-10-24T18:43:52.055Z] Removing intermediate container dff83bb11f20 [2023-10-24T18:43:52.055Z] ---> 81317025c280 [2023-10-24T18:43:52.055Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:43:52.055Z] ---> Running in d155277363b6 [2023-10-24T18:43:52.640Z] Removing intermediate container d155277363b6 [2023-10-24T18:43:52.640Z] ---> f128ca9cc3f7 [2023-10-24T18:43:52.640Z] Step 6/25 : WORKDIR /device-virtual-go [2023-10-24T18:43:52.640Z] ---> Running in b65108f8d238 [2023-10-24T18:43:52.921Z] Removing intermediate container b65108f8d238 [2023-10-24T18:43:52.921Z] ---> 7815aa4ae0fd [2023-10-24T18:43:52.921Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:43:53.188Z] ---> Running in b87f31bc0b29 [2023-10-24T18:43:54.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:43:54.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:43:55.845Z] OK: 270 MiB in 56 packages [2023-10-24T18:43:58.440Z] Removing intermediate container b87f31bc0b29 [2023-10-24T18:43:58.440Z] ---> 76d46ea5003e [2023-10-24T18:43:58.440Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-24T18:43:59.032Z] ---> dd668858dba3 [2023-10-24T18:43:59.032Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:43:59.032Z] ---> Running in 42c1dcd347ac [2023-10-24T18:44:02.390Z] Removing intermediate container 42c1dcd347ac [2023-10-24T18:44:02.390Z] ---> 30a9dd82c5aa [2023-10-24T18:44:02.390Z] Step 10/25 : COPY . . [2023-10-24T18:44:02.980Z] ---> 300626436d8b [2023-10-24T18:44:02.980Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:44:03.256Z] ---> Running in 0bcd3f86a36a [2023-10-24T18:44:03.525Z] Removing intermediate container 0bcd3f86a36a [2023-10-24T18:44:03.525Z] ---> 7922eedf16ad [2023-10-24T18:44:03.525Z] Step 12/25 : RUN $MAKE [2023-10-24T18:44:03.795Z] ---> Running in 8c7f35d7a737 [2023-10-24T18:44:04.764Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-10-24T18:46:15.605Z] Removing intermediate container 8c7f35d7a737 [2023-10-24T18:46:15.605Z] ---> 80cdb3e4de62 [2023-10-24T18:46:15.605Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T18:46:15.605Z] 3.18: Pulling from library/alpine [2023-10-24T18:46:15.605Z] 579b34f0a95b: Pulling fs layer [2023-10-24T18:46:15.605Z] 579b34f0a95b: Verifying Checksum [2023-10-24T18:46:15.605Z] 579b34f0a95b: Download complete [2023-10-24T18:46:15.605Z] 579b34f0a95b: Pull complete [2023-10-24T18:46:16.214Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T18:46:16.214Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T18:46:16.214Z] ---> 3cc203321400 [2023-10-24T18:46:16.214Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-10-24T18:46:16.491Z] ---> Running in 84f19abe7f32 [2023-10-24T18:46:16.769Z] Removing intermediate container 84f19abe7f32 [2023-10-24T18:46:16.769Z] ---> 81a3a53c8da7 [2023-10-24T18:46:16.769Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T18:46:16.769Z] ---> Running in df4c60e783c7 [2023-10-24T18:46:18.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:46:18.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:46:20.194Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T18:46:20.194Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:46:20.194Z] OK: 8 MiB in 16 packages [2023-10-24T18:46:21.611Z] Removing intermediate container df4c60e783c7 [2023-10-24T18:46:21.611Z] ---> 5b5fc68ed01d [2023-10-24T18:46:21.611Z] Step 16/25 : WORKDIR / [2023-10-24T18:46:21.611Z] ---> Running in 3b13c424f2bb [2023-10-24T18:46:21.880Z] Removing intermediate container 3b13c424f2bb [2023-10-24T18:46:21.880Z] ---> 005e7313e1a4 [2023-10-24T18:46:21.880Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-10-24T18:46:22.849Z] ---> 30c40a5f7554 [2023-10-24T18:46:22.849Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-10-24T18:46:23.122Z] ---> 01261e9c0a3d [2023-10-24T18:46:23.122Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-10-24T18:46:25.084Z] ---> 1d448f3d5f9b [2023-10-24T18:46:25.084Z] Step 20/25 : EXPOSE 59900 [2023-10-24T18:46:25.084Z] ---> Running in fd1e4141518d [2023-10-24T18:46:25.353Z] Removing intermediate container fd1e4141518d [2023-10-24T18:46:25.353Z] ---> 8216191ccb10 [2023-10-24T18:46:25.353Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-10-24T18:46:25.626Z] ---> Running in eb2a4e8a9020 [2023-10-24T18:46:25.901Z] Removing intermediate container eb2a4e8a9020 [2023-10-24T18:46:25.901Z] ---> 53de62f661da [2023-10-24T18:46:25.901Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T18:46:26.173Z] ---> Running in 89b3e3784342 [2023-10-24T18:46:26.449Z] Removing intermediate container 89b3e3784342 [2023-10-24T18:46:26.449Z] ---> 22b610e0d505 [2023-10-24T18:46:26.449Z] Step 23/25 : LABEL arch=arm64 [2023-10-24T18:46:26.719Z] ---> Running in 300da7e3af75 [2023-10-24T18:46:26.989Z] Removing intermediate container 300da7e3af75 [2023-10-24T18:46:26.989Z] ---> 6e7d34b7fa05 [2023-10-24T18:46:26.989Z] Step 24/25 : LABEL git_sha=4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [2023-10-24T18:46:26.989Z] ---> Running in 435674b0f1e1 [2023-10-24T18:46:27.585Z] Removing intermediate container 435674b0f1e1 [2023-10-24T18:46:27.585Z] ---> cc1c41a64719 [2023-10-24T18:46:27.585Z] Step 25/25 : LABEL version=3.1.0-dev.25 [2023-10-24T18:46:27.585Z] ---> Running in 98359f633eca [2023-10-24T18:46:27.859Z] Removing intermediate container 98359f633eca [2023-10-24T18:46:27.859Z] ---> a6a35d19117b [2023-10-24T18:46:27.859Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T18:46:28.129Z] Successfully built a6a35d19117b [2023-10-24T18:46:28.129Z] 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-10-24T18:46:28.262Z] provisioning config files... [2023-10-24T18:46:28.277Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/151@tmp/config8687715909916910301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:46:28.716Z] ---> docker-login.sh [2023-10-24T18:46:28.716Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:46:29.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:46:29.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:46:29.001Z] Configure a credential helper to remove this warning. See [2023-10-24T18:46:29.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:46:29.001Z] [2023-10-24T18:46:29.001Z] Login Succeeded [2023-10-24T18:46:29.001Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:46:29.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:46:29.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:46:29.602Z] Configure a credential helper to remove this warning. See [2023-10-24T18:46:29.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:46:29.602Z] [2023-10-24T18:46:29.602Z] Login Succeeded [2023-10-24T18:46:29.602Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:46:30.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:46:30.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:46:30.214Z] Configure a credential helper to remove this warning. See [2023-10-24T18:46:30.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:46:30.214Z] [2023-10-24T18:46:30.214Z] Login Succeeded [2023-10-24T18:46:30.214Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:46:30.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:46:30.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:46:30.492Z] Configure a credential helper to remove this warning. See [2023-10-24T18:46:30.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:46:30.492Z] [2023-10-24T18:46:30.492Z] Login Succeeded [2023-10-24T18:46:30.762Z] docker.io [2023-10-24T18:46:31.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:46:31.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:46:31.390Z] Configure a credential helper to remove this warning. See [2023-10-24T18:46:31.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:46:31.390Z] [2023-10-24T18:46:31.390Z] Login Succeeded [2023-10-24T18:46:31.390Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:46:31.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:46:31.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:46:31.484Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-10-24T18:46:31.484Z] 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [2023-10-24T18:46:31.484Z] latest [2023-10-24T18:46:31.484Z] 3.1.0-dev.25 [2023-10-24T18:46:31.484Z] 4bca90f1dcf7f6a68b4f435e584e4fdab171b977-3.1.0-dev.25 [2023-10-24T18:46:31.484Z] main [2023-10-24T18:46:31.484Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:31.846Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:32.205Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [2023-10-24T18:46:32.205Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-24T18:46:32.205Z] a6ab8acbdfd5: Preparing [2023-10-24T18:46:32.205Z] 68b9cf7aa3d8: Preparing [2023-10-24T18:46:32.205Z] deb937c243fa: Preparing [2023-10-24T18:46:32.205Z] 0a95ec0ae3c5: Preparing [2023-10-24T18:46:32.205Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:46:32.205Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:46:32.473Z] 68b9cf7aa3d8: Pushed [2023-10-24T18:46:32.473Z] deb937c243fa: Pushed [2023-10-24T18:46:32.473Z] 0a95ec0ae3c5: Pushed [2023-10-24T18:46:39.144Z] a6ab8acbdfd5: Pushed [2023-10-24T18:46:39.144Z] 4bca90f1dcf7f6a68b4f435e584e4fdab171b977: digest: sha256:0791fe0c21a8e98abbcd56494c1d5930505bc92a293a194c85e22786e2712c25 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:39.515Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:39.876Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-10-24T18:46:39.876Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-24T18:46:39.876Z] a6ab8acbdfd5: Preparing [2023-10-24T18:46:39.876Z] 68b9cf7aa3d8: Preparing [2023-10-24T18:46:39.876Z] deb937c243fa: Preparing [2023-10-24T18:46:39.876Z] 0a95ec0ae3c5: Preparing [2023-10-24T18:46:39.876Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:46:39.876Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:46:39.876Z] deb937c243fa: Layer already exists [2023-10-24T18:46:39.876Z] 0a95ec0ae3c5: Layer already exists [2023-10-24T18:46:39.876Z] 68b9cf7aa3d8: Layer already exists [2023-10-24T18:46:39.876Z] a6ab8acbdfd5: Layer already exists [2023-10-24T18:46:40.146Z] latest: digest: sha256:0791fe0c21a8e98abbcd56494c1d5930505bc92a293a194c85e22786e2712c25 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:40.494Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:45.113Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.25 [2023-10-24T18:46:45.113Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-24T18:46:45.113Z] a6ab8acbdfd5: Preparing [2023-10-24T18:46:45.113Z] 68b9cf7aa3d8: Preparing [2023-10-24T18:46:45.113Z] deb937c243fa: Preparing [2023-10-24T18:46:45.113Z] 0a95ec0ae3c5: Preparing [2023-10-24T18:46:45.113Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:46:45.113Z] 0a95ec0ae3c5: Layer already exists [2023-10-24T18:46:45.113Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:46:45.113Z] a6ab8acbdfd5: Layer already exists [2023-10-24T18:46:45.113Z] 68b9cf7aa3d8: Layer already exists [2023-10-24T18:46:45.113Z] deb937c243fa: Layer already exists [2023-10-24T18:46:45.113Z] 3.1.0-dev.25: digest: sha256:0791fe0c21a8e98abbcd56494c1d5930505bc92a293a194c85e22786e2712c25 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:45.465Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4bca90f1dcf7f6a68b4f435e584e4fdab171b977-3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:45.812Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4bca90f1dcf7f6a68b4f435e584e4fdab171b977-3.1.0-dev.25 [2023-10-24T18:46:45.813Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-24T18:46:45.813Z] a6ab8acbdfd5: Preparing [2023-10-24T18:46:45.813Z] 68b9cf7aa3d8: Preparing [2023-10-24T18:46:45.813Z] deb937c243fa: Preparing [2023-10-24T18:46:45.813Z] 0a95ec0ae3c5: Preparing [2023-10-24T18:46:45.813Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:46:45.813Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:46:45.813Z] 68b9cf7aa3d8: Layer already exists [2023-10-24T18:46:45.813Z] 0a95ec0ae3c5: Layer already exists [2023-10-24T18:46:45.813Z] a6ab8acbdfd5: Layer already exists [2023-10-24T18:46:45.813Z] deb937c243fa: Layer already exists [2023-10-24T18:46:45.813Z] 4bca90f1dcf7f6a68b4f435e584e4fdab171b977-3.1.0-dev.25: digest: sha256:0791fe0c21a8e98abbcd56494c1d5930505bc92a293a194c85e22786e2712c25 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:46.441Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:46.799Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-10-24T18:46:46.800Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-24T18:46:46.800Z] a6ab8acbdfd5: Preparing [2023-10-24T18:46:46.800Z] 68b9cf7aa3d8: Preparing [2023-10-24T18:46:46.800Z] deb937c243fa: Preparing [2023-10-24T18:46:46.800Z] 0a95ec0ae3c5: Preparing [2023-10-24T18:46:46.800Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:46:46.800Z] 0a95ec0ae3c5: Layer already exists [2023-10-24T18:46:46.800Z] 68b9cf7aa3d8: Layer already exists [2023-10-24T18:46:46.800Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:46:46.800Z] a6ab8acbdfd5: Layer already exists [2023-10-24T18:46:46.800Z] deb937c243fa: Layer already exists [2023-10-24T18:46:47.067Z] main: digest: sha256:0791fe0c21a8e98abbcd56494c1d5930505bc92a293a194c85e22786e2712c25 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:46:47.131Z] ===================================================== [Pipeline] echo [2023-10-24T18:46:47.140Z] taggedImages: [2023-10-24T18:46:47.140Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [2023-10-24T18:46:47.140Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-10-24T18:46:47.140Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.25 [2023-10-24T18:46:47.140Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4bca90f1dcf7f6a68b4f435e584e4fdab171b977-3.1.0-dev.25 [2023-10-24T18:46:47.140Z] - 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-10-24T18:46:47.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:46:47.519Z] [2023-10-24T18:46:47.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:46:47.854Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:46:47.854Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T18:46:47.854Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T18:46:47.854Z] 04944245beec: Pulling fs layer [2023-10-24T18:46:47.854Z] 699f458cf7ca: Pulling fs layer [2023-10-24T18:46:47.854Z] 765212b225bb: Pulling fs layer [2023-10-24T18:46:47.855Z] f23df028b6ca: Pulling fs layer [2023-10-24T18:46:47.855Z] 765212b225bb: Waiting [2023-10-24T18:46:47.855Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T18:46:47.855Z] f23df028b6ca: Waiting [2023-10-24T18:46:47.855Z] d65c8cfc05b1: Waiting [2023-10-24T18:46:47.855Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T18:46:47.855Z] 2437ff75d9bd: Waiting [2023-10-24T18:46:48.129Z] 04944245beec: Verifying Checksum [2023-10-24T18:46:48.129Z] 04944245beec: Download complete [2023-10-24T18:46:48.129Z] 765212b225bb: Download complete [2023-10-24T18:46:48.400Z] f23df028b6ca: Verifying Checksum [2023-10-24T18:46:48.400Z] f23df028b6ca: Download complete [2023-10-24T18:46:48.400Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T18:46:48.400Z] d65c8cfc05b1: Download complete [2023-10-24T18:46:48.400Z] 699f458cf7ca: Verifying Checksum [2023-10-24T18:46:48.400Z] 699f458cf7ca: Download complete [2023-10-24T18:46:48.672Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T18:46:48.672Z] 8998bd30e6a1: Download complete [2023-10-24T18:46:51.278Z] 2437ff75d9bd: Download complete [2023-10-24T18:46:53.893Z] 8998bd30e6a1: Pull complete [2023-10-24T18:46:54.163Z] 04944245beec: Pull complete [2023-10-24T18:46:55.573Z] 699f458cf7ca: Pull complete [2023-10-24T18:46:55.841Z] 765212b225bb: Pull complete [2023-10-24T18:46:56.797Z] f23df028b6ca: Pull complete [2023-10-24T18:46:57.379Z] d65c8cfc05b1: Pull complete [2023-10-24T18:47:15.606Z] 2437ff75d9bd: Pull complete [2023-10-24T18:47:15.606Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T18:47:15.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:47:15.606Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:47:15.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-10239 does not seem to be running inside a container [2023-10-24T18:47:15.896Z] $ 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/151 -v /w/workspace/device-virtual-go/151:/w/workspace/device-virtual-go/151:rw,z -v /w/workspace/device-virtual-go/151@tmp:/w/workspace/device-virtual-go/151@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-10-24T18:47:19.231Z] $ docker top adc29090158897f6cbd41dceea2c5324be445a1d4b58f3fdfb6e88db1bc78b0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:47:20.131Z] ---> job-cost.sh [2023-10-24T18:47:20.131Z] lf-activate-venv: SKIPPING [2023-10-24T18:47:20.131Z] INFO: No Stack... [2023-10-24T18:47:20.716Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T18:47:21.676Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T18:47:22.331Z] + cat /w/workspace/device-virtual-go/151/archives/cost.csv [2023-10-24T18:47:22.331Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T18:47:22.412Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-151-stack-cost] [2023-10-24T18:47:22.417Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-151-stack-cost] did not exist. Created. [2023-10-24T18:47:22.417Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:47:23.089Z] /w/workspace/device-virtual-go/151@tmp/durable-8aa65adb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T18:47:23.761Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T18:47:23.783Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T18:47:23.858Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T18:47:23.868Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-151-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T18:47:23.886Z] $ docker stop --time=1 adc29090158897f6cbd41dceea2c5324be445a1d4b58f3fdfb6e88db1bc78b0a [2023-10-24T18:47:26.726Z] $ docker rm -f --volumes adc29090158897f6cbd41dceea2c5324be445a1d4b58f3fdfb6e88db1bc78b0a [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-10-24T18:47:27.125Z] provisioning config files... [2023-10-24T18:47:27.133Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4301619347261116035tmp [Pipeline] { [Pipeline] sh [2023-10-24T18:47:27.428Z] + set +x [2023-10-24T18:47:27.429Z] + + curl -s https://codecov.io/bash [2023-10-24T18:47:27.429Z] bash -s -- [2023-10-24T18:47:27.429Z] [2023-10-24T18:47:27.429Z] _____ _ [2023-10-24T18:47:27.429Z] / ____| | | [2023-10-24T18:47:27.429Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T18:47:27.429Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T18:47:27.429Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T18:47:27.429Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T18:47:27.429Z] Bash-1.0.6 [2023-10-24T18:47:27.429Z] [2023-10-24T18:47:27.429Z] [2023-10-24T18:47:27.429Z] ==> git version 2.25.1 found [2023-10-24T18:47:27.429Z] ==> 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-10-24T18:47:27.429Z] Release-Date: 2020-01-08 [2023-10-24T18:47:27.429Z] 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-10-24T18:47:27.429Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T18:47:27.429Z] ==> Jenkins CI detected. [2023-10-24T18:47:27.429Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-10-24T18:47:27.429Z] project root: . [2023-10-24T18:47:27.429Z] --> token set from env [2023-10-24T18:47:27.429Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T18:47:27.429Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T18:47:27.429Z] ==> Python coveragepy not found [2023-10-24T18:47:27.429Z] ==> Searching for coverage reports in: [2023-10-24T18:47:27.429Z] + . [2023-10-24T18:47:27.688Z] -> Found 1 reports [2023-10-24T18:47:27.688Z] ==> Detecting git/mercurial file structure [2023-10-24T18:47:27.688Z] ==> Reading reports [2023-10-24T18:47:27.688Z] + ./coverage.out bytes=43063 [2023-10-24T18:47:27.688Z] ==> Appending adjustments [2023-10-24T18:47:27.688Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T18:47:27.688Z] + Found adjustments [2023-10-24T18:47:27.688Z] ==> Gzipping contents [2023-10-24T18:47:27.688Z] 8.0K /tmp/codecov.PxLfQc.gz [2023-10-24T18:47:27.688Z] ==> Uploading reports [2023-10-24T18:47:27.688Z] url: https://codecov.io [2023-10-24T18:47:27.688Z] query: branch=main&commit=4bca90f1dcf7f6a68b4f435e584e4fdab171b977&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T18:47:27.688Z] -> Pinging Codecov [2023-10-24T18:47:27.688Z] 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=4bca90f1dcf7f6a68b4f435e584e4fdab171b977&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T18:47:27.947Z] -> Uploading to [2023-10-24T18:47:27.947Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/5E52B4B073DB2E39498172D8E973AA87/4bca90f1dcf7f6a68b4f435e584e4fdab171b977/2f34cd0b-5cef-44c5-aaff-0edc7d690685.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T184727Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ef1225ae63353dd5cf335634f20142543365b01afea56ebb6b7b9c481e4548e [2023-10-24T18:47:27.947Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T18:47:27.947Z] Dload Upload Total Spent Left Speed [2023-10-24T18:47:28.206Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 19003 --:--:-- --:--:-- --:--:-- 19003 [2023-10-24T18:47:28.206Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [Pipeline] } [2023-10-24T18:47:28.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T18:47:28.331Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T18:47:28.343Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:47:28.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:47:28.647Z] [2023-10-24T18:47:28.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:47:28.942Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:47:28.942Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T18:47:28.942Z] df9b9388f04a: Pulling fs layer [2023-10-24T18:47:28.942Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T18:47:28.942Z] 25bc292e5bac: Pulling fs layer [2023-10-24T18:47:28.942Z] 114826534d7a: Pulling fs layer [2023-10-24T18:47:28.942Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T18:47:28.943Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T18:47:28.943Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T18:47:28.943Z] 6ad1cebc031e: Waiting [2023-10-24T18:47:28.943Z] 4657fd5d0bcf: Waiting [2023-10-24T18:47:28.943Z] 8a3aa393b2d8: Waiting [2023-10-24T18:47:28.943Z] 114826534d7a: Waiting [2023-10-24T18:47:28.943Z] 52dc419b0ee2: Download complete [2023-10-24T18:47:28.943Z] 25bc292e5bac: Download complete [2023-10-24T18:47:28.943Z] 4657fd5d0bcf: Verifying Checksum [2023-10-24T18:47:28.943Z] 4657fd5d0bcf: Download complete [2023-10-24T18:47:28.943Z] df9b9388f04a: Verifying Checksum [2023-10-24T18:47:28.943Z] df9b9388f04a: Download complete [2023-10-24T18:47:29.201Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T18:47:29.201Z] 6ad1cebc031e: Download complete [2023-10-24T18:47:29.201Z] df9b9388f04a: Pull complete [2023-10-24T18:47:29.201Z] 52dc419b0ee2: Pull complete [2023-10-24T18:47:29.201Z] 25bc292e5bac: Pull complete [2023-10-24T18:47:29.774Z] 114826534d7a: Verifying Checksum [2023-10-24T18:47:29.774Z] 114826534d7a: Download complete [2023-10-24T18:47:29.774Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T18:47:29.774Z] 8a3aa393b2d8: Download complete [2023-10-24T18:47:33.049Z] 114826534d7a: Pull complete [2023-10-24T18:47:33.049Z] 4657fd5d0bcf: Pull complete [2023-10-24T18:47:33.049Z] 6ad1cebc031e: Pull complete [2023-10-24T18:47:35.571Z] 8a3aa393b2d8: Pull complete [2023-10-24T18:47:35.571Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T18:47:35.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:47:35.828Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:47:35.902Z] prd-ubuntu20.04-docker-8c-8g-10138 does not seem to be running inside a container [2023-10-24T18:47:35.926Z] $ 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-10-24T18:47:40.780Z] $ docker top 1c17d79965b75e88b9c325b4fb7cf6f2f3750c68d5638eee5db79620703b8666 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T18:47:40.842Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-10-24T18:47:41.116Z] + set -o pipefail [2023-10-24T18:47:41.116Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-10-24T18:47:49.221Z] [2023-10-24T18:47:49.221Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-10-24T18:47:49.221Z] [2023-10-24T18:47:49.221Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/2b172536-3e45-4558-b0c4-0cf2e5bb05a6 [2023-10-24T18:47:49.221Z] [2023-10-24T18:47:49.221Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T18:47:49.221Z] [2023-10-24T18:47:49.478Z] [2023-10-24T18:47:49.478Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T18:47:49.478Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T18:47:49.478Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T18:47:49.487Z] $ docker stop --time=1 1c17d79965b75e88b9c325b4fb7cf6f2f3750c68d5638eee5db79620703b8666 [2023-10-24T18:47:53.347Z] $ docker rm -f --volumes 1c17d79965b75e88b9c325b4fb7cf6f2f3750c68d5638eee5db79620703b8666 [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-10-24T18:47:54.069Z] + git log --format=format:%s -1 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 [Pipeline] sh [2023-10-24T18:47:54.355Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:47:54.355Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:47:54.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:47:54.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:47:54.732Z] prd-ubuntu20.04-docker-8c-8g-10138 does not seem to be running inside a container [2023-10-24T18:47:54.759Z] $ 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-10-24T18:47:55.201Z] $ docker top 4f57b60756d6e9a3df519f7abd94d35b297543c79709a5245560736ff3093ccb -eo pid,comm [2023-10-24T18:47:55.247Z] 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-10-24T18:47:55.247Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:47:55.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:47:55.286Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:47:55.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:47:55.398Z] $ docker exec 4f57b60756d6e9a3df519f7abd94d35b297543c79709a5245560736ff3093ccb ssh-agent [2023-10-24T18:47:55.510Z] SSH_AUTH_SOCK=/tmp/ssh-zNYwcSECfzOQ/agent.31 [2023-10-24T18:47:55.510Z] SSH_AGENT_PID=37 [2023-10-24T18:47:55.513Z] Running ssh-add (command line suppressed) [2023-10-24T18:47:55.610Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9760951233715032512.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9760951233715032512.key) [2023-10-24T18:47:55.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:47:55.905Z] + git semver tag [2023-10-24T18:47:56.164Z] 2023-10-24 18:47:56,076 [run_tag] DEBUG tag force:False [2023-10-24T18:47:56.164Z] 2023-10-24 18:47:56,076 [check_head_tag] DEBUG check head tag [2023-10-24T18:47:56.164Z] 2023-10-24 18:47:56,077 [execute] INFO git cat-file --batch-check [2023-10-24T18:47:56.164Z] 2023-10-24 18:47:56,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T18:47:56.164Z] 2023-10-24 18:47:56,080 [execute] INFO git cat-file --batch [2023-10-24T18:47:56.164Z] 2023-10-24 18:47:56,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T18:47:56.164Z] 2023-10-24 18:47:56,094 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-24T18:47:56.164Z] 2023-10-24 18:47:56,095 [execute] INFO git tag -a v3.1.0-dev.25 -m v3.1.0-dev.25 [2023-10-24T18:47:56.164Z] 2023-10-24 18:47:56,095 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.25', '-m', 'v3.1.0-dev.25'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:47:56.164Z] 2023-10-24 18:47:56,099 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-24T18:47:56.164Z] 3.1.0-dev.25 [Pipeline] } [2023-10-24T18:47:56.172Z] $ docker exec --env ******** --env ******** 4f57b60756d6e9a3df519f7abd94d35b297543c79709a5245560736ff3093ccb ssh-agent -k [2023-10-24T18:47:56.266Z] unset SSH_AUTH_SOCK; [2023-10-24T18:47:56.267Z] unset SSH_AGENT_PID; [2023-10-24T18:47:56.267Z] echo Agent pid 37 killed; [2023-10-24T18:47:56.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:47:56.589Z] + git semver [Pipeline] } [2023-10-24T18:47:56.858Z] $ docker stop --time=1 4f57b60756d6e9a3df519f7abd94d35b297543c79709a5245560736ff3093ccb [2023-10-24T18:47:58.148Z] $ docker rm -f --volumes 4f57b60756d6e9a3df519f7abd94d35b297543c79709a5245560736ff3093ccb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:47:58.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:47:58.533Z] [2023-10-24T18:47:58.533Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:47:58.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:47:58.825Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T18:47:58.825Z] ab5ef0e58194: Pulling fs layer [2023-10-24T18:47:58.825Z] 9712f1f96733: Pulling fs layer [2023-10-24T18:47:58.825Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T18:47:58.825Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T18:47:58.825Z] e9a5061849ea: Pulling fs layer [2023-10-24T18:47:58.825Z] d747dcd14b5f: Pulling fs layer [2023-10-24T18:47:58.825Z] 2de7ff778b66: Pulling fs layer [2023-10-24T18:47:58.825Z] d747dcd14b5f: Waiting [2023-10-24T18:47:58.825Z] 0d9ebad4ef96: Waiting [2023-10-24T18:47:58.825Z] e9a5061849ea: Waiting [2023-10-24T18:47:58.825Z] 2de7ff778b66: Waiting [2023-10-24T18:47:58.825Z] 9712f1f96733: Verifying Checksum [2023-10-24T18:47:58.825Z] 9712f1f96733: Download complete [2023-10-24T18:47:59.084Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T18:47:59.084Z] 63f879dbbcfc: Download complete [2023-10-24T18:47:59.340Z] e9a5061849ea: Verifying Checksum [2023-10-24T18:47:59.340Z] e9a5061849ea: Download complete [2023-10-24T18:47:59.340Z] d747dcd14b5f: Download complete [2023-10-24T18:47:59.340Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T18:47:59.340Z] 0d9ebad4ef96: Download complete [2023-10-24T18:47:59.340Z] ab5ef0e58194: Download complete [2023-10-24T18:47:59.340Z] 2de7ff778b66: Verifying Checksum [2023-10-24T18:48:01.861Z] ab5ef0e58194: Pull complete [2023-10-24T18:48:02.119Z] 9712f1f96733: Pull complete [2023-10-24T18:48:02.681Z] 63f879dbbcfc: Pull complete [2023-10-24T18:48:06.890Z] 0d9ebad4ef96: Pull complete [2023-10-24T18:48:06.890Z] e9a5061849ea: Pull complete [2023-10-24T18:48:06.890Z] d747dcd14b5f: Pull complete [2023-10-24T18:48:07.455Z] 2de7ff778b66: Pull complete [2023-10-24T18:48:07.713Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T18:48:07.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:48:07.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:48:07.788Z] prd-ubuntu20.04-docker-8c-8g-10138 does not seem to be running inside a container [2023-10-24T18:48:07.814Z] $ 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-10-24T18:48:12.847Z] $ docker top f32e782825aa391f1db02509b42ba6f48a3a02c66d22d40a380acd2ad324ad3d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:48:12.906Z] provisioning config files... [2023-10-24T18:48:12.912Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10013715631178844373tmp [2023-10-24T18:48:12.921Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5385447727607128556tmp [2023-10-24T18:48:12.928Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13141083875012615426tmp [Pipeline] { [Pipeline] echo [2023-10-24T18:48:12.943Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:48:13.220Z] ---> sigul-configuration.sh [2023-10-24T18:48:13.220Z] gpg: directory `/root/.gnupg' created [2023-10-24T18:48:13.220Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T18:48:13.220Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T18:48:13.220Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T18:48:13.220Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T18:48:13.220Z] gpg: CAST5 encrypted data [2023-10-24T18:48:13.220Z] gpg: encrypted with 1 passphrase [2023-10-24T18:48:13.220Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T18:48:13.516Z] + mkdir /home/jenkins [2023-10-24T18:48:13.516Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T18:48:13.804Z] + 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-10-24T18:48:13.812Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:48:14.096Z] ---> sigul-install.sh [2023-10-24T18:48:14.096Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T18:48:14.382Z] + git tag --list [2023-10-24T18:48:14.382Z] v1.0.0 [2023-10-24T18:48:14.382Z] v1.1.0 [2023-10-24T18:48:14.382Z] v1.1.1 [2023-10-24T18:48:14.382Z] v1.2.1 [2023-10-24T18:48:14.382Z] v1.2.2 [2023-10-24T18:48:14.382Z] v1.2.3 [2023-10-24T18:48:14.382Z] v1.3.0 [2023-10-24T18:48:14.382Z] v1.3.1 [2023-10-24T18:48:14.382Z] v2.0.0 [2023-10-24T18:48:14.382Z] v2.1.0 [2023-10-24T18:48:14.382Z] v2.1.1 [2023-10-24T18:48:14.382Z] v2.2.0 [2023-10-24T18:48:14.382Z] v2.3.0 [2023-10-24T18:48:14.382Z] v3.0 [2023-10-24T18:48:14.382Z] v3.0.0 [2023-10-24T18:48:14.382Z] v3.1.0-dev.1 [2023-10-24T18:48:14.382Z] v3.1.0-dev.10 [2023-10-24T18:48:14.382Z] v3.1.0-dev.11 [2023-10-24T18:48:14.382Z] v3.1.0-dev.12 [2023-10-24T18:48:14.382Z] v3.1.0-dev.13 [2023-10-24T18:48:14.382Z] v3.1.0-dev.14 [2023-10-24T18:48:14.382Z] v3.1.0-dev.15 [2023-10-24T18:48:14.382Z] v3.1.0-dev.16 [2023-10-24T18:48:14.382Z] v3.1.0-dev.17 [2023-10-24T18:48:14.382Z] v3.1.0-dev.18 [2023-10-24T18:48:14.382Z] v3.1.0-dev.19 [2023-10-24T18:48:14.382Z] v3.1.0-dev.2 [2023-10-24T18:48:14.382Z] v3.1.0-dev.20 [2023-10-24T18:48:14.382Z] v3.1.0-dev.21 [2023-10-24T18:48:14.382Z] v3.1.0-dev.22 [2023-10-24T18:48:14.382Z] v3.1.0-dev.23 [2023-10-24T18:48:14.382Z] v3.1.0-dev.24 [2023-10-24T18:48:14.382Z] v3.1.0-dev.25 [2023-10-24T18:48:14.382Z] v3.1.0-dev.3 [2023-10-24T18:48:14.382Z] v3.1.0-dev.4 [2023-10-24T18:48:14.382Z] v3.1.0-dev.5 [2023-10-24T18:48:14.382Z] v3.1.0-dev.6 [2023-10-24T18:48:14.382Z] v3.1.0-dev.7 [2023-10-24T18:48:14.382Z] v3.1.0-dev.8 [2023-10-24T18:48:14.382Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-24T18:48:14.669Z] + lftools sign git-tag v3.1.0-dev.25 [2023-10-24T18:48:15.237Z] Signing Git tag with Sigul... [2023-10-24T18:48:15.237Z] Signing v3.1.0-dev.25 [Pipeline] echo [2023-10-24T18:48:16.180Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:48:16.463Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T18:48:16.471Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T18:48:16.488Z] $ docker stop --time=1 f32e782825aa391f1db02509b42ba6f48a3a02c66d22d40a380acd2ad324ad3d [2023-10-24T18:48:17.735Z] $ docker rm -f --volumes f32e782825aa391f1db02509b42ba6f48a3a02c66d22d40a380acd2ad324ad3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T18:48:18.146Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:48:18.146Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:48:18.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:48:18.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:48:18.510Z] prd-ubuntu20.04-docker-8c-8g-10138 does not seem to be running inside a container [2023-10-24T18:48:18.541Z] $ 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-10-24T18:48:18.854Z] $ docker top f3d6ba934e643e51f3e239b36cb82f6fce1a8cd1616d4a12bd9507d6d36417ad -eo pid,comm [2023-10-24T18:48:18.897Z] 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-10-24T18:48:18.897Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:48:18.934Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:48:18.934Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:48:19.032Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:48:19.034Z] $ docker exec f3d6ba934e643e51f3e239b36cb82f6fce1a8cd1616d4a12bd9507d6d36417ad ssh-agent [2023-10-24T18:48:19.135Z] SSH_AUTH_SOCK=/tmp/ssh-EYdYtbhe9ua6/agent.32 [2023-10-24T18:48:19.135Z] SSH_AGENT_PID=38 [2023-10-24T18:48:19.139Z] Running ssh-add (command line suppressed) [2023-10-24T18:48:19.234Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3471275274237503287.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3471275274237503287.key) [2023-10-24T18:48:19.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:48:19.527Z] + git semver bump pre [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,690 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,690 [bump_version] DEBUG bumping version:3.1.0-dev.25 on axis:pre with prefix:dev [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,690 [bump_version] DEBUG bumped version:3.1.0-dev.26 [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,690 [write_version] DEBUG write version:3.1.0-dev.26 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,690 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,690 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,692 [execute] INFO git cat-file --batch-check [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,697 [execute] INFO git cat-file --batch [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,697 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:48:19.786Z] 2023-10-24 18:48:19,702 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-24T18:48:19.786Z] 3.1.0-dev.26 [Pipeline] } [2023-10-24T18:48:19.795Z] $ docker exec --env ******** --env ******** f3d6ba934e643e51f3e239b36cb82f6fce1a8cd1616d4a12bd9507d6d36417ad ssh-agent -k [2023-10-24T18:48:19.895Z] unset SSH_AUTH_SOCK; [2023-10-24T18:48:19.895Z] unset SSH_AGENT_PID; [2023-10-24T18:48:19.895Z] echo Agent pid 38 killed; [2023-10-24T18:48:19.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:48:20.206Z] + git semver [Pipeline] } [2023-10-24T18:48:20.478Z] $ docker stop --time=1 f3d6ba934e643e51f3e239b36cb82f6fce1a8cd1616d4a12bd9507d6d36417ad [2023-10-24T18:48:21.767Z] $ docker rm -f --volumes f3d6ba934e643e51f3e239b36cb82f6fce1a8cd1616d4a12bd9507d6d36417ad [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:48:22.106Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:48:22.106Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:48:22.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:48:22.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:48:22.462Z] prd-ubuntu20.04-docker-8c-8g-10138 does not seem to be running inside a container [2023-10-24T18:48:22.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T18:48:22.806Z] $ docker top a9287a153803c4b6044222407f0d851fda768a800bb0e635023d3fda6657a835 -eo pid,comm [2023-10-24T18:48:22.851Z] 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-10-24T18:48:22.851Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:48:22.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:48:22.882Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:48:23.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:48:23.015Z] $ docker exec a9287a153803c4b6044222407f0d851fda768a800bb0e635023d3fda6657a835 ssh-agent [2023-10-24T18:48:23.142Z] SSH_AUTH_SOCK=/tmp/ssh-mLOGvLtd1Ov4/agent.33 [2023-10-24T18:48:23.142Z] SSH_AGENT_PID=39 [2023-10-24T18:48:23.166Z] Running ssh-add (command line suppressed) [2023-10-24T18:48:23.256Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9119150574063336638.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9119150574063336638.key) [2023-10-24T18:48:23.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:48:23.595Z] + git semver push [2023-10-24T18:48:23.855Z] 2023-10-24 18:48:23,741 [run_push] DEBUG push [2023-10-24T18:48:23.855Z] 2023-10-24 18:48:23,741 [execute] INFO git cat-file --batch-check [2023-10-24T18:48:23.855Z] 2023-10-24 18:48:23,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:48:23.855Z] 2023-10-24 18:48:23,745 [execute] INFO git rev-list 071040d29e80fa9dc119c18088e080b5ff26568b -- [2023-10-24T18:48:23.855Z] 2023-10-24 18:48:23,745 [execute] DEBUG Popen(['git', 'rev-list', '071040d29e80fa9dc119c18088e080b5ff26568b', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:48:23.855Z] 2023-10-24 18:48:23,754 [execute] INFO git fetch -v origin [2023-10-24T18:48:23.855Z] 2023-10-24 18:48:23,754 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T18:48:24.422Z] 2023-10-24 18:48:24,288 [run_push] DEBUG no remote changes detected [2023-10-24T18:48:24.422Z] 2023-10-24 18:48:24,288 [execute] INFO git push origin semver [2023-10-24T18:48:24.422Z] 2023-10-24 18:48:24,289 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:48:25.358Z] 2023-10-24 18:48:25,117 [run_push] DEBUG push all version tags [2023-10-24T18:48:25.358Z] 2023-10-24 18:48:25,118 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T18:48:25.358Z] 2023-10-24 18:48:25,118 [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-10-24T18:48:25.923Z] 2023-10-24 18:48:25,881 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-24T18:48:25.923Z] 3.1.0-dev.26 [Pipeline] } [2023-10-24T18:48:25.929Z] $ docker exec --env ******** --env ******** a9287a153803c4b6044222407f0d851fda768a800bb0e635023d3fda6657a835 ssh-agent -k [2023-10-24T18:48:26.022Z] unset SSH_AUTH_SOCK; [2023-10-24T18:48:26.022Z] unset SSH_AGENT_PID; [2023-10-24T18:48:26.022Z] echo Agent pid 39 killed; [2023-10-24T18:48:26.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:48:26.324Z] + git semver [Pipeline] } [2023-10-24T18:48:26.591Z] $ docker stop --time=1 a9287a153803c4b6044222407f0d851fda768a800bb0e635023d3fda6657a835 [2023-10-24T18:48:27.871Z] $ docker rm -f --volumes a9287a153803c4b6044222407f0d851fda768a800bb0e635023d3fda6657a835 [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-10-24T18:48:28.388Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-10-24T18:48:28.388Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-24T18:48:28.388Z] total 16 [2023-10-24T18:48:28.388Z] drwxr-xr-x 3 root root 4096 Oct 24 18:31 . [2023-10-24T18:48:28.389Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:48 .. [2023-10-24T18:48:28.389Z] drwxr-xr-x 2 root root 4096 Oct 24 18:31 cost [2023-10-24T18:48:28.389Z] -rw-r--r-- 1 root root 89 Oct 24 18:31 cost.csv [2023-10-24T18:48:28.389Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-24T18:48:28.389Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-24T18:48:28.389Z] total 16 [2023-10-24T18:48:28.389Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:31 . [2023-10-24T18:48:28.389Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:48 .. [2023-10-24T18:48:28.389Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:31 cost [2023-10-24T18:48:28.389Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 24 18:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:48:28.674Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:48:29.537Z] ---> package-listing.sh [2023-10-24T18:48:29.538Z] ++ facter osfamily [2023-10-24T18:48:29.538Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T18:48:29.795Z] + OS_FAMILY=debian [2023-10-24T18:48:29.795Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-10-24T18:48:29.795Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T18:48:29.795Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T18:48:29.795Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T18:48:29.795Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T18:48:29.795Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-10-24T18:48:29.795Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T18:48:29.795Z] + case "${OS_FAMILY}" in [2023-10-24T18:48:29.795Z] + dpkg -l [2023-10-24T18:48:29.795Z] + grep '^ii' [2023-10-24T18:48:29.795Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T18:48:29.795Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T18:48:29.795Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T18:48:29.795Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-10-24T18:48:29.795Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-10-24T18:48:29.795Z] + 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-10-24T18:48:29.805Z] 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-10-24T18:48:30.080Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:48:30.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:48:30.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:48:30.704Z] prd-ubuntu20.04-docker-8c-8g-10138 does not seem to be running inside a container [2023-10-24T18:48:30.731Z] $ 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-10-24T18:48:30.952Z] $ docker top 74217a6cd4e71af88fae71c40f15bcb464c6dd3879572b6ecf591fb3c9627463 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:48:31.290Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T18:48:31.570Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T18:48:31.847Z] + ls /var/log/sa-host [2023-10-24T18:48:31.847Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:48:31.912Z] provisioning config files... [2023-10-24T18:48:31.919Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8876200993155588430tmp [Pipeline] { [Pipeline] echo [2023-10-24T18:48:31.930Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:48:32.210Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T18:48:32.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:48:32.538Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T18:48:32.545Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:48:32.824Z] ---> sudo-logs.sh [2023-10-24T18:48:32.824Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T18:48:32.843Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:48:33.119Z] ---> job-cost.sh [2023-10-24T18:48:33.119Z] lf-activate-venv: SKIPPING [2023-10-24T18:48:33.119Z] DEBUG: total: 0.2199999988079071 [2023-10-24T18:48:33.119Z] INFO: Retrieving Stack Cost... [2023-10-24T18:48:33.378Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T18:48:33.944Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T18:48:33.955Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:48:34.236Z] ---> logs-deploy.sh [2023-10-24T18:48:34.236Z] lf-activate-venv: SKIPPING [2023-10-24T18:48:34.236Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/151 [2023-10-24T18:48:34.236Z] INFO: archiving workspace using pattern(s): [2023-10-24T18:48:35.169Z] Archives upload complete. [2023-10-24T18:48:35.169Z] INFO: archiving logs to Nexus