Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e1e3f9b0a00566f3add41dca9941190c71764c6 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-ssh6432696254192490707.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh8769703877554740085.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-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-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5691863977638842328.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh1918151923158118106.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-modbus-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-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3570966910568010048.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-modbus-go, buildSnap:false] ========================================================= [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-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3202 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7e1e3f9b0a00566f3add41dca9941190c71764c6 (main) Commit message: "Merge pull request #494 from jackchenjc/pkg-errors-removal" > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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 7e1e3f9b0a00566f3add41dca9941190c71764c6 # timeout=10 > git rev-list --no-walk 06c6c40304b77554eb9683b844624724d2909e81 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T10:06:55.521Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T10:06:55.579Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T10:06:55.603Z] ========================================================= [2023-08-09T10:06:55.603Z] EdgeX Global Pipelines Version Info [2023-08-09T10:06:55.603Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:06:56.330Z] ------------------- [2023-08-09T10:06:56.330Z] stable info: [2023-08-09T10:06:56.330Z] ------------------- [2023-08-09T10:06:56.330Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T10:06:56.330Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T10:06:56.330Z] Message: update stable to v1.0.250 [2023-08-09T10:06:56.899Z] ------------------- [2023-08-09T10:06:56.899Z] experimental info: [2023-08-09T10:06:56.899Z] ------------------- [2023-08-09T10:06:56.900Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T10:06:56.900Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T10:06:56.900Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T10:06:57.072Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-08-09T10:06:57.086Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-08-09T10:06:57.100Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T10:06:57.111Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T10:06:57.121Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T10:06:57.129Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T10:06:57.140Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T10:06:57.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-09T10:06:57.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T10:06:57.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T10:06:57.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T10:06:57.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-08-09T10:06:57.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T10:06:57.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T10:06:57.243Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:06:57.258Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:06:57.276Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:06:57.294Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:06:57.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T10:06:57.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T10:06:57.335Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-09T10:06:57.346Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-09T10:06:57.359Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T10:06:57.370Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T10:06:57.382Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T10:06:57.395Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T10:06:57.407Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T10:06:57.417Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-09T10:06:57.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-09T10:06:57.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-09T10:06:57.455Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] echo [2023-08-09T10:06:57.469Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e1e3f9 [Pipeline] echo [2023-08-09T10:06:57.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:06:57.521Z] provisioning config files... [2023-08-09T10:06:57.534Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14638183754740003269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:06:57.869Z] ---> docker-login.sh [2023-08-09T10:06:57.869Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:06:58.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:06:58.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:06:58.131Z] Configure a credential helper to remove this warning. See [2023-08-09T10:06:58.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:06:58.131Z] [2023-08-09T10:06:58.131Z] Login Succeeded [2023-08-09T10:06:58.131Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:06:58.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:06:58.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:06:58.131Z] Configure a credential helper to remove this warning. See [2023-08-09T10:06:58.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:06:58.131Z] [2023-08-09T10:06:58.131Z] Login Succeeded [2023-08-09T10:06:58.131Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:06:58.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:06:58.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:06:58.392Z] Configure a credential helper to remove this warning. See [2023-08-09T10:06:58.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:06:58.392Z] [2023-08-09T10:06:58.392Z] Login Succeeded [2023-08-09T10:06:58.392Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:06:58.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:06:58.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:06:58.392Z] Configure a credential helper to remove this warning. See [2023-08-09T10:06:58.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:06:58.392Z] [2023-08-09T10:06:58.392Z] Login Succeeded [2023-08-09T10:06:58.392Z] docker.io [2023-08-09T10:06:58.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:06:58.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:06:58.654Z] Configure a credential helper to remove this warning. See [2023-08-09T10:06:58.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:06:58.654Z] [2023-08-09T10:06:58.654Z] Login Succeeded [2023-08-09T10:06:58.654Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:06:58.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T10:06:59.027Z] + git rev-list -1 --merges 7e1e3f9b0a00566f3add41dca9941190c71764c6~1..7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] echo [2023-08-09T10:06:59.077Z] -----------> git rev-list -1 --merges 7e1e3f9b0a00566f3add41dca9941190c71764c6~1..7e1e3f9b0a00566f3add41dca9941190c71764c6 7e1e3f9b0a00566f3add41dca9941190c71764c6 [2023-08-09T10:06:59.077Z] 7e1e3f9b0a00566f3add41dca9941190c71764c6 [false] [Pipeline] sh [2023-08-09T10:06:59.372Z] + git log --format=format:%s -1 7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] echo [2023-08-09T10:06:59.386Z] ========================================================= [2023-08-09T10:06:59.386Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T10:06:59.386Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:06:59.705Z] + git log --format=format:%s -1 7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] echo [2023-08-09T10:06:59.739Z] [semverPrep] GIT_COMMIT: 7e1e3f9b0a00566f3add41dca9941190c71764c6, Commit Message: Merge pull request #494 from jackchenjc/pkg-errors-removal [Pipeline] echo [2023-08-09T10:06:59.750Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T10:07:00.103Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:07:00.103Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T10:07:00.103Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T10:07:00.103Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T10:07:00.103Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T10:07:00.103Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T10:07:00.103Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:07:00.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:07:00.466Z] [2023-08-09T10:07:00.466Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:07:00.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:07:00.767Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T10:07:00.767Z] b85a868b505f: Pulling fs layer [2023-08-09T10:07:00.767Z] e2be974225ed: Pulling fs layer [2023-08-09T10:07:00.767Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T10:07:00.767Z] 988bab9f4d93: Pulling fs layer [2023-08-09T10:07:00.767Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T10:07:00.767Z] eaf3925da568: Pulling fs layer [2023-08-09T10:07:00.767Z] bab4dde63d76: Pulling fs layer [2023-08-09T10:07:00.767Z] bde34c3a00c8: Pulling fs layer [2023-08-09T10:07:00.767Z] b352a97aabf1: Pulling fs layer [2023-08-09T10:07:00.767Z] 4872d77fe225: Pulling fs layer [2023-08-09T10:07:00.767Z] 988bab9f4d93: Waiting [2023-08-09T10:07:00.767Z] eaf3925da568: Waiting [2023-08-09T10:07:00.767Z] bab4dde63d76: Waiting [2023-08-09T10:07:00.767Z] 1469e6f7b9e6: Waiting [2023-08-09T10:07:00.767Z] bde34c3a00c8: Waiting [2023-08-09T10:07:00.767Z] b352a97aabf1: Waiting [2023-08-09T10:07:00.767Z] 5851b861e8e6: Pulling fs layer [2023-08-09T10:07:00.767Z] 4872d77fe225: Waiting [2023-08-09T10:07:00.767Z] 5851b861e8e6: Waiting [2023-08-09T10:07:00.767Z] e2be974225ed: Download complete [2023-08-09T10:07:00.767Z] 988bab9f4d93: Download complete [2023-08-09T10:07:01.026Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T10:07:01.026Z] 1469e6f7b9e6: Download complete [2023-08-09T10:07:01.026Z] eaf3925da568: Download complete [2023-08-09T10:07:01.026Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T10:07:01.026Z] 339a4e72a1f5: Download complete [2023-08-09T10:07:01.026Z] bde34c3a00c8: Verifying Checksum [2023-08-09T10:07:01.026Z] bde34c3a00c8: Download complete [2023-08-09T10:07:01.026Z] b352a97aabf1: Download complete [2023-08-09T10:07:01.026Z] 4872d77fe225: Verifying Checksum [2023-08-09T10:07:01.026Z] 4872d77fe225: Download complete [2023-08-09T10:07:01.026Z] 5851b861e8e6: Verifying Checksum [2023-08-09T10:07:01.026Z] 5851b861e8e6: Download complete [2023-08-09T10:07:01.026Z] b85a868b505f: Verifying Checksum [2023-08-09T10:07:01.026Z] b85a868b505f: Download complete [2023-08-09T10:07:01.288Z] bab4dde63d76: Verifying Checksum [2023-08-09T10:07:01.288Z] bab4dde63d76: Download complete [2023-08-09T10:07:02.226Z] b85a868b505f: Pull complete [2023-08-09T10:07:02.486Z] e2be974225ed: Pull complete [2023-08-09T10:07:03.054Z] 339a4e72a1f5: Pull complete [2023-08-09T10:07:03.054Z] 988bab9f4d93: Pull complete [2023-08-09T10:07:03.314Z] 1469e6f7b9e6: Pull complete [2023-08-09T10:07:03.314Z] eaf3925da568: Pull complete [2023-08-09T10:07:05.225Z] bab4dde63d76: Pull complete [2023-08-09T10:07:05.225Z] bde34c3a00c8: Pull complete [2023-08-09T10:07:05.485Z] b352a97aabf1: Pull complete [2023-08-09T10:07:05.485Z] 4872d77fe225: Pull complete [2023-08-09T10:07:05.745Z] 5851b861e8e6: Pull complete [2023-08-09T10:07:05.745Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T10:07:05.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:07:05.745Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:07:05.856Z] prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container [2023-08-09T10:07:05.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:07:08.871Z] $ docker top 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 -eo pid,comm [2023-08-09T10:07:08.928Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:07:08.928Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:07:08.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:07:08.967Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:07:09.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:07:09.085Z] $ docker exec 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 ssh-agent [2023-08-09T10:07:09.192Z] SSH_AUTH_SOCK=/tmp/ssh-lL29xhhI6SvL/agent.32 [2023-08-09T10:07:09.192Z] SSH_AGENT_PID=38 [2023-08-09T10:07:09.199Z] Running ssh-add (command line suppressed) [2023-08-09T10:07:09.298Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6558819480540420774.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6558819480540420774.key) [2023-08-09T10:07:09.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:07:09.608Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T10:07:09.629Z] $ docker exec --env ******** --env ******** 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 ssh-agent -k [2023-08-09T10:07:09.725Z] unset SSH_AUTH_SOCK; [2023-08-09T10:07:09.725Z] unset SSH_AGENT_PID; [2023-08-09T10:07:09.725Z] echo Agent pid 38 killed; [2023-08-09T10:07:09.733Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T10:07:09.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:07:09.754Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:07:09.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:07:09.868Z] $ docker exec 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 ssh-agent [2023-08-09T10:07:09.990Z] SSH_AUTH_SOCK=/tmp/ssh-1buk4WoZJ5kp/agent.69 [2023-08-09T10:07:09.990Z] SSH_AGENT_PID=75 [2023-08-09T10:07:09.995Z] Running ssh-add (command line suppressed) [2023-08-09T10:07:10.109Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13820472426414499612.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13820472426414499612.key) [2023-08-09T10:07:10.120Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:07:10.403Z] + git semver init [2023-08-09T10:07:10.662Z] 2023-08-09 10:07:10,618 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T10:07:10.662Z] 2023-08-09 10:07:10,619 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-08-09T10:07:10.662Z] 2023-08-09 10:07:10,619 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-08-09T10:07:10.662Z] 2023-08-09 10:07:10,619 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:07:11.602Z] 2023-08-09 10:07:11,418 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-08-09T10:07:11.602Z] 2023-08-09 10:07:11,419 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-08-09T10:07:11.602Z] 2023-08-09 10:07:11,419 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-09T10:07:11.602Z] 2023-08-09 10:07:11,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-09T10:07:11.602Z] 3.1.0-dev.3 [Pipeline] } [2023-08-09T10:07:11.622Z] $ docker exec --env ******** --env ******** 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 ssh-agent -k [2023-08-09T10:07:11.729Z] unset SSH_AUTH_SOCK; [2023-08-09T10:07:11.731Z] unset SSH_AGENT_PID; [2023-08-09T10:07:11.731Z] echo Agent pid 75 killed; [2023-08-09T10:07:11.739Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:07:12.055Z] + git semver [Pipeline] } [2023-08-09T10:07:12.334Z] $ docker stop --time=1 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 [2023-08-09T10:07:13.632Z] $ docker rm -f --volumes 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:07:13.975Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T10:07:14.171Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T10:07:14.174Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:07:14.346Z] provisioning config files... [2023-08-09T10:07:14.358Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12848763665754253977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:07:14.660Z] ---> docker-login.sh [2023-08-09T10:07:14.660Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:07:14.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:14.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:14.660Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:14.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:14.660Z] [2023-08-09T10:07:14.660Z] Login Succeeded [2023-08-09T10:07:14.660Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:07:14.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:14.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:14.919Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:14.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:14.919Z] [2023-08-09T10:07:14.919Z] Login Succeeded [2023-08-09T10:07:14.919Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:07:14.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:14.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:14.919Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:14.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:14.919Z] [2023-08-09T10:07:14.919Z] Login Succeeded [2023-08-09T10:07:14.919Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:07:14.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:14.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:14.919Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:14.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:14.919Z] [2023-08-09T10:07:14.919Z] Login Succeeded [2023-08-09T10:07:14.919Z] docker.io [2023-08-09T10:07:15.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:15.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:15.440Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:15.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:15.440Z] [2023-08-09T10:07:15.440Z] Login Succeeded [2023-08-09T10:07:15.440Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:07:15.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:07:15.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:07:15.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:07:15.544Z] ========================================================= [2023-08-09T10:07:15.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T10:07:15.544Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:07:15.848Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:07:15.848Z] Sending build context to Docker daemon 6.398MB [2023-08-09T10:07:15.848Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:07:15.848Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-09T10:07:15.848Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T10:07:16.154Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T10:07:16.154Z] 6911f1a30b25: Pulling fs layer [2023-08-09T10:07:16.154Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T10:07:16.154Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T10:07:16.154Z] ec0bb842ea78: Pulling fs layer [2023-08-09T10:07:16.154Z] 40a00589a448: Pulling fs layer [2023-08-09T10:07:16.154Z] ec0bb842ea78: Waiting [2023-08-09T10:07:16.154Z] 6c08303d61cc: Pulling fs layer [2023-08-09T10:07:16.154Z] 6863d3e3a2b1: Waiting [2023-08-09T10:07:16.154Z] 40a00589a448: Waiting [2023-08-09T10:07:16.154Z] 798269fcf238: Pulling fs layer [2023-08-09T10:07:16.154Z] 6c08303d61cc: Waiting [2023-08-09T10:07:16.154Z] 798269fcf238: Waiting [2023-08-09T10:07:16.154Z] 6911f1a30b25: Download complete [2023-08-09T10:07:16.154Z] 6863d3e3a2b1: Verifying Checksum [2023-08-09T10:07:16.154Z] 6863d3e3a2b1: Download complete [2023-08-09T10:07:16.154Z] ec0bb842ea78: Download complete [2023-08-09T10:07:16.154Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T10:07:16.154Z] 4db1b89c0bd1: Download complete [2023-08-09T10:07:16.154Z] 40a00589a448: Verifying Checksum [2023-08-09T10:07:16.154Z] 40a00589a448: Download complete [2023-08-09T10:07:16.154Z] 4db1b89c0bd1: Pull complete [2023-08-09T10:07:16.420Z] 6911f1a30b25: Pull complete [2023-08-09T10:07:16.694Z] 798269fcf238: Verifying Checksum [2023-08-09T10:07:16.694Z] 798269fcf238: Download complete [2023-08-09T10:07:16.953Z] e194b8c5c2a9: Verifying Checksum [2023-08-09T10:07:16.953Z] e194b8c5c2a9: Download complete [2023-08-09T10:07:16.953Z] 6c08303d61cc: Verifying Checksum [2023-08-09T10:07:16.953Z] 6c08303d61cc: Download complete [2023-08-09T10:07:20.236Z] e194b8c5c2a9: Pull complete [2023-08-09T10:07:20.496Z] 6863d3e3a2b1: Pull complete [2023-08-09T10:07:20.496Z] ec0bb842ea78: Pull complete [2023-08-09T10:07:20.496Z] 40a00589a448: Pull complete [2023-08-09T10:07:23.022Z] 6c08303d61cc: Pull complete [2023-08-09T10:07:23.957Z] 798269fcf238: Pull complete [2023-08-09T10:07:23.957Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T10:07:23.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T10:07:23.957Z] ---> ec979cd7f677 [2023-08-09T10:07:23.957Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:07:29.260Z] ---> Running in 53fa29723231 [2023-08-09T10:07:29.260Z] Removing intermediate container 53fa29723231 [2023-08-09T10:07:29.260Z] ---> 02e66c021d46 [2023-08-09T10:07:29.260Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:07:29.260Z] ---> Running in 7aeabb92b651 [2023-08-09T10:07:29.260Z] Removing intermediate container 7aeabb92b651 [2023-08-09T10:07:29.260Z] ---> 378e86d03332 [2023-08-09T10:07:29.260Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-08-09T10:07:29.260Z] ---> Running in 589d5a165d31 [2023-08-09T10:07:29.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:07:29.295Z] Still waiting to schedule task [2023-08-09T10:07:29.295Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3203’ is offline [2023-08-09T10:07:29.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:07:29.780Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:07:29.780Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-08-09T10:07:29.780Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:07:29.780Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:07:29.780Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-08-09T10:07:29.780Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-08-09T10:07:29.780Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-08-09T10:07:29.780Z] (8/8) Installing openssh (9.1_p1-r4) [2023-08-09T10:07:29.780Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:07:29.780Z] OK: 270 MiB in 61 packages [2023-08-09T10:07:30.347Z] Removing intermediate container 589d5a165d31 [2023-08-09T10:07:30.347Z] ---> 478467a41997 [2023-08-09T10:07:30.347Z] Step 6/10 : WORKDIR /device-modbus-go [2023-08-09T10:07:30.347Z] ---> Running in b6769e9b37a2 [2023-08-09T10:07:30.347Z] Removing intermediate container b6769e9b37a2 [2023-08-09T10:07:30.347Z] ---> 281947c6cba6 [2023-08-09T10:07:30.347Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-09T10:07:30.606Z] ---> 998c2ac28f6f [2023-08-09T10:07:30.606Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:07:30.606Z] ---> Running in 8823c8efe50f [2023-08-09T10:08:09.352Z] Removing intermediate container 8823c8efe50f [2023-08-09T10:08:09.352Z] ---> 40c7b160fc13 [2023-08-09T10:08:09.352Z] Step 9/10 : COPY . . [2023-08-09T10:08:09.352Z] ---> 83fd9e5d613a [2023-08-09T10:08:09.352Z] Step 10/10 : RUN ${MAKE} [2023-08-09T10:08:09.352Z] ---> Running in 6c3a99826b83 [2023-08-09T10:08:09.352Z] noop [2023-08-09T10:08:09.352Z] Removing intermediate container 6c3a99826b83 [2023-08-09T10:08:09.352Z] ---> 934335e1e614 [2023-08-09T10:08:09.352Z] Successfully built 934335e1e614 [2023-08-09T10:08:09.352Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:08:09.662Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:08:09.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:08:09.734Z] prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container [2023-08-09T10:08:09.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-09T10:08:10.146Z] $ docker top 5210dc7a39d42b58bdcbfb64d73feaa5c3b2f327d34329b3434a28c962977bd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:08:10.474Z] + go version [2023-08-09T10:08:10.474Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T10:08:10.489Z] $ docker stop --time=1 5210dc7a39d42b58bdcbfb64d73feaa5c3b2f327d34329b3434a28c962977bd4 [2023-08-09T10:08:11.771Z] $ docker rm -f --volumes 5210dc7a39d42b58bdcbfb64d73feaa5c3b2f327d34329b3434a28c962977bd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:08:12.217Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:08:12.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:08:12.291Z] prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container [2023-08-09T10:08:12.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-09T10:08:12.654Z] $ docker top b9b559b56f2c4de6d7457119db7891501d7e33756cf40515dd4947c20ad40fd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:08:12.989Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:08:13.285Z] + make test [2023-08-09T10:08:13.285Z] go test ./... -coverprofile=coverage.out [2023-08-09T10:08:18.555Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-08-09T10:08:28.518Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-08-09T10:08:28.518Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.4% of statements [2023-08-09T10:08:33.779Z] go vet ./... [2023-08-09T10:08:37.074Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:08:37.074Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:08:37.074Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:08:37.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:08:37.102Z] $ docker stop --time=1 b9b559b56f2c4de6d7457119db7891501d7e33756cf40515dd4947c20ad40fd8 [2023-08-09T10:08:41.401Z] $ docker rm -f --volumes b9b559b56f2c4de6d7457119db7891501d7e33756cf40515dd4947c20ad40fd8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:08:41.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:08:41.896Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T10:08:42.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:08:42.597Z] + ls -al . [2023-08-09T10:08:42.597Z] total 188 [2023-08-09T10:08:42.597Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:08 . [2023-08-09T10:08:42.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:06 .. [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:06 .dockerignore [2023-08-09T10:08:42.597Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:07 .git [2023-08-09T10:08:42.597Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:06 .github [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 9 10:06 .gitignore [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:06 .golangci.yml [2023-08-09T10:08:42.597Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:07 .semver [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 10032 Aug 9 10:06 Attribution.txt [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 14764 Aug 9 10:06 CHANGELOG.md [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 1365 Aug 9 10:06 Dockerfile [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:06 GOVERNANCE.md [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 9 10:06 Jenkinsfile [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:06 LICENSE [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 1705 Aug 9 10:06 Makefile [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 9 10:06 OWNERS.md [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 4578 Aug 9 10:06 README.md [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:07 VERSION [2023-08-09T10:08:42.597Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:06 bin [2023-08-09T10:08:42.597Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:06 cmd [2023-08-09T10:08:42.597Z] -rw-r--r-- 1 jenkins jenkins 24160 Aug 9 10:08 coverage.out [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 3405 Aug 9 10:06 go.mod [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 31664 Aug 9 10:06 go.sum [2023-08-09T10:08:42.597Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:06 internal [2023-08-09T10:08:42.597Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:06 simulator [2023-08-09T10:08:42.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:06 snap [2023-08-09T10:08:42.597Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 9 10:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:08:42.924Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7e1e3f9b0a00566f3add41dca9941190c71764c6 --label arch=amd64 --label version=3.1.0-dev.3 . [2023-08-09T10:08:42.924Z] Sending build context to Docker daemon 6.423MB [2023-08-09T10:08:42.924Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:08:42.924Z] Step 2/22 : FROM ${BASE} AS builder [2023-08-09T10:08:42.924Z] ---> 934335e1e614 [2023-08-09T10:08:42.924Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:08:43.184Z] ---> Running in a1b9e87116ca [2023-08-09T10:08:43.184Z] Removing intermediate container a1b9e87116ca [2023-08-09T10:08:43.184Z] ---> c7c2e09f1fe1 [2023-08-09T10:08:43.184Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:08:43.184Z] ---> Running in 4f3032e38694 [2023-08-09T10:08:43.184Z] Removing intermediate container 4f3032e38694 [2023-08-09T10:08:43.184Z] ---> cef181bbb692 [2023-08-09T10:08:43.184Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-08-09T10:08:43.184Z] ---> Running in 58d69953c2cf [2023-08-09T10:08:43.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:08:43.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:08:43.961Z] OK: 270 MiB in 61 packages [2023-08-09T10:08:44.220Z] Removing intermediate container 58d69953c2cf [2023-08-09T10:08:44.220Z] ---> 4bdeeb109fda [2023-08-09T10:08:44.220Z] Step 6/22 : WORKDIR /device-modbus-go [2023-08-09T10:08:44.220Z] ---> Running in 57badcbfd593 [2023-08-09T10:08:44.478Z] Removing intermediate container 57badcbfd593 [2023-08-09T10:08:44.478Z] ---> e49e84080f8e [2023-08-09T10:08:44.478Z] Step 7/22 : COPY go.mod vendor* ./ [2023-08-09T10:08:44.478Z] ---> e37627a841e0 [2023-08-09T10:08:44.478Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:08:44.478Z] ---> Running in e571f4e24160 [2023-08-09T10:08:45.073Z] Removing intermediate container e571f4e24160 [2023-08-09T10:08:45.073Z] ---> 58a3c0fb48e3 [2023-08-09T10:08:45.073Z] Step 9/22 : COPY . . [2023-08-09T10:08:45.360Z] ---> 2691d1c66db0 [2023-08-09T10:08:45.360Z] Step 10/22 : RUN ${MAKE} [2023-08-09T10:08:45.639Z] ---> Running in d32141370b60 [2023-08-09T10:08:45.639Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-08-09T10:09:07.661Z] Removing intermediate container d32141370b60 [2023-08-09T10:09:07.661Z] ---> 3f5e885c2cc1 [2023-08-09T10:09:07.661Z] Step 11/22 : FROM alpine:3.17 [2023-08-09T10:09:07.661Z] 3.17: Pulling from library/alpine [2023-08-09T10:09:07.661Z] 9398808236ff: Pulling fs layer [2023-08-09T10:09:07.661Z] 9398808236ff: Verifying Checksum [2023-08-09T10:09:07.661Z] 9398808236ff: Download complete [2023-08-09T10:09:07.661Z] 9398808236ff: Pull complete [2023-08-09T10:09:07.661Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:09:07.661Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:09:07.661Z] ---> 1e0b8b5322fc [2023-08-09T10:09:07.661Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-08-09T10:09:07.661Z] ---> Running in d9928c793d6b [2023-08-09T10:09:07.661Z] Removing intermediate container d9928c793d6b [2023-08-09T10:09:07.661Z] ---> 1020acf32feb [2023-08-09T10:09:07.661Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:09:07.661Z] ---> Running in 18b86c83a480 [2023-08-09T10:09:07.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:09:07.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:09:07.661Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:09:07.661Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:09:07.661Z] OK: 7 MiB in 16 packages [2023-08-09T10:09:07.661Z] Removing intermediate container 18b86c83a480 [2023-08-09T10:09:07.661Z] ---> d89a7d956910 [2023-08-09T10:09:07.661Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-08-09T10:09:08.279Z] ---> 760c377d6d12 [2023-08-09T10:09:08.279Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-08-09T10:09:08.537Z] ---> 2a518879afe2 [2023-08-09T10:09:08.537Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-08-09T10:09:08.537Z] ---> 37828b4e6eb2 [2023-08-09T10:09:08.537Z] Step 17/22 : EXPOSE 59901 [2023-08-09T10:09:08.537Z] ---> Running in c3e0410028a5 [2023-08-09T10:09:08.797Z] Removing intermediate container c3e0410028a5 [2023-08-09T10:09:08.797Z] ---> b61a8a9230d5 [2023-08-09T10:09:08.797Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-08-09T10:09:08.797Z] ---> Running in 2f22f632fe37 [2023-08-09T10:09:08.797Z] Removing intermediate container 2f22f632fe37 [2023-08-09T10:09:08.797Z] ---> 15383621d7e9 [2023-08-09T10:09:08.797Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-09T10:09:08.797Z] ---> Running in 47645de86575 [2023-08-09T10:09:09.127Z] Removing intermediate container 47645de86575 [2023-08-09T10:09:09.127Z] ---> 8046e958f1e2 [2023-08-09T10:09:09.127Z] Step 20/22 : LABEL arch=amd64 [2023-08-09T10:09:09.127Z] ---> Running in 876bbce5d832 [2023-08-09T10:09:09.127Z] Removing intermediate container 876bbce5d832 [2023-08-09T10:09:09.127Z] ---> bf345f84075f [2023-08-09T10:09:09.127Z] Step 21/22 : LABEL git_sha=7e1e3f9b0a00566f3add41dca9941190c71764c6 [2023-08-09T10:09:09.127Z] ---> Running in 5bbcffcda1ce [2023-08-09T10:09:09.127Z] Removing intermediate container 5bbcffcda1ce [2023-08-09T10:09:09.127Z] ---> c19f07989153 [2023-08-09T10:09:09.127Z] Step 22/22 : LABEL version=3.1.0-dev.3 [2023-08-09T10:09:09.127Z] ---> Running in f5e8cd4c4706 [2023-08-09T10:09:09.127Z] Removing intermediate container f5e8cd4c4706 [2023-08-09T10:09:09.127Z] ---> 3022354e6d95 [2023-08-09T10:09:09.127Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:09:09.127Z] Successfully built 3022354e6d95 [2023-08-09T10:09:09.127Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:09:09.243Z] provisioning config files... [2023-08-09T10:09:09.250Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6845304709854541355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:09:09.547Z] ---> docker-login.sh [2023-08-09T10:09:09.547Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:09:09.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:09.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:09.547Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:09.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:09.547Z] [2023-08-09T10:09:09.547Z] Login Succeeded [2023-08-09T10:09:09.547Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:09:09.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:09.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:09.547Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:09.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:09.547Z] [2023-08-09T10:09:09.547Z] Login Succeeded [2023-08-09T10:09:09.547Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:09:09.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:09.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:09.807Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:09.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:09.807Z] [2023-08-09T10:09:09.807Z] Login Succeeded [2023-08-09T10:09:09.807Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:09:09.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:09.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:09.807Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:09.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:09.807Z] [2023-08-09T10:09:09.807Z] Login Succeeded [2023-08-09T10:09:09.807Z] docker.io [2023-08-09T10:09:09.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:10.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:10.066Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:10.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:10.066Z] [2023-08-09T10:09:10.066Z] Login Succeeded [2023-08-09T10:09:10.066Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:09:10.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:09:10.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:09:10.137Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-08-09T10:09:10.137Z] 7e1e3f9b0a00566f3add41dca9941190c71764c6 [2023-08-09T10:09:10.137Z] latest [2023-08-09T10:09:10.137Z] 3.1.0-dev.3 [2023-08-09T10:09:10.137Z] 7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 [2023-08-09T10:09:10.137Z] main [2023-08-09T10:09:10.137Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:10.464Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:10.767Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6 [2023-08-09T10:09:10.767Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-09T10:09:10.767Z] ad69f4f130bd: Preparing [2023-08-09T10:09:10.767Z] 36b795557fc8: Preparing [2023-08-09T10:09:10.767Z] a203bc3a9e0c: Preparing [2023-08-09T10:09:10.767Z] 6c560475ceca: Preparing [2023-08-09T10:09:10.767Z] 36b50b131297: Preparing [2023-08-09T10:09:10.767Z] 36b50b131297: Layer already exists [2023-08-09T10:09:10.767Z] 36b795557fc8: Pushed [2023-08-09T10:09:10.767Z] ad69f4f130bd: Pushed [2023-08-09T10:09:10.767Z] 6c560475ceca: Pushed [2023-08-09T10:09:13.299Z] a203bc3a9e0c: Pushed [2023-08-09T10:09:13.299Z] 7e1e3f9b0a00566f3add41dca9941190c71764c6: digest: sha256:2c13776d6f3ef5aa5e1f2b9f223348b490bf03a28ee73ac0c1dd9634e71c2a0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:13.864Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:14.432Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-08-09T10:09:14.432Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-09T10:09:14.432Z] ad69f4f130bd: Preparing [2023-08-09T10:09:14.432Z] 36b795557fc8: Preparing [2023-08-09T10:09:14.432Z] a203bc3a9e0c: Preparing [2023-08-09T10:09:14.432Z] 6c560475ceca: Preparing [2023-08-09T10:09:14.432Z] 36b50b131297: Preparing [2023-08-09T10:09:14.432Z] a203bc3a9e0c: Layer already exists [2023-08-09T10:09:14.432Z] ad69f4f130bd: Layer already exists [2023-08-09T10:09:14.432Z] 36b50b131297: Layer already exists [2023-08-09T10:09:14.432Z] 36b795557fc8: Layer already exists [2023-08-09T10:09:14.432Z] 6c560475ceca: Layer already exists [2023-08-09T10:09:14.432Z] latest: digest: sha256:2c13776d6f3ef5aa5e1f2b9f223348b490bf03a28ee73ac0c1dd9634e71c2a0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:14.745Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:15.056Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.3 [2023-08-09T10:09:15.056Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-09T10:09:15.056Z] ad69f4f130bd: Preparing [2023-08-09T10:09:15.056Z] 36b795557fc8: Preparing [2023-08-09T10:09:15.056Z] a203bc3a9e0c: Preparing [2023-08-09T10:09:15.056Z] 6c560475ceca: Preparing [2023-08-09T10:09:15.056Z] 36b50b131297: Preparing [2023-08-09T10:09:15.056Z] ad69f4f130bd: Layer already exists [2023-08-09T10:09:15.056Z] a203bc3a9e0c: Layer already exists [2023-08-09T10:09:15.056Z] 6c560475ceca: Layer already exists [2023-08-09T10:09:15.056Z] 36b50b131297: Layer already exists [2023-08-09T10:09:15.056Z] 36b795557fc8: Layer already exists [2023-08-09T10:09:15.056Z] 3.1.0-dev.3: digest: sha256:2c13776d6f3ef5aa5e1f2b9f223348b490bf03a28ee73ac0c1dd9634e71c2a0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:15.363Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:15.931Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 [2023-08-09T10:09:15.931Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-09T10:09:15.931Z] ad69f4f130bd: Preparing [2023-08-09T10:09:15.931Z] 36b795557fc8: Preparing [2023-08-09T10:09:15.931Z] a203bc3a9e0c: Preparing [2023-08-09T10:09:15.931Z] 6c560475ceca: Preparing [2023-08-09T10:09:15.931Z] 36b50b131297: Preparing [2023-08-09T10:09:15.931Z] 36b795557fc8: Layer already exists [2023-08-09T10:09:15.931Z] ad69f4f130bd: Layer already exists [2023-08-09T10:09:15.931Z] 36b50b131297: Layer already exists [2023-08-09T10:09:15.931Z] 6c560475ceca: Layer already exists [2023-08-09T10:09:15.931Z] a203bc3a9e0c: Layer already exists [2023-08-09T10:09:15.931Z] 7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3: digest: sha256:2c13776d6f3ef5aa5e1f2b9f223348b490bf03a28ee73ac0c1dd9634e71c2a0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:16.256Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:16.866Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-08-09T10:09:16.866Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-09T10:09:16.866Z] ad69f4f130bd: Preparing [2023-08-09T10:09:16.866Z] 36b795557fc8: Preparing [2023-08-09T10:09:16.866Z] a203bc3a9e0c: Preparing [2023-08-09T10:09:16.866Z] 6c560475ceca: Preparing [2023-08-09T10:09:16.866Z] 36b50b131297: Preparing [2023-08-09T10:09:16.866Z] ad69f4f130bd: Layer already exists [2023-08-09T10:09:16.866Z] 36b50b131297: Layer already exists [2023-08-09T10:09:16.866Z] 6c560475ceca: Layer already exists [2023-08-09T10:09:16.866Z] a203bc3a9e0c: Layer already exists [2023-08-09T10:09:16.866Z] 36b795557fc8: Layer already exists [2023-08-09T10:09:16.866Z] main: digest: sha256:2c13776d6f3ef5aa5e1f2b9f223348b490bf03a28ee73ac0c1dd9634e71c2a0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:09:16.901Z] ===================================================== [Pipeline] echo [2023-08-09T10:09:16.907Z] taggedImages: [2023-08-09T10:09:16.907Z] - nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6 [2023-08-09T10:09:16.907Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-08-09T10:09:16.907Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.3 [2023-08-09T10:09:16.907Z] - nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 [2023-08-09T10:09:16.907Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:17.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:09:17.297Z] [2023-08-09T10:09:17.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:17.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:09:18.172Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T10:09:18.172Z] 5eb5b503b376: Pulling fs layer [2023-08-09T10:09:18.172Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T10:09:18.172Z] ec43610c2a17: Pulling fs layer [2023-08-09T10:09:18.172Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T10:09:18.172Z] 33b1e0a273af: Pulling fs layer [2023-08-09T10:09:18.172Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T10:09:18.172Z] 2f39f015ded8: Pulling fs layer [2023-08-09T10:09:18.172Z] 33b1e0a273af: Waiting [2023-08-09T10:09:18.172Z] 5d3b04190fa2: Waiting [2023-08-09T10:09:18.172Z] 3a2ae6a8a46f: Waiting [2023-08-09T10:09:18.172Z] 2f39f015ded8: Waiting [2023-08-09T10:09:18.172Z] 5c69ac0246d0: Download complete [2023-08-09T10:09:18.172Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T10:09:18.172Z] 3a2ae6a8a46f: Download complete [2023-08-09T10:09:18.172Z] 33b1e0a273af: Verifying Checksum [2023-08-09T10:09:18.172Z] 33b1e0a273af: Download complete [2023-08-09T10:09:18.172Z] 5d3b04190fa2: Verifying Checksum [2023-08-09T10:09:18.172Z] 5d3b04190fa2: Download complete [2023-08-09T10:09:18.433Z] ec43610c2a17: Verifying Checksum [2023-08-09T10:09:18.433Z] ec43610c2a17: Download complete [2023-08-09T10:09:18.433Z] 5eb5b503b376: Verifying Checksum [2023-08-09T10:09:18.433Z] 5eb5b503b376: Download complete [2023-08-09T10:09:18.999Z] 2f39f015ded8: Verifying Checksum [2023-08-09T10:09:19.933Z] 5eb5b503b376: Pull complete [2023-08-09T10:09:20.196Z] 5c69ac0246d0: Pull complete [2023-08-09T10:09:20.454Z] ec43610c2a17: Pull complete [2023-08-09T10:09:20.454Z] 3a2ae6a8a46f: Pull complete [2023-08-09T10:09:20.712Z] 33b1e0a273af: Pull complete [2023-08-09T10:09:20.712Z] 5d3b04190fa2: Pull complete [2023-08-09T10:09:24.952Z] 2f39f015ded8: Pull complete [2023-08-09T10:09:24.952Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T10:09:24.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:09:24.952Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:09:25.039Z] prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container [2023-08-09T10:09:25.073Z] $ 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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T10:09:30.019Z] $ docker top 84b3e5fca30c63f15d5989d2322b0afc2b13b182727d9a2960c96e7253a044e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:09:30.377Z] ---> job-cost.sh [2023-08-09T10:09:30.377Z] lf-activate-venv: SKIPPING [2023-08-09T10:09:30.377Z] INFO: No Stack... [2023-08-09T10:09:30.636Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:09:30.818Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3205 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-08-09T10:09:30.832Z] Running in /w/workspace/device-modbus-go/116 [Pipeline] { [Pipeline] checkout [2023-08-09T10:09:30.872Z] Selected Git installation does not exist. Using Default [2023-08-09T10:09:30.872Z] The recommended git tool is: NONE [2023-08-09T10:09:31.203Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:09:31.488Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-08-09T10:09:31.488Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T10:09:31.500Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] [2023-08-09T10:09:31.525Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] did not exist. Created. [2023-08-09T10:09:31.525Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:09:31.877Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T10:09:31.914Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:09:31.921Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:09:31.945Z] $ docker stop --time=1 84b3e5fca30c63f15d5989d2322b0afc2b13b182727d9a2960c96e7253a044e8 [2023-08-09T10:09:33.120Z] $ docker rm -f --volumes 84b3e5fca30c63f15d5989d2322b0afc2b13b182727d9a2960c96e7253a044e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-09T10:09:36.820Z] using credential edgex-jenkins-ssh [2023-08-09T10:09:36.835Z] Cloning the remote Git repository [2023-08-09T10:09:36.881Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-08-09T10:09:36.974Z] > git init /w/workspace/device-modbus-go/116 # timeout=10 [2023-08-09T10:09:37.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-08-09T10:09:37.135Z] > git --version # timeout=10 [2023-08-09T10:09:37.155Z] > git --version # 'git version 2.25.1' [2023-08-09T10:09:37.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:09:37.323Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:09:38.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-08-09T10:09:38.440Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:09:39.393Z] Avoid second fetch [2023-08-09T10:09:39.394Z] Checking out Revision 7e1e3f9b0a00566f3add41dca9941190c71764c6 (main) [2023-08-09T10:09:39.411Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T10:09:39.499Z] > git checkout -f 7e1e3f9b0a00566f3add41dca9941190c71764c6 # timeout=10 [2023-08-09T10:09:39.956Z] Commit message: "Merge pull request #494 from jackchenjc/pkg-errors-removal" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:09:40.791Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T10:09:40.791Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:09:40.791Z] Dload Upload Total Spent Left Speed [2023-08-09T10:09:40.791Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-08-09T10:09:41.373Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T10:09:41.704Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T10:09:41.704Z] + sudo tee /etc/docker/daemon.new [2023-08-09T10:09:41.704Z] { [2023-08-09T10:09:41.704Z] "registry-mirrors": [ [2023-08-09T10:09:41.704Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T10:09:41.704Z] ], [2023-08-09T10:09:41.704Z] "bip": "10.250.0.254/24", [2023-08-09T10:09:41.704Z] "hosts": [ [2023-08-09T10:09:41.704Z] "tcp://0.0.0.0:5555", [2023-08-09T10:09:41.704Z] "unix:///var/run/docker.sock" [2023-08-09T10:09:41.704Z] ], [2023-08-09T10:09:41.704Z] "mtu": 1458, [2023-08-09T10:09:41.704Z] "selinux-enabled": true, [2023-08-09T10:09:41.704Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T10:09:41.704Z] } [Pipeline] sh [2023-08-09T10:09:42.033Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T10:09:42.368Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:10:00.645Z] provisioning config files... [2023-08-09T10:10:00.672Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/116@tmp/config3068354761972931010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:10:01.032Z] ---> docker-login.sh [2023-08-09T10:10:01.032Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:10:01.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:10:01.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:10:01.621Z] Configure a credential helper to remove this warning. See [2023-08-09T10:10:01.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:10:01.621Z] [2023-08-09T10:10:01.621Z] Login Succeeded [2023-08-09T10:10:01.621Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:10:01.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:10:01.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:10:01.890Z] Configure a credential helper to remove this warning. See [2023-08-09T10:10:01.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:10:01.890Z] [2023-08-09T10:10:01.890Z] Login Succeeded [2023-08-09T10:10:02.161Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:10:02.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:10:02.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:10:02.434Z] Configure a credential helper to remove this warning. See [2023-08-09T10:10:02.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:10:02.434Z] [2023-08-09T10:10:02.434Z] Login Succeeded [2023-08-09T10:10:02.434Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:10:02.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:10:02.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:10:02.706Z] Configure a credential helper to remove this warning. See [2023-08-09T10:10:02.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:10:02.706Z] [2023-08-09T10:10:02.706Z] Login Succeeded [2023-08-09T10:10:02.706Z] docker.io [2023-08-09T10:10:02.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:10:03.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:10:03.568Z] Configure a credential helper to remove this warning. See [2023-08-09T10:10:03.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:10:03.568Z] [2023-08-09T10:10:03.568Z] Login Succeeded [2023-08-09T10:10:03.568Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:10:03.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:10:03.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:10:03.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:10:03.878Z] ========================================================= [2023-08-09T10:10:03.878Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T10:10:03.878Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:10:04.213Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:10:04.483Z] Sending build context to Docker daemon 3.313MB [2023-08-09T10:10:04.483Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:10:04.483Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-09T10:10:04.755Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T10:10:04.755Z] edb6bdbacee9: Pulling fs layer [2023-08-09T10:10:04.755Z] 5f9638ab2659: Pulling fs layer [2023-08-09T10:10:04.755Z] 8d51d6327a98: Pulling fs layer [2023-08-09T10:10:04.755Z] 8b374f2dd631: Pulling fs layer [2023-08-09T10:10:04.755Z] ec14aa9079de: Pulling fs layer [2023-08-09T10:10:04.755Z] 2f466654f4bb: Pulling fs layer [2023-08-09T10:10:04.755Z] 554e91adad29: Pulling fs layer [2023-08-09T10:10:04.755Z] ec14aa9079de: Waiting [2023-08-09T10:10:04.755Z] 2f466654f4bb: Waiting [2023-08-09T10:10:04.755Z] 554e91adad29: Waiting [2023-08-09T10:10:04.755Z] 8b374f2dd631: Waiting [2023-08-09T10:10:04.755Z] 5f9638ab2659: Verifying Checksum [2023-08-09T10:10:04.755Z] 5f9638ab2659: Download complete [2023-08-09T10:10:04.755Z] 8b374f2dd631: Verifying Checksum [2023-08-09T10:10:04.755Z] 8b374f2dd631: Download complete [2023-08-09T10:10:04.755Z] ec14aa9079de: Verifying Checksum [2023-08-09T10:10:04.755Z] ec14aa9079de: Download complete [2023-08-09T10:10:04.755Z] edb6bdbacee9: Verifying Checksum [2023-08-09T10:10:04.755Z] edb6bdbacee9: Download complete [2023-08-09T10:10:06.195Z] edb6bdbacee9: Pull complete [2023-08-09T10:10:06.195Z] 554e91adad29: Verifying Checksum [2023-08-09T10:10:06.195Z] 554e91adad29: Download complete [2023-08-09T10:10:07.173Z] 2f466654f4bb: Verifying Checksum [2023-08-09T10:10:07.173Z] 2f466654f4bb: Download complete [2023-08-09T10:10:07.441Z] 8d51d6327a98: Download complete [2023-08-09T10:10:08.860Z] 5f9638ab2659: Pull complete [2023-08-09T10:10:21.352Z] 8d51d6327a98: Pull complete [2023-08-09T10:10:21.352Z] 8b374f2dd631: Pull complete [2023-08-09T10:10:21.352Z] ec14aa9079de: Pull complete [2023-08-09T10:10:26.709Z] 2f466654f4bb: Pull complete [2023-08-09T10:10:29.309Z] 554e91adad29: Pull complete [2023-08-09T10:10:29.309Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T10:10:29.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T10:10:29.309Z] ---> 1e15ea492957 [2023-08-09T10:10:29.309Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:10:31.272Z] ---> Running in a91f2caf1a71 [2023-08-09T10:10:31.272Z] Removing intermediate container a91f2caf1a71 [2023-08-09T10:10:31.272Z] ---> a336fcb743e4 [2023-08-09T10:10:31.272Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:10:31.272Z] ---> Running in 535e5d67fdee [2023-08-09T10:10:31.867Z] Removing intermediate container 535e5d67fdee [2023-08-09T10:10:31.867Z] ---> 71da7ebd3617 [2023-08-09T10:10:31.867Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-08-09T10:10:31.867Z] ---> Running in 0c9b1c634b21 [2023-08-09T10:10:32.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:10:33.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:10:34.379Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:10:34.652Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-08-09T10:10:34.652Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:10:34.652Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:10:34.652Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-08-09T10:10:34.652Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-08-09T10:10:34.652Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-08-09T10:10:34.652Z] (8/8) Installing openssh (9.1_p1-r4) [2023-08-09T10:10:34.652Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:10:34.652Z] OK: 270 MiB in 61 packages [2023-08-09T10:10:36.696Z] Removing intermediate container 0c9b1c634b21 [2023-08-09T10:10:36.696Z] ---> 813f560ac5d4 [2023-08-09T10:10:36.696Z] Step 6/10 : WORKDIR /device-modbus-go [2023-08-09T10:10:36.696Z] ---> Running in e2384deecef4 [2023-08-09T10:10:36.973Z] Removing intermediate container e2384deecef4 [2023-08-09T10:10:36.973Z] ---> 886d85be29cd [2023-08-09T10:10:36.973Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-09T10:10:37.576Z] ---> 40dd4b6f4aa4 [2023-08-09T10:10:37.576Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:10:37.576Z] ---> Running in 04e46ddc1243 [2023-08-09T10:11:45.565Z] Removing intermediate container 04e46ddc1243 [2023-08-09T10:11:45.565Z] ---> 70bef7f9d035 [2023-08-09T10:11:45.565Z] Step 9/10 : COPY . . [2023-08-09T10:11:45.565Z] ---> 93af448b86b7 [2023-08-09T10:11:45.565Z] Step 10/10 : RUN ${MAKE} [2023-08-09T10:11:45.565Z] ---> Running in 7bb7a74b6294 [2023-08-09T10:11:45.565Z] noop [2023-08-09T10:11:45.565Z] Removing intermediate container 7bb7a74b6294 [2023-08-09T10:11:45.565Z] ---> 929117ef2b54 [2023-08-09T10:11:45.565Z] Successfully built 929117ef2b54 [2023-08-09T10:11:45.565Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:11:45.925Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:11:45.925Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:11:46.138Z] prd-ubuntu20.04-docker-arm64-4c-16g-3205 does not seem to be running inside a container [2023-08-09T10:11:46.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/116 -v /w/workspace/device-modbus-go/116:/w/workspace/device-modbus-go/116:rw,z -v /w/workspace/device-modbus-go/116@tmp:/w/workspace/device-modbus-go/116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T10:11:47.453Z] $ docker top 00076b238356e807f91406a3530eb7983259887a016c00b373d34371b71e1b59 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:11:48.298Z] + go version [2023-08-09T10:11:48.298Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T10:11:48.319Z] $ docker stop --time=1 00076b238356e807f91406a3530eb7983259887a016c00b373d34371b71e1b59 [2023-08-09T10:11:49.936Z] $ docker rm -f --volumes 00076b238356e807f91406a3530eb7983259887a016c00b373d34371b71e1b59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:11:50.517Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:11:50.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:11:50.697Z] prd-ubuntu20.04-docker-arm64-4c-16g-3205 does not seem to be running inside a container [2023-08-09T10:11:50.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/116 -v /w/workspace/device-modbus-go/116:/w/workspace/device-modbus-go/116:rw,z -v /w/workspace/device-modbus-go/116@tmp:/w/workspace/device-modbus-go/116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T10:11:51.879Z] $ docker top 87fdfcb2e29e9af8ffcbb1b5709ba127ec4e7ac1102a9e455a7fe34de77340db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:11:52.708Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/116 [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:11:53.385Z] + make test [2023-08-09T10:11:53.385Z] go test ./... -coverprofile=coverage.out [2023-08-09T10:12:32.254Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-08-09T10:14:38.939Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-08-09T10:14:41.525Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 47.4% of statements [2023-08-09T10:14:41.795Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T10:14:41.795Z] go vet ./... [2023-08-09T10:15:14.035Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:15:14.035Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:15:14.035Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:15:14.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:15:14.070Z] $ docker stop --time=1 87fdfcb2e29e9af8ffcbb1b5709ba127ec4e7ac1102a9e455a7fe34de77340db [2023-08-09T10:15:15.981Z] $ docker rm -f --volumes 87fdfcb2e29e9af8ffcbb1b5709ba127ec4e7ac1102a9e455a7fe34de77340db [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:15:17.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:15:17.237Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T10:15:17.805Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:15:18.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:15:18.583Z] + ls -al . [2023-08-09T10:15:18.583Z] total 184 [2023-08-09T10:15:18.583Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:11 . [2023-08-09T10:15:18.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:09 .. [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:09 .dockerignore [2023-08-09T10:15:18.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:09 .git [2023-08-09T10:15:18.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:09 .github [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 9 10:09 .gitignore [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:09 .golangci.yml [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 10032 Aug 9 10:09 Attribution.txt [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 14764 Aug 9 10:09 CHANGELOG.md [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 1365 Aug 9 10:09 Dockerfile [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:09 GOVERNANCE.md [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 9 10:09 Jenkinsfile [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:09 LICENSE [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 1705 Aug 9 10:09 Makefile [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 9 10:09 OWNERS.md [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 4578 Aug 9 10:09 README.md [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:07 VERSION [2023-08-09T10:15:18.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:09 bin [2023-08-09T10:15:18.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:09 cmd [2023-08-09T10:15:18.583Z] -rw-r--r-- 1 jenkins jenkins 24160 Aug 9 10:14 coverage.out [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 3405 Aug 9 10:09 go.mod [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 31664 Aug 9 10:09 go.sum [2023-08-09T10:15:18.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:09 internal [2023-08-09T10:15:18.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:09 simulator [2023-08-09T10:15:18.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:09 snap [2023-08-09T10:15:18.583Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 9 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:15:18.930Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7e1e3f9b0a00566f3add41dca9941190c71764c6 --label arch=arm64 --label version=3.1.0-dev.3 . [2023-08-09T10:15:19.201Z] Sending build context to Docker daemon 3.338MB [2023-08-09T10:15:19.201Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:15:19.201Z] Step 2/22 : FROM ${BASE} AS builder [2023-08-09T10:15:19.201Z] ---> 929117ef2b54 [2023-08-09T10:15:19.201Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:15:20.373Z] ---> Running in 7658b6b4b0e0 [2023-08-09T10:15:20.642Z] Removing intermediate container 7658b6b4b0e0 [2023-08-09T10:15:20.642Z] ---> 73ba713815b2 [2023-08-09T10:15:20.642Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:15:20.642Z] ---> Running in 0af22664948e [2023-08-09T10:15:20.914Z] Removing intermediate container 0af22664948e [2023-08-09T10:15:20.914Z] ---> 521a49dc092e [2023-08-09T10:15:20.914Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-08-09T10:15:20.914Z] ---> Running in e83a3dba5dc9 [2023-08-09T10:15:22.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:15:25.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:15:26.422Z] OK: 270 MiB in 61 packages [2023-08-09T10:15:27.388Z] Removing intermediate container e83a3dba5dc9 [2023-08-09T10:15:27.388Z] ---> 6152d1969010 [2023-08-09T10:15:27.388Z] Step 6/22 : WORKDIR /device-modbus-go [2023-08-09T10:15:27.388Z] ---> Running in 6df5d2af9f93 [2023-08-09T10:15:27.657Z] Removing intermediate container 6df5d2af9f93 [2023-08-09T10:15:27.657Z] ---> 5004fbaff46c [2023-08-09T10:15:27.657Z] Step 7/22 : COPY go.mod vendor* ./ [2023-08-09T10:15:28.248Z] ---> 3f19cf2d53cc [2023-08-09T10:15:28.248Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:15:28.518Z] ---> Running in 7ab4ab776d46 [2023-08-09T10:15:31.118Z] Removing intermediate container 7ab4ab776d46 [2023-08-09T10:15:31.118Z] ---> 211199ccb6cd [2023-08-09T10:15:31.118Z] Step 9/22 : COPY . . [2023-08-09T10:15:33.734Z] ---> 2123eb2b026c [2023-08-09T10:15:33.734Z] Step 10/22 : RUN ${MAKE} [2023-08-09T10:15:33.734Z] ---> Running in d45267d12bc9 [2023-08-09T10:15:34.709Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-08-09T10:18:11.502Z] Removing intermediate container d45267d12bc9 [2023-08-09T10:18:11.502Z] ---> 92fbef2f2ddc [2023-08-09T10:18:11.502Z] Step 11/22 : FROM alpine:3.17 [2023-08-09T10:18:11.502Z] 3.17: Pulling from library/alpine [2023-08-09T10:18:11.502Z] 4060ece20d7a: Pulling fs layer [2023-08-09T10:18:11.502Z] 4060ece20d7a: Verifying Checksum [2023-08-09T10:18:11.502Z] 4060ece20d7a: Download complete [2023-08-09T10:18:11.502Z] 4060ece20d7a: Pull complete [2023-08-09T10:18:11.503Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:18:11.503Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:18:11.503Z] ---> 8650cd65339b [2023-08-09T10:18:11.503Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-08-09T10:18:11.503Z] ---> Running in 9765df637f04 [2023-08-09T10:18:11.503Z] Removing intermediate container 9765df637f04 [2023-08-09T10:18:11.503Z] ---> 8dda4859a1c4 [2023-08-09T10:18:11.503Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:18:11.503Z] ---> Running in 495fec77d0d4 [2023-08-09T10:18:11.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:18:11.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:18:11.503Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:18:11.503Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:18:11.503Z] OK: 8 MiB in 16 packages [2023-08-09T10:18:11.503Z] Removing intermediate container 495fec77d0d4 [2023-08-09T10:18:11.503Z] ---> 53062bb24f5e [2023-08-09T10:18:11.503Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-08-09T10:18:11.503Z] ---> d6c0a621d04c [2023-08-09T10:18:11.503Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-08-09T10:18:11.503Z] ---> d34a6775b85a [2023-08-09T10:18:11.503Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-08-09T10:18:11.503Z] ---> 69a4a92881d2 [2023-08-09T10:18:11.503Z] Step 17/22 : EXPOSE 59901 [2023-08-09T10:18:11.503Z] ---> Running in 8616428ce68d [2023-08-09T10:18:11.503Z] Removing intermediate container 8616428ce68d [2023-08-09T10:18:11.503Z] ---> 550207f8c35d [2023-08-09T10:18:11.503Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-08-09T10:18:11.503Z] ---> Running in a4e43b4234a6 [2023-08-09T10:18:11.503Z] Removing intermediate container a4e43b4234a6 [2023-08-09T10:18:11.503Z] ---> 4df45c745709 [2023-08-09T10:18:11.503Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-09T10:18:11.503Z] ---> Running in f2a581bd98bc [2023-08-09T10:18:11.503Z] Removing intermediate container f2a581bd98bc [2023-08-09T10:18:11.503Z] ---> b2fcf4c67c77 [2023-08-09T10:18:11.503Z] Step 20/22 : LABEL arch=arm64 [2023-08-09T10:18:11.503Z] ---> Running in ddaa1d7f93b5 [2023-08-09T10:18:11.503Z] Removing intermediate container ddaa1d7f93b5 [2023-08-09T10:18:11.503Z] ---> f0fcafacd191 [2023-08-09T10:18:11.503Z] Step 21/22 : LABEL git_sha=7e1e3f9b0a00566f3add41dca9941190c71764c6 [2023-08-09T10:18:11.503Z] ---> Running in d017210a38b7 [2023-08-09T10:18:11.503Z] Removing intermediate container d017210a38b7 [2023-08-09T10:18:11.503Z] ---> b7f713893ca2 [2023-08-09T10:18:11.503Z] Step 22/22 : LABEL version=3.1.0-dev.3 [2023-08-09T10:18:11.503Z] ---> Running in c345d1edbd6d [2023-08-09T10:18:11.503Z] Removing intermediate container c345d1edbd6d [2023-08-09T10:18:11.503Z] ---> 43a9b660c090 [2023-08-09T10:18:11.503Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:18:11.503Z] Successfully built 43a9b660c090 [2023-08-09T10:18:11.503Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:18:11.619Z] provisioning config files... [2023-08-09T10:18:11.634Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/116@tmp/config6975122923874162910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:18:11.976Z] ---> docker-login.sh [2023-08-09T10:18:11.976Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:18:12.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:18:12.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:18:12.247Z] Configure a credential helper to remove this warning. See [2023-08-09T10:18:12.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:18:12.247Z] [2023-08-09T10:18:12.247Z] Login Succeeded [2023-08-09T10:18:12.247Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:18:12.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:18:12.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:18:12.785Z] Configure a credential helper to remove this warning. See [2023-08-09T10:18:12.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:18:12.785Z] [2023-08-09T10:18:12.785Z] Login Succeeded [2023-08-09T10:18:12.785Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:18:13.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:18:13.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:18:13.060Z] Configure a credential helper to remove this warning. See [2023-08-09T10:18:13.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:18:13.060Z] [2023-08-09T10:18:13.060Z] Login Succeeded [2023-08-09T10:18:13.060Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:18:13.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:18:13.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:18:13.326Z] Configure a credential helper to remove this warning. See [2023-08-09T10:18:13.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:18:13.326Z] [2023-08-09T10:18:13.326Z] Login Succeeded [2023-08-09T10:18:13.593Z] docker.io [2023-08-09T10:18:13.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:18:14.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:18:14.175Z] Configure a credential helper to remove this warning. See [2023-08-09T10:18:14.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:18:14.175Z] [2023-08-09T10:18:14.175Z] Login Succeeded [2023-08-09T10:18:14.175Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:18:14.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:18:14.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:18:14.252Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-08-09T10:18:14.252Z] 7e1e3f9b0a00566f3add41dca9941190c71764c6 [2023-08-09T10:18:14.252Z] latest [2023-08-09T10:18:14.252Z] 3.1.0-dev.3 [2023-08-09T10:18:14.252Z] 7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 [2023-08-09T10:18:14.252Z] main [2023-08-09T10:18:14.252Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:14.623Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:14.976Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6 [2023-08-09T10:18:14.976Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-09T10:18:14.976Z] 684611b55141: Preparing [2023-08-09T10:18:14.976Z] b6779138629e: Preparing [2023-08-09T10:18:14.976Z] 7029137388a2: Preparing [2023-08-09T10:18:14.976Z] c2e31ad8af90: Preparing [2023-08-09T10:18:14.976Z] d2d9d24a8c2a: Preparing [2023-08-09T10:18:14.976Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:18:15.243Z] 684611b55141: Pushed [2023-08-09T10:18:15.243Z] b6779138629e: Pushed [2023-08-09T10:18:15.243Z] c2e31ad8af90: Pushed [2023-08-09T10:18:20.595Z] 7029137388a2: Pushed [2023-08-09T10:18:20.595Z] 7e1e3f9b0a00566f3add41dca9941190c71764c6: digest: sha256:da19d7c93df942e556bab39c1b5d57c6e4de0884ce8fae62f9d8c3bbb6e4e36e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:20.956Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:21.297Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-08-09T10:18:21.297Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-09T10:18:21.297Z] 684611b55141: Preparing [2023-08-09T10:18:21.297Z] b6779138629e: Preparing [2023-08-09T10:18:21.297Z] 7029137388a2: Preparing [2023-08-09T10:18:21.297Z] c2e31ad8af90: Preparing [2023-08-09T10:18:21.297Z] d2d9d24a8c2a: Preparing [2023-08-09T10:18:21.297Z] c2e31ad8af90: Layer already exists [2023-08-09T10:18:21.297Z] b6779138629e: Layer already exists [2023-08-09T10:18:21.297Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:18:21.297Z] 684611b55141: Layer already exists [2023-08-09T10:18:21.297Z] 7029137388a2: Layer already exists [2023-08-09T10:18:21.297Z] latest: digest: sha256:da19d7c93df942e556bab39c1b5d57c6e4de0884ce8fae62f9d8c3bbb6e4e36e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:21.650Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:21.995Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.3 [2023-08-09T10:18:21.995Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-09T10:18:21.995Z] 684611b55141: Preparing [2023-08-09T10:18:21.995Z] b6779138629e: Preparing [2023-08-09T10:18:21.995Z] 7029137388a2: Preparing [2023-08-09T10:18:21.995Z] c2e31ad8af90: Preparing [2023-08-09T10:18:21.995Z] d2d9d24a8c2a: Preparing [2023-08-09T10:18:21.995Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:18:21.995Z] c2e31ad8af90: Layer already exists [2023-08-09T10:18:21.995Z] b6779138629e: Layer already exists [2023-08-09T10:18:21.995Z] 7029137388a2: Layer already exists [2023-08-09T10:18:21.995Z] 684611b55141: Layer already exists [2023-08-09T10:18:21.995Z] 3.1.0-dev.3: digest: sha256:da19d7c93df942e556bab39c1b5d57c6e4de0884ce8fae62f9d8c3bbb6e4e36e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:22.371Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:22.724Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 [2023-08-09T10:18:22.724Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-09T10:18:22.724Z] 684611b55141: Preparing [2023-08-09T10:18:22.724Z] b6779138629e: Preparing [2023-08-09T10:18:22.724Z] 7029137388a2: Preparing [2023-08-09T10:18:22.724Z] c2e31ad8af90: Preparing [2023-08-09T10:18:22.724Z] d2d9d24a8c2a: Preparing [2023-08-09T10:18:22.724Z] b6779138629e: Layer already exists [2023-08-09T10:18:22.724Z] c2e31ad8af90: Layer already exists [2023-08-09T10:18:22.724Z] 7029137388a2: Layer already exists [2023-08-09T10:18:22.724Z] 684611b55141: Layer already exists [2023-08-09T10:18:22.724Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:18:22.724Z] 7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3: digest: sha256:da19d7c93df942e556bab39c1b5d57c6e4de0884ce8fae62f9d8c3bbb6e4e36e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:23.090Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:23.447Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-08-09T10:18:23.447Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-09T10:18:23.447Z] 684611b55141: Preparing [2023-08-09T10:18:23.447Z] b6779138629e: Preparing [2023-08-09T10:18:23.447Z] 7029137388a2: Preparing [2023-08-09T10:18:23.447Z] c2e31ad8af90: Preparing [2023-08-09T10:18:23.447Z] d2d9d24a8c2a: Preparing [2023-08-09T10:18:23.447Z] b6779138629e: Layer already exists [2023-08-09T10:18:23.447Z] 684611b55141: Layer already exists [2023-08-09T10:18:23.447Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:18:23.447Z] 7029137388a2: Layer already exists [2023-08-09T10:18:23.447Z] c2e31ad8af90: Layer already exists [2023-08-09T10:18:23.714Z] main: digest: sha256:da19d7c93df942e556bab39c1b5d57c6e4de0884ce8fae62f9d8c3bbb6e4e36e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:18:23.763Z] ===================================================== [Pipeline] echo [2023-08-09T10:18:23.774Z] taggedImages: [2023-08-09T10:18:23.774Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6 [2023-08-09T10:18:23.775Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-08-09T10:18:23.775Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.3 [2023-08-09T10:18:23.775Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 [2023-08-09T10:18:23.775Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:24.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:18:24.149Z] [2023-08-09T10:18:24.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:24.489Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:18:24.489Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T10:18:24.762Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T10:18:24.762Z] 04944245beec: Pulling fs layer [2023-08-09T10:18:24.762Z] 699f458cf7ca: Pulling fs layer [2023-08-09T10:18:24.762Z] 765212b225bb: Pulling fs layer [2023-08-09T10:18:24.762Z] f23df028b6ca: Pulling fs layer [2023-08-09T10:18:24.762Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T10:18:24.762Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T10:18:24.762Z] 765212b225bb: Waiting [2023-08-09T10:18:24.762Z] f23df028b6ca: Waiting [2023-08-09T10:18:24.762Z] d65c8cfc05b1: Waiting [2023-08-09T10:18:24.762Z] 2437ff75d9bd: Waiting [2023-08-09T10:18:24.762Z] 04944245beec: Verifying Checksum [2023-08-09T10:18:24.762Z] 04944245beec: Download complete [2023-08-09T10:18:24.762Z] 765212b225bb: Verifying Checksum [2023-08-09T10:18:24.762Z] 765212b225bb: Download complete [2023-08-09T10:18:24.762Z] f23df028b6ca: Verifying Checksum [2023-08-09T10:18:24.762Z] f23df028b6ca: Download complete [2023-08-09T10:18:24.762Z] d65c8cfc05b1: Verifying Checksum [2023-08-09T10:18:24.762Z] d65c8cfc05b1: Download complete [2023-08-09T10:18:25.032Z] 699f458cf7ca: Verifying Checksum [2023-08-09T10:18:25.032Z] 699f458cf7ca: Download complete [2023-08-09T10:18:25.301Z] 8998bd30e6a1: Download complete [2023-08-09T10:18:27.886Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T10:18:27.886Z] 2437ff75d9bd: Download complete [2023-08-09T10:18:29.829Z] 8998bd30e6a1: Pull complete [2023-08-09T10:18:29.829Z] 04944245beec: Pull complete [2023-08-09T10:18:31.244Z] 699f458cf7ca: Pull complete [2023-08-09T10:18:31.512Z] 765212b225bb: Pull complete [2023-08-09T10:18:32.474Z] f23df028b6ca: Pull complete [2023-08-09T10:18:32.474Z] d65c8cfc05b1: Pull complete [2023-08-09T10:18:47.601Z] 2437ff75d9bd: Pull complete [2023-08-09T10:18:47.601Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T10:18:47.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:18:47.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:18:47.820Z] prd-ubuntu20.04-docker-arm64-4c-16g-3205 does not seem to be running inside a container [2023-08-09T10:18:47.909Z] $ 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-modbus-go/116 -v /w/workspace/device-modbus-go/116:/w/workspace/device-modbus-go/116:rw,z -v /w/workspace/device-modbus-go/116@tmp:/w/workspace/device-modbus-go/116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-09T10:18:50.637Z] $ docker top f59b9a8eb1561398d035cc159580b32e4a23e3d8bec02af2ff0c9333a7dacff6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:18:51.504Z] ---> job-cost.sh [2023-08-09T10:18:51.504Z] lf-activate-venv: SKIPPING [2023-08-09T10:18:51.504Z] INFO: No Stack... [2023-08-09T10:18:51.770Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T10:18:52.730Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:18:53.370Z] + + cat /w/workspace/device-modbus-go/116/archives/cost.csv [2023-08-09T10:18:53.370Z] cut -d, -f6 [Pipeline] lock [2023-08-09T10:18:53.444Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] [2023-08-09T10:18:53.452Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] did not exist. Created. [2023-08-09T10:18:53.452Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:18:54.115Z] /w/workspace/device-modbus-go/116@tmp/durable-e4551533/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T10:18:54.767Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T10:18:54.794Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T10:18:54.854Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:18:54.863Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:18:54.873Z] $ docker stop --time=1 f59b9a8eb1561398d035cc159580b32e4a23e3d8bec02af2ff0c9333a7dacff6 [2023-08-09T10:18:56.396Z] $ docker rm -f --volumes f59b9a8eb1561398d035cc159580b32e4a23e3d8bec02af2ff0c9333a7dacff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-09T10:18:56.785Z] provisioning config files... [2023-08-09T10:18:56.791Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1579202628662026792tmp [Pipeline] { [Pipeline] sh [2023-08-09T10:18:57.084Z] + set +x [2023-08-09T10:18:57.084Z] + curl -s https://codecov.io/bash+ [2023-08-09T10:18:57.084Z] bash -s -- [2023-08-09T10:18:57.084Z] [2023-08-09T10:18:57.084Z] _____ _ [2023-08-09T10:18:57.084Z] / ____| | | [2023-08-09T10:18:57.084Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T10:18:57.084Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T10:18:57.084Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T10:18:57.084Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T10:18:57.084Z] Bash-1.0.6 [2023-08-09T10:18:57.084Z] [2023-08-09T10:18:57.084Z] [2023-08-09T10:18:57.084Z] ==> git version 2.25.1 found [2023-08-09T10:18:57.084Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-09T10:18:57.084Z] Release-Date: 2020-01-08 [2023-08-09T10:18:57.084Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-09T10:18:57.084Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T10:18:57.084Z] ==> Jenkins CI detected. [2023-08-09T10:18:57.084Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-08-09T10:18:57.084Z] project root: . [2023-08-09T10:18:57.084Z] --> token set from env [2023-08-09T10:18:57.085Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T10:18:57.085Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T10:18:57.085Z] ==> Python coveragepy not found [2023-08-09T10:18:57.085Z] ==> Searching for coverage reports in: [2023-08-09T10:18:57.085Z] + . [2023-08-09T10:18:57.085Z] -> Found 1 reports [2023-08-09T10:18:57.085Z] ==> Detecting git/mercurial file structure [2023-08-09T10:18:57.085Z] ==> Reading reports [2023-08-09T10:18:57.085Z] + ./coverage.out bytes=24160 [2023-08-09T10:18:57.345Z] ==> Appending adjustments [2023-08-09T10:18:57.345Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T10:18:57.345Z] + Found adjustments [2023-08-09T10:18:57.345Z] ==> Gzipping contents [2023-08-09T10:18:57.345Z] 4.0K /tmp/codecov.6DtBPM.gz [2023-08-09T10:18:57.345Z] ==> Uploading reports [2023-08-09T10:18:57.345Z] url: https://codecov.io [2023-08-09T10:18:57.345Z] query: branch=main&commit=7e1e3f9b0a00566f3add41dca9941190c71764c6&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T10:18:57.345Z] -> Pinging Codecov [2023-08-09T10:18:57.345Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=7e1e3f9b0a00566f3add41dca9941190c71764c6&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T10:18:57.345Z] -> Uploading to [2023-08-09T10:18:57.345Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/55DBCA73C666E3227836607328DD7E49/7e1e3f9b0a00566f3add41dca9941190c71764c6/bd93ca46-4155-40b4-a396-d9afb04d988f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T101857Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c081fe082e45e3068ae32c9e40601b7ed1172de9e5f88ba6996b3f08500472f [2023-08-09T10:18:57.345Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:18:57.345Z] Dload Upload Total Spent Left Speed [2023-08-09T10:18:57.604Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 21560 --:--:-- --:--:-- --:--:-- 21560 [2023-08-09T10:18:57.604Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] } [2023-08-09T10:18:57.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-09T10:18:57.777Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-09T10:18:57.788Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:58.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:18:58.081Z] [2023-08-09T10:18:58.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:18:58.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:18:58.378Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-09T10:18:58.378Z] df9b9388f04a: Pulling fs layer [2023-08-09T10:18:58.378Z] 52dc419b0ee2: Pulling fs layer [2023-08-09T10:18:58.379Z] 25bc292e5bac: Pulling fs layer [2023-08-09T10:18:58.379Z] 114826534d7a: Pulling fs layer [2023-08-09T10:18:58.379Z] 4657fd5d0bcf: Pulling fs layer [2023-08-09T10:18:58.379Z] 6ad1cebc031e: Pulling fs layer [2023-08-09T10:18:58.379Z] 8a3aa393b2d8: Pulling fs layer [2023-08-09T10:18:58.379Z] 6ad1cebc031e: Waiting [2023-08-09T10:18:58.379Z] 114826534d7a: Waiting [2023-08-09T10:18:58.379Z] 8a3aa393b2d8: Waiting [2023-08-09T10:18:58.379Z] 25bc292e5bac: Download complete [2023-08-09T10:18:58.379Z] 52dc419b0ee2: Download complete [2023-08-09T10:18:58.379Z] 4657fd5d0bcf: Download complete [2023-08-09T10:18:58.379Z] df9b9388f04a: Download complete [2023-08-09T10:18:58.638Z] 6ad1cebc031e: Verifying Checksum [2023-08-09T10:18:58.638Z] 6ad1cebc031e: Download complete [2023-08-09T10:18:58.638Z] df9b9388f04a: Pull complete [2023-08-09T10:18:58.909Z] 52dc419b0ee2: Pull complete [2023-08-09T10:18:59.170Z] 25bc292e5bac: Pull complete [2023-08-09T10:18:59.427Z] 114826534d7a: Verifying Checksum [2023-08-09T10:18:59.427Z] 114826534d7a: Download complete [2023-08-09T10:18:59.427Z] 8a3aa393b2d8: Verifying Checksum [2023-08-09T10:18:59.427Z] 8a3aa393b2d8: Download complete [2023-08-09T10:19:02.701Z] 114826534d7a: Pull complete [2023-08-09T10:19:02.960Z] 4657fd5d0bcf: Pull complete [2023-08-09T10:19:03.526Z] 6ad1cebc031e: Pull complete [2023-08-09T10:19:06.051Z] 8a3aa393b2d8: Pull complete [2023-08-09T10:19:06.051Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-09T10:19:06.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:19:06.051Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:19:06.156Z] prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container [2023-08-09T10:19:06.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-09T10:19:13.228Z] $ docker top a8163cff890423f998f7b56dbb4ef3fc3b447884f888166f4d04792911be5fb2 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-09T10:19:13.287Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-08-09T10:19:13.565Z] + set -o pipefail [2023-08-09T10:19:13.565Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-08-09T10:19:17.762Z] [2023-08-09T10:19:17.762Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-08-09T10:19:17.762Z] [2023-08-09T10:19:17.762Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/d98c464d-307d-415d-a3ad-4deeeff5dc29 [2023-08-09T10:19:17.762Z] [2023-08-09T10:19:17.762Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-08-09T10:19:17.762Z] [2023-08-09T10:19:17.762Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-09T10:19:17.762Z] [2023-08-09T10:19:19.702Z] [2023-08-09T10:19:19.702Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-09T10:19:19.702Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-09T10:19:19.702Z] More details here: https://snyk.co/ue1NS [2023-08-09T10:19:19.702Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-09T10:19:19.702Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-09T10:19:19.721Z] $ docker stop --time=1 a8163cff890423f998f7b56dbb4ef3fc3b447884f888166f4d04792911be5fb2 [2023-08-09T10:19:24.609Z] $ docker rm -f --volumes a8163cff890423f998f7b56dbb4ef3fc3b447884f888166f4d04792911be5fb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:19:25.301Z] + git log --format=format:%s -1 7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] sh [2023-08-09T10:19:25.592Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:19:25.592Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:19:25.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:19:25.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:19:26.021Z] prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container [2023-08-09T10:19:26.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:19:27.554Z] $ docker top bd75f473e618d7fb0a31475a0be0a2684a6ac497f395945d4e9e7b06f3cde4b0 -eo pid,comm [2023-08-09T10:19:27.589Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:19:27.589Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:19:27.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:19:27.627Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:19:27.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:19:27.751Z] $ docker exec bd75f473e618d7fb0a31475a0be0a2684a6ac497f395945d4e9e7b06f3cde4b0 ssh-agent [2023-08-09T10:19:27.858Z] SSH_AUTH_SOCK=/tmp/ssh-PioqkxoPSX5x/agent.14 [2023-08-09T10:19:27.858Z] SSH_AGENT_PID=20 [2023-08-09T10:19:27.863Z] Running ssh-add (command line suppressed) [2023-08-09T10:19:27.979Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6766222337839385591.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6766222337839385591.key) [2023-08-09T10:19:27.987Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:19:28.277Z] + git semver tag [2023-08-09T10:19:28.845Z] 2023-08-09 10:19:28,550 [run_tag] DEBUG tag force:False [2023-08-09T10:19:28.845Z] 2023-08-09 10:19:28,550 [check_head_tag] DEBUG check head tag [2023-08-09T10:19:28.845Z] 2023-08-09 10:19:28,550 [execute] INFO git cat-file --batch-check [2023-08-09T10:19:28.845Z] 2023-08-09 10:19:28,550 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T10:19:28.845Z] 2023-08-09 10:19:28,555 [execute] INFO git cat-file --batch [2023-08-09T10:19:28.845Z] 2023-08-09 10:19:28,555 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T10:19:28.845Z] 2023-08-09 10:19:28,563 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-09T10:19:28.845Z] 2023-08-09 10:19:28,564 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 [2023-08-09T10:19:28.845Z] 2023-08-09 10:19:28,564 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:19:28.845Z] 2023-08-09 10:19:28,568 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-09T10:19:28.845Z] 3.1.0-dev.3 [Pipeline] } [2023-08-09T10:19:28.857Z] $ docker exec --env ******** --env ******** bd75f473e618d7fb0a31475a0be0a2684a6ac497f395945d4e9e7b06f3cde4b0 ssh-agent -k [2023-08-09T10:19:28.957Z] unset SSH_AUTH_SOCK; [2023-08-09T10:19:28.958Z] unset SSH_AGENT_PID; [2023-08-09T10:19:28.958Z] echo Agent pid 20 killed; [2023-08-09T10:19:28.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:19:29.260Z] + git semver [Pipeline] } [2023-08-09T10:19:29.532Z] $ docker stop --time=1 bd75f473e618d7fb0a31475a0be0a2684a6ac497f395945d4e9e7b06f3cde4b0 [2023-08-09T10:19:31.896Z] $ docker rm -f --volumes bd75f473e618d7fb0a31475a0be0a2684a6ac497f395945d4e9e7b06f3cde4b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:19:32.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:19:32.370Z] [2023-08-09T10:19:32.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:19:32.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:19:33.260Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-09T10:19:33.260Z] ab5ef0e58194: Pulling fs layer [2023-08-09T10:19:33.260Z] 9712f1f96733: Pulling fs layer [2023-08-09T10:19:33.260Z] 63f879dbbcfc: Pulling fs layer [2023-08-09T10:19:33.260Z] 0d9ebad4ef96: Pulling fs layer [2023-08-09T10:19:33.260Z] e9a5061849ea: Pulling fs layer [2023-08-09T10:19:33.260Z] d747dcd14b5f: Pulling fs layer [2023-08-09T10:19:33.260Z] 2de7ff778b66: Pulling fs layer [2023-08-09T10:19:33.260Z] d747dcd14b5f: Waiting [2023-08-09T10:19:33.260Z] 0d9ebad4ef96: Waiting [2023-08-09T10:19:33.260Z] e9a5061849ea: Waiting [2023-08-09T10:19:33.260Z] 9712f1f96733: Verifying Checksum [2023-08-09T10:19:33.260Z] 9712f1f96733: Download complete [2023-08-09T10:19:33.832Z] 63f879dbbcfc: Verifying Checksum [2023-08-09T10:19:33.832Z] 63f879dbbcfc: Download complete [2023-08-09T10:19:33.832Z] 0d9ebad4ef96: Verifying Checksum [2023-08-09T10:19:33.832Z] 0d9ebad4ef96: Download complete [2023-08-09T10:19:33.832Z] ab5ef0e58194: Verifying Checksum [2023-08-09T10:19:33.832Z] ab5ef0e58194: Download complete [2023-08-09T10:19:33.832Z] d747dcd14b5f: Verifying Checksum [2023-08-09T10:19:33.832Z] d747dcd14b5f: Download complete [2023-08-09T10:19:33.832Z] e9a5061849ea: Verifying Checksum [2023-08-09T10:19:33.832Z] e9a5061849ea: Download complete [2023-08-09T10:19:34.092Z] 2de7ff778b66: Verifying Checksum [2023-08-09T10:19:34.092Z] 2de7ff778b66: Download complete [2023-08-09T10:19:37.386Z] ab5ef0e58194: Pull complete [2023-08-09T10:19:37.386Z] 9712f1f96733: Pull complete [2023-08-09T10:19:38.760Z] 63f879dbbcfc: Pull complete [2023-08-09T10:19:42.950Z] 0d9ebad4ef96: Pull complete [2023-08-09T10:19:43.208Z] e9a5061849ea: Pull complete [2023-08-09T10:19:43.468Z] d747dcd14b5f: Pull complete [2023-08-09T10:19:44.841Z] 2de7ff778b66: Pull complete [2023-08-09T10:19:45.100Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-09T10:19:45.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:19:45.100Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:19:45.184Z] prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container [2023-08-09T10:19:45.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-09T10:19:55.920Z] $ docker top 34d262d2bff8ca602aea08ef26c5fbcddcc638fd1f29e3115c40200da6990f76 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:19:55.981Z] provisioning config files... [2023-08-09T10:19:55.988Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6917684187524535640tmp [2023-08-09T10:19:55.996Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1001158183288709577tmp [2023-08-09T10:19:56.005Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16566369997424883744tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:19:56.019Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:19:56.309Z] ---> sigul-configuration.sh [2023-08-09T10:19:56.309Z] gpg: directory `/root/.gnupg' created [2023-08-09T10:19:56.309Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-09T10:19:56.309Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-09T10:19:56.309Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-09T10:19:56.309Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-09T10:19:56.309Z] gpg: CAST5 encrypted data [2023-08-09T10:19:56.309Z] gpg: encrypted with 1 passphrase [2023-08-09T10:19:56.309Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-09T10:19:56.595Z] + mkdir /home/jenkins [2023-08-09T10:19:56.595Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-09T10:19:56.880Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-09T10:19:56.888Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:19:57.171Z] ---> sigul-install.sh [2023-08-09T10:19:57.171Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-09T10:19:57.462Z] + git tag --list [2023-08-09T10:19:57.462Z] 0.7.1 [2023-08-09T10:19:57.462Z] v1.0.0 [2023-08-09T10:19:57.462Z] v1.1.0 [2023-08-09T10:19:57.462Z] v1.1.1 [2023-08-09T10:19:57.462Z] v1.2.2 [2023-08-09T10:19:57.462Z] v1.3.0 [2023-08-09T10:19:57.462Z] v1.3.1 [2023-08-09T10:19:57.462Z] v2.0.0 [2023-08-09T10:19:57.462Z] v2.1.0 [2023-08-09T10:19:57.462Z] v2.1.1 [2023-08-09T10:19:57.462Z] v2.2.0 [2023-08-09T10:19:57.462Z] v2.3.0 [2023-08-09T10:19:57.462Z] v3.0 [2023-08-09T10:19:57.462Z] v3.0.0 [2023-08-09T10:19:57.462Z] v3.1.0-dev.1 [2023-08-09T10:19:57.462Z] v3.1.0-dev.2 [2023-08-09T10:19:57.462Z] v3.1.0-dev.3 [Pipeline] sh [2023-08-09T10:19:57.754Z] + lftools sign git-tag v3.1.0-dev.3 [2023-08-09T10:19:58.323Z] Signing Git tag with Sigul... [2023-08-09T10:19:58.323Z] Signing v3.1.0-dev.3 [Pipeline] echo [2023-08-09T10:19:58.589Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:19:58.877Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-09T10:19:58.884Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-09T10:19:58.909Z] $ docker stop --time=1 34d262d2bff8ca602aea08ef26c5fbcddcc638fd1f29e3115c40200da6990f76 [2023-08-09T10:20:00.218Z] $ docker rm -f --volumes 34d262d2bff8ca602aea08ef26c5fbcddcc638fd1f29e3115c40200da6990f76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-09T10:20:00.634Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:20:00.634Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:20:00.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:20:00.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:20:01.022Z] prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container [2023-08-09T10:20:01.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:20:01.423Z] $ docker top 8e798fde6fc0571f2dc9610b66e0800851925a546402514047b10ad83834a0d3 -eo pid,comm [2023-08-09T10:20:01.467Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:20:01.467Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:20:01.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:20:01.500Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:20:01.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:20:01.636Z] $ docker exec 8e798fde6fc0571f2dc9610b66e0800851925a546402514047b10ad83834a0d3 ssh-agent [2023-08-09T10:20:01.733Z] SSH_AUTH_SOCK=/tmp/ssh-danUlUXoC8FZ/agent.32 [2023-08-09T10:20:01.733Z] SSH_AGENT_PID=38 [2023-08-09T10:20:01.738Z] Running ssh-add (command line suppressed) [2023-08-09T10:20:01.838Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15249720277708967747.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15249720277708967747.key) [2023-08-09T10:20:01.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:20:02.129Z] + git semver bump pre [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,301 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,301 [bump_version] DEBUG bumped version:3.1.0-dev.4 [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,301 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,301 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,301 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,302 [execute] INFO git cat-file --batch-check [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,307 [execute] INFO git cat-file --batch [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:20:02.388Z] 2023-08-09 10:20:02,312 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-09T10:20:02.388Z] 3.1.0-dev.4 [Pipeline] } [2023-08-09T10:20:02.401Z] $ docker exec --env ******** --env ******** 8e798fde6fc0571f2dc9610b66e0800851925a546402514047b10ad83834a0d3 ssh-agent -k [2023-08-09T10:20:02.487Z] unset SSH_AUTH_SOCK; [2023-08-09T10:20:02.487Z] unset SSH_AGENT_PID; [2023-08-09T10:20:02.487Z] echo Agent pid 38 killed; [2023-08-09T10:20:02.493Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:20:02.791Z] + git semver [Pipeline] } [2023-08-09T10:20:03.372Z] $ docker stop --time=1 8e798fde6fc0571f2dc9610b66e0800851925a546402514047b10ad83834a0d3 [2023-08-09T10:20:04.796Z] $ docker rm -f --volumes 8e798fde6fc0571f2dc9610b66e0800851925a546402514047b10ad83834a0d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:20:05.131Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:20:05.131Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:20:05.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:20:05.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:20:05.524Z] prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container [2023-08-09T10:20:05.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:20:05.915Z] $ docker top efddd46819ac5ecd142621fd15c154bc48b5e4e216547af84b11c05a0e1420e7 -eo pid,comm [2023-08-09T10:20:05.966Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:20:05.966Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:20:06.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:20:06.001Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:20:06.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:20:06.122Z] $ docker exec efddd46819ac5ecd142621fd15c154bc48b5e4e216547af84b11c05a0e1420e7 ssh-agent [2023-08-09T10:20:06.233Z] SSH_AUTH_SOCK=/tmp/ssh-cH5NPOh00Xf2/agent.32 [2023-08-09T10:20:06.233Z] SSH_AGENT_PID=38 [2023-08-09T10:20:06.239Z] Running ssh-add (command line suppressed) [2023-08-09T10:20:06.382Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2186193648113442514.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2186193648113442514.key) [2023-08-09T10:20:06.390Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:20:06.679Z] + git semver push [2023-08-09T10:20:06.938Z] 2023-08-09 10:20:06,920 [run_push] DEBUG push [2023-08-09T10:20:06.938Z] 2023-08-09 10:20:06,921 [execute] INFO git cat-file --batch-check [2023-08-09T10:20:06.938Z] 2023-08-09 10:20:06,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:20:06.938Z] 2023-08-09 10:20:06,924 [execute] INFO git rev-list 4e2504600ce79b7d39901e120077c8ffe5f9d0ea -- [2023-08-09T10:20:06.938Z] 2023-08-09 10:20:06,924 [execute] DEBUG Popen(['git', 'rev-list', '4e2504600ce79b7d39901e120077c8ffe5f9d0ea', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:20:06.938Z] 2023-08-09 10:20:06,936 [execute] INFO git fetch -v origin [2023-08-09T10:20:06.938Z] 2023-08-09 10:20:06,937 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-09T10:20:07.504Z] 2023-08-09 10:20:07,435 [run_push] DEBUG no remote changes detected [2023-08-09T10:20:07.504Z] 2023-08-09 10:20:07,436 [execute] INFO git push origin semver [2023-08-09T10:20:07.504Z] 2023-08-09 10:20:07,436 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:20:08.437Z] 2023-08-09 10:20:08,254 [run_push] DEBUG push all version tags [2023-08-09T10:20:08.437Z] 2023-08-09 10:20:08,255 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-09T10:20:08.437Z] 2023-08-09 10:20:08,255 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:20:09.374Z] 2023-08-09 10:20:09,063 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-09T10:20:09.374Z] 3.1.0-dev.4 [Pipeline] } [2023-08-09T10:20:09.387Z] $ docker exec --env ******** --env ******** efddd46819ac5ecd142621fd15c154bc48b5e4e216547af84b11c05a0e1420e7 ssh-agent -k [2023-08-09T10:20:09.519Z] unset SSH_AUTH_SOCK; [2023-08-09T10:20:09.519Z] unset SSH_AGENT_PID; [2023-08-09T10:20:09.519Z] echo Agent pid 38 killed; [2023-08-09T10:20:09.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:20:09.826Z] + git semver [Pipeline] } [2023-08-09T10:20:10.099Z] $ docker stop --time=1 efddd46819ac5ecd142621fd15c154bc48b5e4e216547af84b11c05a0e1420e7 [2023-08-09T10:20:12.193Z] $ docker rm -f --volumes efddd46819ac5ecd142621fd15c154bc48b5e4e216547af84b11c05a0e1420e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-09T10:20:12.870Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-08-09T10:20:12.870Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-09T10:20:12.870Z] total 16 [2023-08-09T10:20:12.870Z] drwxr-xr-x 3 root root 4096 Aug 9 10:09 . [2023-08-09T10:20:12.870Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 10:19 .. [2023-08-09T10:20:12.870Z] drwxr-xr-x 2 root root 4096 Aug 9 10:09 cost [2023-08-09T10:20:12.870Z] -rw-r--r-- 1 root root 88 Aug 9 10:09 cost.csv [2023-08-09T10:20:12.870Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-09T10:20:12.870Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-09T10:20:12.870Z] total 16 [2023-08-09T10:20:12.870Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:09 . [2023-08-09T10:20:12.870Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 10:19 .. [2023-08-09T10:20:12.870Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:09 cost [2023-08-09T10:20:12.870Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 9 10:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:13.168Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:14.024Z] ---> package-listing.sh [2023-08-09T10:20:14.024Z] ++ facter osfamily [2023-08-09T10:20:14.024Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T10:20:14.286Z] + OS_FAMILY=debian [2023-08-09T10:20:14.286Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-08-09T10:20:14.286Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T10:20:14.286Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T10:20:14.286Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T10:20:14.286Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T10:20:14.286Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-08-09T10:20:14.286Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T10:20:14.286Z] + case "${OS_FAMILY}" in [2023-08-09T10:20:14.286Z] + dpkg -l [2023-08-09T10:20:14.286Z] + grep '^ii' [2023-08-09T10:20:14.286Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T10:20:14.286Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T10:20:14.286Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T10:20:14.286Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-08-09T10:20:14.286Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-08-09T10:20:14.286Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-08-09T10:20:14.294Z] 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-09T10:20:14.577Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:20:15.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:20:15.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:20:15.339Z] prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container [2023-08-09T10:20:15.412Z] $ 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/gexfoundry_device-modbus-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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T10:20:17.190Z] $ docker top 29d2d208ed1817dba610bc2b6853fb36d92c357586258bce46b5a055bc333d4c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:20:17.534Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T10:20:17.822Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T10:20:18.105Z] + ls /var/log/sa-host [2023-08-09T10:20:18.105Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:20:18.167Z] provisioning config files... [2023-08-09T10:20:18.173Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15114726860024207751tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:20:18.184Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:18.465Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T10:20:18.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:18.798Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T10:20:18.807Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:19.092Z] ---> sudo-logs.sh [2023-08-09T10:20:19.092Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T10:20:19.114Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:19.393Z] ---> job-cost.sh [2023-08-09T10:20:19.393Z] lf-activate-venv: SKIPPING [2023-08-09T10:20:19.393Z] DEBUG: total: 0.2199999988079071 [2023-08-09T10:20:19.393Z] INFO: Retrieving Stack Cost... [2023-08-09T10:20:19.652Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:20:20.220Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T10:20:20.232Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:20.512Z] ---> logs-deploy.sh [2023-08-09T10:20:20.512Z] lf-activate-venv: SKIPPING [2023-08-09T10:20:20.512Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/116 [2023-08-09T10:20:20.512Z] INFO: archiving workspace using pattern(s): [2023-08-09T10:20:21.460Z] Archives upload complete. [2023-08-09T10:20:21.460Z] INFO: archiving logs to Nexus