Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 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-ssh13124114477649728341.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-ssh5989904760652263781.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-ssh6132681408244768406.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-ssh8406558659080455944.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-ssh16042973165329259044.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] ========================================================= [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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9944 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 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 (main) > 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 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 # timeout=10 Commit message: "feat!: Remove snap packaging (#514)" > git rev-list --no-walk d8be67794caf45345cc247e5314d0c02724ea25e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T15:49:05.561Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T15:49:05.633Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T15:49:05.647Z] ========================================================= [2023-10-24T15:49:05.647Z] EdgeX Global Pipelines Version Info [2023-10-24T15:49:05.647Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:49:06.363Z] ------------------- [2023-10-24T15:49:06.363Z] stable info: [2023-10-24T15:49:06.363Z] ------------------- [2023-10-24T15:49:06.363Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T15:49:06.364Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T15:49:06.364Z] Message: update stable to v1.0.254 [2023-10-24T15:49:06.935Z] ------------------- [2023-10-24T15:49:06.935Z] experimental info: [2023-10-24T15:49:06.935Z] ------------------- [2023-10-24T15:49:06.935Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T15:49:06.935Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T15:49:06.935Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T15:49:07.105Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-10-24T15:49:07.114Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-10-24T15:49:07.123Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T15:49:07.140Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T15:49:07.155Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T15:49:07.172Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T15:49:07.181Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T15:49:07.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T15:49:07.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T15:49:07.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T15:49:07.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T15:49:07.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-10-24T15:49:07.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T15:49:07.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T15:49:07.301Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T15:49:07.320Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T15:49:07.339Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:49:07.412Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:49:07.423Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T15:49:07.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T15:49:07.458Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T15:49:07.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T15:49:07.485Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T15:49:07.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T15:49:07.518Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T15:49:07.533Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T15:49:07.547Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T15:49:07.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T15:49:07.573Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T15:49:07.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T15:49:07.595Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [Pipeline] echo [2023-10-24T15:49:07.606Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8605cff [Pipeline] echo [2023-10-24T15:49:07.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:49:07.658Z] provisioning config files... [2023-10-24T15:49:07.673Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8696936159976529874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:49:07.971Z] ---> docker-login.sh [2023-10-24T15:49:07.971Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:49:08.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:08.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:08.232Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:08.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:08.232Z] [2023-10-24T15:49:08.232Z] Login Succeeded [2023-10-24T15:49:08.232Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:49:08.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:08.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:08.493Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:08.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:08.493Z] [2023-10-24T15:49:08.493Z] Login Succeeded [2023-10-24T15:49:08.493Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:49:08.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:08.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:08.493Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:08.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:08.494Z] [2023-10-24T15:49:08.494Z] Login Succeeded [2023-10-24T15:49:08.494Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:49:08.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:08.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:08.753Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:08.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:08.753Z] [2023-10-24T15:49:08.753Z] Login Succeeded [2023-10-24T15:49:08.753Z] docker.io [2023-10-24T15:49:08.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:09.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:09.015Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:09.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:09.015Z] [2023-10-24T15:49:09.015Z] Login Succeeded [2023-10-24T15:49:09.015Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:49:09.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T15:49:09.392Z] + git rev-list -1 --merges 8605cffecbdc9fcb52dd0eb94cc366191c17ee41~1..8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [Pipeline] echo [2023-10-24T15:49:09.444Z] -----------> git rev-list -1 --merges 8605cffecbdc9fcb52dd0eb94cc366191c17ee41~1..8605cffecbdc9fcb52dd0eb94cc366191c17ee41 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [false] [Pipeline] sh [2023-10-24T15:49:09.731Z] + git log --format=format:%s -1 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [Pipeline] echo [2023-10-24T15:49:09.746Z] ========================================================= [2023-10-24T15:49:09.746Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T15:49:09.746Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:49:10.064Z] + git log --format=format:%s -1 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [Pipeline] echo [2023-10-24T15:49:10.076Z] [semverPrep] GIT_COMMIT: 8605cffecbdc9fcb52dd0eb94cc366191c17ee41, Commit Message: feat!: Remove snap packaging (#514) [Pipeline] echo [2023-10-24T15:49:10.086Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T15:49:10.434Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:49:10.434Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T15:49:10.434Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T15:49:10.434Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T15:49:10.434Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T15:49:10.434Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T15:49:10.434Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:49:10.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:49:10.789Z] [2023-10-24T15:49:10.789Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:49:11.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:49:11.093Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T15:49:11.093Z] b85a868b505f: Pulling fs layer [2023-10-24T15:49:11.093Z] e2be974225ed: Pulling fs layer [2023-10-24T15:49:11.093Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T15:49:11.093Z] 988bab9f4d93: Pulling fs layer [2023-10-24T15:49:11.093Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T15:49:11.093Z] eaf3925da568: Pulling fs layer [2023-10-24T15:49:11.093Z] 1469e6f7b9e6: Waiting [2023-10-24T15:49:11.093Z] 988bab9f4d93: Waiting [2023-10-24T15:49:11.093Z] bab4dde63d76: Pulling fs layer [2023-10-24T15:49:11.093Z] bde34c3a00c8: Pulling fs layer [2023-10-24T15:49:11.093Z] b352a97aabf1: Pulling fs layer [2023-10-24T15:49:11.093Z] 4872d77fe225: Pulling fs layer [2023-10-24T15:49:11.093Z] 5851b861e8e6: Pulling fs layer [2023-10-24T15:49:11.093Z] eaf3925da568: Waiting [2023-10-24T15:49:11.093Z] b352a97aabf1: Waiting [2023-10-24T15:49:11.093Z] bde34c3a00c8: Waiting [2023-10-24T15:49:11.093Z] 4872d77fe225: Waiting [2023-10-24T15:49:11.094Z] 5851b861e8e6: Waiting [2023-10-24T15:49:11.094Z] bab4dde63d76: Waiting [2023-10-24T15:49:11.356Z] e2be974225ed: Verifying Checksum [2023-10-24T15:49:11.356Z] e2be974225ed: Download complete [2023-10-24T15:49:11.356Z] 988bab9f4d93: Verifying Checksum [2023-10-24T15:49:11.356Z] 988bab9f4d93: Download complete [2023-10-24T15:49:11.356Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T15:49:11.356Z] 1469e6f7b9e6: Download complete [2023-10-24T15:49:11.356Z] eaf3925da568: Download complete [2023-10-24T15:49:11.356Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T15:49:11.356Z] 339a4e72a1f5: Download complete [2023-10-24T15:49:11.356Z] bde34c3a00c8: Download complete [2023-10-24T15:49:11.356Z] b352a97aabf1: Verifying Checksum [2023-10-24T15:49:11.356Z] b352a97aabf1: Download complete [2023-10-24T15:49:11.356Z] 4872d77fe225: Download complete [2023-10-24T15:49:11.356Z] 5851b861e8e6: Verifying Checksum [2023-10-24T15:49:11.357Z] 5851b861e8e6: Download complete [2023-10-24T15:49:11.618Z] b85a868b505f: Verifying Checksum [2023-10-24T15:49:11.618Z] b85a868b505f: Download complete [2023-10-24T15:49:11.876Z] bab4dde63d76: Verifying Checksum [2023-10-24T15:49:11.876Z] bab4dde63d76: Download complete [2023-10-24T15:49:12.812Z] b85a868b505f: Pull complete [2023-10-24T15:49:13.072Z] e2be974225ed: Pull complete [2023-10-24T15:49:13.640Z] 339a4e72a1f5: Pull complete [2023-10-24T15:49:13.640Z] 988bab9f4d93: Pull complete [2023-10-24T15:49:13.900Z] 1469e6f7b9e6: Pull complete [2023-10-24T15:49:13.900Z] eaf3925da568: Pull complete [2023-10-24T15:49:15.808Z] bab4dde63d76: Pull complete [2023-10-24T15:49:15.808Z] bde34c3a00c8: Pull complete [2023-10-24T15:49:16.067Z] b352a97aabf1: Pull complete [2023-10-24T15:49:16.067Z] 4872d77fe225: Pull complete [2023-10-24T15:49:16.327Z] 5851b861e8e6: Pull complete [2023-10-24T15:49:16.327Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T15:49:16.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:49:16.327Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:49:16.425Z] prd-ubuntu20.04-docker-8c-8g-9944 does not seem to be running inside a container [2023-10-24T15:49:16.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T15:49:20.335Z] $ docker top ebcb06c8cdf6830e96b575c314852326a76a6810ef36263aab4faa45a9255312 -eo pid,comm [2023-10-24T15:49:20.394Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T15:49:20.394Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:49:20.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:49:20.428Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:49:20.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:49:20.550Z] $ docker exec ebcb06c8cdf6830e96b575c314852326a76a6810ef36263aab4faa45a9255312 ssh-agent [2023-10-24T15:49:20.669Z] SSH_AUTH_SOCK=/tmp/ssh-iL6K1mBKYPKz/agent.32 [2023-10-24T15:49:20.669Z] SSH_AGENT_PID=38 [2023-10-24T15:49:20.675Z] Running ssh-add (command line suppressed) [2023-10-24T15:49:20.789Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9445429800379343545.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9445429800379343545.key) [2023-10-24T15:49:20.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:49:21.096Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T15:49:21.108Z] $ docker exec --env ******** --env ******** ebcb06c8cdf6830e96b575c314852326a76a6810ef36263aab4faa45a9255312 ssh-agent -k [2023-10-24T15:49:21.214Z] unset SSH_AUTH_SOCK; [2023-10-24T15:49:21.215Z] unset SSH_AGENT_PID; [2023-10-24T15:49:21.215Z] echo Agent pid 38 killed; [2023-10-24T15:49:21.226Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T15:49:21.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:49:21.245Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:49:21.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:49:21.356Z] $ docker exec ebcb06c8cdf6830e96b575c314852326a76a6810ef36263aab4faa45a9255312 ssh-agent [2023-10-24T15:49:21.463Z] SSH_AUTH_SOCK=/tmp/ssh-C56kRHndoxys/agent.70 [2023-10-24T15:49:21.463Z] SSH_AGENT_PID=76 [2023-10-24T15:49:21.468Z] Running ssh-add (command line suppressed) [2023-10-24T15:49:21.565Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11311469122093841643.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11311469122093841643.key) [2023-10-24T15:49:21.579Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:49:21.863Z] + git semver init [2023-10-24T15:49:22.125Z] 2023-10-24 15:49:22,060 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T15:49:22.125Z] 2023-10-24 15:49:22,061 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-24T15:49:22.125Z] 2023-10-24 15:49:22,062 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-24T15:49:22.125Z] 2023-10-24 15:49:22,063 [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-10-24T15:49:23.070Z] 2023-10-24 15:49:22,962 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-10-24T15:49:23.070Z] 2023-10-24 15:49:22,963 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-10-24T15:49:23.070Z] 2023-10-24 15:49:22,963 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:49:23.070Z] 2023-10-24 15:49:22,963 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:49:23.070Z] 3.1.0-dev.19 [Pipeline] } [2023-10-24T15:49:23.080Z] $ docker exec --env ******** --env ******** ebcb06c8cdf6830e96b575c314852326a76a6810ef36263aab4faa45a9255312 ssh-agent -k [2023-10-24T15:49:23.173Z] unset SSH_AUTH_SOCK; [2023-10-24T15:49:23.173Z] unset SSH_AGENT_PID; [2023-10-24T15:49:23.174Z] echo Agent pid 76 killed; [2023-10-24T15:49:23.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:49:23.477Z] + git semver [Pipeline] } [2023-10-24T15:49:23.749Z] $ docker stop --time=1 ebcb06c8cdf6830e96b575c314852326a76a6810ef36263aab4faa45a9255312 [2023-10-24T15:49:25.059Z] $ docker rm -f --volumes ebcb06c8cdf6830e96b575c314852326a76a6810ef36263aab4faa45a9255312 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:49:25.395Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T15:49:25.591Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T15:49:25.593Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.19 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:49:25.710Z] provisioning config files... [2023-10-24T15:49:25.720Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12241057802193375256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:49:26.017Z] ---> docker-login.sh [2023-10-24T15:49:26.017Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:49:26.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:26.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:26.017Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:26.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:26.017Z] [2023-10-24T15:49:26.017Z] Login Succeeded [2023-10-24T15:49:26.017Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:49:26.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:26.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:26.017Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:26.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:26.017Z] [2023-10-24T15:49:26.017Z] Login Succeeded [2023-10-24T15:49:26.017Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:49:26.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:26.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:26.276Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:26.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:26.276Z] [2023-10-24T15:49:26.276Z] Login Succeeded [2023-10-24T15:49:26.276Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:49:26.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:26.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:26.276Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:26.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:26.276Z] [2023-10-24T15:49:26.276Z] Login Succeeded [2023-10-24T15:49:26.276Z] docker.io [2023-10-24T15:49:26.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:26.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:26.535Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:26.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:26.535Z] [2023-10-24T15:49:26.535Z] Login Succeeded [2023-10-24T15:49:26.535Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:49:26.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T15:49:26.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:49:26.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:49:26.626Z] ========================================================= [2023-10-24T15:49:26.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T15:49:26.626Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:49:26.950Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T15:49:26.950Z] Sending build context to Docker daemon 6.508MB [2023-10-24T15:49:26.950Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:49:26.950Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T15:49:27.211Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T15:49:27.211Z] 7264a8db6415: Pulling fs layer [2023-10-24T15:49:27.211Z] c4d48a809fc2: Pulling fs layer [2023-10-24T15:49:27.211Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T15:49:27.211Z] ad3a456e5733: Pulling fs layer [2023-10-24T15:49:27.211Z] 33e27b845d1e: Pulling fs layer [2023-10-24T15:49:27.211Z] c68163c4e522: Pulling fs layer [2023-10-24T15:49:27.211Z] 50da416c3ac9: Pulling fs layer [2023-10-24T15:49:27.211Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T15:49:27.211Z] 33e27b845d1e: Waiting [2023-10-24T15:49:27.211Z] c68163c4e522: Waiting [2023-10-24T15:49:27.211Z] 50da416c3ac9: Waiting [2023-10-24T15:49:27.211Z] 23d2d4c4bb30: Waiting [2023-10-24T15:49:27.211Z] ad3a456e5733: Waiting [2023-10-24T15:49:27.211Z] c4d48a809fc2: Verifying Checksum [2023-10-24T15:49:27.211Z] c4d48a809fc2: Download complete [2023-10-24T15:49:27.211Z] ad3a456e5733: Verifying Checksum [2023-10-24T15:49:27.211Z] ad3a456e5733: Download complete [2023-10-24T15:49:27.211Z] 33e27b845d1e: Download complete [2023-10-24T15:49:27.211Z] 7264a8db6415: Verifying Checksum [2023-10-24T15:49:27.211Z] 7264a8db6415: Download complete [2023-10-24T15:49:27.212Z] c68163c4e522: Verifying Checksum [2023-10-24T15:49:27.212Z] c68163c4e522: Download complete [2023-10-24T15:49:27.474Z] 7264a8db6415: Pull complete [2023-10-24T15:49:27.474Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T15:49:27.474Z] 23d2d4c4bb30: Download complete [2023-10-24T15:49:27.474Z] c4d48a809fc2: Pull complete [2023-10-24T15:49:27.736Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T15:49:27.736Z] 4f1c88b9dad5: Download complete [2023-10-24T15:49:27.995Z] 50da416c3ac9: Verifying Checksum [2023-10-24T15:49:27.995Z] 50da416c3ac9: Download complete [2023-10-24T15:49:31.279Z] 4f1c88b9dad5: Pull complete [2023-10-24T15:49:31.279Z] ad3a456e5733: Pull complete [2023-10-24T15:49:31.279Z] 33e27b845d1e: Pull complete [2023-10-24T15:49:31.279Z] c68163c4e522: Pull complete [2023-10-24T15:49:33.811Z] 50da416c3ac9: Pull complete [2023-10-24T15:49:34.074Z] 23d2d4c4bb30: Pull complete [2023-10-24T15:49:34.074Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T15:49:34.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T15:49:34.074Z] ---> 0786185ac409 [2023-10-24T15:49:34.074Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:49:39.452Z] ---> Running in 9d89c5336ac8 [2023-10-24T15:49:39.452Z] Removing intermediate container 9d89c5336ac8 [2023-10-24T15:49:39.452Z] ---> 03ee26964f58 [2023-10-24T15:49:39.452Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:49:39.452Z] ---> Running in 2d1c6c20cfc0 [2023-10-24T15:49:39.452Z] Removing intermediate container 2d1c6c20cfc0 [2023-10-24T15:49:39.452Z] ---> 18f3c8549799 [2023-10-24T15:49:39.452Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-24T15:49:39.452Z] ---> Running in b92646ff1575 [2023-10-24T15:49:39.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:49:39.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:49:39.970Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T15:49:39.970Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-24T15:49:39.970Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T15:49:39.970Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T15:49:39.970Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-24T15:49:39.970Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-24T15:49:39.970Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-24T15:49:39.970Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-24T15:49:39.970Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:49:39.970Z] OK: 270 MiB in 60 packages [2023-10-24T15:49:40.537Z] Removing intermediate container b92646ff1575 [2023-10-24T15:49:40.537Z] ---> f952bcecb2e9 [2023-10-24T15:49:40.537Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-24T15:49:40.537Z] ---> Running in 45b4882d05e3 [2023-10-24T15:49:40.680Z] Still waiting to schedule task [2023-10-24T15:49:40.680Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T15:49:40.795Z] Removing intermediate container 45b4882d05e3 [2023-10-24T15:49:40.796Z] ---> c37cf180b3a3 [2023-10-24T15:49:40.796Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T15:49:40.796Z] ---> 10a2b5a2b6ed [2023-10-24T15:49:40.796Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:49:40.796Z] ---> Running in da16f30cf851 [2023-10-24T15:50:37.018Z] Removing intermediate container da16f30cf851 [2023-10-24T15:50:37.018Z] ---> d1c7a08b4da7 [2023-10-24T15:50:37.018Z] Step 9/10 : COPY . . [2023-10-24T15:50:37.018Z] ---> fdde0e350644 [2023-10-24T15:50:37.018Z] Step 10/10 : RUN ${MAKE} [2023-10-24T15:50:37.018Z] ---> Running in 11f4a4ba9f85 [2023-10-24T15:50:37.018Z] noop [2023-10-24T15:50:37.018Z] Removing intermediate container 11f4a4ba9f85 [2023-10-24T15:50:37.018Z] ---> d791a5aae3f2 [2023-10-24T15:50:37.018Z] Successfully built d791a5aae3f2 [2023-10-24T15:50:37.018Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:50:37.335Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T15:50:37.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:50:37.406Z] prd-ubuntu20.04-docker-8c-8g-9944 does not seem to be running inside a container [2023-10-24T15:50:37.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T15:50:37.753Z] $ docker top 9ed31a27d6ca5d26a7c55b155420c4ed232cca93dfb1d6daf482236ea0bc4aa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:50:38.083Z] + go version [2023-10-24T15:50:38.083Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T15:50:38.093Z] $ docker stop --time=1 9ed31a27d6ca5d26a7c55b155420c4ed232cca93dfb1d6daf482236ea0bc4aa8 [2023-10-24T15:50:39.339Z] $ docker rm -f --volumes 9ed31a27d6ca5d26a7c55b155420c4ed232cca93dfb1d6daf482236ea0bc4aa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:50:39.745Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T15:50:39.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:50:39.810Z] prd-ubuntu20.04-docker-8c-8g-9944 does not seem to be running inside a container [2023-10-24T15:50:39.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T15:50:40.130Z] $ docker top b666e4dbc6e846a15a481673187b5100d0de8149315d299f491b47a8c948ca30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:50:40.461Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T15:50:40.753Z] + make test [2023-10-24T15:50:40.753Z] go test ./... -coverprofile=coverage.out [2023-10-24T15:50:42.128Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-24T15:50:52.091Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-24T15:50:52.091Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements [2023-10-24T15:50:57.347Z] go vet ./... [2023-10-24T15:51:01.527Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T15:51:01.527Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T15:51:01.527Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T15:51:01.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T15:51:01.545Z] $ docker stop --time=1 b666e4dbc6e846a15a481673187b5100d0de8149315d299f491b47a8c948ca30 [2023-10-24T15:51:05.169Z] $ docker rm -f --volumes b666e4dbc6e846a15a481673187b5100d0de8149315d299f491b47a8c948ca30 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:51:05.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T15:51:05.703Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T15:51:06.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T15:51:06.406Z] + ls -al . [2023-10-24T15:51:06.406Z] total 188 [2023-10-24T15:51:06.406Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 15:50 . [2023-10-24T15:51:06.406Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:49 .. [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 15:49 .dockerignore [2023-10-24T15:51:06.406Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:50 .git [2023-10-24T15:51:06.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:49 .github [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 15:49 .gitignore [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:49 .golangci.yml [2023-10-24T15:51:06.406Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:49 .semver [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 15:49 Attribution.txt [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 15:49 CHANGELOG.md [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 15:49 Dockerfile [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:49 GOVERNANCE.md [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 15:49 Jenkinsfile [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:49 LICENSE [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 15:49 Makefile [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 15:49 OWNERS.md [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 15:49 README.md [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 15:49 VERSION [2023-10-24T15:51:06.406Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:49 bin [2023-10-24T15:51:06.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:49 cmd [2023-10-24T15:51:06.406Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 15:50 coverage.out [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 15:49 go.mod [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 15:49 go.sum [2023-10-24T15:51:06.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:49 internal [2023-10-24T15:51:06.406Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:49 simulator [2023-10-24T15:51:06.406Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 15:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:06.706Z] + 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=8605cffecbdc9fcb52dd0eb94cc366191c17ee41 --label arch=amd64 --label version=3.1.0-dev.19 . [2023-10-24T15:51:06.706Z] Sending build context to Docker daemon 6.533MB [2023-10-24T15:51:06.706Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:51:06.706Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-24T15:51:06.706Z] ---> d791a5aae3f2 [2023-10-24T15:51:06.706Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:51:06.965Z] ---> Running in 3610bc519059 [2023-10-24T15:51:06.965Z] Removing intermediate container 3610bc519059 [2023-10-24T15:51:06.965Z] ---> 841cb88c1e79 [2023-10-24T15:51:06.965Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:51:06.965Z] ---> Running in b4f65cf8dc92 [2023-10-24T15:51:06.965Z] Removing intermediate container b4f65cf8dc92 [2023-10-24T15:51:06.965Z] ---> b9e29118cbde [2023-10-24T15:51:06.965Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-24T15:51:07.224Z] ---> Running in c6f8274cd182 [2023-10-24T15:51:07.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:51:07.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:51:07.741Z] OK: 270 MiB in 60 packages [2023-10-24T15:51:08.001Z] Removing intermediate container c6f8274cd182 [2023-10-24T15:51:08.001Z] ---> 2d29b4584d87 [2023-10-24T15:51:08.001Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-24T15:51:08.001Z] ---> Running in eccde2b2b53a [2023-10-24T15:51:08.001Z] Removing intermediate container eccde2b2b53a [2023-10-24T15:51:08.001Z] ---> 24b5a57fecf8 [2023-10-24T15:51:08.001Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-24T15:51:08.258Z] ---> 3358c46a39fe [2023-10-24T15:51:08.258Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:51:08.258Z] ---> Running in 876962f99c6c [2023-10-24T15:51:08.834Z] Removing intermediate container 876962f99c6c [2023-10-24T15:51:08.834Z] ---> 31f4815bc49b [2023-10-24T15:51:08.834Z] Step 9/22 : COPY . . [2023-10-24T15:51:09.092Z] ---> 0811f6ac518c [2023-10-24T15:51:09.092Z] Step 10/22 : RUN ${MAKE} [2023-10-24T15:51:09.092Z] ---> Running in 2f1111efa9ae [2023-10-24T15:51:09.350Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-24T15:51:31.707Z] Removing intermediate container 2f1111efa9ae [2023-10-24T15:51:31.707Z] ---> 1505a45a1dec [2023-10-24T15:51:31.707Z] Step 11/22 : FROM alpine:3.18 [2023-10-24T15:51:31.707Z] 3.18: Pulling from library/alpine [2023-10-24T15:51:31.707Z] 96526aa774ef: Pulling fs layer [2023-10-24T15:51:31.707Z] 96526aa774ef: Verifying Checksum [2023-10-24T15:51:31.707Z] 96526aa774ef: Download complete [2023-10-24T15:51:31.707Z] 96526aa774ef: Pull complete [2023-10-24T15:51:31.707Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T15:51:31.707Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T15:51:31.707Z] ---> 8ca4688f4f35 [2023-10-24T15:51:31.707Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-24T15:51:31.707Z] ---> Running in cf3188c71b1e [2023-10-24T15:51:31.707Z] Removing intermediate container cf3188c71b1e [2023-10-24T15:51:31.707Z] ---> 1f1ea8b596f9 [2023-10-24T15:51:31.707Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-24T15:51:31.707Z] ---> Running in f4f7a6d3206a [2023-10-24T15:51:31.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:51:31.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:51:31.707Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T15:51:31.707Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:51:31.707Z] OK: 7 MiB in 16 packages [2023-10-24T15:51:31.707Z] Removing intermediate container f4f7a6d3206a [2023-10-24T15:51:31.707Z] ---> e665fc71dd9e [2023-10-24T15:51:31.707Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-24T15:51:31.967Z] ---> ff3ae6e037f2 [2023-10-24T15:51:31.967Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-24T15:51:31.967Z] ---> 06e59faa71dd [2023-10-24T15:51:31.967Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-24T15:51:31.967Z] ---> 0d21dbb8a74e [2023-10-24T15:51:31.967Z] Step 17/22 : EXPOSE 59901 [2023-10-24T15:51:32.225Z] ---> Running in 05a988d9b882 [2023-10-24T15:51:32.225Z] Removing intermediate container 05a988d9b882 [2023-10-24T15:51:32.225Z] ---> 0ded071fae83 [2023-10-24T15:51:32.225Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-24T15:51:32.225Z] ---> Running in f954506adb26 [2023-10-24T15:51:32.225Z] Removing intermediate container f954506adb26 [2023-10-24T15:51:32.225Z] ---> 3d2734ad4a8d [2023-10-24T15:51:32.225Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T15:51:32.225Z] ---> Running in a0fa7598420c [2023-10-24T15:51:32.225Z] Removing intermediate container a0fa7598420c [2023-10-24T15:51:32.225Z] ---> 3e53c6f33dbe [2023-10-24T15:51:32.225Z] Step 20/22 : LABEL arch=amd64 [2023-10-24T15:51:32.484Z] ---> Running in 3025f7b23c75 [2023-10-24T15:51:32.484Z] Removing intermediate container 3025f7b23c75 [2023-10-24T15:51:32.484Z] ---> 29cb4ec8e19b [2023-10-24T15:51:32.484Z] Step 21/22 : LABEL git_sha=8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [2023-10-24T15:51:32.484Z] ---> Running in da5d1285c788 [2023-10-24T15:51:32.484Z] Removing intermediate container da5d1285c788 [2023-10-24T15:51:32.484Z] ---> a266f2d2c332 [2023-10-24T15:51:32.484Z] Step 22/22 : LABEL version=3.1.0-dev.19 [2023-10-24T15:51:32.484Z] ---> Running in 79cb56e86eee [2023-10-24T15:51:32.744Z] Removing intermediate container 79cb56e86eee [2023-10-24T15:51:32.744Z] ---> 13339ea2df4c [2023-10-24T15:51:32.744Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T15:51:32.744Z] Successfully built 13339ea2df4c [2023-10-24T15:51:32.744Z] 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-10-24T15:51:32.855Z] provisioning config files... [2023-10-24T15:51:32.865Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2768537161098755788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:51:33.160Z] ---> docker-login.sh [2023-10-24T15:51:33.160Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:51:33.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:51:33.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:51:33.160Z] Configure a credential helper to remove this warning. See [2023-10-24T15:51:33.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:51:33.160Z] [2023-10-24T15:51:33.160Z] Login Succeeded [2023-10-24T15:51:33.160Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:51:33.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:51:33.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:51:33.160Z] Configure a credential helper to remove this warning. See [2023-10-24T15:51:33.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:51:33.160Z] [2023-10-24T15:51:33.160Z] Login Succeeded [2023-10-24T15:51:33.160Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:51:33.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:51:33.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:51:33.419Z] Configure a credential helper to remove this warning. See [2023-10-24T15:51:33.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:51:33.419Z] [2023-10-24T15:51:33.419Z] Login Succeeded [2023-10-24T15:51:33.419Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:51:33.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:51:33.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:51:33.419Z] Configure a credential helper to remove this warning. See [2023-10-24T15:51:33.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:51:33.419Z] [2023-10-24T15:51:33.419Z] Login Succeeded [2023-10-24T15:51:33.419Z] docker.io [2023-10-24T15:51:33.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:51:33.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:51:33.986Z] Configure a credential helper to remove this warning. See [2023-10-24T15:51:33.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:51:33.986Z] [2023-10-24T15:51:33.986Z] Login Succeeded [2023-10-24T15:51:33.986Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:51:33.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T15:51:34.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:51:34.055Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-10-24T15:51:34.055Z] 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [2023-10-24T15:51:34.055Z] latest [2023-10-24T15:51:34.055Z] 3.1.0-dev.19 [2023-10-24T15:51:34.055Z] 8605cffecbdc9fcb52dd0eb94cc366191c17ee41-3.1.0-dev.19 [2023-10-24T15:51:34.055Z] main [2023-10-24T15:51:34.055Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:34.381Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:34.682Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [2023-10-24T15:51:34.682Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T15:51:34.682Z] 768895a1dc7a: Preparing [2023-10-24T15:51:34.682Z] 2c4ae1300e4d: Preparing [2023-10-24T15:51:34.682Z] 878d0fc3c8e3: Preparing [2023-10-24T15:51:34.682Z] a394c964d4a4: Preparing [2023-10-24T15:51:34.682Z] cc2447e1835a: Preparing [2023-10-24T15:51:34.682Z] cc2447e1835a: Layer already exists [2023-10-24T15:51:34.682Z] 768895a1dc7a: Pushed [2023-10-24T15:51:34.682Z] a394c964d4a4: Pushed [2023-10-24T15:51:34.682Z] 2c4ae1300e4d: Pushed [2023-10-24T15:51:37.210Z] 878d0fc3c8e3: Pushed [2023-10-24T15:51:37.469Z] 8605cffecbdc9fcb52dd0eb94cc366191c17ee41: digest: sha256:aecd30f4257fabbafa469fae8f49018a6d46f151fe958cac1f347b7fec2960b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:37.775Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:38.079Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-24T15:51:38.079Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T15:51:38.079Z] 768895a1dc7a: Preparing [2023-10-24T15:51:38.079Z] 2c4ae1300e4d: Preparing [2023-10-24T15:51:38.079Z] 878d0fc3c8e3: Preparing [2023-10-24T15:51:38.079Z] a394c964d4a4: Preparing [2023-10-24T15:51:38.079Z] cc2447e1835a: Preparing [2023-10-24T15:51:38.079Z] 878d0fc3c8e3: Layer already exists [2023-10-24T15:51:38.079Z] 768895a1dc7a: Layer already exists [2023-10-24T15:51:38.079Z] a394c964d4a4: Layer already exists [2023-10-24T15:51:38.079Z] 2c4ae1300e4d: Layer already exists [2023-10-24T15:51:38.079Z] cc2447e1835a: Layer already exists [2023-10-24T15:51:38.080Z] latest: digest: sha256:aecd30f4257fabbafa469fae8f49018a6d46f151fe958cac1f347b7fec2960b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:38.385Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:38.687Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.19 [2023-10-24T15:51:38.687Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T15:51:38.687Z] 768895a1dc7a: Preparing [2023-10-24T15:51:38.687Z] 2c4ae1300e4d: Preparing [2023-10-24T15:51:38.687Z] 878d0fc3c8e3: Preparing [2023-10-24T15:51:38.687Z] a394c964d4a4: Preparing [2023-10-24T15:51:38.687Z] cc2447e1835a: Preparing [2023-10-24T15:51:38.687Z] 2c4ae1300e4d: Layer already exists [2023-10-24T15:51:38.687Z] 878d0fc3c8e3: Layer already exists [2023-10-24T15:51:38.687Z] a394c964d4a4: Layer already exists [2023-10-24T15:51:38.687Z] cc2447e1835a: Layer already exists [2023-10-24T15:51:38.687Z] 768895a1dc7a: Layer already exists [2023-10-24T15:51:38.687Z] 3.1.0-dev.19: digest: sha256:aecd30f4257fabbafa469fae8f49018a6d46f151fe958cac1f347b7fec2960b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:39.007Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8605cffecbdc9fcb52dd0eb94cc366191c17ee41-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:39.323Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:8605cffecbdc9fcb52dd0eb94cc366191c17ee41-3.1.0-dev.19 [2023-10-24T15:51:39.323Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T15:51:39.323Z] 768895a1dc7a: Preparing [2023-10-24T15:51:39.323Z] 2c4ae1300e4d: Preparing [2023-10-24T15:51:39.323Z] 878d0fc3c8e3: Preparing [2023-10-24T15:51:39.323Z] a394c964d4a4: Preparing [2023-10-24T15:51:39.323Z] cc2447e1835a: Preparing [2023-10-24T15:51:39.323Z] a394c964d4a4: Layer already exists [2023-10-24T15:51:39.323Z] cc2447e1835a: Layer already exists [2023-10-24T15:51:39.323Z] 2c4ae1300e4d: Layer already exists [2023-10-24T15:51:39.323Z] 878d0fc3c8e3: Layer already exists [2023-10-24T15:51:39.323Z] 768895a1dc7a: Layer already exists [2023-10-24T15:51:39.323Z] 8605cffecbdc9fcb52dd0eb94cc366191c17ee41-3.1.0-dev.19: digest: sha256:aecd30f4257fabbafa469fae8f49018a6d46f151fe958cac1f347b7fec2960b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:39.643Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:39.948Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-10-24T15:51:39.948Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T15:51:39.948Z] 768895a1dc7a: Preparing [2023-10-24T15:51:39.948Z] 2c4ae1300e4d: Preparing [2023-10-24T15:51:39.948Z] 878d0fc3c8e3: Preparing [2023-10-24T15:51:39.948Z] a394c964d4a4: Preparing [2023-10-24T15:51:39.948Z] cc2447e1835a: Preparing [2023-10-24T15:51:39.948Z] 878d0fc3c8e3: Layer already exists [2023-10-24T15:51:39.948Z] cc2447e1835a: Layer already exists [2023-10-24T15:51:39.948Z] 2c4ae1300e4d: Layer already exists [2023-10-24T15:51:39.948Z] a394c964d4a4: Layer already exists [2023-10-24T15:51:39.948Z] 768895a1dc7a: Layer already exists [2023-10-24T15:51:39.948Z] main: digest: sha256:aecd30f4257fabbafa469fae8f49018a6d46f151fe958cac1f347b7fec2960b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T15:51:39.985Z] ===================================================== [Pipeline] echo [2023-10-24T15:51:39.991Z] taggedImages: [2023-10-24T15:51:39.991Z] - nexus3.edgexfoundry.org:10004/device-modbus:8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [2023-10-24T15:51:39.991Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-24T15:51:39.991Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.19 [2023-10-24T15:51:39.991Z] - nexus3.edgexfoundry.org:10004/device-modbus:8605cffecbdc9fcb52dd0eb94cc366191c17ee41-3.1.0-dev.19 [2023-10-24T15:51:39.991Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:40.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:51:40.358Z] [2023-10-24T15:51:40.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:40.652Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:51:40.652Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T15:51:40.652Z] 5eb5b503b376: Pulling fs layer [2023-10-24T15:51:40.652Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T15:51:40.652Z] ec43610c2a17: Pulling fs layer [2023-10-24T15:51:40.652Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T15:51:40.652Z] 33b1e0a273af: Pulling fs layer [2023-10-24T15:51:40.652Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T15:51:40.652Z] 2f39f015ded8: Pulling fs layer [2023-10-24T15:51:40.652Z] 33b1e0a273af: Waiting [2023-10-24T15:51:40.652Z] 2f39f015ded8: Waiting [2023-10-24T15:51:40.652Z] 5d3b04190fa2: Waiting [2023-10-24T15:51:40.652Z] 3a2ae6a8a46f: Waiting [2023-10-24T15:51:40.652Z] 5c69ac0246d0: Download complete [2023-10-24T15:51:40.652Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T15:51:40.652Z] 3a2ae6a8a46f: Download complete [2023-10-24T15:51:40.652Z] 33b1e0a273af: Verifying Checksum [2023-10-24T15:51:40.652Z] 33b1e0a273af: Download complete [2023-10-24T15:51:40.652Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T15:51:40.652Z] 5d3b04190fa2: Download complete [2023-10-24T15:51:40.652Z] ec43610c2a17: Verifying Checksum [2023-10-24T15:51:40.652Z] ec43610c2a17: Download complete [2023-10-24T15:51:40.910Z] 5eb5b503b376: Verifying Checksum [2023-10-24T15:51:40.910Z] 5eb5b503b376: Download complete [2023-10-24T15:51:41.474Z] 2f39f015ded8: Download complete [2023-10-24T15:51:42.037Z] 5eb5b503b376: Pull complete [2023-10-24T15:51:42.037Z] 5c69ac0246d0: Pull complete [2023-10-24T15:51:42.603Z] ec43610c2a17: Pull complete [2023-10-24T15:51:42.603Z] 3a2ae6a8a46f: Pull complete [2023-10-24T15:51:42.603Z] 33b1e0a273af: Pull complete [2023-10-24T15:51:42.861Z] 5d3b04190fa2: Pull complete [2023-10-24T15:51:47.042Z] 2f39f015ded8: Pull complete [2023-10-24T15:51:47.042Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T15:51:47.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:51:47.042Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:51:47.132Z] prd-ubuntu20.04-docker-8c-8g-9944 does not seem to be running inside a container [2023-10-24T15:51:47.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T15:51:51.854Z] $ docker top b59302f0d036326b18ad5bd26ae83cbbb0dda2196f0e9ec2e79f120bac3dd01e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:51:52.231Z] ---> job-cost.sh [2023-10-24T15:51:52.231Z] lf-activate-venv: SKIPPING [2023-10-24T15:51:52.231Z] INFO: No Stack... [2023-10-24T15:51:52.490Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T15:51:52.748Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T15:51:53.036Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-10-24T15:51:53.036Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T15:51:53.048Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-133-stack-cost] [2023-10-24T15:51:53.055Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-133-stack-cost] did not exist. Created. [2023-10-24T15:51:53.055Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T15:51:53.355Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T15:51:53.373Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T15:51:53.379Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T15:51:53.395Z] $ docker stop --time=1 b59302f0d036326b18ad5bd26ae83cbbb0dda2196f0e9ec2e79f120bac3dd01e [2023-10-24T15:51:54.535Z] $ docker rm -f --volumes b59302f0d036326b18ad5bd26ae83cbbb0dda2196f0e9ec2e79f120bac3dd01e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T15:53:02.625Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9947 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-10-24T15:53:02.635Z] Running in /w/workspace/device-modbus-go/133 [Pipeline] { [Pipeline] checkout [2023-10-24T15:53:02.669Z] Selected Git installation does not exist. Using Default [2023-10-24T15:53:02.669Z] The recommended git tool is: NONE [2023-10-24T15:53:08.941Z] using credential edgex-jenkins-ssh [2023-10-24T15:53:08.961Z] Cloning the remote Git repository [2023-10-24T15:53:09.011Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-10-24T15:53:09.132Z] > git init /w/workspace/device-modbus-go/133 # timeout=10 [2023-10-24T15:53:09.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-24T15:53:09.319Z] > git --version # timeout=10 [2023-10-24T15:53:09.343Z] > git --version # 'git version 2.25.1' [2023-10-24T15:53:09.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T15:53:09.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T15:53:12.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-24T15:53:12.118Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T15:53:13.247Z] Avoid second fetch [2023-10-24T15:53:13.247Z] Checking out Revision 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 (main) [2023-10-24T15:53:13.958Z] Commit message: "feat!: Remove snap packaging (#514)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:53:13.261Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T15:53:13.350Z] > git checkout -f 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 # timeout=10 [2023-10-24T15:53:14.931Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T15:53:14.931Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T15:53:14.931Z] Dload Upload Total Spent Left Speed [2023-10-24T15:53:14.931Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-10-24T15:53:15.579Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T15:53:15.925Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T15:53:15.925Z] + sudo tee /etc/docker/daemon.new [2023-10-24T15:53:15.925Z] { [2023-10-24T15:53:15.925Z] "registry-mirrors": [ [2023-10-24T15:53:15.925Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T15:53:15.925Z] ], [2023-10-24T15:53:15.925Z] "bip": "10.250.0.254/24", [2023-10-24T15:53:15.925Z] "hosts": [ [2023-10-24T15:53:15.925Z] "tcp://0.0.0.0:5555", [2023-10-24T15:53:15.925Z] "unix:///var/run/docker.sock" [2023-10-24T15:53:15.925Z] ], [2023-10-24T15:53:15.925Z] "mtu": 1458, [2023-10-24T15:53:15.925Z] "selinux-enabled": true, [2023-10-24T15:53:15.926Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T15:53:15.926Z] } [Pipeline] sh [2023-10-24T15:53:16.277Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T15:53:16.628Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:53:34.953Z] provisioning config files... [2023-10-24T15:53:34.992Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/133@tmp/config12100312886442795832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:53:35.366Z] ---> docker-login.sh [2023-10-24T15:53:35.366Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:53:35.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:53:36.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:53:36.225Z] Configure a credential helper to remove this warning. See [2023-10-24T15:53:36.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:53:36.225Z] [2023-10-24T15:53:36.225Z] Login Succeeded [2023-10-24T15:53:36.225Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:53:36.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:53:36.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:53:36.495Z] Configure a credential helper to remove this warning. See [2023-10-24T15:53:36.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:53:36.495Z] [2023-10-24T15:53:36.495Z] Login Succeeded [2023-10-24T15:53:36.495Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:53:36.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:53:37.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:53:37.046Z] Configure a credential helper to remove this warning. See [2023-10-24T15:53:37.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:53:37.046Z] [2023-10-24T15:53:37.046Z] Login Succeeded [2023-10-24T15:53:37.046Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:53:37.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:53:37.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:53:37.321Z] Configure a credential helper to remove this warning. See [2023-10-24T15:53:37.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:53:37.321Z] [2023-10-24T15:53:37.321Z] Login Succeeded [2023-10-24T15:53:37.321Z] docker.io [2023-10-24T15:53:37.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:53:38.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:53:38.187Z] Configure a credential helper to remove this warning. See [2023-10-24T15:53:38.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:53:38.187Z] [2023-10-24T15:53:38.187Z] Login Succeeded [2023-10-24T15:53:38.187Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:53:38.202Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T15:53:38.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:53:38.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:53:38.601Z] ========================================================= [2023-10-24T15:53:38.601Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T15:53:38.601Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:38.958Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T15:53:39.230Z] Sending build context to Docker daemon 3.368MB [2023-10-24T15:53:39.230Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:53:39.230Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T15:53:39.500Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T15:53:39.500Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T15:53:39.500Z] 5d54e960e981: Pulling fs layer [2023-10-24T15:53:39.500Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T15:53:39.500Z] f0e02332f6b5: Pulling fs layer [2023-10-24T15:53:39.500Z] cefa15bbcfad: Pulling fs layer [2023-10-24T15:53:39.500Z] 17808c966233: Pulling fs layer [2023-10-24T15:53:39.500Z] f4c1fc716caa: Pulling fs layer [2023-10-24T15:53:39.500Z] cefa15bbcfad: Waiting [2023-10-24T15:53:39.500Z] 17808c966233: Waiting [2023-10-24T15:53:39.500Z] f4c1fc716caa: Waiting [2023-10-24T15:53:39.500Z] f0e02332f6b5: Waiting [2023-10-24T15:53:39.500Z] 5d54e960e981: Verifying Checksum [2023-10-24T15:53:39.500Z] 5d54e960e981: Download complete [2023-10-24T15:53:39.500Z] f0e02332f6b5: Verifying Checksum [2023-10-24T15:53:39.500Z] f0e02332f6b5: Download complete [2023-10-24T15:53:39.500Z] cefa15bbcfad: Verifying Checksum [2023-10-24T15:53:39.500Z] cefa15bbcfad: Download complete [2023-10-24T15:53:39.500Z] 9fda8d8052c6: Download complete [2023-10-24T15:53:40.100Z] f4c1fc716caa: Verifying Checksum [2023-10-24T15:53:40.100Z] f4c1fc716caa: Download complete [2023-10-24T15:53:40.694Z] 9fda8d8052c6: Pull complete [2023-10-24T15:53:41.283Z] 5d54e960e981: Pull complete [2023-10-24T15:53:41.283Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T15:53:41.283Z] c4a7e357bf2a: Download complete [2023-10-24T15:53:42.708Z] 17808c966233: Verifying Checksum [2023-10-24T15:53:42.708Z] 17808c966233: Download complete [2023-10-24T15:53:55.068Z] c4a7e357bf2a: Pull complete [2023-10-24T15:53:55.336Z] f0e02332f6b5: Pull complete [2023-10-24T15:53:55.614Z] cefa15bbcfad: Pull complete [2023-10-24T15:54:05.738Z] 17808c966233: Pull complete [2023-10-24T15:54:07.742Z] f4c1fc716caa: Pull complete [2023-10-24T15:54:07.742Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T15:54:07.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T15:54:07.742Z] ---> ea914061e18c [2023-10-24T15:54:07.742Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:54:08.332Z] ---> Running in b03b7e8b17cf [2023-10-24T15:54:08.605Z] Removing intermediate container b03b7e8b17cf [2023-10-24T15:54:08.605Z] ---> f9dddb4c4294 [2023-10-24T15:54:08.605Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:54:08.875Z] ---> Running in f5a600b0f8ed [2023-10-24T15:54:09.149Z] Removing intermediate container f5a600b0f8ed [2023-10-24T15:54:09.149Z] ---> bf924d84b4f4 [2023-10-24T15:54:09.149Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-24T15:54:09.418Z] ---> Running in e6eb0ba7ee0c [2023-10-24T15:54:10.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:54:11.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:54:12.200Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T15:54:12.471Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-24T15:54:12.471Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T15:54:12.471Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T15:54:12.471Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-24T15:54:12.471Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-24T15:54:12.471Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-24T15:54:12.471Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-24T15:54:12.471Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:54:12.471Z] OK: 272 MiB in 60 packages [2023-10-24T15:54:13.900Z] Removing intermediate container e6eb0ba7ee0c [2023-10-24T15:54:13.900Z] ---> 08e122e179b9 [2023-10-24T15:54:13.900Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-24T15:54:13.900Z] ---> Running in f0db35a5ef0f [2023-10-24T15:54:14.168Z] Removing intermediate container f0db35a5ef0f [2023-10-24T15:54:14.168Z] ---> e2c0ea7d2f77 [2023-10-24T15:54:14.168Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T15:54:14.761Z] ---> 47c5c6c346f7 [2023-10-24T15:54:14.761Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:54:15.029Z] ---> Running in 47be9d5807a6 [2023-10-24T15:55:51.878Z] Removing intermediate container 47be9d5807a6 [2023-10-24T15:55:51.878Z] ---> a98cc978fc05 [2023-10-24T15:55:51.878Z] Step 9/10 : COPY . . [2023-10-24T15:55:51.878Z] ---> 44d00cf7f77e [2023-10-24T15:55:51.878Z] Step 10/10 : RUN ${MAKE} [2023-10-24T15:55:51.878Z] ---> Running in 7cd7e33336bc [2023-10-24T15:55:51.878Z] noop [2023-10-24T15:55:51.878Z] Removing intermediate container 7cd7e33336bc [2023-10-24T15:55:51.878Z] ---> b19873e08955 [2023-10-24T15:55:51.878Z] Successfully built b19873e08955 [2023-10-24T15:55:51.878Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:55:52.237Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T15:55:52.237Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:55:52.481Z] prd-ubuntu20.04-docker-arm64-4c-16g-9947 does not seem to be running inside a container [2023-10-24T15:55:52.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/133 -v /w/workspace/device-modbus-go/133:/w/workspace/device-modbus-go/133:rw,z -v /w/workspace/device-modbus-go/133@tmp:/w/workspace/device-modbus-go/133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T15:55:56.477Z] $ docker top 1b45eb0b74972bf1a4e3aa4a0573870735a2f754d4d499d3298487e4ad434c9b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:55:57.320Z] + go version [2023-10-24T15:55:57.320Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T15:55:57.346Z] $ docker stop --time=1 1b45eb0b74972bf1a4e3aa4a0573870735a2f754d4d499d3298487e4ad434c9b [2023-10-24T15:55:58.981Z] $ docker rm -f --volumes 1b45eb0b74972bf1a4e3aa4a0573870735a2f754d4d499d3298487e4ad434c9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:55:59.513Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T15:55:59.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:55:59.702Z] prd-ubuntu20.04-docker-arm64-4c-16g-9947 does not seem to be running inside a container [2023-10-24T15:55:59.785Z] $ 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/133 -v /w/workspace/device-modbus-go/133:/w/workspace/device-modbus-go/133:rw,z -v /w/workspace/device-modbus-go/133@tmp:/w/workspace/device-modbus-go/133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T15:56:00.982Z] $ docker top ce4c2092cbf6ac7127db93a3b53e6eb05a8d0102acc6efff6846c74f4643c743 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:56:01.818Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/133 [Pipeline] fileExists [Pipeline] sh [2023-10-24T15:56:02.481Z] + make test [2023-10-24T15:56:02.481Z] go test ./... -coverprofile=coverage.out [2023-10-24T15:56:06.765Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-24T15:57:58.449Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-24T15:57:59.867Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.071s coverage: 47.9% of statements [2023-10-24T15:58:00.837Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T15:58:00.837Z] go vet ./... [2023-10-24T15:58:33.087Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T15:58:33.087Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T15:58:33.087Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T15:58:33.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T15:58:33.126Z] $ docker stop --time=1 ce4c2092cbf6ac7127db93a3b53e6eb05a8d0102acc6efff6846c74f4643c743 [2023-10-24T15:58:35.038Z] $ docker rm -f --volumes ce4c2092cbf6ac7127db93a3b53e6eb05a8d0102acc6efff6846c74f4643c743 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:58:36.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T15:58:36.295Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T15:58:36.806Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:58:37.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T15:58:37.515Z] + ls -al . [2023-10-24T15:58:37.515Z] total 184 [2023-10-24T15:58:37.515Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:56 . [2023-10-24T15:58:37.515Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:53 .. [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 15:53 .dockerignore [2023-10-24T15:58:37.515Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:53 .git [2023-10-24T15:58:37.515Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:53 .github [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 15:53 .gitignore [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:53 .golangci.yml [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 15:53 Attribution.txt [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 15:53 CHANGELOG.md [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 15:53 Dockerfile [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:53 GOVERNANCE.md [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 15:53 Jenkinsfile [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:53 LICENSE [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 15:53 Makefile [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 15:53 OWNERS.md [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 15:53 README.md [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 15:49 VERSION [2023-10-24T15:58:37.515Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:53 bin [2023-10-24T15:58:37.515Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:53 cmd [2023-10-24T15:58:37.515Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 15:57 coverage.out [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 15:53 go.mod [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 15:53 go.sum [2023-10-24T15:58:37.515Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:53 internal [2023-10-24T15:58:37.515Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:53 simulator [2023-10-24T15:58:37.515Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 15:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:58:37.862Z] + 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=8605cffecbdc9fcb52dd0eb94cc366191c17ee41 --label arch=arm64 --label version=3.1.0-dev.19 . [2023-10-24T15:58:38.127Z] Sending build context to Docker daemon 3.394MB [2023-10-24T15:58:38.127Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:58:38.127Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-24T15:58:38.127Z] ---> b19873e08955 [2023-10-24T15:58:38.127Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:58:38.396Z] ---> Running in 67fa172309dc [2023-10-24T15:58:38.667Z] Removing intermediate container 67fa172309dc [2023-10-24T15:58:38.667Z] ---> 013135b6f73b [2023-10-24T15:58:38.667Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:58:38.667Z] ---> Running in ce049c5424eb [2023-10-24T15:58:39.258Z] Removing intermediate container ce049c5424eb [2023-10-24T15:58:39.258Z] ---> 6ff7686c2c4a [2023-10-24T15:58:39.258Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-24T15:58:39.258Z] ---> Running in 0bb686ccaf50 [2023-10-24T15:58:40.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:58:40.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:58:41.772Z] OK: 272 MiB in 60 packages [2023-10-24T15:58:45.118Z] Removing intermediate container 0bb686ccaf50 [2023-10-24T15:58:45.118Z] ---> 32d512ada273 [2023-10-24T15:58:45.118Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-24T15:58:45.118Z] ---> Running in 1021d8122bbd [2023-10-24T15:58:45.118Z] Removing intermediate container 1021d8122bbd [2023-10-24T15:58:45.118Z] ---> 585be13f2ccd [2023-10-24T15:58:45.118Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-24T15:58:45.701Z] ---> 047a5479679a [2023-10-24T15:58:45.701Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:58:45.701Z] ---> Running in ddff28ed9cae [2023-10-24T15:58:48.277Z] Removing intermediate container ddff28ed9cae [2023-10-24T15:58:48.277Z] ---> d53ae8f6ccbe [2023-10-24T15:58:48.277Z] Step 9/22 : COPY . . [2023-10-24T15:58:48.859Z] ---> cb07f7ddf265 [2023-10-24T15:58:48.859Z] Step 10/22 : RUN ${MAKE} [2023-10-24T15:58:48.859Z] ---> Running in a364b725a973 [2023-10-24T15:58:49.825Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-24T16:00:56.580Z] Removing intermediate container a364b725a973 [2023-10-24T16:00:56.580Z] ---> dd3f439da146 [2023-10-24T16:00:56.580Z] Step 11/22 : FROM alpine:3.18 [2023-10-24T16:00:56.580Z] 3.18: Pulling from library/alpine [2023-10-24T16:00:56.580Z] 579b34f0a95b: Pulling fs layer [2023-10-24T16:00:56.580Z] 579b34f0a95b: Verifying Checksum [2023-10-24T16:00:56.580Z] 579b34f0a95b: Download complete [2023-10-24T16:00:56.580Z] 579b34f0a95b: Pull complete [2023-10-24T16:00:56.580Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T16:00:56.580Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T16:00:56.580Z] ---> 3cc203321400 [2023-10-24T16:00:56.580Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-24T16:00:56.580Z] ---> Running in 387f3a724e14 [2023-10-24T16:00:56.580Z] Removing intermediate container 387f3a724e14 [2023-10-24T16:00:56.580Z] ---> e69f3d1b7f51 [2023-10-24T16:00:56.580Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-24T16:00:56.580Z] ---> Running in 5a90d29b72f5 [2023-10-24T16:00:56.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:00:56.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:00:56.580Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T16:00:56.580Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:00:56.580Z] OK: 8 MiB in 16 packages [2023-10-24T16:00:56.580Z] Removing intermediate container 5a90d29b72f5 [2023-10-24T16:00:56.580Z] ---> fe6e601b7f5f [2023-10-24T16:00:56.580Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-24T16:00:57.163Z] ---> 87b819741ebf [2023-10-24T16:00:57.163Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-24T16:00:57.429Z] ---> 87adc6200487 [2023-10-24T16:00:57.429Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-24T16:00:58.024Z] ---> 3de6aa334f13 [2023-10-24T16:00:58.024Z] Step 17/22 : EXPOSE 59901 [2023-10-24T16:00:58.294Z] ---> Running in 3ec213b7669b [2023-10-24T16:00:58.560Z] Removing intermediate container 3ec213b7669b [2023-10-24T16:00:58.560Z] ---> 813781de0f9c [2023-10-24T16:00:58.560Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-24T16:00:58.560Z] ---> Running in 49e05a1cf231 [2023-10-24T16:00:58.829Z] Removing intermediate container 49e05a1cf231 [2023-10-24T16:00:58.829Z] ---> ad05c451774e [2023-10-24T16:00:58.829Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T16:00:58.829Z] ---> Running in 3c2066d5fc3a [2023-10-24T16:00:59.420Z] Removing intermediate container 3c2066d5fc3a [2023-10-24T16:00:59.420Z] ---> 4b6c95dd3a20 [2023-10-24T16:00:59.420Z] Step 20/22 : LABEL arch=arm64 [2023-10-24T16:00:59.420Z] ---> Running in f2a3458ef78e [2023-10-24T16:00:59.688Z] Removing intermediate container f2a3458ef78e [2023-10-24T16:00:59.688Z] ---> 9ad17d48ca45 [2023-10-24T16:00:59.688Z] Step 21/22 : LABEL git_sha=8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [2023-10-24T16:00:59.688Z] ---> Running in 9d197815b08f [2023-10-24T16:01:00.271Z] Removing intermediate container 9d197815b08f [2023-10-24T16:01:00.271Z] ---> bbf811199a89 [2023-10-24T16:01:00.271Z] Step 22/22 : LABEL version=3.1.0-dev.19 [2023-10-24T16:01:00.271Z] ---> Running in e3b636b4bb28 [2023-10-24T16:01:00.536Z] Removing intermediate container e3b636b4bb28 [2023-10-24T16:01:00.536Z] ---> db83987461a6 [2023-10-24T16:01:00.536Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T16:01:00.536Z] Successfully built db83987461a6 [2023-10-24T16:01:00.536Z] 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-10-24T16:01:00.657Z] provisioning config files... [2023-10-24T16:01:00.673Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/133@tmp/config14869425735729362314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:01:01.001Z] ---> docker-login.sh [2023-10-24T16:01:01.001Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:01:01.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:01:01.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:01:01.271Z] Configure a credential helper to remove this warning. See [2023-10-24T16:01:01.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:01:01.271Z] [2023-10-24T16:01:01.271Z] Login Succeeded [2023-10-24T16:01:01.271Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:01:01.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:01:01.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:01:01.542Z] Configure a credential helper to remove this warning. See [2023-10-24T16:01:01.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:01:01.542Z] [2023-10-24T16:01:01.542Z] Login Succeeded [2023-10-24T16:01:01.542Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:01:01.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:01:02.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:01:02.080Z] Configure a credential helper to remove this warning. See [2023-10-24T16:01:02.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:01:02.080Z] [2023-10-24T16:01:02.080Z] Login Succeeded [2023-10-24T16:01:02.080Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:01:03.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:01:03.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:01:03.051Z] Configure a credential helper to remove this warning. See [2023-10-24T16:01:03.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:01:03.051Z] [2023-10-24T16:01:03.051Z] Login Succeeded [2023-10-24T16:01:03.051Z] docker.io [2023-10-24T16:01:03.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:01:10.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:01:10.071Z] Configure a credential helper to remove this warning. See [2023-10-24T16:01:10.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:01:10.071Z] [2023-10-24T16:01:10.071Z] Login Succeeded [2023-10-24T16:01:10.071Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:01:10.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T16:01:10.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:01:10.160Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-10-24T16:01:10.160Z] 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [2023-10-24T16:01:10.160Z] latest [2023-10-24T16:01:10.160Z] 3.1.0-dev.19 [2023-10-24T16:01:10.160Z] 8605cffecbdc9fcb52dd0eb94cc366191c17ee41-3.1.0-dev.19 [2023-10-24T16:01:10.160Z] main [2023-10-24T16:01:10.160Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:10.521Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:10.875Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [2023-10-24T16:01:10.876Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T16:01:10.876Z] 535cf986364b: Preparing [2023-10-24T16:01:10.876Z] 404f8812a1de: Preparing [2023-10-24T16:01:10.876Z] af7cb7f8968b: Preparing [2023-10-24T16:01:10.876Z] 49715675595f: Preparing [2023-10-24T16:01:10.876Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:01:10.876Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:01:11.141Z] 404f8812a1de: Pushed [2023-10-24T16:01:11.141Z] 535cf986364b: Pushed [2023-10-24T16:01:11.141Z] 49715675595f: Pushed [2023-10-24T16:01:17.947Z] af7cb7f8968b: Pushed [2023-10-24T16:01:17.947Z] 8605cffecbdc9fcb52dd0eb94cc366191c17ee41: digest: sha256:75af7d380c2a0c7933d11e3e56ec8fa96a5ba9c752a23aa0c5dcfb78d8d76698 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:18.297Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:18.632Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-24T16:01:18.632Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T16:01:18.632Z] 535cf986364b: Preparing [2023-10-24T16:01:18.632Z] 404f8812a1de: Preparing [2023-10-24T16:01:18.632Z] af7cb7f8968b: Preparing [2023-10-24T16:01:18.632Z] 49715675595f: Preparing [2023-10-24T16:01:18.632Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:01:18.632Z] 535cf986364b: Layer already exists [2023-10-24T16:01:18.632Z] 404f8812a1de: Layer already exists [2023-10-24T16:01:18.632Z] af7cb7f8968b: Layer already exists [2023-10-24T16:01:18.632Z] 49715675595f: Layer already exists [2023-10-24T16:01:18.632Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:01:18.632Z] latest: digest: sha256:75af7d380c2a0c7933d11e3e56ec8fa96a5ba9c752a23aa0c5dcfb78d8d76698 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:19.235Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:19.582Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.19 [2023-10-24T16:01:19.582Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T16:01:19.582Z] 535cf986364b: Preparing [2023-10-24T16:01:19.582Z] 404f8812a1de: Preparing [2023-10-24T16:01:19.582Z] af7cb7f8968b: Preparing [2023-10-24T16:01:19.582Z] 49715675595f: Preparing [2023-10-24T16:01:19.582Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:01:19.582Z] 535cf986364b: Layer already exists [2023-10-24T16:01:19.582Z] 404f8812a1de: Layer already exists [2023-10-24T16:01:19.582Z] 49715675595f: Layer already exists [2023-10-24T16:01:19.582Z] af7cb7f8968b: Layer already exists [2023-10-24T16:01:19.582Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:01:19.582Z] 3.1.0-dev.19: digest: sha256:75af7d380c2a0c7933d11e3e56ec8fa96a5ba9c752a23aa0c5dcfb78d8d76698 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:20.207Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8605cffecbdc9fcb52dd0eb94cc366191c17ee41-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:20.560Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8605cffecbdc9fcb52dd0eb94cc366191c17ee41-3.1.0-dev.19 [2023-10-24T16:01:20.560Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T16:01:20.560Z] 535cf986364b: Preparing [2023-10-24T16:01:20.560Z] 404f8812a1de: Preparing [2023-10-24T16:01:20.560Z] af7cb7f8968b: Preparing [2023-10-24T16:01:20.560Z] 49715675595f: Preparing [2023-10-24T16:01:20.560Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:01:20.560Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:01:20.560Z] af7cb7f8968b: Layer already exists [2023-10-24T16:01:20.560Z] 49715675595f: Layer already exists [2023-10-24T16:01:20.560Z] 404f8812a1de: Layer already exists [2023-10-24T16:01:20.560Z] 535cf986364b: Layer already exists [2023-10-24T16:01:20.560Z] 8605cffecbdc9fcb52dd0eb94cc366191c17ee41-3.1.0-dev.19: digest: sha256:75af7d380c2a0c7933d11e3e56ec8fa96a5ba9c752a23aa0c5dcfb78d8d76698 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:20.902Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:21.237Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-10-24T16:01:21.237Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T16:01:21.237Z] 535cf986364b: Preparing [2023-10-24T16:01:21.237Z] 404f8812a1de: Preparing [2023-10-24T16:01:21.237Z] af7cb7f8968b: Preparing [2023-10-24T16:01:21.237Z] 49715675595f: Preparing [2023-10-24T16:01:21.237Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:01:21.237Z] 404f8812a1de: Layer already exists [2023-10-24T16:01:21.237Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:01:21.237Z] 535cf986364b: Layer already exists [2023-10-24T16:01:21.237Z] af7cb7f8968b: Layer already exists [2023-10-24T16:01:21.237Z] 49715675595f: Layer already exists [2023-10-24T16:01:21.237Z] main: digest: sha256:75af7d380c2a0c7933d11e3e56ec8fa96a5ba9c752a23aa0c5dcfb78d8d76698 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T16:01:21.556Z] ===================================================== [Pipeline] echo [2023-10-24T16:01:21.566Z] taggedImages: [2023-10-24T16:01:21.566Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [2023-10-24T16:01:21.566Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-24T16:01:21.566Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.19 [2023-10-24T16:01:21.566Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8605cffecbdc9fcb52dd0eb94cc366191c17ee41-3.1.0-dev.19 [2023-10-24T16:01:21.566Z] - 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-10-24T16:01:21.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:01:21.934Z] [2023-10-24T16:01:21.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:22.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:01:22.264Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T16:01:22.264Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T16:01:22.264Z] 04944245beec: Pulling fs layer [2023-10-24T16:01:22.264Z] 699f458cf7ca: Pulling fs layer [2023-10-24T16:01:22.264Z] 765212b225bb: Pulling fs layer [2023-10-24T16:01:22.264Z] f23df028b6ca: Pulling fs layer [2023-10-24T16:01:22.264Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T16:01:22.264Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T16:01:22.264Z] 765212b225bb: Waiting [2023-10-24T16:01:22.264Z] f23df028b6ca: Waiting [2023-10-24T16:01:22.264Z] d65c8cfc05b1: Waiting [2023-10-24T16:01:22.264Z] 2437ff75d9bd: Waiting [2023-10-24T16:01:22.532Z] 04944245beec: Verifying Checksum [2023-10-24T16:01:22.532Z] 04944245beec: Download complete [2023-10-24T16:01:22.532Z] 765212b225bb: Verifying Checksum [2023-10-24T16:01:22.532Z] 765212b225bb: Download complete [2023-10-24T16:01:22.532Z] f23df028b6ca: Verifying Checksum [2023-10-24T16:01:22.532Z] f23df028b6ca: Download complete [2023-10-24T16:01:22.532Z] d65c8cfc05b1: Download complete [2023-10-24T16:01:22.801Z] 699f458cf7ca: Verifying Checksum [2023-10-24T16:01:22.801Z] 699f458cf7ca: Download complete [2023-10-24T16:01:23.069Z] 8998bd30e6a1: Download complete [2023-10-24T16:01:25.651Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T16:01:25.651Z] 2437ff75d9bd: Download complete [2023-10-24T16:01:27.592Z] 8998bd30e6a1: Pull complete [2023-10-24T16:01:28.180Z] 04944245beec: Pull complete [2023-10-24T16:01:31.532Z] 699f458cf7ca: Pull complete [2023-10-24T16:01:31.532Z] 765212b225bb: Pull complete [2023-10-24T16:01:32.506Z] f23df028b6ca: Pull complete [2023-10-24T16:01:32.506Z] d65c8cfc05b1: Pull complete [2023-10-24T16:01:50.713Z] 2437ff75d9bd: Pull complete [2023-10-24T16:01:50.713Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T16:01:50.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:01:50.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:01:50.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-9947 does not seem to be running inside a container [2023-10-24T16:01:51.002Z] $ 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/133 -v /w/workspace/device-modbus-go/133:/w/workspace/device-modbus-go/133:rw,z -v /w/workspace/device-modbus-go/133@tmp:/w/workspace/device-modbus-go/133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T16:01:53.959Z] $ docker top 14aaead34dfaf8242a4c095330f7de27bafbf363e88a9c8989f978e9882b2c55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:01:54.836Z] ---> job-cost.sh [2023-10-24T16:01:54.836Z] lf-activate-venv: SKIPPING [2023-10-24T16:01:54.836Z] INFO: No Stack... [2023-10-24T16:01:55.433Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T16:01:56.396Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T16:01:57.031Z] + + catcut /w/workspace/device-modbus-go/133/archives/cost.csv -d, [2023-10-24T16:01:57.031Z] -f6 [Pipeline] lock [2023-10-24T16:01:57.107Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-133-stack-cost] [2023-10-24T16:01:57.116Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-133-stack-cost] did not exist. Created. [2023-10-24T16:01:57.116Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T16:01:57.776Z] /w/workspace/device-modbus-go/133@tmp/durable-d636afe7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T16:01:58.442Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T16:01:58.460Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T16:01:58.516Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T16:01:58.526Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T16:01:58.551Z] $ docker stop --time=1 14aaead34dfaf8242a4c095330f7de27bafbf363e88a9c8989f978e9882b2c55 [2023-10-24T16:02:00.065Z] $ docker rm -f --volumes 14aaead34dfaf8242a4c095330f7de27bafbf363e88a9c8989f978e9882b2c55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-24T16:02:00.435Z] provisioning config files... [2023-10-24T16:02:00.441Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14074161777064422035tmp [Pipeline] { [Pipeline] sh [2023-10-24T16:02:00.747Z] + set +x [2023-10-24T16:02:00.747Z] + + curl -s https://codecov.io/bashbash [2023-10-24T16:02:00.747Z] -s -- [2023-10-24T16:02:00.747Z] [2023-10-24T16:02:00.747Z] _____ _ [2023-10-24T16:02:00.747Z] / ____| | | [2023-10-24T16:02:00.747Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T16:02:00.747Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T16:02:00.747Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T16:02:00.747Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T16:02:00.747Z] Bash-1.0.6 [2023-10-24T16:02:00.747Z] [2023-10-24T16:02:00.747Z] [2023-10-24T16:02:00.747Z] ==> git version 2.25.1 found [2023-10-24T16:02:00.747Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-24T16:02:00.747Z] Release-Date: 2020-01-08 [2023-10-24T16:02:00.747Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-24T16:02:00.747Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T16:02:00.747Z] ==> Jenkins CI detected. [2023-10-24T16:02:00.747Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-10-24T16:02:00.747Z] project root: . [2023-10-24T16:02:00.747Z] --> token set from env [2023-10-24T16:02:00.747Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T16:02:00.747Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T16:02:00.747Z] ==> Python coveragepy not found [2023-10-24T16:02:00.747Z] ==> Searching for coverage reports in: [2023-10-24T16:02:00.747Z] + . [2023-10-24T16:02:00.747Z] -> Found 1 reports [2023-10-24T16:02:00.747Z] ==> Detecting git/mercurial file structure [2023-10-24T16:02:00.747Z] ==> Reading reports [2023-10-24T16:02:00.747Z] + ./coverage.out bytes=24334 [2023-10-24T16:02:00.747Z] ==> Appending adjustments [2023-10-24T16:02:00.747Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T16:02:01.006Z] + Found adjustments [2023-10-24T16:02:01.006Z] ==> Gzipping contents [2023-10-24T16:02:01.006Z] 4.0K /tmp/codecov.YYjBUO.gz [2023-10-24T16:02:01.006Z] ==> Uploading reports [2023-10-24T16:02:01.006Z] url: https://codecov.io [2023-10-24T16:02:01.006Z] query: branch=main&commit=8605cffecbdc9fcb52dd0eb94cc366191c17ee41&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T16:02:01.006Z] -> Pinging Codecov [2023-10-24T16:02:01.006Z] 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=8605cffecbdc9fcb52dd0eb94cc366191c17ee41&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T16:02:01.269Z] -> Uploading to [2023-10-24T16:02:01.269Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/55DBCA73C666E3227836607328DD7E49/8605cffecbdc9fcb52dd0eb94cc366191c17ee41/fe289a52-3283-43e6-b48d-9fb1db85356f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T160201Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=723a06896f8144ea08a3fbb59c96a8dcae58e01c7dac8f75f4d46f9ffcc4b5fb [2023-10-24T16:02:01.269Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T16:02:01.269Z] Dload Upload Total Spent Left Speed [2023-10-24T16:02:01.528Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 13592 --:--:-- --:--:-- --:--:-- 13544 [2023-10-24T16:02:01.528Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [Pipeline] } [2023-10-24T16:02:01.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T16:02:01.640Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T16:02:01.650Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:02:01.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T16:02:01.949Z] [2023-10-24T16:02:01.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:02:02.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T16:02:02.242Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T16:02:02.242Z] df9b9388f04a: Pulling fs layer [2023-10-24T16:02:02.242Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T16:02:02.242Z] 25bc292e5bac: Pulling fs layer [2023-10-24T16:02:02.242Z] 114826534d7a: Pulling fs layer [2023-10-24T16:02:02.242Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T16:02:02.242Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T16:02:02.242Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T16:02:02.242Z] 114826534d7a: Waiting [2023-10-24T16:02:02.242Z] 6ad1cebc031e: Waiting [2023-10-24T16:02:02.242Z] 8a3aa393b2d8: Waiting [2023-10-24T16:02:02.242Z] 4657fd5d0bcf: Waiting [2023-10-24T16:02:02.242Z] 25bc292e5bac: Verifying Checksum [2023-10-24T16:02:02.242Z] 25bc292e5bac: Download complete [2023-10-24T16:02:02.242Z] 52dc419b0ee2: Verifying Checksum [2023-10-24T16:02:02.242Z] 52dc419b0ee2: Download complete [2023-10-24T16:02:02.242Z] 4657fd5d0bcf: Verifying Checksum [2023-10-24T16:02:02.242Z] 4657fd5d0bcf: Download complete [2023-10-24T16:02:02.242Z] df9b9388f04a: Download complete [2023-10-24T16:02:02.501Z] df9b9388f04a: Pull complete [2023-10-24T16:02:02.501Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T16:02:02.501Z] 6ad1cebc031e: Download complete [2023-10-24T16:02:02.501Z] 52dc419b0ee2: Pull complete [2023-10-24T16:02:02.761Z] 25bc292e5bac: Pull complete [2023-10-24T16:02:03.021Z] 114826534d7a: Verifying Checksum [2023-10-24T16:02:03.021Z] 114826534d7a: Download complete [2023-10-24T16:02:03.278Z] 8a3aa393b2d8: Download complete [2023-10-24T16:02:06.557Z] 114826534d7a: Pull complete [2023-10-24T16:02:06.557Z] 4657fd5d0bcf: Pull complete [2023-10-24T16:02:06.829Z] 6ad1cebc031e: Pull complete [2023-10-24T16:02:09.357Z] 8a3aa393b2d8: Pull complete [2023-10-24T16:02:09.357Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T16:02:09.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T16:02:09.357Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:02:09.440Z] prd-ubuntu20.04-docker-8c-8g-9944 does not seem to be running inside a container [2023-10-24T16:02:09.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-24T16:02:14.188Z] $ docker top e6369cf02d0c289541a010e0934751e1c12dac618608327b2469b36cb99a7f4b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T16:02:14.258Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-10-24T16:02:14.535Z] + set -o pipefail [2023-10-24T16:02:14.535Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-10-24T16:02:21.099Z] [2023-10-24T16:02:21.099Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-10-24T16:02:21.099Z] [2023-10-24T16:02:21.099Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/5d1445bc-695f-48bd-8760-5a8ce584d353 [2023-10-24T16:02:21.099Z] [2023-10-24T16:02:21.099Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-24T16:02:21.099Z] [2023-10-24T16:02:21.099Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T16:02:21.099Z] [2023-10-24T16:02:21.099Z] [2023-10-24T16:02:21.099Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T16:02:21.099Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T16:02:21.099Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T16:02:21.109Z] $ docker stop --time=1 e6369cf02d0c289541a010e0934751e1c12dac618608327b2469b36cb99a7f4b [2023-10-24T16:02:26.684Z] $ docker rm -f --volumes e6369cf02d0c289541a010e0934751e1c12dac618608327b2469b36cb99a7f4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T16:02:27.425Z] + git log --format=format:%s -1 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 [Pipeline] sh [2023-10-24T16:02:27.713Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:02:27.713Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:02:28.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:02:28.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:02:28.077Z] prd-ubuntu20.04-docker-8c-8g-9944 does not seem to be running inside a container [2023-10-24T16:02:28.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T16:02:28.523Z] $ docker top c4669fff6fa5bdbf04d53255b54f73e38e1e97b76ef3f40e65980e8967d6e31a -eo pid,comm [2023-10-24T16:02:28.566Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T16:02:28.566Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:02:28.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:02:28.599Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:02:28.715Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:02:28.715Z] $ docker exec c4669fff6fa5bdbf04d53255b54f73e38e1e97b76ef3f40e65980e8967d6e31a ssh-agent [2023-10-24T16:02:28.821Z] SSH_AUTH_SOCK=/tmp/ssh-boGl2lxBmV4A/agent.32 [2023-10-24T16:02:28.821Z] SSH_AGENT_PID=38 [2023-10-24T16:02:28.825Z] Running ssh-add (command line suppressed) [2023-10-24T16:02:28.912Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2892279389600835283.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2892279389600835283.key) [2023-10-24T16:02:28.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:02:29.213Z] + git semver tag [2023-10-24T16:02:29.473Z] 2023-10-24 16:02:29,369 [run_tag] DEBUG tag force:False [2023-10-24T16:02:29.473Z] 2023-10-24 16:02:29,369 [check_head_tag] DEBUG check head tag [2023-10-24T16:02:29.473Z] 2023-10-24 16:02:29,370 [execute] INFO git cat-file --batch-check [2023-10-24T16:02:29.473Z] 2023-10-24 16:02:29,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T16:02:29.473Z] 2023-10-24 16:02:29,374 [execute] INFO git cat-file --batch [2023-10-24T16:02:29.473Z] 2023-10-24 16:02:29,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T16:02:29.473Z] 2023-10-24 16:02:29,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T16:02:29.473Z] 2023-10-24 16:02:29,388 [execute] INFO git tag -a v3.1.0-dev.19 -m v3.1.0-dev.19 [2023-10-24T16:02:29.473Z] 2023-10-24 16:02:29,388 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.19', '-m', 'v3.1.0-dev.19'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:02:29.473Z] 2023-10-24 16:02:29,393 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T16:02:29.473Z] 3.1.0-dev.19 [Pipeline] } [2023-10-24T16:02:29.481Z] $ docker exec --env ******** --env ******** c4669fff6fa5bdbf04d53255b54f73e38e1e97b76ef3f40e65980e8967d6e31a ssh-agent -k [2023-10-24T16:02:29.578Z] unset SSH_AUTH_SOCK; [2023-10-24T16:02:29.579Z] unset SSH_AGENT_PID; [2023-10-24T16:02:29.579Z] echo Agent pid 38 killed; [2023-10-24T16:02:29.590Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:02:29.889Z] + git semver [Pipeline] } [2023-10-24T16:02:30.155Z] $ docker stop --time=1 c4669fff6fa5bdbf04d53255b54f73e38e1e97b76ef3f40e65980e8967d6e31a [2023-10-24T16:02:31.571Z] $ docker rm -f --volumes c4669fff6fa5bdbf04d53255b54f73e38e1e97b76ef3f40e65980e8967d6e31a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:02:31.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T16:02:31.966Z] [2023-10-24T16:02:31.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:02:32.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T16:02:32.264Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T16:02:32.264Z] ab5ef0e58194: Pulling fs layer [2023-10-24T16:02:32.264Z] 9712f1f96733: Pulling fs layer [2023-10-24T16:02:32.264Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T16:02:32.264Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T16:02:32.264Z] e9a5061849ea: Pulling fs layer [2023-10-24T16:02:32.264Z] 0d9ebad4ef96: Waiting [2023-10-24T16:02:32.264Z] d747dcd14b5f: Pulling fs layer [2023-10-24T16:02:32.264Z] 2de7ff778b66: Pulling fs layer [2023-10-24T16:02:32.264Z] e9a5061849ea: Waiting [2023-10-24T16:02:32.264Z] d747dcd14b5f: Waiting [2023-10-24T16:02:32.264Z] 2de7ff778b66: Waiting [2023-10-24T16:02:32.264Z] 9712f1f96733: Verifying Checksum [2023-10-24T16:02:32.264Z] 9712f1f96733: Download complete [2023-10-24T16:02:32.522Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T16:02:32.522Z] 63f879dbbcfc: Download complete [2023-10-24T16:02:33.086Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T16:02:33.086Z] 0d9ebad4ef96: Download complete [2023-10-24T16:02:33.086Z] e9a5061849ea: Verifying Checksum [2023-10-24T16:02:33.086Z] e9a5061849ea: Download complete [2023-10-24T16:02:33.086Z] d747dcd14b5f: Verifying Checksum [2023-10-24T16:02:33.086Z] d747dcd14b5f: Download complete [2023-10-24T16:02:33.086Z] ab5ef0e58194: Verifying Checksum [2023-10-24T16:02:33.086Z] ab5ef0e58194: Download complete [2023-10-24T16:02:33.086Z] 2de7ff778b66: Verifying Checksum [2023-10-24T16:02:33.086Z] 2de7ff778b66: Download complete [2023-10-24T16:02:35.610Z] ab5ef0e58194: Pull complete [2023-10-24T16:02:35.610Z] 9712f1f96733: Pull complete [2023-10-24T16:02:36.175Z] 63f879dbbcfc: Pull complete [2023-10-24T16:02:40.358Z] 0d9ebad4ef96: Pull complete [2023-10-24T16:02:40.358Z] e9a5061849ea: Pull complete [2023-10-24T16:02:40.358Z] d747dcd14b5f: Pull complete [2023-10-24T16:02:41.293Z] 2de7ff778b66: Pull complete [2023-10-24T16:02:41.293Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T16:02:41.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T16:02:41.293Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:02:41.387Z] prd-ubuntu20.04-docker-8c-8g-9944 does not seem to be running inside a container [2023-10-24T16:02:41.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-24T16:02:47.743Z] $ docker top a400c1de579449c2ad743017f2239d65e4f4d5fa250068899581ae28e58dccf8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:02:47.808Z] provisioning config files... [2023-10-24T16:02:47.815Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14836672748350923140tmp [2023-10-24T16:02:47.826Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5942387884274577843tmp [2023-10-24T16:02:47.834Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18276873119018191328tmp [Pipeline] { [Pipeline] echo [2023-10-24T16:02:47.848Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:02:48.126Z] ---> sigul-configuration.sh [2023-10-24T16:02:48.126Z] gpg: directory `/root/.gnupg' created [2023-10-24T16:02:48.126Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T16:02:48.126Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T16:02:48.126Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T16:02:48.126Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T16:02:48.126Z] gpg: CAST5 encrypted data [2023-10-24T16:02:48.126Z] gpg: encrypted with 1 passphrase [2023-10-24T16:02:48.126Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T16:02:48.408Z] + mkdir /home/jenkins [2023-10-24T16:02:48.408Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T16:02:48.691Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-10-24T16:02:48.699Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:02:48.983Z] ---> sigul-install.sh [2023-10-24T16:02:48.983Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T16:02:49.265Z] + git tag --list [2023-10-24T16:02:49.265Z] 0.7.1 [2023-10-24T16:02:49.265Z] v1.0.0 [2023-10-24T16:02:49.265Z] v1.1.0 [2023-10-24T16:02:49.265Z] v1.1.1 [2023-10-24T16:02:49.265Z] v1.2.2 [2023-10-24T16:02:49.265Z] v1.3.0 [2023-10-24T16:02:49.265Z] v1.3.1 [2023-10-24T16:02:49.265Z] v2.0.0 [2023-10-24T16:02:49.265Z] v2.1.0 [2023-10-24T16:02:49.265Z] v2.1.1 [2023-10-24T16:02:49.265Z] v2.2.0 [2023-10-24T16:02:49.265Z] v2.3.0 [2023-10-24T16:02:49.265Z] v3.0 [2023-10-24T16:02:49.265Z] v3.0.0 [2023-10-24T16:02:49.265Z] v3.1.0-dev.1 [2023-10-24T16:02:49.265Z] v3.1.0-dev.10 [2023-10-24T16:02:49.265Z] v3.1.0-dev.11 [2023-10-24T16:02:49.265Z] v3.1.0-dev.12 [2023-10-24T16:02:49.265Z] v3.1.0-dev.13 [2023-10-24T16:02:49.265Z] v3.1.0-dev.14 [2023-10-24T16:02:49.265Z] v3.1.0-dev.15 [2023-10-24T16:02:49.265Z] v3.1.0-dev.16 [2023-10-24T16:02:49.265Z] v3.1.0-dev.17 [2023-10-24T16:02:49.265Z] v3.1.0-dev.18 [2023-10-24T16:02:49.265Z] v3.1.0-dev.19 [2023-10-24T16:02:49.265Z] v3.1.0-dev.2 [2023-10-24T16:02:49.265Z] v3.1.0-dev.3 [2023-10-24T16:02:49.265Z] v3.1.0-dev.4 [2023-10-24T16:02:49.265Z] v3.1.0-dev.5 [2023-10-24T16:02:49.265Z] v3.1.0-dev.6 [2023-10-24T16:02:49.265Z] v3.1.0-dev.7 [2023-10-24T16:02:49.265Z] v3.1.0-dev.8 [2023-10-24T16:02:49.265Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-24T16:02:49.547Z] + lftools sign git-tag v3.1.0-dev.19 [2023-10-24T16:02:50.114Z] Signing Git tag with Sigul... [2023-10-24T16:02:50.114Z] Signing v3.1.0-dev.19 [Pipeline] echo [2023-10-24T16:02:52.653Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:02:52.935Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T16:02:52.941Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T16:02:52.957Z] $ docker stop --time=1 a400c1de579449c2ad743017f2239d65e4f4d5fa250068899581ae28e58dccf8 [2023-10-24T16:02:54.226Z] $ docker rm -f --volumes a400c1de579449c2ad743017f2239d65e4f4d5fa250068899581ae28e58dccf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T16:02:54.616Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:02:54.616Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:02:54.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:02:54.916Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:02:54.982Z] prd-ubuntu20.04-docker-8c-8g-9944 does not seem to be running inside a container [2023-10-24T16:02:55.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T16:02:55.343Z] $ docker top f7112c49cd5afe86694db2b1a02e70442b571765780da51ac483af673143bd80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:02:55.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:02:55.436Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:02:55.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:02:55.548Z] $ docker exec f7112c49cd5afe86694db2b1a02e70442b571765780da51ac483af673143bd80 ssh-agent [2023-10-24T16:02:55.662Z] SSH_AUTH_SOCK=/tmp/ssh-FpmLG6Yak2Hx/agent.33 [2023-10-24T16:02:55.662Z] SSH_AGENT_PID=39 [2023-10-24T16:02:55.667Z] Running ssh-add (command line suppressed) [2023-10-24T16:02:55.761Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5659825132376007471.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5659825132376007471.key) [2023-10-24T16:02:55.773Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:02:56.056Z] + git semver bump pre [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,227 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,227 [bump_version] DEBUG bumping version:3.1.0-dev.19 on axis:pre with prefix:dev [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,227 [bump_version] DEBUG bumped version:3.1.0-dev.20 [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,227 [write_version] DEBUG write version:3.1.0-dev.20 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,227 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,228 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,229 [execute] INFO git cat-file --batch-check [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,234 [execute] INFO git cat-file --batch [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:02:56.315Z] 2023-10-24 16:02:56,239 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T16:02:56.315Z] 3.1.0-dev.20 [Pipeline] } [2023-10-24T16:02:56.323Z] $ docker exec --env ******** --env ******** f7112c49cd5afe86694db2b1a02e70442b571765780da51ac483af673143bd80 ssh-agent -k [2023-10-24T16:02:56.411Z] unset SSH_AUTH_SOCK; [2023-10-24T16:02:56.412Z] unset SSH_AGENT_PID; [2023-10-24T16:02:56.412Z] echo Agent pid 39 killed; [2023-10-24T16:02:56.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:02:56.727Z] + git semver [Pipeline] } [2023-10-24T16:02:56.997Z] $ docker stop --time=1 f7112c49cd5afe86694db2b1a02e70442b571765780da51ac483af673143bd80 [2023-10-24T16:02:58.268Z] $ docker rm -f --volumes f7112c49cd5afe86694db2b1a02e70442b571765780da51ac483af673143bd80 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:02:58.607Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:02:58.607Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:02:58.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:02:58.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:02:58.968Z] prd-ubuntu20.04-docker-8c-8g-9944 does not seem to be running inside a container [2023-10-24T16:02:58.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T16:02:59.322Z] $ docker top a04c007592d9fe92928aa4c9c3bd944027f3a25f508e009435f4f902367b9646 -eo pid,comm [2023-10-24T16:02:59.371Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T16:02:59.371Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:02:59.404Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:02:59.405Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:02:59.507Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:02:59.507Z] $ docker exec a04c007592d9fe92928aa4c9c3bd944027f3a25f508e009435f4f902367b9646 ssh-agent [2023-10-24T16:02:59.603Z] SSH_AUTH_SOCK=/tmp/ssh-emqTkpnbNZI6/agent.31 [2023-10-24T16:02:59.603Z] SSH_AGENT_PID=37 [2023-10-24T16:02:59.607Z] Running ssh-add (command line suppressed) [2023-10-24T16:02:59.713Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13189877281944525717.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13189877281944525717.key) [2023-10-24T16:02:59.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:03:00.013Z] + git semver push [2023-10-24T16:03:00.271Z] 2023-10-24 16:03:00,170 [run_push] DEBUG push [2023-10-24T16:03:00.271Z] 2023-10-24 16:03:00,170 [execute] INFO git cat-file --batch-check [2023-10-24T16:03:00.271Z] 2023-10-24 16:03:00,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:03:00.271Z] 2023-10-24 16:03:00,174 [execute] INFO git rev-list 50b07092e7b54bfabf72105bd9c5e6da3b9ca41f -- [2023-10-24T16:03:00.271Z] 2023-10-24 16:03:00,174 [execute] DEBUG Popen(['git', 'rev-list', '50b07092e7b54bfabf72105bd9c5e6da3b9ca41f', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:03:00.271Z] 2023-10-24 16:03:00,183 [execute] INFO git fetch -v origin [2023-10-24T16:03:00.271Z] 2023-10-24 16:03:00,183 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T16:03:00.839Z] 2023-10-24 16:03:00,739 [run_push] DEBUG no remote changes detected [2023-10-24T16:03:00.839Z] 2023-10-24 16:03:00,739 [execute] INFO git push origin semver [2023-10-24T16:03:00.839Z] 2023-10-24 16:03:00,740 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:03:01.776Z] 2023-10-24 16:03:01,637 [run_push] DEBUG push all version tags [2023-10-24T16:03:01.776Z] 2023-10-24 16:03:01,637 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T16:03:01.776Z] 2023-10-24 16:03:01,638 [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-10-24T16:03:03.161Z] 2023-10-24 16:03:02,768 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T16:03:03.161Z] 3.1.0-dev.20 [Pipeline] } [2023-10-24T16:03:03.169Z] $ docker exec --env ******** --env ******** a04c007592d9fe92928aa4c9c3bd944027f3a25f508e009435f4f902367b9646 ssh-agent -k [2023-10-24T16:03:03.263Z] unset SSH_AUTH_SOCK; [2023-10-24T16:03:03.264Z] unset SSH_AGENT_PID; [2023-10-24T16:03:03.264Z] echo Agent pid 37 killed; [2023-10-24T16:03:03.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:03:03.567Z] + git semver [Pipeline] } [2023-10-24T16:03:03.835Z] $ docker stop --time=1 a04c007592d9fe92928aa4c9c3bd944027f3a25f508e009435f4f902367b9646 [2023-10-24T16:03:05.099Z] $ docker rm -f --volumes a04c007592d9fe92928aa4c9c3bd944027f3a25f508e009435f4f902367b9646 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-24T16:03:05.640Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-10-24T16:03:05.641Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-24T16:03:05.641Z] total 16 [2023-10-24T16:03:05.641Z] drwxr-xr-x 3 root root 4096 Oct 24 15:51 . [2023-10-24T16:03:05.641Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 16:02 .. [2023-10-24T16:03:05.641Z] drwxr-xr-x 2 root root 4096 Oct 24 15:51 cost [2023-10-24T16:03:05.641Z] -rw-r--r-- 1 root root 88 Oct 24 15:51 cost.csv [2023-10-24T16:03:05.641Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-24T16:03:05.641Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-24T16:03:05.641Z] total 16 [2023-10-24T16:03:05.641Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:51 . [2023-10-24T16:03:05.641Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 16:02 .. [2023-10-24T16:03:05.641Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:51 cost [2023-10-24T16:03:05.641Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 24 15:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:03:05.934Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:03:06.826Z] ---> package-listing.sh [2023-10-24T16:03:06.826Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T16:03:06.826Z] ++ facter osfamily [2023-10-24T16:03:06.826Z] + OS_FAMILY=debian [2023-10-24T16:03:06.826Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-10-24T16:03:06.826Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T16:03:06.826Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T16:03:06.826Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T16:03:06.826Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T16:03:06.826Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-24T16:03:06.826Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T16:03:06.826Z] + case "${OS_FAMILY}" in [2023-10-24T16:03:06.826Z] + dpkg -l [2023-10-24T16:03:06.826Z] + grep '^ii' [2023-10-24T16:03:07.121Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T16:03:07.121Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T16:03:07.121Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T16:03:07.121Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-24T16:03:07.121Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-10-24T16:03:07.121Z] + 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-10-24T16:03:07.140Z] 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-10-24T16:03:07.489Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:03:07.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:03:07.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:03:07.857Z] prd-ubuntu20.04-docker-8c-8g-9944 does not seem to be running inside a container [2023-10-24T16:03:07.880Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T16:03:08.067Z] $ docker top 0c2b40d0d2e3d126677f4eae4200c13f4c5c10fae3aaa5f2c15b471ea68a47cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:03:08.412Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T16:03:08.696Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T16:03:08.981Z] + ls /var/log/sa-host [2023-10-24T16:03:08.981Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:03:09.057Z] provisioning config files... [2023-10-24T16:03:09.065Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3069068269321596105tmp [Pipeline] { [Pipeline] echo [2023-10-24T16:03:09.080Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:03:09.361Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T16:03:09.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:03:09.690Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T16:03:09.698Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:03:09.979Z] ---> sudo-logs.sh [2023-10-24T16:03:09.979Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T16:03:10.001Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:03:10.284Z] ---> job-cost.sh [2023-10-24T16:03:10.284Z] lf-activate-venv: SKIPPING [2023-10-24T16:03:10.284Z] DEBUG: total: 0.2199999988079071 [2023-10-24T16:03:10.284Z] INFO: Retrieving Stack Cost... [2023-10-24T16:03:10.544Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T16:03:11.112Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T16:03:11.124Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:03:11.406Z] ---> logs-deploy.sh [2023-10-24T16:03:11.406Z] lf-activate-venv: SKIPPING [2023-10-24T16:03:11.406Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/133 [2023-10-24T16:03:11.406Z] INFO: archiving workspace using pattern(s): [2023-10-24T16:03:12.341Z] Archives upload complete. [2023-10-24T16:03:12.341Z] INFO: archiving logs to Nexus