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 ba36bba8de2df15c88b0f20de7c574b66f5e4531+1035885eab2253e2bed58002dbe5aaa8ab8aecd1 (0317db02bf785e3600a5ed7e9421b615f92e1870) 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-ssh9470475614704371765.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-ssh9366034913680706982.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-ssh12209903464446213559.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-ssh15906976628102559353.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-ssh5328122280137836182.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-4525 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 ba36bba8de2df15c88b0f20de7c574b66f5e4531 Merge succeeded, producing ba36bba8de2df15c88b0f20de7c574b66f5e4531 Checking out Revision ba36bba8de2df15c88b0f20de7c574b66f5e4531 (PR-495) > git config core.sparsecheckout # timeout=10 > git checkout -f ba36bba8de2df15c88b0f20de7c574b66f5e4531 # 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 ba36bba8de2df15c88b0f20de7c574b66f5e4531 # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. > git rev-list --no-walk accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:35:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:35:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:35:56 ========================================================= 07:35:56 EdgeX Global Pipelines Version Info 07:35:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:35:57 ------------------- 07:35:57 stable info: 07:35:57 ------------------- 07:35:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:35:57 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:35:57 Message: update stable to v1.0.253 07:35:57 ------------------- 07:35:57 experimental info: 07:35:57 ------------------- 07:35:57 Commited By: **** collab-it+edgex@linuxfoundation.org 07:35:57 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:35:57 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-495 [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-495 [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-495 [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba36bba8de2df15c88b0f20de7c574b66f5e4531 [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba36bba [Pipeline] echo 07:35:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:58 provisioning config files... 07:35:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config16373651335671664960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:58 ---> docker-login.sh 07:35:58 nexus3.edgexfoundry.org:10001 07:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:59 Configure a credential helper to remove this warning. See 07:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:59 07:35:59 Login Succeeded 07:35:59 nexus3.edgexfoundry.org:10002 07:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:59 Configure a credential helper to remove this warning. See 07:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:59 07:35:59 Login Succeeded 07:35:59 nexus3.edgexfoundry.org:10003 07:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:59 Configure a credential helper to remove this warning. See 07:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:59 07:35:59 Login Succeeded 07:35:59 nexus3.edgexfoundry.org:10004 07:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:59 Configure a credential helper to remove this warning. See 07:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:59 07:35:59 Login Succeeded 07:35:59 docker.io 07:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:59 Configure a credential helper to remove this warning. See 07:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:59 07:35:59 Login Succeeded 07:35:59 ---> docker-login.sh ends [Pipeline] } 07:35:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:36:00 + git rev-list -1 --merges ba36bba8de2df15c88b0f20de7c574b66f5e4531~1..ba36bba8de2df15c88b0f20de7c574b66f5e4531 [Pipeline] echo 07:36:00 -----------> git rev-list -1 --merges ba36bba8de2df15c88b0f20de7c574b66f5e4531~1..ba36bba8de2df15c88b0f20de7c574b66f5e4531 ba36bba8de2df15c88b0f20de7c574b66f5e4531 [false] [Pipeline] sh 07:36:00 + git log --format=format:%s -1 ba36bba8de2df15c88b0f20de7c574b66f5e4531 [Pipeline] echo 07:36:00 ========================================================= 07:36:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:36:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:36:00 + git log --format=format:%s -1 ba36bba8de2df15c88b0f20de7c574b66f5e4531 [Pipeline] echo 07:36:00 [semverPrep] GIT_COMMIT: ba36bba8de2df15c88b0f20de7c574b66f5e4531, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 07:36:00 [semverPrep] This is not a build commit. [Pipeline] sh 07:36:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:36:01 + grep -v github /etc/ssh/ssh_known_hosts 07:36:01 + [ -e /tmp/ssh_known_hosts ] 07:36:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:36:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:36:01 + sudo tee -a /etc/ssh/ssh_known_hosts 07:36:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:01 07:36:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:01 0.1.4: Pulling from edgex-devops/py-git-semver 07:36:01 b85a868b505f: Pulling fs layer 07:36:01 e2be974225ed: Pulling fs layer 07:36:01 339a4e72a1f5: Pulling fs layer 07:36:01 988bab9f4d93: Pulling fs layer 07:36:01 1469e6f7b9e6: Pulling fs layer 07:36:01 eaf3925da568: Pulling fs layer 07:36:01 bab4dde63d76: Pulling fs layer 07:36:01 bde34c3a00c8: Pulling fs layer 07:36:01 b352a97aabf1: Pulling fs layer 07:36:01 4872d77fe225: Pulling fs layer 07:36:01 5851b861e8e6: Pulling fs layer 07:36:01 4872d77fe225: Waiting 07:36:01 bab4dde63d76: Waiting 07:36:01 5851b861e8e6: Waiting 07:36:01 bde34c3a00c8: Waiting 07:36:01 b352a97aabf1: Waiting 07:36:01 988bab9f4d93: Waiting 07:36:01 1469e6f7b9e6: Waiting 07:36:01 eaf3925da568: Waiting 07:36:01 e2be974225ed: Download complete 07:36:01 988bab9f4d93: Verifying Checksum 07:36:01 988bab9f4d93: Download complete 07:36:01 1469e6f7b9e6: Verifying Checksum 07:36:01 1469e6f7b9e6: Download complete 07:36:01 339a4e72a1f5: Verifying Checksum 07:36:01 339a4e72a1f5: Download complete 07:36:02 eaf3925da568: Verifying Checksum 07:36:02 eaf3925da568: Download complete 07:36:02 bde34c3a00c8: Verifying Checksum 07:36:02 bde34c3a00c8: Download complete 07:36:02 b352a97aabf1: Download complete 07:36:02 4872d77fe225: Verifying Checksum 07:36:02 5851b861e8e6: Verifying Checksum 07:36:02 5851b861e8e6: Download complete 07:36:02 b85a868b505f: Verifying Checksum 07:36:02 b85a868b505f: Download complete 07:36:02 bab4dde63d76: Verifying Checksum 07:36:02 bab4dde63d76: Download complete 07:36:03 b85a868b505f: Pull complete 07:36:03 e2be974225ed: Pull complete 07:36:04 339a4e72a1f5: Pull complete 07:36:04 988bab9f4d93: Pull complete 07:36:04 1469e6f7b9e6: Pull complete 07:36:04 eaf3925da568: Pull complete 07:36:06 bab4dde63d76: Pull complete 07:36:06 bde34c3a00c8: Pull complete 07:36:06 b352a97aabf1: Pull complete 07:36:06 4872d77fe225: Pull complete 07:36:06 5851b861e8e6: Pull complete 07:36:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:06 prd-ubuntu20.04-docker-8c-8g-4525 does not seem to be running inside a container 07:36:06 $ 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:36:09 $ docker top 92efa8f2205eb6b5fc6e52176d604a17e9fc0894386832d586edda7fe507ad54 -eo pid,comm 07:36:09 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:36:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:36:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:09 [ssh-agent] Looking for ssh-agent implementation... 07:36:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:09 $ docker exec 92efa8f2205eb6b5fc6e52176d604a17e9fc0894386832d586edda7fe507ad54 ssh-agent 07:36:09 SSH_AUTH_SOCK=/tmp/ssh-A1IMbIuZLDCZ/agent.31 07:36:09 SSH_AGENT_PID=37 07:36:09 Running ssh-add (command line suppressed) 07:36:09 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_9347420114488610076.key (/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_9347420114488610076.key) 07:36:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:10 + git tag --points-at HEAD [Pipeline] } 07:36:10 $ docker exec --env ******** --env ******** 92efa8f2205eb6b5fc6e52176d604a17e9fc0894386832d586edda7fe507ad54 ssh-agent -k 07:36:10 unset SSH_AUTH_SOCK; 07:36:10 unset SSH_AGENT_PID; 07:36:10 echo Agent pid 37 killed; 07:36:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:36:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:10 [ssh-agent] Looking for ssh-agent implementation... 07:36:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:10 $ docker exec 92efa8f2205eb6b5fc6e52176d604a17e9fc0894386832d586edda7fe507ad54 ssh-agent 07:36:10 SSH_AUTH_SOCK=/tmp/ssh-uqXyWchpQaeO/agent.69 07:36:10 SSH_AGENT_PID=75 07:36:10 Running ssh-add (command line suppressed) 07:36:10 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_6540546013594480712.key (/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_6540546013594480712.key) 07:36:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:10 + git semver init 07:36:11 2023-08-25 07:36:11,039 [run_init] DEBUG init version:0.0.0 force:False 07:36:11 2023-08-25 07:36:11,039 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-495/.semver 07:36:11 2023-08-25 07:36:11,040 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-495/.semver 07:36:11 2023-08-25 07:36:11,040 [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:36:12 2023-08-25 07:36:11,838 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-495/.git/info/exclude 07:36:12 2023-08-25 07:36:11,839 [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:36:12 2023-08-25 07:36:11,839 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-495/.semver/PR-495 07:36:12 2023-08-25 07:36:11,844 [execute] INFO git cat-file --batch-check 07:36:12 2023-08-25 07:36:11,844 [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:36:12 2023-08-25 07:36:11,852 [execute] INFO git cat-file --batch 07:36:12 2023-08-25 07:36:11,852 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-495/.semver, universal_newlines=False, shell=None, istream=) 07:36:12 2023-08-25 07:36:11,858 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-495/.semver/PR-495 07:36:12 0.0.0 [Pipeline] } 07:36:12 $ docker exec --env ******** --env ******** 92efa8f2205eb6b5fc6e52176d604a17e9fc0894386832d586edda7fe507ad54 ssh-agent -k 07:36:12 unset SSH_AUTH_SOCK; 07:36:12 unset SSH_AGENT_PID; 07:36:12 echo Agent pid 75 killed; 07:36:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:36:12 + git semver [Pipeline] } 07:36:12 $ docker stop --time=1 92efa8f2205eb6b5fc6e52176d604a17e9fc0894386832d586edda7fe507ad54 07:36:14 $ docker rm -f --volumes 92efa8f2205eb6b5fc6e52176d604a17e9fc0894386832d586edda7fe507ad54 [Pipeline] // withDockerContainer [Pipeline] sh 07:36:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:36:14 Stashed 1 file(s) [Pipeline] echo 07:36:14 [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:36:14 provisioning config files... 07:36:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config11434484441639131713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:15 ---> docker-login.sh 07:36:15 nexus3.edgexfoundry.org:10001 07:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:15 Configure a credential helper to remove this warning. See 07:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:15 07:36:15 Login Succeeded 07:36:15 nexus3.edgexfoundry.org:10002 07:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:15 Configure a credential helper to remove this warning. See 07:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:15 07:36:15 Login Succeeded 07:36:15 nexus3.edgexfoundry.org:10003 07:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:15 Configure a credential helper to remove this warning. See 07:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:15 07:36:15 Login Succeeded 07:36:15 nexus3.edgexfoundry.org:10004 07:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:15 Configure a credential helper to remove this warning. See 07:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:15 07:36:15 Login Succeeded 07:36:15 docker.io 07:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:15 Configure a credential helper to remove this warning. See 07:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:15 07:36:15 Login Succeeded 07:36:15 ---> docker-login.sh ends [Pipeline] } 07:36:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:36:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:36:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:36:15 ========================================================= 07:36:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:36:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:16 + 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:36:16 Sending build context to Docker daemon 6.406MB 07:36:16 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:36:16 Step 2/10 : FROM ${BASE} AS builder 07:36:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:36:16 4db1b89c0bd1: Pulling fs layer 07:36:16 6911f1a30b25: Pulling fs layer 07:36:16 e194b8c5c2a9: Pulling fs layer 07:36:16 6863d3e3a2b1: Pulling fs layer 07:36:16 ec0bb842ea78: Pulling fs layer 07:36:16 40a00589a448: Pulling fs layer 07:36:16 6c08303d61cc: Pulling fs layer 07:36:16 798269fcf238: Pulling fs layer 07:36:16 6863d3e3a2b1: Waiting 07:36:16 ec0bb842ea78: Waiting 07:36:16 40a00589a448: Waiting 07:36:16 6c08303d61cc: Waiting 07:36:16 6911f1a30b25: Verifying Checksum 07:36:16 6911f1a30b25: Download complete 07:36:16 6863d3e3a2b1: Verifying Checksum 07:36:16 6863d3e3a2b1: Download complete 07:36:16 ec0bb842ea78: Verifying Checksum 07:36:16 ec0bb842ea78: Download complete 07:36:16 4db1b89c0bd1: Verifying Checksum 07:36:16 4db1b89c0bd1: Download complete 07:36:16 40a00589a448: Verifying Checksum 07:36:16 40a00589a448: Download complete 07:36:16 4db1b89c0bd1: Pull complete 07:36:16 6911f1a30b25: Pull complete 07:36:16 798269fcf238: Verifying Checksum 07:36:16 798269fcf238: Download complete 07:36:16 e194b8c5c2a9: Verifying Checksum 07:36:16 e194b8c5c2a9: Download complete 07:36:17 6c08303d61cc: Verifying Checksum 07:36:17 6c08303d61cc: Download complete 07:36:20 e194b8c5c2a9: Pull complete 07:36:20 6863d3e3a2b1: Pull complete 07:36:20 ec0bb842ea78: Pull complete 07:36:20 40a00589a448: Pull complete 07:36:23 6c08303d61cc: Pull complete 07:36:24 798269fcf238: Pull complete 07:36:24 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:36:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:36:24 ---> ec979cd7f677 07:36:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:36:28 ---> Running in e284832d8f34 07:36:28 Removing intermediate container e284832d8f34 07:36:28 ---> 81cefa305417 07:36:28 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:36:28 ---> Running in 8ce23489979a 07:36:28 Removing intermediate container 8ce23489979a 07:36:28 ---> ef2a544b7f02 07:36:28 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:36:28 ---> Running in c4fced9efc83 07:36:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:36:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:36:28 (1/8) Installing openssh-keygen (9.1_p1-r4) 07:36:28 (2/8) Installing libedit (20221030.3.1-r0) 07:36:28 (3/8) Installing openssh-client-common (9.1_p1-r4) 07:36:28 (4/8) Installing openssh-client-default (9.1_p1-r4) 07:36:28 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 07:36:28 (6/8) Installing openssh-server-common (9.1_p1-r4) 07:36:28 (7/8) Installing openssh-server (9.1_p1-r4) 07:36:28 (8/8) Installing openssh (9.1_p1-r4) 07:36:28 Executing busybox-1.35.0-r29.trigger 07:36:29 OK: 270 MiB in 61 packages 07:36:29 Removing intermediate container c4fced9efc83 07:36:29 ---> f7cbf05550e4 07:36:29 Step 6/10 : WORKDIR /device-modbus-go 07:36:29 ---> Running in a712cd04fc17 07:36:29 Removing intermediate container a712cd04fc17 07:36:29 ---> 358e07b8c137 07:36:29 Step 7/10 : COPY go.mod vendor* ./ 07:36:29 ---> 9b79075e3294 07:36:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:36:29 ---> Running in 040a939c489b 07:36:29 Still waiting to schedule task 07:36:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4524’ 07:36:56 Removing intermediate container 040a939c489b 07:36:56 ---> b7da47ac43b9 07:36:56 Step 9/10 : COPY . . 07:36:56 ---> 6e2e92681852 07:36:56 Step 10/10 : RUN ${MAKE} 07:36:56 ---> Running in 6431cebf83e0 07:36:56 noop 07:36:56 Removing intermediate container 6431cebf83e0 07:36:56 ---> 26b2263f57f7 07:36:56 Successfully built 26b2263f57f7 07:36:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:56 + docker inspect -f . ci-base-image-x86_64 07:36:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:56 prd-ubuntu20.04-docker-8c-8g-4525 does not seem to be running inside a container 07:36:56 $ 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:36:57 $ docker top d040f1cd204346ef8c32c10b4ebac442dd620debd02558cf7c267f96e9dde6b7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:57 + go version 07:36:57 go version go1.20.6 linux/amd64 [Pipeline] } 07:36:57 $ docker stop --time=1 d040f1cd204346ef8c32c10b4ebac442dd620debd02558cf7c267f96e9dde6b7 07:36:58 $ docker rm -f --volumes d040f1cd204346ef8c32c10b4ebac442dd620debd02558cf7c267f96e9dde6b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:59 + docker inspect -f . ci-base-image-x86_64 07:36:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:59 prd-ubuntu20.04-docker-8c-8g-4525 does not seem to be running inside a container 07:36:59 $ 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:36:59 $ docker top 0d098336e657444affbbaa7fe972e57587bef51fb1840fc518ad56db03d55cbe -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:59 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-495 [Pipeline] fileExists [Pipeline] sh 07:37:00 + make test 07:37:00 go test ./... -coverprofile=coverage.out 07:37:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:37:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:37:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 47.9% of statements 07:37:23 go vet ./... 07:37:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:37:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:37:25 ./bin/test-attribution-txt.sh [Pipeline] echo 07:37:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:37:26 $ docker stop --time=1 0d098336e657444affbbaa7fe972e57587bef51fb1840fc518ad56db03d55cbe 07:37:29 $ docker rm -f --volumes 0d098336e657444affbbaa7fe972e57587bef51fb1840fc518ad56db03d55cbe [Pipeline] // withDockerContainer [Pipeline] sh 07:37:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:37:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:37:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:37:30 + ls -al . 07:37:30 total 192 07:37:30 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:37 . 07:37:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:35 .. 07:37:30 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 07:35 .dockerignore 07:37:30 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:36 .git 07:37:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:35 .github 07:37:30 -rw-rw-r-- 1 jenkins jenkins 331 Aug 25 07:35 .gitignore 07:37:30 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:35 .golangci.yml 07:37:30 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:36 .semver 07:37:30 -rw-rw-r-- 1 jenkins jenkins 11101 Aug 25 07:35 Attribution.txt 07:37:30 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 25 07:35 CHANGELOG.md 07:37:30 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 25 07:35 Dockerfile 07:37:30 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:35 GOVERNANCE.md 07:37:30 -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 07:35 Jenkinsfile 07:37:30 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:35 LICENSE 07:37:30 -rw-rw-r-- 1 jenkins jenkins 1957 Aug 25 07:35 Makefile 07:37:30 -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 07:35 OWNERS.md 07:37:30 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 25 07:35 README.md 07:37:30 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:36 VERSION 07:37:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:35 bin 07:37:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:35 cmd 07:37:30 -rw-r--r-- 1 jenkins jenkins 24334 Aug 25 07:37 coverage.out 07:37:30 -rw-rw-r-- 1 jenkins jenkins 3940 Aug 25 07:35 go.mod 07:37:30 -rw-rw-r-- 1 jenkins jenkins 34434 Aug 25 07:35 go.sum 07:37:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:35 internal 07:37:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:35 simulator 07:37:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:35 snap 07:37:30 -rw-rw-r-- 1 jenkins jenkins 229 Aug 25 07:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:30 + 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=ba36bba8de2df15c88b0f20de7c574b66f5e4531 --label arch=amd64 --label version=0.0.0 . 07:37:30 Sending build context to Docker daemon 6.431MB 07:37:30 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:37:30 Step 2/22 : FROM ${BASE} AS builder 07:37:30 ---> 26b2263f57f7 07:37:30 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:37:31 ---> Running in 1f70b0626fe3 07:37:31 Removing intermediate container 1f70b0626fe3 07:37:31 ---> 16c3f8c73ca9 07:37:31 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:37:31 ---> Running in 21abf511c301 07:37:31 Removing intermediate container 21abf511c301 07:37:31 ---> 039b2163c408 07:37:31 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:37:31 ---> Running in ff9906674a7e 07:37:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:37:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:37:31 OK: 270 MiB in 61 packages 07:37:32 Removing intermediate container ff9906674a7e 07:37:32 ---> 48cbd9b2be39 07:37:32 Step 6/22 : WORKDIR /device-modbus-go 07:37:32 ---> Running in 8d76c4764121 07:37:32 Removing intermediate container 8d76c4764121 07:37:32 ---> 449928035551 07:37:32 Step 7/22 : COPY go.mod vendor* ./ 07:37:32 ---> de2ceb113b06 07:37:32 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:37:32 ---> Running in 757448c70a77 07:37:32 Removing intermediate container 757448c70a77 07:37:32 ---> 1ed4fe8be445 07:37:32 Step 9/22 : COPY . . 07:37:33 ---> 9673e80230bc 07:37:33 Step 10/22 : RUN ${MAKE} 07:37:33 ---> Running in c0907968d37d 07:37:33 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:37:55 Removing intermediate container c0907968d37d 07:37:55 ---> 7c5b0ac8c4ea 07:37:55 Step 11/22 : FROM alpine:3.17 07:37:55 3.17: Pulling from library/alpine 07:37:55 9398808236ff: Pulling fs layer 07:37:55 9398808236ff: Verifying Checksum 07:37:55 9398808236ff: Download complete 07:37:55 9398808236ff: Pull complete 07:37:55 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:37:55 Status: Downloaded newer image for alpine:3.17 07:37:55 ---> 1e0b8b5322fc 07:37:55 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:37:55 ---> Running in 8ef274202f05 07:37:55 Removing intermediate container 8ef274202f05 07:37:55 ---> 1941b9380d2e 07:37:55 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:37:55 ---> Running in 38fd92d3ba39 07:37:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:37:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:37:55 (1/1) Installing dumb-init (1.2.5-r2) 07:37:55 Executing busybox-1.35.0-r29.trigger 07:37:55 OK: 7 MiB in 16 packages 07:37:55 Removing intermediate container 38fd92d3ba39 07:37:55 ---> 4a3d2a387c64 07:37:55 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:37:55 ---> 0626e9b94dc9 07:37:55 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:37:55 ---> 38e0fae5fdad 07:37:55 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:37:55 ---> 3c1f1cbc4bf5 07:37:55 Step 17/22 : EXPOSE 59901 07:37:55 ---> Running in 266387e95a3a 07:37:55 Removing intermediate container 266387e95a3a 07:37:55 ---> a47af903612d 07:37:55 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:37:55 ---> Running in c5d4bf585851 07:37:55 Removing intermediate container c5d4bf585851 07:37:55 ---> 776936329577 07:37:55 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:37:55 ---> Running in a72d5716fb93 07:37:55 Removing intermediate container a72d5716fb93 07:37:55 ---> c367e52ae447 07:37:55 Step 20/22 : LABEL arch=amd64 07:37:55 ---> Running in 7834d00b9b81 07:37:56 Removing intermediate container 7834d00b9b81 07:37:56 ---> 4ce84e96f686 07:37:56 Step 21/22 : LABEL git_sha=ba36bba8de2df15c88b0f20de7c574b66f5e4531 07:37:56 ---> Running in bf777aa4acc8 07:37:56 Removing intermediate container bf777aa4acc8 07:37:56 ---> 1aa8e2883f92 07:37:56 Step 22/22 : LABEL version=0.0.0 07:37:56 ---> Running in 2f015c342969 07:37:56 Removing intermediate container 2f015c342969 07:37:56 ---> 8684ff4b964f 07:37:56 [Warning] One or more build-args [ARCH] were not consumed 07:37:56 Successfully built 8684ff4b964f 07:37:56 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:37:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:56 07:37:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:56 latest: Pulling from edgex-lftools-log-publisher 07:37:56 5eb5b503b376: Pulling fs layer 07:37:56 5c69ac0246d0: Pulling fs layer 07:37:56 ec43610c2a17: Pulling fs layer 07:37:56 3a2ae6a8a46f: Pulling fs layer 07:37:56 33b1e0a273af: Pulling fs layer 07:37:56 5d3b04190fa2: Pulling fs layer 07:37:56 2f39f015ded8: Pulling fs layer 07:37:56 3a2ae6a8a46f: Waiting 07:37:56 2f39f015ded8: Waiting 07:37:56 33b1e0a273af: Waiting 07:37:56 5d3b04190fa2: Waiting 07:37:56 5c69ac0246d0: Verifying Checksum 07:37:56 5c69ac0246d0: Download complete 07:37:56 3a2ae6a8a46f: Verifying Checksum 07:37:56 3a2ae6a8a46f: Download complete 07:37:56 33b1e0a273af: Verifying Checksum 07:37:56 33b1e0a273af: Download complete 07:37:56 ec43610c2a17: Verifying Checksum 07:37:56 ec43610c2a17: Download complete 07:37:56 5d3b04190fa2: Verifying Checksum 07:37:56 5d3b04190fa2: Download complete 07:37:57 5eb5b503b376: Verifying Checksum 07:37:57 5eb5b503b376: Download complete 07:37:57 2f39f015ded8: Download complete 07:37:58 5eb5b503b376: Pull complete 07:37:58 5c69ac0246d0: Pull complete 07:37:58 ec43610c2a17: Pull complete 07:37:58 3a2ae6a8a46f: Pull complete 07:37:58 33b1e0a273af: Pull complete 07:37:58 5d3b04190fa2: Pull complete 07:38:03 2f39f015ded8: Pull complete 07:38:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:38:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:38:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:03 prd-ubuntu20.04-docker-8c-8g-4525 does not seem to be running inside a container 07:38:03 $ 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:38:07 $ docker top 81d361e9251fc425923caa67d05f4d9d77e01ac22ec72d6ca54cab91f64a0370 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:07 ---> job-cost.sh 07:38:07 lf-activate-venv: SKIPPING 07:38:07 INFO: No Stack... 07:38:07 INFO: Retrieving Pricing Info for: v3-standard-8 07:38:08 INFO: Archiving Costs [Pipeline] sh 07:38:08 + cat /w/workspace/xfoundry_device-modbus-go_PR-495/archives/cost.csv 07:38:08 + cut -d, -f6 [Pipeline] lock 07:38:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-495-2-stack-cost] 07:38:08 Resource [jenkins-edgexfoundry-device-modbus-go-PR-495-2-stack-cost] did not exist. Created. 07:38:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-495-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:38:09 + echo total: 0.2199999988079071 [Pipeline] stash 07:38:09 Stashed 1 file(s) [Pipeline] } 07:38:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-495-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:38:09 $ docker stop --time=1 81d361e9251fc425923caa67d05f4d9d77e01ac22ec72d6ca54cab91f64a0370 07:38:10 $ docker rm -f --volumes 81d361e9251fc425923caa67d05f4d9d77e01ac22ec72d6ca54cab91f64a0370 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:38:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4527 in /w/workspace/xfoundry_device-modbus-go_PR-495 [Pipeline] { [Pipeline] ws 07:38:59 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 07:38:59 Selected Git installation does not exist. Using Default 07:38:59 The recommended git tool is: NONE 07:39:08 using credential edgex-jenkins-ssh 07:39:08 Cloning the remote Git repository 07:39:08 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:39:08 > git init /w/workspace/device-modbus-go/2 # timeout=10 07:39:08 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:39:08 > git --version # timeout=10 07:39:08 > git --version # 'git version 2.25.1' 07:39:08 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:39:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:39:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:39:11 Merging remotes/origin/main commit 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 into PR head commit ba36bba8de2df15c88b0f20de7c574b66f5e4531 07:39:10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:39:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:39:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:10 > 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:39:11 > git config core.sparsecheckout # timeout=10 07:39:11 > git checkout -f ba36bba8de2df15c88b0f20de7c574b66f5e4531 # timeout=10 07:39:11 > git remote # timeout=10 07:39:11 > git config --get remote.origin.url # timeout=10 07:39:11 Merge succeeded, producing ba36bba8de2df15c88b0f20de7c574b66f5e4531 07:39:11 Checking out Revision ba36bba8de2df15c88b0f20de7c574b66f5e4531 (PR-495) 07:39:11 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:11 > git merge 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 # timeout=10 07:39:11 > git rev-parse HEAD^{commit} # timeout=10 07:39:11 > git config core.sparsecheckout # timeout=10 07:39:11 > git checkout -f ba36bba8de2df15c88b0f20de7c574b66f5e4531 # timeout=10 07:39:15 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:39:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:39:16 % Total % Received % Xferd Average Speed Time Time Time Current 07:39:16 Dload Upload Total Spent Left Speed 07:39:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 07:39:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:39:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:39:17 + sudo tee /etc/docker/daemon.new 07:39:17 { 07:39:17 "registry-mirrors": [ 07:39:17 "https://nexus3.edgexfoundry.org:10001" 07:39:17 ], 07:39:17 "bip": "10.250.0.254/24", 07:39:17 "hosts": [ 07:39:17 "tcp://0.0.0.0:5555", 07:39:17 "unix:///var/run/docker.sock" 07:39:17 ], 07:39:17 "mtu": 1458, 07:39:17 "selinux-enabled": true, 07:39:17 "seccomp-profile": "/etc/docker/seccomp.json" 07:39:17 } [Pipeline] sh 07:39:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:39:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:36 provisioning config files... 07:39:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config6594101804794109901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:36 ---> docker-login.sh 07:39:36 nexus3.edgexfoundry.org:10001 07:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:37 Configure a credential helper to remove this warning. See 07:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:37 07:39:37 Login Succeeded 07:39:37 nexus3.edgexfoundry.org:10002 07:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:37 Configure a credential helper to remove this warning. See 07:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:37 07:39:37 Login Succeeded 07:39:37 nexus3.edgexfoundry.org:10003 07:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:38 Configure a credential helper to remove this warning. See 07:39:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:38 07:39:38 Login Succeeded 07:39:38 nexus3.edgexfoundry.org:10004 07:39:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:38 Configure a credential helper to remove this warning. See 07:39:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:38 07:39:38 Login Succeeded 07:39:38 docker.io 07:39:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:38 Configure a credential helper to remove this warning. See 07:39:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:38 07:39:38 Login Succeeded 07:39:38 ---> docker-login.sh ends [Pipeline] } 07:39:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:39:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:39 ========================================================= 07:39:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:39:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:39 + 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:39:39 Sending build context to Docker daemon 3.334MB 07:39:39 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:39:39 Step 2/10 : FROM ${BASE} AS builder 07:39:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:39:40 edb6bdbacee9: Pulling fs layer 07:39:40 5f9638ab2659: Pulling fs layer 07:39:40 8d51d6327a98: Pulling fs layer 07:39:40 8b374f2dd631: Pulling fs layer 07:39:40 ec14aa9079de: Pulling fs layer 07:39:40 2f466654f4bb: Pulling fs layer 07:39:40 554e91adad29: Pulling fs layer 07:39:40 ec14aa9079de: Waiting 07:39:40 8b374f2dd631: Waiting 07:39:40 2f466654f4bb: Waiting 07:39:40 554e91adad29: Waiting 07:39:40 5f9638ab2659: Download complete 07:39:40 8b374f2dd631: Verifying Checksum 07:39:40 8b374f2dd631: Download complete 07:39:40 ec14aa9079de: Verifying Checksum 07:39:40 ec14aa9079de: Download complete 07:39:40 edb6bdbacee9: Verifying Checksum 07:39:40 edb6bdbacee9: Download complete 07:39:41 edb6bdbacee9: Pull complete 07:39:41 554e91adad29: Verifying Checksum 07:39:41 554e91adad29: Download complete 07:39:41 5f9638ab2659: Pull complete 07:39:42 8d51d6327a98: Download complete 07:39:42 2f466654f4bb: Verifying Checksum 07:39:42 2f466654f4bb: Download complete 07:39:55 8d51d6327a98: Pull complete 07:39:55 8b374f2dd631: Pull complete 07:39:55 ec14aa9079de: Pull complete 07:40:00 2f466654f4bb: Pull complete 07:40:03 554e91adad29: Pull complete 07:40:03 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 07:40:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:40:03 ---> 1e15ea492957 07:40:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:40:04 ---> Running in 102a5b8293b2 07:40:05 Removing intermediate container 102a5b8293b2 07:40:05 ---> d8baed19fdf8 07:40:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:40:05 ---> Running in 7240d928a032 07:40:05 Removing intermediate container 7240d928a032 07:40:05 ---> 95dc207b21bc 07:40:05 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:40:05 ---> Running in d69bca842e27 07:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:40:08 (1/8) Installing openssh-keygen (9.1_p1-r4) 07:40:08 (2/8) Installing libedit (20221030.3.1-r0) 07:40:08 (3/8) Installing openssh-client-common (9.1_p1-r4) 07:40:08 (4/8) Installing openssh-client-default (9.1_p1-r4) 07:40:08 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 07:40:08 (6/8) Installing openssh-server-common (9.1_p1-r4) 07:40:08 (7/8) Installing openssh-server (9.1_p1-r4) 07:40:08 (8/8) Installing openssh (9.1_p1-r4) 07:40:08 Executing busybox-1.35.0-r29.trigger 07:40:08 OK: 270 MiB in 61 packages 07:40:09 Removing intermediate container d69bca842e27 07:40:09 ---> 3f0e0262cf73 07:40:09 Step 6/10 : WORKDIR /device-modbus-go 07:40:09 ---> Running in 799792d323f1 07:40:10 Removing intermediate container 799792d323f1 07:40:10 ---> f5c313143c4f 07:40:10 Step 7/10 : COPY go.mod vendor* ./ 07:40:10 ---> a5a02ccebeb8 07:40:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:40:10 ---> Running in 65cd3990b2f3 07:41:18 Removing intermediate container 65cd3990b2f3 07:41:18 ---> 78ef68e082e4 07:41:18 Step 9/10 : COPY . . 07:41:18 ---> ca5eb40eaa4a 07:41:18 Step 10/10 : RUN ${MAKE} 07:41:18 ---> Running in 0e78ac46f9ba 07:41:18 noop 07:41:18 Removing intermediate container 0e78ac46f9ba 07:41:18 ---> 94b6408d47f1 07:41:18 Successfully built 94b6408d47f1 07:41:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:19 + docker inspect -f . ci-base-image-arm64 07:41:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:19 prd-ubuntu20.04-docker-arm64-4c-16g-4527 does not seem to be running inside a container 07:41:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** ci-base-image-arm64 cat 07:41:20 $ docker top 84e467f325750eb124f1624e3d46d3e22bdb246297100e46c91dc82d18f590ec -eo pid,comm [Pipeline] { [Pipeline] sh 07:41:21 + go version 07:41:21 go version go1.20.6 linux/arm64 [Pipeline] } 07:41:21 $ docker stop --time=1 84e467f325750eb124f1624e3d46d3e22bdb246297100e46c91dc82d18f590ec 07:41:23 $ docker rm -f --volumes 84e467f325750eb124f1624e3d46d3e22bdb246297100e46c91dc82d18f590ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:23 + docker inspect -f . ci-base-image-arm64 07:41:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:24 prd-ubuntu20.04-docker-arm64-4c-16g-4527 does not seem to be running inside a container 07:41:24 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** ci-base-image-arm64 cat 07:41:25 $ docker top 28ac839c8e01d5be250e6eea824526e9508d35b82c082506473a5fd7bdd3e895 -eo pid,comm [Pipeline] { [Pipeline] sh 07:41:26 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 07:41:26 + make test 07:41:26 go test ./... -coverprofile=coverage.out 07:42:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:44:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:44:27 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.9% of statements 07:44:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:44:27 go vet ./... 07:44:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:44:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:44:59 ./bin/test-attribution-txt.sh [Pipeline] echo 07:44:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:44:59 $ docker stop --time=1 28ac839c8e01d5be250e6eea824526e9508d35b82c082506473a5fd7bdd3e895 07:45:01 $ docker rm -f --volumes 28ac839c8e01d5be250e6eea824526e9508d35b82c082506473a5fd7bdd3e895 [Pipeline] // withDockerContainer [Pipeline] sh 07:45:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:45:03 Warning: overwriting stash ‘coverage-report’ 07:45:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:45:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:45:04 + ls -al . 07:45:04 total 188 07:45:04 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 07:41 . 07:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:39 .. 07:45:04 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 07:39 .dockerignore 07:45:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:39 .git 07:45:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:39 .github 07:45:04 -rw-rw-r-- 1 jenkins jenkins 331 Aug 25 07:39 .gitignore 07:45:04 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:39 .golangci.yml 07:45:04 -rw-rw-r-- 1 jenkins jenkins 11101 Aug 25 07:39 Attribution.txt 07:45:04 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 25 07:39 CHANGELOG.md 07:45:04 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 25 07:39 Dockerfile 07:45:04 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:39 GOVERNANCE.md 07:45:04 -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 07:39 Jenkinsfile 07:45:04 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:39 LICENSE 07:45:04 -rw-rw-r-- 1 jenkins jenkins 1957 Aug 25 07:39 Makefile 07:45:04 -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 07:39 OWNERS.md 07:45:04 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 25 07:39 README.md 07:45:04 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:36 VERSION 07:45:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:39 bin 07:45:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:39 cmd 07:45:04 -rw-r--r-- 1 jenkins jenkins 24334 Aug 25 07:44 coverage.out 07:45:04 -rw-rw-r-- 1 jenkins jenkins 3940 Aug 25 07:39 go.mod 07:45:04 -rw-rw-r-- 1 jenkins jenkins 34434 Aug 25 07:39 go.sum 07:45:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:39 internal 07:45:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:39 simulator 07:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:39 snap 07:45:04 -rw-rw-r-- 1 jenkins jenkins 229 Aug 25 07:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:04 + 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=ba36bba8de2df15c88b0f20de7c574b66f5e4531 --label arch=arm64 --label version=0.0.0 . 07:45:05 Sending build context to Docker daemon 3.359MB 07:45:05 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:45:05 Step 2/22 : FROM ${BASE} AS builder 07:45:05 ---> 94b6408d47f1 07:45:05 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:45:05 ---> Running in d25a8997df86 07:45:05 Removing intermediate container d25a8997df86 07:45:05 ---> f694e2fd1870 07:45:05 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:45:05 ---> Running in 1faf32149242 07:45:05 Removing intermediate container 1faf32149242 07:45:05 ---> 3c74a2b4bc5e 07:45:05 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:45:06 ---> Running in 286df89efcab 07:45:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:45:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:45:08 OK: 270 MiB in 61 packages 07:45:09 Removing intermediate container 286df89efcab 07:45:09 ---> 0da1e9e8b2eb 07:45:09 Step 6/22 : WORKDIR /device-modbus-go 07:45:09 ---> Running in f54e86f2f28b 07:45:09 Removing intermediate container f54e86f2f28b 07:45:09 ---> 68954ea55882 07:45:09 Step 7/22 : COPY go.mod vendor* ./ 07:45:10 ---> 3c43848a5c7e 07:45:10 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:45:10 ---> Running in 6f20a71fb816 07:45:14 Removing intermediate container 6f20a71fb816 07:45:14 ---> 7d024ff0f0ad 07:45:14 Step 9/22 : COPY . . 07:45:14 ---> 065c204cb5a5 07:45:14 Step 10/22 : RUN ${MAKE} 07:45:14 ---> Running in 610a2eb93851 07:45:15 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:48:07 Removing intermediate container 610a2eb93851 07:48:07 ---> b55c11fb8181 07:48:07 Step 11/22 : FROM alpine:3.17 07:48:07 3.17: Pulling from library/alpine 07:48:07 4060ece20d7a: Pulling fs layer 07:48:07 4060ece20d7a: Verifying Checksum 07:48:07 4060ece20d7a: Download complete 07:48:07 4060ece20d7a: Pull complete 07:48:07 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:48:07 Status: Downloaded newer image for alpine:3.17 07:48:07 ---> 8650cd65339b 07:48:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:48:07 ---> Running in 634c368c8d61 07:48:07 Removing intermediate container 634c368c8d61 07:48:07 ---> d67dca3c85c2 07:48:07 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:48:07 ---> Running in 9fb914dc6683 07:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:48:07 (1/1) Installing dumb-init (1.2.5-r2) 07:48:07 Executing busybox-1.35.0-r29.trigger 07:48:07 OK: 8 MiB in 16 packages 07:48:07 Removing intermediate container 9fb914dc6683 07:48:07 ---> 0c99c832506c 07:48:07 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:48:07 ---> 0aa98f5b945e 07:48:07 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:48:07 ---> ae0d69f8844a 07:48:07 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:48:07 ---> f0f74dc90729 07:48:07 Step 17/22 : EXPOSE 59901 07:48:07 ---> Running in 580ecef423ae 07:48:07 Removing intermediate container 580ecef423ae 07:48:07 ---> bfb99a766ce6 07:48:07 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:48:07 ---> Running in a7e85009390f 07:48:07 Removing intermediate container a7e85009390f 07:48:07 ---> 4219bfec8bb0 07:48:07 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:48:07 ---> Running in 1f4802446c0c 07:48:07 Removing intermediate container 1f4802446c0c 07:48:07 ---> e338e5e1830f 07:48:07 Step 20/22 : LABEL arch=arm64 07:48:07 ---> Running in 36be3bad6d60 07:48:07 Removing intermediate container 36be3bad6d60 07:48:07 ---> 6a57163ed9fb 07:48:07 Step 21/22 : LABEL git_sha=ba36bba8de2df15c88b0f20de7c574b66f5e4531 07:48:08 ---> Running in 5d7f0bad37b3 07:48:08 Removing intermediate container 5d7f0bad37b3 07:48:08 ---> 1fa1faec1ea3 07:48:08 Step 22/22 : LABEL version=0.0.0 07:48:08 ---> Running in 2aaf163c34e2 07:48:08 Removing intermediate container 2aaf163c34e2 07:48:08 ---> dd65790b9e69 07:48:08 [Warning] One or more build-args [ARCH] were not consumed 07:48:08 Successfully built dd65790b9e69 07:48:08 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 07:48:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:09 07:48:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:09 arm64: Pulling from edgex-lftools-log-publisher 07:48:09 8998bd30e6a1: Pulling fs layer 07:48:09 04944245beec: Pulling fs layer 07:48:09 699f458cf7ca: Pulling fs layer 07:48:09 765212b225bb: Pulling fs layer 07:48:09 f23df028b6ca: Pulling fs layer 07:48:09 d65c8cfc05b1: Pulling fs layer 07:48:09 2437ff75d9bd: Pulling fs layer 07:48:09 765212b225bb: Waiting 07:48:09 f23df028b6ca: Waiting 07:48:09 d65c8cfc05b1: Waiting 07:48:09 2437ff75d9bd: Waiting 07:48:09 04944245beec: Verifying Checksum 07:48:09 04944245beec: Download complete 07:48:09 765212b225bb: Verifying Checksum 07:48:09 765212b225bb: Download complete 07:48:09 f23df028b6ca: Verifying Checksum 07:48:09 f23df028b6ca: Download complete 07:48:09 d65c8cfc05b1: Verifying Checksum 07:48:09 d65c8cfc05b1: Download complete 07:48:10 699f458cf7ca: Verifying Checksum 07:48:10 699f458cf7ca: Download complete 07:48:10 8998bd30e6a1: Download complete 07:48:12 2437ff75d9bd: Verifying Checksum 07:48:12 2437ff75d9bd: Download complete 07:48:14 8998bd30e6a1: Pull complete 07:48:15 04944245beec: Pull complete 07:48:16 699f458cf7ca: Pull complete 07:48:17 765212b225bb: Pull complete 07:48:18 f23df028b6ca: Pull complete 07:48:18 d65c8cfc05b1: Pull complete 07:48:33 2437ff75d9bd: Pull complete 07:48:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:48:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:35 prd-ubuntu20.04-docker-arm64-4c-16g-4527 does not seem to be running inside a container 07:48:35 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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:arm64 cat 07:48:38 $ docker top 1db48ef186ce182846ceb98a13995023a6ca8eab662b510782d432813c9d3638 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:39 ---> job-cost.sh 07:48:39 lf-activate-venv: SKIPPING 07:48:39 INFO: No Stack... 07:48:39 INFO: Retrieving Pricing Info for: v3-standard-4 07:48:40 INFO: Archiving Costs [Pipeline] sh 07:48:41 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 07:48:41 + cut -d, -f6 [Pipeline] lock 07:48:41 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-495-2-stack-cost] 07:48:41 Resource [jenkins-edgexfoundry-device-modbus-go-PR-495-2-stack-cost] did not exist. Created. 07:48:41 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-495-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:48:41 /w/workspace/device-modbus-go/2@tmp/durable-fc9f9b5b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:48:42 + echo total: 0.10999999940395355 [Pipeline] stash 07:48:42 Warning: overwriting stash ‘stack-cost’ 07:48:42 Stashed 1 file(s) [Pipeline] } 07:48:42 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-495-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:48:42 $ docker stop --time=1 1db48ef186ce182846ceb98a13995023a6ca8eab662b510782d432813c9d3638 07:48:44 $ docker rm -f --volumes 1db48ef186ce182846ceb98a13995023a6ca8eab662b510782d432813c9d3638 [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 07:48:44 provisioning config files... 07:48:44 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config13864004025144188588tmp [Pipeline] { [Pipeline] sh 07:48:44 + set +x 07:48:44 + curl -s https://codecov.io/bash 07:48:44 + bash -s -- 07:48:44 07:48:44 _____ _ 07:48:44 / ____| | | 07:48:44 | | ___ __| | ___ ___ _____ __ 07:48:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:48:44 | |___| (_) | (_| | __/ (_| (_) \ V / 07:48:44 \_____\___/ \__,_|\___|\___\___/ \_/ 07:48:44 Bash-1.0.6 07:48:44 07:48:44 07:48:44 ==> git version 2.25.1 found 07:48:44 ==> 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 07:48:44 Release-Date: 2020-01-08 07:48:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:48:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:48:44 ==> Jenkins CI detected. 07:48:44 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-495 07:48:44 project root: . 07:48:44 --> token set from env 07:48:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:48:44 ==> Running gcov in . (disable via -X gcov) 07:48:44 ==> Python coveragepy not found 07:48:44 ==> Searching for coverage reports in: 07:48:44 + . 07:48:44 -> Found 1 reports 07:48:44 ==> Detecting git/mercurial file structure 07:48:44 ==> Reading reports 07:48:44 + ./coverage.out bytes=24334 07:48:44 ==> Appending adjustments 07:48:44 https://docs.codecov.io/docs/fixing-reports 07:48:45 + Found adjustments 07:48:45 ==> Gzipping contents 07:48:45 4.0K /tmp/codecov.4q1aqI.gz 07:48:45 ==> Uploading reports 07:48:45 url: https://codecov.io 07:48:45 query: branch=PR-495&commit=ba36bba8de2df15c88b0f20de7c574b66f5e4531&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-495%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=495&job=&cmd_args= 07:48:45 -> Pinging Codecov 07:48:45 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=ba36bba8de2df15c88b0f20de7c574b66f5e4531&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-495%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=495&job=&cmd_args= 07:48:45 -> Uploading to 07:48:45 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/55DBCA73C666E3227836607328DD7E49/ba36bba8de2df15c88b0f20de7c574b66f5e4531/9aadb072-2d65-4a72-82e9-98898725be8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T074845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2551b7805bfd2e05bfeacf1656c7a30bfd4e16afcd7eb9afee772ddf44e5edf7 07:48:45 % Total % Received % Xferd Average Speed Time Time Time Current 07:48:45 Dload Upload Total Spent Left Speed 07:48:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21835 --:--:-- --:--:-- --:--:-- 21835 07:48:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ba36bba8de2df15c88b0f20de7c574b66f5e4531 [Pipeline] } 07:48:45 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 07:48:46 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-495/archives ] 07:48:46 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-495/archives 07:48:46 total 16 07:48:46 drwxr-xr-x 3 root root 4096 Aug 25 07:38 . 07:48:46 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 07:38 .. 07:48:46 drwxr-xr-x 2 root root 4096 Aug 25 07:38 cost 07:48:46 -rw-r--r-- 1 root root 88 Aug 25 07:38 cost.csv 07:48:46 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-495/archives 07:48:46 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-495/archives 07:48:46 total 16 07:48:46 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:38 . 07:48:46 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 07:38 .. 07:48:46 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 07:38 cost 07:48:46 -rw-r--r-- 1 jenkins jenkins 88 Aug 25 07:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:48:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:48:47 ---> package-listing.sh 07:48:47 ++ facter osfamily 07:48:47 ++ tr '[:upper:]' '[:lower:]' 07:48:47 + OS_FAMILY=debian 07:48:47 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-495 07:48:47 + START_PACKAGES=/tmp/packages_start.txt 07:48:47 + END_PACKAGES=/tmp/packages_end.txt 07:48:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:48:47 + PACKAGES=/tmp/packages_start.txt 07:48:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-495 ']' 07:48:47 + PACKAGES=/tmp/packages_end.txt 07:48:47 + case "${OS_FAMILY}" in 07:48:47 + dpkg -l 07:48:47 + grep '^ii' 07:48:47 + '[' -f /tmp/packages_start.txt ']' 07:48:47 + '[' -f /tmp/packages_end.txt ']' 07:48:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:48:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-495 ']' 07:48:47 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-495/archives/ 07:48:47 + 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 07:48:47 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 07:48:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:48 prd-ubuntu20.04-docker-8c-8g-4525 does not seem to be running inside a container 07:48:48 $ 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 07:48:48 $ docker top 5045909e67ef908c941e8033862b7b720b17a0081857caa6b66964dac75a6bf8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:49 + touch /tmp/pre-build-complete [Pipeline] sh 07:48:49 + mkdir -p /var/log/sysstat [Pipeline] sh 07:48:49 + ls /var/log/sa-host 07:48:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:49 provisioning config files... 07:48:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config4312465022086917837tmp [Pipeline] { [Pipeline] echo 07:48:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:48:50 ---> create-netrc.sh [Pipeline] } 07:48:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:48:50 ---> python-tools-install.sh [Pipeline] echo 07:48:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:48:50 ---> sudo-logs.sh 07:48:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:48:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:48:51 ---> job-cost.sh 07:48:51 lf-activate-venv: SKIPPING 07:48:51 DEBUG: total: 0.2199999988079071 07:48:51 INFO: Retrieving Stack Cost... 07:48:51 INFO: Retrieving Pricing Info for: v3-standard-8 07:48:52 INFO: Archiving Costs [Pipeline] echo 07:48:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:48:52 ---> logs-deploy.sh 07:48:52 lf-activate-venv: SKIPPING 07:48:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-495/2 07:48:52 INFO: archiving workspace using pattern(s): 07:48:53 Archives upload complete. 07:48:53 INFO: archiving logs to Nexus