Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3dfe206c6d0c39a2049002eceba5e982be12b096+5189b6b75de2ff976af34f9037f44b6050849efe (cfca10bf7dcf00b71ff5a4c8aa08320517a01c2c) 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-ssh15106931975330277307.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-ssh5723730805259437136.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-477/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-477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11282374596528479163.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-ssh15798359975108088982.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-477/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-477/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6478584746793880242.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-15135 in /w/workspace/xfoundry_device-modbus-go_PR-477 [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-477 # 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 Merging remotes/origin/main commit 5189b6b75de2ff976af34f9037f44b6050849efe into PR head commit 3dfe206c6d0c39a2049002eceba5e982be12b096 Merge succeeded, producing a9548ffaf2c8857c6f072a6d16731526296c0743 Checking out Revision a9548ffaf2c8857c6f072a6d16731526296c0743 (PR-477) 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/477/head:refs/remotes/origin/PR-477 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3dfe206c6d0c39a2049002eceba5e982be12b096 # 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 5189b6b75de2ff976af34f9037f44b6050849efe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9548ffaf2c8857c6f072a6d16731526296c0743 # timeout=10 Commit message: "Merge commit '5189b6b75de2ff976af34f9037f44b6050849efe' into HEAD" > git rev-list --no-walk 3dfe206c6d0c39a2049002eceba5e982be12b096 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:29 ========================================================= 00:54:29 EdgeX Global Pipelines Version Info 00:54:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:30 ------------------- 00:54:30 stable info: 00:54:30 ------------------- 00:54:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:54:30 Message: update stable to v1.0.249 00:54:30 ------------------- 00:54:30 experimental info: 00:54:30 ------------------- 00:54:30 Commited By: **** collab-it+edgex@linuxfoundation.org 00:54:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:54:30 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-477 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-477 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-477 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9548ffaf2c8857c6f072a6d16731526296c0743 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9548ff [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:31 provisioning config files... 00:54:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/config4072133811137288539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:31 ---> docker-login.sh 00:54:31 nexus3.edgexfoundry.org:10001 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 nexus3.edgexfoundry.org:10002 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 nexus3.edgexfoundry.org:10003 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 nexus3.edgexfoundry.org:10004 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 docker.io 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:33 Configure a credential helper to remove this warning. See 00:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:33 00:54:33 Login Succeeded 00:54:33 ---> docker-login.sh ends [Pipeline] } 00:54:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:33 + git rev-list -1 --merges a9548ffaf2c8857c6f072a6d16731526296c0743~1..a9548ffaf2c8857c6f072a6d16731526296c0743 [Pipeline] echo 00:54:33 -----------> git rev-list -1 --merges a9548ffaf2c8857c6f072a6d16731526296c0743~1..a9548ffaf2c8857c6f072a6d16731526296c0743 a9548ffaf2c8857c6f072a6d16731526296c0743 00:54:33 a9548ffaf2c8857c6f072a6d16731526296c0743 [false] [Pipeline] sh 00:54:34 + git log --format=format:%s -1 a9548ffaf2c8857c6f072a6d16731526296c0743 [Pipeline] echo 00:54:34 ========================================================= 00:54:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:34 + git log --format=format:%s -1 a9548ffaf2c8857c6f072a6d16731526296c0743 [Pipeline] echo 00:54:34 [semverPrep] GIT_COMMIT: a9548ffaf2c8857c6f072a6d16731526296c0743, Commit Message: Merge commit '5189b6b75de2ff976af34f9037f44b6050849efe' into HEAD [Pipeline] echo 00:54:34 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:34 + grep -v github /etc/ssh/ssh_known_hosts 00:54:34 + [ -e /tmp/ssh_known_hosts ] 00:54:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:34 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:34 sudo tee -a /etc/ssh/ssh_known_hosts 00:54:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:35 00:54:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:35 0.1.4: Pulling from edgex-devops/py-git-semver 00:54:35 b85a868b505f: Pulling fs layer 00:54:35 e2be974225ed: Pulling fs layer 00:54:35 339a4e72a1f5: Pulling fs layer 00:54:35 988bab9f4d93: Pulling fs layer 00:54:35 1469e6f7b9e6: Pulling fs layer 00:54:35 eaf3925da568: Pulling fs layer 00:54:35 bab4dde63d76: Pulling fs layer 00:54:35 bde34c3a00c8: Pulling fs layer 00:54:35 b352a97aabf1: Pulling fs layer 00:54:35 4872d77fe225: Pulling fs layer 00:54:35 988bab9f4d93: Waiting 00:54:35 1469e6f7b9e6: Waiting 00:54:35 bab4dde63d76: Waiting 00:54:35 b352a97aabf1: Waiting 00:54:35 eaf3925da568: Waiting 00:54:35 bde34c3a00c8: Waiting 00:54:35 5851b861e8e6: Pulling fs layer 00:54:35 4872d77fe225: Waiting 00:54:35 5851b861e8e6: Waiting 00:54:35 e2be974225ed: Download complete 00:54:35 988bab9f4d93: Verifying Checksum 00:54:35 988bab9f4d93: Download complete 00:54:35 1469e6f7b9e6: Verifying Checksum 00:54:35 1469e6f7b9e6: Download complete 00:54:35 eaf3925da568: Verifying Checksum 00:54:35 eaf3925da568: Download complete 00:54:35 339a4e72a1f5: Verifying Checksum 00:54:35 339a4e72a1f5: Download complete 00:54:35 bde34c3a00c8: Download complete 00:54:35 b352a97aabf1: Verifying Checksum 00:54:35 b352a97aabf1: Download complete 00:54:35 4872d77fe225: Verifying Checksum 00:54:35 4872d77fe225: Download complete 00:54:35 5851b861e8e6: Download complete 00:54:35 b85a868b505f: Download complete 00:54:36 bab4dde63d76: Verifying Checksum 00:54:36 bab4dde63d76: Download complete 00:54:37 b85a868b505f: Pull complete 00:54:37 e2be974225ed: Pull complete 00:54:37 339a4e72a1f5: Pull complete 00:54:37 988bab9f4d93: Pull complete 00:54:38 1469e6f7b9e6: Pull complete 00:54:38 eaf3925da568: Pull complete 00:54:40 bab4dde63d76: Pull complete 00:54:40 bde34c3a00c8: Pull complete 00:54:41 b352a97aabf1: Pull complete 00:54:41 4872d77fe225: Pull complete 00:54:42 5851b861e8e6: Pull complete 00:54:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:42 prd-ubuntu20.04-docker-8c-8g-15135 does not seem to be running inside a container 00:54:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-477 -v /w/workspace/xfoundry_device-modbus-go_PR-477:/w/workspace/xfoundry_device-modbus-go_PR-477:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-477@tmp:/w/workspace/xfoundry_device-modbus-go_PR-477@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:54:49 $ docker top 7d5ba9f25e6e78d6564d341da60e0f3291c80ecd0884d1b1ffc82620aebb0cbf -eo pid,comm 00:54:49 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). 00:54:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:49 [ssh-agent] Looking for ssh-agent implementation... 00:54:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:49 $ docker exec 7d5ba9f25e6e78d6564d341da60e0f3291c80ecd0884d1b1ffc82620aebb0cbf ssh-agent 00:54:49 SSH_AUTH_SOCK=/tmp/ssh-rdgAIuSaTvUO/agent.14 00:54:49 SSH_AGENT_PID=20 00:54:49 Running ssh-add (command line suppressed) 00:54:49 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-477@tmp/private_key_9768960297758253436.key (/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/private_key_9768960297758253436.key) 00:54:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:50 + git tag --points-at HEAD [Pipeline] } 00:54:50 $ docker exec --env ******** --env ******** 7d5ba9f25e6e78d6564d341da60e0f3291c80ecd0884d1b1ffc82620aebb0cbf ssh-agent -k 00:54:50 unset SSH_AUTH_SOCK; 00:54:50 unset SSH_AGENT_PID; 00:54:50 echo Agent pid 20 killed; 00:54:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:54:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:50 [ssh-agent] Looking for ssh-agent implementation... 00:54:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:50 $ docker exec 7d5ba9f25e6e78d6564d341da60e0f3291c80ecd0884d1b1ffc82620aebb0cbf ssh-agent 00:54:50 SSH_AUTH_SOCK=/tmp/ssh-obzAlc7bIYUd/agent.71 00:54:50 SSH_AGENT_PID=77 00:54:50 Running ssh-add (command line suppressed) 00:54:50 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-477@tmp/private_key_8022709923090920204.key (/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/private_key_8022709923090920204.key) 00:54:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:51 + git semver init 00:54:51 2023-05-11 00:54:51,238 [run_init] DEBUG init version:0.0.0 force:False 00:54:51 2023-05-11 00:54:51,239 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-477/.semver 00:54:51 2023-05-11 00:54:51,240 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-477/.semver 00:54:51 2023-05-11 00:54:51,240 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-477/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-477, universal_newlines=False, shell=None, istream=None) 00:54:52 2023-05-11 00:54:52,061 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-477/.git/info/exclude 00:54:52 2023-05-11 00:54:52,062 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-477/.semver/PR-477 with force:False 00:54:52 2023-05-11 00:54:52,062 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-477/.semver/PR-477 00:54:52 2023-05-11 00:54:52,067 [execute] INFO git cat-file --batch-check 00:54:52 2023-05-11 00:54:52,067 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-477/.semver, universal_newlines=False, shell=None, istream=) 00:54:52 2023-05-11 00:54:52,073 [execute] INFO git cat-file --batch 00:54:52 2023-05-11 00:54:52,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-477/.semver, universal_newlines=False, shell=None, istream=) 00:54:52 2023-05-11 00:54:52,077 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-477/.semver/PR-477 00:54:52 0.0.0 [Pipeline] } 00:54:52 $ docker exec --env ******** --env ******** 7d5ba9f25e6e78d6564d341da60e0f3291c80ecd0884d1b1ffc82620aebb0cbf ssh-agent -k 00:54:52 unset SSH_AUTH_SOCK; 00:54:52 unset SSH_AGENT_PID; 00:54:52 echo Agent pid 77 killed; 00:54:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:52 + git semver [Pipeline] } 00:54:53 $ docker stop --time=1 7d5ba9f25e6e78d6564d341da60e0f3291c80ecd0884d1b1ffc82620aebb0cbf 00:54:54 $ docker rm -f --volumes 7d5ba9f25e6e78d6564d341da60e0f3291c80ecd0884d1b1ffc82620aebb0cbf [Pipeline] // withDockerContainer [Pipeline] sh 00:54:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:55 Stashed 1 file(s) [Pipeline] echo 00:54:55 [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 00:54:55 provisioning config files... 00:54:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/config7691890195164222699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:55 ---> docker-login.sh 00:54:55 nexus3.edgexfoundry.org:10001 00:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:55 Configure a credential helper to remove this warning. See 00:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:55 00:54:55 Login Succeeded 00:54:55 nexus3.edgexfoundry.org:10002 00:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:55 Configure a credential helper to remove this warning. See 00:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:55 00:54:55 Login Succeeded 00:54:55 nexus3.edgexfoundry.org:10003 00:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:55 Configure a credential helper to remove this warning. See 00:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:55 00:54:55 Login Succeeded 00:54:55 nexus3.edgexfoundry.org:10004 00:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 docker.io 00:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 ---> docker-login.sh ends [Pipeline] } 00:54:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:56 ========================================================= 00:54:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:54:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:56 + 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 . 00:54:56 Sending build context to Docker daemon 6.521MB 00:54:56 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:54:56 Step 2/10 : FROM ${BASE} AS builder 00:54:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:57 f56be85fc22e: Pulling fs layer 00:54:57 85791d961cd3: Pulling fs layer 00:54:57 d694b5ae8c79: Pulling fs layer 00:54:57 9f32a84ed3da: Pulling fs layer 00:54:57 4d19c01a9841: Pulling fs layer 00:54:57 9325e15d5711: Pulling fs layer 00:54:57 556b6ee489ea: Pulling fs layer 00:54:57 c5a4b2cf53e6: Pulling fs layer 00:54:57 c5a4b2cf53e6: Waiting 00:54:57 4d19c01a9841: Waiting 00:54:57 556b6ee489ea: Waiting 00:54:57 9325e15d5711: Waiting 00:54:57 9f32a84ed3da: Waiting 00:54:57 85791d961cd3: Download complete 00:54:57 9f32a84ed3da: Verifying Checksum 00:54:57 9f32a84ed3da: Download complete 00:54:57 4d19c01a9841: Verifying Checksum 00:54:57 4d19c01a9841: Download complete 00:54:57 f56be85fc22e: Download complete 00:54:57 9325e15d5711: Verifying Checksum 00:54:57 9325e15d5711: Download complete 00:54:57 f56be85fc22e: Pull complete 00:54:57 85791d961cd3: Pull complete 00:54:57 c5a4b2cf53e6: Verifying Checksum 00:54:57 c5a4b2cf53e6: Download complete 00:54:57 d694b5ae8c79: Verifying Checksum 00:54:57 d694b5ae8c79: Download complete 00:54:58 556b6ee489ea: Verifying Checksum 00:54:58 556b6ee489ea: Download complete 00:55:01 d694b5ae8c79: Pull complete 00:55:01 9f32a84ed3da: Pull complete 00:55:01 4d19c01a9841: Pull complete 00:55:01 9325e15d5711: Pull complete 00:55:04 556b6ee489ea: Pull complete 00:55:04 c5a4b2cf53e6: Pull complete 00:55:04 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:55:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:55:04 ---> c4be618373d6 00:55:04 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:55:10 Still waiting to schedule task 00:55:10 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:55:11 ---> Running in 2a70622d9482 00:55:11 Removing intermediate container 2a70622d9482 00:55:11 ---> 2ce4677fed67 00:55:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:11 ---> Running in 8c16735192e7 00:55:11 Removing intermediate container 8c16735192e7 00:55:11 ---> c7a9d59e79f0 00:55:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:55:11 ---> Running in 658a93e8d5c4 00:55:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:11 (1/8) Installing openssh-keygen (9.1_p1-r2) 00:55:11 (2/8) Installing libedit (20221030.3.1-r0) 00:55:11 (3/8) Installing openssh-client-common (9.1_p1-r2) 00:55:11 (4/8) Installing openssh-client-default (9.1_p1-r2) 00:55:11 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 00:55:11 (6/8) Installing openssh-server-common (9.1_p1-r2) 00:55:11 (7/8) Installing openssh-server (9.1_p1-r2) 00:55:11 (8/8) Installing openssh (9.1_p1-r2) 00:55:11 Executing busybox-1.35.0-r29.trigger 00:55:11 OK: 270 MiB in 61 packages 00:55:12 Removing intermediate container 658a93e8d5c4 00:55:12 ---> 50c18e6f37d1 00:55:12 Step 6/10 : WORKDIR /device-modbus-go 00:55:12 ---> Running in cec4ad07b42e 00:55:12 Removing intermediate container cec4ad07b42e 00:55:12 ---> b8dcbe3f40c7 00:55:12 Step 7/10 : COPY go.mod vendor* ./ 00:55:12 ---> 079a21d64cd2 00:55:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:12 ---> Running in e4f20d296e49 00:55:51 Removing intermediate container e4f20d296e49 00:55:51 ---> 76d82609324c 00:55:51 Step 9/10 : COPY . . 00:55:51 ---> 1bac38b9cafd 00:55:51 Step 10/10 : RUN ${MAKE} 00:55:51 ---> Running in 9a805afd31da 00:55:51 noop 00:55:51 Removing intermediate container 9a805afd31da 00:55:51 ---> cfca9d8a3420 00:55:51 Successfully built cfca9d8a3420 00:55:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:51 + docker inspect -f . ci-base-image-x86_64 00:55:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:51 prd-ubuntu20.04-docker-8c-8g-15135 does not seem to be running inside a container 00:55:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-477 -v /w/workspace/xfoundry_device-modbus-go_PR-477:/w/workspace/xfoundry_device-modbus-go_PR-477:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-477@tmp:/w/workspace/xfoundry_device-modbus-go_PR-477@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-x86_64 cat 00:55:52 $ docker top 5d5c9c442a04a89c9545528ddf3ae639b04e2927280fdcd64e5951191f3a3814 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:52 + go version 00:55:52 go version go1.20.2 linux/amd64 [Pipeline] } 00:55:53 $ docker stop --time=1 5d5c9c442a04a89c9545528ddf3ae639b04e2927280fdcd64e5951191f3a3814 00:55:54 $ docker rm -f --volumes 5d5c9c442a04a89c9545528ddf3ae639b04e2927280fdcd64e5951191f3a3814 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:54 + docker inspect -f . ci-base-image-x86_64 00:55:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:54 prd-ubuntu20.04-docker-8c-8g-15135 does not seem to be running inside a container 00:55:54 $ 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-477 -v /w/workspace/xfoundry_device-modbus-go_PR-477:/w/workspace/xfoundry_device-modbus-go_PR-477:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-477@tmp:/w/workspace/xfoundry_device-modbus-go_PR-477@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-x86_64 cat 00:55:55 $ docker top 8d0f6179610cebc9d0d86c5505409c7db1f21e6650a0b99faf4a4085c65fd28d -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:55 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-477 [Pipeline] fileExists [Pipeline] sh 00:55:55 + make test 00:55:55 go test ./... -coverprofile=coverage.out 00:56:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:56:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:56:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements 00:56:17 go vet ./... 00:56:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:20 ./bin/test-attribution-txt.sh [Pipeline] echo 00:56:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:56:20 $ docker stop --time=1 8d0f6179610cebc9d0d86c5505409c7db1f21e6650a0b99faf4a4085c65fd28d 00:56:25 $ docker rm -f --volumes 8d0f6179610cebc9d0d86c5505409c7db1f21e6650a0b99faf4a4085c65fd28d [Pipeline] // withDockerContainer [Pipeline] sh 00:56:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:56:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:56:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:56:27 + ls -al . 00:56:27 total 184 00:56:27 drwxrwxr-x 10 jenkins jenkins 4096 May 11 00:55 . 00:56:27 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:54 .. 00:56:27 -rw-rw-r-- 1 jenkins jenkins 140 May 11 00:54 .dockerignore 00:56:27 drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:54 .git 00:56:27 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:54 .github 00:56:27 -rw-rw-r-- 1 jenkins jenkins 331 May 11 00:54 .gitignore 00:56:27 -rw-rw-r-- 1 jenkins jenkins 41 May 11 00:54 .golangci.yml 00:56:27 drwxr-xr-x 3 jenkins jenkins 4096 May 11 00:54 .semver 00:56:27 -rw-rw-r-- 1 jenkins jenkins 10132 May 11 00:54 Attribution.txt 00:56:27 -rw-rw-r-- 1 jenkins jenkins 11576 May 11 00:54 CHANGELOG.md 00:56:27 -rw-rw-r-- 1 jenkins jenkins 1365 May 11 00:54 Dockerfile 00:56:27 -rw-rw-r-- 1 jenkins jenkins 677 May 11 00:54 GOVERNANCE.md 00:56:27 -rw-rw-r-- 1 jenkins jenkins 680 May 11 00:54 Jenkinsfile 00:56:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 00:54 LICENSE 00:56:27 -rw-rw-r-- 1 jenkins jenkins 1705 May 11 00:54 Makefile 00:56:27 -rw-rw-r-- 1 jenkins jenkins 622 May 11 00:54 OWNERS.md 00:56:27 -rw-rw-r-- 1 jenkins jenkins 4554 May 11 00:54 README.md 00:56:27 -rw-rw-r-- 1 jenkins jenkins 5 May 11 00:54 VERSION 00:56:27 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:54 bin 00:56:27 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:54 cmd 00:56:27 -rw-r--r-- 1 jenkins jenkins 24160 May 11 00:56 coverage.out 00:56:27 -rw-rw-r-- 1 jenkins jenkins 3453 May 11 00:54 go.mod 00:56:27 -rw-rw-r-- 1 jenkins jenkins 31670 May 11 00:54 go.sum 00:56:27 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:54 internal 00:56:27 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:54 simulator 00:56:27 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:54 snap 00:56:27 -rw-rw-r-- 1 jenkins jenkins 229 May 11 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:27 + 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=a9548ffaf2c8857c6f072a6d16731526296c0743 --label arch=amd64 --label version=0.0.0 . 00:56:27 Sending build context to Docker daemon 6.546MB 00:56:27 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:56:27 Step 2/22 : FROM ${BASE} AS builder 00:56:27 ---> cfca9d8a3420 00:56:27 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:56:27 ---> Running in 9dbd795bf97b 00:56:27 Removing intermediate container 9dbd795bf97b 00:56:27 ---> 465d7ff52f48 00:56:27 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:56:28 ---> Running in 340d2dffb76b 00:56:28 Removing intermediate container 340d2dffb76b 00:56:28 ---> 297fc22bcf1e 00:56:28 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:56:28 ---> Running in 15ccb9321f36 00:56:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:56:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:56:29 OK: 270 MiB in 61 packages 00:56:30 Removing intermediate container 15ccb9321f36 00:56:30 ---> 6f83dbd410d8 00:56:30 Step 6/22 : WORKDIR /device-modbus-go 00:56:30 ---> Running in 88c7fdd17451 00:56:30 Removing intermediate container 88c7fdd17451 00:56:30 ---> 32f23c03364f 00:56:30 Step 7/22 : COPY go.mod vendor* ./ 00:56:30 ---> c030ec2c23a5 00:56:30 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:56:30 ---> Running in 86bd25414a66 00:56:31 Removing intermediate container 86bd25414a66 00:56:31 ---> 96e59cf26f73 00:56:31 Step 9/22 : COPY . . 00:56:31 ---> 0c427a3a5dd4 00:56:31 Step 10/22 : RUN ${MAKE} 00:56:31 ---> Running in e7a47ed12f79 00:56:31 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 00:56:53 Removing intermediate container e7a47ed12f79 00:56:53 ---> 6d9c69e44ebd 00:56:53 Step 11/22 : FROM alpine:3.17 00:56:53 3.17: Pulling from library/alpine 00:56:53 f56be85fc22e: Already exists 00:56:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:56:53 Status: Downloaded newer image for alpine:3.17 00:56:53 ---> 9ed4aefc74f6 00:56:53 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:56:53 ---> Running in 2e6538c5d462 00:56:53 Removing intermediate container 2e6538c5d462 00:56:53 ---> e2a5060d574f 00:56:53 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:56:53 ---> Running in a56185828522 00:56:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:56:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:56:53 (1/1) Installing dumb-init (1.2.5-r2) 00:56:54 Executing busybox-1.35.0-r29.trigger 00:56:54 OK: 7 MiB in 16 packages 00:56:54 Removing intermediate container a56185828522 00:56:54 ---> e933a12af2c1 00:56:54 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:56:55 ---> c747b830f09c 00:56:55 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:56:55 ---> 610e6bcb5206 00:56:55 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:56:55 ---> a058e534a946 00:56:55 Step 17/22 : EXPOSE 59901 00:56:55 ---> Running in 9460bc320452 00:56:55 Removing intermediate container 9460bc320452 00:56:55 ---> 4fceecbfea72 00:56:55 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:56:55 ---> Running in 21f41ac17d5b 00:56:55 Removing intermediate container 21f41ac17d5b 00:56:55 ---> 92642243ce45 00:56:55 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:56:55 ---> Running in b0ea56240cd3 00:56:56 Removing intermediate container b0ea56240cd3 00:56:56 ---> 5041fb8bcc2f 00:56:56 Step 20/22 : LABEL arch=amd64 00:56:56 ---> Running in de8195623e4a 00:56:57 Removing intermediate container de8195623e4a 00:56:57 ---> dc8112c948e8 00:56:57 Step 21/22 : LABEL git_sha=a9548ffaf2c8857c6f072a6d16731526296c0743 00:56:57 ---> Running in d4a5dfa0af81 00:56:57 Removing intermediate container d4a5dfa0af81 00:56:57 ---> d00fcd966325 00:56:57 Step 22/22 : LABEL version=0.0.0 00:56:58 ---> Running in 2c4e3c0c790e 00:56:58 Removing intermediate container 2c4e3c0c790e 00:56:58 ---> f242d08f33be 00:56:58 [Warning] One or more build-args [ARCH] were not consumed 00:56:58 Successfully built f242d08f33be 00:56:58 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 00:56:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:59 00:56:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:59 latest: Pulling from edgex-lftools-log-publisher 00:56:59 5eb5b503b376: Pulling fs layer 00:56:59 5c69ac0246d0: Pulling fs layer 00:56:59 ec43610c2a17: Pulling fs layer 00:56:59 3a2ae6a8a46f: Pulling fs layer 00:56:59 33b1e0a273af: Pulling fs layer 00:56:59 5d3b04190fa2: Pulling fs layer 00:56:59 2f39f015ded8: Pulling fs layer 00:56:59 3a2ae6a8a46f: Waiting 00:56:59 33b1e0a273af: Waiting 00:56:59 5d3b04190fa2: Waiting 00:56:59 2f39f015ded8: Waiting 00:56:59 5c69ac0246d0: Verifying Checksum 00:56:59 5c69ac0246d0: Download complete 00:56:59 3a2ae6a8a46f: Verifying Checksum 00:56:59 3a2ae6a8a46f: Download complete 00:56:59 33b1e0a273af: Verifying Checksum 00:56:59 33b1e0a273af: Download complete 00:56:59 5d3b04190fa2: Verifying Checksum 00:56:59 5d3b04190fa2: Download complete 00:56:59 ec43610c2a17: Verifying Checksum 00:56:59 ec43610c2a17: Download complete 00:57:00 5eb5b503b376: Download complete 00:57:00 2f39f015ded8: Download complete 00:57:01 5eb5b503b376: Pull complete 00:57:01 5c69ac0246d0: Pull complete 00:57:01 ec43610c2a17: Pull complete 00:57:01 3a2ae6a8a46f: Pull complete 00:57:02 33b1e0a273af: Pull complete 00:57:02 5d3b04190fa2: Pull complete 00:57:06 2f39f015ded8: Pull complete 00:57:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:57:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:06 prd-ubuntu20.04-docker-8c-8g-15135 does not seem to be running inside a container 00:57:06 $ 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-477 -v /w/workspace/xfoundry_device-modbus-go_PR-477:/w/workspace/xfoundry_device-modbus-go_PR-477:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-477@tmp:/w/workspace/xfoundry_device-modbus-go_PR-477@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:latest cat 00:57:12 $ docker top 8650b330d7c6310418107c0579c3d4dcc0998c57502a41ba9e5309f0f13af8ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:12 ---> job-cost.sh 00:57:12 lf-activate-venv: SKIPPING 00:57:12 INFO: No Stack... 00:57:13 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:13 INFO: Archiving Costs [Pipeline] sh 00:57:13 + cat /w/workspace/xfoundry_device-modbus-go_PR-477/archives/cost.csv 00:57:13 + cut -d, -f6 [Pipeline] lock 00:57:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-477-2-stack-cost] 00:57:13 Resource [jenkins-edgexfoundry-device-modbus-go-PR-477-2-stack-cost] did not exist. Created. 00:57:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-477-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:14 + echo total: 0.2199999988079071 [Pipeline] stash 00:57:14 Stashed 1 file(s) [Pipeline] } 00:57:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-477-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:14 $ docker stop --time=1 8650b330d7c6310418107c0579c3d4dcc0998c57502a41ba9e5309f0f13af8ca 00:57:15 $ docker rm -f --volumes 8650b330d7c6310418107c0579c3d4dcc0998c57502a41ba9e5309f0f13af8ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:57:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15137 in /w/workspace/xfoundry_device-modbus-go_PR-477 [Pipeline] { [Pipeline] ws 00:57:47 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 00:57:47 Selected Git installation does not exist. Using Default 00:57:47 The recommended git tool is: NONE 00:57:55 using credential edgex-jenkins-ssh 00:57:55 Cloning the remote Git repository 00:57:56 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:57:56 > git init /w/workspace/device-modbus-go/2 # timeout=10 00:57:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:57:56 > git --version # timeout=10 00:57:56 > git --version # 'git version 2.25.1' 00:57:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:57:58 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:57:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:00 Merging remotes/origin/main commit 5189b6b75de2ff976af34f9037f44b6050849efe into PR head commit 3dfe206c6d0c39a2049002eceba5e982be12b096 00:58:00 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/477/head:refs/remotes/origin/PR-477 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:58:00 > git config core.sparsecheckout # timeout=10 00:58:01 Merge succeeded, producing 217a3ed35ab453e364282d79c7c09c91817d4830 00:58:01 Checking out Revision 217a3ed35ab453e364282d79c7c09c91817d4830 (PR-477) 00:58:01 > git checkout -f 3dfe206c6d0c39a2049002eceba5e982be12b096 # timeout=10 00:58:01 > git remote # timeout=10 00:58:01 > git config --get remote.origin.url # timeout=10 00:58:01 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:01 > git merge 5189b6b75de2ff976af34f9037f44b6050849efe # timeout=10 00:58:01 > git rev-parse HEAD^{commit} # timeout=10 00:58:01 > git config core.sparsecheckout # timeout=10 00:58:01 > git checkout -f 217a3ed35ab453e364282d79c7c09c91817d4830 # timeout=10 00:58:05 Commit message: "Merge commit '5189b6b75de2ff976af34f9037f44b6050849efe' into HEAD" 00:58:05 > git rev-list --no-walk 3dfe206c6d0c39a2049002eceba5e982be12b096 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:58:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:58:07 % Total % Received % Xferd Average Speed Time Time Time Current 00:58:07 Dload Upload Total Spent Left Speed 00:58:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh 00:58:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:58:08 + sudo tee /etc/docker/daemon.new 00:58:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:58:08 { 00:58:08 "registry-mirrors": [ 00:58:08 "https://nexus3.edgexfoundry.org:10001" 00:58:08 ], 00:58:08 "bip": "10.250.0.254/24", 00:58:08 "hosts": [ 00:58:08 "tcp://0.0.0.0:5555", 00:58:08 "unix:///var/run/docker.sock" 00:58:08 ], 00:58:08 "mtu": 1458, 00:58:08 "selinux-enabled": true, 00:58:08 "seccomp-profile": "/etc/docker/seccomp.json" 00:58:08 } [Pipeline] sh 00:58:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:58:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:58:27 provisioning config files... 00:58:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config4917876038444743370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:58:28 ---> docker-login.sh 00:58:28 nexus3.edgexfoundry.org:10001 00:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:28 Configure a credential helper to remove this warning. See 00:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:28 00:58:28 Login Succeeded 00:58:28 nexus3.edgexfoundry.org:10002 00:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:29 Configure a credential helper to remove this warning. See 00:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:29 00:58:29 Login Succeeded 00:58:29 nexus3.edgexfoundry.org:10003 00:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:29 Configure a credential helper to remove this warning. See 00:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:29 00:58:29 Login Succeeded 00:58:29 nexus3.edgexfoundry.org:10004 00:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:29 Configure a credential helper to remove this warning. See 00:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:29 00:58:29 Login Succeeded 00:58:29 docker.io 00:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:30 Configure a credential helper to remove this warning. See 00:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:30 00:58:30 Login Succeeded 00:58:30 ---> docker-login.sh ends [Pipeline] } 00:58:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:58:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:58:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:58:30 ========================================================= 00:58:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:58:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:31 + 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 . 00:58:31 Sending build context to Docker daemon 3.413MB 00:58:31 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:58:31 Step 2/10 : FROM ${BASE} AS builder 00:58:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:58:31 c41833b44d91: Pulling fs layer 00:58:31 ed15518f5707: Pulling fs layer 00:58:31 feae8fd75edb: Pulling fs layer 00:58:31 242c74f7c9fa: Pulling fs layer 00:58:31 3cdef696dda3: Pulling fs layer 00:58:31 2ced38df9373: Pulling fs layer 00:58:31 58f1dce35555: Pulling fs layer 00:58:31 242c74f7c9fa: Waiting 00:58:31 3cdef696dda3: Waiting 00:58:31 2ced38df9373: Waiting 00:58:31 58f1dce35555: Waiting 00:58:31 ed15518f5707: Download complete 00:58:31 242c74f7c9fa: Verifying Checksum 00:58:31 242c74f7c9fa: Download complete 00:58:31 3cdef696dda3: Verifying Checksum 00:58:31 3cdef696dda3: Download complete 00:58:31 c41833b44d91: Verifying Checksum 00:58:31 c41833b44d91: Download complete 00:58:32 c41833b44d91: Pull complete 00:58:33 58f1dce35555: Verifying Checksum 00:58:33 58f1dce35555: Download complete 00:58:33 ed15518f5707: Pull complete 00:58:34 feae8fd75edb: Download complete 00:58:34 2ced38df9373: Verifying Checksum 00:58:34 2ced38df9373: Download complete 00:58:46 feae8fd75edb: Pull complete 00:58:46 242c74f7c9fa: Pull complete 00:58:46 3cdef696dda3: Pull complete 00:58:53 2ced38df9373: Pull complete 00:58:55 58f1dce35555: Pull complete 00:58:55 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:58:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:58:55 ---> fadd8f120f05 00:58:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:58:57 ---> Running in 8531f1eec6bd 00:58:58 Removing intermediate container 8531f1eec6bd 00:58:58 ---> 1375f1dd0236 00:58:58 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:58:58 ---> Running in c72d313f0f92 00:58:58 Removing intermediate container c72d313f0f92 00:58:58 ---> d5a9123d73e2 00:58:58 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:58:58 ---> Running in cd4933dcb482 00:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:59:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:59:01 (1/8) Installing openssh-keygen (9.1_p1-r2) 00:59:01 (2/8) Installing libedit (20221030.3.1-r0) 00:59:01 (3/8) Installing openssh-client-common (9.1_p1-r2) 00:59:01 (4/8) Installing openssh-client-default (9.1_p1-r2) 00:59:01 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 00:59:01 (6/8) Installing openssh-server-common (9.1_p1-r2) 00:59:01 (7/8) Installing openssh-server (9.1_p1-r2) 00:59:01 (8/8) Installing openssh (9.1_p1-r2) 00:59:01 Executing busybox-1.35.0-r29.trigger 00:59:01 OK: 270 MiB in 61 packages 00:59:02 Removing intermediate container cd4933dcb482 00:59:02 ---> 1e93e4f5ca0d 00:59:02 Step 6/10 : WORKDIR /device-modbus-go 00:59:02 ---> Running in 4c89966a1264 00:59:03 Removing intermediate container 4c89966a1264 00:59:03 ---> 80091e367796 00:59:03 Step 7/10 : COPY go.mod vendor* ./ 00:59:03 ---> 4397e4009153 00:59:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:03 ---> Running in af8d40b6c9ae 01:00:11 Removing intermediate container af8d40b6c9ae 01:00:11 ---> 1b0d5e85e0ae 01:00:11 Step 9/10 : COPY . . 01:00:11 ---> f428441e990e 01:00:11 Step 10/10 : RUN ${MAKE} 01:00:11 ---> Running in 7716041debd5 01:00:11 noop 01:00:11 Removing intermediate container 7716041debd5 01:00:11 ---> 855a56dc312f 01:00:11 Successfully built 855a56dc312f 01:00:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:12 + docker inspect -f . ci-base-image-arm64 01:00:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:12 prd-ubuntu20.04-docker-arm64-4c-16g-15137 does not seem to be running inside a container 01:00:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:13 $ docker top e19e59e8f6d8f15614776ce3b059249cb0036780184ac47a6acd924d0f4d0c0b -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:14 + go version 01:00:14 go version go1.20.2 linux/arm64 [Pipeline] } 01:00:14 $ docker stop --time=1 e19e59e8f6d8f15614776ce3b059249cb0036780184ac47a6acd924d0f4d0c0b 01:00:16 $ docker rm -f --volumes e19e59e8f6d8f15614776ce3b059249cb0036780184ac47a6acd924d0f4d0c0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:16 + docker inspect -f . ci-base-image-arm64 01:00:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:17 prd-ubuntu20.04-docker-arm64-4c-16g-15137 does not seem to be running inside a container 01:00:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:18 $ docker top b9b766d89266832ac15a4b961ac4862e5f3b7d5e7f5b1dab196b14bef4cbb3e2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:19 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 01:00:19 + make test 01:00:19 go test ./... -coverprofile=coverage.out 01:00:55 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:03:02 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:03:02 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 47.4% of statements 01:03:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:03:02 go vet ./... 01:03:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:03:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:03:20 ./bin/test-attribution-txt.sh [Pipeline] echo 01:03:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:03:20 $ docker stop --time=1 b9b766d89266832ac15a4b961ac4862e5f3b7d5e7f5b1dab196b14bef4cbb3e2 01:03:22 $ docker rm -f --volumes b9b766d89266832ac15a4b961ac4862e5f3b7d5e7f5b1dab196b14bef4cbb3e2 [Pipeline] // withDockerContainer [Pipeline] sh 01:03:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:03:23 Warning: overwriting stash ‘coverage-report’ 01:03:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:03:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:03:24 + ls -al . 01:03:24 total 180 01:03:24 drwxrwxr-x 9 jenkins jenkins 4096 May 11 01:00 . 01:03:24 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:57 .. 01:03:24 -rw-rw-r-- 1 jenkins jenkins 140 May 11 00:58 .dockerignore 01:03:24 drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:58 .git 01:03:24 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:58 .github 01:03:24 -rw-rw-r-- 1 jenkins jenkins 331 May 11 00:58 .gitignore 01:03:24 -rw-rw-r-- 1 jenkins jenkins 41 May 11 00:58 .golangci.yml 01:03:24 -rw-rw-r-- 1 jenkins jenkins 10132 May 11 00:58 Attribution.txt 01:03:24 -rw-rw-r-- 1 jenkins jenkins 11576 May 11 00:58 CHANGELOG.md 01:03:24 -rw-rw-r-- 1 jenkins jenkins 1365 May 11 00:58 Dockerfile 01:03:24 -rw-rw-r-- 1 jenkins jenkins 677 May 11 00:58 GOVERNANCE.md 01:03:24 -rw-rw-r-- 1 jenkins jenkins 680 May 11 00:58 Jenkinsfile 01:03:24 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 00:58 LICENSE 01:03:24 -rw-rw-r-- 1 jenkins jenkins 1705 May 11 00:58 Makefile 01:03:24 -rw-rw-r-- 1 jenkins jenkins 622 May 11 00:58 OWNERS.md 01:03:24 -rw-rw-r-- 1 jenkins jenkins 4554 May 11 00:58 README.md 01:03:24 -rw-rw-r-- 1 jenkins jenkins 5 May 11 00:54 VERSION 01:03:24 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:58 bin 01:03:24 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:58 cmd 01:03:24 -rw-r--r-- 1 jenkins jenkins 24160 May 11 01:02 coverage.out 01:03:24 -rw-rw-r-- 1 jenkins jenkins 3453 May 11 00:58 go.mod 01:03:24 -rw-rw-r-- 1 jenkins jenkins 31670 May 11 00:58 go.sum 01:03:24 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:58 internal 01:03:24 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:58 simulator 01:03:24 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:58 snap 01:03:24 -rw-rw-r-- 1 jenkins jenkins 229 May 11 00:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:25 + 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=217a3ed35ab453e364282d79c7c09c91817d4830 --label arch=arm64 --label version=0.0.0 . 01:03:25 Sending build context to Docker daemon 3.438MB 01:03:25 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 01:03:25 Step 2/22 : FROM ${BASE} AS builder 01:03:25 ---> 855a56dc312f 01:03:25 Step 3/22 : ARG ADD_BUILD_TAGS="" 01:03:25 ---> Running in c5ca9f90278f 01:03:25 Removing intermediate container c5ca9f90278f 01:03:25 ---> 3c26f495fc93 01:03:25 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:03:25 ---> Running in b45bff69928d 01:03:26 Removing intermediate container b45bff69928d 01:03:26 ---> 8aeaf5a4005a 01:03:26 Step 5/22 : RUN apk add --update --no-cache make git openssh 01:03:26 ---> Running in 5abf1286f28d 01:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:03:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:03:29 OK: 270 MiB in 61 packages 01:03:30 Removing intermediate container 5abf1286f28d 01:03:30 ---> 17a5da1057a8 01:03:30 Step 6/22 : WORKDIR /device-modbus-go 01:03:30 ---> Running in 995f0b77aa6e 01:03:30 Removing intermediate container 995f0b77aa6e 01:03:30 ---> 37b7e34eba7b 01:03:30 Step 7/22 : COPY go.mod vendor* ./ 01:03:31 ---> 110005761d55 01:03:31 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:03:31 ---> Running in 6b6a3d653a1c 01:03:35 Removing intermediate container 6b6a3d653a1c 01:03:35 ---> 218e8a3020f8 01:03:35 Step 9/22 : COPY . . 01:03:36 ---> f502e4879ec3 01:03:36 Step 10/22 : RUN ${MAKE} 01:03:36 ---> Running in 05813c25e624 01:03:37 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 01:06:14 Removing intermediate container 05813c25e624 01:06:14 ---> 145371ccbc04 01:06:14 Step 11/22 : FROM alpine:3.17 01:06:14 3.17: Pulling from library/alpine 01:06:14 c41833b44d91: Already exists 01:06:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:06:14 Status: Downloaded newer image for alpine:3.17 01:06:14 ---> 51e60588ff2c 01:06:14 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:06:14 ---> Running in 8b563a106848 01:06:14 Removing intermediate container 8b563a106848 01:06:14 ---> 027cda72cf6b 01:06:14 Step 13/22 : RUN apk add --update --no-cache dumb-init 01:06:14 ---> Running in 9f90eba25773 01:06:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:06:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:06:14 (1/1) Installing dumb-init (1.2.5-r2) 01:06:14 Executing busybox-1.35.0-r29.trigger 01:06:14 OK: 8 MiB in 16 packages 01:06:14 Removing intermediate container 9f90eba25773 01:06:14 ---> be728e7684ba 01:06:14 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:06:14 ---> 9145f829065a 01:06:14 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:06:14 ---> 161f651e75c1 01:06:14 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:06:14 ---> dec43d2b3571 01:06:14 Step 17/22 : EXPOSE 59901 01:06:14 ---> Running in de95e7276a85 01:06:14 Removing intermediate container de95e7276a85 01:06:14 ---> 8b0f5a00de47 01:06:14 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:06:14 ---> Running in 0842d4d987a4 01:06:14 Removing intermediate container 0842d4d987a4 01:06:14 ---> 1b7db155bdf4 01:06:14 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:06:14 ---> Running in d2b6881abeb5 01:06:14 Removing intermediate container d2b6881abeb5 01:06:14 ---> 11497d03b244 01:06:14 Step 20/22 : LABEL arch=arm64 01:06:14 ---> Running in b08ed27addd1 01:06:14 Removing intermediate container b08ed27addd1 01:06:14 ---> 51b154fe23fa 01:06:14 Step 21/22 : LABEL git_sha=217a3ed35ab453e364282d79c7c09c91817d4830 01:06:14 ---> Running in 64934ba0208a 01:06:14 Removing intermediate container 64934ba0208a 01:06:14 ---> 5009a9a75656 01:06:14 Step 22/22 : LABEL version=0.0.0 01:06:14 ---> Running in 1a866df3cac4 01:06:14 Removing intermediate container 1a866df3cac4 01:06:14 ---> 21d6f3ec1f78 01:06:14 [Warning] One or more build-args [ARCH] were not consumed 01:06:14 Successfully built 21d6f3ec1f78 01:06:14 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 01:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:14 01:06:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:15 arm64: Pulling from edgex-lftools-log-publisher 01:06:15 8998bd30e6a1: Pulling fs layer 01:06:15 04944245beec: Pulling fs layer 01:06:15 699f458cf7ca: Pulling fs layer 01:06:15 765212b225bb: Pulling fs layer 01:06:15 f23df028b6ca: Pulling fs layer 01:06:15 d65c8cfc05b1: Pulling fs layer 01:06:15 2437ff75d9bd: Pulling fs layer 01:06:15 f23df028b6ca: Waiting 01:06:15 d65c8cfc05b1: Waiting 01:06:15 2437ff75d9bd: Waiting 01:06:15 765212b225bb: Waiting 01:06:15 04944245beec: Verifying Checksum 01:06:15 04944245beec: Download complete 01:06:15 765212b225bb: Verifying Checksum 01:06:15 765212b225bb: Download complete 01:06:15 f23df028b6ca: Download complete 01:06:15 d65c8cfc05b1: Verifying Checksum 01:06:15 d65c8cfc05b1: Download complete 01:06:15 699f458cf7ca: Verifying Checksum 01:06:15 699f458cf7ca: Download complete 01:06:16 8998bd30e6a1: Verifying Checksum 01:06:16 8998bd30e6a1: Download complete 01:06:18 2437ff75d9bd: Verifying Checksum 01:06:18 2437ff75d9bd: Download complete 01:06:20 8998bd30e6a1: Pull complete 01:06:20 04944245beec: Pull complete 01:06:21 699f458cf7ca: Pull complete 01:06:22 765212b225bb: Pull complete 01:06:22 f23df028b6ca: Pull complete 01:06:22 d65c8cfc05b1: Pull complete 01:06:37 2437ff75d9bd: Pull complete 01:06:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:06:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:38 prd-ubuntu20.04-docker-arm64-4c-16g-15137 does not seem to be running inside a container 01:06:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:06:40 $ docker top 4091cce5520e9413075aa4302364d85e5270638d9c553221c727586ca7ca662d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:41 ---> job-cost.sh 01:06:41 lf-activate-venv: SKIPPING 01:06:41 INFO: No Stack... 01:06:42 INFO: Retrieving Pricing Info for: v3-standard-4 01:06:43 INFO: Archiving Costs [Pipeline] sh 01:06:44 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 01:06:44 + cut -d, -f6 [Pipeline] lock 01:06:44 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-477-2-stack-cost] 01:06:44 Resource [jenkins-edgexfoundry-device-modbus-go-PR-477-2-stack-cost] did not exist. Created. 01:06:44 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-477-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:44 /w/workspace/device-modbus-go/2@tmp/durable-41b352d8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:06:45 + echo total: 0.10999999940395355 [Pipeline] stash 01:06:45 Warning: overwriting stash ‘stack-cost’ 01:06:45 Stashed 1 file(s) [Pipeline] } 01:06:45 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-477-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:45 $ docker stop --time=1 4091cce5520e9413075aa4302364d85e5270638d9c553221c727586ca7ca662d 01:06:47 $ docker rm -f --volumes 4091cce5520e9413075aa4302364d85e5270638d9c553221c727586ca7ca662d [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 01:06:47 provisioning config files... 01:06:47 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/config17723185956950642896tmp [Pipeline] { [Pipeline] sh 01:06:47 + set +x 01:06:47 + curl -s https://codecov.io/bash 01:06:47 + bash -s -- 01:06:47 01:06:47 _____ _ 01:06:47 / ____| | | 01:06:47 | | ___ __| | ___ ___ _____ __ 01:06:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:06:47 | |___| (_) | (_| | __/ (_| (_) \ V / 01:06:47 \_____\___/ \__,_|\___|\___\___/ \_/ 01:06:47 Bash-1.0.6 01:06:47 01:06:47 01:06:47 ==> git version 2.25.1 found 01:06:47 ==> 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 01:06:47 Release-Date: 2020-01-08 01:06:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:06:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:06:47 ==> Jenkins CI detected. 01:06:47 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-477 01:06:47 project root: . 01:06:47 --> token set from env 01:06:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:06:47 ==> Running gcov in . (disable via -X gcov) 01:06:47 ==> Python coveragepy not found 01:06:47 ==> Searching for coverage reports in: 01:06:47 + . 01:06:47 -> Found 1 reports 01:06:47 ==> Detecting git/mercurial file structure 01:06:48 ==> Reading reports 01:06:48 + ./coverage.out bytes=24160 01:06:48 ==> Appending adjustments 01:06:48 https://docs.codecov.io/docs/fixing-reports 01:06:48 + Found adjustments 01:06:48 ==> Gzipping contents 01:06:48 4.0K /tmp/codecov.REfvjo.gz 01:06:48 ==> Uploading reports 01:06:48 url: https://codecov.io 01:06:48 query: branch=PR-477&commit=a9548ffaf2c8857c6f072a6d16731526296c0743&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-477%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=477&job=&cmd_args= 01:06:48 -> Pinging Codecov 01:06:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-477&commit=a9548ffaf2c8857c6f072a6d16731526296c0743&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-477%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=477&job=&cmd_args= 01:06:48 -> Uploading to 01:06:48 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/55DBCA73C666E3227836607328DD7E49/a9548ffaf2c8857c6f072a6d16731526296c0743/b9176eb4-a1cd-4a9e-89d0-575dd025374b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T010648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b7fb3fd0c1fa3d36a1115069f20aac58348f9c05e3ac8d517d7e72cde4033a9 01:06:48 % Total % Received % Xferd Average Speed Time Time Time Current 01:06:48 Dload Upload Total Spent Left Speed 01:06:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18251 --:--:-- --:--:-- --:--:-- 18251 01:06:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a9548ffaf2c8857c6f072a6d16731526296c0743 [Pipeline] } 01:06:48 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 01:06:49 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-477/archives ] 01:06:49 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-477/archives 01:06:49 total 16 01:06:49 drwxr-xr-x 3 root root 4096 May 11 00:57 . 01:06:49 drwxrwxr-x 11 jenkins jenkins 4096 May 11 00:57 .. 01:06:49 drwxr-xr-x 2 root root 4096 May 11 00:57 cost 01:06:49 -rw-r--r-- 1 root root 88 May 11 00:57 cost.csv 01:06:49 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-477/archives 01:06:49 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-477/archives 01:06:49 total 16 01:06:49 drwxr-xr-x 3 jenkins jenkins 4096 May 11 00:57 . 01:06:49 drwxrwxr-x 11 jenkins jenkins 4096 May 11 00:57 .. 01:06:49 drwxr-xr-x 2 jenkins jenkins 4096 May 11 00:57 cost 01:06:49 -rw-r--r-- 1 jenkins jenkins 88 May 11 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:06:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:06:50 ---> package-listing.sh 01:06:50 ++ facter osfamily 01:06:50 ++ tr '[:upper:]' '[:lower:]' 01:06:50 + OS_FAMILY=debian 01:06:50 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-477 01:06:50 + START_PACKAGES=/tmp/packages_start.txt 01:06:50 + END_PACKAGES=/tmp/packages_end.txt 01:06:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:06:50 + PACKAGES=/tmp/packages_start.txt 01:06:50 + '[' /w/workspace/xfoundry_device-modbus-go_PR-477 ']' 01:06:50 + PACKAGES=/tmp/packages_end.txt 01:06:50 + case "${OS_FAMILY}" in 01:06:50 + dpkg -l 01:06:50 + grep '^ii' 01:06:50 + '[' -f /tmp/packages_start.txt ']' 01:06:50 + '[' -f /tmp/packages_end.txt ']' 01:06:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:06:50 + '[' /w/workspace/xfoundry_device-modbus-go_PR-477 ']' 01:06:50 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-477/archives/ 01:06:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-477/archives/ [Pipeline] echo 01:06:50 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-477/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:06:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:51 prd-ubuntu20.04-docker-8c-8g-15135 does not seem to be running inside a container 01:06:51 $ 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-477/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-477 -v /w/workspace/xfoundry_device-modbus-go_PR-477:/w/workspace/xfoundry_device-modbus-go_PR-477:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-477@tmp:/w/workspace/xfoundry_device-modbus-go_PR-477@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 01:06:51 $ docker top 57c3ea3cfa031bdf035ab3f2f11dbf2951dd874a352b3256f77feff735105799 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:52 + touch /tmp/pre-build-complete [Pipeline] sh 01:06:52 + mkdir -p /var/log/sysstat [Pipeline] sh 01:06:52 + ls /var/log/sa-host 01:06:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:06:52 provisioning config files... 01:06:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/config3967753867349528739tmp [Pipeline] { [Pipeline] echo 01:06:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:06:53 ---> create-netrc.sh [Pipeline] } 01:06:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:06:53 ---> python-tools-install.sh [Pipeline] echo 01:06:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:06:53 ---> sudo-logs.sh 01:06:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:06:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:06:54 ---> job-cost.sh 01:06:54 lf-activate-venv: SKIPPING 01:06:54 DEBUG: total: 0.2199999988079071 01:06:54 INFO: Retrieving Stack Cost... 01:06:54 INFO: Retrieving Pricing Info for: v3-standard-8 01:06:54 INFO: Archiving Costs [Pipeline] echo 01:06:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:06:55 ---> logs-deploy.sh 01:06:55 lf-activate-venv: SKIPPING 01:06:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-477/2 01:06:55 INFO: archiving workspace using pattern(s): 01:06:56 Archives upload complete. 01:06:56 INFO: archiving logs to Nexus