Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 091e49834ad2b8f5ca54fa7b36ec487638af0a66 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-ssh13037345835793637248.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16323502034824785313.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh18381060149877913882.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15501441449041722074.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-ssh2056128138450120123.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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-8116 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 091e49834ad2b8f5ca54fa7b36ec487638af0a66 (main) Commit message: "Merge pull request #506 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32" > 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 091e49834ad2b8f5ca54fa7b36ec487638af0a66 # timeout=10 > git rev-list --no-walk ea9b4c32d21bf45c7fb886341563953752c62ac9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-28T06:37:24.443Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-28T06:37:24.488Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-28T06:37:24.503Z] ========================================================= [2023-09-28T06:37:24.503Z] EdgeX Global Pipelines Version Info [2023-09-28T06:37:24.503Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:37:25.575Z] ------------------- [2023-09-28T06:37:25.575Z] stable info: [2023-09-28T06:37:25.575Z] ------------------- [2023-09-28T06:37:25.575Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-28T06:37:25.575Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T06:37:25.576Z] Message: update stable to v1.0.254 [2023-09-28T06:37:25.836Z] ------------------- [2023-09-28T06:37:25.836Z] experimental info: [2023-09-28T06:37:25.836Z] ------------------- [2023-09-28T06:37:25.836Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-28T06:37:25.836Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T06:37:25.836Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-28T06:37:26.021Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-28T06:37:26.032Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-28T06:37:26.044Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-28T06:37:26.057Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-28T06:37:26.069Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-28T06:37:26.082Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-28T06:37:26.093Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-28T06:37:26.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-28T06:37:26.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-28T06:37:26.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-28T06:37:26.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-28T06:37:26.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-28T06:37:26.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-28T06:37:26.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-28T06:37:26.202Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T06:37:26.215Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T06:37:26.234Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T06:37:26.246Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T06:37:26.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-28T06:37:26.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-28T06:37:26.272Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-28T06:37:26.280Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-28T06:37:26.288Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-28T06:37:26.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-28T06:37:26.321Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-28T06:37:26.335Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-28T06:37:26.351Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-28T06:37:26.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-28T06:37:26.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-28T06:37:26.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-28T06:37:26.409Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 091e49834ad2b8f5ca54fa7b36ec487638af0a66 [Pipeline] echo [2023-09-28T06:37:26.428Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 091e498 [Pipeline] echo [2023-09-28T06:37:26.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:37:26.554Z] provisioning config files... [2023-09-28T06:37:26.567Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6441551574325191281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:37:26.866Z] ---> docker-login.sh [2023-09-28T06:37:26.867Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:37:26.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:27.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:27.127Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:27.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:27.127Z] [2023-09-28T06:37:27.127Z] Login Succeeded [2023-09-28T06:37:27.127Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:37:27.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:27.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:27.127Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:27.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:27.127Z] [2023-09-28T06:37:27.127Z] Login Succeeded [2023-09-28T06:37:27.127Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:37:27.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:27.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:27.387Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:27.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:27.387Z] [2023-09-28T06:37:27.387Z] Login Succeeded [2023-09-28T06:37:27.387Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:37:27.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:27.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:27.387Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:27.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:27.387Z] [2023-09-28T06:37:27.387Z] Login Succeeded [2023-09-28T06:37:27.387Z] docker.io [2023-09-28T06:37:27.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:27.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:27.908Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:27.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:27.908Z] [2023-09-28T06:37:27.908Z] Login Succeeded [2023-09-28T06:37:27.908Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:37:27.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-28T06:37:28.288Z] + git rev-list -1 --merges 091e49834ad2b8f5ca54fa7b36ec487638af0a66~1..091e49834ad2b8f5ca54fa7b36ec487638af0a66 [Pipeline] echo [2023-09-28T06:37:28.336Z] -----------> git rev-list -1 --merges 091e49834ad2b8f5ca54fa7b36ec487638af0a66~1..091e49834ad2b8f5ca54fa7b36ec487638af0a66 091e49834ad2b8f5ca54fa7b36ec487638af0a66 [2023-09-28T06:37:28.336Z] 091e49834ad2b8f5ca54fa7b36ec487638af0a66 [false] [Pipeline] sh [2023-09-28T06:37:28.625Z] + git log --format=format:%s -1 091e49834ad2b8f5ca54fa7b36ec487638af0a66 [Pipeline] echo [2023-09-28T06:37:28.639Z] ========================================================= [2023-09-28T06:37:28.639Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-28T06:37:28.639Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T06:37:28.968Z] + git log --format=format:%s -1 091e49834ad2b8f5ca54fa7b36ec487638af0a66 [Pipeline] echo [2023-09-28T06:37:28.979Z] [semverPrep] GIT_COMMIT: 091e49834ad2b8f5ca54fa7b36ec487638af0a66, Commit Message: Merge pull request #506 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32 [Pipeline] echo [2023-09-28T06:37:28.987Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-28T06:37:29.362Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:37:29.362Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-28T06:37:29.362Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-28T06:37:29.362Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-28T06:37:29.362Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-28T06:37:29.362Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-28T06:37:29.362Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:37:29.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:37:29.778Z] [2023-09-28T06:37:29.778Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:37:30.077Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:37:30.077Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-28T06:37:30.077Z] b85a868b505f: Pulling fs layer [2023-09-28T06:37:30.077Z] e2be974225ed: Pulling fs layer [2023-09-28T06:37:30.077Z] 339a4e72a1f5: Pulling fs layer [2023-09-28T06:37:30.077Z] 988bab9f4d93: Pulling fs layer [2023-09-28T06:37:30.077Z] 1469e6f7b9e6: Pulling fs layer [2023-09-28T06:37:30.077Z] eaf3925da568: Pulling fs layer [2023-09-28T06:37:30.077Z] bab4dde63d76: Pulling fs layer [2023-09-28T06:37:30.077Z] bde34c3a00c8: Pulling fs layer [2023-09-28T06:37:30.077Z] b352a97aabf1: Pulling fs layer [2023-09-28T06:37:30.077Z] 4872d77fe225: Pulling fs layer [2023-09-28T06:37:30.077Z] 5851b861e8e6: Pulling fs layer [2023-09-28T06:37:30.077Z] 1469e6f7b9e6: Waiting [2023-09-28T06:37:30.077Z] eaf3925da568: Waiting [2023-09-28T06:37:30.077Z] bab4dde63d76: Waiting [2023-09-28T06:37:30.077Z] bde34c3a00c8: Waiting [2023-09-28T06:37:30.077Z] b352a97aabf1: Waiting [2023-09-28T06:37:30.077Z] 4872d77fe225: Waiting [2023-09-28T06:37:30.077Z] 5851b861e8e6: Waiting [2023-09-28T06:37:30.077Z] 988bab9f4d93: Waiting [2023-09-28T06:37:30.077Z] e2be974225ed: Verifying Checksum [2023-09-28T06:37:30.077Z] e2be974225ed: Download complete [2023-09-28T06:37:30.077Z] 988bab9f4d93: Download complete [2023-09-28T06:37:30.077Z] 1469e6f7b9e6: Verifying Checksum [2023-09-28T06:37:30.077Z] 1469e6f7b9e6: Download complete [2023-09-28T06:37:30.077Z] 339a4e72a1f5: Verifying Checksum [2023-09-28T06:37:30.077Z] 339a4e72a1f5: Download complete [2023-09-28T06:37:30.336Z] eaf3925da568: Verifying Checksum [2023-09-28T06:37:30.336Z] eaf3925da568: Download complete [2023-09-28T06:37:30.336Z] bde34c3a00c8: Download complete [2023-09-28T06:37:30.336Z] b352a97aabf1: Verifying Checksum [2023-09-28T06:37:30.336Z] b352a97aabf1: Download complete [2023-09-28T06:37:30.336Z] 4872d77fe225: Verifying Checksum [2023-09-28T06:37:30.336Z] 4872d77fe225: Download complete [2023-09-28T06:37:30.336Z] 5851b861e8e6: Download complete [2023-09-28T06:37:30.336Z] b85a868b505f: Verifying Checksum [2023-09-28T06:37:30.336Z] b85a868b505f: Download complete [2023-09-28T06:37:30.594Z] bab4dde63d76: Verifying Checksum [2023-09-28T06:37:30.594Z] bab4dde63d76: Download complete [2023-09-28T06:37:31.531Z] b85a868b505f: Pull complete [2023-09-28T06:37:31.791Z] e2be974225ed: Pull complete [2023-09-28T06:37:32.360Z] 339a4e72a1f5: Pull complete [2023-09-28T06:37:32.360Z] 988bab9f4d93: Pull complete [2023-09-28T06:37:32.620Z] 1469e6f7b9e6: Pull complete [2023-09-28T06:37:32.620Z] eaf3925da568: Pull complete [2023-09-28T06:37:34.548Z] bab4dde63d76: Pull complete [2023-09-28T06:37:34.809Z] bde34c3a00c8: Pull complete [2023-09-28T06:37:34.809Z] b352a97aabf1: Pull complete [2023-09-28T06:37:35.071Z] 4872d77fe225: Pull complete [2023-09-28T06:37:35.071Z] 5851b861e8e6: Pull complete [2023-09-28T06:37:35.071Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-28T06:37:35.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:37:35.071Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:37:35.167Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-09-28T06:37:35.201Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-28T06:37:37.296Z] $ docker top a525a8091e165755ea1a3435af577e9ab99672b6fae1711556c715e741822528 -eo pid,comm [2023-09-28T06:37:37.362Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-28T06:37:37.362Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:37:37.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:37:37.397Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:37:37.520Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:37:37.521Z] $ docker exec a525a8091e165755ea1a3435af577e9ab99672b6fae1711556c715e741822528 ssh-agent [2023-09-28T06:37:37.634Z] SSH_AUTH_SOCK=/tmp/ssh-uSVxp15zTuiH/agent.32 [2023-09-28T06:37:37.634Z] SSH_AGENT_PID=38 [2023-09-28T06:37:37.642Z] Running ssh-add (command line suppressed) [2023-09-28T06:37:37.757Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_46711494692840259.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_46711494692840259.key) [2023-09-28T06:37:37.775Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:37:38.063Z] + git tag --points-at HEAD [Pipeline] } [2023-09-28T06:37:38.079Z] $ docker exec --env ******** --env ******** a525a8091e165755ea1a3435af577e9ab99672b6fae1711556c715e741822528 ssh-agent -k [2023-09-28T06:37:38.185Z] unset SSH_AUTH_SOCK; [2023-09-28T06:37:38.185Z] unset SSH_AGENT_PID; [2023-09-28T06:37:38.185Z] echo Agent pid 38 killed; [2023-09-28T06:37:38.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-28T06:37:38.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:37:38.228Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:37:38.354Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:37:38.355Z] $ docker exec a525a8091e165755ea1a3435af577e9ab99672b6fae1711556c715e741822528 ssh-agent [2023-09-28T06:37:38.479Z] SSH_AUTH_SOCK=/tmp/ssh-5nFeYBBgk82W/agent.70 [2023-09-28T06:37:38.479Z] SSH_AGENT_PID=77 [2023-09-28T06:37:38.484Z] Running ssh-add (command line suppressed) [2023-09-28T06:37:38.596Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4017979694958426340.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4017979694958426340.key) [2023-09-28T06:37:38.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:37:38.900Z] + git semver init [2023-09-28T06:37:39.160Z] 2023-09-28 06:37:39,069 [run_init] DEBUG init version:0.0.0 force:False [2023-09-28T06:37:39.160Z] 2023-09-28 06:37:39,069 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-28T06:37:39.160Z] 2023-09-28 06:37:39,070 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-28T06:37:39.160Z] 2023-09-28 06:37:39,070 [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-09-28T06:37:40.098Z] 2023-09-28 06:37:39,951 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-09-28T06:37:40.098Z] 2023-09-28 06:37:39,952 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-09-28T06:37:40.098Z] 2023-09-28 06:37:39,952 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-28T06:37:40.098Z] 2023-09-28 06:37:39,952 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-28T06:37:40.098Z] 3.1.0-dev.14 [Pipeline] } [2023-09-28T06:37:40.106Z] $ docker exec --env ******** --env ******** a525a8091e165755ea1a3435af577e9ab99672b6fae1711556c715e741822528 ssh-agent -k [2023-09-28T06:37:40.208Z] unset SSH_AUTH_SOCK; [2023-09-28T06:37:40.209Z] unset SSH_AGENT_PID; [2023-09-28T06:37:40.209Z] echo Agent pid 77 killed; [2023-09-28T06:37:40.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:37:40.524Z] + git semver [Pipeline] } [2023-09-28T06:37:40.795Z] $ docker stop --time=1 a525a8091e165755ea1a3435af577e9ab99672b6fae1711556c715e741822528 [2023-09-28T06:37:42.122Z] $ docker rm -f --volumes a525a8091e165755ea1a3435af577e9ab99672b6fae1711556c715e741822528 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:37:42.465Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-28T06:37:42.675Z] Stashed 1 file(s) [Pipeline] echo [2023-09-28T06:37:42.678Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:37:42.778Z] provisioning config files... [2023-09-28T06:37:42.785Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16079764320209534151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:37:43.080Z] ---> docker-login.sh [2023-09-28T06:37:43.080Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:37:43.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:43.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:43.080Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:43.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:43.080Z] [2023-09-28T06:37:43.080Z] Login Succeeded [2023-09-28T06:37:43.080Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:37:43.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:43.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:43.080Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:43.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:43.080Z] [2023-09-28T06:37:43.080Z] Login Succeeded [2023-09-28T06:37:43.080Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:37:43.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:43.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:43.338Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:43.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:43.338Z] [2023-09-28T06:37:43.338Z] Login Succeeded [2023-09-28T06:37:43.338Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:37:43.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:43.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:43.338Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:43.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:43.338Z] [2023-09-28T06:37:43.338Z] Login Succeeded [2023-09-28T06:37:43.338Z] docker.io [2023-09-28T06:37:43.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:43.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:43.855Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:43.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:43.855Z] [2023-09-28T06:37:43.855Z] Login Succeeded [2023-09-28T06:37:43.855Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:37:43.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T06:37:43.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:37:43.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:37:43.958Z] ========================================================= [2023-09-28T06:37:43.958Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-28T06:37:43.958Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:37:44.276Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-28T06:37:44.276Z] Sending build context to Docker daemon 6.482MB [2023-09-28T06:37:44.276Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:37:44.276Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-28T06:37:44.276Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-28T06:37:44.276Z] 7264a8db6415: Pulling fs layer [2023-09-28T06:37:44.276Z] c4d48a809fc2: Pulling fs layer [2023-09-28T06:37:44.276Z] 4f1c88b9dad5: Pulling fs layer [2023-09-28T06:37:44.276Z] ad3a456e5733: Pulling fs layer [2023-09-28T06:37:44.276Z] 33e27b845d1e: Pulling fs layer [2023-09-28T06:37:44.276Z] c68163c4e522: Pulling fs layer [2023-09-28T06:37:44.276Z] ad3a456e5733: Waiting [2023-09-28T06:37:44.276Z] 33e27b845d1e: Waiting [2023-09-28T06:37:44.276Z] 50da416c3ac9: Pulling fs layer [2023-09-28T06:37:44.276Z] 23d2d4c4bb30: Pulling fs layer [2023-09-28T06:37:44.276Z] c68163c4e522: Waiting [2023-09-28T06:37:44.276Z] 50da416c3ac9: Waiting [2023-09-28T06:37:44.537Z] c4d48a809fc2: Download complete [2023-09-28T06:37:44.537Z] ad3a456e5733: Download complete [2023-09-28T06:37:44.537Z] 33e27b845d1e: Verifying Checksum [2023-09-28T06:37:44.537Z] 33e27b845d1e: Download complete [2023-09-28T06:37:44.537Z] 7264a8db6415: Verifying Checksum [2023-09-28T06:37:44.537Z] 7264a8db6415: Download complete [2023-09-28T06:37:44.537Z] c68163c4e522: Verifying Checksum [2023-09-28T06:37:44.537Z] c68163c4e522: Download complete [2023-09-28T06:37:44.537Z] 7264a8db6415: Pull complete [2023-09-28T06:37:44.794Z] 23d2d4c4bb30: Verifying Checksum [2023-09-28T06:37:44.794Z] 23d2d4c4bb30: Download complete [2023-09-28T06:37:44.794Z] c4d48a809fc2: Pull complete [2023-09-28T06:37:45.057Z] 4f1c88b9dad5: Verifying Checksum [2023-09-28T06:37:45.057Z] 4f1c88b9dad5: Download complete [2023-09-28T06:37:45.314Z] 50da416c3ac9: Verifying Checksum [2023-09-28T06:37:45.314Z] 50da416c3ac9: Download complete [2023-09-28T06:37:48.598Z] 4f1c88b9dad5: Pull complete [2023-09-28T06:37:48.598Z] ad3a456e5733: Pull complete [2023-09-28T06:37:48.598Z] 33e27b845d1e: Pull complete [2023-09-28T06:37:48.598Z] c68163c4e522: Pull complete [2023-09-28T06:37:51.131Z] 50da416c3ac9: Pull complete [2023-09-28T06:37:51.390Z] 23d2d4c4bb30: Pull complete [2023-09-28T06:37:51.390Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-28T06:37:51.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-28T06:37:51.390Z] ---> 0786185ac409 [2023-09-28T06:37:51.390Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:37:54.699Z] ---> Running in 6b6bdc521032 [2023-09-28T06:37:54.699Z] Removing intermediate container 6b6bdc521032 [2023-09-28T06:37:54.699Z] ---> 9f2e837dc160 [2023-09-28T06:37:54.699Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:37:54.699Z] ---> Running in 363e333a7475 [2023-09-28T06:37:54.699Z] Removing intermediate container 363e333a7475 [2023-09-28T06:37:54.699Z] ---> 2ef1dac37805 [2023-09-28T06:37:54.699Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-28T06:37:54.699Z] ---> Running in 4cbee7a9e477 [2023-09-28T06:37:54.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T06:37:55.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T06:37:55.795Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-28T06:37:55.795Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-28T06:37:55.795Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-28T06:37:55.795Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-28T06:37:55.795Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-28T06:37:55.795Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-28T06:37:55.795Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-28T06:37:55.795Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-28T06:37:55.795Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T06:37:55.795Z] OK: 270 MiB in 60 packages [2023-09-28T06:37:56.362Z] Removing intermediate container 4cbee7a9e477 [2023-09-28T06:37:56.362Z] ---> bbd5ce4eee49 [2023-09-28T06:37:56.362Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-28T06:37:56.362Z] ---> Running in c32b3c43801a [2023-09-28T06:37:56.362Z] Removing intermediate container c32b3c43801a [2023-09-28T06:37:56.362Z] ---> 517ccd4e7a16 [2023-09-28T06:37:56.362Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-28T06:37:56.623Z] ---> 28a3adb1038d [2023-09-28T06:37:56.623Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:37:56.623Z] ---> Running in 4b234ab281a0 [2023-09-28T06:37:57.749Z] Still waiting to schedule task [2023-09-28T06:37:57.749Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-28T06:38:52.965Z] Removing intermediate container 4b234ab281a0 [2023-09-28T06:38:52.965Z] ---> baf47075b10f [2023-09-28T06:38:52.965Z] Step 9/10 : COPY . . [2023-09-28T06:38:52.965Z] ---> 7a47e6957cd3 [2023-09-28T06:38:52.965Z] Step 10/10 : RUN ${MAKE} [2023-09-28T06:38:52.965Z] ---> Running in 45e464d5b01a [2023-09-28T06:38:52.965Z] noop [2023-09-28T06:38:52.965Z] Removing intermediate container 45e464d5b01a [2023-09-28T06:38:52.965Z] ---> f7b77ae1ab49 [2023-09-28T06:38:52.965Z] Successfully built f7b77ae1ab49 [2023-09-28T06:38:52.965Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:38:53.272Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T06:38:53.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:38:53.338Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-09-28T06:38:53.369Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-09-28T06:38:53.707Z] $ docker top 94aef9c2999a688855f178709f0f324805c58e588b4d7d0ff1c147e28ae52ad5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:38:54.052Z] + go version [2023-09-28T06:38:54.052Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-28T06:38:54.068Z] $ docker stop --time=1 94aef9c2999a688855f178709f0f324805c58e588b4d7d0ff1c147e28ae52ad5 [2023-09-28T06:38:55.324Z] $ docker rm -f --volumes 94aef9c2999a688855f178709f0f324805c58e588b4d7d0ff1c147e28ae52ad5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:38:55.726Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T06:38:55.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:38:55.798Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-09-28T06:38:55.832Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-09-28T06:38:56.184Z] $ docker top 22c553bbac5b498aa840570d98104fbefbf580302d4a5fcdbdd844c1714ca772 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:38:56.533Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-28T06:38:56.828Z] + make test [2023-09-28T06:38:56.828Z] go test ./... -coverprofile=coverage.out [2023-09-28T06:38:58.226Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-28T06:39:08.230Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-28T06:39:08.230Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.9% of statements [2023-09-28T06:39:14.786Z] go vet ./... [2023-09-28T06:39:17.843Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-28T06:39:17.843Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-28T06:39:17.843Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-28T06:39:17.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-28T06:39:17.873Z] $ docker stop --time=1 22c553bbac5b498aa840570d98104fbefbf580302d4a5fcdbdd844c1714ca772 [2023-09-28T06:39:20.918Z] $ docker rm -f --volumes 22c553bbac5b498aa840570d98104fbefbf580302d4a5fcdbdd844c1714ca772 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:39:21.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-28T06:39:21.453Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-28T06:39:22.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T06:39:22.331Z] + ls -al . [2023-09-28T06:39:22.331Z] total 192 [2023-09-28T06:39:22.331Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 06:38 . [2023-09-28T06:39:22.331Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:37 .. [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 28 06:37 .dockerignore [2023-09-28T06:39:22.331Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 06:39 .git [2023-09-28T06:39:22.331Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:37 .github [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 28 06:37 .gitignore [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 06:37 .golangci.yml [2023-09-28T06:39:22.331Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 06:37 .semver [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 28 06:37 Attribution.txt [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 28 06:37 CHANGELOG.md [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 28 06:37 Dockerfile [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 06:37 GOVERNANCE.md [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 28 06:37 Jenkinsfile [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 06:37 LICENSE [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 28 06:37 Makefile [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 06:37 OWNERS.md [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 28 06:37 README.md [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 06:37 VERSION [2023-09-28T06:39:22.331Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:37 bin [2023-09-28T06:39:22.331Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:37 cmd [2023-09-28T06:39:22.331Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 28 06:39 coverage.out [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 28 06:37 go.mod [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 28 06:37 go.sum [2023-09-28T06:39:22.331Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:37 internal [2023-09-28T06:39:22.331Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:37 simulator [2023-09-28T06:39:22.331Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:37 snap [2023-09-28T06:39:22.331Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 28 06:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:22.646Z] + 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=091e49834ad2b8f5ca54fa7b36ec487638af0a66 --label arch=amd64 --label version=3.1.0-dev.14 . [2023-09-28T06:39:22.647Z] Sending build context to Docker daemon 6.508MB [2023-09-28T06:39:22.647Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:39:22.647Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-28T06:39:22.647Z] ---> f7b77ae1ab49 [2023-09-28T06:39:22.647Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:39:22.905Z] ---> Running in a9876b4529a7 [2023-09-28T06:39:22.905Z] Removing intermediate container a9876b4529a7 [2023-09-28T06:39:22.905Z] ---> cb6075f7fef3 [2023-09-28T06:39:22.905Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:39:22.905Z] ---> Running in 0a71986dd9c3 [2023-09-28T06:39:22.905Z] Removing intermediate container 0a71986dd9c3 [2023-09-28T06:39:22.905Z] ---> c2fb6823e83f [2023-09-28T06:39:22.905Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-28T06:39:22.905Z] ---> Running in 004ef4a80ad7 [2023-09-28T06:39:23.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T06:39:23.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T06:39:23.681Z] OK: 270 MiB in 60 packages [2023-09-28T06:39:23.941Z] Removing intermediate container 004ef4a80ad7 [2023-09-28T06:39:23.941Z] ---> 4df3c2032c66 [2023-09-28T06:39:23.941Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-28T06:39:23.941Z] ---> Running in a6a8d7d33ff6 [2023-09-28T06:39:23.941Z] Removing intermediate container a6a8d7d33ff6 [2023-09-28T06:39:23.941Z] ---> ed4037a8cb92 [2023-09-28T06:39:23.941Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-28T06:39:24.200Z] ---> dc85864c2720 [2023-09-28T06:39:24.200Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:39:24.200Z] ---> Running in b94639ef7fba [2023-09-28T06:39:24.766Z] Removing intermediate container b94639ef7fba [2023-09-28T06:39:24.766Z] ---> 9eaf1c997d12 [2023-09-28T06:39:24.766Z] Step 9/22 : COPY . . [2023-09-28T06:39:25.026Z] ---> ce62278f790c [2023-09-28T06:39:25.027Z] Step 10/22 : RUN ${MAKE} [2023-09-28T06:39:25.287Z] ---> Running in 33d0684b7572 [2023-09-28T06:39:25.316Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8118 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-09-28T06:39:25.327Z] Running in /w/workspace/device-modbus-go/128 [Pipeline] { [Pipeline] checkout [2023-09-28T06:39:25.357Z] Selected Git installation does not exist. Using Default [2023-09-28T06:39:25.357Z] The recommended git tool is: NONE [2023-09-28T06:39:25.545Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-28T06:39:30.452Z] using credential edgex-jenkins-ssh [2023-09-28T06:39:30.470Z] Cloning the remote Git repository [2023-09-28T06:39:30.518Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-28T06:39:30.614Z] > git init /w/workspace/device-modbus-go/128 # timeout=10 [2023-09-28T06:39:30.751Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-28T06:39:30.752Z] > git --version # timeout=10 [2023-09-28T06:39:30.774Z] > git --version # 'git version 2.25.1' [2023-09-28T06:39:30.776Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-28T06:39:30.924Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T06:39:32.052Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-28T06:39:32.076Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T06:39:32.926Z] Avoid second fetch [2023-09-28T06:39:32.927Z] Checking out Revision 091e49834ad2b8f5ca54fa7b36ec487638af0a66 (main) [2023-09-28T06:39:33.449Z] Commit message: "Merge pull request #506 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T06:39:32.945Z] > git config core.sparsecheckout # timeout=10 [2023-09-28T06:39:33.009Z] > git checkout -f 091e49834ad2b8f5ca54fa7b36ec487638af0a66 # timeout=10 [2023-09-28T06:39:34.397Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-28T06:39:34.398Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T06:39:34.398Z] Dload Upload Total Spent Left Speed [2023-09-28T06:39:34.398Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-09-28T06:39:35.077Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-28T06:39:35.420Z] + sudo tee /etc/docker/daemon.new [2023-09-28T06:39:35.421Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-28T06:39:35.421Z] { [2023-09-28T06:39:35.421Z] "registry-mirrors": [ [2023-09-28T06:39:35.421Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-28T06:39:35.421Z] ], [2023-09-28T06:39:35.421Z] "bip": "10.250.0.254/24", [2023-09-28T06:39:35.421Z] "hosts": [ [2023-09-28T06:39:35.421Z] "tcp://0.0.0.0:5555", [2023-09-28T06:39:35.421Z] "unix:///var/run/docker.sock" [2023-09-28T06:39:35.421Z] ], [2023-09-28T06:39:35.421Z] "mtu": 1458, [2023-09-28T06:39:35.421Z] "selinux-enabled": true, [2023-09-28T06:39:35.421Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-28T06:39:35.421Z] } [Pipeline] sh [2023-09-28T06:39:35.749Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-28T06:39:36.078Z] + sudo service docker restart [2023-09-28T06:39:43.618Z] Removing intermediate container 33d0684b7572 [2023-09-28T06:39:43.618Z] ---> 5a65c4ca128d [2023-09-28T06:39:43.618Z] Step 11/22 : FROM alpine:3.18 [2023-09-28T06:39:44.186Z] 3.18: Pulling from library/alpine [2023-09-28T06:39:44.446Z] 7264a8db6415: Already exists [2023-09-28T06:39:44.446Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-28T06:39:44.446Z] Status: Downloaded newer image for alpine:3.18 [2023-09-28T06:39:44.446Z] ---> 7e01a0d0a1dc [2023-09-28T06:39:44.446Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-28T06:39:44.703Z] ---> Running in 59faa217f0d3 [2023-09-28T06:39:44.703Z] Removing intermediate container 59faa217f0d3 [2023-09-28T06:39:44.703Z] ---> d2e064fc9bff [2023-09-28T06:39:44.703Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-28T06:39:44.703Z] ---> Running in d9d911061af3 [2023-09-28T06:39:44.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T06:39:44.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T06:39:45.220Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-28T06:39:45.220Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T06:39:45.220Z] OK: 7 MiB in 16 packages [2023-09-28T06:39:45.790Z] Removing intermediate container d9d911061af3 [2023-09-28T06:39:45.790Z] ---> 8a65458c00a8 [2023-09-28T06:39:45.790Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-28T06:39:46.437Z] ---> dbebd315bed2 [2023-09-28T06:39:46.437Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-28T06:39:46.437Z] ---> 33b8dbdcd0a6 [2023-09-28T06:39:46.437Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-28T06:39:46.696Z] ---> 80fe9b64570a [2023-09-28T06:39:46.696Z] Step 17/22 : EXPOSE 59901 [2023-09-28T06:39:46.696Z] ---> Running in e4649261964c [2023-09-28T06:39:46.696Z] Removing intermediate container e4649261964c [2023-09-28T06:39:46.696Z] ---> d3706827c063 [2023-09-28T06:39:46.696Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-28T06:39:46.696Z] ---> Running in 1eeea7d133d7 [2023-09-28T06:39:46.954Z] Removing intermediate container 1eeea7d133d7 [2023-09-28T06:39:46.954Z] ---> dbb122bf1fad [2023-09-28T06:39:46.954Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-28T06:39:46.954Z] ---> Running in e65bb4ecf332 [2023-09-28T06:39:46.954Z] Removing intermediate container e65bb4ecf332 [2023-09-28T06:39:46.954Z] ---> d30e989924ce [2023-09-28T06:39:46.954Z] Step 20/22 : LABEL arch=amd64 [2023-09-28T06:39:46.954Z] ---> Running in 4d462b5f38cd [2023-09-28T06:39:46.954Z] Removing intermediate container 4d462b5f38cd [2023-09-28T06:39:46.954Z] ---> c56eac7a4ca2 [2023-09-28T06:39:46.954Z] Step 21/22 : LABEL git_sha=091e49834ad2b8f5ca54fa7b36ec487638af0a66 [2023-09-28T06:39:46.954Z] ---> Running in 0211dc74f278 [2023-09-28T06:39:47.213Z] Removing intermediate container 0211dc74f278 [2023-09-28T06:39:47.213Z] ---> 31fde806bc7c [2023-09-28T06:39:47.213Z] Step 22/22 : LABEL version=3.1.0-dev.14 [2023-09-28T06:39:47.213Z] ---> Running in 943d5eb3528b [2023-09-28T06:39:47.213Z] Removing intermediate container 943d5eb3528b [2023-09-28T06:39:47.213Z] ---> 73cea7785dac [2023-09-28T06:39:47.213Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-28T06:39:47.213Z] Successfully built 73cea7785dac [2023-09-28T06:39:47.213Z] 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-09-28T06:39:47.292Z] provisioning config files... [2023-09-28T06:39:47.300Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5189726870707984118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:39:47.597Z] ---> docker-login.sh [2023-09-28T06:39:47.597Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:39:47.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:39:47.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:39:47.597Z] Configure a credential helper to remove this warning. See [2023-09-28T06:39:47.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:39:47.597Z] [2023-09-28T06:39:47.597Z] Login Succeeded [2023-09-28T06:39:47.597Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:39:47.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:39:47.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:39:47.597Z] Configure a credential helper to remove this warning. See [2023-09-28T06:39:47.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:39:47.597Z] [2023-09-28T06:39:47.597Z] Login Succeeded [2023-09-28T06:39:47.597Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:39:47.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:39:47.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:39:47.860Z] Configure a credential helper to remove this warning. See [2023-09-28T06:39:47.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:39:47.860Z] [2023-09-28T06:39:47.860Z] Login Succeeded [2023-09-28T06:39:47.860Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:39:47.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:39:47.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:39:47.861Z] Configure a credential helper to remove this warning. See [2023-09-28T06:39:47.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:39:47.861Z] [2023-09-28T06:39:47.861Z] Login Succeeded [2023-09-28T06:39:47.861Z] docker.io [2023-09-28T06:39:47.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:39:48.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:39:48.119Z] Configure a credential helper to remove this warning. See [2023-09-28T06:39:48.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:39:48.119Z] [2023-09-28T06:39:48.119Z] Login Succeeded [2023-09-28T06:39:48.119Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:39:48.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:39:48.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:39:48.168Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-09-28T06:39:48.168Z] 091e49834ad2b8f5ca54fa7b36ec487638af0a66 [2023-09-28T06:39:48.168Z] latest [2023-09-28T06:39:48.168Z] 3.1.0-dev.14 [2023-09-28T06:39:48.168Z] 091e49834ad2b8f5ca54fa7b36ec487638af0a66-3.1.0-dev.14 [2023-09-28T06:39:48.168Z] main [2023-09-28T06:39:48.168Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:48.477Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:091e49834ad2b8f5ca54fa7b36ec487638af0a66 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:48.781Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:091e49834ad2b8f5ca54fa7b36ec487638af0a66 [2023-09-28T06:39:48.781Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-28T06:39:48.781Z] 306073520563: Preparing [2023-09-28T06:39:48.781Z] 9ecede62e879: Preparing [2023-09-28T06:39:48.781Z] d125b604c7de: Preparing [2023-09-28T06:39:48.781Z] 8b86a8f3c6e4: Preparing [2023-09-28T06:39:48.781Z] 4693057ce236: Preparing [2023-09-28T06:39:48.781Z] 4693057ce236: Layer already exists [2023-09-28T06:39:48.781Z] 9ecede62e879: Pushed [2023-09-28T06:39:48.781Z] 8b86a8f3c6e4: Pushed [2023-09-28T06:39:48.781Z] 306073520563: Pushed [2023-09-28T06:39:51.392Z] d125b604c7de: Pushed [2023-09-28T06:39:51.650Z] 091e49834ad2b8f5ca54fa7b36ec487638af0a66: digest: sha256:7ad1cc9b8156cc0c27828e2ba7087cfef66e433bcea7f0f554b81dc8fc610615 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:51.966Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:52.268Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-28T06:39:52.268Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-28T06:39:52.268Z] 306073520563: Preparing [2023-09-28T06:39:52.268Z] 9ecede62e879: Preparing [2023-09-28T06:39:52.268Z] d125b604c7de: Preparing [2023-09-28T06:39:52.268Z] 8b86a8f3c6e4: Preparing [2023-09-28T06:39:52.268Z] 4693057ce236: Preparing [2023-09-28T06:39:52.268Z] d125b604c7de: Layer already exists [2023-09-28T06:39:52.268Z] 4693057ce236: Layer already exists [2023-09-28T06:39:52.268Z] 9ecede62e879: Layer already exists [2023-09-28T06:39:52.268Z] 8b86a8f3c6e4: Layer already exists [2023-09-28T06:39:52.268Z] 306073520563: Layer already exists [2023-09-28T06:39:52.268Z] latest: digest: sha256:7ad1cc9b8156cc0c27828e2ba7087cfef66e433bcea7f0f554b81dc8fc610615 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:52.578Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:52.896Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.14 [2023-09-28T06:39:52.896Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-28T06:39:52.896Z] 306073520563: Preparing [2023-09-28T06:39:52.896Z] 9ecede62e879: Preparing [2023-09-28T06:39:52.896Z] d125b604c7de: Preparing [2023-09-28T06:39:52.896Z] 8b86a8f3c6e4: Preparing [2023-09-28T06:39:52.896Z] 4693057ce236: Preparing [2023-09-28T06:39:52.896Z] 9ecede62e879: Layer already exists [2023-09-28T06:39:52.896Z] 8b86a8f3c6e4: Layer already exists [2023-09-28T06:39:52.896Z] 306073520563: Layer already exists [2023-09-28T06:39:52.896Z] d125b604c7de: Layer already exists [2023-09-28T06:39:52.896Z] 4693057ce236: Layer already exists [2023-09-28T06:39:52.896Z] 3.1.0-dev.14: digest: sha256:7ad1cc9b8156cc0c27828e2ba7087cfef66e433bcea7f0f554b81dc8fc610615 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:53.214Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:091e49834ad2b8f5ca54fa7b36ec487638af0a66-3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:53.531Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:091e49834ad2b8f5ca54fa7b36ec487638af0a66-3.1.0-dev.14 [2023-09-28T06:39:53.531Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-28T06:39:53.531Z] 306073520563: Preparing [2023-09-28T06:39:53.531Z] 9ecede62e879: Preparing [2023-09-28T06:39:53.531Z] d125b604c7de: Preparing [2023-09-28T06:39:53.531Z] 8b86a8f3c6e4: Preparing [2023-09-28T06:39:53.531Z] 4693057ce236: Preparing [2023-09-28T06:39:53.531Z] 9ecede62e879: Layer already exists [2023-09-28T06:39:53.531Z] 8b86a8f3c6e4: Layer already exists [2023-09-28T06:39:53.531Z] 306073520563: Layer already exists [2023-09-28T06:39:53.531Z] 4693057ce236: Layer already exists [2023-09-28T06:39:53.531Z] d125b604c7de: Layer already exists [2023-09-28T06:39:53.531Z] 091e49834ad2b8f5ca54fa7b36ec487638af0a66-3.1.0-dev.14: digest: sha256:7ad1cc9b8156cc0c27828e2ba7087cfef66e433bcea7f0f554b81dc8fc610615 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:53.840Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:54.153Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-09-28T06:39:54.154Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-28T06:39:54.154Z] 306073520563: Preparing [2023-09-28T06:39:54.154Z] 9ecede62e879: Preparing [2023-09-28T06:39:54.154Z] d125b604c7de: Preparing [2023-09-28T06:39:54.154Z] 8b86a8f3c6e4: Preparing [2023-09-28T06:39:54.154Z] 4693057ce236: Preparing [2023-09-28T06:39:54.154Z] 4693057ce236: Layer already exists [2023-09-28T06:39:54.154Z] 306073520563: Layer already exists [2023-09-28T06:39:54.154Z] d125b604c7de: Layer already exists [2023-09-28T06:39:54.154Z] 9ecede62e879: Layer already exists [2023-09-28T06:39:54.154Z] 8b86a8f3c6e4: Layer already exists [2023-09-28T06:39:54.154Z] main: digest: sha256:7ad1cc9b8156cc0c27828e2ba7087cfef66e433bcea7f0f554b81dc8fc610615 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:39:54.191Z] ===================================================== [Pipeline] echo [2023-09-28T06:39:54.197Z] taggedImages: [2023-09-28T06:39:54.198Z] - nexus3.edgexfoundry.org:10004/device-modbus:091e49834ad2b8f5ca54fa7b36ec487638af0a66 [2023-09-28T06:39:54.198Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-28T06:39:54.198Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.14 [2023-09-28T06:39:54.198Z] - nexus3.edgexfoundry.org:10004/device-modbus:091e49834ad2b8f5ca54fa7b36ec487638af0a66-3.1.0-dev.14 [2023-09-28T06:39:54.198Z] - 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:39:54.339Z] provisioning config files... [2023-09-28T06:39:54.362Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/128@tmp/config5543336445413950608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:39:54.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:39:54.560Z] [2023-09-28T06:39:54.560Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:54.706Z] ---> docker-login.sh [2023-09-28T06:39:54.706Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:39:54.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:39:54.857Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-28T06:39:54.857Z] 5eb5b503b376: Pulling fs layer [2023-09-28T06:39:54.857Z] 5c69ac0246d0: Pulling fs layer [2023-09-28T06:39:54.857Z] ec43610c2a17: Pulling fs layer [2023-09-28T06:39:54.857Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-28T06:39:54.857Z] 33b1e0a273af: Pulling fs layer [2023-09-28T06:39:54.857Z] 5d3b04190fa2: Pulling fs layer [2023-09-28T06:39:54.857Z] 2f39f015ded8: Pulling fs layer [2023-09-28T06:39:54.857Z] 3a2ae6a8a46f: Waiting [2023-09-28T06:39:54.857Z] 5d3b04190fa2: Waiting [2023-09-28T06:39:54.857Z] 33b1e0a273af: Waiting [2023-09-28T06:39:54.857Z] 5c69ac0246d0: Verifying Checksum [2023-09-28T06:39:54.857Z] 5c69ac0246d0: Download complete [2023-09-28T06:39:54.857Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-28T06:39:54.857Z] 3a2ae6a8a46f: Download complete [2023-09-28T06:39:54.857Z] 33b1e0a273af: Download complete [2023-09-28T06:39:54.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:39:55.114Z] ec43610c2a17: Verifying Checksum [2023-09-28T06:39:55.114Z] ec43610c2a17: Download complete [2023-09-28T06:39:55.114Z] 5d3b04190fa2: Verifying Checksum [2023-09-28T06:39:55.114Z] 5d3b04190fa2: Download complete [2023-09-28T06:39:55.114Z] 5eb5b503b376: Verifying Checksum [2023-09-28T06:39:55.114Z] 5eb5b503b376: Download complete [2023-09-28T06:39:55.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:39:55.246Z] Configure a credential helper to remove this warning. See [2023-09-28T06:39:55.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:39:55.246Z] [2023-09-28T06:39:55.246Z] Login Succeeded [2023-09-28T06:39:55.246Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:39:55.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:39:55.680Z] 2f39f015ded8: Download complete [2023-09-28T06:39:55.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:39:55.786Z] Configure a credential helper to remove this warning. See [2023-09-28T06:39:55.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:39:55.786Z] [2023-09-28T06:39:55.786Z] Login Succeeded [2023-09-28T06:39:55.786Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:39:55.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:39:56.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:39:56.064Z] Configure a credential helper to remove this warning. See [2023-09-28T06:39:56.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:39:56.064Z] [2023-09-28T06:39:56.064Z] Login Succeeded [2023-09-28T06:39:56.064Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:39:56.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:39:56.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:39:56.335Z] Configure a credential helper to remove this warning. See [2023-09-28T06:39:56.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:39:56.335Z] [2023-09-28T06:39:56.335Z] Login Succeeded [2023-09-28T06:39:56.335Z] docker.io [2023-09-28T06:39:56.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:39:56.616Z] 5eb5b503b376: Pull complete [2023-09-28T06:39:56.616Z] 5c69ac0246d0: Pull complete [2023-09-28T06:39:56.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:39:56.873Z] Configure a credential helper to remove this warning. See [2023-09-28T06:39:56.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:39:56.873Z] [2023-09-28T06:39:56.873Z] Login Succeeded [2023-09-28T06:39:56.873Z] ---> docker-login.sh ends [2023-09-28T06:39:56.874Z] ec43610c2a17: Pull complete [Pipeline] } [2023-09-28T06:39:56.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-09-28T06:39:57.133Z] 3a2ae6a8a46f: Pull complete [Pipeline] echo [2023-09-28T06:39:57.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:39:57.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:39:57.181Z] ========================================================= [2023-09-28T06:39:57.181Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-28T06:39:57.181Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:57.395Z] 33b1e0a273af: Pull complete [2023-09-28T06:39:57.395Z] 5d3b04190fa2: Pull complete [2023-09-28T06:39:57.530Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-28T06:39:57.806Z] Sending build context to Docker daemon 3.364MB [2023-09-28T06:39:57.806Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:39:57.806Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-28T06:39:58.086Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-28T06:39:58.086Z] 9fda8d8052c6: Pulling fs layer [2023-09-28T06:39:58.086Z] 5d54e960e981: Pulling fs layer [2023-09-28T06:39:58.086Z] c4a7e357bf2a: Pulling fs layer [2023-09-28T06:39:58.086Z] f0e02332f6b5: Pulling fs layer [2023-09-28T06:39:58.086Z] cefa15bbcfad: Pulling fs layer [2023-09-28T06:39:58.086Z] f0e02332f6b5: Waiting [2023-09-28T06:39:58.086Z] 17808c966233: Pulling fs layer [2023-09-28T06:39:58.086Z] f4c1fc716caa: Pulling fs layer [2023-09-28T06:39:58.086Z] cefa15bbcfad: Waiting [2023-09-28T06:39:58.086Z] 17808c966233: Waiting [2023-09-28T06:39:58.086Z] f4c1fc716caa: Waiting [2023-09-28T06:39:58.086Z] 5d54e960e981: Verifying Checksum [2023-09-28T06:39:58.086Z] 5d54e960e981: Download complete [2023-09-28T06:39:58.086Z] f0e02332f6b5: Verifying Checksum [2023-09-28T06:39:58.086Z] f0e02332f6b5: Download complete [2023-09-28T06:39:58.086Z] cefa15bbcfad: Verifying Checksum [2023-09-28T06:39:58.086Z] cefa15bbcfad: Download complete [2023-09-28T06:39:58.086Z] 9fda8d8052c6: Verifying Checksum [2023-09-28T06:39:58.086Z] 9fda8d8052c6: Download complete [2023-09-28T06:39:58.688Z] f4c1fc716caa: Verifying Checksum [2023-09-28T06:39:58.688Z] f4c1fc716caa: Download complete [2023-09-28T06:39:58.962Z] 9fda8d8052c6: Pull complete [2023-09-28T06:39:59.943Z] c4a7e357bf2a: Verifying Checksum [2023-09-28T06:39:59.944Z] c4a7e357bf2a: Download complete [2023-09-28T06:40:00.921Z] 17808c966233: Verifying Checksum [2023-09-28T06:40:00.921Z] 17808c966233: Download complete [2023-09-28T06:40:01.513Z] 5d54e960e981: Pull complete [2023-09-28T06:40:01.577Z] 2f39f015ded8: Pull complete [2023-09-28T06:40:01.577Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-28T06:40:01.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:40:01.577Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:40:01.657Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-09-28T06:40:01.694Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-28T06:40:05.391Z] $ docker top 4e6e6c4e28eb9cc9985f0913dc2dda882c957659e6f4b209672f229033b8f036 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:40:05.809Z] ---> job-cost.sh [2023-09-28T06:40:05.809Z] lf-activate-venv: SKIPPING [2023-09-28T06:40:05.809Z] INFO: No Stack... [2023-09-28T06:40:06.068Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T06:40:06.330Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T06:40:06.620Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-09-28T06:40:06.620Z] + cut -d, -f6 [Pipeline] lock [2023-09-28T06:40:06.632Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-128-stack-cost] [2023-09-28T06:40:06.641Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-128-stack-cost] did not exist. Created. [2023-09-28T06:40:06.641Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T06:40:06.964Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-28T06:40:06.987Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T06:40:06.993Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T06:40:07.013Z] $ docker stop --time=1 4e6e6c4e28eb9cc9985f0913dc2dda882c957659e6f4b209672f229033b8f036 [2023-09-28T06:40:08.159Z] $ docker rm -f --volumes 4e6e6c4e28eb9cc9985f0913dc2dda882c957659e6f4b209672f229033b8f036 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-28T06:40:16.538Z] c4a7e357bf2a: Pull complete [2023-09-28T06:40:16.538Z] f0e02332f6b5: Pull complete [2023-09-28T06:40:16.538Z] cefa15bbcfad: Pull complete [2023-09-28T06:40:23.307Z] 17808c966233: Pull complete [2023-09-28T06:40:24.727Z] f4c1fc716caa: Pull complete [2023-09-28T06:40:24.727Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-28T06:40:24.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-28T06:40:24.727Z] ---> ea914061e18c [2023-09-28T06:40:24.727Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:40:26.675Z] ---> Running in 660af707716b [2023-09-28T06:40:26.675Z] Removing intermediate container 660af707716b [2023-09-28T06:40:26.675Z] ---> a9803394462b [2023-09-28T06:40:26.675Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:40:26.675Z] ---> Running in 35a26a2e6f1c [2023-09-28T06:40:26.947Z] Removing intermediate container 35a26a2e6f1c [2023-09-28T06:40:26.947Z] ---> 9c1437e3d588 [2023-09-28T06:40:26.947Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-28T06:40:27.222Z] ---> Running in 89d2e7660460 [2023-09-28T06:40:28.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T06:40:28.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T06:40:29.595Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-28T06:40:29.595Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-28T06:40:29.595Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-28T06:40:29.866Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-28T06:40:29.866Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-28T06:40:29.866Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-28T06:40:29.866Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-28T06:40:29.866Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-28T06:40:29.866Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T06:40:29.866Z] OK: 272 MiB in 60 packages [2023-09-28T06:40:30.832Z] Removing intermediate container 89d2e7660460 [2023-09-28T06:40:30.832Z] ---> 2723ef892b8b [2023-09-28T06:40:30.832Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-28T06:40:31.100Z] ---> Running in ccd4525bbc5e [2023-09-28T06:40:31.370Z] Removing intermediate container ccd4525bbc5e [2023-09-28T06:40:31.370Z] ---> 20d778fb66d8 [2023-09-28T06:40:31.370Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-28T06:40:31.953Z] ---> e167351f8819 [2023-09-28T06:40:31.953Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:40:31.953Z] ---> Running in 478046acb7c7 [2023-09-28T06:41:39.850Z] Removing intermediate container 478046acb7c7 [2023-09-28T06:41:39.850Z] ---> ae25a19bc348 [2023-09-28T06:41:39.850Z] Step 9/10 : COPY . . [2023-09-28T06:41:39.850Z] ---> b41dd2ecbb7a [2023-09-28T06:41:39.850Z] Step 10/10 : RUN ${MAKE} [2023-09-28T06:41:39.850Z] ---> Running in d848c1098f0c [2023-09-28T06:41:40.817Z] noop [2023-09-28T06:41:41.402Z] Removing intermediate container d848c1098f0c [2023-09-28T06:41:41.402Z] ---> 4d8ae31010d4 [2023-09-28T06:41:41.402Z] Successfully built 4d8ae31010d4 [2023-09-28T06:41:41.402Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:41:41.765Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T06:41:41.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:41:41.976Z] prd-ubuntu20.04-docker-arm64-4c-16g-8118 does not seem to be running inside a container [2023-09-28T06:41:42.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/128 -v /w/workspace/device-modbus-go/128:/w/workspace/device-modbus-go/128:rw,z -v /w/workspace/device-modbus-go/128@tmp:/w/workspace/device-modbus-go/128@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-arm64 cat [2023-09-28T06:41:43.219Z] $ docker top c0c30bf13abadf604c0c12c49b8fb4d13ff7198e5ad826e5f06d6ea244d2aa98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:41:44.050Z] + go version [2023-09-28T06:41:44.050Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-28T06:41:44.072Z] $ docker stop --time=1 c0c30bf13abadf604c0c12c49b8fb4d13ff7198e5ad826e5f06d6ea244d2aa98 [2023-09-28T06:41:45.665Z] $ docker rm -f --volumes c0c30bf13abadf604c0c12c49b8fb4d13ff7198e5ad826e5f06d6ea244d2aa98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:41:46.175Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T06:41:46.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:41:46.350Z] prd-ubuntu20.04-docker-arm64-4c-16g-8118 does not seem to be running inside a container [2023-09-28T06:41:46.417Z] $ 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/128 -v /w/workspace/device-modbus-go/128:/w/workspace/device-modbus-go/128:rw,z -v /w/workspace/device-modbus-go/128@tmp:/w/workspace/device-modbus-go/128@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-arm64 cat [2023-09-28T06:41:47.476Z] $ docker top 85b6b13034698feacb0f49b0f65a5d7219a50fd77026b37ff79ec61f4d55b6d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:41:47.960Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/128 [Pipeline] fileExists [Pipeline] sh [2023-09-28T06:41:48.292Z] + make test [2023-09-28T06:41:48.292Z] go test ./... -coverprofile=coverage.out [2023-09-28T06:41:52.540Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-28T06:43:29.198Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-28T06:43:29.198Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.9% of statements [2023-09-28T06:43:29.198Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-28T06:43:29.198Z] go vet ./... [2023-09-28T06:43:51.305Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-28T06:43:51.305Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-28T06:43:51.305Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-28T06:43:51.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-28T06:43:51.338Z] $ docker stop --time=1 85b6b13034698feacb0f49b0f65a5d7219a50fd77026b37ff79ec61f4d55b6d7 [2023-09-28T06:43:55.091Z] $ docker rm -f --volumes 85b6b13034698feacb0f49b0f65a5d7219a50fd77026b37ff79ec61f4d55b6d7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:43:56.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-28T06:43:56.364Z] Warning: overwriting stash ‘coverage-report’ [2023-09-28T06:43:56.783Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T06:43:57.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T06:43:57.488Z] + ls -al . [2023-09-28T06:43:57.488Z] total 188 [2023-09-28T06:43:57.488Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 06:41 . [2023-09-28T06:43:57.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:39 .. [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 28 06:39 .dockerignore [2023-09-28T06:43:57.488Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 06:39 .git [2023-09-28T06:43:57.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:39 .github [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 28 06:39 .gitignore [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 06:39 .golangci.yml [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 28 06:39 Attribution.txt [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 28 06:39 CHANGELOG.md [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 28 06:39 Dockerfile [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 06:39 GOVERNANCE.md [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 28 06:39 Jenkinsfile [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 06:39 LICENSE [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 28 06:39 Makefile [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 06:39 OWNERS.md [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 28 06:39 README.md [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 06:37 VERSION [2023-09-28T06:43:57.488Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:39 bin [2023-09-28T06:43:57.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:39 cmd [2023-09-28T06:43:57.488Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 28 06:43 coverage.out [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 28 06:39 go.mod [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 28 06:39 go.sum [2023-09-28T06:43:57.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:39 internal [2023-09-28T06:43:57.488Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:39 simulator [2023-09-28T06:43:57.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:39 snap [2023-09-28T06:43:57.488Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 28 06:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:43:57.830Z] + 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=091e49834ad2b8f5ca54fa7b36ec487638af0a66 --label arch=arm64 --label version=3.1.0-dev.14 . [2023-09-28T06:43:58.102Z] Sending build context to Docker daemon 3.389MB [2023-09-28T06:43:58.102Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:43:58.102Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-28T06:43:58.102Z] ---> 4d8ae31010d4 [2023-09-28T06:43:58.102Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:43:58.369Z] ---> Running in 76d8c979e257 [2023-09-28T06:43:58.642Z] Removing intermediate container 76d8c979e257 [2023-09-28T06:43:58.642Z] ---> 4b7a0861ac1b [2023-09-28T06:43:58.642Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:43:58.642Z] ---> Running in ca5dc7d8dc23 [2023-09-28T06:43:59.232Z] Removing intermediate container ca5dc7d8dc23 [2023-09-28T06:43:59.232Z] ---> 53f9654d9f0f [2023-09-28T06:43:59.232Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-28T06:43:59.232Z] ---> Running in 8729917eac5d [2023-09-28T06:44:00.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T06:44:00.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T06:44:02.338Z] OK: 272 MiB in 60 packages [2023-09-28T06:44:03.770Z] Removing intermediate container 8729917eac5d [2023-09-28T06:44:03.770Z] ---> e3ceb24c028c [2023-09-28T06:44:03.770Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-28T06:44:03.770Z] ---> Running in 59b9fe50f03f [2023-09-28T06:44:04.354Z] Removing intermediate container 59b9fe50f03f [2023-09-28T06:44:04.354Z] ---> b85a1935ca76 [2023-09-28T06:44:04.354Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-28T06:44:04.939Z] ---> b7798af072b7 [2023-09-28T06:44:04.939Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:44:04.939Z] ---> Running in 793c0f15fe4d [2023-09-28T06:44:10.306Z] Removing intermediate container 793c0f15fe4d [2023-09-28T06:44:10.306Z] ---> d20f7855eb50 [2023-09-28T06:44:10.306Z] Step 9/22 : COPY . . [2023-09-28T06:44:10.576Z] ---> 75fa34a01724 [2023-09-28T06:44:10.576Z] Step 10/22 : RUN ${MAKE} [2023-09-28T06:44:10.576Z] ---> Running in 0fbb87c7dbe0 [2023-09-28T06:44:11.539Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-28T06:46:18.231Z] Removing intermediate container 0fbb87c7dbe0 [2023-09-28T06:46:18.231Z] ---> 89ec6a0dca03 [2023-09-28T06:46:18.231Z] Step 11/22 : FROM alpine:3.18 [2023-09-28T06:46:18.231Z] 3.18: Pulling from library/alpine [2023-09-28T06:46:18.231Z] 9fda8d8052c6: Already exists [2023-09-28T06:46:18.231Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-28T06:46:18.231Z] Status: Downloaded newer image for alpine:3.18 [2023-09-28T06:46:18.231Z] ---> f6648c04cd6c [2023-09-28T06:46:18.231Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-28T06:46:18.231Z] ---> Running in fc7f71e8be51 [2023-09-28T06:46:18.231Z] Removing intermediate container fc7f71e8be51 [2023-09-28T06:46:18.231Z] ---> 6425ff58b171 [2023-09-28T06:46:18.231Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-28T06:46:18.231Z] ---> Running in 69f6a5a20ffe [2023-09-28T06:46:18.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T06:46:18.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T06:46:18.818Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-28T06:46:18.818Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T06:46:18.818Z] OK: 8 MiB in 16 packages [2023-09-28T06:46:21.404Z] Removing intermediate container 69f6a5a20ffe [2023-09-28T06:46:21.404Z] ---> 431517914116 [2023-09-28T06:46:21.404Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-28T06:46:22.815Z] ---> b0cf18fd8216 [2023-09-28T06:46:22.815Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-28T06:46:23.082Z] ---> bc5518e0cf1e [2023-09-28T06:46:23.082Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-28T06:46:23.666Z] ---> 101d09505c2c [2023-09-28T06:46:23.666Z] Step 17/22 : EXPOSE 59901 [2023-09-28T06:46:23.666Z] ---> Running in f998ad875b7d [2023-09-28T06:46:23.935Z] Removing intermediate container f998ad875b7d [2023-09-28T06:46:23.935Z] ---> 55ad26c83a7d [2023-09-28T06:46:23.935Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-28T06:46:23.935Z] ---> Running in 59c3052f79f4 [2023-09-28T06:46:24.214Z] Removing intermediate container 59c3052f79f4 [2023-09-28T06:46:24.214Z] ---> d4e9f9dddba4 [2023-09-28T06:46:24.214Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-28T06:46:24.214Z] ---> Running in 6df4cceed7a5 [2023-09-28T06:46:24.809Z] Removing intermediate container 6df4cceed7a5 [2023-09-28T06:46:24.809Z] ---> b7576606a817 [2023-09-28T06:46:24.809Z] Step 20/22 : LABEL arch=arm64 [2023-09-28T06:46:24.809Z] ---> Running in 185cc658d333 [2023-09-28T06:46:25.076Z] Removing intermediate container 185cc658d333 [2023-09-28T06:46:25.076Z] ---> b1178eff5b21 [2023-09-28T06:46:25.076Z] Step 21/22 : LABEL git_sha=091e49834ad2b8f5ca54fa7b36ec487638af0a66 [2023-09-28T06:46:25.076Z] ---> Running in f1654fec776c [2023-09-28T06:46:25.343Z] Removing intermediate container f1654fec776c [2023-09-28T06:46:25.343Z] ---> c02f5584a2b6 [2023-09-28T06:46:25.343Z] Step 22/22 : LABEL version=3.1.0-dev.14 [2023-09-28T06:46:25.343Z] ---> Running in d6c7058efc38 [2023-09-28T06:46:25.610Z] Removing intermediate container d6c7058efc38 [2023-09-28T06:46:25.610Z] ---> ee22dc451ddc [2023-09-28T06:46:25.610Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-28T06:46:25.610Z] Successfully built ee22dc451ddc [2023-09-28T06:46:25.610Z] 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-09-28T06:46:25.731Z] provisioning config files... [2023-09-28T06:46:25.746Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/128@tmp/config16218111840849951721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:46:26.082Z] ---> docker-login.sh [2023-09-28T06:46:26.082Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:46:26.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:46:26.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:46:26.350Z] Configure a credential helper to remove this warning. See [2023-09-28T06:46:26.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:46:26.350Z] [2023-09-28T06:46:26.350Z] Login Succeeded [2023-09-28T06:46:26.350Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:46:26.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:46:26.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:46:26.617Z] Configure a credential helper to remove this warning. See [2023-09-28T06:46:26.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:46:26.617Z] [2023-09-28T06:46:26.617Z] Login Succeeded [2023-09-28T06:46:26.617Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:46:26.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:46:27.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:46:27.151Z] Configure a credential helper to remove this warning. See [2023-09-28T06:46:27.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:46:27.151Z] [2023-09-28T06:46:27.151Z] Login Succeeded [2023-09-28T06:46:27.151Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:46:27.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:46:27.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:46:27.419Z] Configure a credential helper to remove this warning. See [2023-09-28T06:46:27.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:46:27.419Z] [2023-09-28T06:46:27.419Z] Login Succeeded [2023-09-28T06:46:27.419Z] docker.io [2023-09-28T06:46:27.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:46:27.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:46:27.952Z] Configure a credential helper to remove this warning. See [2023-09-28T06:46:27.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:46:27.952Z] [2023-09-28T06:46:27.952Z] Login Succeeded [2023-09-28T06:46:27.952Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:46:27.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:46:27.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:46:28.023Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-09-28T06:46:28.023Z] 091e49834ad2b8f5ca54fa7b36ec487638af0a66 [2023-09-28T06:46:28.023Z] latest [2023-09-28T06:46:28.023Z] 3.1.0-dev.14 [2023-09-28T06:46:28.023Z] 091e49834ad2b8f5ca54fa7b36ec487638af0a66-3.1.0-dev.14 [2023-09-28T06:46:28.023Z] main [2023-09-28T06:46:28.023Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:28.380Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:091e49834ad2b8f5ca54fa7b36ec487638af0a66 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:28.719Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:091e49834ad2b8f5ca54fa7b36ec487638af0a66 [2023-09-28T06:46:28.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-28T06:46:28.719Z] 2d9184b89d18: Preparing [2023-09-28T06:46:28.719Z] 1c316e002123: Preparing [2023-09-28T06:46:28.719Z] a953c41b7a71: Preparing [2023-09-28T06:46:28.719Z] e03fce8fdd3a: Preparing [2023-09-28T06:46:28.719Z] b2191e2be29d: Preparing [2023-09-28T06:46:28.719Z] b2191e2be29d: Layer already exists [2023-09-28T06:46:28.988Z] 2d9184b89d18: Pushed [2023-09-28T06:46:28.988Z] e03fce8fdd3a: Pushed [2023-09-28T06:46:28.988Z] 1c316e002123: Pushed [2023-09-28T06:46:34.513Z] a953c41b7a71: Pushed [2023-09-28T06:46:34.513Z] 091e49834ad2b8f5ca54fa7b36ec487638af0a66: digest: sha256:d43b21bb967fe4128e4bce164a7e38e9971f040aa1ac4a3470a7a1f1793e020d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:34.858Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:35.207Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-28T06:46:35.207Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-28T06:46:35.207Z] 2d9184b89d18: Preparing [2023-09-28T06:46:35.207Z] 1c316e002123: Preparing [2023-09-28T06:46:35.207Z] a953c41b7a71: Preparing [2023-09-28T06:46:35.207Z] e03fce8fdd3a: Preparing [2023-09-28T06:46:35.207Z] b2191e2be29d: Preparing [2023-09-28T06:46:35.207Z] 1c316e002123: Layer already exists [2023-09-28T06:46:35.207Z] b2191e2be29d: Layer already exists [2023-09-28T06:46:35.207Z] a953c41b7a71: Layer already exists [2023-09-28T06:46:35.207Z] 2d9184b89d18: Layer already exists [2023-09-28T06:46:35.207Z] e03fce8fdd3a: Layer already exists [2023-09-28T06:46:35.207Z] latest: digest: sha256:d43b21bb967fe4128e4bce164a7e38e9971f040aa1ac4a3470a7a1f1793e020d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:35.826Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:36.239Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.14 [2023-09-28T06:46:36.239Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-28T06:46:36.239Z] 2d9184b89d18: Preparing [2023-09-28T06:46:36.239Z] 1c316e002123: Preparing [2023-09-28T06:46:36.239Z] a953c41b7a71: Preparing [2023-09-28T06:46:36.239Z] e03fce8fdd3a: Preparing [2023-09-28T06:46:36.239Z] b2191e2be29d: Preparing [2023-09-28T06:46:36.239Z] 2d9184b89d18: Layer already exists [2023-09-28T06:46:36.239Z] e03fce8fdd3a: Layer already exists [2023-09-28T06:46:36.239Z] 1c316e002123: Layer already exists [2023-09-28T06:46:36.239Z] b2191e2be29d: Layer already exists [2023-09-28T06:46:36.239Z] a953c41b7a71: Layer already exists [2023-09-28T06:46:36.511Z] 3.1.0-dev.14: digest: sha256:d43b21bb967fe4128e4bce164a7e38e9971f040aa1ac4a3470a7a1f1793e020d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:36.862Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:091e49834ad2b8f5ca54fa7b36ec487638af0a66-3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:37.214Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:091e49834ad2b8f5ca54fa7b36ec487638af0a66-3.1.0-dev.14 [2023-09-28T06:46:37.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-28T06:46:37.214Z] 2d9184b89d18: Preparing [2023-09-28T06:46:37.214Z] 1c316e002123: Preparing [2023-09-28T06:46:37.214Z] a953c41b7a71: Preparing [2023-09-28T06:46:37.214Z] e03fce8fdd3a: Preparing [2023-09-28T06:46:37.214Z] b2191e2be29d: Preparing [2023-09-28T06:46:37.214Z] b2191e2be29d: Layer already exists [2023-09-28T06:46:37.214Z] 2d9184b89d18: Layer already exists [2023-09-28T06:46:37.214Z] a953c41b7a71: Layer already exists [2023-09-28T06:46:37.214Z] 1c316e002123: Layer already exists [2023-09-28T06:46:37.214Z] e03fce8fdd3a: Layer already exists [2023-09-28T06:46:37.214Z] 091e49834ad2b8f5ca54fa7b36ec487638af0a66-3.1.0-dev.14: digest: sha256:d43b21bb967fe4128e4bce164a7e38e9971f040aa1ac4a3470a7a1f1793e020d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:37.837Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:38.178Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-09-28T06:46:38.178Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-28T06:46:38.178Z] 2d9184b89d18: Preparing [2023-09-28T06:46:38.178Z] 1c316e002123: Preparing [2023-09-28T06:46:38.178Z] a953c41b7a71: Preparing [2023-09-28T06:46:38.178Z] e03fce8fdd3a: Preparing [2023-09-28T06:46:38.178Z] b2191e2be29d: Preparing [2023-09-28T06:46:38.178Z] b2191e2be29d: Layer already exists [2023-09-28T06:46:38.178Z] e03fce8fdd3a: Layer already exists [2023-09-28T06:46:38.178Z] 1c316e002123: Layer already exists [2023-09-28T06:46:38.178Z] 2d9184b89d18: Layer already exists [2023-09-28T06:46:38.178Z] a953c41b7a71: Layer already exists [2023-09-28T06:46:38.444Z] main: digest: sha256:d43b21bb967fe4128e4bce164a7e38e9971f040aa1ac4a3470a7a1f1793e020d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:46:38.489Z] ===================================================== [Pipeline] echo [2023-09-28T06:46:38.496Z] taggedImages: [2023-09-28T06:46:38.496Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:091e49834ad2b8f5ca54fa7b36ec487638af0a66 [2023-09-28T06:46:38.496Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-28T06:46:38.496Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.14 [2023-09-28T06:46:38.496Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:091e49834ad2b8f5ca54fa7b36ec487638af0a66-3.1.0-dev.14 [2023-09-28T06:46:38.496Z] - 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-09-28T06:46:38.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T06:46:38.858Z] [2023-09-28T06:46:38.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:46:39.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T06:46:39.194Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-28T06:46:39.194Z] 8998bd30e6a1: Pulling fs layer [2023-09-28T06:46:39.194Z] 04944245beec: Pulling fs layer [2023-09-28T06:46:39.194Z] 699f458cf7ca: Pulling fs layer [2023-09-28T06:46:39.194Z] 765212b225bb: Pulling fs layer [2023-09-28T06:46:39.194Z] f23df028b6ca: Pulling fs layer [2023-09-28T06:46:39.194Z] d65c8cfc05b1: Pulling fs layer [2023-09-28T06:46:39.194Z] 2437ff75d9bd: Pulling fs layer [2023-09-28T06:46:39.194Z] f23df028b6ca: Waiting [2023-09-28T06:46:39.194Z] 765212b225bb: Waiting [2023-09-28T06:46:39.194Z] d65c8cfc05b1: Waiting [2023-09-28T06:46:39.194Z] 2437ff75d9bd: Waiting [2023-09-28T06:46:39.462Z] 04944245beec: Verifying Checksum [2023-09-28T06:46:39.462Z] 04944245beec: Download complete [2023-09-28T06:46:39.462Z] 765212b225bb: Verifying Checksum [2023-09-28T06:46:39.462Z] 765212b225bb: Download complete [2023-09-28T06:46:39.462Z] f23df028b6ca: Verifying Checksum [2023-09-28T06:46:39.462Z] f23df028b6ca: Download complete [2023-09-28T06:46:39.462Z] d65c8cfc05b1: Verifying Checksum [2023-09-28T06:46:39.462Z] d65c8cfc05b1: Download complete [2023-09-28T06:46:39.462Z] 699f458cf7ca: Verifying Checksum [2023-09-28T06:46:39.462Z] 699f458cf7ca: Download complete [2023-09-28T06:46:40.049Z] 8998bd30e6a1: Verifying Checksum [2023-09-28T06:46:40.049Z] 8998bd30e6a1: Download complete [2023-09-28T06:46:42.635Z] 2437ff75d9bd: Verifying Checksum [2023-09-28T06:46:44.044Z] 8998bd30e6a1: Pull complete [2023-09-28T06:46:44.312Z] 04944245beec: Pull complete [2023-09-28T06:46:47.653Z] 699f458cf7ca: Pull complete [2023-09-28T06:46:47.653Z] 765212b225bb: Pull complete [2023-09-28T06:46:48.237Z] f23df028b6ca: Pull complete [2023-09-28T06:46:48.504Z] d65c8cfc05b1: Pull complete [2023-09-28T06:47:03.490Z] 2437ff75d9bd: Pull complete [2023-09-28T06:47:03.490Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-28T06:47:03.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T06:47:03.490Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:47:03.673Z] prd-ubuntu20.04-docker-arm64-4c-16g-8118 does not seem to be running inside a container [2023-09-28T06:47:03.743Z] $ 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/128 -v /w/workspace/device-modbus-go/128:/w/workspace/device-modbus-go/128:rw,z -v /w/workspace/device-modbus-go/128@tmp:/w/workspace/device-modbus-go/128@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:arm64 cat [2023-09-28T06:47:06.240Z] $ docker top 7653c7d9e1650317262f99970c1ac9dca6a45c627106dcbcb38bf243cda049cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:47:07.079Z] ---> job-cost.sh [2023-09-28T06:47:07.079Z] lf-activate-venv: SKIPPING [2023-09-28T06:47:07.079Z] INFO: No Stack... [2023-09-28T06:47:07.346Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-28T06:47:08.302Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T06:47:08.622Z] + cat /w/workspace/device-modbus-go/128/archives/cost.csv [2023-09-28T06:47:08.622Z] + cut -d, -f6 [Pipeline] lock [2023-09-28T06:47:08.693Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-128-stack-cost] [2023-09-28T06:47:08.699Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-128-stack-cost] did not exist. Created. [2023-09-28T06:47:08.699Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T06:47:09.357Z] /w/workspace/device-modbus-go/128@tmp/durable-485ee684/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-28T06:47:09.689Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-28T06:47:09.979Z] Warning: overwriting stash ‘stack-cost’ [2023-09-28T06:47:10.042Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T06:47:10.049Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T06:47:10.069Z] $ docker stop --time=1 7653c7d9e1650317262f99970c1ac9dca6a45c627106dcbcb38bf243cda049cf [2023-09-28T06:47:11.622Z] $ docker rm -f --volumes 7653c7d9e1650317262f99970c1ac9dca6a45c627106dcbcb38bf243cda049cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-28T06:47:12.031Z] provisioning config files... [2023-09-28T06:47:12.039Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8392544730739216409tmp [Pipeline] { [Pipeline] sh [2023-09-28T06:47:12.330Z] + set +x [2023-09-28T06:47:12.330Z] + + curl -s https://codecov.io/bash [2023-09-28T06:47:12.330Z] bash -s -- [2023-09-28T06:47:12.589Z] [2023-09-28T06:47:12.589Z] _____ _ [2023-09-28T06:47:12.589Z] / ____| | | [2023-09-28T06:47:12.589Z] | | ___ __| | ___ ___ _____ __ [2023-09-28T06:47:12.589Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-28T06:47:12.589Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-28T06:47:12.589Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-28T06:47:12.589Z] Bash-1.0.6 [2023-09-28T06:47:12.589Z] [2023-09-28T06:47:12.589Z] [2023-09-28T06:47:12.589Z] ==> git version 2.25.1 found [2023-09-28T06:47:12.589Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-28T06:47:12.589Z] Release-Date: 2020-01-08 [2023-09-28T06:47:12.589Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-28T06:47:12.589Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-28T06:47:12.589Z] ==> Jenkins CI detected. [2023-09-28T06:47:12.589Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-09-28T06:47:12.589Z] project root: . [2023-09-28T06:47:12.589Z] --> token set from env [2023-09-28T06:47:12.589Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-28T06:47:12.589Z] ==> Running gcov in . (disable via -X gcov) [2023-09-28T06:47:12.589Z] ==> Python coveragepy not found [2023-09-28T06:47:12.589Z] ==> Searching for coverage reports in: [2023-09-28T06:47:12.589Z] + . [2023-09-28T06:47:12.589Z] -> Found 1 reports [2023-09-28T06:47:12.589Z] ==> Detecting git/mercurial file structure [2023-09-28T06:47:12.589Z] ==> Reading reports [2023-09-28T06:47:12.589Z] + ./coverage.out bytes=24334 [2023-09-28T06:47:12.589Z] ==> Appending adjustments [2023-09-28T06:47:12.589Z] https://docs.codecov.io/docs/fixing-reports [2023-09-28T06:47:12.849Z] + Found adjustments [2023-09-28T06:47:12.849Z] ==> Gzipping contents [2023-09-28T06:47:12.849Z] 4.0K /tmp/codecov.gvT8kA.gz [2023-09-28T06:47:12.849Z] ==> Uploading reports [2023-09-28T06:47:12.849Z] url: https://codecov.io [2023-09-28T06:47:12.849Z] query: branch=main&commit=091e49834ad2b8f5ca54fa7b36ec487638af0a66&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-28T06:47:12.849Z] -> Pinging Codecov [2023-09-28T06:47:12.849Z] 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=091e49834ad2b8f5ca54fa7b36ec487638af0a66&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-28T06:47:12.849Z] -> Uploading to [2023-09-28T06:47:12.849Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-28/55DBCA73C666E3227836607328DD7E49/091e49834ad2b8f5ca54fa7b36ec487638af0a66/3e0f0c03-a12f-4a5b-bd2f-50e8f09bc076.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230928T064712Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a4d7a6ada33c5a52ba88536e35771e2193909a33a6646d1e8d75408725af6f0a [2023-09-28T06:47:12.849Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T06:47:12.849Z] Dload Upload Total Spent Left Speed [2023-09-28T06:47:13.416Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 14346 --:--:-- --:--:-- --:--:-- 14346 [2023-09-28T06:47:13.416Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/091e49834ad2b8f5ca54fa7b36ec487638af0a66 [Pipeline] } [2023-09-28T06:47:13.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-28T06:47:13.608Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-28T06:47:13.621Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:47:13.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T06:47:13.919Z] [2023-09-28T06:47:13.919Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:47:14.218Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T06:47:14.218Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-28T06:47:14.218Z] df9b9388f04a: Pulling fs layer [2023-09-28T06:47:14.218Z] 52dc419b0ee2: Pulling fs layer [2023-09-28T06:47:14.218Z] 25bc292e5bac: Pulling fs layer [2023-09-28T06:47:14.218Z] 114826534d7a: Pulling fs layer [2023-09-28T06:47:14.218Z] 4657fd5d0bcf: Pulling fs layer [2023-09-28T06:47:14.218Z] 6ad1cebc031e: Pulling fs layer [2023-09-28T06:47:14.218Z] 8a3aa393b2d8: Pulling fs layer [2023-09-28T06:47:14.218Z] 4657fd5d0bcf: Waiting [2023-09-28T06:47:14.218Z] 6ad1cebc031e: Waiting [2023-09-28T06:47:14.218Z] 8a3aa393b2d8: Waiting [2023-09-28T06:47:14.218Z] 114826534d7a: Waiting [2023-09-28T06:47:14.218Z] 25bc292e5bac: Verifying Checksum [2023-09-28T06:47:14.218Z] 25bc292e5bac: Download complete [2023-09-28T06:47:14.218Z] 52dc419b0ee2: Verifying Checksum [2023-09-28T06:47:14.218Z] 52dc419b0ee2: Download complete [2023-09-28T06:47:14.218Z] 4657fd5d0bcf: Verifying Checksum [2023-09-28T06:47:14.218Z] 4657fd5d0bcf: Download complete [2023-09-28T06:47:14.218Z] df9b9388f04a: Verifying Checksum [2023-09-28T06:47:14.218Z] df9b9388f04a: Download complete [2023-09-28T06:47:14.477Z] df9b9388f04a: Pull complete [2023-09-28T06:47:14.477Z] 6ad1cebc031e: Verifying Checksum [2023-09-28T06:47:14.477Z] 6ad1cebc031e: Download complete [2023-09-28T06:47:14.477Z] 52dc419b0ee2: Pull complete [2023-09-28T06:47:14.740Z] 25bc292e5bac: Pull complete [2023-09-28T06:47:14.998Z] 114826534d7a: Verifying Checksum [2023-09-28T06:47:14.998Z] 114826534d7a: Download complete [2023-09-28T06:47:18.279Z] 114826534d7a: Pull complete [2023-09-28T06:47:18.279Z] 4657fd5d0bcf: Pull complete [2023-09-28T06:47:18.537Z] 6ad1cebc031e: Pull complete [2023-09-28T06:47:19.475Z] 8a3aa393b2d8: Verifying Checksum [2023-09-28T06:47:19.475Z] 8a3aa393b2d8: Download complete [2023-09-28T06:47:22.002Z] 8a3aa393b2d8: Pull complete [2023-09-28T06:47:22.002Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-28T06:47:22.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T06:47:22.002Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:47:22.084Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-09-28T06:47:22.119Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-28T06:47:25.941Z] $ docker top 8cd38c40f61b1eb946f8af3619502d59d63a4c7ac8e5496b5984454d4fed7e02 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-28T06:47:25.999Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-09-28T06:47:26.276Z] + set -o pipefail [2023-09-28T06:47:26.276Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-09-28T06:47:31.544Z] [2023-09-28T06:47:31.544Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-09-28T06:47:31.544Z] [2023-09-28T06:47:31.544Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/27e2c640-6270-454f-b3ca-760b13f352ba [2023-09-28T06:47:31.544Z] [2023-09-28T06:47:31.544Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-09-28T06:47:31.544Z] [2023-09-28T06:47:31.544Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-28T06:47:31.544Z] [2023-09-28T06:47:32.113Z] [2023-09-28T06:47:32.113Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-28T06:47:32.113Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-28T06:47:32.113Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-28T06:47:32.129Z] $ docker stop --time=1 8cd38c40f61b1eb946f8af3619502d59d63a4c7ac8e5496b5984454d4fed7e02 [2023-09-28T06:47:35.312Z] $ docker rm -f --volumes 8cd38c40f61b1eb946f8af3619502d59d63a4c7ac8e5496b5984454d4fed7e02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T06:47:36.019Z] + git log --format=format:%s -1 091e49834ad2b8f5ca54fa7b36ec487638af0a66 [Pipeline] sh [2023-09-28T06:47:36.310Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:47:36.310Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:47:36.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:47:36.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:47:36.674Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-09-28T06:47:36.707Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-28T06:47:37.054Z] $ docker top 05bf14f8741b5680425818550f4b67e6f7ddc8ccb6cc12c30ccc16021f830750 -eo pid,comm [2023-09-28T06:47:37.093Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-28T06:47:37.093Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:47:37.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:47:37.129Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:47:37.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:47:37.243Z] $ docker exec 05bf14f8741b5680425818550f4b67e6f7ddc8ccb6cc12c30ccc16021f830750 ssh-agent [2023-09-28T06:47:37.345Z] SSH_AUTH_SOCK=/tmp/ssh-9ZOgNOJprpUy/agent.32 [2023-09-28T06:47:37.345Z] SSH_AGENT_PID=38 [2023-09-28T06:47:37.351Z] Running ssh-add (command line suppressed) [2023-09-28T06:47:37.448Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_772961077222140896.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_772961077222140896.key) [2023-09-28T06:47:37.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:47:37.743Z] + git semver tag [2023-09-28T06:47:38.001Z] 2023-09-28 06:47:37,935 [run_tag] DEBUG tag force:False [2023-09-28T06:47:38.002Z] 2023-09-28 06:47:37,935 [check_head_tag] DEBUG check head tag [2023-09-28T06:47:38.002Z] 2023-09-28 06:47:37,936 [execute] INFO git cat-file --batch-check [2023-09-28T06:47:38.002Z] 2023-09-28 06:47:37,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-28T06:47:38.002Z] 2023-09-28 06:47:37,940 [execute] INFO git cat-file --batch [2023-09-28T06:47:38.002Z] 2023-09-28 06:47:37,941 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-28T06:47:38.002Z] 2023-09-28 06:47:37,952 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-28T06:47:38.002Z] 2023-09-28 06:47:37,952 [execute] INFO git tag -a v3.1.0-dev.14 -m v3.1.0-dev.14 [2023-09-28T06:47:38.002Z] 2023-09-28 06:47:37,952 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.14', '-m', 'v3.1.0-dev.14'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:47:38.002Z] 2023-09-28 06:47:37,957 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-28T06:47:38.002Z] 3.1.0-dev.14 [Pipeline] } [2023-09-28T06:47:38.015Z] $ docker exec --env ******** --env ******** 05bf14f8741b5680425818550f4b67e6f7ddc8ccb6cc12c30ccc16021f830750 ssh-agent -k [2023-09-28T06:47:38.102Z] unset SSH_AUTH_SOCK; [2023-09-28T06:47:38.102Z] unset SSH_AGENT_PID; [2023-09-28T06:47:38.102Z] echo Agent pid 38 killed; [2023-09-28T06:47:38.106Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:47:38.413Z] + git semver [Pipeline] } [2023-09-28T06:47:38.689Z] $ docker stop --time=1 05bf14f8741b5680425818550f4b67e6f7ddc8ccb6cc12c30ccc16021f830750 [2023-09-28T06:47:39.955Z] $ docker rm -f --volumes 05bf14f8741b5680425818550f4b67e6f7ddc8ccb6cc12c30ccc16021f830750 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:47:40.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T06:47:40.349Z] [2023-09-28T06:47:40.349Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:47:40.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T06:47:40.654Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-28T06:47:40.654Z] ab5ef0e58194: Pulling fs layer [2023-09-28T06:47:40.654Z] 9712f1f96733: Pulling fs layer [2023-09-28T06:47:40.654Z] 63f879dbbcfc: Pulling fs layer [2023-09-28T06:47:40.654Z] 0d9ebad4ef96: Pulling fs layer [2023-09-28T06:47:40.654Z] e9a5061849ea: Pulling fs layer [2023-09-28T06:47:40.654Z] d747dcd14b5f: Pulling fs layer [2023-09-28T06:47:40.654Z] 2de7ff778b66: Pulling fs layer [2023-09-28T06:47:40.654Z] e9a5061849ea: Waiting [2023-09-28T06:47:40.654Z] d747dcd14b5f: Waiting [2023-09-28T06:47:40.654Z] 0d9ebad4ef96: Waiting [2023-09-28T06:47:40.654Z] 2de7ff778b66: Waiting [2023-09-28T06:47:40.654Z] 9712f1f96733: Download complete [2023-09-28T06:47:40.915Z] 63f879dbbcfc: Verifying Checksum [2023-09-28T06:47:40.915Z] 63f879dbbcfc: Download complete [2023-09-28T06:47:41.175Z] 0d9ebad4ef96: Verifying Checksum [2023-09-28T06:47:41.175Z] 0d9ebad4ef96: Download complete [2023-09-28T06:47:41.175Z] d747dcd14b5f: Verifying Checksum [2023-09-28T06:47:41.175Z] d747dcd14b5f: Download complete [2023-09-28T06:47:41.175Z] ab5ef0e58194: Verifying Checksum [2023-09-28T06:47:41.175Z] ab5ef0e58194: Download complete [2023-09-28T06:47:41.175Z] e9a5061849ea: Verifying Checksum [2023-09-28T06:47:41.175Z] e9a5061849ea: Download complete [2023-09-28T06:47:41.175Z] 2de7ff778b66: Verifying Checksum [2023-09-28T06:47:41.175Z] 2de7ff778b66: Download complete [2023-09-28T06:47:43.706Z] ab5ef0e58194: Pull complete [2023-09-28T06:47:43.706Z] 9712f1f96733: Pull complete [2023-09-28T06:47:44.272Z] 63f879dbbcfc: Pull complete [2023-09-28T06:47:47.556Z] 0d9ebad4ef96: Pull complete [2023-09-28T06:47:47.814Z] e9a5061849ea: Pull complete [2023-09-28T06:47:47.814Z] d747dcd14b5f: Pull complete [2023-09-28T06:47:48.749Z] 2de7ff778b66: Pull complete [2023-09-28T06:47:48.749Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-28T06:47:48.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T06:47:48.749Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:47:48.832Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-09-28T06:47:48.865Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-28T06:47:52.532Z] $ docker top 833db2aadb57a25ea24b26ec5d74837d71802aea852567c1cf97402970b27196 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:47:52.600Z] provisioning config files... [2023-09-28T06:47:52.606Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8008840646778285407tmp [2023-09-28T06:47:52.614Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14113777355320480349tmp [2023-09-28T06:47:52.623Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11957066474189742741tmp [Pipeline] { [Pipeline] echo [2023-09-28T06:47:52.638Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:47:52.917Z] ---> sigul-configuration.sh [2023-09-28T06:47:52.918Z] gpg: directory `/root/.gnupg' created [2023-09-28T06:47:52.918Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-28T06:47:52.918Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-28T06:47:52.918Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-28T06:47:52.918Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-28T06:47:52.918Z] gpg: CAST5 encrypted data [2023-09-28T06:47:52.918Z] gpg: encrypted with 1 passphrase [2023-09-28T06:47:52.918Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-28T06:47:53.200Z] + mkdir /home/jenkins [2023-09-28T06:47:53.200Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-28T06:47:53.484Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-28T06:47:53.493Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:47:53.778Z] ---> sigul-install.sh [2023-09-28T06:47:53.778Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-28T06:47:54.065Z] + git tag --list [2023-09-28T06:47:54.065Z] 0.7.1 [2023-09-28T06:47:54.066Z] v1.0.0 [2023-09-28T06:47:54.066Z] v1.1.0 [2023-09-28T06:47:54.066Z] v1.1.1 [2023-09-28T06:47:54.066Z] v1.2.2 [2023-09-28T06:47:54.066Z] v1.3.0 [2023-09-28T06:47:54.066Z] v1.3.1 [2023-09-28T06:47:54.066Z] v2.0.0 [2023-09-28T06:47:54.066Z] v2.1.0 [2023-09-28T06:47:54.066Z] v2.1.1 [2023-09-28T06:47:54.066Z] v2.2.0 [2023-09-28T06:47:54.066Z] v2.3.0 [2023-09-28T06:47:54.066Z] v3.0 [2023-09-28T06:47:54.066Z] v3.0.0 [2023-09-28T06:47:54.066Z] v3.1.0-dev.1 [2023-09-28T06:47:54.066Z] v3.1.0-dev.10 [2023-09-28T06:47:54.066Z] v3.1.0-dev.11 [2023-09-28T06:47:54.066Z] v3.1.0-dev.12 [2023-09-28T06:47:54.066Z] v3.1.0-dev.13 [2023-09-28T06:47:54.066Z] v3.1.0-dev.14 [2023-09-28T06:47:54.066Z] v3.1.0-dev.2 [2023-09-28T06:47:54.066Z] v3.1.0-dev.3 [2023-09-28T06:47:54.066Z] v3.1.0-dev.4 [2023-09-28T06:47:54.066Z] v3.1.0-dev.5 [2023-09-28T06:47:54.066Z] v3.1.0-dev.6 [2023-09-28T06:47:54.066Z] v3.1.0-dev.7 [2023-09-28T06:47:54.066Z] v3.1.0-dev.8 [2023-09-28T06:47:54.066Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-28T06:47:54.352Z] + lftools sign git-tag v3.1.0-dev.14 [2023-09-28T06:47:54.919Z] Signing Git tag with Sigul... [2023-09-28T06:47:54.919Z] Signing v3.1.0-dev.14 [Pipeline] echo [2023-09-28T06:47:55.494Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:47:55.777Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-28T06:47:55.784Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-28T06:47:55.804Z] $ docker stop --time=1 833db2aadb57a25ea24b26ec5d74837d71802aea852567c1cf97402970b27196 [2023-09-28T06:47:57.083Z] $ docker rm -f --volumes 833db2aadb57a25ea24b26ec5d74837d71802aea852567c1cf97402970b27196 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-28T06:47:57.517Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:47:57.517Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:47:58.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:47:58.021Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:47:58.094Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-09-28T06:47:58.122Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-28T06:47:58.426Z] $ docker top 406aa8dc903c27b64b871d3c58c3facd12a059c9af682d2fdbac83cad7f81f85 -eo pid,comm [2023-09-28T06:47:58.466Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-28T06:47:58.466Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:47:58.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:47:58.499Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:47:58.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:47:58.606Z] $ docker exec 406aa8dc903c27b64b871d3c58c3facd12a059c9af682d2fdbac83cad7f81f85 ssh-agent [2023-09-28T06:47:58.716Z] SSH_AUTH_SOCK=/tmp/ssh-cuZzNOy9f3nm/agent.32 [2023-09-28T06:47:58.716Z] SSH_AGENT_PID=38 [2023-09-28T06:47:58.722Z] Running ssh-add (command line suppressed) [2023-09-28T06:47:58.816Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14503096837632419719.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14503096837632419719.key) [2023-09-28T06:47:58.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:47:59.112Z] + git semver bump pre [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,298 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,298 [bump_version] DEBUG bumping version:3.1.0-dev.14 on axis:pre with prefix:dev [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,298 [bump_version] DEBUG bumped version:3.1.0-dev.15 [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,298 [write_version] DEBUG write version:3.1.0-dev.15 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,299 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,299 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,301 [execute] INFO git cat-file --batch-check [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,305 [execute] INFO git cat-file --batch [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T06:47:59.371Z] 2023-09-28 06:47:59,310 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-28T06:47:59.371Z] 3.1.0-dev.15 [Pipeline] } [2023-09-28T06:47:59.384Z] $ docker exec --env ******** --env ******** 406aa8dc903c27b64b871d3c58c3facd12a059c9af682d2fdbac83cad7f81f85 ssh-agent -k [2023-09-28T06:47:59.486Z] unset SSH_AUTH_SOCK; [2023-09-28T06:47:59.486Z] unset SSH_AGENT_PID; [2023-09-28T06:47:59.486Z] echo Agent pid 38 killed; [2023-09-28T06:47:59.491Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:47:59.797Z] + git semver [Pipeline] } [2023-09-28T06:48:00.070Z] $ docker stop --time=1 406aa8dc903c27b64b871d3c58c3facd12a059c9af682d2fdbac83cad7f81f85 [2023-09-28T06:48:01.333Z] $ docker rm -f --volumes 406aa8dc903c27b64b871d3c58c3facd12a059c9af682d2fdbac83cad7f81f85 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:48:01.667Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:48:01.667Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:01.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:48:01.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:48:02.032Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-09-28T06:48:02.067Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-28T06:48:02.394Z] $ docker top 9988bee4ff1807f45e841e6846c44b7b85d70c17a7b3169fccbb70fbc9c97cd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:48:02.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:48:02.470Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:48:03.212Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:48:03.219Z] $ docker exec 9988bee4ff1807f45e841e6846c44b7b85d70c17a7b3169fccbb70fbc9c97cd2 ssh-agent [2023-09-28T06:48:03.318Z] SSH_AUTH_SOCK=/tmp/ssh-M2OvRd7ye6GK/agent.32 [2023-09-28T06:48:03.318Z] SSH_AGENT_PID=38 [2023-09-28T06:48:03.325Z] Running ssh-add (command line suppressed) [2023-09-28T06:48:03.442Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3304993832544606842.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3304993832544606842.key) [2023-09-28T06:48:03.451Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:48:03.735Z] + git semver push [2023-09-28T06:48:03.994Z] 2023-09-28 06:48:03,918 [run_push] DEBUG push [2023-09-28T06:48:03.994Z] 2023-09-28 06:48:03,919 [execute] INFO git cat-file --batch-check [2023-09-28T06:48:03.994Z] 2023-09-28 06:48:03,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T06:48:03.994Z] 2023-09-28 06:48:03,923 [execute] INFO git rev-list e968e67098d7417d4b5396929e7c8760c92de68a -- [2023-09-28T06:48:03.994Z] 2023-09-28 06:48:03,923 [execute] DEBUG Popen(['git', 'rev-list', 'e968e67098d7417d4b5396929e7c8760c92de68a', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:48:03.994Z] 2023-09-28 06:48:03,933 [execute] INFO git fetch -v origin [2023-09-28T06:48:03.994Z] 2023-09-28 06:48:03,933 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-28T06:48:04.562Z] 2023-09-28 06:48:04,471 [run_push] DEBUG no remote changes detected [2023-09-28T06:48:04.562Z] 2023-09-28 06:48:04,471 [execute] INFO git push origin semver [2023-09-28T06:48:04.562Z] 2023-09-28 06:48:04,472 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:48:05.498Z] 2023-09-28 06:48:05,307 [run_push] DEBUG push all version tags [2023-09-28T06:48:05.498Z] 2023-09-28 06:48:05,308 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-28T06:48:05.498Z] 2023-09-28 06:48:05,308 [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-09-28T06:48:06.434Z] 2023-09-28 06:48:06,119 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-28T06:48:06.434Z] 3.1.0-dev.15 [Pipeline] } [2023-09-28T06:48:06.447Z] $ docker exec --env ******** --env ******** 9988bee4ff1807f45e841e6846c44b7b85d70c17a7b3169fccbb70fbc9c97cd2 ssh-agent -k [2023-09-28T06:48:06.537Z] unset SSH_AUTH_SOCK; [2023-09-28T06:48:06.537Z] unset SSH_AGENT_PID; [2023-09-28T06:48:06.537Z] echo Agent pid 38 killed; [2023-09-28T06:48:06.545Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:48:06.841Z] + git semver [Pipeline] } [2023-09-28T06:48:07.113Z] $ docker stop --time=1 9988bee4ff1807f45e841e6846c44b7b85d70c17a7b3169fccbb70fbc9c97cd2 [2023-09-28T06:48:08.353Z] $ docker rm -f --volumes 9988bee4ff1807f45e841e6846c44b7b85d70c17a7b3169fccbb70fbc9c97cd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-28T06:48:08.911Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-09-28T06:48:08.911Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-28T06:48:08.911Z] total 16 [2023-09-28T06:48:08.911Z] drwxr-xr-x 3 root root 4096 Sep 28 06:40 . [2023-09-28T06:48:08.911Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 06:47 .. [2023-09-28T06:48:08.911Z] drwxr-xr-x 2 root root 4096 Sep 28 06:40 cost [2023-09-28T06:48:08.911Z] -rw-r--r-- 1 root root 88 Sep 28 06:40 cost.csv [2023-09-28T06:48:08.911Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-28T06:48:08.911Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-28T06:48:08.911Z] total 16 [2023-09-28T06:48:08.911Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 06:40 . [2023-09-28T06:48:08.911Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 06:47 .. [2023-09-28T06:48:08.911Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 06:40 cost [2023-09-28T06:48:08.911Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 28 06:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:48:09.200Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:48:10.056Z] ---> package-listing.sh [2023-09-28T06:48:10.056Z] ++ facter osfamily [2023-09-28T06:48:10.056Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-28T06:48:10.315Z] + OS_FAMILY=debian [2023-09-28T06:48:10.315Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-09-28T06:48:10.315Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-28T06:48:10.315Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-28T06:48:10.315Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-28T06:48:10.315Z] + PACKAGES=/tmp/packages_start.txt [2023-09-28T06:48:10.315Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-28T06:48:10.315Z] + PACKAGES=/tmp/packages_end.txt [2023-09-28T06:48:10.315Z] + case "${OS_FAMILY}" in [2023-09-28T06:48:10.315Z] + dpkg -l [2023-09-28T06:48:10.315Z] + grep '^ii' [2023-09-28T06:48:10.315Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-28T06:48:10.315Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-28T06:48:10.315Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-28T06:48:10.315Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-28T06:48:10.315Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-09-28T06:48:10.315Z] + 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-09-28T06:48:10.325Z] 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-09-28T06:48:10.602Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:11.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:48:11.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:48:11.294Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-09-28T06:48:11.356Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-28T06:48:11.554Z] $ docker top 070739c7edf59d19ad75db48bcdf8ea03450d4d4d28729858ebb4e7f12d6cfce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:48:11.935Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-28T06:48:12.219Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-28T06:48:12.503Z] + ls /var/log/sa-host [2023-09-28T06:48:12.504Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:48:12.653Z] provisioning config files... [2023-09-28T06:48:12.662Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4755873247231134076tmp [Pipeline] { [Pipeline] echo [2023-09-28T06:48:12.673Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:48:12.956Z] ---> create-netrc.sh [Pipeline] } [2023-09-28T06:48:12.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:48:13.294Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-28T06:48:13.302Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:48:13.586Z] ---> sudo-logs.sh [2023-09-28T06:48:13.586Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-28T06:48:13.608Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:48:13.893Z] ---> job-cost.sh [2023-09-28T06:48:13.894Z] lf-activate-venv: SKIPPING [2023-09-28T06:48:13.894Z] DEBUG: total: 0.2199999988079071 [2023-09-28T06:48:13.894Z] INFO: Retrieving Stack Cost... [2023-09-28T06:48:14.461Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T06:48:14.719Z] INFO: Archiving Costs [Pipeline] echo [2023-09-28T06:48:14.729Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:48:15.011Z] ---> logs-deploy.sh [2023-09-28T06:48:15.011Z] lf-activate-venv: SKIPPING [2023-09-28T06:48:15.011Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/128 [2023-09-28T06:48:15.011Z] INFO: archiving workspace using pattern(s): [2023-09-28T06:48:15.957Z] Archives upload complete. [2023-09-28T06:48:15.957Z] INFO: archiving logs to Nexus