Pull request #449 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8dc9b5075945768134d292084ab2be258a525270+053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 (fa341b78ac29d5de782efe6b49fffed9dea1c0e3) 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-ssh12197346962093523770.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6086555110424144034.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-449/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-449/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5463147102843339026.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-449/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3661831305830791893.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh284513070535523931.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-449/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-449/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10944791422597542218.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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-6298 in /w/workspace/xfoundry_device-modbus-go_PR-449 [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-449 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/449/head:refs/remotes/origin/PR-449 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 into PR head commit 8dc9b5075945768134d292084ab2be258a525270 Merge succeeded, producing 8dc9b5075945768134d292084ab2be258a525270 Checking out Revision 8dc9b5075945768134d292084ab2be258a525270 (PR-449) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:08:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:08:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:23 ========================================================= 23:08:23 EdgeX Global Pipelines Version Info 23:08:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 8dc9b5075945768134d292084ab2be258a525270 # 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 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dc9b5075945768134d292084ab2be258a525270 # timeout=10 23:08:24 ------------------- 23:08:24 stable info: 23:08:24 ------------------- 23:08:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:08:24 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:08:24 Message: update stable to v1.0.245 23:08:25 ------------------- 23:08:25 experimental info: 23:08:25 ------------------- 23:08:25 Commited By: **** collab-it+edgex@linuxfoundation.org 23:08:25 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:08:25 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:08:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 23:08:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 23:08:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:08:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:08:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:08:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:08:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:08:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:08:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:08:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-449 [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-449 [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-449 [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8dc9b5075945768134d292084ab2be258a525270 [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8dc9b50 [Pipeline] echo 23:08:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:27 provisioning config files... 23:08:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-449@tmp/config13381839999700370761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:27 ---> docker-login.sh 23:08:27 nexus3.edgexfoundry.org:10001 23:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:27 Configure a credential helper to remove this warning. See 23:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:27 23:08:27 Login Succeeded 23:08:27 nexus3.edgexfoundry.org:10002 23:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:27 Configure a credential helper to remove this warning. See 23:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:27 23:08:27 Login Succeeded 23:08:27 nexus3.edgexfoundry.org:10003 23:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:27 Configure a credential helper to remove this warning. See 23:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:27 23:08:27 Login Succeeded 23:08:27 nexus3.edgexfoundry.org:10004 23:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:27 Configure a credential helper to remove this warning. See 23:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:27 23:08:27 Login Succeeded 23:08:27 docker.io 23:08:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:28 Configure a credential helper to remove this warning. See 23:08:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:28 23:08:28 Login Succeeded 23:08:28 ---> docker-login.sh ends [Pipeline] } 23:08:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:08:28 + git rev-list -1 --merges 8dc9b5075945768134d292084ab2be258a525270~1..8dc9b5075945768134d292084ab2be258a525270 [Pipeline] echo 23:08:28 -----------> git rev-list -1 --merges 8dc9b5075945768134d292084ab2be258a525270~1..8dc9b5075945768134d292084ab2be258a525270 8dc9b5075945768134d292084ab2be258a525270 [false] [Pipeline] sh 23:08:29 + git log --format=format:%s -1 8dc9b5075945768134d292084ab2be258a525270 [Pipeline] echo 23:08:29 ========================================================= 23:08:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:08:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:08:29 + git log --format=format:%s -1 8dc9b5075945768134d292084ab2be258a525270 [Pipeline] echo 23:08:29 [semverPrep] GIT_COMMIT: 8dc9b5075945768134d292084ab2be258a525270, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 23:08:29 [semverPrep] This is not a build commit. [Pipeline] sh 23:08:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:08:30 + grep -v github /etc/ssh/ssh_known_hosts 23:08:30 + [ -e /tmp/ssh_known_hosts ] 23:08:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:08:30 + sudo tee -a /etc/ssh/ssh_known_hosts 23:08:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:08:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:30 23:08:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:30 0.1.4: Pulling from edgex-devops/py-git-semver 23:08:30 b85a868b505f: Pulling fs layer 23:08:30 e2be974225ed: Pulling fs layer 23:08:30 339a4e72a1f5: Pulling fs layer 23:08:30 988bab9f4d93: Pulling fs layer 23:08:30 1469e6f7b9e6: Pulling fs layer 23:08:30 eaf3925da568: Pulling fs layer 23:08:30 bab4dde63d76: Pulling fs layer 23:08:30 bde34c3a00c8: Pulling fs layer 23:08:30 b352a97aabf1: Pulling fs layer 23:08:30 4872d77fe225: Pulling fs layer 23:08:30 5851b861e8e6: Pulling fs layer 23:08:30 5851b861e8e6: Waiting 23:08:30 4872d77fe225: Waiting 23:08:30 1469e6f7b9e6: Waiting 23:08:30 b352a97aabf1: Waiting 23:08:30 988bab9f4d93: Waiting 23:08:30 bab4dde63d76: Waiting 23:08:30 bde34c3a00c8: Waiting 23:08:30 eaf3925da568: Waiting 23:08:30 e2be974225ed: Verifying Checksum 23:08:30 e2be974225ed: Download complete 23:08:30 988bab9f4d93: Verifying Checksum 23:08:30 988bab9f4d93: Download complete 23:08:31 1469e6f7b9e6: Verifying Checksum 23:08:31 1469e6f7b9e6: Download complete 23:08:31 339a4e72a1f5: Verifying Checksum 23:08:31 339a4e72a1f5: Download complete 23:08:31 eaf3925da568: Verifying Checksum 23:08:31 eaf3925da568: Download complete 23:08:31 bde34c3a00c8: Download complete 23:08:31 b352a97aabf1: Verifying Checksum 23:08:31 b352a97aabf1: Download complete 23:08:31 4872d77fe225: Download complete 23:08:31 5851b861e8e6: Verifying Checksum 23:08:31 5851b861e8e6: Download complete 23:08:31 b85a868b505f: Download complete 23:08:31 bab4dde63d76: Verifying Checksum 23:08:31 bab4dde63d76: Download complete 23:08:32 b85a868b505f: Pull complete 23:08:32 e2be974225ed: Pull complete 23:08:33 339a4e72a1f5: Pull complete 23:08:33 988bab9f4d93: Pull complete 23:08:33 1469e6f7b9e6: Pull complete 23:08:33 eaf3925da568: Pull complete 23:08:35 bab4dde63d76: Pull complete 23:08:35 bde34c3a00c8: Pull complete 23:08:35 b352a97aabf1: Pull complete 23:08:35 4872d77fe225: Pull complete 23:08:35 5851b861e8e6: Pull complete 23:08:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:08:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:35 prd-ubuntu20.04-docker-8c-8g-6298 does not seem to be running inside a container 23:08:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-449 -v /w/workspace/xfoundry_device-modbus-go_PR-449:/w/workspace/xfoundry_device-modbus-go_PR-449:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-449@tmp:/w/workspace/xfoundry_device-modbus-go_PR-449@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:08:38 $ docker top 62ebb12b3554df49b1a8e4d7e4b7c52d1f00ddec2736fa49425fd29a148dc5cc -eo pid,comm 23:08:38 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). 23:08:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:08:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:38 [ssh-agent] Looking for ssh-agent implementation... 23:08:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:38 $ docker exec 62ebb12b3554df49b1a8e4d7e4b7c52d1f00ddec2736fa49425fd29a148dc5cc ssh-agent 23:08:38 SSH_AUTH_SOCK=/tmp/ssh-ssV7Y2Vex7zA/agent.31 23:08:38 SSH_AGENT_PID=38 23:08:38 Running ssh-add (command line suppressed) 23:08:38 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-449@tmp/private_key_6363532557533113638.key (/w/workspace/xfoundry_device-modbus-go_PR-449@tmp/private_key_6363532557533113638.key) 23:08:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:39 + git tag --points-at HEAD [Pipeline] } 23:08:39 $ docker exec --env ******** --env ******** 62ebb12b3554df49b1a8e4d7e4b7c52d1f00ddec2736fa49425fd29a148dc5cc ssh-agent -k 23:08:39 unset SSH_AUTH_SOCK; 23:08:39 unset SSH_AGENT_PID; 23:08:39 echo Agent pid 38 killed; 23:08:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:39 [ssh-agent] Looking for ssh-agent implementation... 23:08:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:39 $ docker exec 62ebb12b3554df49b1a8e4d7e4b7c52d1f00ddec2736fa49425fd29a148dc5cc ssh-agent 23:08:39 SSH_AUTH_SOCK=/tmp/ssh-Gal8GDNab4DP/agent.70 23:08:39 SSH_AGENT_PID=76 23:08:39 Running ssh-add (command line suppressed) 23:08:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-449@tmp/private_key_5111675101587162459.key (/w/workspace/xfoundry_device-modbus-go_PR-449@tmp/private_key_5111675101587162459.key) 23:08:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:39 + git semver init 23:08:40 2023-03-29 23:08:40,158 [run_init] DEBUG init version:0.0.0 force:False 23:08:40 2023-03-29 23:08:40,159 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-449/.semver 23:08:40 2023-03-29 23:08:40,160 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-449/.semver 23:08:40 2023-03-29 23:08:40,160 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-449/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-449, universal_newlines=False, shell=None, istream=None) 23:08:41 2023-03-29 23:08:40,944 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-449/.git/info/exclude 23:08:41 2023-03-29 23:08:40,945 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-449/.semver/PR-449 with force:False 23:08:41 2023-03-29 23:08:40,945 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-449/.semver/PR-449 23:08:41 2023-03-29 23:08:40,949 [execute] INFO git cat-file --batch-check 23:08:41 2023-03-29 23:08:40,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-449/.semver, universal_newlines=False, shell=None, istream=) 23:08:41 2023-03-29 23:08:40,956 [execute] INFO git cat-file --batch 23:08:41 2023-03-29 23:08:40,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-449/.semver, universal_newlines=False, shell=None, istream=) 23:08:41 2023-03-29 23:08:40,963 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-449/.semver/PR-449 23:08:41 0.0.0 [Pipeline] } 23:08:41 $ docker exec --env ******** --env ******** 62ebb12b3554df49b1a8e4d7e4b7c52d1f00ddec2736fa49425fd29a148dc5cc ssh-agent -k 23:08:41 unset SSH_AUTH_SOCK; 23:08:41 unset SSH_AGENT_PID; 23:08:41 echo Agent pid 76 killed; 23:08:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:41 + git semver [Pipeline] } 23:08:42 $ docker stop --time=1 62ebb12b3554df49b1a8e4d7e4b7c52d1f00ddec2736fa49425fd29a148dc5cc 23:08:43 $ docker rm -f --volumes 62ebb12b3554df49b1a8e4d7e4b7c52d1f00ddec2736fa49425fd29a148dc5cc [Pipeline] // withDockerContainer [Pipeline] sh 23:08:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:08:43 Stashed 1 file(s) [Pipeline] echo 23:08:43 [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 23:08:44 provisioning config files... 23:08:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-449@tmp/config12978851071102928279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:44 ---> docker-login.sh 23:08:44 nexus3.edgexfoundry.org:10001 23:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:44 Configure a credential helper to remove this warning. See 23:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:44 23:08:44 Login Succeeded 23:08:44 nexus3.edgexfoundry.org:10002 23:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:44 Configure a credential helper to remove this warning. See 23:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:44 23:08:44 Login Succeeded 23:08:44 nexus3.edgexfoundry.org:10003 23:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:45 Configure a credential helper to remove this warning. See 23:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:45 23:08:45 Login Succeeded 23:08:45 nexus3.edgexfoundry.org:10004 23:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:45 Configure a credential helper to remove this warning. See 23:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:45 23:08:45 Login Succeeded 23:08:45 docker.io 23:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:45 Configure a credential helper to remove this warning. See 23:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:45 23:08:45 Login Succeeded 23:08:45 ---> docker-login.sh ends [Pipeline] } 23:08:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:45 ========================================================= 23:08:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:08:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:46 + 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 . 23:08:46 Sending build context to Docker daemon 6.407MB 23:08:46 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:08:46 Step 2/10 : FROM ${BASE} AS builder 23:08:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:08:46 63b65145d645: Pulling fs layer 23:08:46 a2d21d5440eb: Pulling fs layer 23:08:46 935e6c44a52c: Pulling fs layer 23:08:46 94cc34f8dd06: Pulling fs layer 23:08:46 30dea6a524f1: Pulling fs layer 23:08:46 a2aff8979fd8: Pulling fs layer 23:08:46 6808be2612f2: Pulling fs layer 23:08:46 f25807f1079a: Pulling fs layer 23:08:46 94cc34f8dd06: Waiting 23:08:46 30dea6a524f1: Waiting 23:08:46 a2aff8979fd8: Waiting 23:08:46 6808be2612f2: Waiting 23:08:46 f25807f1079a: Waiting 23:08:46 a2d21d5440eb: Verifying Checksum 23:08:46 a2d21d5440eb: Download complete 23:08:46 94cc34f8dd06: Verifying Checksum 23:08:46 94cc34f8dd06: Download complete 23:08:46 30dea6a524f1: Verifying Checksum 23:08:46 30dea6a524f1: Download complete 23:08:46 63b65145d645: Download complete 23:08:46 a2aff8979fd8: Verifying Checksum 23:08:46 a2aff8979fd8: Download complete 23:08:46 63b65145d645: Pull complete 23:08:46 a2d21d5440eb: Pull complete 23:08:46 f25807f1079a: Verifying Checksum 23:08:46 f25807f1079a: Download complete 23:08:46 935e6c44a52c: Verifying Checksum 23:08:46 935e6c44a52c: Download complete 23:08:46 6808be2612f2: Verifying Checksum 23:08:46 6808be2612f2: Download complete 23:08:50 935e6c44a52c: Pull complete 23:08:50 94cc34f8dd06: Pull complete 23:08:50 30dea6a524f1: Pull complete 23:08:50 a2aff8979fd8: Pull complete 23:08:52 6808be2612f2: Pull complete 23:08:53 f25807f1079a: Pull complete 23:08:53 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:08:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:08:53 ---> 3b553350e43f 23:08:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:08:57 ---> Running in 7adf0d037507 23:08:57 Removing intermediate container 7adf0d037507 23:08:57 ---> a6b074505596 23:08:57 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:08:57 ---> Running in 737afff5793d 23:08:57 Removing intermediate container 737afff5793d 23:08:57 ---> efb7c5264d1f 23:08:57 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:08:57 ---> Running in e7695c25aed8 23:08:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:08:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:08:57 (1/8) Installing openssh-keygen (9.1_p1-r2) 23:08:57 (2/8) Installing libedit (20221030.3.1-r0) 23:08:57 (3/8) Installing openssh-client-common (9.1_p1-r2) 23:08:57 (4/8) Installing openssh-client-default (9.1_p1-r2) 23:08:57 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 23:08:57 (6/8) Installing openssh-server-common (9.1_p1-r2) 23:08:57 (7/8) Installing openssh-server (9.1_p1-r2) 23:08:57 (8/8) Installing openssh (9.1_p1-r2) 23:08:57 Executing busybox-1.35.0-r29.trigger 23:08:57 OK: 270 MiB in 61 packages 23:08:58 Removing intermediate container e7695c25aed8 23:08:58 ---> 0de524e39cba 23:08:58 Step 6/10 : WORKDIR /device-modbus-go 23:08:58 ---> Running in 62d047107867 23:08:58 Removing intermediate container 62d047107867 23:08:58 ---> 648aa672fbc4 23:08:58 Step 7/10 : COPY go.mod vendor* ./ 23:08:58 ---> f939d7bf8087 23:08:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:08:58 ---> Running in 43e32d4b32f7 23:08:59 Still waiting to schedule task 23:08:59 ‘prd-centos7-blackbox-4c-2g-5786’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:08:59 ‘prd-centos7-blackbox-4c-2g-5787’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:08:59 ‘prd-centos7-builder-2c-1g-6293’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:08:59 ‘prd-ubuntu20.04-docker-8c-8g-6290’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:08:59 ‘prd-ubuntu20.04-docker-8c-8g-6291’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:08:59 ‘prd-ubuntu20.04-docker-8c-8g-6302’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:08:59 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6287’ is offline 23:08:59 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6289’ is offline 23:08:59 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6297’ is offline 23:09:30 Removing intermediate container 43e32d4b32f7 23:09:30 ---> 17e83d58edfa 23:09:30 Step 9/10 : COPY . . 23:09:30 ---> 7c2e382f4521 23:09:30 Step 10/10 : RUN ${MAKE} 23:09:30 ---> Running in 5fe6a7c563b6 23:09:30 noop 23:09:30 Removing intermediate container 5fe6a7c563b6 23:09:30 ---> 7be99b8f0db3 23:09:30 Successfully built 7be99b8f0db3 23:09:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:31 + docker inspect -f . ci-base-image-x86_64 23:09:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:31 prd-ubuntu20.04-docker-8c-8g-6298 does not seem to be running inside a container 23:09:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-449 -v /w/workspace/xfoundry_device-modbus-go_PR-449:/w/workspace/xfoundry_device-modbus-go_PR-449:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-449@tmp:/w/workspace/xfoundry_device-modbus-go_PR-449@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 ******** ci-base-image-x86_64 cat 23:09:31 $ docker top 438c9a50ed7d5ee7a72b685277801bca207fed1afc0f0039dbda0def4876923e -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:32 + go version 23:09:32 go version go1.20.2 linux/amd64 [Pipeline] } 23:09:32 $ docker stop --time=1 438c9a50ed7d5ee7a72b685277801bca207fed1afc0f0039dbda0def4876923e 23:09:33 $ docker rm -f --volumes 438c9a50ed7d5ee7a72b685277801bca207fed1afc0f0039dbda0def4876923e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:34 + docker inspect -f . ci-base-image-x86_64 23:09:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:34 prd-ubuntu20.04-docker-8c-8g-6298 does not seem to be running inside a container 23:09:34 $ 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-449 -v /w/workspace/xfoundry_device-modbus-go_PR-449:/w/workspace/xfoundry_device-modbus-go_PR-449:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-449@tmp:/w/workspace/xfoundry_device-modbus-go_PR-449@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 ******** ci-base-image-x86_64 cat 23:09:34 $ docker top 42b94af4d13f5d8c55b59564f367b6f45adca146159a9b9a6b34d8e1bca92beb -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:35 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-449 [Pipeline] fileExists [Pipeline] sh 23:09:35 + make test 23:09:35 go test ./... -coverprofile=coverage.out 23:09:40 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:09:50 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:09:50 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 48.0% of statements 23:09:56 go vet ./... 23:09:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:09:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:09:59 ./bin/test-attribution-txt.sh [Pipeline] echo 23:09:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:09:59 $ docker stop --time=1 42b94af4d13f5d8c55b59564f367b6f45adca146159a9b9a6b34d8e1bca92beb 23:10:04 $ docker rm -f --volumes 42b94af4d13f5d8c55b59564f367b6f45adca146159a9b9a6b34d8e1bca92beb [Pipeline] // withDockerContainer [Pipeline] sh 23:10:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:10:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:10:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:10:05 + ls -al . 23:10:05 total 180 23:10:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:09 . 23:10:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:08 .. 23:10:05 -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 23:08 .dockerignore 23:10:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:08 .git 23:10:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:08 .github 23:10:05 -rw-rw-r-- 1 jenkins jenkins 331 Mar 29 23:08 .gitignore 23:10:05 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:08 .golangci.yml 23:10:05 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:08 .semver 23:10:05 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 29 23:08 Attribution.txt 23:10:05 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 29 23:08 CHANGELOG.md 23:10:05 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 29 23:08 Dockerfile 23:10:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:08 GOVERNANCE.md 23:10:05 -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:08 Jenkinsfile 23:10:05 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:08 LICENSE 23:10:05 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 29 23:08 Makefile 23:10:05 -rw-rw-r-- 1 jenkins jenkins 622 Mar 29 23:08 OWNERS.md 23:10:05 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 29 23:08 README.md 23:10:05 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:08 VERSION 23:10:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:08 bin 23:10:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:08 cmd 23:10:05 -rw-r--r-- 1 jenkins jenkins 23739 Mar 29 23:09 coverage.out 23:10:05 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 29 23:08 go.mod 23:10:05 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 29 23:08 go.sum 23:10:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:08 internal 23:10:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:08 simulator 23:10:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:08 snap 23:10:05 -rw-rw-r-- 1 jenkins jenkins 229 Mar 29 23:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:06 + 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=8dc9b5075945768134d292084ab2be258a525270 --label arch=amd64 --label version=0.0.0 . 23:10:06 Sending build context to Docker daemon 6.431MB 23:10:06 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 23:10:06 Step 2/22 : FROM ${BASE} AS builder 23:10:06 ---> 7be99b8f0db3 23:10:06 Step 3/22 : ARG ADD_BUILD_TAGS="" 23:10:06 ---> Running in 386524942a20 23:10:06 Removing intermediate container 386524942a20 23:10:06 ---> 9c29023b8932 23:10:06 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:10:06 ---> Running in 6ec4b548f40b 23:10:06 Removing intermediate container 6ec4b548f40b 23:10:06 ---> 9ee0166c9c5d 23:10:06 Step 5/22 : RUN apk add --update --no-cache make git openssh 23:10:06 ---> Running in 9e46531ff9c4 23:10:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:10:07 OK: 270 MiB in 61 packages 23:10:07 Removing intermediate container 9e46531ff9c4 23:10:07 ---> a1356c4e0dfe 23:10:07 Step 6/22 : WORKDIR /device-modbus-go 23:10:07 ---> Running in d12e8091d34a 23:10:07 Removing intermediate container d12e8091d34a 23:10:07 ---> a13d74c81f3c 23:10:07 Step 7/22 : COPY go.mod vendor* ./ 23:10:07 ---> 392ffb347e6d 23:10:07 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:10:07 ---> Running in e12a1a1e3bcf 23:10:08 Removing intermediate container e12a1a1e3bcf 23:10:08 ---> a5ca508035dd 23:10:08 Step 9/22 : COPY . . 23:10:09 ---> 16cb6e4109b5 23:10:09 Step 10/22 : RUN ${MAKE} 23:10:09 ---> Running in 49069a261454 23:10:09 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 23:10:31 Removing intermediate container 49069a261454 23:10:31 ---> 08575b5fab20 23:10:31 Step 11/22 : FROM alpine:3.17 23:10:31 3.17: Pulling from library/alpine 23:10:31 f56be85fc22e: Pulling fs layer 23:10:31 f56be85fc22e: Download complete 23:10:31 f56be85fc22e: Pull complete 23:10:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:10:31 Status: Downloaded newer image for alpine:3.17 23:10:31 ---> 9ed4aefc74f6 23:10:31 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:10:31 ---> Running in 5253afeac412 23:10:31 Removing intermediate container 5253afeac412 23:10:31 ---> 50f9d3439172 23:10:31 Step 13/22 : RUN apk add --update --no-cache dumb-init 23:10:32 ---> Running in 14f1cb33f9c2 23:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:10:32 (1/1) Installing dumb-init (1.2.5-r2) 23:10:32 Executing busybox-1.35.0-r29.trigger 23:10:32 OK: 7 MiB in 16 packages 23:10:32 Removing intermediate container 14f1cb33f9c2 23:10:32 ---> f4f3c1f39628 23:10:32 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 23:10:33 ---> fe833cc40e51 23:10:33 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 23:10:33 ---> 546d3effd64c 23:10:33 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:10:33 ---> 02d9804031ed 23:10:33 Step 17/22 : EXPOSE 59901 23:10:33 ---> Running in f73911774945 23:10:33 Removing intermediate container f73911774945 23:10:33 ---> 028571feb62e 23:10:33 Step 18/22 : ENTRYPOINT ["/device-modbus"] 23:10:33 ---> Running in 5f7a1eed9395 23:10:33 Removing intermediate container 5f7a1eed9395 23:10:33 ---> d4cb6d63de39 23:10:33 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:10:34 ---> Running in 5ea91c17c3f6 23:10:34 Removing intermediate container 5ea91c17c3f6 23:10:34 ---> 7212273047a5 23:10:34 Step 20/22 : LABEL arch=amd64 23:10:34 ---> Running in 4d50f28e6bb1 23:10:34 Removing intermediate container 4d50f28e6bb1 23:10:34 ---> 990330052241 23:10:34 Step 21/22 : LABEL git_sha=8dc9b5075945768134d292084ab2be258a525270 23:10:34 ---> Running in 18f98ca6735e 23:10:34 Removing intermediate container 18f98ca6735e 23:10:34 ---> b490711ad4db 23:10:34 Step 22/22 : LABEL version=0.0.0 23:10:34 ---> Running in a3cfd7f44a81 23:10:34 Removing intermediate container a3cfd7f44a81 23:10:34 ---> 9386df30a72c 23:10:34 [Warning] One or more build-args [ARCH] were not consumed 23:10:34 Successfully built 9386df30a72c 23:10:34 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 23:10:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:35 23:10:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:36 latest: Pulling from edgex-lftools-log-publisher 23:10:36 5eb5b503b376: Pulling fs layer 23:10:36 5c69ac0246d0: Pulling fs layer 23:10:36 ec43610c2a17: Pulling fs layer 23:10:36 3a2ae6a8a46f: Pulling fs layer 23:10:36 33b1e0a273af: Pulling fs layer 23:10:36 5d3b04190fa2: Pulling fs layer 23:10:36 2f39f015ded8: Pulling fs layer 23:10:36 5d3b04190fa2: Waiting 23:10:36 3a2ae6a8a46f: Waiting 23:10:36 33b1e0a273af: Waiting 23:10:36 2f39f015ded8: Waiting 23:10:36 5c69ac0246d0: Verifying Checksum 23:10:36 5c69ac0246d0: Download complete 23:10:36 3a2ae6a8a46f: Verifying Checksum 23:10:36 3a2ae6a8a46f: Download complete 23:10:36 ec43610c2a17: Verifying Checksum 23:10:36 ec43610c2a17: Download complete 23:10:36 33b1e0a273af: Verifying Checksum 23:10:36 33b1e0a273af: Download complete 23:10:36 5d3b04190fa2: Verifying Checksum 23:10:36 5d3b04190fa2: Download complete 23:10:36 5eb5b503b376: Verifying Checksum 23:10:36 5eb5b503b376: Download complete 23:10:37 2f39f015ded8: Verifying Checksum 23:10:37 2f39f015ded8: Download complete 23:10:38 5eb5b503b376: Pull complete 23:10:38 5c69ac0246d0: Pull complete 23:10:38 ec43610c2a17: Pull complete 23:10:38 3a2ae6a8a46f: Pull complete 23:10:38 33b1e0a273af: Pull complete 23:10:38 5d3b04190fa2: Pull complete 23:10:44 2f39f015ded8: Pull complete 23:10:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:10:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:44 prd-ubuntu20.04-docker-8c-8g-6298 does not seem to be running inside a container 23:10:44 $ 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-449 -v /w/workspace/xfoundry_device-modbus-go_PR-449:/w/workspace/xfoundry_device-modbus-go_PR-449:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-449@tmp:/w/workspace/xfoundry_device-modbus-go_PR-449@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-lftools-log-publisher:latest cat 23:10:49 $ docker top 37acb5e93feeab3abaf530f237a9a915423d66816b31012b8f496dab04d199e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:49 ---> job-cost.sh 23:10:49 lf-activate-venv: SKIPPING 23:10:49 INFO: No Stack... 23:10:49 INFO: Retrieving Pricing Info for: v3-standard-8 23:10:50 INFO: Archiving Costs [Pipeline] sh 23:10:50 + cat /w/workspace/xfoundry_device-modbus-go_PR-449/archives/cost.csv 23:10:50 + cut -d, -f6 [Pipeline] lock 23:10:50 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-449-1-stack-cost] 23:10:50 Resource [jenkins-edgexfoundry-device-modbus-go-PR-449-1-stack-cost] did not exist. Created. 23:10:50 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-449-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:10:51 + echo total: 0.2199999988079071 [Pipeline] stash 23:10:51 Stashed 1 file(s) [Pipeline] } 23:10:51 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-449-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:10:51 $ docker stop --time=1 37acb5e93feeab3abaf530f237a9a915423d66816b31012b8f496dab04d199e0 23:10:52 $ docker rm -f --volumes 37acb5e93feeab3abaf530f237a9a915423d66816b31012b8f496dab04d199e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:11:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6304 in /w/workspace/xfoundry_device-modbus-go_PR-449 [Pipeline] { [Pipeline] ws 23:11:29 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 23:11:30 Selected Git installation does not exist. Using Default 23:11:30 The recommended git tool is: NONE 23:11:37 using credential edgex-jenkins-ssh 23:11:37 Cloning the remote Git repository 23:11:37 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:11:37 > git init /w/workspace/device-modbus-go/1 # timeout=10 23:11:37 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:11:37 > git --version # timeout=10 23:11:37 > git --version # 'git version 2.25.1' 23:11:37 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:11:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:11:40 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:11:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/449/head:refs/remotes/origin/PR-449 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:11:40 Merging remotes/origin/main commit 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 into PR head commit 8dc9b5075945768134d292084ab2be258a525270 23:11:40 Merge succeeded, producing 8dc9b5075945768134d292084ab2be258a525270 23:11:40 Checking out Revision 8dc9b5075945768134d292084ab2be258a525270 (PR-449) 23:11:41 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 23:11:41 > git --version # timeout=10 23:11:41 > git --version # 'git version 2.25.1' 23:11:41 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 23:11:40 > git config core.sparsecheckout # timeout=10 23:11:40 > git checkout -f 8dc9b5075945768134d292084ab2be258a525270 # timeout=10 23:11:40 > git remote # timeout=10 23:11:40 > git config --get remote.origin.url # timeout=10 23:11:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:40 > git merge 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 # timeout=10 23:11:40 > git rev-parse HEAD^{commit} # timeout=10 23:11:40 > git config core.sparsecheckout # timeout=10 23:11:40 > git checkout -f 8dc9b5075945768134d292084ab2be258a525270 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:11:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:11:42 % Total % Received % Xferd Average Speed Time Time Time Current 23:11:42 Dload Upload Total Spent Left Speed 23:11:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 23:11:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:11:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:11:43 + sudo tee /etc/docker/daemon.new 23:11:43 { 23:11:43 "registry-mirrors": [ 23:11:43 "https://nexus3.edgexfoundry.org:10001" 23:11:43 ], 23:11:43 "bip": "10.250.0.254/24", 23:11:43 "hosts": [ 23:11:43 "tcp://0.0.0.0:5555", 23:11:43 "unix:///var/run/docker.sock" 23:11:43 ], 23:11:43 "mtu": 1458, 23:11:43 "selinux-enabled": true, 23:11:43 "seccomp-profile": "/etc/docker/seccomp.json" 23:11:43 } [Pipeline] sh 23:11:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:11:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:06 provisioning config files... 23:12:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7638494822585674619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:06 ---> docker-login.sh 23:12:06 nexus3.edgexfoundry.org:10001 23:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:07 Configure a credential helper to remove this warning. See 23:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:07 23:12:07 Login Succeeded 23:12:07 nexus3.edgexfoundry.org:10002 23:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:08 Configure a credential helper to remove this warning. See 23:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:08 23:12:08 Login Succeeded 23:12:08 nexus3.edgexfoundry.org:10003 23:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:08 Configure a credential helper to remove this warning. See 23:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:08 23:12:08 Login Succeeded 23:12:08 nexus3.edgexfoundry.org:10004 23:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:08 Configure a credential helper to remove this warning. See 23:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:08 23:12:08 Login Succeeded 23:12:08 docker.io 23:12:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:09 Configure a credential helper to remove this warning. See 23:12:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:09 23:12:09 Login Succeeded 23:12:09 ---> docker-login.sh ends [Pipeline] } 23:12:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:12:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:10 ========================================================= 23:12:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:12:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:10 + 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 . 23:12:10 Sending build context to Docker daemon 3.349MB 23:12:11 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:12:11 Step 2/10 : FROM ${BASE} AS builder 23:12:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:12:11 af6eaf76a39c: Pulling fs layer 23:12:11 55522c791124: Pulling fs layer 23:12:11 ce5c4a1c91eb: Pulling fs layer 23:12:11 169dfbe0d373: Pulling fs layer 23:12:11 e1ff8fa3b103: Pulling fs layer 23:12:11 52ebb69f0ebf: Pulling fs layer 23:12:11 5abe8eddf0d5: Pulling fs layer 23:12:11 e1ff8fa3b103: Waiting 23:12:11 52ebb69f0ebf: Waiting 23:12:11 5abe8eddf0d5: Waiting 23:12:11 169dfbe0d373: Waiting 23:12:11 55522c791124: Verifying Checksum 23:12:11 55522c791124: Download complete 23:12:11 169dfbe0d373: Verifying Checksum 23:12:11 169dfbe0d373: Download complete 23:12:11 e1ff8fa3b103: Verifying Checksum 23:12:11 e1ff8fa3b103: Download complete 23:12:11 af6eaf76a39c: Verifying Checksum 23:12:11 af6eaf76a39c: Download complete 23:12:12 af6eaf76a39c: Pull complete 23:12:12 5abe8eddf0d5: Verifying Checksum 23:12:12 5abe8eddf0d5: Download complete 23:12:13 55522c791124: Pull complete 23:12:14 ce5c4a1c91eb: Verifying Checksum 23:12:14 ce5c4a1c91eb: Download complete 23:12:14 52ebb69f0ebf: Verifying Checksum 23:12:14 52ebb69f0ebf: Download complete 23:12:26 ce5c4a1c91eb: Pull complete 23:12:26 169dfbe0d373: Pull complete 23:12:26 e1ff8fa3b103: Pull complete 23:12:33 52ebb69f0ebf: Pull complete 23:12:34 5abe8eddf0d5: Pull complete 23:12:34 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:12:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:12:34 ---> 6cb57ee374ae 23:12:34 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:12:35 ---> Running in 413de1c83335 23:12:35 Removing intermediate container 413de1c83335 23:12:35 ---> 351cf7c70300 23:12:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:12:35 ---> Running in 771e9fd5dc19 23:12:35 Removing intermediate container 771e9fd5dc19 23:12:35 ---> fd128eab9128 23:12:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:12:35 ---> Running in 9756311910f8 23:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:12:39 (1/8) Installing openssh-keygen (9.1_p1-r2) 23:12:39 (2/8) Installing libedit (20221030.3.1-r0) 23:12:39 (3/8) Installing openssh-client-common (9.1_p1-r2) 23:12:39 (4/8) Installing openssh-client-default (9.1_p1-r2) 23:12:39 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 23:12:39 (6/8) Installing openssh-server-common (9.1_p1-r2) 23:12:39 (7/8) Installing openssh-server (9.1_p1-r2) 23:12:39 (8/8) Installing openssh (9.1_p1-r2) 23:12:39 Executing busybox-1.35.0-r29.trigger 23:12:39 OK: 270 MiB in 61 packages 23:12:40 Removing intermediate container 9756311910f8 23:12:40 ---> eee746b98671 23:12:40 Step 6/10 : WORKDIR /device-modbus-go 23:12:40 ---> Running in 73ec250f8caf 23:12:40 Removing intermediate container 73ec250f8caf 23:12:40 ---> b4cd54c7e432 23:12:40 Step 7/10 : COPY go.mod vendor* ./ 23:12:41 ---> 41c23d9fe198 23:12:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:41 ---> Running in 804ab7f47d3d 23:14:03 Removing intermediate container 804ab7f47d3d 23:14:03 ---> 2dd814091ced 23:14:03 Step 9/10 : COPY . . 23:14:03 ---> 103844986302 23:14:03 Step 10/10 : RUN ${MAKE} 23:14:03 ---> Running in d0bbcb0c5a95 23:14:03 noop 23:14:03 Removing intermediate container d0bbcb0c5a95 23:14:03 ---> 12cb8e091733 23:14:03 Successfully built 12cb8e091733 23:14:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:03 + docker inspect -f . ci-base-image-arm64 23:14:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:03 prd-ubuntu20.04-docker-arm64-4c-16g-6304 does not seem to be running inside a container 23:14:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 23:14:05 $ docker top 399579e1f4e9131c66e9d4f01d686c7f02504dff1dfcc4447897fb2aa30c50e9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:06 + go version 23:14:06 go version go1.20.2 linux/arm64 [Pipeline] } 23:14:06 $ docker stop --time=1 399579e1f4e9131c66e9d4f01d686c7f02504dff1dfcc4447897fb2aa30c50e9 23:14:08 $ docker rm -f --volumes 399579e1f4e9131c66e9d4f01d686c7f02504dff1dfcc4447897fb2aa30c50e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:09 + docker inspect -f . ci-base-image-arm64 23:14:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:09 prd-ubuntu20.04-docker-arm64-4c-16g-6304 does not seem to be running inside a container 23:14:09 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 23:14:10 $ docker top dcbd16c55b16c108b22b7b73c2f4c6b8df57248bd7212cdf76870388e7b9b4a8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:11 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 23:14:12 + make test 23:14:12 go test ./... -coverprofile=coverage.out 23:14:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:17:51 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:17:51 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.090s coverage: 48.0% of statements 23:17:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:17:51 go vet ./... 23:18:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:18:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:18:23 ./bin/test-attribution-txt.sh [Pipeline] echo 23:18:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:18:23 $ docker stop --time=1 dcbd16c55b16c108b22b7b73c2f4c6b8df57248bd7212cdf76870388e7b9b4a8 23:18:25 $ docker rm -f --volumes dcbd16c55b16c108b22b7b73c2f4c6b8df57248bd7212cdf76870388e7b9b4a8 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:18:27 Warning: overwriting stash ‘coverage-report’ 23:18:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:18:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:18:28 + ls -al . 23:18:28 total 176 23:18:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:14 . 23:18:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:11 .. 23:18:28 -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 23:11 .dockerignore 23:18:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:11 .git 23:18:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:11 .github 23:18:28 -rw-rw-r-- 1 jenkins jenkins 331 Mar 29 23:11 .gitignore 23:18:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:11 .golangci.yml 23:18:28 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 29 23:11 Attribution.txt 23:18:28 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 29 23:11 CHANGELOG.md 23:18:28 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 29 23:11 Dockerfile 23:18:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:11 GOVERNANCE.md 23:18:28 -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:11 Jenkinsfile 23:18:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:11 LICENSE 23:18:28 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 29 23:11 Makefile 23:18:28 -rw-rw-r-- 1 jenkins jenkins 622 Mar 29 23:11 OWNERS.md 23:18:28 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 29 23:11 README.md 23:18:28 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:08 VERSION 23:18:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:11 bin 23:18:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:11 cmd 23:18:28 -rw-r--r-- 1 jenkins jenkins 23739 Mar 29 23:17 coverage.out 23:18:28 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 29 23:11 go.mod 23:18:28 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 29 23:11 go.sum 23:18:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:11 internal 23:18:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:11 simulator 23:18:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:11 snap 23:18:28 -rw-rw-r-- 1 jenkins jenkins 229 Mar 29 23:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:29 + 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=8dc9b5075945768134d292084ab2be258a525270 --label arch=arm64 --label version=0.0.0 . 23:18:29 Sending build context to Docker daemon 3.374MB 23:18:29 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 23:18:29 Step 2/22 : FROM ${BASE} AS builder 23:18:29 ---> 12cb8e091733 23:18:29 Step 3/22 : ARG ADD_BUILD_TAGS="" 23:18:29 ---> Running in f0d0584247f9 23:18:30 Removing intermediate container f0d0584247f9 23:18:30 ---> 99f6cbc64892 23:18:30 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:30 ---> Running in 1fd464ce3863 23:18:30 Removing intermediate container 1fd464ce3863 23:18:30 ---> c1fbc96ebb0a 23:18:30 Step 5/22 : RUN apk add --update --no-cache make git openssh 23:18:31 ---> Running in b55b852602a9 23:18:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:18:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:18:34 OK: 270 MiB in 61 packages 23:18:35 Removing intermediate container b55b852602a9 23:18:35 ---> edfaad784773 23:18:35 Step 6/22 : WORKDIR /device-modbus-go 23:18:35 ---> Running in 4a77f85f9e00 23:18:35 Removing intermediate container 4a77f85f9e00 23:18:35 ---> 0161d872047d 23:18:35 Step 7/22 : COPY go.mod vendor* ./ 23:18:36 ---> 4737ca32dd83 23:18:36 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:36 ---> Running in 273ad1d6dfae 23:18:39 Removing intermediate container 273ad1d6dfae 23:18:39 ---> 39d4ae0b79a9 23:18:39 Step 9/22 : COPY . . 23:18:40 ---> e97ce3735e4e 23:18:40 Step 10/22 : RUN ${MAKE} 23:18:40 ---> Running in 0a6a0dae3243 23:18:41 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 23:21:33 Removing intermediate container 0a6a0dae3243 23:21:33 ---> 701d680f07c8 23:21:33 Step 11/22 : FROM alpine:3.17 23:21:33 3.17: Pulling from library/alpine 23:21:33 c41833b44d91: Pulling fs layer 23:21:33 c41833b44d91: Verifying Checksum 23:21:33 c41833b44d91: Download complete 23:21:33 c41833b44d91: Pull complete 23:21:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:21:33 Status: Downloaded newer image for alpine:3.17 23:21:33 ---> 51e60588ff2c 23:21:33 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:21:33 ---> Running in ff552ec601b4 23:21:33 Removing intermediate container ff552ec601b4 23:21:33 ---> fa8b47c6c421 23:21:33 Step 13/22 : RUN apk add --update --no-cache dumb-init 23:21:33 ---> Running in af72a02a4a25 23:21:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:21:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:21:33 (1/1) Installing dumb-init (1.2.5-r2) 23:21:33 Executing busybox-1.35.0-r29.trigger 23:21:33 OK: 8 MiB in 16 packages 23:21:33 Removing intermediate container af72a02a4a25 23:21:33 ---> ffee5d9cf899 23:21:33 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 23:21:35 ---> ca3a71b5e611 23:21:35 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 23:21:35 ---> 648cb45b71a2 23:21:35 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:21:36 ---> 5b052ddf36bd 23:21:36 Step 17/22 : EXPOSE 59901 23:21:36 ---> Running in aa91c35b655e 23:21:36 Removing intermediate container aa91c35b655e 23:21:36 ---> bec62c99233c 23:21:36 Step 18/22 : ENTRYPOINT ["/device-modbus"] 23:21:36 ---> Running in 7fa9deee29ba 23:21:36 Removing intermediate container 7fa9deee29ba 23:21:36 ---> 6585017ef9d0 23:21:36 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:21:36 ---> Running in fa895e9f85f6 23:21:37 Removing intermediate container fa895e9f85f6 23:21:37 ---> d97c0de60f10 23:21:37 Step 20/22 : LABEL arch=arm64 23:21:37 ---> Running in 0c80a30ee22e 23:21:37 Removing intermediate container 0c80a30ee22e 23:21:37 ---> 60c854f74aba 23:21:37 Step 21/22 : LABEL git_sha=8dc9b5075945768134d292084ab2be258a525270 23:21:37 ---> Running in b3ff3bc8c397 23:21:38 Removing intermediate container b3ff3bc8c397 23:21:38 ---> 9d33b70a9963 23:21:38 Step 22/22 : LABEL version=0.0.0 23:21:38 ---> Running in 8ea39186afa1 23:21:38 Removing intermediate container 8ea39186afa1 23:21:38 ---> 2dcd66c682ef 23:21:38 [Warning] One or more build-args [ARCH] were not consumed 23:21:38 Successfully built 2dcd66c682ef 23:21:38 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 23:21:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:21:39 23:21:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:21:39 arm64: Pulling from edgex-lftools-log-publisher 23:21:39 8998bd30e6a1: Pulling fs layer 23:21:39 04944245beec: Pulling fs layer 23:21:39 699f458cf7ca: Pulling fs layer 23:21:39 765212b225bb: Pulling fs layer 23:21:39 f23df028b6ca: Pulling fs layer 23:21:39 d65c8cfc05b1: Pulling fs layer 23:21:39 2437ff75d9bd: Pulling fs layer 23:21:39 f23df028b6ca: Waiting 23:21:39 765212b225bb: Waiting 23:21:40 d65c8cfc05b1: Waiting 23:21:40 2437ff75d9bd: Waiting 23:21:40 04944245beec: Verifying Checksum 23:21:40 04944245beec: Download complete 23:21:40 765212b225bb: Verifying Checksum 23:21:40 765212b225bb: Download complete 23:21:40 f23df028b6ca: Verifying Checksum 23:21:40 f23df028b6ca: Download complete 23:21:40 d65c8cfc05b1: Verifying Checksum 23:21:40 d65c8cfc05b1: Download complete 23:21:40 699f458cf7ca: Verifying Checksum 23:21:40 699f458cf7ca: Download complete 23:21:40 8998bd30e6a1: Verifying Checksum 23:21:40 8998bd30e6a1: Download complete 23:21:43 2437ff75d9bd: Verifying Checksum 23:21:43 2437ff75d9bd: Download complete 23:21:45 8998bd30e6a1: Pull complete 23:21:45 04944245beec: Pull complete 23:21:47 699f458cf7ca: Pull complete 23:21:47 765212b225bb: Pull complete 23:21:48 f23df028b6ca: Pull complete 23:21:51 d65c8cfc05b1: Pull complete 23:22:07 2437ff75d9bd: Pull complete 23:22:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:22:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:08 prd-ubuntu20.04-docker-arm64-4c-16g-6304 does not seem to be running inside a container 23:22:08 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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-lftools-log-publisher:arm64 cat 23:22:11 $ docker top 1200605d5fd81e9e0d9a340dfa70386491bb7b69350b72756b771ff5c9ffbb65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:12 ---> job-cost.sh 23:22:12 lf-activate-venv: SKIPPING 23:22:12 INFO: No Stack... 23:22:12 INFO: Retrieving Pricing Info for: v3-standard-4 23:22:13 INFO: Archiving Costs [Pipeline] sh 23:22:14 + cut -d, -f6 23:22:14 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 23:22:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-449-1-stack-cost] 23:22:14 Resource [jenkins-edgexfoundry-device-modbus-go-PR-449-1-stack-cost] did not exist. Created. 23:22:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-449-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:22:15 /w/workspace/device-modbus-go/1@tmp/durable-f86d6441/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:22:15 + echo total: 0.10999999940395355 [Pipeline] stash 23:22:15 Warning: overwriting stash ‘stack-cost’ 23:22:15 Stashed 1 file(s) [Pipeline] } 23:22:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-449-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:22:16 $ docker stop --time=1 1200605d5fd81e9e0d9a340dfa70386491bb7b69350b72756b771ff5c9ffbb65 23:22:17 $ docker rm -f --volumes 1200605d5fd81e9e0d9a340dfa70386491bb7b69350b72756b771ff5c9ffbb65 [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 23:22:18 provisioning config files... 23:22:18 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-449@tmp/config18411271507105130701tmp [Pipeline] { [Pipeline] sh 23:22:19 + set +x 23:22:19 + curl -s https://codecov.io/bash 23:22:19 + bash -s -- 23:22:19 23:22:19 _____ _ 23:22:19 / ____| | | 23:22:19 | | ___ __| | ___ ___ _____ __ 23:22:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:22:19 | |___| (_) | (_| | __/ (_| (_) \ V / 23:22:19 \_____\___/ \__,_|\___|\___\___/ \_/ 23:22:19 Bash-1.0.6 23:22:19 23:22:19 23:22:19 ==> git version 2.25.1 found 23:22:19 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:22:19 Release-Date: 2020-01-08 23:22:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:22:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:22:19 ==> Jenkins CI detected. 23:22:19 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-449 23:22:19 project root: . 23:22:19 --> token set from env 23:22:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:22:19 ==> Running gcov in . (disable via -X gcov) 23:22:19 ==> Python coveragepy not found 23:22:19 ==> Searching for coverage reports in: 23:22:19 + . 23:22:19 -> Found 1 reports 23:22:19 ==> Detecting git/mercurial file structure 23:22:19 ==> Reading reports 23:22:19 + ./coverage.out bytes=23739 23:22:19 ==> Appending adjustments 23:22:19 https://docs.codecov.io/docs/fixing-reports 23:22:19 + Found adjustments 23:22:19 ==> Gzipping contents 23:22:19 4.0K /tmp/codecov.TqSI2L.gz 23:22:19 ==> Uploading reports 23:22:19 url: https://codecov.io 23:22:19 query: branch=PR-449&commit=8dc9b5075945768134d292084ab2be258a525270&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-449%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=449&job=&cmd_args= 23:22:19 -> Pinging Codecov 23:22:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-449&commit=8dc9b5075945768134d292084ab2be258a525270&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-449%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=449&job=&cmd_args= 23:22:19 -> Uploading to 23:22:19 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/55DBCA73C666E3227836607328DD7E49/8dc9b5075945768134d292084ab2be258a525270/2483e416-573c-4461-b0e7-535b715d42b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T232219Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=059a20b05d08010807f8663bae541f3c75306d2a9b33f27347629b0dee600634 23:22:19 % Total % Received % Xferd Average Speed Time Time Time Current 23:22:19 Dload Upload Total Spent Left Speed 23:22:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3877 0 0 100 3877 0 14098 --:--:-- --:--:-- --:--:-- 14047 100 3877 0 0 100 3877 0 14098 --:--:-- --:--:-- --:--:-- 14047 23:22:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8dc9b5075945768134d292084ab2be258a525270 [Pipeline] } 23:22:19 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 23:22:21 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-449/archives ] 23:22:21 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-449/archives 23:22:21 total 16 23:22:21 drwxr-xr-x 3 root root 4096 Mar 29 23:10 . 23:22:21 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 23:10 .. 23:22:21 drwxr-xr-x 2 root root 4096 Mar 29 23:10 cost 23:22:21 -rw-r--r-- 1 root root 88 Mar 29 23:10 cost.csv 23:22:21 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-449/archives 23:22:21 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-449/archives 23:22:21 total 16 23:22:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:10 . 23:22:21 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 23:10 .. 23:22:21 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 23:10 cost 23:22:21 -rw-r--r-- 1 jenkins jenkins 88 Mar 29 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:22:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:22:22 ---> package-listing.sh 23:22:22 ++ tr '[:upper:]' '[:lower:]' 23:22:22 ++ facter osfamily 23:22:22 + OS_FAMILY=debian 23:22:22 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-449 23:22:22 + START_PACKAGES=/tmp/packages_start.txt 23:22:22 + END_PACKAGES=/tmp/packages_end.txt 23:22:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:22:22 + PACKAGES=/tmp/packages_start.txt 23:22:22 + '[' /w/workspace/xfoundry_device-modbus-go_PR-449 ']' 23:22:22 + PACKAGES=/tmp/packages_end.txt 23:22:22 + case "${OS_FAMILY}" in 23:22:22 + dpkg -l 23:22:22 + grep '^ii' 23:22:23 + '[' -f /tmp/packages_start.txt ']' 23:22:23 + '[' -f /tmp/packages_end.txt ']' 23:22:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:22:23 + '[' /w/workspace/xfoundry_device-modbus-go_PR-449 ']' 23:22:23 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-449/archives/ 23:22:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-449/archives/ [Pipeline] echo 23:22:23 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-449/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:22:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:24 prd-ubuntu20.04-docker-8c-8g-6298 does not seem to be running inside a container 23:22:24 $ 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-449/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-449 -v /w/workspace/xfoundry_device-modbus-go_PR-449:/w/workspace/xfoundry_device-modbus-go_PR-449:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-449@tmp:/w/workspace/xfoundry_device-modbus-go_PR-449@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:22:24 $ docker top 865fb3afe009f6e94b26b73651d29c7662d1e11804bdb532383485f060ed378a -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:24 + touch /tmp/pre-build-complete [Pipeline] sh 23:22:25 + mkdir -p /var/log/sysstat [Pipeline] sh 23:22:25 + ls /var/log/sa-host 23:22:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:22:25 provisioning config files... 23:22:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-449@tmp/config4134391688863507190tmp [Pipeline] { [Pipeline] echo 23:22:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:22:25 ---> create-netrc.sh [Pipeline] } 23:22:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:22:26 ---> python-tools-install.sh [Pipeline] echo 23:22:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:22:26 ---> sudo-logs.sh 23:22:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:22:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:22:27 ---> job-cost.sh 23:22:27 lf-activate-venv: SKIPPING 23:22:27 DEBUG: total: 0.2199999988079071 23:22:27 INFO: Retrieving Stack Cost... 23:22:27 INFO: Retrieving Pricing Info for: v3-standard-8 23:22:27 INFO: Archiving Costs [Pipeline] echo 23:22:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:22:28 ---> logs-deploy.sh 23:22:28 lf-activate-venv: SKIPPING 23:22:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-449/1 23:22:28 INFO: archiving workspace using pattern(s): 23:22:29 Archives upload complete. 23:22:29 INFO: archiving logs to Nexus