Pull request #495 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 5b657589c3d6be08315df630ada3f83e1babe5b7+1035885eab2253e2bed58002dbe5aaa8ab8aecd1 (d87f98913624475117b66d42a6464ea8f7971200) 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-ssh9921429323878832607.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13402345147981536145.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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/PR-495/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/PR-495/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7097059386252637883.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh7736257867704945198.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/PR-495/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/PR-495/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10081034562523081636.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4538 in /w/workspace/xfoundry_device-modbus-go_PR-495 [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/xfoundry_device-modbus-go_PR-495 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/495/head:refs/remotes/origin/PR-495 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 into PR head commit 5b657589c3d6be08315df630ada3f83e1babe5b7 Merge succeeded, producing 5b657589c3d6be08315df630ada3f83e1babe5b7 Checking out Revision 5b657589c3d6be08315df630ada3f83e1babe5b7 (PR-495) > git config core.sparsecheckout # timeout=10 > git checkout -f 5b657589c3d6be08315df630ada3f83e1babe5b7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b657589c3d6be08315df630ada3f83e1babe5b7 # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. > git rev-list --no-walk ba36bba8de2df15c88b0f20de7c574b66f5e4531 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:52:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:52:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:52:06 ========================================================= 07:52:06 EdgeX Global Pipelines Version Info 07:52:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:52:07 ------------------- 07:52:07 stable info: 07:52:07 ------------------- 07:52:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:52:07 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:52:07 Message: update stable to v1.0.253 07:52:08 ------------------- 07:52:08 experimental info: 07:52:08 ------------------- 07:52:08 Commited By: **** collab-it+edgex@linuxfoundation.org 07:52:08 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:52:08 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-495 [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-495 [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-495 [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b657589c3d6be08315df630ada3f83e1babe5b7 [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b65758 [Pipeline] echo 07:52:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:08 provisioning config files... 07:52:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config123796456294788184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:09 ---> docker-login.sh 07:52:09 nexus3.edgexfoundry.org:10001 07:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:09 Configure a credential helper to remove this warning. See 07:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:09 07:52:09 Login Succeeded 07:52:09 nexus3.edgexfoundry.org:10002 07:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:09 Configure a credential helper to remove this warning. See 07:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:09 07:52:09 Login Succeeded 07:52:09 nexus3.edgexfoundry.org:10003 07:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:09 Configure a credential helper to remove this warning. See 07:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:09 07:52:09 Login Succeeded 07:52:09 nexus3.edgexfoundry.org:10004 07:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:09 Configure a credential helper to remove this warning. See 07:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:09 07:52:09 Login Succeeded 07:52:09 docker.io 07:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:10 Configure a credential helper to remove this warning. See 07:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:10 07:52:10 Login Succeeded 07:52:10 ---> docker-login.sh ends [Pipeline] } 07:52:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:52:10 + git rev-list -1 --merges 5b657589c3d6be08315df630ada3f83e1babe5b7~1..5b657589c3d6be08315df630ada3f83e1babe5b7 [Pipeline] echo 07:52:10 -----------> git rev-list -1 --merges 5b657589c3d6be08315df630ada3f83e1babe5b7~1..5b657589c3d6be08315df630ada3f83e1babe5b7 5b657589c3d6be08315df630ada3f83e1babe5b7 [false] [Pipeline] sh 07:52:11 + git log --format=format:%s -1 5b657589c3d6be08315df630ada3f83e1babe5b7 [Pipeline] echo 07:52:11 ========================================================= 07:52:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:52:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:52:11 + git log --format=format:%s -1 5b657589c3d6be08315df630ada3f83e1babe5b7 [Pipeline] echo 07:52:11 [semverPrep] GIT_COMMIT: 5b657589c3d6be08315df630ada3f83e1babe5b7, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 07:52:11 [semverPrep] This is not a build commit. [Pipeline] sh 07:52:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:52:11 + grep -v github /etc/ssh/ssh_known_hosts 07:52:11 + [ -e /tmp/ssh_known_hosts ] 07:52:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:52:11 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 07:52:11 -a /etc/ssh/ssh_known_hosts 07:52:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:52:12 07:52:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:52:12 0.1.4: Pulling from edgex-devops/py-git-semver 07:52:12 b85a868b505f: Pulling fs layer 07:52:12 e2be974225ed: Pulling fs layer 07:52:12 339a4e72a1f5: Pulling fs layer 07:52:12 988bab9f4d93: Pulling fs layer 07:52:12 1469e6f7b9e6: Pulling fs layer 07:52:12 988bab9f4d93: Waiting 07:52:12 eaf3925da568: Pulling fs layer 07:52:12 bab4dde63d76: Pulling fs layer 07:52:12 1469e6f7b9e6: Waiting 07:52:12 bde34c3a00c8: Pulling fs layer 07:52:12 bab4dde63d76: Waiting 07:52:12 b352a97aabf1: Pulling fs layer 07:52:12 bde34c3a00c8: Waiting 07:52:12 4872d77fe225: Pulling fs layer 07:52:12 5851b861e8e6: Pulling fs layer 07:52:12 b352a97aabf1: Waiting 07:52:12 4872d77fe225: Waiting 07:52:12 5851b861e8e6: Waiting 07:52:12 e2be974225ed: Download complete 07:52:12 988bab9f4d93: Verifying Checksum 07:52:12 988bab9f4d93: Download complete 07:52:12 1469e6f7b9e6: Verifying Checksum 07:52:12 1469e6f7b9e6: Download complete 07:52:12 339a4e72a1f5: Verifying Checksum 07:52:12 339a4e72a1f5: Download complete 07:52:12 eaf3925da568: Verifying Checksum 07:52:12 eaf3925da568: Download complete 07:52:12 bde34c3a00c8: Download complete 07:52:12 b352a97aabf1: Verifying Checksum 07:52:12 b352a97aabf1: Download complete 07:52:12 4872d77fe225: Download complete 07:52:12 5851b861e8e6: Verifying Checksum 07:52:12 5851b861e8e6: Download complete 07:52:12 b85a868b505f: Download complete 07:52:13 bab4dde63d76: Verifying Checksum 07:52:13 bab4dde63d76: Download complete 07:52:14 b85a868b505f: Pull complete 07:52:14 e2be974225ed: Pull complete 07:52:14 339a4e72a1f5: Pull complete 07:52:14 988bab9f4d93: Pull complete 07:52:15 1469e6f7b9e6: Pull complete 07:52:15 eaf3925da568: Pull complete 07:52:17 bab4dde63d76: Pull complete 07:52:17 bde34c3a00c8: Pull complete 07:52:17 b352a97aabf1: Pull complete 07:52:17 4872d77fe225: Pull complete 07:52:17 5851b861e8e6: Pull complete 07:52:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:52:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:52:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:17 prd-ubuntu20.04-docker-8c-8g-4538 does not seem to be running inside a container 07:52:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-495 -v /w/workspace/xfoundry_device-modbus-go_PR-495:/w/workspace/xfoundry_device-modbus-go_PR-495:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-495@tmp:/w/workspace/xfoundry_device-modbus-go_PR-495@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:52:20 $ docker top dfca474ee949bf192a81fdb28296ff0c0af5c55d758acc83d68f9e22b40ba58d -eo pid,comm 07:52:20 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). 07:52:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:52:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:20 [ssh-agent] Looking for ssh-agent implementation... 07:52:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:20 $ docker exec dfca474ee949bf192a81fdb28296ff0c0af5c55d758acc83d68f9e22b40ba58d ssh-agent 07:52:20 SSH_AUTH_SOCK=/tmp/ssh-dZ86QyzP2hSz/agent.32 07:52:20 SSH_AGENT_PID=38 07:52:20 Running ssh-add (command line suppressed) 07:52:21 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_2683493181654881840.key (/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_2683493181654881840.key) 07:52:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:21 + git tag --points-at HEAD [Pipeline] } 07:52:21 $ docker exec --env ******** --env ******** dfca474ee949bf192a81fdb28296ff0c0af5c55d758acc83d68f9e22b40ba58d ssh-agent -k 07:52:21 unset SSH_AUTH_SOCK; 07:52:21 unset SSH_AGENT_PID; 07:52:21 echo Agent pid 38 killed; 07:52:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:52:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:21 [ssh-agent] Looking for ssh-agent implementation... 07:52:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:21 $ docker exec dfca474ee949bf192a81fdb28296ff0c0af5c55d758acc83d68f9e22b40ba58d ssh-agent 07:52:21 SSH_AUTH_SOCK=/tmp/ssh-7fsfXFFA7F8n/agent.70 07:52:21 SSH_AGENT_PID=76 07:52:21 Running ssh-add (command line suppressed) 07:52:21 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_9705085829428970282.key (/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_9705085829428970282.key) 07:52:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:22 + git semver init 07:52:22 2023-08-25 07:52:22,353 [run_init] DEBUG init version:0.0.0 force:False 07:52:22 2023-08-25 07:52:22,354 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-495/.semver 07:52:22 2023-08-25 07:52:22,354 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-495/.semver 07:52:22 2023-08-25 07:52:22,354 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-495/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-495, universal_newlines=False, shell=None, istream=None) 07:52:23 2023-08-25 07:52:23,180 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-495/.git/info/exclude 07:52:23 2023-08-25 07:52:23,181 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-495/.semver/PR-495 with force:False 07:52:23 2023-08-25 07:52:23,181 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-495/.semver/PR-495 07:52:23 2023-08-25 07:52:23,186 [execute] INFO git cat-file --batch-check 07:52:23 2023-08-25 07:52:23,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-495/.semver, universal_newlines=False, shell=None, istream=) 07:52:23 2023-08-25 07:52:23,192 [execute] INFO git cat-file --batch 07:52:23 2023-08-25 07:52:23,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-495/.semver, universal_newlines=False, shell=None, istream=) 07:52:23 2023-08-25 07:52:23,197 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-495/.semver/PR-495 07:52:23 0.0.0 [Pipeline] } 07:52:23 $ docker exec --env ******** --env ******** dfca474ee949bf192a81fdb28296ff0c0af5c55d758acc83d68f9e22b40ba58d ssh-agent -k 07:52:23 unset SSH_AUTH_SOCK; 07:52:23 unset SSH_AGENT_PID; 07:52:23 echo Agent pid 76 killed; 07:52:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:52:23 + git semver [Pipeline] } 07:52:24 $ docker stop --time=1 dfca474ee949bf192a81fdb28296ff0c0af5c55d758acc83d68f9e22b40ba58d 07:52:25 $ docker rm -f --volumes dfca474ee949bf192a81fdb28296ff0c0af5c55d758acc83d68f9e22b40ba58d [Pipeline] // withDockerContainer [Pipeline] sh 07:52:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:52:25 Stashed 1 file(s) [Pipeline] echo 07:52:25 [edgeXSemver]: initialized semver on version 0.0.0 [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 07:52:26 provisioning config files... 07:52:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config228882085479568338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:26 ---> docker-login.sh 07:52:26 nexus3.edgexfoundry.org:10001 07:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:26 Configure a credential helper to remove this warning. See 07:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:26 07:52:26 Login Succeeded 07:52:26 nexus3.edgexfoundry.org:10002 07:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:26 Configure a credential helper to remove this warning. See 07:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:26 07:52:26 Login Succeeded 07:52:26 nexus3.edgexfoundry.org:10003 07:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:26 Configure a credential helper to remove this warning. See 07:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:26 07:52:26 Login Succeeded 07:52:26 nexus3.edgexfoundry.org:10004 07:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:26 Configure a credential helper to remove this warning. See 07:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:26 07:52:26 Login Succeeded 07:52:26 docker.io 07:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:26 Configure a credential helper to remove this warning. See 07:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:26 07:52:26 Login Succeeded 07:52:26 ---> docker-login.sh ends [Pipeline] } 07:52:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:52:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:52:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:52:26 ========================================================= 07:52:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:52:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:27 + 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 . 07:52:27 Sending build context to Docker daemon 6.406MB 07:52:27 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:52:27 Step 2/10 : FROM ${BASE} AS builder 07:52:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:52:27 4db1b89c0bd1: Pulling fs layer 07:52:27 6911f1a30b25: Pulling fs layer 07:52:27 e194b8c5c2a9: Pulling fs layer 07:52:27 6863d3e3a2b1: Pulling fs layer 07:52:27 ec0bb842ea78: Pulling fs layer 07:52:27 40a00589a448: Pulling fs layer 07:52:27 6c08303d61cc: Pulling fs layer 07:52:27 798269fcf238: Pulling fs layer 07:52:27 6c08303d61cc: Waiting 07:52:27 40a00589a448: Waiting 07:52:27 798269fcf238: Waiting 07:52:27 ec0bb842ea78: Waiting 07:52:27 6863d3e3a2b1: Waiting 07:52:27 6911f1a30b25: Verifying Checksum 07:52:27 6911f1a30b25: Download complete 07:52:27 ec0bb842ea78: Verifying Checksum 07:52:27 ec0bb842ea78: Download complete 07:52:27 4db1b89c0bd1: Verifying Checksum 07:52:27 4db1b89c0bd1: Download complete 07:52:27 40a00589a448: Verifying Checksum 07:52:27 40a00589a448: Download complete 07:52:27 4db1b89c0bd1: Pull complete 07:52:27 6911f1a30b25: Pull complete 07:52:27 798269fcf238: Verifying Checksum 07:52:27 798269fcf238: Download complete 07:52:28 e194b8c5c2a9: Verifying Checksum 07:52:28 e194b8c5c2a9: Download complete 07:52:28 6c08303d61cc: Verifying Checksum 07:52:28 6c08303d61cc: Download complete 07:52:31 e194b8c5c2a9: Pull complete 07:52:31 6863d3e3a2b1: Pull complete 07:52:31 ec0bb842ea78: Pull complete 07:52:31 40a00589a448: Pull complete 07:52:34 6c08303d61cc: Pull complete 07:52:35 798269fcf238: Pull complete 07:52:35 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:52:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:52:35 ---> ec979cd7f677 07:52:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:52:40 ---> Running in d63cd325b668 07:52:40 Removing intermediate container d63cd325b668 07:52:40 ---> 4488e9e77906 07:52:40 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:52:40 ---> Running in bcb6c3f96fe0 07:52:40 Removing intermediate container bcb6c3f96fe0 07:52:40 ---> e45d83e54fae 07:52:40 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:52:40 ---> Running in 9a38d2310f3a 07:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:52:40 (1/8) Installing openssh-keygen (9.1_p1-r4) 07:52:40 (2/8) Installing libedit (20221030.3.1-r0) 07:52:40 (3/8) Installing openssh-client-common (9.1_p1-r4) 07:52:40 (4/8) Installing openssh-client-default (9.1_p1-r4) 07:52:40 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 07:52:40 (6/8) Installing openssh-server-common (9.1_p1-r4) 07:52:40 (7/8) Installing openssh-server (9.1_p1-r4) 07:52:40 (8/8) Installing openssh (9.1_p1-r4) 07:52:40 Executing busybox-1.35.0-r29.trigger 07:52:40 OK: 270 MiB in 61 packages 07:52:40 Still waiting to schedule task 07:52:40 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:52:41 Removing intermediate container 9a38d2310f3a 07:52:41 ---> 7ac391016be5 07:52:41 Step 6/10 : WORKDIR /device-modbus-go 07:52:41 ---> Running in 939355eacf2a 07:52:41 Removing intermediate container 939355eacf2a 07:52:41 ---> a362d589de28 07:52:41 Step 7/10 : COPY go.mod vendor* ./ 07:52:41 ---> 63f2adba7c53 07:52:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:41 ---> Running in e9ed38debf48 07:53:13 Removing intermediate container e9ed38debf48 07:53:13 ---> 6a83519b86e9 07:53:13 Step 9/10 : COPY . . 07:53:13 ---> af4965ba6365 07:53:13 Step 10/10 : RUN ${MAKE} 07:53:13 ---> Running in 109926374dc9 07:53:13 noop 07:53:13 Removing intermediate container 109926374dc9 07:53:13 ---> b79fcd071062 07:53:13 Successfully built b79fcd071062 07:53:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:13 + docker inspect -f . ci-base-image-x86_64 07:53:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:13 prd-ubuntu20.04-docker-8c-8g-4538 does not seem to be running inside a container 07:53:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-495 -v /w/workspace/xfoundry_device-modbus-go_PR-495:/w/workspace/xfoundry_device-modbus-go_PR-495:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-495@tmp:/w/workspace/xfoundry_device-modbus-go_PR-495@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:53:14 $ docker top 6115dbc15a38bd8a882c745129388ab18de00320abd79c6539114d8ef20a46b0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:14 + go version 07:53:14 go version go1.20.6 linux/amd64 [Pipeline] } 07:53:14 $ docker stop --time=1 6115dbc15a38bd8a882c745129388ab18de00320abd79c6539114d8ef20a46b0 07:53:16 $ docker rm -f --volumes 6115dbc15a38bd8a882c745129388ab18de00320abd79c6539114d8ef20a46b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:16 + docker inspect -f . ci-base-image-x86_64 07:53:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:16 prd-ubuntu20.04-docker-8c-8g-4538 does not seem to be running inside a container 07:53:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-495 -v /w/workspace/xfoundry_device-modbus-go_PR-495:/w/workspace/xfoundry_device-modbus-go_PR-495:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-495@tmp:/w/workspace/xfoundry_device-modbus-go_PR-495@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:53:16 $ docker top 6859c3c1f90b438e434f0105fda023c4daec34946f63fa81b0f18858efe331bd -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:17 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-495 [Pipeline] fileExists [Pipeline] sh 07:53:17 + make test 07:53:17 go test ./... -coverprofile=coverage.out 07:53:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:53:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:53:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.9% of statements 07:53:39 go vet ./... 07:53:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:53:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:53:41 ./bin/test-attribution-txt.sh [Pipeline] echo 07:53:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:53:41 $ docker stop --time=1 6859c3c1f90b438e434f0105fda023c4daec34946f63fa81b0f18858efe331bd 07:53:45 $ docker rm -f --volumes 6859c3c1f90b438e434f0105fda023c4daec34946f63fa81b0f18858efe331bd [Pipeline] // withDockerContainer [Pipeline] sh 07:53:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:53:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:53:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:53:46 + ls -al . 07:53:46 total 192 07:53:46 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:53 . 07:53:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:52 .. 07:53:46 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 07:52 .dockerignore 07:53:46 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:52 .git 07:53:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:52 .github 07:53:46 -rw-rw-r-- 1 jenkins jenkins 331 Aug 25 07:52 .gitignore 07:53:46 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:52 .golangci.yml 07:53:46 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:52 .semver 07:53:46 -rw-rw-r-- 1 jenkins jenkins 11101 Aug 25 07:52 Attribution.txt 07:53:46 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 25 07:52 CHANGELOG.md 07:53:46 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 25 07:52 Dockerfile 07:53:46 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:52 GOVERNANCE.md 07:53:46 -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 07:52 Jenkinsfile 07:53:46 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:52 LICENSE 07:53:46 -rw-rw-r-- 1 jenkins jenkins 1936 Aug 25 07:52 Makefile 07:53:46 -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 07:52 OWNERS.md 07:53:46 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 25 07:52 README.md 07:53:46 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:52 VERSION 07:53:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:52 bin 07:53:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:52 cmd 07:53:46 -rw-r--r-- 1 jenkins jenkins 24334 Aug 25 07:53 coverage.out 07:53:46 -rw-rw-r-- 1 jenkins jenkins 3940 Aug 25 07:52 go.mod 07:53:46 -rw-rw-r-- 1 jenkins jenkins 34434 Aug 25 07:52 go.sum 07:53:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:52 internal 07:53:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:52 simulator 07:53:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:52 snap 07:53:46 -rw-rw-r-- 1 jenkins jenkins 229 Aug 25 07:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:47 + 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=5b657589c3d6be08315df630ada3f83e1babe5b7 --label arch=amd64 --label version=0.0.0 . 07:53:47 Sending build context to Docker daemon 6.431MB 07:53:47 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:53:47 Step 2/22 : FROM ${BASE} AS builder 07:53:47 ---> b79fcd071062 07:53:47 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:53:47 ---> Running in 6a6084f1505c 07:53:47 Removing intermediate container 6a6084f1505c 07:53:47 ---> 83b745e6cfbb 07:53:47 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:53:47 ---> Running in ba2ba7deac5a 07:53:47 Removing intermediate container ba2ba7deac5a 07:53:47 ---> 4c8e8ffebcea 07:53:47 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:53:47 ---> Running in 2560cd9fd663 07:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:53:48 OK: 270 MiB in 61 packages 07:53:48 Removing intermediate container 2560cd9fd663 07:53:48 ---> 520bf901b60b 07:53:48 Step 6/22 : WORKDIR /device-modbus-go 07:53:48 ---> Running in 57b2561cd348 07:53:48 Removing intermediate container 57b2561cd348 07:53:48 ---> 2e0b8fe15a44 07:53:48 Step 7/22 : COPY go.mod vendor* ./ 07:53:48 ---> 23375acb9346 07:53:48 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:53:48 ---> Running in a5889faf2ca2 07:53:49 Removing intermediate container a5889faf2ca2 07:53:49 ---> 9c567ce75916 07:53:49 Step 9/22 : COPY . . 07:53:49 ---> 4cf39f53af9d 07:53:49 Step 10/22 : RUN ${MAKE} 07:53:49 ---> Running in 5c22f0fd5162 07:53:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:54:11 Removing intermediate container 5c22f0fd5162 07:54:11 ---> 7da633240593 07:54:11 Step 11/22 : FROM alpine:3.17 07:54:11 3.17: Pulling from library/alpine 07:54:11 9398808236ff: Pulling fs layer 07:54:11 9398808236ff: Download complete 07:54:11 9398808236ff: Pull complete 07:54:11 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:54:11 Status: Downloaded newer image for alpine:3.17 07:54:11 ---> 1e0b8b5322fc 07:54:11 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:54:11 ---> Running in a041e240a508 07:54:11 Removing intermediate container a041e240a508 07:54:11 ---> a410848bd19d 07:54:11 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:54:11 ---> Running in 135098a14b80 07:54:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:54:12 (1/1) Installing dumb-init (1.2.5-r2) 07:54:12 Executing busybox-1.35.0-r29.trigger 07:54:12 OK: 7 MiB in 16 packages 07:54:12 Removing intermediate container 135098a14b80 07:54:12 ---> 26b63d9d4ade 07:54:12 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:54:13 ---> 83de715dadc3 07:54:13 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:54:13 ---> d512d6355e69 07:54:13 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:54:13 ---> 6dcc9c9b3f4c 07:54:13 Step 17/22 : EXPOSE 59901 07:54:13 ---> Running in 1cf7810a2418 07:54:13 Removing intermediate container 1cf7810a2418 07:54:13 ---> be32f8e2778a 07:54:13 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:54:13 ---> Running in 3b8049880e98 07:54:13 Removing intermediate container 3b8049880e98 07:54:13 ---> edf6b999f064 07:54:13 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:54:13 ---> Running in 82ea53f054eb 07:54:14 Removing intermediate container 82ea53f054eb 07:54:14 ---> b221458dd0af 07:54:14 Step 20/22 : LABEL arch=amd64 07:54:14 ---> Running in 77d68d9f2b18 07:54:14 Removing intermediate container 77d68d9f2b18 07:54:14 ---> cbc2cfd8fc7b 07:54:14 Step 21/22 : LABEL git_sha=5b657589c3d6be08315df630ada3f83e1babe5b7 07:54:14 ---> Running in 23f00c7c432d 07:54:14 Removing intermediate container 23f00c7c432d 07:54:14 ---> de585535610f 07:54:14 Step 22/22 : LABEL version=0.0.0 07:54:14 ---> Running in 7ac9a0d1d429 07:54:14 Removing intermediate container 7ac9a0d1d429 07:54:14 ---> a62b968fbe05 07:54:14 [Warning] One or more build-args [ARCH] were not consumed 07:54:14 Successfully built a62b968fbe05 07:54:14 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 07:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:54:14 07:54:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:54:15 latest: Pulling from edgex-lftools-log-publisher 07:54:15 5eb5b503b376: Pulling fs layer 07:54:15 5c69ac0246d0: Pulling fs layer 07:54:15 ec43610c2a17: Pulling fs layer 07:54:15 3a2ae6a8a46f: Pulling fs layer 07:54:15 33b1e0a273af: Pulling fs layer 07:54:15 5d3b04190fa2: Pulling fs layer 07:54:15 2f39f015ded8: Pulling fs layer 07:54:15 3a2ae6a8a46f: Waiting 07:54:15 33b1e0a273af: Waiting 07:54:15 2f39f015ded8: Waiting 07:54:15 5d3b04190fa2: Waiting 07:54:15 5c69ac0246d0: Download complete 07:54:15 3a2ae6a8a46f: Verifying Checksum 07:54:15 3a2ae6a8a46f: Download complete 07:54:15 33b1e0a273af: Verifying Checksum 07:54:15 33b1e0a273af: Download complete 07:54:15 5d3b04190fa2: Verifying Checksum 07:54:15 5d3b04190fa2: Download complete 07:54:15 ec43610c2a17: Verifying Checksum 07:54:15 ec43610c2a17: Download complete 07:54:15 5eb5b503b376: Verifying Checksum 07:54:15 5eb5b503b376: Download complete 07:54:16 2f39f015ded8: Verifying Checksum 07:54:16 2f39f015ded8: Download complete 07:54:16 5eb5b503b376: Pull complete 07:54:16 5c69ac0246d0: Pull complete 07:54:17 ec43610c2a17: Pull complete 07:54:17 3a2ae6a8a46f: Pull complete 07:54:17 33b1e0a273af: Pull complete 07:54:17 5d3b04190fa2: Pull complete 07:54:21 2f39f015ded8: Pull complete 07:54:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:54:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:54:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:21 prd-ubuntu20.04-docker-8c-8g-4538 does not seem to be running inside a container 07:54:21 $ 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/xfoundry_device-modbus-go_PR-495 -v /w/workspace/xfoundry_device-modbus-go_PR-495:/w/workspace/xfoundry_device-modbus-go_PR-495:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-495@tmp:/w/workspace/xfoundry_device-modbus-go_PR-495@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:54:27 $ docker top 74d6e4e477cdb803de66e7563a0854e1bb1be3ea159c226ef950c2e7a38ac60a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:54:27 ---> job-cost.sh 07:54:27 lf-activate-venv: SKIPPING 07:54:27 INFO: No Stack... 07:54:27 INFO: Retrieving Pricing Info for: v3-standard-8 07:54:28 INFO: Archiving Costs [Pipeline] sh 07:54:28 + cat /w/workspace/xfoundry_device-modbus-go_PR-495/archives/cost.csv 07:54:28 + cut -d, -f6 [Pipeline] lock 07:54:28 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-495-3-stack-cost] 07:54:28 Resource [jenkins-edgexfoundry-device-modbus-go-PR-495-3-stack-cost] did not exist. Created. 07:54:28 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-495-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:54:29 + echo total: 0.2199999988079071 [Pipeline] stash 07:54:29 Stashed 1 file(s) [Pipeline] } 07:54:29 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-495-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:54:29 $ docker stop --time=1 74d6e4e477cdb803de66e7563a0854e1bb1be3ea159c226ef950c2e7a38ac60a 07:54:30 $ docker rm -f --volumes 74d6e4e477cdb803de66e7563a0854e1bb1be3ea159c226ef950c2e7a38ac60a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:54:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4541 in /w/workspace/xfoundry_device-modbus-go_PR-495 [Pipeline] { [Pipeline] ws 07:54:39 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 07:54:39 Selected Git installation does not exist. Using Default 07:54:39 The recommended git tool is: NONE 07:54:45 using credential edgex-jenkins-ssh 07:54:45 Cloning the remote Git repository 07:54:45 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:54:46 > git init /w/workspace/device-modbus-go/3 # timeout=10 07:54:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:54:46 > git --version # timeout=10 07:54:46 > git --version # 'git version 2.25.1' 07:54:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:54:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:54:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:54:49 Merging remotes/origin/main commit 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 into PR head commit 5b657589c3d6be08315df630ada3f83e1babe5b7 07:54:49 Merge succeeded, producing 5b657589c3d6be08315df630ada3f83e1babe5b7 07:54:49 Checking out Revision 5b657589c3d6be08315df630ada3f83e1babe5b7 (PR-495) 07:54:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:54:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:54:48 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/495/head:refs/remotes/origin/PR-495 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:54:49 > git config core.sparsecheckout # timeout=10 07:54:49 > git checkout -f 5b657589c3d6be08315df630ada3f83e1babe5b7 # timeout=10 07:54:49 > git remote # timeout=10 07:54:49 > git config --get remote.origin.url # timeout=10 07:54:49 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:49 > git merge 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 # timeout=10 07:54:49 > git rev-parse HEAD^{commit} # timeout=10 07:54:49 > git config core.sparsecheckout # timeout=10 07:54:49 > git checkout -f 5b657589c3d6be08315df630ada3f83e1babe5b7 # timeout=10 07:54:53 Commit message: "build: move SDK to v3.1.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:54:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:54:54 % Total % Received % Xferd Average Speed Time Time Time Current 07:54:54 Dload Upload Total Spent Left Speed 07:54:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 07:54:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:54:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:54:55 + sudo tee /etc/docker/daemon.new 07:54:55 { 07:54:55 "registry-mirrors": [ 07:54:55 "https://nexus3.edgexfoundry.org:10001" 07:54:55 ], 07:54:55 "bip": "10.250.0.254/24", 07:54:55 "hosts": [ 07:54:55 "tcp://0.0.0.0:5555", 07:54:55 "unix:///var/run/docker.sock" 07:54:55 ], 07:54:55 "mtu": 1458, 07:54:55 "selinux-enabled": true, 07:54:55 "seccomp-profile": "/etc/docker/seccomp.json" 07:54:55 } [Pipeline] sh 07:54:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:54:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:55:14 provisioning config files... 07:55:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config6102083114512110045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:15 ---> docker-login.sh 07:55:15 nexus3.edgexfoundry.org:10001 07:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:15 Configure a credential helper to remove this warning. See 07:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:15 07:55:15 Login Succeeded 07:55:15 nexus3.edgexfoundry.org:10002 07:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:16 Configure a credential helper to remove this warning. See 07:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:16 07:55:16 Login Succeeded 07:55:16 nexus3.edgexfoundry.org:10003 07:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:16 Configure a credential helper to remove this warning. See 07:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:16 07:55:16 Login Succeeded 07:55:16 nexus3.edgexfoundry.org:10004 07:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:17 Configure a credential helper to remove this warning. See 07:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:17 07:55:17 Login Succeeded 07:55:17 docker.io 07:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:17 Configure a credential helper to remove this warning. See 07:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:17 07:55:17 Login Succeeded 07:55:17 ---> docker-login.sh ends [Pipeline] } 07:55:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:55:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:55:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:55:18 ========================================================= 07:55:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:55:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:18 + 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 . 07:55:18 Sending build context to Docker daemon 3.334MB 07:55:18 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:55:18 Step 2/10 : FROM ${BASE} AS builder 07:55:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:55:18 edb6bdbacee9: Pulling fs layer 07:55:18 5f9638ab2659: Pulling fs layer 07:55:18 8d51d6327a98: Pulling fs layer 07:55:18 8b374f2dd631: Pulling fs layer 07:55:18 ec14aa9079de: Pulling fs layer 07:55:18 2f466654f4bb: Pulling fs layer 07:55:18 554e91adad29: Pulling fs layer 07:55:18 ec14aa9079de: Waiting 07:55:18 2f466654f4bb: Waiting 07:55:18 554e91adad29: Waiting 07:55:18 8b374f2dd631: Waiting 07:55:18 5f9638ab2659: Verifying Checksum 07:55:18 5f9638ab2659: Download complete 07:55:18 8b374f2dd631: Verifying Checksum 07:55:18 8b374f2dd631: Download complete 07:55:18 ec14aa9079de: Download complete 07:55:18 edb6bdbacee9: Verifying Checksum 07:55:18 edb6bdbacee9: Download complete 07:55:20 edb6bdbacee9: Pull complete 07:55:20 554e91adad29: Verifying Checksum 07:55:20 554e91adad29: Download complete 07:55:21 5f9638ab2659: Pull complete 07:55:22 8d51d6327a98: Verifying Checksum 07:55:22 8d51d6327a98: Download complete 07:55:22 2f466654f4bb: Verifying Checksum 07:55:22 2f466654f4bb: Download complete 07:55:34 8d51d6327a98: Pull complete 07:55:34 8b374f2dd631: Pull complete 07:55:34 ec14aa9079de: Pull complete 07:55:44 2f466654f4bb: Pull complete 07:55:45 554e91adad29: Pull complete 07:55:45 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 07:55:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:55:45 ---> 1e15ea492957 07:55:45 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:55:47 ---> Running in 0efcd8cce302 07:55:47 Removing intermediate container 0efcd8cce302 07:55:47 ---> c4a33db8c45d 07:55:47 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:55:47 ---> Running in 07fc2707e327 07:55:48 Removing intermediate container 07fc2707e327 07:55:48 ---> e8b7fccfd91d 07:55:48 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:55:48 ---> Running in 878234c3bbfe 07:55:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:55:51 (1/8) Installing openssh-keygen (9.1_p1-r4) 07:55:51 (2/8) Installing libedit (20221030.3.1-r0) 07:55:51 (3/8) Installing openssh-client-common (9.1_p1-r4) 07:55:51 (4/8) Installing openssh-client-default (9.1_p1-r4) 07:55:51 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 07:55:51 (6/8) Installing openssh-server-common (9.1_p1-r4) 07:55:51 (7/8) Installing openssh-server (9.1_p1-r4) 07:55:51 (8/8) Installing openssh (9.1_p1-r4) 07:55:51 Executing busybox-1.35.0-r29.trigger 07:55:51 OK: 270 MiB in 61 packages 07:55:53 Removing intermediate container 878234c3bbfe 07:55:53 ---> 573014210190 07:55:53 Step 6/10 : WORKDIR /device-modbus-go 07:55:53 ---> Running in ce27ed1bd10a 07:55:53 Removing intermediate container ce27ed1bd10a 07:55:53 ---> 6c6ac7024e76 07:55:53 Step 7/10 : COPY go.mod vendor* ./ 07:55:56 ---> 2ea3d51c8ac1 07:55:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:55:56 ---> Running in 41eaf702fe91 07:57:18 Removing intermediate container 41eaf702fe91 07:57:18 ---> 11849b746fab 07:57:18 Step 9/10 : COPY . . 07:57:18 ---> 2b6fd7407b27 07:57:18 Step 10/10 : RUN ${MAKE} 07:57:18 ---> Running in d35fbc84f880 07:57:18 noop 07:57:18 Removing intermediate container d35fbc84f880 07:57:18 ---> ac62ac6ce8a9 07:57:18 Successfully built ac62ac6ce8a9 07:57:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:18 + docker inspect -f . ci-base-image-arm64 07:57:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:18 prd-ubuntu20.04-docker-arm64-4c-16g-4541 does not seem to be running inside a container 07:57:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:57:20 $ docker top 2edf6da23ecf7b0a6d01cff0b626698289b87643057e0053a3d4d019871dd492 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:21 + go version 07:57:21 go version go1.20.6 linux/arm64 [Pipeline] } 07:57:21 $ docker stop --time=1 2edf6da23ecf7b0a6d01cff0b626698289b87643057e0053a3d4d019871dd492 07:57:22 $ docker rm -f --volumes 2edf6da23ecf7b0a6d01cff0b626698289b87643057e0053a3d4d019871dd492 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:23 + docker inspect -f . ci-base-image-arm64 07:57:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:23 prd-ubuntu20.04-docker-arm64-4c-16g-4541 does not seem to be running inside a container 07:57:23 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:57:25 $ docker top 8b658b36bff01d7aa60d194e83ab791506f8928cb8d207852e216261f4922877 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:26 + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh 07:57:26 + make test 07:57:26 go test ./... -coverprofile=coverage.out 07:58:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:00:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 08:00:27 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.080s coverage: 47.9% of statements 08:00:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:00:27 go vet ./... 08:00:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:00:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:00:54 ./bin/test-attribution-txt.sh [Pipeline] echo 08:00:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:00:54 $ docker stop --time=1 8b658b36bff01d7aa60d194e83ab791506f8928cb8d207852e216261f4922877 08:00:56 $ docker rm -f --volumes 8b658b36bff01d7aa60d194e83ab791506f8928cb8d207852e216261f4922877 [Pipeline] // withDockerContainer [Pipeline] sh 08:00:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:00:57 Warning: overwriting stash ‘coverage-report’ 08:00:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:00:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:00:58 + ls -al . 08:00:58 total 188 08:00:58 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 07:57 . 08:00:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:54 .. 08:00:58 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 07:54 .dockerignore 08:00:58 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:54 .git 08:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:54 .github 08:00:58 -rw-rw-r-- 1 jenkins jenkins 331 Aug 25 07:54 .gitignore 08:00:58 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:54 .golangci.yml 08:00:58 -rw-rw-r-- 1 jenkins jenkins 11101 Aug 25 07:54 Attribution.txt 08:00:58 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 25 07:54 CHANGELOG.md 08:00:58 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 25 07:54 Dockerfile 08:00:58 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:54 GOVERNANCE.md 08:00:58 -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 07:54 Jenkinsfile 08:00:58 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:54 LICENSE 08:00:58 -rw-rw-r-- 1 jenkins jenkins 1936 Aug 25 07:54 Makefile 08:00:58 -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 07:54 OWNERS.md 08:00:58 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 25 07:54 README.md 08:00:58 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:52 VERSION 08:00:58 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:54 bin 08:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:54 cmd 08:00:58 -rw-r--r-- 1 jenkins jenkins 24334 Aug 25 08:00 coverage.out 08:00:58 -rw-rw-r-- 1 jenkins jenkins 3940 Aug 25 07:54 go.mod 08:00:58 -rw-rw-r-- 1 jenkins jenkins 34434 Aug 25 07:54 go.sum 08:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:54 internal 08:00:58 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:54 simulator 08:00:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:54 snap 08:00:58 -rw-rw-r-- 1 jenkins jenkins 229 Aug 25 07:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:59 + 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=5b657589c3d6be08315df630ada3f83e1babe5b7 --label arch=arm64 --label version=0.0.0 . 08:00:59 Sending build context to Docker daemon 3.359MB 08:00:59 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 08:00:59 Step 2/22 : FROM ${BASE} AS builder 08:00:59 ---> ac62ac6ce8a9 08:00:59 Step 3/22 : ARG ADD_BUILD_TAGS="" 08:00:59 ---> Running in 493f3edcc29e 08:00:59 Removing intermediate container 493f3edcc29e 08:00:59 ---> e8b54542b6d4 08:00:59 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:00:59 ---> Running in beda9ce68341 08:01:00 Removing intermediate container beda9ce68341 08:01:00 ---> 863eefe322fd 08:01:00 Step 5/22 : RUN apk add --update --no-cache make git openssh 08:01:00 ---> Running in 292b463477d8 08:01:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:01:03 OK: 270 MiB in 61 packages 08:01:04 Removing intermediate container 292b463477d8 08:01:04 ---> 14b265162790 08:01:04 Step 6/22 : WORKDIR /device-modbus-go 08:01:04 ---> Running in b15315ec47f6 08:01:04 Removing intermediate container b15315ec47f6 08:01:04 ---> f63b8b48ff76 08:01:04 Step 7/22 : COPY go.mod vendor* ./ 08:01:06 ---> f1df22e53c7a 08:01:06 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:01:06 ---> Running in 94f0fee1c9ba 08:01:08 Removing intermediate container 94f0fee1c9ba 08:01:08 ---> 23d38c222299 08:01:08 Step 9/22 : COPY . . 08:01:09 ---> efab5283998c 08:01:09 Step 10/22 : RUN ${MAKE} 08:01:09 ---> Running in c515691500aa 08:01:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 08:03:47 Removing intermediate container c515691500aa 08:03:47 ---> 477313f49cb2 08:03:47 Step 11/22 : FROM alpine:3.17 08:03:47 3.17: Pulling from library/alpine 08:03:47 4060ece20d7a: Pulling fs layer 08:03:47 4060ece20d7a: Verifying Checksum 08:03:47 4060ece20d7a: Download complete 08:03:47 4060ece20d7a: Pull complete 08:03:47 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 08:03:47 Status: Downloaded newer image for alpine:3.17 08:03:47 ---> 8650cd65339b 08:03:47 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 08:03:47 ---> Running in 67a8eb163a24 08:03:47 Removing intermediate container 67a8eb163a24 08:03:47 ---> df3f5f26e9ff 08:03:47 Step 13/22 : RUN apk add --update --no-cache dumb-init 08:03:47 ---> Running in c2769497f005 08:03:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:03:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:03:47 (1/1) Installing dumb-init (1.2.5-r2) 08:03:47 Executing busybox-1.35.0-r29.trigger 08:03:47 OK: 8 MiB in 16 packages 08:03:47 Removing intermediate container c2769497f005 08:03:47 ---> 65028fd37b34 08:03:47 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 08:03:47 ---> a7c1d9e1ec93 08:03:47 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 08:03:47 ---> 67e1c91894c4 08:03:47 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:03:47 ---> 1bd18fc837c3 08:03:47 Step 17/22 : EXPOSE 59901 08:03:47 ---> Running in 8102d8999f9b 08:03:47 Removing intermediate container 8102d8999f9b 08:03:47 ---> 5475092f5c05 08:03:47 Step 18/22 : ENTRYPOINT ["/device-modbus"] 08:03:47 ---> Running in 8b5b77602f7c 08:03:47 Removing intermediate container 8b5b77602f7c 08:03:47 ---> 4ecbfea6fa02 08:03:47 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:03:47 ---> Running in eeee390641da 08:03:47 Removing intermediate container eeee390641da 08:03:47 ---> 872b1dfb4b90 08:03:47 Step 20/22 : LABEL arch=arm64 08:03:47 ---> Running in 03c3d41b993f 08:03:47 Removing intermediate container 03c3d41b993f 08:03:47 ---> b83c64ab652f 08:03:47 Step 21/22 : LABEL git_sha=5b657589c3d6be08315df630ada3f83e1babe5b7 08:03:47 ---> Running in a983804a956f 08:03:47 Removing intermediate container a983804a956f 08:03:47 ---> 6f8b62b4af6f 08:03:47 Step 22/22 : LABEL version=0.0.0 08:03:47 ---> Running in 52332c19042e 08:03:47 Removing intermediate container 52332c19042e 08:03:47 ---> a0978ba7ef99 08:03:47 [Warning] One or more build-args [ARCH] were not consumed 08:03:47 Successfully built a0978ba7ef99 08:03:47 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:03:47 08:03:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:03:48 arm64: Pulling from edgex-lftools-log-publisher 08:03:48 8998bd30e6a1: Pulling fs layer 08:03:48 04944245beec: Pulling fs layer 08:03:48 699f458cf7ca: Pulling fs layer 08:03:48 765212b225bb: Pulling fs layer 08:03:48 f23df028b6ca: Pulling fs layer 08:03:48 d65c8cfc05b1: Pulling fs layer 08:03:48 2437ff75d9bd: Pulling fs layer 08:03:48 765212b225bb: Waiting 08:03:48 f23df028b6ca: Waiting 08:03:48 d65c8cfc05b1: Waiting 08:03:48 04944245beec: Verifying Checksum 08:03:48 04944245beec: Download complete 08:03:48 765212b225bb: Verifying Checksum 08:03:48 765212b225bb: Download complete 08:03:48 f23df028b6ca: Download complete 08:03:48 d65c8cfc05b1: Verifying Checksum 08:03:48 d65c8cfc05b1: Download complete 08:03:48 699f458cf7ca: Verifying Checksum 08:03:48 699f458cf7ca: Download complete 08:03:49 8998bd30e6a1: Verifying Checksum 08:03:49 8998bd30e6a1: Download complete 08:03:51 2437ff75d9bd: Verifying Checksum 08:03:51 2437ff75d9bd: Download complete 08:03:53 8998bd30e6a1: Pull complete 08:03:53 04944245beec: Pull complete 08:03:55 699f458cf7ca: Pull complete 08:03:55 765212b225bb: Pull complete 08:03:55 f23df028b6ca: Pull complete 08:03:55 d65c8cfc05b1: Pull complete 08:04:10 2437ff75d9bd: Pull complete 08:04:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:04:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:11 prd-ubuntu20.04-docker-arm64-4c-16g-4541 does not seem to be running inside a container 08:04:11 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:04:13 $ docker top e30c6b126cc90dfd1d18ab196583f2f64b0b7a2bf7e500102d379b8c08978ee9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:14 ---> job-cost.sh 08:04:14 lf-activate-venv: SKIPPING 08:04:14 INFO: No Stack... 08:04:15 INFO: Retrieving Pricing Info for: v3-standard-4 08:04:15 INFO: Archiving Costs [Pipeline] sh 08:04:16 + cut -d, -f6 08:04:16 + cat /w/workspace/device-modbus-go/3/archives/cost.csv [Pipeline] lock 08:04:16 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-495-3-stack-cost] 08:04:16 Resource [jenkins-edgexfoundry-device-modbus-go-PR-495-3-stack-cost] did not exist. Created. 08:04:16 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-495-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:04:16 /w/workspace/device-modbus-go/3@tmp/durable-db3ae91e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:04:17 + echo total: 0.10999999940395355 [Pipeline] stash 08:04:17 Warning: overwriting stash ‘stack-cost’ 08:04:17 Stashed 1 file(s) [Pipeline] } 08:04:17 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-495-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:04:17 $ docker stop --time=1 e30c6b126cc90dfd1d18ab196583f2f64b0b7a2bf7e500102d379b8c08978ee9 08:04:19 $ docker rm -f --volumes e30c6b126cc90dfd1d18ab196583f2f64b0b7a2bf7e500102d379b8c08978ee9 [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 08:04:19 provisioning config files... 08:04:19 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config2113088585186933523tmp [Pipeline] { [Pipeline] sh 08:04:19 + set +x 08:04:19 + curl -s https://codecov.io/bash 08:04:19 + bash -s -- 08:04:19 08:04:19 _____ _ 08:04:19 / ____| | | 08:04:19 | | ___ __| | ___ ___ _____ __ 08:04:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:04:19 | |___| (_) | (_| | __/ (_| (_) \ V / 08:04:19 \_____\___/ \__,_|\___|\___\___/ \_/ 08:04:19 Bash-1.0.6 08:04:19 08:04:19 08:04:19 ==> git version 2.25.1 found 08:04:19 ==> 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 08:04:19 Release-Date: 2020-01-08 08:04:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:04:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:04:19 ==> Jenkins CI detected. 08:04:19 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-495 08:04:19 project root: . 08:04:19 --> token set from env 08:04:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:04:19 ==> Running gcov in . (disable via -X gcov) 08:04:19 ==> Python coveragepy not found 08:04:19 ==> Searching for coverage reports in: 08:04:19 + . 08:04:19 -> Found 1 reports 08:04:19 ==> Detecting git/mercurial file structure 08:04:20 ==> Reading reports 08:04:20 + ./coverage.out bytes=24334 08:04:20 ==> Appending adjustments 08:04:20 https://docs.codecov.io/docs/fixing-reports 08:04:20 + Found adjustments 08:04:20 ==> Gzipping contents 08:04:20 4.0K /tmp/codecov.JPvkTV.gz 08:04:20 ==> Uploading reports 08:04:20 url: https://codecov.io 08:04:20 query: branch=PR-495&commit=5b657589c3d6be08315df630ada3f83e1babe5b7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-495%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=495&job=&cmd_args= 08:04:20 -> Pinging Codecov 08:04:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-495&commit=5b657589c3d6be08315df630ada3f83e1babe5b7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-495%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=495&job=&cmd_args= 08:04:20 -> Uploading to 08:04:20 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/55DBCA73C666E3227836607328DD7E49/5b657589c3d6be08315df630ada3f83e1babe5b7/7e404f27-1f4f-4b0d-a9d9-547a8927eed0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T080420Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d221af389166590fb96fa142b4c7729904dff65081f390387dee381a3fb977b1 08:04:20 % Total % Received % Xferd Average Speed Time Time Time Current 08:04:20 Dload Upload Total Spent Left Speed 08:04:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21251 --:--:-- --:--:-- --:--:-- 21138 08:04:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/5b657589c3d6be08315df630ada3f83e1babe5b7 [Pipeline] } 08:04:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 08:04:21 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-495/archives ] 08:04:21 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-495/archives 08:04:21 total 16 08:04:21 drwxr-xr-x 3 root root 4096 Aug 25 07:54 . 08:04:21 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 07:54 .. 08:04:21 drwxr-xr-x 2 root root 4096 Aug 25 07:54 cost 08:04:21 -rw-r--r-- 1 root root 88 Aug 25 07:54 cost.csv 08:04:21 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-495/archives 08:04:21 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-495/archives 08:04:21 total 16 08:04:21 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:54 . 08:04:21 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 07:54 .. 08:04:21 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 07:54 cost 08:04:21 -rw-r--r-- 1 jenkins jenkins 88 Aug 25 07:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:04:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:04:22 ---> package-listing.sh 08:04:22 ++ facter osfamily 08:04:22 ++ tr '[:upper:]' '[:lower:]' 08:04:22 + OS_FAMILY=debian 08:04:22 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-495 08:04:22 + START_PACKAGES=/tmp/packages_start.txt 08:04:22 + END_PACKAGES=/tmp/packages_end.txt 08:04:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:04:22 + PACKAGES=/tmp/packages_start.txt 08:04:22 + '[' /w/workspace/xfoundry_device-modbus-go_PR-495 ']' 08:04:22 + PACKAGES=/tmp/packages_end.txt 08:04:22 + case "${OS_FAMILY}" in 08:04:22 + dpkg -l 08:04:22 + grep '^ii' 08:04:22 + '[' -f /tmp/packages_start.txt ']' 08:04:22 + '[' -f /tmp/packages_end.txt ']' 08:04:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:04:22 + '[' /w/workspace/xfoundry_device-modbus-go_PR-495 ']' 08:04:22 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-495/archives/ 08:04:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-495/archives/ [Pipeline] echo 08:04:22 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/xfoundry_device-modbus-go_PR-495/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:04:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:04:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:23 prd-ubuntu20.04-docker-8c-8g-4538 does not seem to be running inside a container 08:04:23 $ 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/xfoundry_device-modbus-go_PR-495/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-495 -v /w/workspace/xfoundry_device-modbus-go_PR-495:/w/workspace/xfoundry_device-modbus-go_PR-495:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-495@tmp:/w/workspace/xfoundry_device-modbus-go_PR-495@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:04:23 $ docker top 1420ca10571e55f30a74dc4faccc98e1ec1a7f06ac656379c1ed9cff2583c06f -eo pid,comm [Pipeline] { [Pipeline] sh 08:04:24 + touch /tmp/pre-build-complete [Pipeline] sh 08:04:24 + mkdir -p /var/log/sysstat [Pipeline] sh 08:04:24 + ls /var/log/sa-host 08:04:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:04:24 provisioning config files... 08:04:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config1170740733520429546tmp [Pipeline] { [Pipeline] echo 08:04:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:04:25 ---> create-netrc.sh [Pipeline] } 08:04:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:04:25 ---> python-tools-install.sh [Pipeline] echo 08:04:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:04:25 ---> sudo-logs.sh 08:04:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:04:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:04:26 ---> job-cost.sh 08:04:26 lf-activate-venv: SKIPPING 08:04:26 DEBUG: total: 0.2199999988079071 08:04:26 INFO: Retrieving Stack Cost... 08:04:26 INFO: Retrieving Pricing Info for: v3-standard-8 08:04:26 INFO: Archiving Costs [Pipeline] echo 08:04:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:04:27 ---> logs-deploy.sh 08:04:27 lf-activate-venv: SKIPPING 08:04:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-495/3 08:04:27 INFO: archiving workspace using pattern(s): 08:04:28 Archives upload complete. 08:04:28 INFO: archiving logs to Nexus