Pull request #447 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 16cf1a831c17c051fd34675e16faf7638fffd89b+053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 (b2502d38b3b921a64de81c9f98f640f66e276bdf) 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-ssh2110577326879065890.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-ssh9173885917157861992.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-447/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-447/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3414607392974385551.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 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-ssh2068935683717528579.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-447/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-447/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8483982907857432237.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6118 in /w/workspace/xfoundry_device-modbus-go_PR-447 [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-447 # 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 Merging remotes/origin/main commit 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 into PR head commit 16cf1a831c17c051fd34675e16faf7638fffd89b Merge succeeded, producing 16cf1a831c17c051fd34675e16faf7638fffd89b Checking out Revision 16cf1a831c17c051fd34675e16faf7638fffd89b (PR-447) > 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/447/head:refs/remotes/origin/PR-447 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16cf1a831c17c051fd34675e16faf7638fffd89b # 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 16cf1a831c17c051fd34675e16faf7638fffd89b # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:54:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:54:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:54:16 ========================================================= 20:54:16 EdgeX Global Pipelines Version Info 20:54:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ffda781c901d15efa6381477050d894846ee38fe # timeout=10 20:54:17 ------------------- 20:54:17 stable info: 20:54:17 ------------------- 20:54:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:54:17 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:54:17 Message: update stable to v1.0.245 20:54:17 ------------------- 20:54:17 experimental info: 20:54:17 ------------------- 20:54:17 Commited By: **** collab-it+edgex@linuxfoundation.org 20:54:17 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 20:54:17 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-447 [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-447 [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-447 [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16cf1a831c17c051fd34675e16faf7638fffd89b [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16cf1a8 [Pipeline] echo 20:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:54:18 provisioning config files... 20:54:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/config1196590481672779886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:18 ---> docker-login.sh 20:54:18 nexus3.edgexfoundry.org:10001 20:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:19 Configure a credential helper to remove this warning. See 20:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:19 20:54:19 Login Succeeded 20:54:19 nexus3.edgexfoundry.org:10002 20:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:19 Configure a credential helper to remove this warning. See 20:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:19 20:54:19 Login Succeeded 20:54:19 nexus3.edgexfoundry.org:10003 20:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:19 Configure a credential helper to remove this warning. See 20:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:19 20:54:19 Login Succeeded 20:54:19 nexus3.edgexfoundry.org:10004 20:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:19 Configure a credential helper to remove this warning. See 20:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:19 20:54:19 Login Succeeded 20:54:19 docker.io 20:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:19 Configure a credential helper to remove this warning. See 20:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:19 20:54:19 Login Succeeded 20:54:19 ---> docker-login.sh ends [Pipeline] } 20:54:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:54:20 + git rev-list -1 --merges 16cf1a831c17c051fd34675e16faf7638fffd89b~1..16cf1a831c17c051fd34675e16faf7638fffd89b [Pipeline] echo 20:54:20 -----------> git rev-list -1 --merges 16cf1a831c17c051fd34675e16faf7638fffd89b~1..16cf1a831c17c051fd34675e16faf7638fffd89b 16cf1a831c17c051fd34675e16faf7638fffd89b [false] [Pipeline] sh 20:54:20 + git log --format=format:%s -1 16cf1a831c17c051fd34675e16faf7638fffd89b [Pipeline] echo 20:54:20 ========================================================= 20:54:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:54:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:54:20 + git log --format=format:%s -1 16cf1a831c17c051fd34675e16faf7638fffd89b [Pipeline] echo 20:54:20 [semverPrep] GIT_COMMIT: 16cf1a831c17c051fd34675e16faf7638fffd89b, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 20:54:20 [semverPrep] This is not a build commit. [Pipeline] sh 20:54:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:54:21 + grep -v github /etc/ssh/ssh_known_hosts 20:54:21 + [ -e /tmp/ssh_known_hosts ] 20:54:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:54:21 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:54:21 sudo tee -a /etc/ssh/ssh_known_hosts 20:54:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:21 20:54:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:21 0.1.4: Pulling from edgex-devops/py-git-semver 20:54:21 b85a868b505f: Pulling fs layer 20:54:21 e2be974225ed: Pulling fs layer 20:54:21 339a4e72a1f5: Pulling fs layer 20:54:21 988bab9f4d93: Pulling fs layer 20:54:21 1469e6f7b9e6: Pulling fs layer 20:54:21 eaf3925da568: Pulling fs layer 20:54:21 bab4dde63d76: Pulling fs layer 20:54:21 bde34c3a00c8: Pulling fs layer 20:54:21 b352a97aabf1: Pulling fs layer 20:54:21 4872d77fe225: Pulling fs layer 20:54:21 5851b861e8e6: Pulling fs layer 20:54:21 988bab9f4d93: Waiting 20:54:21 1469e6f7b9e6: Waiting 20:54:21 eaf3925da568: Waiting 20:54:21 bab4dde63d76: Waiting 20:54:21 bde34c3a00c8: Waiting 20:54:21 b352a97aabf1: Waiting 20:54:21 4872d77fe225: Waiting 20:54:21 5851b861e8e6: Waiting 20:54:21 e2be974225ed: Verifying Checksum 20:54:21 e2be974225ed: Download complete 20:54:21 988bab9f4d93: Verifying Checksum 20:54:21 988bab9f4d93: Download complete 20:54:21 339a4e72a1f5: Verifying Checksum 20:54:21 339a4e72a1f5: Download complete 20:54:21 1469e6f7b9e6: Verifying Checksum 20:54:21 1469e6f7b9e6: Download complete 20:54:21 eaf3925da568: Verifying Checksum 20:54:21 eaf3925da568: Download complete 20:54:21 bde34c3a00c8: Download complete 20:54:21 b352a97aabf1: Download complete 20:54:21 4872d77fe225: Verifying Checksum 20:54:21 4872d77fe225: Download complete 20:54:21 5851b861e8e6: Verifying Checksum 20:54:21 5851b861e8e6: Download complete 20:54:21 b85a868b505f: Verifying Checksum 20:54:21 b85a868b505f: Download complete 20:54:22 bab4dde63d76: Verifying Checksum 20:54:22 bab4dde63d76: Download complete 20:54:23 b85a868b505f: Pull complete 20:54:23 e2be974225ed: Pull complete 20:54:23 339a4e72a1f5: Pull complete 20:54:23 988bab9f4d93: Pull complete 20:54:24 1469e6f7b9e6: Pull complete 20:54:24 eaf3925da568: Pull complete 20:54:26 bab4dde63d76: Pull complete 20:54:26 bde34c3a00c8: Pull complete 20:54:26 b352a97aabf1: Pull complete 20:54:26 4872d77fe225: Pull complete 20:54:26 5851b861e8e6: Pull complete 20:54:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:54:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:26 prd-ubuntu20.04-docker-8c-8g-6118 does not seem to be running inside a container 20:54:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-447 -v /w/workspace/xfoundry_device-modbus-go_PR-447:/w/workspace/xfoundry_device-modbus-go_PR-447:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-447@tmp:/w/workspace/xfoundry_device-modbus-go_PR-447@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:54:28 $ docker top f7bab4f02912b4f10215d46b78dc1655dcfb3df53f6289fac124b0d3e22194a6 -eo pid,comm 20:54:28 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). 20:54:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:54:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:28 [ssh-agent] Looking for ssh-agent implementation... 20:54:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:28 $ docker exec f7bab4f02912b4f10215d46b78dc1655dcfb3df53f6289fac124b0d3e22194a6 ssh-agent 20:54:28 SSH_AUTH_SOCK=/tmp/ssh-ycIOFBXQHHfV/agent.32 20:54:28 SSH_AGENT_PID=38 20:54:28 Running ssh-add (command line suppressed) 20:54:28 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-447@tmp/private_key_798568786311699098.key (/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/private_key_798568786311699098.key) 20:54:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:28 + git tag --points-at HEAD [Pipeline] } 20:54:28 $ docker exec --env ******** --env ******** f7bab4f02912b4f10215d46b78dc1655dcfb3df53f6289fac124b0d3e22194a6 ssh-agent -k 20:54:28 unset SSH_AUTH_SOCK; 20:54:28 unset SSH_AGENT_PID; 20:54:28 echo Agent pid 38 killed; 20:54:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:54:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:28 [ssh-agent] Looking for ssh-agent implementation... 20:54:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:29 $ docker exec f7bab4f02912b4f10215d46b78dc1655dcfb3df53f6289fac124b0d3e22194a6 ssh-agent 20:54:29 SSH_AUTH_SOCK=/tmp/ssh-fwlZH5H2ot79/agent.70 20:54:29 SSH_AGENT_PID=76 20:54:29 Running ssh-add (command line suppressed) 20:54:29 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-447@tmp/private_key_13448689845667268766.key (/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/private_key_13448689845667268766.key) 20:54:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:29 + git semver init 20:54:29 2023-03-28 20:54:29,787 [run_init] DEBUG init version:0.0.0 force:False 20:54:29 2023-03-28 20:54:29,788 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-447/.semver 20:54:29 2023-03-28 20:54:29,788 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-447/.semver 20:54:29 2023-03-28 20:54:29,788 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-447/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-447, universal_newlines=False, shell=None, istream=None) 20:54:30 2023-03-28 20:54:30,589 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-447/.git/info/exclude 20:54:30 2023-03-28 20:54:30,590 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-447/.semver/PR-447 with force:False 20:54:30 2023-03-28 20:54:30,590 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-447/.semver/PR-447 20:54:30 2023-03-28 20:54:30,594 [execute] INFO git cat-file --batch-check 20:54:30 2023-03-28 20:54:30,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-447/.semver, universal_newlines=False, shell=None, istream=) 20:54:30 2023-03-28 20:54:30,600 [execute] INFO git cat-file --batch 20:54:30 2023-03-28 20:54:30,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-447/.semver, universal_newlines=False, shell=None, istream=) 20:54:30 2023-03-28 20:54:30,606 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-447/.semver/PR-447 20:54:30 0.0.0 [Pipeline] } 20:54:30 $ docker exec --env ******** --env ******** f7bab4f02912b4f10215d46b78dc1655dcfb3df53f6289fac124b0d3e22194a6 ssh-agent -k 20:54:30 unset SSH_AUTH_SOCK; 20:54:30 unset SSH_AGENT_PID; 20:54:30 echo Agent pid 76 killed; 20:54:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:54:31 + git semver [Pipeline] } 20:54:31 $ docker stop --time=1 f7bab4f02912b4f10215d46b78dc1655dcfb3df53f6289fac124b0d3e22194a6 20:54:32 $ docker rm -f --volumes f7bab4f02912b4f10215d46b78dc1655dcfb3df53f6289fac124b0d3e22194a6 [Pipeline] // withDockerContainer [Pipeline] sh 20:54:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:54:33 Stashed 1 file(s) [Pipeline] echo 20:54:33 [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 20:54:33 provisioning config files... 20:54:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/config2290978602160837057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:33 ---> docker-login.sh 20:54:33 nexus3.edgexfoundry.org:10001 20:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:33 Configure a credential helper to remove this warning. See 20:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:33 20:54:33 Login Succeeded 20:54:33 nexus3.edgexfoundry.org:10002 20:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:33 Configure a credential helper to remove this warning. See 20:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:33 20:54:33 Login Succeeded 20:54:33 nexus3.edgexfoundry.org:10003 20:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:34 Configure a credential helper to remove this warning. See 20:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:34 20:54:34 Login Succeeded 20:54:34 nexus3.edgexfoundry.org:10004 20:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:34 Configure a credential helper to remove this warning. See 20:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:34 20:54:34 Login Succeeded 20:54:34 docker.io 20:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:34 Configure a credential helper to remove this warning. See 20:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:34 20:54:34 Login Succeeded 20:54:34 ---> docker-login.sh ends [Pipeline] } 20:54:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:54:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:34 ========================================================= 20:54:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:54:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:34 + 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 . 20:54:34 Sending build context to Docker daemon 6.406MB 20:54:34 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:54:34 Step 2/10 : FROM ${BASE} AS builder 20:54:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:54:34 63b65145d645: Pulling fs layer 20:54:34 a2d21d5440eb: Pulling fs layer 20:54:34 935e6c44a52c: Pulling fs layer 20:54:34 94cc34f8dd06: Pulling fs layer 20:54:34 30dea6a524f1: Pulling fs layer 20:54:34 a2aff8979fd8: Pulling fs layer 20:54:34 6808be2612f2: Pulling fs layer 20:54:34 f25807f1079a: Pulling fs layer 20:54:34 30dea6a524f1: Waiting 20:54:34 6808be2612f2: Waiting 20:54:34 94cc34f8dd06: Waiting 20:54:34 f25807f1079a: Waiting 20:54:34 a2d21d5440eb: Download complete 20:54:35 94cc34f8dd06: Verifying Checksum 20:54:35 94cc34f8dd06: Download complete 20:54:35 30dea6a524f1: Verifying Checksum 20:54:35 30dea6a524f1: Download complete 20:54:35 63b65145d645: Verifying Checksum 20:54:35 63b65145d645: Download complete 20:54:35 a2aff8979fd8: Verifying Checksum 20:54:35 a2aff8979fd8: Download complete 20:54:35 63b65145d645: Pull complete 20:54:35 a2d21d5440eb: Pull complete 20:54:35 f25807f1079a: Download complete 20:54:35 935e6c44a52c: Verifying Checksum 20:54:35 935e6c44a52c: Download complete 20:54:35 6808be2612f2: Verifying Checksum 20:54:35 6808be2612f2: Download complete 20:54:39 935e6c44a52c: Pull complete 20:54:39 94cc34f8dd06: Pull complete 20:54:39 30dea6a524f1: Pull complete 20:54:39 a2aff8979fd8: Pull complete 20:54:41 6808be2612f2: Pull complete 20:54:42 f25807f1079a: Pull complete 20:54:42 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:54:42 ---> 3b553350e43f 20:54:42 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:54:44 ---> Running in 2a3883b82547 20:54:44 Removing intermediate container 2a3883b82547 20:54:44 ---> 6d379dde5a1a 20:54:44 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:54:44 ---> Running in 4274ff7f0f5c 20:54:44 Removing intermediate container 4274ff7f0f5c 20:54:44 ---> 0d979660b1b0 20:54:44 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:54:44 ---> Running in 23617f829d2c 20:54:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:54:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:54:45 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:54:45 (2/8) Installing libedit (20221030.3.1-r0) 20:54:45 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:54:45 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:54:45 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:54:45 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:54:45 (7/8) Installing openssh-server (9.1_p1-r2) 20:54:45 (8/8) Installing openssh (9.1_p1-r2) 20:54:45 Executing busybox-1.35.0-r29.trigger 20:54:45 OK: 270 MiB in 61 packages 20:54:45 Removing intermediate container 23617f829d2c 20:54:45 ---> ea9101fc6f7c 20:54:45 Step 6/10 : WORKDIR /device-modbus-go 20:54:45 ---> Running in 298eab58e967 20:54:45 Removing intermediate container 298eab58e967 20:54:45 ---> 624a7f62dd22 20:54:45 Step 7/10 : COPY go.mod vendor* ./ 20:54:46 ---> 807e8e75dae9 20:54:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:46 ---> Running in 79cd8c2b5bb6 20:54:48 Still waiting to schedule task 20:54:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:55:08 Removing intermediate container 79cd8c2b5bb6 20:55:08 ---> e8928d4ee112 20:55:08 Step 9/10 : COPY . . 20:55:08 ---> 6b8a3b5f31ff 20:55:08 Step 10/10 : RUN ${MAKE} 20:55:08 ---> Running in f24f7ae5db71 20:55:08 noop 20:55:08 Removing intermediate container f24f7ae5db71 20:55:08 ---> 198add01d0c2 20:55:08 Successfully built 198add01d0c2 20:55:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:08 + docker inspect -f . ci-base-image-x86_64 20:55:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:08 prd-ubuntu20.04-docker-8c-8g-6118 does not seem to be running inside a container 20:55:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-447 -v /w/workspace/xfoundry_device-modbus-go_PR-447:/w/workspace/xfoundry_device-modbus-go_PR-447:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-447@tmp:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:55:08 $ docker top 287e4e66be888a4bd6e59ff3716ea4f98dbf433653b17a5e68c9efe99f6ad615 -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:09 + go version 20:55:09 go version go1.20.2 linux/amd64 [Pipeline] } 20:55:09 $ docker stop --time=1 287e4e66be888a4bd6e59ff3716ea4f98dbf433653b17a5e68c9efe99f6ad615 20:55:10 $ docker rm -f --volumes 287e4e66be888a4bd6e59ff3716ea4f98dbf433653b17a5e68c9efe99f6ad615 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:11 + docker inspect -f . ci-base-image-x86_64 20:55:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:11 prd-ubuntu20.04-docker-8c-8g-6118 does not seem to be running inside a container 20:55:11 $ 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-447 -v /w/workspace/xfoundry_device-modbus-go_PR-447:/w/workspace/xfoundry_device-modbus-go_PR-447:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-447@tmp:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:55:11 $ docker top e83378384fac9fa0b0c8be6e5f39afdb907289e8262dff421e2ea4e98ba491f7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:11 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-447 [Pipeline] fileExists [Pipeline] sh 20:55:12 + make test 20:55:12 go test ./... -coverprofile=coverage.out 20:55:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:55:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:55:27 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 48.0% of statements 20:55:31 go vet ./... 20:55:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:55:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:55:34 ./bin/test-attribution-txt.sh [Pipeline] echo 20:55:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:55:34 $ docker stop --time=1 e83378384fac9fa0b0c8be6e5f39afdb907289e8262dff421e2ea4e98ba491f7 20:55:37 $ docker rm -f --volumes e83378384fac9fa0b0c8be6e5f39afdb907289e8262dff421e2ea4e98ba491f7 [Pipeline] // withDockerContainer [Pipeline] sh 20:55:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:55:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:55:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:55:38 + ls -al . 20:55:38 total 180 20:55:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:55 . 20:55:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:54 .. 20:55:38 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 20:54 .dockerignore 20:55:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:54 .git 20:55:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:54 .github 20:55:38 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 20:54 .gitignore 20:55:38 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 20:54 .golangci.yml 20:55:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:54 .semver 20:55:38 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 28 20:54 Attribution.txt 20:55:38 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 20:54 CHANGELOG.md 20:55:38 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 20:54 Dockerfile 20:55:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:54 GOVERNANCE.md 20:55:38 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:54 Jenkinsfile 20:55:38 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:54 LICENSE 20:55:38 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 20:54 Makefile 20:55:38 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 20:54 OWNERS.md 20:55:38 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 20:54 README.md 20:55:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:54 VERSION 20:55:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:54 bin 20:55:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:54 cmd 20:55:38 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 20:55 coverage.out 20:55:38 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 20:54 go.mod 20:55:38 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 20:54 go.sum 20:55:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:54 internal 20:55:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:54 simulator 20:55:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:54 snap 20:55:38 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 20:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:38 + 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=16cf1a831c17c051fd34675e16faf7638fffd89b --label arch=amd64 --label version=0.0.0 . 20:55:38 Sending build context to Docker daemon 6.431MB 20:55:38 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:55:38 Step 2/22 : FROM ${BASE} AS builder 20:55:38 ---> 198add01d0c2 20:55:38 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:55:38 ---> Running in d100d008fdd6 20:55:38 Removing intermediate container d100d008fdd6 20:55:38 ---> 59f609327bd3 20:55:38 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:55:38 ---> Running in 236ef0754080 20:55:38 Removing intermediate container 236ef0754080 20:55:38 ---> 4c786f572bc6 20:55:38 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:55:38 ---> Running in ca80ee4cd979 20:55:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:55:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:55:39 OK: 270 MiB in 61 packages 20:55:39 Removing intermediate container ca80ee4cd979 20:55:39 ---> 80a48a9d82f1 20:55:39 Step 6/22 : WORKDIR /device-modbus-go 20:55:39 ---> Running in 926bd87b7c77 20:55:39 Removing intermediate container 926bd87b7c77 20:55:39 ---> a8a0f3154458 20:55:39 Step 7/22 : COPY go.mod vendor* ./ 20:55:40 ---> ddabc6093966 20:55:40 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:40 ---> Running in 35d6d68a36a3 20:55:41 Removing intermediate container 35d6d68a36a3 20:55:41 ---> 2a62b7438e88 20:55:41 Step 9/22 : COPY . . 20:55:41 ---> 3c4b36df6e2d 20:55:41 Step 10/22 : RUN ${MAKE} 20:55:41 ---> Running in b2a3fe93680a 20:55: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 20:55:59 Removing intermediate container b2a3fe93680a 20:55:59 ---> b6793e4220c1 20:55:59 Step 11/22 : FROM alpine:3.17 20:55:59 3.17: Pulling from library/alpine 20:55:59 63b65145d645: Already exists 20:55:59 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:55:59 Status: Downloaded newer image for alpine:3.17 20:55:59 ---> b2aa39c304c2 20:55:59 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:55:59 ---> Running in 33acc92199ec 20:55:59 Removing intermediate container 33acc92199ec 20:55:59 ---> b0c55bcc0056 20:55:59 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:55:59 ---> Running in 64c281bf2f76 20:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:55:59 (1/1) Installing dumb-init (1.2.5-r2) 20:55:59 Executing busybox-1.35.0-r29.trigger 20:55:59 OK: 7 MiB in 16 packages 20:55:59 Removing intermediate container 64c281bf2f76 20:55:59 ---> 732a9b79c156 20:55:59 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:55:59 ---> a1e294658bb8 20:55:59 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:55:59 ---> b91de9219229 20:55:59 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:55:59 ---> 09d979c14036 20:55:59 Step 17/22 : EXPOSE 59901 20:55:59 ---> Running in 6e9c797afb9e 20:55:59 Removing intermediate container 6e9c797afb9e 20:55:59 ---> 9b83b3c3cf34 20:55:59 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:55:59 ---> Running in df397213d1c7 20:56:00 Removing intermediate container df397213d1c7 20:56:00 ---> 1282a10d5efc 20:56:00 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:56:00 ---> Running in 096997f24efb 20:56:00 Removing intermediate container 096997f24efb 20:56:00 ---> 54522a739697 20:56:00 Step 20/22 : LABEL arch=amd64 20:56:00 ---> Running in 5c791d772a86 20:56:00 Removing intermediate container 5c791d772a86 20:56:00 ---> 20c768d749eb 20:56:00 Step 21/22 : LABEL git_sha=16cf1a831c17c051fd34675e16faf7638fffd89b 20:56:00 ---> Running in 8f36bc9044dd 20:56:00 Removing intermediate container 8f36bc9044dd 20:56:00 ---> b8a174cbdd79 20:56:00 Step 22/22 : LABEL version=0.0.0 20:56:00 ---> Running in 2323ea5753eb 20:56:00 Removing intermediate container 2323ea5753eb 20:56:00 ---> 33fb8849a7ce 20:56:00 [Warning] One or more build-args [ARCH] were not consumed 20:56:00 Successfully built 33fb8849a7ce 20:56:00 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 20:56:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:00 20:56:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:01 latest: Pulling from edgex-lftools-log-publisher 20:56:01 5eb5b503b376: Pulling fs layer 20:56:01 5c69ac0246d0: Pulling fs layer 20:56:01 ec43610c2a17: Pulling fs layer 20:56:01 3a2ae6a8a46f: Pulling fs layer 20:56:01 33b1e0a273af: Pulling fs layer 20:56:01 5d3b04190fa2: Pulling fs layer 20:56:01 2f39f015ded8: Pulling fs layer 20:56:01 33b1e0a273af: Waiting 20:56:01 5d3b04190fa2: Waiting 20:56:01 2f39f015ded8: Waiting 20:56:01 3a2ae6a8a46f: Waiting 20:56:01 5c69ac0246d0: Verifying Checksum 20:56:01 5c69ac0246d0: Download complete 20:56:01 3a2ae6a8a46f: Download complete 20:56:01 33b1e0a273af: Verifying Checksum 20:56:01 33b1e0a273af: Download complete 20:56:01 ec43610c2a17: Verifying Checksum 20:56:01 ec43610c2a17: Download complete 20:56:01 5d3b04190fa2: Verifying Checksum 20:56:01 5d3b04190fa2: Download complete 20:56:01 5eb5b503b376: Verifying Checksum 20:56:01 5eb5b503b376: Download complete 20:56:02 2f39f015ded8: Download complete 20:56:02 5eb5b503b376: Pull complete 20:56:02 5c69ac0246d0: Pull complete 20:56:02 ec43610c2a17: Pull complete 20:56:03 3a2ae6a8a46f: Pull complete 20:56:03 33b1e0a273af: Pull complete 20:56:03 5d3b04190fa2: Pull complete 20:56:07 2f39f015ded8: Pull complete 20:56:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:07 prd-ubuntu20.04-docker-8c-8g-6118 does not seem to be running inside a container 20:56:07 $ 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-447 -v /w/workspace/xfoundry_device-modbus-go_PR-447:/w/workspace/xfoundry_device-modbus-go_PR-447:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-447@tmp:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:56:09 $ docker top 78ad0c79ee5aa3b6b610f3672f22496b8e0f3df310da107878b2d3755bbcb29b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:09 ---> job-cost.sh 20:56:09 lf-activate-venv: SKIPPING 20:56:09 INFO: No Stack... 20:56:10 INFO: Retrieving Pricing Info for: v3-standard-8 20:56:10 INFO: Archiving Costs [Pipeline] sh 20:56:11 + cat /w/workspace/xfoundry_device-modbus-go_PR-447/archives/cost.csv 20:56:11 + cut -d, -f6 [Pipeline] lock 20:56:11 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-447-2-stack-cost] 20:56:11 Resource [jenkins-edgexfoundry-device-modbus-go-PR-447-2-stack-cost] did not exist. Created. 20:56:11 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-447-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:56:11 + echo total: 0.2199999988079071 [Pipeline] stash 20:56:11 Stashed 1 file(s) [Pipeline] } 20:56:11 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-447-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:56:11 $ docker stop --time=1 78ad0c79ee5aa3b6b610f3672f22496b8e0f3df310da107878b2d3755bbcb29b 20:56:12 $ docker rm -f --volumes 78ad0c79ee5aa3b6b610f3672f22496b8e0f3df310da107878b2d3755bbcb29b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:57:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6121 in /w/workspace/xfoundry_device-modbus-go_PR-447 [Pipeline] { [Pipeline] ws 20:57:07 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 20:57:07 Selected Git installation does not exist. Using Default 20:57:07 The recommended git tool is: NONE 20:57:14 using credential edgex-jenkins-ssh 20:57:14 Cloning the remote Git repository 20:57:14 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:57:14 > git init /w/workspace/device-modbus-go/2 # timeout=10 20:57:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:57:14 > git --version # timeout=10 20:57:14 > git --version # 'git version 2.25.1' 20:57:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:57:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:57:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:57:17 Merging remotes/origin/main commit 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 into PR head commit 16cf1a831c17c051fd34675e16faf7638fffd89b 20:57:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:57:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:57:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:57:17 > git config core.sparsecheckout # timeout=10 20:57:18 > git checkout -f 16cf1a831c17c051fd34675e16faf7638fffd89b # timeout=10 20:57:18 Merge succeeded, producing 16cf1a831c17c051fd34675e16faf7638fffd89b 20:57:18 Checking out Revision 16cf1a831c17c051fd34675e16faf7638fffd89b (PR-447) 20:57:18 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:18 > git remote # timeout=10 20:57:18 > git config --get remote.origin.url # timeout=10 20:57:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:18 > git merge 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 # timeout=10 20:57:18 > git rev-parse HEAD^{commit} # timeout=10 20:57:18 > git config core.sparsecheckout # timeout=10 20:57:18 > git checkout -f 16cf1a831c17c051fd34675e16faf7638fffd89b # timeout=10 20:57:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:57:19 % Total % Received % Xferd Average Speed Time Time Time Current 20:57:19 Dload Upload Total Spent Left Speed 20:57:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 20:57:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:57:20 + sudo tee /etc/docker/daemon.new 20:57:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:57:20 { 20:57:20 "registry-mirrors": [ 20:57:20 "https://nexus3.edgexfoundry.org:10001" 20:57:20 ], 20:57:20 "bip": "10.250.0.254/24", 20:57:20 "hosts": [ 20:57:20 "tcp://0.0.0.0:5555", 20:57:20 "unix:///var/run/docker.sock" 20:57:20 ], 20:57:20 "mtu": 1458, 20:57:20 "selinux-enabled": true, 20:57:20 "seccomp-profile": "/etc/docker/seccomp.json" 20:57:20 } [Pipeline] sh 20:57:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:57:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:39 provisioning config files... 20:57:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config9388367505558250947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:40 ---> docker-login.sh 20:57:40 nexus3.edgexfoundry.org:10001 20:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:40 Configure a credential helper to remove this warning. See 20:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:40 20:57:40 Login Succeeded 20:57:40 nexus3.edgexfoundry.org:10002 20:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:41 Configure a credential helper to remove this warning. See 20:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:41 20:57:41 Login Succeeded 20:57:41 nexus3.edgexfoundry.org:10003 20:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:41 Configure a credential helper to remove this warning. See 20:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:41 20:57:41 Login Succeeded 20:57:41 nexus3.edgexfoundry.org:10004 20:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:41 Configure a credential helper to remove this warning. See 20:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:41 20:57:41 Login Succeeded 20:57:41 docker.io 20:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:42 Configure a credential helper to remove this warning. See 20:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:42 20:57:42 Login Succeeded 20:57:42 ---> docker-login.sh ends [Pipeline] } 20:57:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:57:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:42 ========================================================= 20:57:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:57:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:42 + 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 . 20:57:43 Sending build context to Docker daemon 3.342MB 20:57:43 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:57:43 Step 2/10 : FROM ${BASE} AS builder 20:57:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:57:43 af6eaf76a39c: Pulling fs layer 20:57:43 55522c791124: Pulling fs layer 20:57:43 ce5c4a1c91eb: Pulling fs layer 20:57:43 169dfbe0d373: Pulling fs layer 20:57:43 e1ff8fa3b103: Pulling fs layer 20:57:43 52ebb69f0ebf: Pulling fs layer 20:57:43 5abe8eddf0d5: Pulling fs layer 20:57:43 169dfbe0d373: Waiting 20:57:43 e1ff8fa3b103: Waiting 20:57:43 52ebb69f0ebf: Waiting 20:57:43 5abe8eddf0d5: Waiting 20:57:43 55522c791124: Download complete 20:57:43 169dfbe0d373: Verifying Checksum 20:57:43 169dfbe0d373: Download complete 20:57:43 e1ff8fa3b103: Download complete 20:57:43 af6eaf76a39c: Verifying Checksum 20:57:43 af6eaf76a39c: Download complete 20:57:44 af6eaf76a39c: Pull complete 20:57:44 5abe8eddf0d5: Verifying Checksum 20:57:44 5abe8eddf0d5: Download complete 20:57:45 55522c791124: Pull complete 20:57:46 ce5c4a1c91eb: Verifying Checksum 20:57:46 ce5c4a1c91eb: Download complete 20:57:46 52ebb69f0ebf: Verifying Checksum 20:57:46 52ebb69f0ebf: Download complete 20:57:58 ce5c4a1c91eb: Pull complete 20:57:58 169dfbe0d373: Pull complete 20:57:58 e1ff8fa3b103: Pull complete 20:58:05 52ebb69f0ebf: Pull complete 20:58:07 5abe8eddf0d5: Pull complete 20:58:07 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:58:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:58:07 ---> 6cb57ee374ae 20:58:07 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:58:09 ---> Running in 1ba62f859620 20:58:09 Removing intermediate container 1ba62f859620 20:58:09 ---> d761b2e91ef7 20:58:09 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:09 ---> Running in d94b910b3a04 20:58:10 Removing intermediate container d94b910b3a04 20:58:10 ---> a46b89aed3e2 20:58:10 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:58:10 ---> Running in c61931c57c9f 20:58:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:58:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:58:13 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:58:13 (2/8) Installing libedit (20221030.3.1-r0) 20:58:13 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:58:13 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:58:13 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:58:13 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:58:13 (7/8) Installing openssh-server (9.1_p1-r2) 20:58:13 (8/8) Installing openssh (9.1_p1-r2) 20:58:13 Executing busybox-1.35.0-r29.trigger 20:58:13 OK: 270 MiB in 61 packages 20:58:14 Removing intermediate container c61931c57c9f 20:58:14 ---> 893871dd70ce 20:58:14 Step 6/10 : WORKDIR /device-modbus-go 20:58:14 ---> Running in 10a624406c1e 20:58:15 Removing intermediate container 10a624406c1e 20:58:15 ---> a232b88e749c 20:58:15 Step 7/10 : COPY go.mod vendor* ./ 20:58:15 ---> 0cc3f49f0c0b 20:58:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:15 ---> Running in 2ad6ece1c6c1 20:59:23 Removing intermediate container 2ad6ece1c6c1 20:59:23 ---> bd871530914b 20:59:23 Step 9/10 : COPY . . 20:59:23 ---> 5d335e59f992 20:59:23 Step 10/10 : RUN ${MAKE} 20:59:23 ---> Running in bdf1f12b1e27 20:59:23 noop 20:59:23 Removing intermediate container bdf1f12b1e27 20:59:23 ---> 4be4572867ee 20:59:23 Successfully built 4be4572867ee 20:59:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:23 + docker inspect -f . ci-base-image-arm64 20:59:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:24 prd-ubuntu20.04-docker-arm64-4c-16g-6121 does not seem to be running inside a container 20:59:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:59:25 $ docker top 979c4d010e9e82b7da33baa058213c8f764c4b95fa2a40ab7ecac4a69dd8336a -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:26 + go version 20:59:26 go version go1.20.2 linux/arm64 [Pipeline] } 20:59:26 $ docker stop --time=1 979c4d010e9e82b7da33baa058213c8f764c4b95fa2a40ab7ecac4a69dd8336a 20:59:28 $ docker rm -f --volumes 979c4d010e9e82b7da33baa058213c8f764c4b95fa2a40ab7ecac4a69dd8336a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:28 + docker inspect -f . ci-base-image-arm64 20:59:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:28 prd-ubuntu20.04-docker-arm64-4c-16g-6121 does not seem to be running inside a container 20:59:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:59:30 $ docker top 83b17cc68e75c0f4bec14054838daae60cbce7551dcca5a14bdb6dd8d4893af0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:31 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 20:59:31 + make test 20:59:31 go test ./... -coverprofile=coverage.out 21:00:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:02:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:02:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.085s coverage: 48.0% of statements 21:02:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:02:32 go vet ./... 21:03:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:03:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:03:00 ./bin/test-attribution-txt.sh [Pipeline] echo 21:03:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:03:00 $ docker stop --time=1 83b17cc68e75c0f4bec14054838daae60cbce7551dcca5a14bdb6dd8d4893af0 21:03:02 $ docker rm -f --volumes 83b17cc68e75c0f4bec14054838daae60cbce7551dcca5a14bdb6dd8d4893af0 [Pipeline] // withDockerContainer [Pipeline] sh 21:03:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:03:04 Warning: overwriting stash ‘coverage-report’ 21:03:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:03:05 + ls -al . 21:03:05 total 176 21:03:05 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 20:59 . 21:03:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:57 .. 21:03:05 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 20:57 .dockerignore 21:03:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:57 .git 21:03:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:57 .github 21:03:05 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 20:57 .gitignore 21:03:05 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 20:57 .golangci.yml 21:03:05 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 28 20:57 Attribution.txt 21:03:05 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 20:57 CHANGELOG.md 21:03:05 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 20:57 Dockerfile 21:03:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:57 GOVERNANCE.md 21:03:05 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:57 Jenkinsfile 21:03:05 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:57 LICENSE 21:03:05 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 20:57 Makefile 21:03:05 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 20:57 OWNERS.md 21:03:05 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 20:57 README.md 21:03:05 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:54 VERSION 21:03:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:57 bin 21:03:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:57 cmd 21:03:05 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 21:02 coverage.out 21:03:05 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 20:57 go.mod 21:03:05 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 20:57 go.sum 21:03:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:57 internal 21:03:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:57 simulator 21:03:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:57 snap 21:03:05 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:05 + 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=16cf1a831c17c051fd34675e16faf7638fffd89b --label arch=arm64 --label version=0.0.0 . 21:03:05 Sending build context to Docker daemon 3.367MB 21:03:05 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:03:05 Step 2/22 : FROM ${BASE} AS builder 21:03:05 ---> 4be4572867ee 21:03:05 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:03:06 ---> Running in 62f93ce76872 21:03:06 Removing intermediate container 62f93ce76872 21:03:06 ---> be094df7478b 21:03:06 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:03:06 ---> Running in 75e16fd582db 21:03:06 Removing intermediate container 75e16fd582db 21:03:06 ---> ff134decc1cf 21:03:06 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:03:07 ---> Running in 92f52c83787d 21:03:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:03:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:03:10 OK: 270 MiB in 61 packages 21:03:10 Removing intermediate container 92f52c83787d 21:03:10 ---> b9934b1ca6cc 21:03:10 Step 6/22 : WORKDIR /device-modbus-go 21:03:10 ---> Running in 6e7605ee0908 21:03:11 Removing intermediate container 6e7605ee0908 21:03:11 ---> f9ef61efcb05 21:03:11 Step 7/22 : COPY go.mod vendor* ./ 21:03:11 ---> 1694628d23f0 21:03:11 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:11 ---> Running in 9b2abefe6962 21:03:14 Removing intermediate container 9b2abefe6962 21:03:14 ---> b1212841f7b2 21:03:14 Step 9/22 : COPY . . 21:03:15 ---> 681b7b001e53 21:03:15 Step 10/22 : RUN ${MAKE} 21:03:15 ---> Running in 326e827d1313 21:03:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:05:37 Removing intermediate container 326e827d1313 21:05:37 ---> 09cb9f32cc4f 21:05:37 Step 11/22 : FROM alpine:3.17 21:05:37 3.17: Pulling from library/alpine 21:05:37 af6eaf76a39c: Already exists 21:05:37 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:05:37 Status: Downloaded newer image for alpine:3.17 21:05:37 ---> d74e625d9115 21:05:37 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:05:37 ---> Running in 158d28e91dde 21:05:37 Removing intermediate container 158d28e91dde 21:05:37 ---> 51e5a9747175 21:05:37 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:05:37 ---> Running in b28bb03d6a39 21:05:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:05:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:05:37 (1/1) Installing dumb-init (1.2.5-r2) 21:05:37 Executing busybox-1.35.0-r29.trigger 21:05:37 OK: 8 MiB in 16 packages 21:05:37 Removing intermediate container b28bb03d6a39 21:05:37 ---> 0a070e1e59fa 21:05:37 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:05:38 ---> 0636d51bbb2b 21:05:38 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:05:38 ---> 97b2d5c066bb 21:05:38 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:05:39 ---> a4705c76ad0e 21:05:39 Step 17/22 : EXPOSE 59901 21:05:39 ---> Running in 4b1695877baa 21:05:39 Removing intermediate container 4b1695877baa 21:05:39 ---> 645b7a98c207 21:05:39 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:05:39 ---> Running in 20fb132e9d87 21:05:39 Removing intermediate container 20fb132e9d87 21:05:39 ---> 32cbd690c983 21:05:39 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:05:40 ---> Running in d985b98265d2 21:05:40 Removing intermediate container d985b98265d2 21:05:40 ---> fed7eb27644b 21:05:40 Step 20/22 : LABEL arch=arm64 21:05:40 ---> Running in ad38c874c6d3 21:05:40 Removing intermediate container ad38c874c6d3 21:05:40 ---> d549c5151fe0 21:05:40 Step 21/22 : LABEL git_sha=16cf1a831c17c051fd34675e16faf7638fffd89b 21:05:40 ---> Running in 19edbc4a1209 21:05:41 Removing intermediate container 19edbc4a1209 21:05:41 ---> 64fb05252d35 21:05:41 Step 22/22 : LABEL version=0.0.0 21:05:41 ---> Running in a8c0cda4b19b 21:05:41 Removing intermediate container a8c0cda4b19b 21:05:41 ---> b5ccb0ad2c01 21:05:41 [Warning] One or more build-args [ARCH] were not consumed 21:05:41 Successfully built b5ccb0ad2c01 21:05:41 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 21:05:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:42 21:05:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:42 arm64: Pulling from edgex-lftools-log-publisher 21:05:42 8998bd30e6a1: Pulling fs layer 21:05:42 04944245beec: Pulling fs layer 21:05:42 699f458cf7ca: Pulling fs layer 21:05:42 765212b225bb: Pulling fs layer 21:05:42 f23df028b6ca: Pulling fs layer 21:05:42 d65c8cfc05b1: Pulling fs layer 21:05:42 2437ff75d9bd: Pulling fs layer 21:05:42 765212b225bb: Waiting 21:05:42 f23df028b6ca: Waiting 21:05:42 d65c8cfc05b1: Waiting 21:05:42 2437ff75d9bd: Waiting 21:05:42 04944245beec: Verifying Checksum 21:05:42 04944245beec: Download complete 21:05:42 765212b225bb: Verifying Checksum 21:05:42 765212b225bb: Download complete 21:05:42 f23df028b6ca: Download complete 21:05:42 d65c8cfc05b1: Verifying Checksum 21:05:42 d65c8cfc05b1: Download complete 21:05:42 699f458cf7ca: Verifying Checksum 21:05:42 699f458cf7ca: Download complete 21:05:43 8998bd30e6a1: Download complete 21:05:45 2437ff75d9bd: Verifying Checksum 21:05:45 2437ff75d9bd: Download complete 21:05:47 8998bd30e6a1: Pull complete 21:05:47 04944245beec: Pull complete 21:05:49 699f458cf7ca: Pull complete 21:05:49 765212b225bb: Pull complete 21:05:50 f23df028b6ca: Pull complete 21:05:50 d65c8cfc05b1: Pull complete 21:06:05 2437ff75d9bd: Pull complete 21:06:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:06:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:05 prd-ubuntu20.04-docker-arm64-4c-16g-6121 does not seem to be running inside a container 21:06:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:06:08 $ docker top 13088d5e6158309baa21ebbaa547df879cedaf50e5514eadb23578247126b8f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:09 ---> job-cost.sh 21:06:09 lf-activate-venv: SKIPPING 21:06:09 INFO: No Stack... 21:06:09 INFO: Retrieving Pricing Info for: v3-standard-4 21:06:10 INFO: Archiving Costs [Pipeline] sh 21:06:10 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 21:06:10 + cut -d, -f6 [Pipeline] lock 21:06:11 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-447-2-stack-cost] 21:06:11 Resource [jenkins-edgexfoundry-device-modbus-go-PR-447-2-stack-cost] did not exist. Created. 21:06:11 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-447-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:11 /w/workspace/device-modbus-go/2@tmp/durable-e7ddc179/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:06:12 + echo total: 0.10999999940395355 [Pipeline] stash 21:06:12 Warning: overwriting stash ‘stack-cost’ 21:06:12 Stashed 1 file(s) [Pipeline] } 21:06:12 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-447-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:12 $ docker stop --time=1 13088d5e6158309baa21ebbaa547df879cedaf50e5514eadb23578247126b8f2 21:06:13 $ docker rm -f --volumes 13088d5e6158309baa21ebbaa547df879cedaf50e5514eadb23578247126b8f2 [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 21:06:14 provisioning config files... 21:06:14 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/config17277384849405472933tmp [Pipeline] { [Pipeline] sh 21:06:14 + set +x 21:06:14 + curl -s https://codecov.io/bash 21:06:14 + bash -s -- 21:06:14 21:06:14 _____ _ 21:06:14 / ____| | | 21:06:14 | | ___ __| | ___ ___ _____ __ 21:06:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:06:14 | |___| (_) | (_| | __/ (_| (_) \ V / 21:06:14 \_____\___/ \__,_|\___|\___\___/ \_/ 21:06:14 Bash-1.0.6 21:06:14 21:06:14 21:06:14 ==> git version 2.25.1 found 21:06:14 ==> 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 21:06:14 Release-Date: 2020-01-08 21:06:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:06:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:06:14 ==> Jenkins CI detected. 21:06:14 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-447 21:06:14 project root: . 21:06:14 --> token set from env 21:06:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:06:14 ==> Running gcov in . (disable via -X gcov) 21:06:14 ==> Python coveragepy not found 21:06:14 ==> Searching for coverage reports in: 21:06:14 + . 21:06:14 -> Found 1 reports 21:06:14 ==> Detecting git/mercurial file structure 21:06:14 ==> Reading reports 21:06:14 + ./coverage.out bytes=23739 21:06:14 ==> Appending adjustments 21:06:14 https://docs.codecov.io/docs/fixing-reports 21:06:14 + Found adjustments 21:06:14 ==> Gzipping contents 21:06:14 4.0K /tmp/codecov.uI7NoW.gz 21:06:14 ==> Uploading reports 21:06:14 url: https://codecov.io 21:06:14 query: branch=PR-447&commit=16cf1a831c17c051fd34675e16faf7638fffd89b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-447%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=447&job=&cmd_args= 21:06:14 -> Pinging Codecov 21:06:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-447&commit=16cf1a831c17c051fd34675e16faf7638fffd89b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-447%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=447&job=&cmd_args= 21:06:14 -> Uploading to 21:06:14 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/55DBCA73C666E3227836607328DD7E49/16cf1a831c17c051fd34675e16faf7638fffd89b/b57bd0fb-5db2-4c8a-8386-eb3fd99bb7b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T210614Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5d500a2951e2b1916eabc107f9db5fc6672d91b89fb640d60a1778bc10ecb82 21:06:14 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:14 Dload Upload Total Spent Left Speed 21:06:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3877 0 0 100 3877 0 13603 --:--:-- --:--:-- --:--:-- 13603 21:06:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/16cf1a831c17c051fd34675e16faf7638fffd89b [Pipeline] } 21:06:15 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 21:06:15 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-447/archives ] 21:06:15 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-447/archives 21:06:15 total 16 21:06:15 drwxr-xr-x 3 root root 4096 Mar 28 20:56 . 21:06:15 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 20:56 .. 21:06:15 drwxr-xr-x 2 root root 4096 Mar 28 20:56 cost 21:06:15 -rw-r--r-- 1 root root 88 Mar 28 20:56 cost.csv 21:06:15 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-447/archives 21:06:15 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-447/archives 21:06:15 total 16 21:06:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:56 . 21:06:15 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 20:56 .. 21:06:15 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 20:56 cost 21:06:15 -rw-r--r-- 1 jenkins jenkins 88 Mar 28 20:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:06:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:06:16 ---> package-listing.sh 21:06:16 ++ tr '[:upper:]' '[:lower:]' 21:06:16 ++ facter osfamily 21:06:17 + OS_FAMILY=debian 21:06:17 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-447 21:06:17 + START_PACKAGES=/tmp/packages_start.txt 21:06:17 + END_PACKAGES=/tmp/packages_end.txt 21:06:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:06:17 + PACKAGES=/tmp/packages_start.txt 21:06:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-447 ']' 21:06:17 + PACKAGES=/tmp/packages_end.txt 21:06:17 + case "${OS_FAMILY}" in 21:06:17 + dpkg -l 21:06:17 + grep '^ii' 21:06:17 + '[' -f /tmp/packages_start.txt ']' 21:06:17 + '[' -f /tmp/packages_end.txt ']' 21:06:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:06:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-447 ']' 21:06:17 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-447/archives/ 21:06:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-447/archives/ [Pipeline] echo 21:06:17 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-447/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:06:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:18 prd-ubuntu20.04-docker-8c-8g-6118 does not seem to be running inside a container 21:06:18 $ 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-447/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-447 -v /w/workspace/xfoundry_device-modbus-go_PR-447:/w/workspace/xfoundry_device-modbus-go_PR-447:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-447@tmp:/w/workspace/xfoundry_device-modbus-go_PR-447@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 21:06:18 $ docker top 327c5ff506a7ac0f95a32b5bb77850ad92a7492c4a925893797be72266aded02 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:18 + touch /tmp/pre-build-complete [Pipeline] sh 21:06:19 + mkdir -p /var/log/sysstat [Pipeline] sh 21:06:19 + ls /var/log/sa-host 21:06:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:19 provisioning config files... 21:06:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/config15669322506918242453tmp [Pipeline] { [Pipeline] echo 21:06:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:06:19 ---> create-netrc.sh [Pipeline] } 21:06:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:06:20 ---> python-tools-install.sh [Pipeline] echo 21:06:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:06:20 ---> sudo-logs.sh 21:06:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:06:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:06:20 ---> job-cost.sh 21:06:20 lf-activate-venv: SKIPPING 21:06:20 DEBUG: total: 0.2199999988079071 21:06:20 INFO: Retrieving Stack Cost... 21:06:21 INFO: Retrieving Pricing Info for: v3-standard-8 21:06:21 INFO: Archiving Costs [Pipeline] echo 21:06:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:06:21 ---> logs-deploy.sh 21:06:21 lf-activate-venv: SKIPPING 21:06:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-447/2 21:06:21 INFO: archiving workspace using pattern(s): 21:06:22 Archives upload complete. 21:06:22 INFO: archiving logs to Nexus