Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a3185666607ac015ce8e2ed96cee91149733c6fa 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-ssh16261627268487856105.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh17339867233438303738.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh4284647769220261101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh17877189604226903071.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-ssh1264018991418917784.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-14829’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-14823’ is offline ‘prd-ubuntu20.04-docker-8c-8g-14830’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-14824’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-14827’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14832 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 a3185666607ac015ce8e2ed96cee91149733c6fa (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#476)" > 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 a3185666607ac015ce8e2ed96cee91149733c6fa # timeout=10 > git rev-list --no-walk 8b019029337577f55c3ddf5891f69e829d86b4f5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-10T00:05:09.565Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T00:05:09.629Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T00:05:09.648Z] ========================================================= [2023-05-10T00:05:09.648Z] EdgeX Global Pipelines Version Info [2023-05-10T00:05:09.648Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:05:10.359Z] ------------------- [2023-05-10T00:05:10.360Z] stable info: [2023-05-10T00:05:10.360Z] ------------------- [2023-05-10T00:05:10.360Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T00:05:10.360Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T00:05:10.360Z] Message: update stable to v1.0.249 [2023-05-10T00:05:10.931Z] ------------------- [2023-05-10T00:05:10.931Z] experimental info: [2023-05-10T00:05:10.931Z] ------------------- [2023-05-10T00:05:10.931Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T00:05:10.931Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T00:05:10.931Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T00:05:11.133Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-10T00:05:11.146Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-10T00:05:11.158Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T00:05:11.170Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T00:05:11.183Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T00:05:11.196Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-10T00:05:11.208Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-10T00:05:11.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-10T00:05:11.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-10T00:05:11.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T00:05:11.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T00:05:11.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-10T00:05:11.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T00:05:11.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T00:05:11.309Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T00:05:11.320Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T00:05:11.333Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T00:05:11.344Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T00:05:11.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T00:05:11.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T00:05:11.381Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-10T00:05:11.399Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-10T00:05:11.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-10T00:05:11.438Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-10T00:05:11.451Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-10T00:05:11.463Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T00:05:11.475Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-10T00:05:11.487Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-10T00:05:11.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-10T00:05:11.512Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-10T00:05:11.523Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3185666607ac015ce8e2ed96cee91149733c6fa [Pipeline] echo [2023-05-10T00:05:11.534Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a318566 [Pipeline] echo [2023-05-10T00:05:11.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T00:05:11.590Z] provisioning config files... [2023-05-10T00:05:11.607Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12510317852186288025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:05:11.910Z] ---> docker-login.sh [2023-05-10T00:05:11.910Z] nexus3.edgexfoundry.org:10001 [2023-05-10T00:05:12.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:05:12.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:05:12.171Z] Configure a credential helper to remove this warning. See [2023-05-10T00:05:12.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:05:12.171Z] [2023-05-10T00:05:12.171Z] Login Succeeded [2023-05-10T00:05:12.171Z] nexus3.edgexfoundry.org:10002 [2023-05-10T00:05:12.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:05:12.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:05:12.432Z] Configure a credential helper to remove this warning. See [2023-05-10T00:05:12.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:05:12.432Z] [2023-05-10T00:05:12.432Z] Login Succeeded [2023-05-10T00:05:12.432Z] nexus3.edgexfoundry.org:10003 [2023-05-10T00:05:12.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:05:12.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:05:12.432Z] Configure a credential helper to remove this warning. See [2023-05-10T00:05:12.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:05:12.432Z] [2023-05-10T00:05:12.432Z] Login Succeeded [2023-05-10T00:05:12.432Z] nexus3.edgexfoundry.org:10004 [2023-05-10T00:05:12.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:05:12.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:05:12.692Z] Configure a credential helper to remove this warning. See [2023-05-10T00:05:12.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:05:12.692Z] [2023-05-10T00:05:12.692Z] Login Succeeded [2023-05-10T00:05:12.692Z] docker.io [2023-05-10T00:05:12.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:05:12.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:05:12.952Z] Configure a credential helper to remove this warning. See [2023-05-10T00:05:12.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:05:12.952Z] [2023-05-10T00:05:12.952Z] Login Succeeded [2023-05-10T00:05:12.952Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T00:05:12.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-10T00:05:13.332Z] + git rev-list -1 --merges a3185666607ac015ce8e2ed96cee91149733c6fa~1..a3185666607ac015ce8e2ed96cee91149733c6fa [Pipeline] echo [2023-05-10T00:05:13.394Z] -----------> git rev-list -1 --merges a3185666607ac015ce8e2ed96cee91149733c6fa~1..a3185666607ac015ce8e2ed96cee91149733c6fa a3185666607ac015ce8e2ed96cee91149733c6fa [false] [Pipeline] sh [2023-05-10T00:05:13.685Z] + git log --format=format:%s -1 a3185666607ac015ce8e2ed96cee91149733c6fa [Pipeline] echo [2023-05-10T00:05:13.703Z] ========================================================= [2023-05-10T00:05:13.703Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T00:05:13.703Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T00:05:14.039Z] + git log --format=format:%s -1 a3185666607ac015ce8e2ed96cee91149733c6fa [Pipeline] echo [2023-05-10T00:05:14.051Z] [semverPrep] GIT_COMMIT: a3185666607ac015ce8e2ed96cee91149733c6fa, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#476) [Pipeline] echo [2023-05-10T00:05:14.060Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-10T00:05:14.421Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T00:05:14.421Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T00:05:14.421Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T00:05:14.421Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T00:05:14.421Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-10T00:05:14.421Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-10T00:05:14.421Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:05:14.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:05:14.766Z] [2023-05-10T00:05:14.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:05:15.071Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:05:15.071Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T00:05:15.071Z] b85a868b505f: Pulling fs layer [2023-05-10T00:05:15.071Z] e2be974225ed: Pulling fs layer [2023-05-10T00:05:15.071Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T00:05:15.071Z] 988bab9f4d93: Pulling fs layer [2023-05-10T00:05:15.071Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T00:05:15.071Z] eaf3925da568: Pulling fs layer [2023-05-10T00:05:15.071Z] bab4dde63d76: Pulling fs layer [2023-05-10T00:05:15.071Z] bde34c3a00c8: Pulling fs layer [2023-05-10T00:05:15.071Z] b352a97aabf1: Pulling fs layer [2023-05-10T00:05:15.071Z] 4872d77fe225: Pulling fs layer [2023-05-10T00:05:15.071Z] 5851b861e8e6: Pulling fs layer [2023-05-10T00:05:15.071Z] 988bab9f4d93: Waiting [2023-05-10T00:05:15.071Z] 1469e6f7b9e6: Waiting [2023-05-10T00:05:15.071Z] eaf3925da568: Waiting [2023-05-10T00:05:15.071Z] bab4dde63d76: Waiting [2023-05-10T00:05:15.071Z] bde34c3a00c8: Waiting [2023-05-10T00:05:15.071Z] b352a97aabf1: Waiting [2023-05-10T00:05:15.071Z] 4872d77fe225: Waiting [2023-05-10T00:05:15.071Z] 5851b861e8e6: Waiting [2023-05-10T00:05:15.071Z] e2be974225ed: Verifying Checksum [2023-05-10T00:05:15.071Z] e2be974225ed: Download complete [2023-05-10T00:05:15.071Z] 988bab9f4d93: Verifying Checksum [2023-05-10T00:05:15.071Z] 988bab9f4d93: Download complete [2023-05-10T00:05:15.332Z] b85a868b505f: Verifying Checksum [2023-05-10T00:05:15.332Z] b85a868b505f: Download complete [2023-05-10T00:05:15.332Z] eaf3925da568: Download complete [2023-05-10T00:05:15.332Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T00:05:15.332Z] bde34c3a00c8: Download complete [2023-05-10T00:05:15.332Z] 1469e6f7b9e6: Verifying Checksum [2023-05-10T00:05:15.332Z] 1469e6f7b9e6: Download complete [2023-05-10T00:05:15.593Z] 4872d77fe225: Verifying Checksum [2023-05-10T00:05:15.593Z] 4872d77fe225: Download complete [2023-05-10T00:05:15.593Z] b352a97aabf1: Download complete [2023-05-10T00:05:15.593Z] 5851b861e8e6: Verifying Checksum [2023-05-10T00:05:15.593Z] 5851b861e8e6: Download complete [2023-05-10T00:05:15.852Z] bab4dde63d76: Verifying Checksum [2023-05-10T00:05:15.852Z] bab4dde63d76: Download complete [2023-05-10T00:05:16.422Z] b85a868b505f: Pull complete [2023-05-10T00:05:16.685Z] e2be974225ed: Pull complete [2023-05-10T00:05:16.945Z] 339a4e72a1f5: Pull complete [2023-05-10T00:05:17.204Z] 988bab9f4d93: Pull complete [2023-05-10T00:05:17.463Z] 1469e6f7b9e6: Pull complete [2023-05-10T00:05:17.463Z] eaf3925da568: Pull complete [2023-05-10T00:05:18.841Z] bab4dde63d76: Pull complete [2023-05-10T00:05:19.101Z] bde34c3a00c8: Pull complete [2023-05-10T00:05:19.101Z] b352a97aabf1: Pull complete [2023-05-10T00:05:19.101Z] 4872d77fe225: Pull complete [2023-05-10T00:05:19.361Z] 5851b861e8e6: Pull complete [2023-05-10T00:05:19.361Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T00:05:19.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:05:19.361Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:05:19.464Z] prd-ubuntu20.04-docker-8c-8g-14832 does not seem to be running inside a container [2023-05-10T00:05:19.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T00:05:20.655Z] $ docker top 064b0d437fd5d02bf717c50c91040c168afd47b9cd4b9c5d86df6576c26f9cec -eo pid,comm [2023-05-10T00:05:20.714Z] 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-05-10T00:05:20.714Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T00:05:20.755Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T00:05:20.756Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T00:05:20.859Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T00:05:20.856Z] $ docker exec 064b0d437fd5d02bf717c50c91040c168afd47b9cd4b9c5d86df6576c26f9cec ssh-agent [2023-05-10T00:05:20.961Z] SSH_AUTH_SOCK=/tmp/ssh-bnCxxXN839gt/agent.33 [2023-05-10T00:05:20.961Z] SSH_AGENT_PID=39 [2023-05-10T00:05:20.967Z] Running ssh-add (command line suppressed) [2023-05-10T00:05:21.064Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12180501356014911821.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12180501356014911821.key) [2023-05-10T00:05:21.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T00:05:21.415Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T00:05:21.420Z] $ docker exec --env ******** --env ******** 064b0d437fd5d02bf717c50c91040c168afd47b9cd4b9c5d86df6576c26f9cec ssh-agent -k [2023-05-10T00:05:21.516Z] unset SSH_AUTH_SOCK; [2023-05-10T00:05:21.516Z] unset SSH_AGENT_PID; [2023-05-10T00:05:21.517Z] echo Agent pid 39 killed; [2023-05-10T00:05:21.532Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T00:05:21.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T00:05:21.554Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T00:05:21.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T00:05:21.655Z] $ docker exec 064b0d437fd5d02bf717c50c91040c168afd47b9cd4b9c5d86df6576c26f9cec ssh-agent [2023-05-10T00:05:21.763Z] SSH_AUTH_SOCK=/tmp/ssh-EAFZwk6w2pM1/agent.71 [2023-05-10T00:05:21.763Z] SSH_AGENT_PID=77 [2023-05-10T00:05:21.768Z] Running ssh-add (command line suppressed) [2023-05-10T00:05:21.856Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13553575222279521387.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13553575222279521387.key) [2023-05-10T00:05:21.875Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T00:05:22.162Z] + git semver init [2023-05-10T00:05:22.424Z] 2023-05-10 00:05:22,330 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T00:05:22.424Z] 2023-05-10 00:05:22,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-10T00:05:22.424Z] 2023-05-10 00:05:22,331 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-10T00:05:22.424Z] 2023-05-10 00:05:22,331 [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-05-10T00:05:23.364Z] 2023-05-10 00:05:23,068 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-10T00:05:23.364Z] 2023-05-10 00:05:23,068 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-10T00:05:23.364Z] 2023-05-10 00:05:23,069 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T00:05:23.364Z] 2023-05-10 00:05:23,069 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T00:05:23.364Z] 3.0.0-dev.38 [Pipeline] } [2023-05-10T00:05:23.369Z] $ docker exec --env ******** --env ******** 064b0d437fd5d02bf717c50c91040c168afd47b9cd4b9c5d86df6576c26f9cec ssh-agent -k [2023-05-10T00:05:23.470Z] unset SSH_AUTH_SOCK; [2023-05-10T00:05:23.470Z] unset SSH_AGENT_PID; [2023-05-10T00:05:23.471Z] echo Agent pid 77 killed; [2023-05-10T00:05:23.487Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T00:05:23.785Z] + git semver [Pipeline] } [2023-05-10T00:05:24.053Z] $ docker stop --time=1 064b0d437fd5d02bf717c50c91040c168afd47b9cd4b9c5d86df6576c26f9cec [2023-05-10T00:05:25.377Z] $ docker rm -f --volumes 064b0d437fd5d02bf717c50c91040c168afd47b9cd4b9c5d86df6576c26f9cec [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T00:05:25.737Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T00:05:26.080Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T00:05:26.083Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.38 [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-05-10T00:05:26.221Z] provisioning config files... [2023-05-10T00:05:26.231Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12633780480342114841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:05:26.533Z] ---> docker-login.sh [2023-05-10T00:05:26.533Z] nexus3.edgexfoundry.org:10001 [2023-05-10T00:05:26.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:05:26.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:05:26.533Z] Configure a credential helper to remove this warning. See [2023-05-10T00:05:26.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:05:26.533Z] [2023-05-10T00:05:26.533Z] Login Succeeded [2023-05-10T00:05:26.533Z] nexus3.edgexfoundry.org:10002 [2023-05-10T00:05:26.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:05:26.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:05:26.533Z] Configure a credential helper to remove this warning. See [2023-05-10T00:05:26.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:05:26.533Z] [2023-05-10T00:05:26.793Z] Login Succeeded [2023-05-10T00:05:26.793Z] nexus3.edgexfoundry.org:10003 [2023-05-10T00:05:26.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:05:26.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:05:26.793Z] Configure a credential helper to remove this warning. See [2023-05-10T00:05:26.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:05:26.793Z] [2023-05-10T00:05:26.793Z] Login Succeeded [2023-05-10T00:05:26.793Z] nexus3.edgexfoundry.org:10004 [2023-05-10T00:05:26.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:05:26.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:05:26.793Z] Configure a credential helper to remove this warning. See [2023-05-10T00:05:26.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:05:26.793Z] [2023-05-10T00:05:26.793Z] Login Succeeded [2023-05-10T00:05:26.793Z] docker.io [2023-05-10T00:05:27.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:05:27.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:05:27.052Z] Configure a credential helper to remove this warning. See [2023-05-10T00:05:27.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:05:27.052Z] [2023-05-10T00:05:27.052Z] Login Succeeded [2023-05-10T00:05:27.052Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T00:05:27.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T00:05:27.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:05:27.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:05:27.137Z] ========================================================= [2023-05-10T00:05:27.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-10T00:05:27.137Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:05:29.597Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T00:05:29.597Z] Sending build context to Docker daemon 6.492MB [2023-05-10T00:05:29.597Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T00:05:29.597Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-10T00:05:29.857Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-10T00:05:29.857Z] f56be85fc22e: Pulling fs layer [2023-05-10T00:05:29.857Z] 85791d961cd3: Pulling fs layer [2023-05-10T00:05:29.857Z] d694b5ae8c79: Pulling fs layer [2023-05-10T00:05:29.857Z] 9f32a84ed3da: Pulling fs layer [2023-05-10T00:05:29.857Z] 4d19c01a9841: Pulling fs layer [2023-05-10T00:05:29.857Z] 9325e15d5711: Pulling fs layer [2023-05-10T00:05:29.857Z] 556b6ee489ea: Pulling fs layer [2023-05-10T00:05:29.857Z] c5a4b2cf53e6: Pulling fs layer [2023-05-10T00:05:29.857Z] 9f32a84ed3da: Waiting [2023-05-10T00:05:29.857Z] 9325e15d5711: Waiting [2023-05-10T00:05:29.857Z] 4d19c01a9841: Waiting [2023-05-10T00:05:29.857Z] 556b6ee489ea: Waiting [2023-05-10T00:05:29.857Z] c5a4b2cf53e6: Waiting [2023-05-10T00:05:29.857Z] 85791d961cd3: Download complete [2023-05-10T00:05:29.857Z] 9f32a84ed3da: Verifying Checksum [2023-05-10T00:05:29.857Z] 9f32a84ed3da: Download complete [2023-05-10T00:05:29.857Z] 4d19c01a9841: Download complete [2023-05-10T00:05:29.857Z] f56be85fc22e: Verifying Checksum [2023-05-10T00:05:29.857Z] f56be85fc22e: Download complete [2023-05-10T00:05:29.857Z] 9325e15d5711: Verifying Checksum [2023-05-10T00:05:29.857Z] 9325e15d5711: Download complete [2023-05-10T00:05:30.121Z] f56be85fc22e: Pull complete [2023-05-10T00:05:30.121Z] 85791d961cd3: Pull complete [2023-05-10T00:05:30.692Z] d694b5ae8c79: Verifying Checksum [2023-05-10T00:05:30.692Z] d694b5ae8c79: Download complete [2023-05-10T00:05:30.692Z] c5a4b2cf53e6: Verifying Checksum [2023-05-10T00:05:30.692Z] c5a4b2cf53e6: Download complete [2023-05-10T00:05:30.950Z] 556b6ee489ea: Verifying Checksum [2023-05-10T00:05:30.950Z] 556b6ee489ea: Download complete [2023-05-10T00:05:34.233Z] d694b5ae8c79: Pull complete [2023-05-10T00:05:34.233Z] 9f32a84ed3da: Pull complete [2023-05-10T00:05:34.233Z] 4d19c01a9841: Pull complete [2023-05-10T00:05:34.233Z] 9325e15d5711: Pull complete [2023-05-10T00:05:36.153Z] 556b6ee489ea: Pull complete [2023-05-10T00:05:37.090Z] c5a4b2cf53e6: Pull complete [2023-05-10T00:05:37.090Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-10T00:05:37.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-10T00:05:37.090Z] ---> c4be618373d6 [2023-05-10T00:05:37.090Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-10T00:05:38.473Z] ---> Running in 9ad4540051d4 [2023-05-10T00:05:38.736Z] Removing intermediate container 9ad4540051d4 [2023-05-10T00:05:38.736Z] ---> 4c50391cf9a3 [2023-05-10T00:05:38.736Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T00:05:38.736Z] ---> Running in 46ef9a6aed60 [2023-05-10T00:05:38.736Z] Removing intermediate container 46ef9a6aed60 [2023-05-10T00:05:38.736Z] ---> 342e17e0146c [2023-05-10T00:05:38.736Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-10T00:05:38.736Z] ---> Running in dcbfe3392888 [2023-05-10T00:05:38.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T00:05:39.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T00:05:39.257Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T00:05:39.257Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-10T00:05:39.523Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T00:05:39.523Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T00:05:39.523Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-10T00:05:39.523Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-10T00:05:39.523Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-10T00:05:39.523Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-10T00:05:39.523Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T00:05:39.523Z] OK: 270 MiB in 61 packages [2023-05-10T00:05:40.093Z] Removing intermediate container dcbfe3392888 [2023-05-10T00:05:40.093Z] ---> 3c07403cf934 [2023-05-10T00:05:40.093Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-10T00:05:40.093Z] ---> Running in 0e8c61390dbb [2023-05-10T00:05:40.093Z] Removing intermediate container 0e8c61390dbb [2023-05-10T00:05:40.093Z] ---> 00bdbb07e9ee [2023-05-10T00:05:40.093Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-10T00:05:40.093Z] ---> 47455185e7d5 [2023-05-10T00:05:40.093Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T00:05:40.093Z] ---> Running in 4d1d7b0bb849 [2023-05-10T00:05:41.176Z] Still waiting to schedule task [2023-05-10T00:05:41.176Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14828’ is offline [2023-05-10T00:06:12.220Z] Removing intermediate container 4d1d7b0bb849 [2023-05-10T00:06:12.220Z] ---> 2ea405eb6ebc [2023-05-10T00:06:12.220Z] Step 9/10 : COPY . . [2023-05-10T00:06:12.220Z] ---> 453de8e0a19c [2023-05-10T00:06:12.220Z] Step 10/10 : RUN ${MAKE} [2023-05-10T00:06:12.220Z] ---> Running in 1b3395ca9b57 [2023-05-10T00:06:12.220Z] noop [2023-05-10T00:06:12.220Z] Removing intermediate container 1b3395ca9b57 [2023-05-10T00:06:12.220Z] ---> 1e5a5e03ebbd [2023-05-10T00:06:12.220Z] Successfully built 1e5a5e03ebbd [2023-05-10T00:06:12.220Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:12.542Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T00:06:12.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:06:12.625Z] prd-ubuntu20.04-docker-8c-8g-14832 does not seem to be running inside a container [2023-05-10T00:06:12.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T00:06:13.004Z] $ docker top 3148d9d3ad0461020831d9fc77f32a22cda2259c10948f88cefa926f9b453905 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T00:06:13.351Z] + go version [2023-05-10T00:06:13.351Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-10T00:06:13.357Z] $ docker stop --time=1 3148d9d3ad0461020831d9fc77f32a22cda2259c10948f88cefa926f9b453905 [2023-05-10T00:06:14.620Z] $ docker rm -f --volumes 3148d9d3ad0461020831d9fc77f32a22cda2259c10948f88cefa926f9b453905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:15.043Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T00:06:15.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:06:15.123Z] prd-ubuntu20.04-docker-8c-8g-14832 does not seem to be running inside a container [2023-05-10T00:06:15.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T00:06:15.495Z] $ docker top 89429137acd1887260c48659b57a87e7e1520d149757fbdb11fc5e3a08debf12 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T00:06:15.851Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-10T00:06:16.149Z] + make test [2023-05-10T00:06:16.149Z] go test ./... -coverprofile=coverage.out [2023-05-10T00:06:21.421Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-10T00:06:31.388Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-10T00:06:31.388Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 47.4% of statements [2023-05-10T00:06:37.949Z] go vet ./... [2023-05-10T00:06:40.479Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T00:06:40.479Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T00:06:40.479Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T00:06:40.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T00:06:40.762Z] $ docker stop --time=1 89429137acd1887260c48659b57a87e7e1520d149757fbdb11fc5e3a08debf12 [2023-05-10T00:06:44.568Z] $ docker rm -f --volumes 89429137acd1887260c48659b57a87e7e1520d149757fbdb11fc5e3a08debf12 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T00:06:45.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T00:06:45.102Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-10T00:06:45.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T00:06:45.961Z] + ls -al . [2023-05-10T00:06:45.961Z] total 180 [2023-05-10T00:06:45.961Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 00:06 . [2023-05-10T00:06:45.961Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:05 .. [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 00:05 .dockerignore [2023-05-10T00:06:45.961Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:05 .git [2023-05-10T00:06:45.961Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:05 .github [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 00:05 .gitignore [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 00:05 .golangci.yml [2023-05-10T00:06:45.961Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 00:05 .semver [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 10 00:05 Attribution.txt [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 10 00:05 CHANGELOG.md [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 10 00:05 Dockerfile [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 00:05 GOVERNANCE.md [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 00:05 Jenkinsfile [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 00:05 LICENSE [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 10 00:05 Makefile [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 00:05 OWNERS.md [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 10 00:05 README.md [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 00:05 VERSION [2023-05-10T00:06:45.961Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:05 bin [2023-05-10T00:06:45.961Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:05 cmd [2023-05-10T00:06:45.961Z] -rw-r--r-- 1 jenkins jenkins 24160 May 10 00:06 coverage.out [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 10 00:05 go.mod [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 10 00:05 go.sum [2023-05-10T00:06:45.961Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:05 internal [2023-05-10T00:06:45.961Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:05 simulator [2023-05-10T00:06:45.961Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:05 snap [2023-05-10T00:06:45.961Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 00:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:46.365Z] + 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=a3185666607ac015ce8e2ed96cee91149733c6fa --label arch=amd64 --label version=3.0.0-dev.38 . [2023-05-10T00:06:46.365Z] Sending build context to Docker daemon 6.517MB [2023-05-10T00:06:46.365Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T00:06:46.365Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-10T00:06:46.365Z] ---> 1e5a5e03ebbd [2023-05-10T00:06:46.365Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-10T00:06:46.638Z] ---> Running in 154f609b213a [2023-05-10T00:06:46.638Z] Removing intermediate container 154f609b213a [2023-05-10T00:06:46.638Z] ---> 7f9cc019d86f [2023-05-10T00:06:46.638Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T00:06:46.638Z] ---> Running in 8b4692fd5d91 [2023-05-10T00:06:46.638Z] Removing intermediate container 8b4692fd5d91 [2023-05-10T00:06:46.638Z] ---> 2616ec77a42f [2023-05-10T00:06:46.638Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-10T00:06:46.638Z] ---> Running in 5a52c13bd52c [2023-05-10T00:06:46.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T00:06:47.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T00:06:47.462Z] OK: 270 MiB in 61 packages [2023-05-10T00:06:47.721Z] Removing intermediate container 5a52c13bd52c [2023-05-10T00:06:47.721Z] ---> b86615bc2ff9 [2023-05-10T00:06:47.721Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-10T00:06:47.721Z] ---> Running in a433379c8a8f [2023-05-10T00:06:47.721Z] Removing intermediate container a433379c8a8f [2023-05-10T00:06:47.721Z] ---> 8637fad0f871 [2023-05-10T00:06:47.721Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-10T00:06:47.979Z] ---> 8bd695c2ed0b [2023-05-10T00:06:47.979Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T00:06:47.979Z] ---> Running in 7f6c1ed814e9 [2023-05-10T00:06:49.085Z] Removing intermediate container 7f6c1ed814e9 [2023-05-10T00:06:49.085Z] ---> 19d36f816972 [2023-05-10T00:06:49.085Z] Step 9/22 : COPY . . [2023-05-10T00:06:49.347Z] ---> 416db8723425 [2023-05-10T00:06:49.347Z] Step 10/22 : RUN ${MAKE} [2023-05-10T00:06:49.347Z] ---> Running in ae732fbc2e95 [2023-05-10T00:06:49.605Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.38" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-10T00:07:07.695Z] Removing intermediate container ae732fbc2e95 [2023-05-10T00:07:07.695Z] ---> ddb0c2f39687 [2023-05-10T00:07:07.695Z] Step 11/22 : FROM alpine:3.17 [2023-05-10T00:07:08.265Z] 3.17: Pulling from library/alpine [2023-05-10T00:07:08.265Z] f56be85fc22e: Already exists [2023-05-10T00:07:08.524Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T00:07:08.524Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T00:07:08.524Z] ---> 9ed4aefc74f6 [2023-05-10T00:07:08.524Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-10T00:07:08.524Z] ---> Running in 22e2b4d9f44f [2023-05-10T00:07:08.784Z] Removing intermediate container 22e2b4d9f44f [2023-05-10T00:07:08.784Z] ---> d9c3bea1b5b1 [2023-05-10T00:07:08.784Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-10T00:07:08.784Z] ---> Running in b2591a72dca2 [2023-05-10T00:07:09.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T00:07:09.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T00:07:09.559Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T00:07:09.559Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T00:07:09.559Z] OK: 7 MiB in 16 packages [2023-05-10T00:07:09.817Z] Removing intermediate container b2591a72dca2 [2023-05-10T00:07:09.817Z] ---> 980234c401a5 [2023-05-10T00:07:09.817Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-10T00:07:10.389Z] ---> 54ca52aed7df [2023-05-10T00:07:10.389Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-10T00:07:10.647Z] ---> a7d12b7a27da [2023-05-10T00:07:10.647Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-10T00:07:10.647Z] ---> 885bfc1a041a [2023-05-10T00:07:10.647Z] Step 17/22 : EXPOSE 59901 [2023-05-10T00:07:10.906Z] ---> Running in a184d787ea9b [2023-05-10T00:07:10.906Z] Removing intermediate container a184d787ea9b [2023-05-10T00:07:10.906Z] ---> 5c106799fd5b [2023-05-10T00:07:10.906Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-10T00:07:10.906Z] ---> Running in a49c82fc6bff [2023-05-10T00:07:10.906Z] Removing intermediate container a49c82fc6bff [2023-05-10T00:07:10.906Z] ---> 779f688f7b88 [2023-05-10T00:07:10.906Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T00:07:10.906Z] ---> Running in 3a88871a4a44 [2023-05-10T00:07:11.166Z] Removing intermediate container 3a88871a4a44 [2023-05-10T00:07:11.166Z] ---> 685fb5067fd0 [2023-05-10T00:07:11.166Z] Step 20/22 : LABEL arch=amd64 [2023-05-10T00:07:11.166Z] ---> Running in 9bea64b356e5 [2023-05-10T00:07:11.166Z] Removing intermediate container 9bea64b356e5 [2023-05-10T00:07:11.166Z] ---> a651dab8f662 [2023-05-10T00:07:11.166Z] Step 21/22 : LABEL git_sha=a3185666607ac015ce8e2ed96cee91149733c6fa [2023-05-10T00:07:11.166Z] ---> Running in e75447203076 [2023-05-10T00:07:11.166Z] Removing intermediate container e75447203076 [2023-05-10T00:07:11.166Z] ---> 4948e819682c [2023-05-10T00:07:11.166Z] Step 22/22 : LABEL version=3.0.0-dev.38 [2023-05-10T00:07:11.424Z] ---> Running in 2ce693b200a7 [2023-05-10T00:07:11.424Z] Removing intermediate container 2ce693b200a7 [2023-05-10T00:07:11.424Z] ---> 122207b81c69 [2023-05-10T00:07:11.424Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T00:07:11.424Z] Successfully built 122207b81c69 [2023-05-10T00:07:11.424Z] 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-05-10T00:07:11.554Z] provisioning config files... [2023-05-10T00:07:11.566Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8528280671735770044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:07:11.864Z] ---> docker-login.sh [2023-05-10T00:07:11.864Z] nexus3.edgexfoundry.org:10001 [2023-05-10T00:07:11.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:07:12.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:07:12.122Z] Configure a credential helper to remove this warning. See [2023-05-10T00:07:12.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:07:12.122Z] [2023-05-10T00:07:12.122Z] Login Succeeded [2023-05-10T00:07:12.122Z] nexus3.edgexfoundry.org:10002 [2023-05-10T00:07:12.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:07:12.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:07:12.122Z] Configure a credential helper to remove this warning. See [2023-05-10T00:07:12.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:07:12.122Z] [2023-05-10T00:07:12.122Z] Login Succeeded [2023-05-10T00:07:12.122Z] nexus3.edgexfoundry.org:10003 [2023-05-10T00:07:12.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:07:12.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:07:12.382Z] Configure a credential helper to remove this warning. See [2023-05-10T00:07:12.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:07:12.382Z] [2023-05-10T00:07:12.382Z] Login Succeeded [2023-05-10T00:07:12.382Z] nexus3.edgexfoundry.org:10004 [2023-05-10T00:07:12.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:07:12.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:07:12.382Z] Configure a credential helper to remove this warning. See [2023-05-10T00:07:12.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:07:12.382Z] [2023-05-10T00:07:12.382Z] Login Succeeded [2023-05-10T00:07:12.382Z] docker.io [2023-05-10T00:07:12.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:07:12.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:07:12.641Z] Configure a credential helper to remove this warning. See [2023-05-10T00:07:12.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:07:12.641Z] [2023-05-10T00:07:12.641Z] Login Succeeded [2023-05-10T00:07:12.641Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T00:07:12.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T00:07:12.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:07:12.706Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-10T00:07:12.706Z] a3185666607ac015ce8e2ed96cee91149733c6fa [2023-05-10T00:07:12.706Z] latest [2023-05-10T00:07:12.706Z] 3.0.0-dev.38 [2023-05-10T00:07:12.706Z] a3185666607ac015ce8e2ed96cee91149733c6fa-3.0.0-dev.38 [2023-05-10T00:07:12.706Z] main [2023-05-10T00:07:12.706Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:13.027Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a3185666607ac015ce8e2ed96cee91149733c6fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:13.346Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:a3185666607ac015ce8e2ed96cee91149733c6fa [2023-05-10T00:07:13.346Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-10T00:07:13.346Z] effadad09334: Preparing [2023-05-10T00:07:13.346Z] 097bc89dbae2: Preparing [2023-05-10T00:07:13.346Z] a749e8762379: Preparing [2023-05-10T00:07:13.346Z] 1d1871b9cd80: Preparing [2023-05-10T00:07:13.346Z] f1417ff83b31: Preparing [2023-05-10T00:07:13.346Z] f1417ff83b31: Layer already exists [2023-05-10T00:07:13.346Z] 097bc89dbae2: Pushed [2023-05-10T00:07:13.346Z] effadad09334: Pushed [2023-05-10T00:07:13.346Z] 1d1871b9cd80: Pushed [2023-05-10T00:07:15.881Z] a749e8762379: Pushed [2023-05-10T00:07:15.881Z] a3185666607ac015ce8e2ed96cee91149733c6fa: digest: sha256:5ee50e345abffb0f48f49e10fdc4286685ac822c40beb4754a103115e2e3bbcc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:16.205Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:16.575Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-10T00:07:16.575Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-10T00:07:16.575Z] effadad09334: Preparing [2023-05-10T00:07:16.575Z] 097bc89dbae2: Preparing [2023-05-10T00:07:16.575Z] a749e8762379: Preparing [2023-05-10T00:07:16.575Z] 1d1871b9cd80: Preparing [2023-05-10T00:07:16.575Z] f1417ff83b31: Preparing [2023-05-10T00:07:16.575Z] 1d1871b9cd80: Layer already exists [2023-05-10T00:07:16.575Z] effadad09334: Layer already exists [2023-05-10T00:07:16.575Z] a749e8762379: Layer already exists [2023-05-10T00:07:16.575Z] f1417ff83b31: Layer already exists [2023-05-10T00:07:16.575Z] 097bc89dbae2: Layer already exists [2023-05-10T00:07:16.879Z] latest: digest: sha256:5ee50e345abffb0f48f49e10fdc4286685ac822c40beb4754a103115e2e3bbcc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:17.206Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:17.521Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.38 [2023-05-10T00:07:17.522Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-10T00:07:17.522Z] effadad09334: Preparing [2023-05-10T00:07:17.522Z] 097bc89dbae2: Preparing [2023-05-10T00:07:17.522Z] a749e8762379: Preparing [2023-05-10T00:07:17.522Z] 1d1871b9cd80: Preparing [2023-05-10T00:07:17.522Z] f1417ff83b31: Preparing [2023-05-10T00:07:17.522Z] effadad09334: Layer already exists [2023-05-10T00:07:17.522Z] 097bc89dbae2: Layer already exists [2023-05-10T00:07:17.522Z] a749e8762379: Layer already exists [2023-05-10T00:07:17.522Z] f1417ff83b31: Layer already exists [2023-05-10T00:07:17.522Z] 1d1871b9cd80: Layer already exists [2023-05-10T00:07:17.522Z] 3.0.0-dev.38: digest: sha256:5ee50e345abffb0f48f49e10fdc4286685ac822c40beb4754a103115e2e3bbcc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:17.850Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a3185666607ac015ce8e2ed96cee91149733c6fa-3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:18.159Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:a3185666607ac015ce8e2ed96cee91149733c6fa-3.0.0-dev.38 [2023-05-10T00:07:18.159Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-10T00:07:18.159Z] effadad09334: Preparing [2023-05-10T00:07:18.159Z] 097bc89dbae2: Preparing [2023-05-10T00:07:18.159Z] a749e8762379: Preparing [2023-05-10T00:07:18.159Z] 1d1871b9cd80: Preparing [2023-05-10T00:07:18.159Z] f1417ff83b31: Preparing [2023-05-10T00:07:18.159Z] a749e8762379: Layer already exists [2023-05-10T00:07:18.159Z] 1d1871b9cd80: Layer already exists [2023-05-10T00:07:18.159Z] f1417ff83b31: Layer already exists [2023-05-10T00:07:18.159Z] 097bc89dbae2: Layer already exists [2023-05-10T00:07:18.159Z] effadad09334: Layer already exists [2023-05-10T00:07:18.159Z] a3185666607ac015ce8e2ed96cee91149733c6fa-3.0.0-dev.38: digest: sha256:5ee50e345abffb0f48f49e10fdc4286685ac822c40beb4754a103115e2e3bbcc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:18.477Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:18.779Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-10T00:07:18.779Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-10T00:07:18.779Z] effadad09334: Preparing [2023-05-10T00:07:18.779Z] 097bc89dbae2: Preparing [2023-05-10T00:07:18.779Z] a749e8762379: Preparing [2023-05-10T00:07:18.779Z] 1d1871b9cd80: Preparing [2023-05-10T00:07:18.779Z] f1417ff83b31: Preparing [2023-05-10T00:07:18.779Z] 097bc89dbae2: Layer already exists [2023-05-10T00:07:18.779Z] a749e8762379: Layer already exists [2023-05-10T00:07:18.779Z] 1d1871b9cd80: Layer already exists [2023-05-10T00:07:18.779Z] f1417ff83b31: Layer already exists [2023-05-10T00:07:18.779Z] effadad09334: Layer already exists [2023-05-10T00:07:18.779Z] main: digest: sha256:5ee50e345abffb0f48f49e10fdc4286685ac822c40beb4754a103115e2e3bbcc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T00:07:18.821Z] ===================================================== [Pipeline] echo [2023-05-10T00:07:18.831Z] taggedImages: [2023-05-10T00:07:18.831Z] - nexus3.edgexfoundry.org:10004/device-modbus:a3185666607ac015ce8e2ed96cee91149733c6fa [2023-05-10T00:07:18.831Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-10T00:07:18.831Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.38 [2023-05-10T00:07:18.831Z] - nexus3.edgexfoundry.org:10004/device-modbus:a3185666607ac015ce8e2ed96cee91149733c6fa-3.0.0-dev.38 [2023-05-10T00:07:18.831Z] - 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-05-10T00:07:19.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T00:07:19.244Z] [2023-05-10T00:07:19.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:07:19.554Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T00:07:19.554Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T00:07:19.554Z] 5eb5b503b376: Pulling fs layer [2023-05-10T00:07:19.554Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T00:07:19.554Z] ec43610c2a17: Pulling fs layer [2023-05-10T00:07:19.554Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T00:07:19.554Z] 33b1e0a273af: Pulling fs layer [2023-05-10T00:07:19.554Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T00:07:19.554Z] 2f39f015ded8: Pulling fs layer [2023-05-10T00:07:19.554Z] 5d3b04190fa2: Waiting [2023-05-10T00:07:19.554Z] 33b1e0a273af: Waiting [2023-05-10T00:07:19.554Z] 3a2ae6a8a46f: Waiting [2023-05-10T00:07:19.554Z] 2f39f015ded8: Waiting [2023-05-10T00:07:19.554Z] 5c69ac0246d0: Download complete [2023-05-10T00:07:19.554Z] 3a2ae6a8a46f: Download complete [2023-05-10T00:07:19.554Z] 33b1e0a273af: Verifying Checksum [2023-05-10T00:07:19.554Z] 33b1e0a273af: Download complete [2023-05-10T00:07:19.814Z] 5d3b04190fa2: Download complete [2023-05-10T00:07:19.814Z] ec43610c2a17: Verifying Checksum [2023-05-10T00:07:19.814Z] ec43610c2a17: Download complete [2023-05-10T00:07:19.814Z] 5eb5b503b376: Verifying Checksum [2023-05-10T00:07:19.814Z] 5eb5b503b376: Download complete [2023-05-10T00:07:20.397Z] 2f39f015ded8: Download complete [2023-05-10T00:07:20.966Z] 5eb5b503b376: Pull complete [2023-05-10T00:07:21.224Z] 5c69ac0246d0: Pull complete [2023-05-10T00:07:21.792Z] ec43610c2a17: Pull complete [2023-05-10T00:07:21.792Z] 3a2ae6a8a46f: Pull complete [2023-05-10T00:07:21.792Z] 33b1e0a273af: Pull complete [2023-05-10T00:07:22.050Z] 5d3b04190fa2: Pull complete [2023-05-10T00:07:26.234Z] 2f39f015ded8: Pull complete [2023-05-10T00:07:26.234Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T00:07:26.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T00:07:26.234Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:07:26.342Z] prd-ubuntu20.04-docker-8c-8g-14832 does not seem to be running inside a container [2023-05-10T00:07:26.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T00:07:39.192Z] $ docker top faa65ceba5fbe89a4fbf8c50f1551dd35819801eaea9cf588667df2f51a39d4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:07:39.605Z] ---> job-cost.sh [2023-05-10T00:07:39.605Z] lf-activate-venv: SKIPPING [2023-05-10T00:07:39.605Z] INFO: No Stack... [2023-05-10T00:07:39.864Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T00:07:40.125Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T00:07:40.420Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-10T00:07:40.420Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T00:07:40.431Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-104-stack-cost] [2023-05-10T00:07:40.437Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-104-stack-cost] did not exist. Created. [2023-05-10T00:07:40.437Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T00:07:40.741Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T00:07:40.771Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T00:07:40.779Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-104-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T00:07:40.789Z] $ docker stop --time=1 faa65ceba5fbe89a4fbf8c50f1551dd35819801eaea9cf588667df2f51a39d4c [2023-05-10T00:07:41.943Z] $ docker rm -f --volumes faa65ceba5fbe89a4fbf8c50f1551dd35819801eaea9cf588667df2f51a39d4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T00:08:17.412Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14836 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-10T00:08:17.425Z] Running in /w/workspace/device-modbus-go/104 [Pipeline] { [Pipeline] checkout [2023-05-10T00:08:17.466Z] Selected Git installation does not exist. Using Default [2023-05-10T00:08:17.466Z] The recommended git tool is: NONE [2023-05-10T00:08:24.001Z] using credential edgex-jenkins-ssh [2023-05-10T00:08:24.025Z] Cloning the remote Git repository [2023-05-10T00:08:24.085Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-10T00:08:24.221Z] > git init /w/workspace/device-modbus-go/104 # timeout=10 [2023-05-10T00:08:24.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-10T00:08:24.438Z] > git --version # timeout=10 [2023-05-10T00:08:24.466Z] > git --version # 'git version 2.25.1' [2023-05-10T00:08:24.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T00:08:24.744Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T00:08:25.972Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-10T00:08:25.996Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T00:08:27.062Z] Avoid second fetch [2023-05-10T00:08:27.063Z] Checking out Revision a3185666607ac015ce8e2ed96cee91149733c6fa (main) [2023-05-10T00:08:27.084Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T00:08:27.179Z] > git checkout -f a3185666607ac015ce8e2ed96cee91149733c6fa # timeout=10 [2023-05-10T00:08:27.813Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#476)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T00:08:28.671Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T00:08:28.671Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T00:08:28.671Z] Dload Upload Total Spent Left Speed [2023-05-10T00:08:28.671Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-05-10T00:08:29.988Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T00:08:30.336Z] + sudo tee /etc/docker/daemon.new [2023-05-10T00:08:30.336Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-10T00:08:30.336Z] { [2023-05-10T00:08:30.336Z] "registry-mirrors": [ [2023-05-10T00:08:30.336Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T00:08:30.336Z] ], [2023-05-10T00:08:30.336Z] "bip": "10.250.0.254/24", [2023-05-10T00:08:30.336Z] "hosts": [ [2023-05-10T00:08:30.336Z] "tcp://0.0.0.0:5555", [2023-05-10T00:08:30.336Z] "unix:///var/run/docker.sock" [2023-05-10T00:08:30.336Z] ], [2023-05-10T00:08:30.336Z] "mtu": 1458, [2023-05-10T00:08:30.336Z] "selinux-enabled": true, [2023-05-10T00:08:30.336Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T00:08:30.336Z] } [Pipeline] sh [2023-05-10T00:08:30.673Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T00:08:31.010Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T00:08:49.379Z] provisioning config files... [2023-05-10T00:08:49.412Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/104@tmp/config9359994193751781958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:08:49.785Z] ---> docker-login.sh [2023-05-10T00:08:49.785Z] nexus3.edgexfoundry.org:10001 [2023-05-10T00:08:50.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:08:50.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:08:50.657Z] Configure a credential helper to remove this warning. See [2023-05-10T00:08:50.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:08:50.657Z] [2023-05-10T00:08:50.657Z] Login Succeeded [2023-05-10T00:08:50.657Z] nexus3.edgexfoundry.org:10002 [2023-05-10T00:08:50.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:08:50.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:08:50.932Z] Configure a credential helper to remove this warning. See [2023-05-10T00:08:50.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:08:50.932Z] [2023-05-10T00:08:50.932Z] Login Succeeded [2023-05-10T00:08:50.932Z] nexus3.edgexfoundry.org:10003 [2023-05-10T00:08:51.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:08:51.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:08:51.477Z] Configure a credential helper to remove this warning. See [2023-05-10T00:08:51.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:08:51.477Z] [2023-05-10T00:08:51.477Z] Login Succeeded [2023-05-10T00:08:51.477Z] nexus3.edgexfoundry.org:10004 [2023-05-10T00:08:51.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:08:51.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:08:51.753Z] Configure a credential helper to remove this warning. See [2023-05-10T00:08:51.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:08:51.753Z] [2023-05-10T00:08:51.753Z] Login Succeeded [2023-05-10T00:08:51.753Z] docker.io [2023-05-10T00:08:52.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:08:52.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:08:52.301Z] Configure a credential helper to remove this warning. See [2023-05-10T00:08:52.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:08:52.301Z] [2023-05-10T00:08:52.301Z] Login Succeeded [2023-05-10T00:08:52.301Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T00:08:52.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T00:08:52.675Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:08:52.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:08:52.704Z] ========================================================= [2023-05-10T00:08:52.704Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-10T00:08:52.704Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:08:53.091Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T00:08:53.369Z] Sending build context to Docker daemon 3.389MB [2023-05-10T00:08:53.369Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T00:08:53.369Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-10T00:08:53.644Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-10T00:08:53.644Z] c41833b44d91: Pulling fs layer [2023-05-10T00:08:53.644Z] ed15518f5707: Pulling fs layer [2023-05-10T00:08:53.644Z] feae8fd75edb: Pulling fs layer [2023-05-10T00:08:53.644Z] 242c74f7c9fa: Pulling fs layer [2023-05-10T00:08:53.644Z] 3cdef696dda3: Pulling fs layer [2023-05-10T00:08:53.644Z] 2ced38df9373: Pulling fs layer [2023-05-10T00:08:53.644Z] 58f1dce35555: Pulling fs layer [2023-05-10T00:08:53.644Z] 242c74f7c9fa: Waiting [2023-05-10T00:08:53.644Z] 3cdef696dda3: Waiting [2023-05-10T00:08:53.644Z] 2ced38df9373: Waiting [2023-05-10T00:08:53.644Z] 58f1dce35555: Waiting [2023-05-10T00:08:53.644Z] ed15518f5707: Download complete [2023-05-10T00:08:53.644Z] 242c74f7c9fa: Verifying Checksum [2023-05-10T00:08:53.644Z] 242c74f7c9fa: Download complete [2023-05-10T00:08:53.916Z] 3cdef696dda3: Verifying Checksum [2023-05-10T00:08:53.916Z] 3cdef696dda3: Download complete [2023-05-10T00:08:53.916Z] c41833b44d91: Verifying Checksum [2023-05-10T00:08:54.895Z] c41833b44d91: Pull complete [2023-05-10T00:08:55.169Z] 58f1dce35555: Verifying Checksum [2023-05-10T00:08:55.169Z] 58f1dce35555: Download complete [2023-05-10T00:08:55.451Z] ed15518f5707: Pull complete [2023-05-10T00:08:56.883Z] feae8fd75edb: Verifying Checksum [2023-05-10T00:08:56.883Z] feae8fd75edb: Download complete [2023-05-10T00:08:56.883Z] 2ced38df9373: Verifying Checksum [2023-05-10T00:08:56.883Z] 2ced38df9373: Download complete [2023-05-10T00:09:09.397Z] feae8fd75edb: Pull complete [2023-05-10T00:09:09.397Z] 242c74f7c9fa: Pull complete [2023-05-10T00:09:09.397Z] 3cdef696dda3: Pull complete [2023-05-10T00:09:16.733Z] 2ced38df9373: Pull complete [2023-05-10T00:09:18.386Z] 58f1dce35555: Pull complete [2023-05-10T00:09:18.658Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-10T00:09:18.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-10T00:09:18.658Z] ---> fadd8f120f05 [2023-05-10T00:09:18.658Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-10T00:09:20.625Z] ---> Running in 85963e822733 [2023-05-10T00:09:20.905Z] Removing intermediate container 85963e822733 [2023-05-10T00:09:20.905Z] ---> 7ec6764ffe63 [2023-05-10T00:09:20.905Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T00:09:21.176Z] ---> Running in 5651b7a36c89 [2023-05-10T00:09:21.448Z] Removing intermediate container 5651b7a36c89 [2023-05-10T00:09:21.448Z] ---> 5341dc47392d [2023-05-10T00:09:21.448Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-10T00:09:21.448Z] ---> Running in a869411629e5 [2023-05-10T00:09:22.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T00:09:23.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T00:09:24.661Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T00:09:24.661Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-10T00:09:24.661Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T00:09:24.661Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T00:09:24.661Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-10T00:09:24.661Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-10T00:09:24.661Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-10T00:09:24.661Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-10T00:09:24.661Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T00:09:24.661Z] OK: 270 MiB in 61 packages [2023-05-10T00:09:25.690Z] Removing intermediate container a869411629e5 [2023-05-10T00:09:25.690Z] ---> 42d636588727 [2023-05-10T00:09:25.690Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-10T00:09:25.961Z] ---> Running in f34ab4ac8adc [2023-05-10T00:09:26.262Z] Removing intermediate container f34ab4ac8adc [2023-05-10T00:09:26.262Z] ---> 27f460aab6a6 [2023-05-10T00:09:26.262Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-10T00:09:26.859Z] ---> 5fb9f74b49f3 [2023-05-10T00:09:26.859Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T00:09:26.859Z] ---> Running in ff53b5ba5ed4 [2023-05-10T00:10:34.791Z] Removing intermediate container ff53b5ba5ed4 [2023-05-10T00:10:34.792Z] ---> 9abda36abfff [2023-05-10T00:10:34.792Z] Step 9/10 : COPY . . [2023-05-10T00:10:34.792Z] ---> 0d7318735582 [2023-05-10T00:10:34.792Z] Step 10/10 : RUN ${MAKE} [2023-05-10T00:10:34.792Z] ---> Running in 366a9d34ce38 [2023-05-10T00:10:34.792Z] noop [2023-05-10T00:10:34.792Z] Removing intermediate container 366a9d34ce38 [2023-05-10T00:10:34.792Z] ---> ab1f7a7b469e [2023-05-10T00:10:34.792Z] Successfully built ab1f7a7b469e [2023-05-10T00:10:34.792Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:10:35.157Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T00:10:35.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:10:35.395Z] prd-ubuntu20.04-docker-arm64-4c-16g-14836 does not seem to be running inside a container [2023-05-10T00:10:35.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/104 -v /w/workspace/device-modbus-go/104:/w/workspace/device-modbus-go/104:rw,z -v /w/workspace/device-modbus-go/104@tmp:/w/workspace/device-modbus-go/104@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-05-10T00:10:36.696Z] $ docker top 33e629d40c8630685180c27e3d036e1eb9d49e0df8850b7606504304fddcbd90 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T00:10:37.553Z] + go version [2023-05-10T00:10:37.553Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-10T00:10:37.573Z] $ docker stop --time=1 33e629d40c8630685180c27e3d036e1eb9d49e0df8850b7606504304fddcbd90 [2023-05-10T00:10:39.197Z] $ docker rm -f --volumes 33e629d40c8630685180c27e3d036e1eb9d49e0df8850b7606504304fddcbd90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:10:39.769Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T00:10:39.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:10:39.971Z] prd-ubuntu20.04-docker-arm64-4c-16g-14836 does not seem to be running inside a container [2023-05-10T00:10:40.054Z] $ 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/104 -v /w/workspace/device-modbus-go/104:/w/workspace/device-modbus-go/104:rw,z -v /w/workspace/device-modbus-go/104@tmp:/w/workspace/device-modbus-go/104@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-05-10T00:10:41.383Z] $ docker top 77cde2f99e4de40c044f5161208d3f18a87d418553452a92029326392a5e1384 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T00:10:42.268Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/104 [Pipeline] fileExists [Pipeline] sh [2023-05-10T00:10:42.942Z] + make test [2023-05-10T00:10:42.943Z] go test ./... -coverprofile=coverage.out [2023-05-10T00:11:22.084Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-10T00:13:59.144Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-10T00:13:59.144Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 47.4% of statements [2023-05-10T00:13:59.144Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-10T00:13:59.144Z] go vet ./... [2023-05-10T00:14:21.231Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T00:14:21.231Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T00:14:21.231Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T00:14:21.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T00:14:21.268Z] $ docker stop --time=1 77cde2f99e4de40c044f5161208d3f18a87d418553452a92029326392a5e1384 [2023-05-10T00:14:23.149Z] $ docker rm -f --volumes 77cde2f99e4de40c044f5161208d3f18a87d418553452a92029326392a5e1384 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T00:14:24.358Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T00:14:24.384Z] Warning: overwriting stash ‘coverage-report’ [2023-05-10T00:14:24.937Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T00:14:25.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T00:14:25.669Z] + ls -al . [2023-05-10T00:14:25.669Z] total 176 [2023-05-10T00:14:25.669Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 00:10 . [2023-05-10T00:14:25.669Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:08 .. [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 00:08 .dockerignore [2023-05-10T00:14:25.669Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:08 .git [2023-05-10T00:14:25.669Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:08 .github [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 00:08 .gitignore [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 00:08 .golangci.yml [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 10 00:08 Attribution.txt [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 10 00:08 CHANGELOG.md [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 10 00:08 Dockerfile [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 00:08 GOVERNANCE.md [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 00:08 Jenkinsfile [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 00:08 LICENSE [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 10 00:08 Makefile [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 00:08 OWNERS.md [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 10 00:08 README.md [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 00:05 VERSION [2023-05-10T00:14:25.669Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:08 bin [2023-05-10T00:14:25.669Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:08 cmd [2023-05-10T00:14:25.669Z] -rw-r--r-- 1 jenkins jenkins 24160 May 10 00:13 coverage.out [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 10 00:08 go.mod [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 10 00:08 go.sum [2023-05-10T00:14:25.669Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:08 internal [2023-05-10T00:14:25.669Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:08 simulator [2023-05-10T00:14:25.669Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:08 snap [2023-05-10T00:14:25.669Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 00:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:14:26.016Z] + 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=a3185666607ac015ce8e2ed96cee91149733c6fa --label arch=arm64 --label version=3.0.0-dev.38 . [2023-05-10T00:14:26.285Z] Sending build context to Docker daemon 3.415MB [2023-05-10T00:14:26.285Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T00:14:26.285Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-10T00:14:26.285Z] ---> ab1f7a7b469e [2023-05-10T00:14:26.285Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-10T00:14:26.571Z] ---> Running in 0cdf58ec29f7 [2023-05-10T00:14:26.844Z] Removing intermediate container 0cdf58ec29f7 [2023-05-10T00:14:26.844Z] ---> b8e532b80db9 [2023-05-10T00:14:26.844Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T00:14:26.844Z] ---> Running in 5ba77f0bc449 [2023-05-10T00:14:27.113Z] Removing intermediate container 5ba77f0bc449 [2023-05-10T00:14:27.113Z] ---> 2029d656a0f5 [2023-05-10T00:14:27.113Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-10T00:14:27.382Z] ---> Running in 8e92d7a52b64 [2023-05-10T00:14:28.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T00:14:28.935Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T00:14:30.351Z] OK: 270 MiB in 61 packages [2023-05-10T00:14:31.321Z] Removing intermediate container 8e92d7a52b64 [2023-05-10T00:14:31.321Z] ---> bba7f6a2cff0 [2023-05-10T00:14:31.321Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-10T00:14:31.321Z] ---> Running in 1be74130b517 [2023-05-10T00:14:31.589Z] Removing intermediate container 1be74130b517 [2023-05-10T00:14:31.589Z] ---> 6d871f2e2897 [2023-05-10T00:14:31.589Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-10T00:14:32.181Z] ---> bf47ab29728b [2023-05-10T00:14:32.181Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T00:14:32.181Z] ---> Running in c710916e67e3 [2023-05-10T00:14:35.557Z] Removing intermediate container c710916e67e3 [2023-05-10T00:14:35.557Z] ---> 0d1c5fa90f9c [2023-05-10T00:14:35.557Z] Step 9/22 : COPY . . [2023-05-10T00:14:36.147Z] ---> 7421d78a46f1 [2023-05-10T00:14:36.147Z] Step 10/22 : RUN ${MAKE} [2023-05-10T00:14:36.147Z] ---> Running in ea67f8013b6e [2023-05-10T00:14:37.116Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.38" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-10T00:17:14.273Z] Removing intermediate container ea67f8013b6e [2023-05-10T00:17:14.273Z] ---> 2ceff3e03972 [2023-05-10T00:17:14.273Z] Step 11/22 : FROM alpine:3.17 [2023-05-10T00:17:14.273Z] 3.17: Pulling from library/alpine [2023-05-10T00:17:14.273Z] c41833b44d91: Already exists [2023-05-10T00:17:14.273Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T00:17:14.273Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T00:17:14.273Z] ---> 51e60588ff2c [2023-05-10T00:17:14.273Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-10T00:17:14.273Z] ---> Running in b0af4659546f [2023-05-10T00:17:14.273Z] Removing intermediate container b0af4659546f [2023-05-10T00:17:14.273Z] ---> 7c77fc214335 [2023-05-10T00:17:14.273Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-10T00:17:14.273Z] ---> Running in 5e34268f0c9f [2023-05-10T00:17:14.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T00:17:14.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T00:17:14.273Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T00:17:14.273Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T00:17:14.273Z] OK: 8 MiB in 16 packages [2023-05-10T00:17:14.273Z] Removing intermediate container 5e34268f0c9f [2023-05-10T00:17:14.273Z] ---> 8a7830d5269b [2023-05-10T00:17:14.273Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-10T00:17:14.273Z] ---> 1c3266a06d45 [2023-05-10T00:17:14.273Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-10T00:17:14.273Z] ---> 1fdf101f8c1a [2023-05-10T00:17:14.273Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-10T00:17:14.905Z] ---> bc25031a32ab [2023-05-10T00:17:14.905Z] Step 17/22 : EXPOSE 59901 [2023-05-10T00:17:14.905Z] ---> Running in ddebdf1d5bea [2023-05-10T00:17:15.498Z] Removing intermediate container ddebdf1d5bea [2023-05-10T00:17:15.498Z] ---> 859eeda336d5 [2023-05-10T00:17:15.498Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-10T00:17:15.498Z] ---> Running in 67bec06ac04e [2023-05-10T00:17:15.773Z] Removing intermediate container 67bec06ac04e [2023-05-10T00:17:15.773Z] ---> eefa7a48356f [2023-05-10T00:17:15.773Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T00:17:15.773Z] ---> Running in 00c1e5bccb21 [2023-05-10T00:17:20.045Z] Removing intermediate container 00c1e5bccb21 [2023-05-10T00:17:20.045Z] ---> b4d8c2d74fb3 [2023-05-10T00:17:20.045Z] Step 20/22 : LABEL arch=arm64 [2023-05-10T00:17:20.045Z] ---> Running in b30a1c398465 [2023-05-10T00:17:20.045Z] Removing intermediate container b30a1c398465 [2023-05-10T00:17:20.045Z] ---> 27e60d2d7f77 [2023-05-10T00:17:20.045Z] Step 21/22 : LABEL git_sha=a3185666607ac015ce8e2ed96cee91149733c6fa [2023-05-10T00:17:20.045Z] ---> Running in a8d10af1f3a8 [2023-05-10T00:17:20.313Z] Removing intermediate container a8d10af1f3a8 [2023-05-10T00:17:20.314Z] ---> 7a0ad7fe73e5 [2023-05-10T00:17:20.314Z] Step 22/22 : LABEL version=3.0.0-dev.38 [2023-05-10T00:17:20.582Z] ---> Running in c0f20200f28d [2023-05-10T00:17:20.850Z] Removing intermediate container c0f20200f28d [2023-05-10T00:17:20.851Z] ---> fb8d632961de [2023-05-10T00:17:20.851Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T00:17:20.851Z] Successfully built fb8d632961de [2023-05-10T00:17:20.851Z] 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-05-10T00:17:20.967Z] provisioning config files... [2023-05-10T00:17:20.984Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/104@tmp/config14719673580162213423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:17:21.330Z] ---> docker-login.sh [2023-05-10T00:17:21.330Z] nexus3.edgexfoundry.org:10001 [2023-05-10T00:17:21.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:17:21.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:17:21.598Z] Configure a credential helper to remove this warning. See [2023-05-10T00:17:21.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:17:21.598Z] [2023-05-10T00:17:21.598Z] Login Succeeded [2023-05-10T00:17:21.598Z] nexus3.edgexfoundry.org:10002 [2023-05-10T00:17:21.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:17:22.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:17:22.140Z] Configure a credential helper to remove this warning. See [2023-05-10T00:17:22.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:17:22.140Z] [2023-05-10T00:17:22.140Z] Login Succeeded [2023-05-10T00:17:22.140Z] nexus3.edgexfoundry.org:10003 [2023-05-10T00:17:22.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:17:22.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:17:22.410Z] Configure a credential helper to remove this warning. See [2023-05-10T00:17:22.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:17:22.410Z] [2023-05-10T00:17:22.410Z] Login Succeeded [2023-05-10T00:17:22.410Z] nexus3.edgexfoundry.org:10004 [2023-05-10T00:17:22.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:17:22.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:17:22.946Z] Configure a credential helper to remove this warning. See [2023-05-10T00:17:22.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:17:22.946Z] [2023-05-10T00:17:22.946Z] Login Succeeded [2023-05-10T00:17:22.946Z] docker.io [2023-05-10T00:17:23.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:17:23.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:17:23.481Z] Configure a credential helper to remove this warning. See [2023-05-10T00:17:23.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:17:23.481Z] [2023-05-10T00:17:23.481Z] Login Succeeded [2023-05-10T00:17:23.481Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T00:17:23.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T00:17:23.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:17:23.564Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-10T00:17:23.564Z] a3185666607ac015ce8e2ed96cee91149733c6fa [2023-05-10T00:17:23.564Z] latest [2023-05-10T00:17:23.564Z] 3.0.0-dev.38 [2023-05-10T00:17:23.564Z] a3185666607ac015ce8e2ed96cee91149733c6fa-3.0.0-dev.38 [2023-05-10T00:17:23.564Z] main [2023-05-10T00:17:23.564Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:23.937Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3185666607ac015ce8e2ed96cee91149733c6fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:24.297Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3185666607ac015ce8e2ed96cee91149733c6fa [2023-05-10T00:17:24.297Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-10T00:17:24.297Z] 4c4f1c280ab7: Preparing [2023-05-10T00:17:24.297Z] e9f71637f915: Preparing [2023-05-10T00:17:24.297Z] 5f93ff158745: Preparing [2023-05-10T00:17:24.297Z] efc79d175070: Preparing [2023-05-10T00:17:24.297Z] 26cbea5cba74: Preparing [2023-05-10T00:17:24.566Z] 26cbea5cba74: Layer already exists [2023-05-10T00:17:24.566Z] 4c4f1c280ab7: Pushed [2023-05-10T00:17:24.566Z] e9f71637f915: Pushed [2023-05-10T00:17:24.566Z] efc79d175070: Pushed [2023-05-10T00:17:29.923Z] 5f93ff158745: Pushed [2023-05-10T00:17:30.193Z] a3185666607ac015ce8e2ed96cee91149733c6fa: digest: sha256:420dcdcc6633aee27c0c43b8217f92f98ea7ad1b3ed5f0e1495e58e9464e7823 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:30.550Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:30.910Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-10T00:17:30.911Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-10T00:17:30.911Z] 4c4f1c280ab7: Preparing [2023-05-10T00:17:30.911Z] e9f71637f915: Preparing [2023-05-10T00:17:30.911Z] 5f93ff158745: Preparing [2023-05-10T00:17:30.911Z] efc79d175070: Preparing [2023-05-10T00:17:30.911Z] 26cbea5cba74: Preparing [2023-05-10T00:17:30.911Z] e9f71637f915: Layer already exists [2023-05-10T00:17:30.911Z] 4c4f1c280ab7: Layer already exists [2023-05-10T00:17:30.911Z] 26cbea5cba74: Layer already exists [2023-05-10T00:17:30.911Z] efc79d175070: Layer already exists [2023-05-10T00:17:30.911Z] 5f93ff158745: Layer already exists [2023-05-10T00:17:31.179Z] latest: digest: sha256:420dcdcc6633aee27c0c43b8217f92f98ea7ad1b3ed5f0e1495e58e9464e7823 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:31.556Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:31.938Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.38 [2023-05-10T00:17:31.938Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-10T00:17:31.938Z] 4c4f1c280ab7: Preparing [2023-05-10T00:17:31.938Z] e9f71637f915: Preparing [2023-05-10T00:17:31.938Z] 5f93ff158745: Preparing [2023-05-10T00:17:31.938Z] efc79d175070: Preparing [2023-05-10T00:17:31.938Z] 26cbea5cba74: Preparing [2023-05-10T00:17:31.938Z] 5f93ff158745: Layer already exists [2023-05-10T00:17:31.938Z] e9f71637f915: Layer already exists [2023-05-10T00:17:31.938Z] efc79d175070: Layer already exists [2023-05-10T00:17:31.938Z] 4c4f1c280ab7: Layer already exists [2023-05-10T00:17:31.938Z] 26cbea5cba74: Layer already exists [2023-05-10T00:17:32.207Z] 3.0.0-dev.38: digest: sha256:420dcdcc6633aee27c0c43b8217f92f98ea7ad1b3ed5f0e1495e58e9464e7823 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:32.575Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3185666607ac015ce8e2ed96cee91149733c6fa-3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:32.929Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3185666607ac015ce8e2ed96cee91149733c6fa-3.0.0-dev.38 [2023-05-10T00:17:32.929Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-10T00:17:32.929Z] 4c4f1c280ab7: Preparing [2023-05-10T00:17:32.929Z] e9f71637f915: Preparing [2023-05-10T00:17:32.929Z] 5f93ff158745: Preparing [2023-05-10T00:17:32.929Z] efc79d175070: Preparing [2023-05-10T00:17:32.929Z] 26cbea5cba74: Preparing [2023-05-10T00:17:32.929Z] 5f93ff158745: Layer already exists [2023-05-10T00:17:32.929Z] e9f71637f915: Layer already exists [2023-05-10T00:17:32.929Z] 4c4f1c280ab7: Layer already exists [2023-05-10T00:17:32.929Z] 26cbea5cba74: Layer already exists [2023-05-10T00:17:32.929Z] efc79d175070: Layer already exists [2023-05-10T00:17:33.200Z] a3185666607ac015ce8e2ed96cee91149733c6fa-3.0.0-dev.38: digest: sha256:420dcdcc6633aee27c0c43b8217f92f98ea7ad1b3ed5f0e1495e58e9464e7823 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:33.567Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:33.920Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-10T00:17:33.921Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-10T00:17:33.921Z] 4c4f1c280ab7: Preparing [2023-05-10T00:17:33.921Z] e9f71637f915: Preparing [2023-05-10T00:17:33.921Z] 5f93ff158745: Preparing [2023-05-10T00:17:33.921Z] efc79d175070: Preparing [2023-05-10T00:17:33.921Z] 26cbea5cba74: Preparing [2023-05-10T00:17:33.921Z] 26cbea5cba74: Layer already exists [2023-05-10T00:17:33.921Z] 4c4f1c280ab7: Layer already exists [2023-05-10T00:17:33.921Z] 5f93ff158745: Layer already exists [2023-05-10T00:17:33.921Z] e9f71637f915: Layer already exists [2023-05-10T00:17:33.921Z] efc79d175070: Layer already exists [2023-05-10T00:17:34.189Z] main: digest: sha256:420dcdcc6633aee27c0c43b8217f92f98ea7ad1b3ed5f0e1495e58e9464e7823 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T00:17:34.251Z] ===================================================== [Pipeline] echo [2023-05-10T00:17:34.265Z] taggedImages: [2023-05-10T00:17:34.265Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3185666607ac015ce8e2ed96cee91149733c6fa [2023-05-10T00:17:34.265Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-10T00:17:34.265Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.38 [2023-05-10T00:17:34.265Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3185666607ac015ce8e2ed96cee91149733c6fa-3.0.0-dev.38 [2023-05-10T00:17:34.265Z] - 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-05-10T00:17:34.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T00:17:34.640Z] [2023-05-10T00:17:34.640Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:34.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T00:17:35.254Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T00:17:35.254Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T00:17:35.254Z] 04944245beec: Pulling fs layer [2023-05-10T00:17:35.254Z] 699f458cf7ca: Pulling fs layer [2023-05-10T00:17:35.254Z] 765212b225bb: Pulling fs layer [2023-05-10T00:17:35.254Z] f23df028b6ca: Pulling fs layer [2023-05-10T00:17:35.254Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T00:17:35.254Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T00:17:35.254Z] f23df028b6ca: Waiting [2023-05-10T00:17:35.254Z] 2437ff75d9bd: Waiting [2023-05-10T00:17:35.254Z] d65c8cfc05b1: Waiting [2023-05-10T00:17:35.254Z] 765212b225bb: Waiting [2023-05-10T00:17:35.254Z] 04944245beec: Verifying Checksum [2023-05-10T00:17:35.254Z] 04944245beec: Download complete [2023-05-10T00:17:35.254Z] 765212b225bb: Verifying Checksum [2023-05-10T00:17:35.254Z] 765212b225bb: Download complete [2023-05-10T00:17:35.254Z] f23df028b6ca: Verifying Checksum [2023-05-10T00:17:35.254Z] f23df028b6ca: Download complete [2023-05-10T00:17:35.524Z] d65c8cfc05b1: Verifying Checksum [2023-05-10T00:17:35.524Z] d65c8cfc05b1: Download complete [2023-05-10T00:17:35.524Z] 699f458cf7ca: Download complete [2023-05-10T00:17:35.793Z] 8998bd30e6a1: Verifying Checksum [2023-05-10T00:17:35.793Z] 8998bd30e6a1: Download complete [2023-05-10T00:17:38.381Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T00:17:38.381Z] 2437ff75d9bd: Download complete [2023-05-10T00:17:40.342Z] 8998bd30e6a1: Pull complete [2023-05-10T00:17:40.610Z] 04944245beec: Pull complete [2023-05-10T00:17:42.022Z] 699f458cf7ca: Pull complete [2023-05-10T00:17:42.022Z] 765212b225bb: Pull complete [2023-05-10T00:17:42.606Z] f23df028b6ca: Pull complete [2023-05-10T00:17:42.873Z] d65c8cfc05b1: Pull complete [2023-05-10T00:17:57.871Z] 2437ff75d9bd: Pull complete [2023-05-10T00:17:57.871Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T00:17:57.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T00:17:57.871Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:17:58.079Z] prd-ubuntu20.04-docker-arm64-4c-16g-14836 does not seem to be running inside a container [2023-05-10T00:17:58.162Z] $ 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/104 -v /w/workspace/device-modbus-go/104:/w/workspace/device-modbus-go/104:rw,z -v /w/workspace/device-modbus-go/104@tmp:/w/workspace/device-modbus-go/104@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-05-10T00:18:00.992Z] $ docker top 644d4ce392bb596de3b6a8f7048a597e3b68cb358da6adb79a5b73593620a35f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:01.859Z] ---> job-cost.sh [2023-05-10T00:18:01.859Z] lf-activate-venv: SKIPPING [2023-05-10T00:18:01.859Z] INFO: No Stack... [2023-05-10T00:18:02.446Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T00:18:03.406Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T00:18:03.738Z] + + cat /w/workspace/device-modbus-go/104/archives/cost.csvcut [2023-05-10T00:18:03.738Z] -d, -f6 [Pipeline] lock [2023-05-10T00:18:04.060Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-104-stack-cost] [2023-05-10T00:18:04.067Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-104-stack-cost] did not exist. Created. [2023-05-10T00:18:04.067Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T00:18:04.724Z] /w/workspace/device-modbus-go/104@tmp/durable-4dcc2510/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T00:18:05.383Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T00:18:05.399Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T00:18:05.450Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T00:18:05.464Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-104-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T00:18:05.486Z] $ docker stop --time=1 644d4ce392bb596de3b6a8f7048a597e3b68cb358da6adb79a5b73593620a35f [2023-05-10T00:18:07.060Z] $ docker rm -f --volumes 644d4ce392bb596de3b6a8f7048a597e3b68cb358da6adb79a5b73593620a35f [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-05-10T00:18:07.450Z] provisioning config files... [2023-05-10T00:18:07.459Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7293827307542914382tmp [Pipeline] { [Pipeline] sh [2023-05-10T00:18:07.755Z] + set +x [2023-05-10T00:18:07.755Z] + curl -s https://codecov.io/bash [2023-05-10T00:18:07.755Z] + bash -s -- [2023-05-10T00:18:07.755Z] [2023-05-10T00:18:07.755Z] _____ _ [2023-05-10T00:18:07.755Z] / ____| | | [2023-05-10T00:18:07.755Z] | | ___ __| | ___ ___ _____ __ [2023-05-10T00:18:07.755Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-10T00:18:07.755Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-10T00:18:07.755Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-10T00:18:07.755Z] Bash-1.0.6 [2023-05-10T00:18:07.755Z] [2023-05-10T00:18:07.755Z] [2023-05-10T00:18:07.755Z] ==> git version 2.25.1 found [2023-05-10T00:18:07.755Z] ==> 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-05-10T00:18:07.755Z] Release-Date: 2020-01-08 [2023-05-10T00:18:07.755Z] 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-05-10T00:18:07.755Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-10T00:18:07.755Z] ==> Jenkins CI detected. [2023-05-10T00:18:07.755Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-10T00:18:07.755Z] project root: . [2023-05-10T00:18:07.755Z] --> token set from env [2023-05-10T00:18:07.755Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-10T00:18:07.755Z] ==> Running gcov in . (disable via -X gcov) [2023-05-10T00:18:07.755Z] ==> Python coveragepy not found [2023-05-10T00:18:07.755Z] ==> Searching for coverage reports in: [2023-05-10T00:18:07.755Z] + . [2023-05-10T00:18:07.755Z] -> Found 1 reports [2023-05-10T00:18:07.755Z] ==> Detecting git/mercurial file structure [2023-05-10T00:18:07.755Z] ==> Reading reports [2023-05-10T00:18:07.755Z] + ./coverage.out bytes=24160 [2023-05-10T00:18:07.755Z] ==> Appending adjustments [2023-05-10T00:18:07.755Z] https://docs.codecov.io/docs/fixing-reports [2023-05-10T00:18:08.015Z] + Found adjustments [2023-05-10T00:18:08.015Z] ==> Gzipping contents [2023-05-10T00:18:08.015Z] 4.0K /tmp/codecov.tHpsBy.gz [2023-05-10T00:18:08.015Z] ==> Uploading reports [2023-05-10T00:18:08.015Z] url: https://codecov.io [2023-05-10T00:18:08.015Z] query: branch=main&commit=a3185666607ac015ce8e2ed96cee91149733c6fa&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T00:18:08.015Z] -> Pinging Codecov [2023-05-10T00:18:08.015Z] 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=a3185666607ac015ce8e2ed96cee91149733c6fa&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T00:18:08.015Z] -> Uploading to [2023-05-10T00:18:08.015Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-10/55DBCA73C666E3227836607328DD7E49/a3185666607ac015ce8e2ed96cee91149733c6fa/42631f19-ee25-4e23-aef1-02f8d6c665d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T001807Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4d1fc51b99c3c0a42b3c8bf253109550351a1c8c21726f92aa7c13e2631854e [2023-05-10T00:18:08.274Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T00:18:08.274Z] Dload Upload Total Spent Left Speed [2023-05-10T00:18:08.274Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18336 --:--:-- --:--:-- --:--:-- 18336 [2023-05-10T00:18:08.274Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a3185666607ac015ce8e2ed96cee91149733c6fa [Pipeline] } [2023-05-10T00:18:08.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-10T00:18:08.420Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-10T00:18:08.436Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:08.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T00:18:08.742Z] [2023-05-10T00:18:08.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:09.041Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T00:18:09.041Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-10T00:18:09.041Z] df9b9388f04a: Pulling fs layer [2023-05-10T00:18:09.041Z] 52dc419b0ee2: Pulling fs layer [2023-05-10T00:18:09.041Z] 25bc292e5bac: Pulling fs layer [2023-05-10T00:18:09.041Z] 114826534d7a: Pulling fs layer [2023-05-10T00:18:09.041Z] 4657fd5d0bcf: Pulling fs layer [2023-05-10T00:18:09.041Z] 6ad1cebc031e: Pulling fs layer [2023-05-10T00:18:09.041Z] 8a3aa393b2d8: Pulling fs layer [2023-05-10T00:18:09.041Z] 114826534d7a: Waiting [2023-05-10T00:18:09.041Z] 25bc292e5bac: Verifying Checksum [2023-05-10T00:18:09.041Z] 25bc292e5bac: Download complete [2023-05-10T00:18:09.041Z] 52dc419b0ee2: Download complete [2023-05-10T00:18:09.041Z] 4657fd5d0bcf: Verifying Checksum [2023-05-10T00:18:09.041Z] 4657fd5d0bcf: Download complete [2023-05-10T00:18:09.041Z] df9b9388f04a: Verifying Checksum [2023-05-10T00:18:09.041Z] df9b9388f04a: Download complete [2023-05-10T00:18:09.300Z] 6ad1cebc031e: Verifying Checksum [2023-05-10T00:18:09.300Z] 6ad1cebc031e: Download complete [2023-05-10T00:18:09.300Z] df9b9388f04a: Pull complete [2023-05-10T00:18:09.300Z] 52dc419b0ee2: Pull complete [2023-05-10T00:18:09.300Z] 25bc292e5bac: Pull complete [2023-05-10T00:18:09.868Z] 114826534d7a: Verifying Checksum [2023-05-10T00:18:09.868Z] 114826534d7a: Download complete [2023-05-10T00:18:09.868Z] 8a3aa393b2d8: Verifying Checksum [2023-05-10T00:18:09.868Z] 8a3aa393b2d8: Download complete [2023-05-10T00:18:13.153Z] 114826534d7a: Pull complete [2023-05-10T00:18:13.153Z] 4657fd5d0bcf: Pull complete [2023-05-10T00:18:15.012Z] 6ad1cebc031e: Pull complete [2023-05-10T00:18:16.914Z] 8a3aa393b2d8: Pull complete [2023-05-10T00:18:16.914Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-10T00:18:16.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T00:18:16.914Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:18:17.000Z] prd-ubuntu20.04-docker-8c-8g-14832 does not seem to be running inside a container [2023-05-10T00:18:17.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-10T00:18:24.459Z] $ docker top 4d0a61fd9d1b374b669c3c6af235f7032ff630320073e6b2e84f33e4fce20dd5 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-10T00:18:24.535Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-10T00:18:24.816Z] + set -o pipefail [2023-05-10T00:18:24.816Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-10T00:18:33.745Z] [2023-05-10T00:18:33.745Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-10T00:18:33.745Z] [2023-05-10T00:18:33.745Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/a8adab0c-de63-48ab-81f5-15d5f7428080 [2023-05-10T00:18:33.745Z] [2023-05-10T00:18:33.745Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-10T00:18:33.745Z] [2023-05-10T00:18:33.745Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-10T00:18:33.745Z] [2023-05-10T00:18:34.315Z] [2023-05-10T00:18:34.315Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-10T00:18:34.315Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-10T00:18:34.315Z] More details here: https://snyk.co/ue1NS [2023-05-10T00:18:34.315Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-10T00:18:34.315Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-10T00:18:34.320Z] $ docker stop --time=1 4d0a61fd9d1b374b669c3c6af235f7032ff630320073e6b2e84f33e4fce20dd5 [2023-05-10T00:18:40.119Z] $ docker rm -f --volumes 4d0a61fd9d1b374b669c3c6af235f7032ff630320073e6b2e84f33e4fce20dd5 [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-05-10T00:18:40.836Z] + git log --format=format:%s -1 a3185666607ac015ce8e2ed96cee91149733c6fa [Pipeline] sh [2023-05-10T00:18:41.129Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T00:18:41.130Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:41.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:18:41.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:18:41.521Z] prd-ubuntu20.04-docker-8c-8g-14832 does not seem to be running inside a container [2023-05-10T00:18:41.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T00:18:41.994Z] $ docker top 4feee197ec51b65f1dc5568e925d64102a24305445b2877611708eaab3cbfaa3 -eo pid,comm [2023-05-10T00:18:42.046Z] 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-05-10T00:18:42.046Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T00:18:42.085Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T00:18:42.085Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T00:18:42.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T00:18:42.209Z] $ docker exec 4feee197ec51b65f1dc5568e925d64102a24305445b2877611708eaab3cbfaa3 ssh-agent [2023-05-10T00:18:42.329Z] SSH_AUTH_SOCK=/tmp/ssh-L8DcRoZ6vmCL/agent.32 [2023-05-10T00:18:42.329Z] SSH_AGENT_PID=38 [2023-05-10T00:18:42.335Z] Running ssh-add (command line suppressed) [2023-05-10T00:18:42.428Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_974137881819086116.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_974137881819086116.key) [2023-05-10T00:18:42.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T00:18:42.740Z] + git semver tag [2023-05-10T00:18:42.999Z] 2023-05-10 00:18:42,949 [run_tag] DEBUG tag force:False [2023-05-10T00:18:42.999Z] 2023-05-10 00:18:42,949 [check_head_tag] DEBUG check head tag [2023-05-10T00:18:42.999Z] 2023-05-10 00:18:42,951 [execute] INFO git cat-file --batch-check [2023-05-10T00:18:42.999Z] 2023-05-10 00:18:42,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T00:18:42.999Z] 2023-05-10 00:18:42,955 [execute] INFO git cat-file --batch [2023-05-10T00:18:42.999Z] 2023-05-10 00:18:42,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T00:18:42.999Z] 2023-05-10 00:18:42,976 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T00:18:42.999Z] 2023-05-10 00:18:42,976 [execute] INFO git tag -a v3.0.0-dev.38 -m v3.0.0-dev.38 [2023-05-10T00:18:42.999Z] 2023-05-10 00:18:42,977 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.38', '-m', 'v3.0.0-dev.38'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-10T00:18:43.000Z] 2023-05-10 00:18:42,981 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T00:18:43.000Z] 3.0.0-dev.38 [Pipeline] } [2023-05-10T00:18:43.263Z] $ docker exec --env ******** --env ******** 4feee197ec51b65f1dc5568e925d64102a24305445b2877611708eaab3cbfaa3 ssh-agent -k [2023-05-10T00:18:43.364Z] unset SSH_AUTH_SOCK; [2023-05-10T00:18:43.365Z] unset SSH_AGENT_PID; [2023-05-10T00:18:43.365Z] echo Agent pid 38 killed; [2023-05-10T00:18:43.382Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T00:18:43.686Z] + git semver [Pipeline] } [2023-05-10T00:18:43.958Z] $ docker stop --time=1 4feee197ec51b65f1dc5568e925d64102a24305445b2877611708eaab3cbfaa3 [2023-05-10T00:18:45.207Z] $ docker rm -f --volumes 4feee197ec51b65f1dc5568e925d64102a24305445b2877611708eaab3cbfaa3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:45.595Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T00:18:45.595Z] [2023-05-10T00:18:45.595Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:45.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T00:18:45.895Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-10T00:18:45.895Z] ab5ef0e58194: Pulling fs layer [2023-05-10T00:18:45.895Z] 9712f1f96733: Pulling fs layer [2023-05-10T00:18:45.895Z] 63f879dbbcfc: Pulling fs layer [2023-05-10T00:18:45.895Z] 0d9ebad4ef96: Pulling fs layer [2023-05-10T00:18:45.895Z] e9a5061849ea: Pulling fs layer [2023-05-10T00:18:45.895Z] d747dcd14b5f: Pulling fs layer [2023-05-10T00:18:45.895Z] 2de7ff778b66: Pulling fs layer [2023-05-10T00:18:45.895Z] 0d9ebad4ef96: Waiting [2023-05-10T00:18:45.895Z] e9a5061849ea: Waiting [2023-05-10T00:18:45.895Z] d747dcd14b5f: Waiting [2023-05-10T00:18:45.895Z] 2de7ff778b66: Waiting [2023-05-10T00:18:45.895Z] 9712f1f96733: Verifying Checksum [2023-05-10T00:18:45.895Z] 9712f1f96733: Download complete [2023-05-10T00:18:46.157Z] 63f879dbbcfc: Verifying Checksum [2023-05-10T00:18:46.157Z] 63f879dbbcfc: Download complete [2023-05-10T00:18:46.416Z] e9a5061849ea: Verifying Checksum [2023-05-10T00:18:46.416Z] e9a5061849ea: Download complete [2023-05-10T00:18:46.416Z] d747dcd14b5f: Verifying Checksum [2023-05-10T00:18:46.416Z] d747dcd14b5f: Download complete [2023-05-10T00:18:46.416Z] ab5ef0e58194: Download complete [2023-05-10T00:18:46.416Z] 0d9ebad4ef96: Verifying Checksum [2023-05-10T00:18:46.416Z] 0d9ebad4ef96: Download complete [2023-05-10T00:18:46.674Z] 2de7ff778b66: Verifying Checksum [2023-05-10T00:18:46.674Z] 2de7ff778b66: Download complete [2023-05-10T00:18:49.207Z] ab5ef0e58194: Pull complete [2023-05-10T00:18:49.207Z] 9712f1f96733: Pull complete [2023-05-10T00:18:50.143Z] 63f879dbbcfc: Pull complete [2023-05-10T00:18:54.420Z] 0d9ebad4ef96: Pull complete [2023-05-10T00:18:54.420Z] e9a5061849ea: Pull complete [2023-05-10T00:18:54.420Z] d747dcd14b5f: Pull complete [2023-05-10T00:18:55.387Z] 2de7ff778b66: Pull complete [2023-05-10T00:18:55.387Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-10T00:18:55.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T00:18:55.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:18:55.463Z] prd-ubuntu20.04-docker-8c-8g-14832 does not seem to be running inside a container [2023-05-10T00:18:55.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-10T00:19:04.755Z] $ docker top 6398caf2cbee9764dcdb16533e779b5675f08409fd5152b28e809242761fe0ea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-10T00:19:04.831Z] provisioning config files... [2023-05-10T00:19:04.840Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16194012042518149892tmp [2023-05-10T00:19:04.849Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15581189934533329444tmp [2023-05-10T00:19:04.872Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13717367558560753343tmp [Pipeline] { [Pipeline] echo [2023-05-10T00:19:04.894Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:19:05.180Z] ---> sigul-configuration.sh [2023-05-10T00:19:05.180Z] gpg: directory `/root/.gnupg' created [2023-05-10T00:19:05.180Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-10T00:19:05.180Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-10T00:19:05.180Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-10T00:19:05.180Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-10T00:19:05.180Z] gpg: CAST5 encrypted data [2023-05-10T00:19:05.180Z] gpg: encrypted with 1 passphrase [2023-05-10T00:19:05.180Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-10T00:19:05.468Z] + mkdir /home/jenkins [2023-05-10T00:19:05.468Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-10T00:19:05.757Z] + 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-05-10T00:19:05.767Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:19:06.057Z] ---> sigul-install.sh [2023-05-10T00:19:06.057Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-10T00:19:06.345Z] + git tag --list [2023-05-10T00:19:06.345Z] 0.7.1 [2023-05-10T00:19:06.345Z] v1.0.0 [2023-05-10T00:19:06.345Z] v1.1.0 [2023-05-10T00:19:06.345Z] v1.1.1 [2023-05-10T00:19:06.345Z] v1.2.2 [2023-05-10T00:19:06.345Z] v1.3.0 [2023-05-10T00:19:06.345Z] v1.3.1 [2023-05-10T00:19:06.345Z] v2.0.0 [2023-05-10T00:19:06.345Z] v2.1.0 [2023-05-10T00:19:06.345Z] v2.1.1 [2023-05-10T00:19:06.345Z] v2.1.1-dev.1 [2023-05-10T00:19:06.345Z] v2.1.1-dev.2 [2023-05-10T00:19:06.345Z] v2.1.1-dev.3 [2023-05-10T00:19:06.345Z] v2.2.0 [2023-05-10T00:19:06.345Z] v2.2.1-dev.1 [2023-05-10T00:19:06.345Z] v2.2.1-dev.2 [2023-05-10T00:19:06.345Z] v2.2.1-dev.3 [2023-05-10T00:19:06.345Z] v2.2.1-dev.4 [2023-05-10T00:19:06.345Z] v2.2.1-dev.5 [2023-05-10T00:19:06.345Z] v2.2.1-dev.6 [2023-05-10T00:19:06.345Z] v2.2.1-dev.7 [2023-05-10T00:19:06.345Z] v2.3.0 [2023-05-10T00:19:06.345Z] v2.3.0-dev.10 [2023-05-10T00:19:06.345Z] v2.3.0-dev.11 [2023-05-10T00:19:06.345Z] v2.3.0-dev.12 [2023-05-10T00:19:06.345Z] v2.3.0-dev.13 [2023-05-10T00:19:06.345Z] v2.3.0-dev.14 [2023-05-10T00:19:06.345Z] v2.3.0-dev.15 [2023-05-10T00:19:06.345Z] v2.3.0-dev.16 [2023-05-10T00:19:06.345Z] v2.3.0-dev.17 [2023-05-10T00:19:06.345Z] v2.3.0-dev.18 [2023-05-10T00:19:06.345Z] v2.3.0-dev.19 [2023-05-10T00:19:06.345Z] v2.3.0-dev.20 [2023-05-10T00:19:06.345Z] v2.3.0-dev.21 [2023-05-10T00:19:06.345Z] v2.3.0-dev.22 [2023-05-10T00:19:06.345Z] v2.3.0-dev.23 [2023-05-10T00:19:06.345Z] v2.3.0-dev.24 [2023-05-10T00:19:06.345Z] v2.3.0-dev.25 [2023-05-10T00:19:06.345Z] v2.3.0-dev.7 [2023-05-10T00:19:06.345Z] v2.3.0-dev.8 [2023-05-10T00:19:06.345Z] v2.3.0-dev.9 [2023-05-10T00:19:06.345Z] v3.0.0-dev.1 [2023-05-10T00:19:06.345Z] v3.0.0-dev.10 [2023-05-10T00:19:06.345Z] v3.0.0-dev.11 [2023-05-10T00:19:06.345Z] v3.0.0-dev.12 [2023-05-10T00:19:06.345Z] v3.0.0-dev.13 [2023-05-10T00:19:06.345Z] v3.0.0-dev.14 [2023-05-10T00:19:06.345Z] v3.0.0-dev.15 [2023-05-10T00:19:06.345Z] v3.0.0-dev.16 [2023-05-10T00:19:06.345Z] v3.0.0-dev.17 [2023-05-10T00:19:06.345Z] v3.0.0-dev.18 [2023-05-10T00:19:06.345Z] v3.0.0-dev.19 [2023-05-10T00:19:06.345Z] v3.0.0-dev.2 [2023-05-10T00:19:06.345Z] v3.0.0-dev.20 [2023-05-10T00:19:06.345Z] v3.0.0-dev.21 [2023-05-10T00:19:06.345Z] v3.0.0-dev.22 [2023-05-10T00:19:06.345Z] v3.0.0-dev.23 [2023-05-10T00:19:06.345Z] v3.0.0-dev.24 [2023-05-10T00:19:06.345Z] v3.0.0-dev.25 [2023-05-10T00:19:06.345Z] v3.0.0-dev.26 [2023-05-10T00:19:06.345Z] v3.0.0-dev.27 [2023-05-10T00:19:06.345Z] v3.0.0-dev.28 [2023-05-10T00:19:06.345Z] v3.0.0-dev.29 [2023-05-10T00:19:06.345Z] v3.0.0-dev.3 [2023-05-10T00:19:06.345Z] v3.0.0-dev.30 [2023-05-10T00:19:06.345Z] v3.0.0-dev.31 [2023-05-10T00:19:06.345Z] v3.0.0-dev.32 [2023-05-10T00:19:06.345Z] v3.0.0-dev.33 [2023-05-10T00:19:06.345Z] v3.0.0-dev.34 [2023-05-10T00:19:06.345Z] v3.0.0-dev.35 [2023-05-10T00:19:06.345Z] v3.0.0-dev.36 [2023-05-10T00:19:06.345Z] v3.0.0-dev.37 [2023-05-10T00:19:06.345Z] v3.0.0-dev.38 [2023-05-10T00:19:06.345Z] v3.0.0-dev.4 [2023-05-10T00:19:06.345Z] v3.0.0-dev.5 [2023-05-10T00:19:06.345Z] v3.0.0-dev.6 [2023-05-10T00:19:06.345Z] v3.0.0-dev.7 [2023-05-10T00:19:06.345Z] v3.0.0-dev.8 [2023-05-10T00:19:06.345Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-10T00:19:06.631Z] + lftools sign git-tag v3.0.0-dev.38 [2023-05-10T00:19:07.200Z] Signing Git tag with Sigul... [2023-05-10T00:19:07.200Z] Signing v3.0.0-dev.38 [Pipeline] echo [2023-05-10T00:19:07.468Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:19:07.751Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-10T00:19:07.758Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-10T00:19:07.773Z] $ docker stop --time=1 6398caf2cbee9764dcdb16533e779b5675f08409fd5152b28e809242761fe0ea [2023-05-10T00:19:09.042Z] $ docker rm -f --volumes 6398caf2cbee9764dcdb16533e779b5675f08409fd5152b28e809242761fe0ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-10T00:19:09.454Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T00:19:09.454Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:19:09.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:19:09.753Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:19:09.823Z] prd-ubuntu20.04-docker-8c-8g-14832 does not seem to be running inside a container [2023-05-10T00:19:09.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T00:19:10.166Z] $ docker top 47b408606644941453fc9117a89717810a4fde7f5938c28c73d70c059a4fb3e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T00:19:10.249Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T00:19:10.249Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T00:19:10.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T00:19:10.353Z] $ docker exec 47b408606644941453fc9117a89717810a4fde7f5938c28c73d70c059a4fb3e6 ssh-agent [2023-05-10T00:19:10.458Z] SSH_AUTH_SOCK=/tmp/ssh-DYaxjl3ZQRUo/agent.33 [2023-05-10T00:19:10.458Z] SSH_AGENT_PID=39 [2023-05-10T00:19:10.463Z] Running ssh-add (command line suppressed) [2023-05-10T00:19:10.547Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2698105170806968393.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2698105170806968393.key) [2023-05-10T00:19:10.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T00:19:10.851Z] + git semver bump pre [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,012 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,013 [bump_version] DEBUG bumping version:3.0.0-dev.38 on axis:pre with prefix:dev [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,013 [bump_version] DEBUG bumped version:3.0.0-dev.39 [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,013 [write_version] DEBUG write version:3.0.0-dev.39 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,013 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,013 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,015 [execute] INFO git cat-file --batch-check [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,015 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,021 [execute] INFO git cat-file --batch [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T00:19:11.109Z] 2023-05-10 00:19:11,025 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T00:19:11.109Z] 3.0.0-dev.39 [Pipeline] } [2023-05-10T00:19:11.109Z] $ docker exec --env ******** --env ******** 47b408606644941453fc9117a89717810a4fde7f5938c28c73d70c059a4fb3e6 ssh-agent -k [2023-05-10T00:19:11.212Z] unset SSH_AUTH_SOCK; [2023-05-10T00:19:11.212Z] unset SSH_AGENT_PID; [2023-05-10T00:19:11.212Z] echo Agent pid 39 killed; [2023-05-10T00:19:11.228Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T00:19:11.526Z] + git semver [Pipeline] } [2023-05-10T00:19:11.790Z] $ docker stop --time=1 47b408606644941453fc9117a89717810a4fde7f5938c28c73d70c059a4fb3e6 [2023-05-10T00:19:13.036Z] $ docker rm -f --volumes 47b408606644941453fc9117a89717810a4fde7f5938c28c73d70c059a4fb3e6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T00:19:13.383Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T00:19:13.383Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:19:13.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:19:13.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:19:13.758Z] prd-ubuntu20.04-docker-8c-8g-14832 does not seem to be running inside a container [2023-05-10T00:19:13.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T00:19:14.128Z] $ docker top 64e71508fe0865dfd87cf8746dde7b5e5bd969155ca1e688a96e6b818ba1f211 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T00:19:14.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T00:19:14.223Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T00:19:14.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T00:19:14.327Z] $ docker exec 64e71508fe0865dfd87cf8746dde7b5e5bd969155ca1e688a96e6b818ba1f211 ssh-agent [2023-05-10T00:19:14.434Z] SSH_AUTH_SOCK=/tmp/ssh-UKfCVzbYwQli/agent.32 [2023-05-10T00:19:14.434Z] SSH_AGENT_PID=38 [2023-05-10T00:19:14.438Z] Running ssh-add (command line suppressed) [2023-05-10T00:19:14.518Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_380081178617997210.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_380081178617997210.key) [2023-05-10T00:19:14.543Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T00:19:14.833Z] + git semver push [2023-05-10T00:19:15.094Z] 2023-05-10 00:19:14,987 [run_push] DEBUG push [2023-05-10T00:19:15.094Z] 2023-05-10 00:19:14,988 [execute] INFO git cat-file --batch-check [2023-05-10T00:19:15.094Z] 2023-05-10 00:19:14,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T00:19:15.094Z] 2023-05-10 00:19:14,991 [execute] INFO git rev-list 4f42c50a6bf67ca7638d70a573903ed40fa462cb -- [2023-05-10T00:19:15.094Z] 2023-05-10 00:19:14,991 [execute] DEBUG Popen(['git', 'rev-list', '4f42c50a6bf67ca7638d70a573903ed40fa462cb', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T00:19:15.094Z] 2023-05-10 00:19:14,999 [execute] INFO git fetch -v origin [2023-05-10T00:19:15.094Z] 2023-05-10 00:19:14,999 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-10T00:19:15.660Z] 2023-05-10 00:19:15,463 [run_push] DEBUG no remote changes detected [2023-05-10T00:19:15.660Z] 2023-05-10 00:19:15,464 [execute] INFO git push origin semver [2023-05-10T00:19:15.660Z] 2023-05-10 00:19:15,464 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T00:19:16.228Z] 2023-05-10 00:19:16,214 [run_push] DEBUG push all version tags [2023-05-10T00:19:16.228Z] 2023-05-10 00:19:16,214 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-10T00:19:16.228Z] 2023-05-10 00:19:16,215 [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-05-10T00:19:17.284Z] 2023-05-10 00:19:16,952 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T00:19:17.284Z] 3.0.0-dev.39 [Pipeline] } [2023-05-10T00:19:17.317Z] $ docker exec --env ******** --env ******** 64e71508fe0865dfd87cf8746dde7b5e5bd969155ca1e688a96e6b818ba1f211 ssh-agent -k [2023-05-10T00:19:17.399Z] unset SSH_AUTH_SOCK; [2023-05-10T00:19:17.399Z] unset SSH_AGENT_PID; [2023-05-10T00:19:17.399Z] echo Agent pid 38 killed; [2023-05-10T00:19:17.436Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T00:19:17.735Z] + git semver [Pipeline] } [2023-05-10T00:19:18.004Z] $ docker stop --time=1 64e71508fe0865dfd87cf8746dde7b5e5bd969155ca1e688a96e6b818ba1f211 [2023-05-10T00:19:19.239Z] $ docker rm -f --volumes 64e71508fe0865dfd87cf8746dde7b5e5bd969155ca1e688a96e6b818ba1f211 [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-05-10T00:19:19.849Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-10T00:19:19.849Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-10T00:19:19.849Z] total 16 [2023-05-10T00:19:19.849Z] drwxr-xr-x 3 root root 4096 May 10 00:07 . [2023-05-10T00:19:19.849Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 00:19 .. [2023-05-10T00:19:19.849Z] drwxr-xr-x 2 root root 4096 May 10 00:07 cost [2023-05-10T00:19:19.849Z] -rw-r--r-- 1 root root 88 May 10 00:07 cost.csv [2023-05-10T00:19:19.849Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-10T00:19:19.849Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-10T00:19:19.849Z] total 16 [2023-05-10T00:19:19.849Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 00:07 . [2023-05-10T00:19:19.849Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 00:19 .. [2023-05-10T00:19:19.849Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 00:07 cost [2023-05-10T00:19:19.849Z] -rw-r--r-- 1 jenkins jenkins 88 May 10 00:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:19:20.148Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:19:21.009Z] ---> package-listing.sh [2023-05-10T00:19:21.009Z] ++ facter osfamily [2023-05-10T00:19:21.009Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T00:19:21.270Z] + OS_FAMILY=debian [2023-05-10T00:19:21.270Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-10T00:19:21.270Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T00:19:21.270Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T00:19:21.270Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T00:19:21.270Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T00:19:21.270Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-10T00:19:21.270Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T00:19:21.270Z] + case "${OS_FAMILY}" in [2023-05-10T00:19:21.270Z] + dpkg -l [2023-05-10T00:19:21.270Z] + grep '^ii' [2023-05-10T00:19:21.270Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T00:19:21.270Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T00:19:21.270Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T00:19:21.270Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-10T00:19:21.270Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-10T00:19:21.270Z] + 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-05-10T00:19:21.279Z] 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-05-10T00:19:21.601Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:19:22.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T00:19:22.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:19:22.239Z] prd-ubuntu20.04-docker-8c-8g-14832 does not seem to be running inside a container [2023-05-10T00:19:22.264Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T00:19:22.469Z] $ docker top af8a556b87aaff748794649218358a7da1a996a1f8d7e959d976796758b1f3c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T00:19:22.817Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T00:19:23.102Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T00:19:23.388Z] + ls /var/log/sa-host [2023-05-10T00:19:23.388Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T00:19:23.455Z] provisioning config files... [2023-05-10T00:19:23.464Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17365802490728217382tmp [Pipeline] { [Pipeline] echo [2023-05-10T00:19:23.508Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:19:23.790Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T00:19:23.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:19:24.162Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T00:19:24.171Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:19:24.452Z] ---> sudo-logs.sh [2023-05-10T00:19:24.452Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T00:19:24.481Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:19:24.767Z] ---> job-cost.sh [2023-05-10T00:19:24.767Z] lf-activate-venv: SKIPPING [2023-05-10T00:19:24.767Z] DEBUG: total: 0.2199999988079071 [2023-05-10T00:19:24.767Z] INFO: Retrieving Stack Cost... [2023-05-10T00:19:25.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T00:19:25.597Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T00:19:25.610Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:19:25.896Z] ---> logs-deploy.sh [2023-05-10T00:19:25.896Z] lf-activate-venv: SKIPPING [2023-05-10T00:19:25.896Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/104 [2023-05-10T00:19:25.896Z] INFO: archiving workspace using pattern(s): [2023-05-10T00:19:26.836Z] Archives upload complete. [2023-05-10T00:19:26.836Z] INFO: archiving logs to Nexus