Pull request #480 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0c3f6a60187eeeff7b7df055b6cf7399659b9316+c2a684ad799e189efd0923067d1fe2be35db2ba6 (13b35e935f9a508c5bda9dd9b2be487a0b58d184) 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-ssh1536108669592050010.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12264876663872249322.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-480/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-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8012404663964567309.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6320126134733816584.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-480/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-480/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8521787970617890909.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-16384 in /w/workspace/xfoundry_device-modbus-go_PR-480 [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-480 # 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/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c2a684ad799e189efd0923067d1fe2be35db2ba6 into PR head commit 0c3f6a60187eeeff7b7df055b6cf7399659b9316 Merge succeeded, producing 0c3f6a60187eeeff7b7df055b6cf7399659b9316 Checking out Revision 0c3f6a60187eeeff7b7df055b6cf7399659b9316 (PR-480) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:55:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:55:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:55:12 ========================================================= 21:55:12 EdgeX Global Pipelines Version Info 21:55:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 0c3f6a60187eeeff7b7df055b6cf7399659b9316 # 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 c2a684ad799e189efd0923067d1fe2be35db2ba6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c3f6a60187eeeff7b7df055b6cf7399659b9316 # timeout=10 > git rev-list --no-walk ac4121a6a7904df9618b3f379b244e5282c25357 # timeout=10 21:55:13 ------------------- 21:55:13 stable info: 21:55:13 ------------------- 21:55:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:55:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:55:13 Message: update stable to v1.0.249 21:55:14 ------------------- 21:55:14 experimental info: 21:55:14 ------------------- 21:55:14 Commited By: **** collab-it+edgex@linuxfoundation.org 21:55:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:55:14 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-480 [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-480 [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-480 [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c3f6a60187eeeff7b7df055b6cf7399659b9316 [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c3f6a6 [Pipeline] echo 21:55:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:55:14 provisioning config files... 21:55:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config16017043693848988095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:15 ---> docker-login.sh 21:55:15 nexus3.edgexfoundry.org:10001 21:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:15 Configure a credential helper to remove this warning. See 21:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:15 21:55:15 Login Succeeded 21:55:15 nexus3.edgexfoundry.org:10002 21:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:15 Configure a credential helper to remove this warning. See 21:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:15 21:55:15 Login Succeeded 21:55:15 nexus3.edgexfoundry.org:10003 21:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:15 Configure a credential helper to remove this warning. See 21:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:15 21:55:15 Login Succeeded 21:55:15 nexus3.edgexfoundry.org:10004 21:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:15 Configure a credential helper to remove this warning. See 21:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:15 21:55:15 Login Succeeded 21:55:15 docker.io 21:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:15 Configure a credential helper to remove this warning. See 21:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:15 21:55:15 Login Succeeded 21:55:15 ---> docker-login.sh ends [Pipeline] } 21:55:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:55:16 + git rev-list -1 --merges 0c3f6a60187eeeff7b7df055b6cf7399659b9316~1..0c3f6a60187eeeff7b7df055b6cf7399659b9316 [Pipeline] echo 21:55:16 -----------> git rev-list -1 --merges 0c3f6a60187eeeff7b7df055b6cf7399659b9316~1..0c3f6a60187eeeff7b7df055b6cf7399659b9316 0c3f6a60187eeeff7b7df055b6cf7399659b9316 [false] [Pipeline] sh 21:55:16 + git log --format=format:%s -1 0c3f6a60187eeeff7b7df055b6cf7399659b9316 [Pipeline] echo 21:55:16 ========================================================= 21:55:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:55:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:55:17 + git log --format=format:%s -1 0c3f6a60187eeeff7b7df055b6cf7399659b9316 [Pipeline] echo 21:55:17 [semverPrep] GIT_COMMIT: 0c3f6a60187eeeff7b7df055b6cf7399659b9316, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 21:55:17 [semverPrep] This is not a build commit. [Pipeline] sh 21:55:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:55:17 + grep -v github /etc/ssh/ssh_known_hosts 21:55:17 + [ -e /tmp/ssh_known_hosts ] 21:55:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:55:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:55:17 + sudo tee -a /etc/ssh/ssh_known_hosts 21:55:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:55:17 21:55:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:55:18 0.1.4: Pulling from edgex-devops/py-git-semver 21:55:18 b85a868b505f: Pulling fs layer 21:55:18 e2be974225ed: Pulling fs layer 21:55:18 339a4e72a1f5: Pulling fs layer 21:55:18 988bab9f4d93: Pulling fs layer 21:55:18 1469e6f7b9e6: Pulling fs layer 21:55:18 eaf3925da568: Pulling fs layer 21:55:18 bab4dde63d76: Pulling fs layer 21:55:18 bde34c3a00c8: Pulling fs layer 21:55:18 b352a97aabf1: Pulling fs layer 21:55:18 4872d77fe225: Pulling fs layer 21:55:18 5851b861e8e6: Pulling fs layer 21:55:18 988bab9f4d93: Waiting 21:55:18 eaf3925da568: Waiting 21:55:18 bab4dde63d76: Waiting 21:55:18 1469e6f7b9e6: Waiting 21:55:18 b352a97aabf1: Waiting 21:55:18 4872d77fe225: Waiting 21:55:18 5851b861e8e6: Waiting 21:55:18 e2be974225ed: Download complete 21:55:18 988bab9f4d93: Verifying Checksum 21:55:18 988bab9f4d93: Download complete 21:55:18 1469e6f7b9e6: Download complete 21:55:18 eaf3925da568: Download complete 21:55:18 339a4e72a1f5: Verifying Checksum 21:55:18 339a4e72a1f5: Download complete 21:55:18 bde34c3a00c8: Verifying Checksum 21:55:18 bde34c3a00c8: Download complete 21:55:18 4872d77fe225: Verifying Checksum 21:55:18 4872d77fe225: Download complete 21:55:18 5851b861e8e6: Verifying Checksum 21:55:18 5851b861e8e6: Download complete 21:55:18 b85a868b505f: Verifying Checksum 21:55:18 b85a868b505f: Download complete 21:55:18 bab4dde63d76: Verifying Checksum 21:55:18 bab4dde63d76: Download complete 21:55:19 b85a868b505f: Pull complete 21:55:19 e2be974225ed: Pull complete 21:55:20 339a4e72a1f5: Pull complete 21:55:20 988bab9f4d93: Pull complete 21:55:20 1469e6f7b9e6: Pull complete 21:55:20 eaf3925da568: Pull complete 21:55:22 bab4dde63d76: Pull complete 21:55:22 bde34c3a00c8: Pull complete 21:55:22 b352a97aabf1: Pull complete 21:55:22 4872d77fe225: Pull complete 21:55:22 5851b861e8e6: Pull complete 21:55:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:55:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:55:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:22 prd-ubuntu20.04-docker-8c-8g-16384 does not seem to be running inside a container 21:55:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:55:25 $ docker top 0fc2e3cb569b48e5b5478bd872437ae25a060d06e696269d0deab9cf970fb0d2 -eo pid,comm 21:55:25 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). 21:55:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:55:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:25 [ssh-agent] Looking for ssh-agent implementation... 21:55:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:26 $ docker exec 0fc2e3cb569b48e5b5478bd872437ae25a060d06e696269d0deab9cf970fb0d2 ssh-agent 21:55:26 SSH_AUTH_SOCK=/tmp/ssh-3G2FRf939niw/agent.32 21:55:26 SSH_AGENT_PID=38 21:55:26 Running ssh-add (command line suppressed) 21:55:26 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_15562597447094870231.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_15562597447094870231.key) 21:55:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:26 + git tag --points-at HEAD [Pipeline] } 21:55:26 $ docker exec --env ******** --env ******** 0fc2e3cb569b48e5b5478bd872437ae25a060d06e696269d0deab9cf970fb0d2 ssh-agent -k 21:55:26 unset SSH_AUTH_SOCK; 21:55:26 unset SSH_AGENT_PID; 21:55:26 echo Agent pid 38 killed; 21:55:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:55:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:26 [ssh-agent] Looking for ssh-agent implementation... 21:55:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:26 $ docker exec 0fc2e3cb569b48e5b5478bd872437ae25a060d06e696269d0deab9cf970fb0d2 ssh-agent 21:55:27 SSH_AUTH_SOCK=/tmp/ssh-l7MNpDSGwQTJ/agent.70 21:55:27 SSH_AGENT_PID=76 21:55:27 Running ssh-add (command line suppressed) 21:55:27 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_841348807864102874.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_841348807864102874.key) 21:55:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:27 + git semver init 21:55:27 2023-05-22 21:55:27,706 [run_init] DEBUG init version:0.0.0 force:False 21:55:27 2023-05-22 21:55:27,708 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver 21:55:27 2023-05-22 21:55:27,709 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-480/.semver 21:55:27 2023-05-22 21:55:27,709 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-480/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480, universal_newlines=False, shell=None, istream=None) 21:55:28 2023-05-22 21:55:28,530 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.git/info/exclude 21:55:28 2023-05-22 21:55:28,531 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 with force:False 21:55:28 2023-05-22 21:55:28,531 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 21:55:28 2023-05-22 21:55:28,534 [execute] INFO git cat-file --batch-check 21:55:28 2023-05-22 21:55:28,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) 21:55:28 2023-05-22 21:55:28,540 [execute] INFO git cat-file --batch 21:55:28 2023-05-22 21:55:28,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) 21:55:28 2023-05-22 21:55:28,547 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 21:55:28 0.0.0 [Pipeline] } 21:55:28 $ docker exec --env ******** --env ******** 0fc2e3cb569b48e5b5478bd872437ae25a060d06e696269d0deab9cf970fb0d2 ssh-agent -k 21:55:28 unset SSH_AUTH_SOCK; 21:55:28 unset SSH_AGENT_PID; 21:55:28 echo Agent pid 76 killed; 21:55:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:55:29 + git semver [Pipeline] } 21:55:29 $ docker stop --time=1 0fc2e3cb569b48e5b5478bd872437ae25a060d06e696269d0deab9cf970fb0d2 21:55:30 $ docker rm -f --volumes 0fc2e3cb569b48e5b5478bd872437ae25a060d06e696269d0deab9cf970fb0d2 [Pipeline] // withDockerContainer [Pipeline] sh 21:55:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:55:31 Stashed 1 file(s) [Pipeline] echo 21:55:31 [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 21:55:31 provisioning config files... 21:55:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config16379492763390587593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:31 ---> docker-login.sh 21:55:31 nexus3.edgexfoundry.org:10001 21:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:31 Configure a credential helper to remove this warning. See 21:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:31 21:55:31 Login Succeeded 21:55:31 nexus3.edgexfoundry.org:10002 21:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:31 Configure a credential helper to remove this warning. See 21:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:31 21:55:31 Login Succeeded 21:55:31 nexus3.edgexfoundry.org:10003 21:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:32 Configure a credential helper to remove this warning. See 21:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:32 21:55:32 Login Succeeded 21:55:32 nexus3.edgexfoundry.org:10004 21:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:32 Configure a credential helper to remove this warning. See 21:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:32 21:55:32 Login Succeeded 21:55:32 docker.io 21:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:32 Configure a credential helper to remove this warning. See 21:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:32 21:55:32 Login Succeeded 21:55:32 ---> docker-login.sh ends [Pipeline] } 21:55:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:55:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:32 ========================================================= 21:55:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:55:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:32 + 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 . 21:55:32 Sending build context to Docker daemon 6.537MB 21:55:32 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:55:32 Step 2/10 : FROM ${BASE} AS builder 21:55:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:55:32 f56be85fc22e: Pulling fs layer 21:55:32 85791d961cd3: Pulling fs layer 21:55:32 d694b5ae8c79: Pulling fs layer 21:55:32 9f32a84ed3da: Pulling fs layer 21:55:32 4d19c01a9841: Pulling fs layer 21:55:32 9325e15d5711: Pulling fs layer 21:55:32 556b6ee489ea: Pulling fs layer 21:55:32 c5a4b2cf53e6: Pulling fs layer 21:55:32 4d19c01a9841: Waiting 21:55:32 9325e15d5711: Waiting 21:55:32 556b6ee489ea: Waiting 21:55:32 c5a4b2cf53e6: Waiting 21:55:32 9f32a84ed3da: Waiting 21:55:32 85791d961cd3: Download complete 21:55:32 9f32a84ed3da: Verifying Checksum 21:55:32 9f32a84ed3da: Download complete 21:55:32 4d19c01a9841: Verifying Checksum 21:55:32 4d19c01a9841: Download complete 21:55:32 f56be85fc22e: Verifying Checksum 21:55:32 f56be85fc22e: Download complete 21:55:32 9325e15d5711: Verifying Checksum 21:55:32 9325e15d5711: Download complete 21:55:32 f56be85fc22e: Pull complete 21:55:33 85791d961cd3: Pull complete 21:55:33 c5a4b2cf53e6: Verifying Checksum 21:55:33 c5a4b2cf53e6: Download complete 21:55:33 d694b5ae8c79: Download complete 21:55:33 556b6ee489ea: Verifying Checksum 21:55:33 556b6ee489ea: Download complete 21:55:37 d694b5ae8c79: Pull complete 21:55:37 9f32a84ed3da: Pull complete 21:55:37 4d19c01a9841: Pull complete 21:55:37 9325e15d5711: Pull complete 21:55:39 556b6ee489ea: Pull complete 21:55:40 c5a4b2cf53e6: Pull complete 21:55:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:55:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:55:40 ---> c4be618373d6 21:55:40 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:55:44 ---> Running in 8e2de1b00dfc 21:55:44 Removing intermediate container 8e2de1b00dfc 21:55:44 ---> 2fbb6e44aaa7 21:55:44 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:55:44 ---> Running in 374b2f848860 21:55:45 Removing intermediate container 374b2f848860 21:55:45 ---> e1d98fcdd36d 21:55:45 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:55:45 ---> Running in 7a3b02a61ab4 21:55:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:55:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:55:45 (1/8) Installing openssh-keygen (9.1_p1-r3) 21:55:45 (2/8) Installing libedit (20221030.3.1-r0) 21:55:45 (3/8) Installing openssh-client-common (9.1_p1-r3) 21:55:45 (4/8) Installing openssh-client-default (9.1_p1-r3) 21:55:45 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 21:55:45 (6/8) Installing openssh-server-common (9.1_p1-r3) 21:55:45 (7/8) Installing openssh-server (9.1_p1-r3) 21:55:45 (8/8) Installing openssh (9.1_p1-r3) 21:55:46 Executing busybox-1.35.0-r29.trigger 21:55:46 OK: 270 MiB in 61 packages 21:55:46 Still waiting to schedule task 21:55:46 ‘prd-centos7-blackbox-4c-2g-16172’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:55:46 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16385’ is offline 21:55:46 Removing intermediate container 7a3b02a61ab4 21:55:46 ---> a5024c365df6 21:55:46 Step 6/10 : WORKDIR /device-modbus-go 21:55:46 ---> Running in 4e5e9340a517 21:55:46 Removing intermediate container 4e5e9340a517 21:55:46 ---> f98f37ce00f1 21:55:46 Step 7/10 : COPY go.mod vendor* ./ 21:55:46 ---> 777ba5d92eb8 21:55:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:55:46 ---> Running in 7a0a5918ccfd 21:56:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16385 in /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] { [Pipeline] ws 21:56:10 Running in /w/workspace/device-modbus-go/6 [Pipeline] { [Pipeline] checkout 21:56:10 Selected Git installation does not exist. Using Default 21:56:10 The recommended git tool is: NONE 21:56:13 Removing intermediate container 7a0a5918ccfd 21:56:13 ---> dc1767c8ecc9 21:56:13 Step 9/10 : COPY . . 21:56:13 ---> e44bebf92b75 21:56:13 Step 10/10 : RUN ${MAKE} 21:56:13 ---> Running in a5f67505c05b 21:56:13 noop 21:56:13 Removing intermediate container a5f67505c05b 21:56:13 ---> a347eb97f2b5 21:56:13 Successfully built a347eb97f2b5 21:56:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:13 + docker inspect -f . ci-base-image-x86_64 21:56:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:13 prd-ubuntu20.04-docker-8c-8g-16384 does not seem to be running inside a container 21:56:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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 ******** ci-base-image-x86_64 cat 21:56:14 $ docker top ebd0d5750facdbf1b46d1e99ef38b2696ceeb6433086b84ba7452ee99cdae553 -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:14 + go version 21:56:14 go version go1.20.2 linux/amd64 [Pipeline] } 21:56:14 $ docker stop --time=1 ebd0d5750facdbf1b46d1e99ef38b2696ceeb6433086b84ba7452ee99cdae553 21:56:15 $ docker rm -f --volumes ebd0d5750facdbf1b46d1e99ef38b2696ceeb6433086b84ba7452ee99cdae553 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:16 + docker inspect -f . ci-base-image-x86_64 21:56:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:16 prd-ubuntu20.04-docker-8c-8g-16384 does not seem to be running inside a container 21:56:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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 ******** ci-base-image-x86_64 cat 21:56:16 $ docker top 78b5974dba2635fc731870cf2af7a502eb4c8e8ccd3e3cae30657c4e45e18d62 -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:17 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] fileExists [Pipeline] sh 21:56:17 using credential edgex-jenkins-ssh 21:56:17 Cloning the remote Git repository 21:56:17 + make test 21:56:17 go test ./... -coverprofile=coverage.out 21:56:17 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:56:17 > git init /w/workspace/device-modbus-go/6 # timeout=10 21:56:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:56:17 > git --version # timeout=10 21:56:17 > git --version # 'git version 2.25.1' 21:56:17 using GIT_SSH to set credentials SSH Credentials for GitHub 21:56:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:56:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:56:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:56:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:56:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:56:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:56:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:56:20 Merging remotes/origin/main commit c2a684ad799e189efd0923067d1fe2be35db2ba6 into PR head commit 0c3f6a60187eeeff7b7df055b6cf7399659b9316 21:56:21 Merge succeeded, producing 0c3f6a60187eeeff7b7df055b6cf7399659b9316 21:56:21 Checking out Revision 0c3f6a60187eeeff7b7df055b6cf7399659b9316 (PR-480) 21:56:21 Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" 21:56:20 > git config core.sparsecheckout # timeout=10 21:56:20 > git checkout -f 0c3f6a60187eeeff7b7df055b6cf7399659b9316 # timeout=10 21:56:21 > git remote # timeout=10 21:56:21 > git config --get remote.origin.url # timeout=10 21:56:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:56:21 > git merge c2a684ad799e189efd0923067d1fe2be35db2ba6 # timeout=10 21:56:21 > git rev-parse HEAD^{commit} # timeout=10 21:56:21 > git config core.sparsecheckout # timeout=10 21:56:21 > git checkout -f 0c3f6a60187eeeff7b7df055b6cf7399659b9316 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:56:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:56:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:56:22 % Total % Received % Xferd Average Speed Time Time Time Current 21:56:22 Dload Upload Total Spent Left Speed 21:56:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 21:56:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:56:23 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:56:23 sudo tee /etc/docker/daemon.new 21:56:23 { 21:56:23 "registry-mirrors": [ 21:56:23 "https://nexus3.edgexfoundry.org:10001" 21:56:23 ], 21:56:23 "bip": "10.250.0.254/24", 21:56:23 "hosts": [ 21:56:23 "tcp://0.0.0.0:5555", 21:56:23 "unix:///var/run/docker.sock" 21:56:23 ], 21:56:23 "mtu": 1458, 21:56:23 "selinux-enabled": true, 21:56:23 "seccomp-profile": "/etc/docker/seccomp.json" 21:56:23 } [Pipeline] sh 21:56:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:56:24 + sudo service docker restart 21:56:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:56:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements 21:56:37 go vet ./... 21:56:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:56:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:56:40 ./bin/test-attribution-txt.sh [Pipeline] echo 21:56:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:56:40 $ docker stop --time=1 78b5974dba2635fc731870cf2af7a502eb4c8e8ccd3e3cae30657c4e45e18d62 21:56:43 $ docker rm -f --volumes 78b5974dba2635fc731870cf2af7a502eb4c8e8ccd3e3cae30657c4e45e18d62 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:56:43 provisioning config files... 21:56:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config13134717812713508998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:56:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:56:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 21:56:44 ---> docker-login.sh 21:56:44 nexus3.edgexfoundry.org:10001 [Pipeline] sh 21:56:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:44 + ls -al . 21:56:44 total 184 21:56:44 drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:56 . 21:56:44 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:55 .. 21:56:44 -rw-rw-r-- 1 jenkins jenkins 140 May 22 21:55 .dockerignore 21:56:44 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:55 .git 21:56:44 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:55 .github 21:56:44 -rw-rw-r-- 1 jenkins jenkins 331 May 22 21:55 .gitignore 21:56:44 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:55 .golangci.yml 21:56:44 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:55 .semver 21:56:44 -rw-rw-r-- 1 jenkins jenkins 10132 May 22 21:55 Attribution.txt 21:56:44 -rw-rw-r-- 1 jenkins jenkins 11576 May 22 21:55 CHANGELOG.md 21:56:44 -rw-rw-r-- 1 jenkins jenkins 1365 May 22 21:55 Dockerfile 21:56:44 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:55 GOVERNANCE.md 21:56:44 -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:55 Jenkinsfile 21:56:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:55 LICENSE 21:56:44 -rw-rw-r-- 1 jenkins jenkins 1705 May 22 21:55 Makefile 21:56:44 -rw-rw-r-- 1 jenkins jenkins 622 May 22 21:55 OWNERS.md 21:56:44 -rw-rw-r-- 1 jenkins jenkins 4554 May 22 21:55 README.md 21:56:44 -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:55 VERSION 21:56:44 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:55 bin 21:56:44 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:55 cmd 21:56:44 -rw-r--r-- 1 jenkins jenkins 24160 May 22 21:56 coverage.out 21:56:44 -rw-rw-r-- 1 jenkins jenkins 3453 May 22 21:55 go.mod 21:56:44 -rw-rw-r-- 1 jenkins jenkins 31670 May 22 21:55 go.sum 21:56:44 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:55 internal 21:56:44 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:55 simulator 21:56:44 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:55 snap 21:56:44 -rw-rw-r-- 1 jenkins jenkins 229 May 22 21:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:45 Configure a credential helper to remove this warning. See 21:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:45 21:56:45 Login Succeeded 21:56:45 nexus3.edgexfoundry.org:10002 21:56:45 + 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=0c3f6a60187eeeff7b7df055b6cf7399659b9316 --label arch=amd64 --label version=0.0.0 . 21:56:45 Sending build context to Docker daemon 6.562MB 21:56:45 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:56:45 Step 2/22 : FROM ${BASE} AS builder 21:56:45 ---> a347eb97f2b5 21:56:45 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:45 Configure a credential helper to remove this warning. See 21:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:45 21:56:45 Login Succeeded 21:56:45 nexus3.edgexfoundry.org:10003 21:56:45 ---> Running in 2c6eb045c210 21:56:45 Removing intermediate container 2c6eb045c210 21:56:45 ---> c750bd14782c 21:56:45 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:56:45 ---> Running in e0b859468d65 21:56:45 Removing intermediate container e0b859468d65 21:56:45 ---> 892709fc85ed 21:56:45 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:45 ---> Running in 7eecdb23ae6c 21:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:45 Configure a credential helper to remove this warning. See 21:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:45 21:56:45 Login Succeeded 21:56:45 nexus3.edgexfoundry.org:10004 21:56:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:56:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:46 Configure a credential helper to remove this warning. See 21:56:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:46 21:56:46 Login Succeeded 21:56:46 docker.io 21:56:46 OK: 270 MiB in 61 packages 21:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:46 Removing intermediate container 7eecdb23ae6c 21:56:46 ---> 039a01480dcd 21:56:46 Step 6/22 : WORKDIR /device-modbus-go 21:56:46 ---> Running in 076b6f441b0f 21:56:46 Removing intermediate container 076b6f441b0f 21:56:46 ---> 05a58fd60ca8 21:56:46 Step 7/22 : COPY go.mod vendor* ./ 21:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:46 Configure a credential helper to remove this warning. See 21:56:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:46 21:56:46 Login Succeeded 21:56:46 ---> docker-login.sh ends [Pipeline] } 21:56:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 21:56:46 ---> 25dd1766f38e 21:56:46 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:56:46 ---> Running in 2232fa79e7d8 [Pipeline] echo 21:56:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:56:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:56:47 ========================================================= 21:56:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:56:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:47 Removing intermediate container 2232fa79e7d8 21:56:47 ---> 3779d61c53a2 21:56:47 Step 9/22 : COPY . . 21:56:47 + 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 . 21:56:47 Sending build context to Docker daemon 3.422MB 21:56:47 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:56:47 Step 2/10 : FROM ${BASE} AS builder 21:56:48 ---> 211d063a2f93 21:56:48 Step 10/22 : RUN ${MAKE} 21:56:48 ---> Running in 4c970ccda965 21:56:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:56:48 c41833b44d91: Pulling fs layer 21:56:48 ed15518f5707: Pulling fs layer 21:56:48 feae8fd75edb: Pulling fs layer 21:56:48 242c74f7c9fa: Pulling fs layer 21:56:48 3cdef696dda3: Pulling fs layer 21:56:48 2ced38df9373: Pulling fs layer 21:56:48 58f1dce35555: Pulling fs layer 21:56:48 242c74f7c9fa: Waiting 21:56:48 3cdef696dda3: Waiting 21:56:48 2ced38df9373: Waiting 21:56:48 58f1dce35555: Waiting 21:56:48 ed15518f5707: Verifying Checksum 21:56:48 ed15518f5707: Download complete 21:56:48 242c74f7c9fa: Verifying Checksum 21:56:48 242c74f7c9fa: Download complete 21:56:48 3cdef696dda3: Verifying Checksum 21:56:48 3cdef696dda3: Download complete 21:56:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:56:48 c41833b44d91: Verifying Checksum 21:56:48 c41833b44d91: Download complete 21:56:49 58f1dce35555: Verifying Checksum 21:56:49 58f1dce35555: Download complete 21:56:51 feae8fd75edb: Verifying Checksum 21:56:51 feae8fd75edb: Download complete 21:56:51 2ced38df9373: Verifying Checksum 21:56:52 c41833b44d91: Pull complete 21:56:52 ed15518f5707: Pull complete 21:57:08 feae8fd75edb: Pull complete 21:57:08 242c74f7c9fa: Pull complete 21:57:08 3cdef696dda3: Pull complete 21:57:08 Removing intermediate container 4c970ccda965 21:57:08 ---> 714b12fc014d 21:57:08 Step 11/22 : FROM alpine:3.17 21:57:08 3.17: Pulling from library/alpine 21:57:08 f56be85fc22e: Already exists 21:57:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:57:08 Status: Downloaded newer image for alpine:3.17 21:57:08 ---> 9ed4aefc74f6 21:57:08 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:57:08 ---> Running in 940d9f54ee79 21:57:08 Removing intermediate container 940d9f54ee79 21:57:08 ---> 17e6ded05b82 21:57:08 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:57:08 ---> Running in cad151335e83 21:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:57:08 (1/1) Installing dumb-init (1.2.5-r2) 21:57:08 Executing busybox-1.35.0-r29.trigger 21:57:08 OK: 7 MiB in 16 packages 21:57:08 Removing intermediate container cad151335e83 21:57:08 ---> 599b9164240d 21:57:08 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:57:08 ---> 0e298d418bb0 21:57:08 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:57:08 ---> bbe015be1ceb 21:57:08 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:57:08 ---> fbe3979a7732 21:57:08 Step 17/22 : EXPOSE 59901 21:57:08 ---> Running in 27615f134bc3 21:57:08 Removing intermediate container 27615f134bc3 21:57:08 ---> 0705e7d224aa 21:57:08 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:57:08 ---> Running in a6ea61aad261 21:57:08 Removing intermediate container a6ea61aad261 21:57:08 ---> 50adf3215b27 21:57:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:57:08 ---> Running in 89ba76b37977 21:57:08 Removing intermediate container 89ba76b37977 21:57:08 ---> b392c096566b 21:57:08 Step 20/22 : LABEL arch=amd64 21:57:08 ---> Running in d353aa7fce8a 21:57:08 Removing intermediate container d353aa7fce8a 21:57:08 ---> e7defdc422ae 21:57:08 Step 21/22 : LABEL git_sha=0c3f6a60187eeeff7b7df055b6cf7399659b9316 21:57:08 ---> Running in 1d1300823391 21:57:08 Removing intermediate container 1d1300823391 21:57:08 ---> 9cd61835c60d 21:57:08 Step 22/22 : LABEL version=0.0.0 21:57:08 ---> Running in 204438e20821 21:57:09 Removing intermediate container 204438e20821 21:57:09 ---> 64788dbddf5a 21:57:09 [Warning] One or more build-args [ARCH] were not consumed 21:57:09 Successfully built 64788dbddf5a 21:57:09 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 21:57:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:09 21:57:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:09 latest: Pulling from edgex-lftools-log-publisher 21:57:09 5eb5b503b376: Pulling fs layer 21:57:09 5c69ac0246d0: Pulling fs layer 21:57:09 ec43610c2a17: Pulling fs layer 21:57:09 3a2ae6a8a46f: Pulling fs layer 21:57:09 33b1e0a273af: Pulling fs layer 21:57:09 5d3b04190fa2: Pulling fs layer 21:57:09 2f39f015ded8: Pulling fs layer 21:57:09 3a2ae6a8a46f: Waiting 21:57:09 33b1e0a273af: Waiting 21:57:09 5d3b04190fa2: Waiting 21:57:09 2f39f015ded8: Waiting 21:57:09 5c69ac0246d0: Verifying Checksum 21:57:09 5c69ac0246d0: Download complete 21:57:09 3a2ae6a8a46f: Verifying Checksum 21:57:09 3a2ae6a8a46f: Download complete 21:57:09 33b1e0a273af: Verifying Checksum 21:57:09 33b1e0a273af: Download complete 21:57:09 5d3b04190fa2: Verifying Checksum 21:57:09 5d3b04190fa2: Download complete 21:57:09 ec43610c2a17: Verifying Checksum 21:57:09 ec43610c2a17: Download complete 21:57:10 5eb5b503b376: Verifying Checksum 21:57:10 5eb5b503b376: Download complete 21:57:11 5eb5b503b376: Pull complete 21:57:11 5c69ac0246d0: Pull complete 21:57:11 ec43610c2a17: Pull complete 21:57:11 3a2ae6a8a46f: Pull complete 21:57:12 33b1e0a273af: Pull complete 21:57:12 5d3b04190fa2: Pull complete 21:57:13 2ced38df9373: Pull complete 21:57:16 58f1dce35555: Pull complete 21:57:16 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:57:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:57:16 ---> fadd8f120f05 21:57:16 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:57:16 2f39f015ded8: Pull complete 21:57:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:57:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:16 prd-ubuntu20.04-docker-8c-8g-16384 does not seem to be running inside a container 21:57:16 $ 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-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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-lftools-log-publisher:latest cat 21:57:18 ---> Running in 85907078ede7 21:57:18 Removing intermediate container 85907078ede7 21:57:18 ---> ea6b4e3efd5b 21:57:18 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:57:18 ---> Running in 3f799115fe27 21:57:18 Removing intermediate container 3f799115fe27 21:57:18 ---> dca2d39c205d 21:57:18 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:57:18 ---> Running in f05e0ac63697 21:57:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:57:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:57:20 $ docker top 2be129d27368ab506dd273c9b0129aba2a6387b21bbac950cacfe201e2584ce6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:21 ---> job-cost.sh 21:57:21 lf-activate-venv: SKIPPING 21:57:21 INFO: No Stack... 21:57:21 INFO: Retrieving Pricing Info for: v3-standard-8 21:57:21 (1/8) Installing openssh-keygen (9.1_p1-r3) 21:57:21 (2/8) Installing libedit (20221030.3.1-r0) 21:57:21 (3/8) Installing openssh-client-common (9.1_p1-r3) 21:57:21 (4/8) Installing openssh-client-default (9.1_p1-r3) 21:57:21 INFO: Archiving Costs [Pipeline] sh 21:57:22 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 21:57:22 (6/8) Installing openssh-server-common (9.1_p1-r3) 21:57:22 (7/8) Installing openssh-server (9.1_p1-r3) 21:57:22 (8/8) Installing openssh (9.1_p1-r3) 21:57:22 Executing busybox-1.35.0-r29.trigger 21:57:22 OK: 270 MiB in 61 packages 21:57:22 + cat /w/workspace/xfoundry_device-modbus-go_PR-480/archives/cost.csv 21:57:22 + cut -d, -f6 [Pipeline] lock 21:57:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-6-stack-cost] 21:57:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-6-stack-cost] did not exist. Created. 21:57:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:57:22 + echo total: 0.2199999988079071 [Pipeline] stash 21:57:22 Stashed 1 file(s) [Pipeline] } 21:57:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-6-stack-cost] [Pipeline] // lock [Pipeline] } 21:57:22 $ docker stop --time=1 2be129d27368ab506dd273c9b0129aba2a6387b21bbac950cacfe201e2584ce6 21:57:23 Removing intermediate container f05e0ac63697 21:57:23 ---> 3c4ac742f825 21:57:23 Step 6/10 : WORKDIR /device-modbus-go 21:57:23 ---> Running in 9c99c5c43a03 21:57:23 Removing intermediate container 9c99c5c43a03 21:57:23 ---> 516c8cda494e 21:57:23 Step 7/10 : COPY go.mod vendor* ./ 21:57:23 $ docker rm -f --volumes 2be129d27368ab506dd273c9b0129aba2a6387b21bbac950cacfe201e2584ce6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:57:24 ---> 44713ec52940 21:57:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:57:24 ---> Running in 6606d0bb8268 21:58:32 Removing intermediate container 6606d0bb8268 21:58:32 ---> 373a53ec381a 21:58:32 Step 9/10 : COPY . . 21:58:32 ---> 3e453b803e06 21:58:32 Step 10/10 : RUN ${MAKE} 21:58:32 ---> Running in aeb637f9004b 21:58:32 noop 21:58:32 Removing intermediate container aeb637f9004b 21:58:32 ---> d7d12d5b6a38 21:58:32 Successfully built d7d12d5b6a38 21:58:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:32 + docker inspect -f . ci-base-image-arm64 21:58:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:33 prd-ubuntu20.04-docker-arm64-4c-16g-16385 does not seem to be running inside a container 21:58:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@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 ******** ci-base-image-arm64 cat 21:58:34 $ docker top 80b78f0ba937298dd076951610bfaad113533116b044f8542989868b95d98891 -eo pid,comm [Pipeline] { [Pipeline] sh 21:58:35 + go version 21:58:35 go version go1.20.2 linux/arm64 [Pipeline] } 21:58:35 $ docker stop --time=1 80b78f0ba937298dd076951610bfaad113533116b044f8542989868b95d98891 21:58:37 $ docker rm -f --volumes 80b78f0ba937298dd076951610bfaad113533116b044f8542989868b95d98891 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:37 + docker inspect -f . ci-base-image-arm64 21:58:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:37 prd-ubuntu20.04-docker-arm64-4c-16g-16385 does not seem to be running inside a container 21:58:37 $ 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/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@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 ******** ci-base-image-arm64 cat 21:58:41 $ docker top 5998c45170080d20f94a7dc8af386fc1a4840d7474bf28f7674ece0a302d1f57 -eo pid,comm [Pipeline] { [Pipeline] sh 21:58:42 + git config --global --add safe.directory /w/workspace/device-modbus-go/6 [Pipeline] fileExists [Pipeline] sh 21:58:43 + make test 21:58:43 go test ./... -coverprofile=coverage.out 21:59:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:01:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:01:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.4% of statements 22:01:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:01:59 go vet ./... 22:02:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:02:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:02:31 ./bin/test-attribution-txt.sh [Pipeline] echo 22:02:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:02:31 $ docker stop --time=1 5998c45170080d20f94a7dc8af386fc1a4840d7474bf28f7674ece0a302d1f57 22:02:33 $ docker rm -f --volumes 5998c45170080d20f94a7dc8af386fc1a4840d7474bf28f7674ece0a302d1f57 [Pipeline] // withDockerContainer [Pipeline] sh 22:02:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:02:34 Warning: overwriting stash ‘coverage-report’ 22:02:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:02:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:02:36 + ls -al . 22:02:36 total 180 22:02:36 drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:58 . 22:02:36 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:56 .. 22:02:36 -rw-rw-r-- 1 jenkins jenkins 140 May 22 21:56 .dockerignore 22:02:36 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:56 .git 22:02:36 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:56 .github 22:02:36 -rw-rw-r-- 1 jenkins jenkins 331 May 22 21:56 .gitignore 22:02:36 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:56 .golangci.yml 22:02:36 -rw-rw-r-- 1 jenkins jenkins 10132 May 22 21:56 Attribution.txt 22:02:36 -rw-rw-r-- 1 jenkins jenkins 11576 May 22 21:56 CHANGELOG.md 22:02:36 -rw-rw-r-- 1 jenkins jenkins 1365 May 22 21:56 Dockerfile 22:02:36 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:56 GOVERNANCE.md 22:02:36 -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:56 Jenkinsfile 22:02:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:56 LICENSE 22:02:36 -rw-rw-r-- 1 jenkins jenkins 1705 May 22 21:56 Makefile 22:02:36 -rw-rw-r-- 1 jenkins jenkins 622 May 22 21:56 OWNERS.md 22:02:36 -rw-rw-r-- 1 jenkins jenkins 4554 May 22 21:56 README.md 22:02:36 -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:55 VERSION 22:02:36 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:56 bin 22:02:36 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:56 cmd 22:02:36 -rw-r--r-- 1 jenkins jenkins 24160 May 22 22:01 coverage.out 22:02:36 -rw-rw-r-- 1 jenkins jenkins 3453 May 22 21:56 go.mod 22:02:36 -rw-rw-r-- 1 jenkins jenkins 31670 May 22 21:56 go.sum 22:02:36 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:56 internal 22:02:36 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:56 simulator 22:02:36 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:56 snap 22:02:36 -rw-rw-r-- 1 jenkins jenkins 229 May 22 21:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:36 + 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=0c3f6a60187eeeff7b7df055b6cf7399659b9316 --label arch=arm64 --label version=0.0.0 . 22:02:36 Sending build context to Docker daemon 3.447MB 22:02:37 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 22:02:37 Step 2/22 : FROM ${BASE} AS builder 22:02:37 ---> d7d12d5b6a38 22:02:37 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:02:37 ---> Running in 2086a96db00e 22:02:37 Removing intermediate container 2086a96db00e 22:02:37 ---> ef76c2db0050 22:02:37 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:02:37 ---> Running in 9166950d123e 22:02:37 Removing intermediate container 9166950d123e 22:02:37 ---> 76f1ef6a7b96 22:02:37 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:02:37 ---> Running in 2c91376bf1df 22:02:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:02:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:02:41 OK: 270 MiB in 61 packages 22:02:42 Removing intermediate container 2c91376bf1df 22:02:42 ---> 1d0c43916355 22:02:42 Step 6/22 : WORKDIR /device-modbus-go 22:02:42 ---> Running in 1f9bdd9ded8d 22:02:42 Removing intermediate container 1f9bdd9ded8d 22:02:42 ---> e15051dd93c7 22:02:42 Step 7/22 : COPY go.mod vendor* ./ 22:02:43 ---> 0c22600283b9 22:02:43 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:02:43 ---> Running in d84dfed76bc2 22:02:45 Removing intermediate container d84dfed76bc2 22:02:45 ---> e2cddd9c944a 22:02:45 Step 9/22 : COPY . . 22:02:46 ---> a23e3cec5c8b 22:02:46 Step 10/22 : RUN ${MAKE} 22:02:46 ---> Running in b2d7d11634ac 22:02:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:05:24 Removing intermediate container b2d7d11634ac 22:05:24 ---> 159c627ff6be 22:05:24 Step 11/22 : FROM alpine:3.17 22:05:24 3.17: Pulling from library/alpine 22:05:24 c41833b44d91: Already exists 22:05:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:05:24 Status: Downloaded newer image for alpine:3.17 22:05:24 ---> 51e60588ff2c 22:05:24 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:05:24 ---> Running in 4d3fefcbc828 22:05:24 Removing intermediate container 4d3fefcbc828 22:05:24 ---> 1698e4112003 22:05:24 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:05:24 ---> Running in e63bc2158cf6 22:05:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:05:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:05:24 (1/1) Installing dumb-init (1.2.5-r2) 22:05:24 Executing busybox-1.35.0-r29.trigger 22:05:24 OK: 8 MiB in 16 packages 22:05:24 Removing intermediate container e63bc2158cf6 22:05:24 ---> a2e81ae826e3 22:05:24 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:05:24 ---> 627103e13a4d 22:05:24 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:05:24 ---> f33061ff2d06 22:05:24 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:05:24 ---> 6ad032a0d4e4 22:05:24 Step 17/22 : EXPOSE 59901 22:05:24 ---> Running in 21d9f7c4fb93 22:05:24 Removing intermediate container 21d9f7c4fb93 22:05:24 ---> 3a6c24b60644 22:05:24 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:05:24 ---> Running in df9cf9936fe4 22:05:25 Removing intermediate container df9cf9936fe4 22:05:25 ---> 6406d5f3f3de 22:05:25 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:05:25 ---> Running in ef8515c82ebd 22:05:25 Removing intermediate container ef8515c82ebd 22:05:25 ---> 2d881a6c1b70 22:05:25 Step 20/22 : LABEL arch=arm64 22:05:25 ---> Running in c08153736d85 22:05:25 Removing intermediate container c08153736d85 22:05:25 ---> abd97c269c77 22:05:25 Step 21/22 : LABEL git_sha=0c3f6a60187eeeff7b7df055b6cf7399659b9316 22:05:26 ---> Running in bba1089482e9 22:05:26 Removing intermediate container bba1089482e9 22:05:26 ---> 4be3601a0957 22:05:26 Step 22/22 : LABEL version=0.0.0 22:05:26 ---> Running in 1b2008848b4b 22:05:26 Removing intermediate container 1b2008848b4b 22:05:26 ---> 147d88a25738 22:05:26 [Warning] One or more build-args [ARCH] were not consumed 22:05:26 Successfully built 147d88a25738 22:05:26 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 22:05:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:05:27 22:05:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:05:27 arm64: Pulling from edgex-lftools-log-publisher 22:05:27 8998bd30e6a1: Pulling fs layer 22:05:27 04944245beec: Pulling fs layer 22:05:27 699f458cf7ca: Pulling fs layer 22:05:27 765212b225bb: Pulling fs layer 22:05:27 f23df028b6ca: Pulling fs layer 22:05:27 d65c8cfc05b1: Pulling fs layer 22:05:27 2437ff75d9bd: Pulling fs layer 22:05:27 765212b225bb: Waiting 22:05:27 f23df028b6ca: Waiting 22:05:27 d65c8cfc05b1: Waiting 22:05:27 2437ff75d9bd: Waiting 22:05:28 04944245beec: Verifying Checksum 22:05:28 04944245beec: Download complete 22:05:28 765212b225bb: Verifying Checksum 22:05:28 765212b225bb: Download complete 22:05:28 f23df028b6ca: Verifying Checksum 22:05:28 f23df028b6ca: Download complete 22:05:28 d65c8cfc05b1: Verifying Checksum 22:05:28 d65c8cfc05b1: Download complete 22:05:28 699f458cf7ca: Verifying Checksum 22:05:28 699f458cf7ca: Download complete 22:05:28 8998bd30e6a1: Verifying Checksum 22:05:28 8998bd30e6a1: Download complete 22:05:31 2437ff75d9bd: Verifying Checksum 22:05:31 2437ff75d9bd: Download complete 22:05:33 8998bd30e6a1: Pull complete 22:05:33 04944245beec: Pull complete 22:05:35 699f458cf7ca: Pull complete 22:05:35 765212b225bb: Pull complete 22:05:36 f23df028b6ca: Pull complete 22:05:36 d65c8cfc05b1: Pull complete 22:05:51 2437ff75d9bd: Pull complete 22:05:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:05:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:05:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:51 prd-ubuntu20.04-docker-arm64-4c-16g-16385 does not seem to be running inside a container 22:05:51 $ 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/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:05:54 $ docker top a0c53a676c90bbd844ef022029e0470b0864a37a2f6c84c402eabf5423196bdf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:55 ---> job-cost.sh 22:05:55 lf-activate-venv: SKIPPING 22:05:55 INFO: No Stack... 22:05:56 INFO: Retrieving Pricing Info for: v3-standard-4 22:05:56 INFO: Archiving Costs [Pipeline] sh 22:05:57 + cat /w/workspace/device-modbus-go/6/archives/cost.csv 22:05:57 + cut -d, -f6 [Pipeline] lock 22:05:57 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-6-stack-cost] 22:05:57 Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-6-stack-cost] did not exist. Created. 22:05:57 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:05:58 /w/workspace/device-modbus-go/6@tmp/durable-5dfb77c2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:05:58 + echo total: 0.10999999940395355 [Pipeline] stash 22:05:58 Warning: overwriting stash ‘stack-cost’ 22:05:58 Stashed 1 file(s) [Pipeline] } 22:05:58 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-6-stack-cost] [Pipeline] // lock [Pipeline] } 22:05:58 $ docker stop --time=1 a0c53a676c90bbd844ef022029e0470b0864a37a2f6c84c402eabf5423196bdf 22:06:00 $ docker rm -f --volumes a0c53a676c90bbd844ef022029e0470b0864a37a2f6c84c402eabf5423196bdf [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 22:06:00 provisioning config files... 22:06:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config5877908629708941694tmp [Pipeline] { [Pipeline] sh 22:06:01 + set +x 22:06:01 + curl -s https://codecov.io/bash 22:06:01 + bash -s -- 22:06:01 22:06:01 _____ _ 22:06:01 / ____| | | 22:06:01 | | ___ __| | ___ ___ _____ __ 22:06:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:06:01 | |___| (_) | (_| | __/ (_| (_) \ V / 22:06:01 \_____\___/ \__,_|\___|\___\___/ \_/ 22:06:01 Bash-1.0.6 22:06:01 22:06:01 22:06:01 ==> git version 2.25.1 found 22:06:01 ==> 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 22:06:01 Release-Date: 2020-01-08 22:06:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:06:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:06:01 ==> Jenkins CI detected. 22:06:01 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-480 22:06:01 project root: . 22:06:01 --> token set from env 22:06:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:06:01 ==> Running gcov in . (disable via -X gcov) 22:06:01 ==> Python coveragepy not found 22:06:01 ==> Searching for coverage reports in: 22:06:01 + . 22:06:01 -> Found 1 reports 22:06:01 ==> Detecting git/mercurial file structure 22:06:01 ==> Reading reports 22:06:01 + ./coverage.out bytes=24160 22:06:01 ==> Appending adjustments 22:06:01 https://docs.codecov.io/docs/fixing-reports 22:06:01 + Found adjustments 22:06:01 ==> Gzipping contents 22:06:01 4.0K /tmp/codecov.3Edou6.gz 22:06:01 ==> Uploading reports 22:06:01 url: https://codecov.io 22:06:01 query: branch=PR-480&commit=0c3f6a60187eeeff7b7df055b6cf7399659b9316&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= 22:06:01 -> Pinging Codecov 22:06:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-480&commit=0c3f6a60187eeeff7b7df055b6cf7399659b9316&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= 22:06:01 -> Uploading to 22:06:01 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/55DBCA73C666E3227836607328DD7E49/0c3f6a60187eeeff7b7df055b6cf7399659b9316/25191277-134e-4c67-8fa4-7cc0e8e7deff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T220601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=44b59fa8fc28da0df9f6b3c055275fb73a948eaaa91f9d2a6c3ee5bf6fb94a9b 22:06:01 % Total % Received % Xferd Average Speed Time Time Time Current 22:06:01 Dload Upload Total Spent Left Speed 22:06:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 19330 --:--:-- --:--:-- --:--:-- 19330 100 3924 0 0 100 3924 0 18422 --:--:-- --:--:-- --:--:-- 18336 22:06:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/0c3f6a60187eeeff7b7df055b6cf7399659b9316 [Pipeline] } 22:06:01 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 22:06:02 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-480/archives ] 22:06:02 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives 22:06:02 total 16 22:06:02 drwxr-xr-x 3 root root 4096 May 22 21:57 . 22:06:02 drwxrwxr-x 11 jenkins jenkins 4096 May 22 21:57 .. 22:06:02 drwxr-xr-x 2 root root 4096 May 22 21:57 cost 22:06:02 -rw-r--r-- 1 root root 88 May 22 21:57 cost.csv 22:06:02 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-480/archives 22:06:02 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives 22:06:02 total 16 22:06:02 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:57 . 22:06:02 drwxrwxr-x 11 jenkins jenkins 4096 May 22 21:57 .. 22:06:02 drwxr-xr-x 2 jenkins jenkins 4096 May 22 21:57 cost 22:06:02 -rw-r--r-- 1 jenkins jenkins 88 May 22 21:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:06:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:06:03 ---> package-listing.sh 22:06:03 ++ facter osfamily 22:06:03 ++ tr '[:upper:]' '[:lower:]' 22:06:03 + OS_FAMILY=debian 22:06:03 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-480 22:06:03 + START_PACKAGES=/tmp/packages_start.txt 22:06:03 + END_PACKAGES=/tmp/packages_end.txt 22:06:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:06:03 + PACKAGES=/tmp/packages_start.txt 22:06:03 + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' 22:06:03 + PACKAGES=/tmp/packages_end.txt 22:06:03 + case "${OS_FAMILY}" in 22:06:03 + dpkg -l 22:06:03 + grep '^ii' 22:06:03 + '[' -f /tmp/packages_start.txt ']' 22:06:03 + '[' -f /tmp/packages_end.txt ']' 22:06:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:06:03 + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' 22:06:03 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ 22:06:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ [Pipeline] echo 22:06:03 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-480/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:06:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:04 prd-ubuntu20.04-docker-8c-8g-16384 does not seem to be running inside a container 22:06:04 $ 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-480/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-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:06:04 $ docker top 411533239f9ec1fdb9c287bd474ac02834d8307ada83ad2d15f3e456bc557c3d -eo pid,comm [Pipeline] { [Pipeline] sh 22:06:05 + touch /tmp/pre-build-complete [Pipeline] sh 22:06:05 + mkdir -p /var/log/sysstat [Pipeline] sh 22:06:05 + ls /var/log/sa-host 22:06:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:06:05 provisioning config files... 22:06:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config8728480344596555tmp [Pipeline] { [Pipeline] echo 22:06:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:06:06 ---> create-netrc.sh [Pipeline] } 22:06:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:06:06 ---> python-tools-install.sh [Pipeline] echo 22:06:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:06:06 ---> sudo-logs.sh 22:06:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:06:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:06:07 ---> job-cost.sh 22:06:07 lf-activate-venv: SKIPPING 22:06:07 DEBUG: total: 0.2199999988079071 22:06:07 INFO: Retrieving Stack Cost... 22:06:07 INFO: Retrieving Pricing Info for: v3-standard-8 22:06:07 INFO: Archiving Costs [Pipeline] echo 22:06:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:06:08 ---> logs-deploy.sh 22:06:08 lf-activate-venv: SKIPPING 22:06:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-480/6 22:06:08 INFO: archiving workspace using pattern(s): 22:06:09 Archives upload complete. 22:06:09 INFO: archiving logs to Nexus