Pull request #488 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 4043164b7337e1db1bede6ff26841e4d6947650d rather than 73364997d150f01c218d3de18e8b0aa484215453 Obtained Jenkinsfile from 4043164b7337e1db1bede6ff26841e4d6947650d 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-ssh4212898618877881522.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14699661739025761498.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-488/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-488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14882656669526299453.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14521097828593084789.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-488/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-488/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1453741391453789755.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 ‘prd-centos7-blackbox-4c-2g-17069’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-17188’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17192’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17193 in /w/workspace/xfoundry_device-modbus-go_PR-488 [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-488 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/488/head:refs/remotes/origin/PR-488 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4043164b7337e1db1bede6ff26841e4d6947650d into PR head commit 73364997d150f01c218d3de18e8b0aa484215453 Merge succeeded, producing 73364997d150f01c218d3de18e8b0aa484215453 Checking out Revision 73364997d150f01c218d3de18e8b0aa484215453 (PR-488) > git config core.sparsecheckout # timeout=10 > git checkout -f 73364997d150f01c218d3de18e8b0aa484215453 # 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 4043164b7337e1db1bede6ff26841e4d6947650d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73364997d150f01c218d3de18e8b0aa484215453 # timeout=10 Commit message: "docs: Replace slack chat with github discussion" First time build. Skipping changelog. > git rev-list --no-walk da3204d87b5747ad11908252c9b7f11f8ab17213 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:15:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:15:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:15:32 ========================================================= 23:15:32 EdgeX Global Pipelines Version Info 23:15:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:15:33 ------------------- 23:15:33 stable info: 23:15:33 ------------------- 23:15:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:15:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:15:33 Message: update stable to v1.0.249 23:15:33 ------------------- 23:15:33 experimental info: 23:15:33 ------------------- 23:15:33 Commited By: **** collab-it+edgex@linuxfoundation.org 23:15:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:15:33 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:15:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 23:15:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 23:15:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:15:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-488 [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-488 [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-488 [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73364997d150f01c218d3de18e8b0aa484215453 [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7336499 [Pipeline] echo 23:15:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:15:34 provisioning config files... 23:15:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/config10524474479466134936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:15:34 ---> docker-login.sh 23:15:34 nexus3.edgexfoundry.org:10001 23:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:35 Configure a credential helper to remove this warning. See 23:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:35 23:15:35 Login Succeeded 23:15:35 nexus3.edgexfoundry.org:10002 23:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:35 Configure a credential helper to remove this warning. See 23:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:35 23:15:35 Login Succeeded 23:15:35 nexus3.edgexfoundry.org:10003 23:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:35 Configure a credential helper to remove this warning. See 23:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:35 23:15:35 Login Succeeded 23:15:35 nexus3.edgexfoundry.org:10004 23:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:35 Configure a credential helper to remove this warning. See 23:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:35 23:15:35 Login Succeeded 23:15:35 docker.io 23:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:35 Configure a credential helper to remove this warning. See 23:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:35 23:15:35 Login Succeeded 23:15:35 ---> docker-login.sh ends [Pipeline] } 23:15:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:15:35 + git rev-list -1 --merges 73364997d150f01c218d3de18e8b0aa484215453~1..73364997d150f01c218d3de18e8b0aa484215453 [Pipeline] echo 23:15:35 -----------> git rev-list -1 --merges 73364997d150f01c218d3de18e8b0aa484215453~1..73364997d150f01c218d3de18e8b0aa484215453 73364997d150f01c218d3de18e8b0aa484215453 [false] [Pipeline] sh 23:15:36 + git log --format=format:%s -1 73364997d150f01c218d3de18e8b0aa484215453 [Pipeline] echo 23:15:36 ========================================================= 23:15:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:15:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:15:36 + git log --format=format:%s -1 73364997d150f01c218d3de18e8b0aa484215453 [Pipeline] echo 23:15:36 [semverPrep] GIT_COMMIT: 73364997d150f01c218d3de18e8b0aa484215453, Commit Message: docs: Replace slack chat with github discussion [Pipeline] echo 23:15:36 [semverPrep] This is not a build commit. [Pipeline] sh 23:15:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:15:36 + grep -v github /etc/ssh/ssh_known_hosts 23:15:36 + [ -e /tmp/ssh_known_hosts ] 23:15:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:15:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:15:36 + sudo tee -a /etc/ssh/ssh_known_hosts 23:15:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:15:37 23:15:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:15:37 0.1.4: Pulling from edgex-devops/py-git-semver 23:15:37 b85a868b505f: Pulling fs layer 23:15:37 e2be974225ed: Pulling fs layer 23:15:37 339a4e72a1f5: Pulling fs layer 23:15:37 988bab9f4d93: Pulling fs layer 23:15:37 1469e6f7b9e6: Pulling fs layer 23:15:37 eaf3925da568: Pulling fs layer 23:15:37 bab4dde63d76: Pulling fs layer 23:15:37 bde34c3a00c8: Pulling fs layer 23:15:37 b352a97aabf1: Pulling fs layer 23:15:37 4872d77fe225: Pulling fs layer 23:15:37 5851b861e8e6: Pulling fs layer 23:15:37 bab4dde63d76: Waiting 23:15:37 b352a97aabf1: Waiting 23:15:37 4872d77fe225: Waiting 23:15:37 5851b861e8e6: Waiting 23:15:37 988bab9f4d93: Waiting 23:15:37 bde34c3a00c8: Waiting 23:15:37 1469e6f7b9e6: Waiting 23:15:37 eaf3925da568: Waiting 23:15:37 e2be974225ed: Download complete 23:15:37 988bab9f4d93: Verifying Checksum 23:15:37 988bab9f4d93: Download complete 23:15:37 339a4e72a1f5: Download complete 23:15:37 eaf3925da568: Download complete 23:15:37 1469e6f7b9e6: Verifying Checksum 23:15:37 1469e6f7b9e6: Download complete 23:15:37 bde34c3a00c8: Verifying Checksum 23:15:37 bde34c3a00c8: Download complete 23:15:37 b352a97aabf1: Verifying Checksum 23:15:37 b352a97aabf1: Download complete 23:15:37 4872d77fe225: Verifying Checksum 23:15:37 4872d77fe225: Download complete 23:15:37 5851b861e8e6: Verifying Checksum 23:15:37 5851b861e8e6: Download complete 23:15:37 b85a868b505f: Verifying Checksum 23:15:37 b85a868b505f: Download complete 23:15:38 bab4dde63d76: Download complete 23:15:39 b85a868b505f: Pull complete 23:15:39 e2be974225ed: Pull complete 23:15:39 339a4e72a1f5: Pull complete 23:15:39 988bab9f4d93: Pull complete 23:15:40 1469e6f7b9e6: Pull complete 23:15:40 eaf3925da568: Pull complete 23:15:42 bab4dde63d76: Pull complete 23:15:42 bde34c3a00c8: Pull complete 23:15:42 b352a97aabf1: Pull complete 23:15:42 4872d77fe225: Pull complete 23:15:42 5851b861e8e6: Pull complete 23:15:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:15:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:15:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:42 prd-ubuntu20.04-docker-8c-8g-17193 does not seem to be running inside a container 23:15:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-488 -v /w/workspace/xfoundry_device-modbus-go_PR-488:/w/workspace/xfoundry_device-modbus-go_PR-488:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-488@tmp:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:15:43 $ docker top 9515eacc757c8fb82ff42c31c5b38a037e7e15a61309ee34b449bdb6fdc05df5 -eo pid,comm 23:15:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:15:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:15:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:15:44 [ssh-agent] Looking for ssh-agent implementation... 23:15:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:15:44 $ docker exec 9515eacc757c8fb82ff42c31c5b38a037e7e15a61309ee34b449bdb6fdc05df5 ssh-agent 23:15:44 SSH_AUTH_SOCK=/tmp/ssh-Wt2TsL6EQBU1/agent.32 23:15:44 SSH_AGENT_PID=38 23:15:44 Running ssh-add (command line suppressed) 23:15:44 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-488@tmp/private_key_5422497440677713909.key (/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/private_key_5422497440677713909.key) 23:15:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:15:44 + git tag --points-at HEAD [Pipeline] } 23:15:44 $ docker exec --env ******** --env ******** 9515eacc757c8fb82ff42c31c5b38a037e7e15a61309ee34b449bdb6fdc05df5 ssh-agent -k 23:15:44 unset SSH_AUTH_SOCK; 23:15:44 unset SSH_AGENT_PID; 23:15:44 echo Agent pid 38 killed; 23:15:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:15:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:15:44 [ssh-agent] Looking for ssh-agent implementation... 23:15:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:15:44 $ docker exec 9515eacc757c8fb82ff42c31c5b38a037e7e15a61309ee34b449bdb6fdc05df5 ssh-agent 23:15:45 SSH_AUTH_SOCK=/tmp/ssh-plhhJKbvIeRW/agent.70 23:15:45 SSH_AGENT_PID=76 23:15:45 Running ssh-add (command line suppressed) 23:15:45 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-488@tmp/private_key_3556281515576278631.key (/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/private_key_3556281515576278631.key) 23:15:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:15:45 + git semver init 23:15:45 2023-05-29 23:15:45,636 [run_init] DEBUG init version:0.0.0 force:False 23:15:45 2023-05-29 23:15:45,637 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-488/.semver 23:15:45 2023-05-29 23:15:45,638 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-488/.semver 23:15:45 2023-05-29 23:15:45,638 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-488/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-488, universal_newlines=False, shell=None, istream=None) 23:15:46 2023-05-29 23:15:46,372 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-488/.git/info/exclude 23:15:46 2023-05-29 23:15:46,373 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-488/.semver/PR-488 with force:False 23:15:46 2023-05-29 23:15:46,373 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-488/.semver/PR-488 23:15:46 2023-05-29 23:15:46,377 [execute] INFO git cat-file --batch-check 23:15:46 2023-05-29 23:15:46,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-488/.semver, universal_newlines=False, shell=None, istream=) 23:15:46 2023-05-29 23:15:46,384 [execute] INFO git cat-file --batch 23:15:46 2023-05-29 23:15:46,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-488/.semver, universal_newlines=False, shell=None, istream=) 23:15:46 2023-05-29 23:15:46,389 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-488/.semver/PR-488 23:15:46 0.0.0 [Pipeline] } 23:15:46 $ docker exec --env ******** --env ******** 9515eacc757c8fb82ff42c31c5b38a037e7e15a61309ee34b449bdb6fdc05df5 ssh-agent -k 23:15:46 unset SSH_AUTH_SOCK; 23:15:46 unset SSH_AGENT_PID; 23:15:46 echo Agent pid 76 killed; 23:15:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:15:47 + git semver [Pipeline] } 23:15:47 $ docker stop --time=1 9515eacc757c8fb82ff42c31c5b38a037e7e15a61309ee34b449bdb6fdc05df5 23:15:48 $ docker rm -f --volumes 9515eacc757c8fb82ff42c31c5b38a037e7e15a61309ee34b449bdb6fdc05df5 [Pipeline] // withDockerContainer [Pipeline] sh 23:15:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:15:49 Stashed 1 file(s) [Pipeline] echo 23:15:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:15:49 provisioning config files... 23:15:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/config15628518237695555250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:15:49 ---> docker-login.sh 23:15:49 nexus3.edgexfoundry.org:10001 23:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:49 Configure a credential helper to remove this warning. See 23:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:49 23:15:49 Login Succeeded 23:15:49 nexus3.edgexfoundry.org:10002 23:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:49 Configure a credential helper to remove this warning. See 23:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:49 23:15:49 Login Succeeded 23:15:49 nexus3.edgexfoundry.org:10003 23:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:49 Configure a credential helper to remove this warning. See 23:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:49 23:15:49 Login Succeeded 23:15:49 nexus3.edgexfoundry.org:10004 23:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:49 Configure a credential helper to remove this warning. See 23:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:49 23:15:49 Login Succeeded 23:15:49 docker.io 23:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:50 Configure a credential helper to remove this warning. See 23:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:50 23:15:50 Login Succeeded 23:15:50 ---> docker-login.sh ends [Pipeline] } 23:15:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:15:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:15:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:15:50 ========================================================= 23:15:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:15:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:15:50 Sending build context to Docker daemon 6.554MB 23:15:50 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:15:50 Step 2/10 : FROM ${BASE} AS builder 23:15:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:15:50 f56be85fc22e: Pulling fs layer 23:15:50 85791d961cd3: Pulling fs layer 23:15:50 d694b5ae8c79: Pulling fs layer 23:15:50 9f32a84ed3da: Pulling fs layer 23:15:50 4d19c01a9841: Pulling fs layer 23:15:50 9325e15d5711: Pulling fs layer 23:15:50 556b6ee489ea: Pulling fs layer 23:15:50 c5a4b2cf53e6: Pulling fs layer 23:15:50 9f32a84ed3da: Waiting 23:15:50 4d19c01a9841: Waiting 23:15:50 9325e15d5711: Waiting 23:15:50 556b6ee489ea: Waiting 23:15:50 c5a4b2cf53e6: Waiting 23:15:50 85791d961cd3: Verifying Checksum 23:15:50 85791d961cd3: Download complete 23:15:50 9f32a84ed3da: Verifying Checksum 23:15:50 9f32a84ed3da: Download complete 23:15:50 4d19c01a9841: Download complete 23:15:50 f56be85fc22e: Verifying Checksum 23:15:50 f56be85fc22e: Download complete 23:15:50 9325e15d5711: Verifying Checksum 23:15:50 9325e15d5711: Download complete 23:15:50 f56be85fc22e: Pull complete 23:15:51 85791d961cd3: Pull complete 23:15:51 c5a4b2cf53e6: Verifying Checksum 23:15:51 c5a4b2cf53e6: Download complete 23:15:51 d694b5ae8c79: Verifying Checksum 23:15:51 d694b5ae8c79: Download complete 23:15:51 556b6ee489ea: Verifying Checksum 23:15:51 556b6ee489ea: Download complete 23:15:54 d694b5ae8c79: Pull complete 23:15:54 9f32a84ed3da: Pull complete 23:15:54 4d19c01a9841: Pull complete 23:15:55 9325e15d5711: Pull complete 23:15:57 556b6ee489ea: Pull complete 23:15:58 c5a4b2cf53e6: Pull complete 23:15:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:15:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:15:58 ---> c4be618373d6 23:15:58 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:16:00 ---> Running in 286beab808ce 23:16:00 Removing intermediate container 286beab808ce 23:16:00 ---> 21be8d9b84d0 23:16:00 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:16:00 ---> Running in 5b051f6927a8 23:16:00 Removing intermediate container 5b051f6927a8 23:16:00 ---> 7562cb9f9f2f 23:16:00 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:16:00 ---> Running in 23cbce0c9b46 23:16:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:16:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:16:01 (1/8) Installing openssh-keygen (9.1_p1-r3) 23:16:01 (2/8) Installing libedit (20221030.3.1-r0) 23:16:01 (3/8) Installing openssh-client-common (9.1_p1-r3) 23:16:01 (4/8) Installing openssh-client-default (9.1_p1-r3) 23:16:01 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 23:16:01 (6/8) Installing openssh-server-common (9.1_p1-r3) 23:16:01 (7/8) Installing openssh-server (9.1_p1-r3) 23:16:01 (8/8) Installing openssh (9.1_p1-r3) 23:16:01 Executing busybox-1.35.0-r29.trigger 23:16:01 OK: 270 MiB in 61 packages 23:16:01 Removing intermediate container 23cbce0c9b46 23:16:01 ---> acd954020c05 23:16:01 Step 6/10 : WORKDIR /device-modbus-go 23:16:01 ---> Running in fe3fddfe625d 23:16:01 Removing intermediate container fe3fddfe625d 23:16:01 ---> ec0909fe11f4 23:16:01 Step 7/10 : COPY go.mod vendor* ./ 23:16:01 ---> 158391da990c 23:16:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:16:01 ---> Running in 796e43a9697e 23:16:04 Still waiting to schedule task 23:16:04 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17190’ 23:16:28 Removing intermediate container 796e43a9697e 23:16:28 ---> 278322df41d5 23:16:28 Step 9/10 : COPY . . 23:16:28 ---> b6202d1e07d6 23:16:28 Step 10/10 : RUN ${MAKE} 23:16:28 ---> Running in 59b023bcebf6 23:16:28 noop 23:16:28 Removing intermediate container 59b023bcebf6 23:16:28 ---> 82f9f9699ae8 23:16:28 Successfully built 82f9f9699ae8 23:16:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:28 + docker inspect -f . ci-base-image-x86_64 23:16:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:29 prd-ubuntu20.04-docker-8c-8g-17193 does not seem to be running inside a container 23:16:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-488 -v /w/workspace/xfoundry_device-modbus-go_PR-488:/w/workspace/xfoundry_device-modbus-go_PR-488:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-488@tmp:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:16:29 $ docker top 3791fe6834346450bc005bcee3d4511b8f198fbafac9be51254e3f636191c197 -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:29 + go version 23:16:29 go version go1.20.2 linux/amd64 [Pipeline] } 23:16:29 $ docker stop --time=1 3791fe6834346450bc005bcee3d4511b8f198fbafac9be51254e3f636191c197 23:16:31 $ docker rm -f --volumes 3791fe6834346450bc005bcee3d4511b8f198fbafac9be51254e3f636191c197 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:31 + docker inspect -f . ci-base-image-x86_64 23:16:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:31 prd-ubuntu20.04-docker-8c-8g-17193 does not seem to be running inside a container 23:16:31 $ 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-488 -v /w/workspace/xfoundry_device-modbus-go_PR-488:/w/workspace/xfoundry_device-modbus-go_PR-488:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-488@tmp:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:16:31 $ docker top e6731d0f4fc54e5bb44369f57c5ea8c969b0580da5135c25811d7a40c893798b -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:32 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-488 [Pipeline] fileExists [Pipeline] sh 23:16:32 + make test 23:16:32 go test ./... -coverprofile=coverage.out 23:16:37 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:16:48 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:16:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements 23:16:54 go vet ./... 23:16:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:16:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:16:58 ./bin/test-attribution-txt.sh [Pipeline] echo 23:16:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:16:59 $ docker stop --time=1 e6731d0f4fc54e5bb44369f57c5ea8c969b0580da5135c25811d7a40c893798b 23:17:01 $ docker rm -f --volumes e6731d0f4fc54e5bb44369f57c5ea8c969b0580da5135c25811d7a40c893798b [Pipeline] // withDockerContainer [Pipeline] sh 23:17:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:17:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:17:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:17:02 + ls -al . 23:17:02 total 184 23:17:02 drwxrwxr-x 10 jenkins jenkins 4096 May 29 23:16 . 23:17:02 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:15 .. 23:17:02 -rw-rw-r-- 1 jenkins jenkins 140 May 29 23:15 .dockerignore 23:17:02 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:15 .git 23:17:02 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:15 .github 23:17:02 -rw-rw-r-- 1 jenkins jenkins 331 May 29 23:15 .gitignore 23:17:02 -rw-rw-r-- 1 jenkins jenkins 41 May 29 23:15 .golangci.yml 23:17:02 drwxr-xr-x 3 jenkins jenkins 4096 May 29 23:15 .semver 23:17:02 -rw-rw-r-- 1 jenkins jenkins 10132 May 29 23:15 Attribution.txt 23:17:02 -rw-rw-r-- 1 jenkins jenkins 11576 May 29 23:15 CHANGELOG.md 23:17:02 -rw-rw-r-- 1 jenkins jenkins 1365 May 29 23:15 Dockerfile 23:17:02 -rw-rw-r-- 1 jenkins jenkins 677 May 29 23:15 GOVERNANCE.md 23:17:02 -rw-rw-r-- 1 jenkins jenkins 680 May 29 23:15 Jenkinsfile 23:17:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 23:15 LICENSE 23:17:02 -rw-rw-r-- 1 jenkins jenkins 1705 May 29 23:15 Makefile 23:17:02 -rw-rw-r-- 1 jenkins jenkins 622 May 29 23:15 OWNERS.md 23:17:02 -rw-rw-r-- 1 jenkins jenkins 4598 May 29 23:15 README.md 23:17:02 -rw-rw-r-- 1 jenkins jenkins 5 May 29 23:15 VERSION 23:17:02 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:15 bin 23:17:02 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:15 cmd 23:17:02 -rw-r--r-- 1 jenkins jenkins 24160 May 29 23:16 coverage.out 23:17:02 -rw-rw-r-- 1 jenkins jenkins 3405 May 29 23:15 go.mod 23:17:02 -rw-rw-r-- 1 jenkins jenkins 31574 May 29 23:15 go.sum 23:17:02 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:15 internal 23:17:02 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:15 simulator 23:17:02 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:15 snap 23:17:02 -rw-rw-r-- 1 jenkins jenkins 229 May 29 23:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:02 + 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=73364997d150f01c218d3de18e8b0aa484215453 --label arch=amd64 --label version=0.0.0 . 23:17:02 Sending build context to Docker daemon 6.579MB 23:17:02 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 23:17:02 Step 2/22 : FROM ${BASE} AS builder 23:17:02 ---> 82f9f9699ae8 23:17:02 Step 3/22 : ARG ADD_BUILD_TAGS="" 23:17:02 ---> Running in 386e48820ddb 23:17:02 Removing intermediate container 386e48820ddb 23:17:02 ---> e6219fd906ba 23:17:02 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:17:02 ---> Running in fb6d0beebf90 23:17:02 Removing intermediate container fb6d0beebf90 23:17:02 ---> 89ef5070ad08 23:17:02 Step 5/22 : RUN apk add --update --no-cache make git openssh 23:17:02 ---> Running in 4bdef0f65ad2 23:17:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:17:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:17:03 OK: 270 MiB in 61 packages 23:17:03 Removing intermediate container 4bdef0f65ad2 23:17:03 ---> 7daa4d674a31 23:17:03 Step 6/22 : WORKDIR /device-modbus-go 23:17:03 ---> Running in 563087214cc4 23:17:03 Removing intermediate container 563087214cc4 23:17:03 ---> 2f5e85d407d0 23:17:03 Step 7/22 : COPY go.mod vendor* ./ 23:17:03 ---> 427c534561f0 23:17:03 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:03 ---> Running in 93cc1a667883 23:17:04 Removing intermediate container 93cc1a667883 23:17:04 ---> 36b8ce1df822 23:17:04 Step 9/22 : COPY . . 23:17:05 ---> bdbf3d9bca3a 23:17:05 Step 10/22 : RUN ${MAKE} 23:17:05 ---> Running in 6a644ceeba83 23:17:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 23:17:23 Removing intermediate container 6a644ceeba83 23:17:23 ---> 4c665111149f 23:17:23 Step 11/22 : FROM alpine:3.17 23:17:23 3.17: Pulling from library/alpine 23:17:23 f56be85fc22e: Already exists 23:17:23 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:17:23 Status: Downloaded newer image for alpine:3.17 23:17:23 ---> 9ed4aefc74f6 23:17:23 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:17:23 ---> Running in ccba783d3dfc 23:17:23 Removing intermediate container ccba783d3dfc 23:17:23 ---> b00371341c61 23:17:23 Step 13/22 : RUN apk add --update --no-cache dumb-init 23:17:23 ---> Running in 77b0503de728 23:17:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:17:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:17:24 (1/1) Installing dumb-init (1.2.5-r2) 23:17:24 Executing busybox-1.35.0-r29.trigger 23:17:24 OK: 7 MiB in 16 packages 23:17:24 Removing intermediate container 77b0503de728 23:17:24 ---> 2e8097f021b6 23:17:24 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 23:17:25 ---> 7107a4c1c15c 23:17:25 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 23:17:25 ---> f01f8203e4ab 23:17:25 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:17:25 ---> 149188041479 23:17:25 Step 17/22 : EXPOSE 59901 23:17:25 ---> Running in 6b1b9d603c52 23:17:25 Removing intermediate container 6b1b9d603c52 23:17:25 ---> a811b567083a 23:17:25 Step 18/22 : ENTRYPOINT ["/device-modbus"] 23:17:25 ---> Running in 6c35974590b6 23:17:25 Removing intermediate container 6c35974590b6 23:17:25 ---> fe9ebe3ae267 23:17:25 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:17:25 ---> Running in d6707c38d742 23:17:26 Removing intermediate container d6707c38d742 23:17:26 ---> 931c55e68a2a 23:17:26 Step 20/22 : LABEL arch=amd64 23:17:26 ---> Running in 9b7b030c3403 23:17:26 Removing intermediate container 9b7b030c3403 23:17:26 ---> 33407e3c0d20 23:17:26 Step 21/22 : LABEL git_sha=73364997d150f01c218d3de18e8b0aa484215453 23:17:26 ---> Running in 499a385cc55f 23:17:26 Removing intermediate container 499a385cc55f 23:17:26 ---> f11eb36648e7 23:17:26 Step 22/22 : LABEL version=0.0.0 23:17:26 ---> Running in 0b847e88eaca 23:17:26 Removing intermediate container 0b847e88eaca 23:17:26 ---> 8d3621e1d31e 23:17:26 [Warning] One or more build-args [ARCH] were not consumed 23:17:26 Successfully built 8d3621e1d31e 23:17:26 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:17:26 23:17:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:17:27 latest: Pulling from edgex-lftools-log-publisher 23:17:27 5eb5b503b376: Pulling fs layer 23:17:27 5c69ac0246d0: Pulling fs layer 23:17:27 ec43610c2a17: Pulling fs layer 23:17:27 3a2ae6a8a46f: Pulling fs layer 23:17:27 33b1e0a273af: Pulling fs layer 23:17:27 5d3b04190fa2: Pulling fs layer 23:17:27 2f39f015ded8: Pulling fs layer 23:17:27 3a2ae6a8a46f: Waiting 23:17:27 33b1e0a273af: Waiting 23:17:27 5d3b04190fa2: Waiting 23:17:27 5c69ac0246d0: Verifying Checksum 23:17:27 5c69ac0246d0: Download complete 23:17:27 3a2ae6a8a46f: Verifying Checksum 23:17:27 3a2ae6a8a46f: Download complete 23:17:27 33b1e0a273af: Verifying Checksum 23:17:27 33b1e0a273af: Download complete 23:17:27 ec43610c2a17: Verifying Checksum 23:17:27 ec43610c2a17: Download complete 23:17:27 5d3b04190fa2: Verifying Checksum 23:17:27 5d3b04190fa2: Download complete 23:17:27 5eb5b503b376: Verifying Checksum 23:17:27 5eb5b503b376: Download complete 23:17:27 2f39f015ded8: Download complete 23:17:28 5eb5b503b376: Pull complete 23:17:28 5c69ac0246d0: Pull complete 23:17:29 ec43610c2a17: Pull complete 23:17:29 3a2ae6a8a46f: Pull complete 23:17:29 33b1e0a273af: Pull complete 23:17:29 5d3b04190fa2: Pull complete 23:17:34 2f39f015ded8: Pull complete 23:17:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:17:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:17:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:34 prd-ubuntu20.04-docker-8c-8g-17193 does not seem to be running inside a container 23:17:34 $ 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-488 -v /w/workspace/xfoundry_device-modbus-go_PR-488:/w/workspace/xfoundry_device-modbus-go_PR-488:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-488@tmp:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:17:37 $ docker top 27f6346fda713492cb4e214db2c6849e5a0c4735781ddea566297a3e49ac48f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:37 ---> job-cost.sh 23:17:37 lf-activate-venv: SKIPPING 23:17:37 INFO: No Stack... 23:17:38 INFO: Retrieving Pricing Info for: v3-standard-8 23:17:38 INFO: Archiving Costs [Pipeline] sh 23:17:38 + cat /w/workspace/xfoundry_device-modbus-go_PR-488/archives/cost.csv 23:17:38 + cut -d, -f6 [Pipeline] lock 23:17:38 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-488-2-stack-cost] 23:17:38 Resource [jenkins-edgexfoundry-device-modbus-go-PR-488-2-stack-cost] did not exist. Created. 23:17:38 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-488-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:17:38 + echo total: 0.2199999988079071 [Pipeline] stash 23:17:38 Stashed 1 file(s) [Pipeline] } 23:17:38 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-488-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:17:39 $ docker stop --time=1 27f6346fda713492cb4e214db2c6849e5a0c4735781ddea566297a3e49ac48f0 23:17:40 $ docker rm -f --volumes 27f6346fda713492cb4e214db2c6849e5a0c4735781ddea566297a3e49ac48f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:18:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17198 in /w/workspace/xfoundry_device-modbus-go_PR-488 [Pipeline] { [Pipeline] ws 23:18:38 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 23:18:39 Selected Git installation does not exist. Using Default 23:18:39 The recommended git tool is: NONE 23:18:44 using credential edgex-jenkins-ssh 23:18:44 Cloning the remote Git repository 23:18:44 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:18:45 > git init /w/workspace/device-modbus-go/2 # timeout=10 23:18:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:18:45 > git --version # timeout=10 23:18:45 > git --version # 'git version 2.25.1' 23:18:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:18:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:18:46 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:18:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:18:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:18:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:18:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:18:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/488/head:refs/remotes/origin/PR-488 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:18:48 Merging remotes/origin/main commit 4043164b7337e1db1bede6ff26841e4d6947650d into PR head commit 73364997d150f01c218d3de18e8b0aa484215453 23:18:48 Merge succeeded, producing 73364997d150f01c218d3de18e8b0aa484215453 23:18:48 Checking out Revision 73364997d150f01c218d3de18e8b0aa484215453 (PR-488) 23:18:48 > git config core.sparsecheckout # timeout=10 23:18:48 > git checkout -f 73364997d150f01c218d3de18e8b0aa484215453 # timeout=10 23:18:48 > git remote # timeout=10 23:18:48 > git config --get remote.origin.url # timeout=10 23:18:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:18:48 > git merge 4043164b7337e1db1bede6ff26841e4d6947650d # timeout=10 23:18:48 > git rev-parse HEAD^{commit} # timeout=10 23:18:48 > git config core.sparsecheckout # timeout=10 23:18:48 > git checkout -f 73364997d150f01c218d3de18e8b0aa484215453 # timeout=10 23:18:52 Commit message: "docs: Replace slack chat with github discussion" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:18:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:18:53 % Total % Received % Xferd Average Speed Time Time Time Current 23:18:53 Dload Upload Total Spent Left Speed 23:18:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 23:18:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:18:54 + sudo tee /etc/docker/daemon.new 23:18:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:18:54 { 23:18:54 "registry-mirrors": [ 23:18:54 "https://nexus3.edgexfoundry.org:10001" 23:18:54 ], 23:18:54 "bip": "10.250.0.254/24", 23:18:54 "hosts": [ 23:18:54 "tcp://0.0.0.0:5555", 23:18:54 "unix:///var/run/docker.sock" 23:18:54 ], 23:18:54 "mtu": 1458, 23:18:54 "selinux-enabled": true, 23:18:54 "seccomp-profile": "/etc/docker/seccomp.json" 23:18:54 } [Pipeline] sh 23:18:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:18:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:19:13 provisioning config files... 23:19:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config9482268944237356682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:13 ---> docker-login.sh 23:19:13 nexus3.edgexfoundry.org:10001 23:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:14 Configure a credential helper to remove this warning. See 23:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:14 23:19:14 Login Succeeded 23:19:14 nexus3.edgexfoundry.org:10002 23:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:14 Configure a credential helper to remove this warning. See 23:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:14 23:19:14 Login Succeeded 23:19:14 nexus3.edgexfoundry.org:10003 23:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:15 Configure a credential helper to remove this warning. See 23:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:15 23:19:15 Login Succeeded 23:19:15 nexus3.edgexfoundry.org:10004 23:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:15 Configure a credential helper to remove this warning. See 23:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:15 23:19:15 Login Succeeded 23:19:15 docker.io 23:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:15 Configure a credential helper to remove this warning. See 23:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:15 23:19:15 Login Succeeded 23:19:15 ---> docker-login.sh ends [Pipeline] } 23:19:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:19:16 ========================================================= 23:19:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:19:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:19:16 Sending build context to Docker daemon 3.437MB 23:19:16 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:19:16 Step 2/10 : FROM ${BASE} AS builder 23:19:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:19:17 c41833b44d91: Pulling fs layer 23:19:17 ed15518f5707: Pulling fs layer 23:19:17 feae8fd75edb: Pulling fs layer 23:19:17 242c74f7c9fa: Pulling fs layer 23:19:17 3cdef696dda3: Pulling fs layer 23:19:17 2ced38df9373: Pulling fs layer 23:19:17 58f1dce35555: Pulling fs layer 23:19:17 3cdef696dda3: Waiting 23:19:17 2ced38df9373: Waiting 23:19:17 58f1dce35555: Waiting 23:19:17 242c74f7c9fa: Waiting 23:19:17 ed15518f5707: Verifying Checksum 23:19:17 ed15518f5707: Download complete 23:19:17 242c74f7c9fa: Verifying Checksum 23:19:17 242c74f7c9fa: Download complete 23:19:17 3cdef696dda3: Verifying Checksum 23:19:17 3cdef696dda3: Download complete 23:19:17 c41833b44d91: Verifying Checksum 23:19:17 c41833b44d91: Download complete 23:19:18 c41833b44d91: Pull complete 23:19:18 58f1dce35555: Verifying Checksum 23:19:18 58f1dce35555: Download complete 23:19:18 ed15518f5707: Pull complete 23:19:19 2ced38df9373: Download complete 23:19:19 feae8fd75edb: Verifying Checksum 23:19:19 feae8fd75edb: Download complete 23:19:30 feae8fd75edb: Pull complete 23:19:30 242c74f7c9fa: Pull complete 23:19:30 3cdef696dda3: Pull complete 23:19:36 2ced38df9373: Pull complete 23:19:38 58f1dce35555: Pull complete 23:19:38 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:19:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:19:38 ---> fadd8f120f05 23:19:38 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:19:40 ---> Running in 8b0cdb5e8444 23:19:41 Removing intermediate container 8b0cdb5e8444 23:19:41 ---> 211adf7a0bec 23:19:41 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:41 ---> Running in 7fc362ccdcbd 23:19:41 Removing intermediate container 7fc362ccdcbd 23:19:41 ---> 908ad9847f1d 23:19:41 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:19:41 ---> Running in 313affb4152f 23:19:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:19:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:19:44 (1/8) Installing openssh-keygen (9.1_p1-r3) 23:19:44 (2/8) Installing libedit (20221030.3.1-r0) 23:19:44 (3/8) Installing openssh-client-common (9.1_p1-r3) 23:19:44 (4/8) Installing openssh-client-default (9.1_p1-r3) 23:19:44 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 23:19:44 (6/8) Installing openssh-server-common (9.1_p1-r3) 23:19:44 (7/8) Installing openssh-server (9.1_p1-r3) 23:19:44 (8/8) Installing openssh (9.1_p1-r3) 23:19:44 Executing busybox-1.35.0-r29.trigger 23:19:44 OK: 270 MiB in 61 packages 23:19:46 Removing intermediate container 313affb4152f 23:19:46 ---> c9746aea8ce1 23:19:46 Step 6/10 : WORKDIR /device-modbus-go 23:19:46 ---> Running in a5ee12ebef70 23:19:46 Removing intermediate container a5ee12ebef70 23:19:46 ---> 71f0f65c8017 23:19:46 Step 7/10 : COPY go.mod vendor* ./ 23:19:46 ---> 247614a5f98f 23:19:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:47 ---> Running in 75ae912a0792 23:20:54 Removing intermediate container 75ae912a0792 23:20:54 ---> 636e707631f7 23:20:54 Step 9/10 : COPY . . 23:20:54 ---> 023823e6b1da 23:20:54 Step 10/10 : RUN ${MAKE} 23:20:54 ---> Running in b716c1289830 23:20:54 noop 23:20:55 Removing intermediate container b716c1289830 23:20:55 ---> 7368b77bf164 23:20:55 Successfully built 7368b77bf164 23:20:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:55 + docker inspect -f . ci-base-image-arm64 23:20:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:55 prd-ubuntu20.04-docker-arm64-4c-16g-17198 does not seem to be running inside a container 23:20:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:20:57 $ docker top 08e0f412edac470996d14caa9463c440e6025b5bed1179e6835cf8ba929997a9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:20:58 + go version 23:20:58 go version go1.20.2 linux/arm64 [Pipeline] } 23:20:58 $ docker stop --time=1 08e0f412edac470996d14caa9463c440e6025b5bed1179e6835cf8ba929997a9 23:20:59 $ docker rm -f --volumes 08e0f412edac470996d14caa9463c440e6025b5bed1179e6835cf8ba929997a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:00 + docker inspect -f . ci-base-image-arm64 23:21:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:00 prd-ubuntu20.04-docker-arm64-4c-16g-17198 does not seem to be running inside a container 23:21:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:21:02 $ docker top 321598f170ce15ce66502d93f15e444ce58795131b4c2d04664c31f420a79c50 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:02 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 23:21:03 + make test 23:21:03 go test ./... -coverprofile=coverage.out 23:21:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:24:19 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:24:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 47.4% of statements 23:24:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:24:21 go vet ./... 23:24:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:24:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:24:53 ./bin/test-attribution-txt.sh [Pipeline] echo 23:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:24:53 $ docker stop --time=1 321598f170ce15ce66502d93f15e444ce58795131b4c2d04664c31f420a79c50 23:24:55 $ docker rm -f --volumes 321598f170ce15ce66502d93f15e444ce58795131b4c2d04664c31f420a79c50 [Pipeline] // withDockerContainer [Pipeline] sh 23:24:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:24:57 Warning: overwriting stash ‘coverage-report’ 23:24:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:24:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:24:58 + ls -al . 23:24:58 total 180 23:24:58 drwxrwxr-x 9 jenkins jenkins 4096 May 29 23:21 . 23:24:58 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:18 .. 23:24:58 -rw-rw-r-- 1 jenkins jenkins 140 May 29 23:18 .dockerignore 23:24:58 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:18 .git 23:24:58 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:18 .github 23:24:58 -rw-rw-r-- 1 jenkins jenkins 331 May 29 23:18 .gitignore 23:24:58 -rw-rw-r-- 1 jenkins jenkins 41 May 29 23:18 .golangci.yml 23:24:58 -rw-rw-r-- 1 jenkins jenkins 10132 May 29 23:18 Attribution.txt 23:24:58 -rw-rw-r-- 1 jenkins jenkins 11576 May 29 23:18 CHANGELOG.md 23:24:58 -rw-rw-r-- 1 jenkins jenkins 1365 May 29 23:18 Dockerfile 23:24:58 -rw-rw-r-- 1 jenkins jenkins 677 May 29 23:18 GOVERNANCE.md 23:24:58 -rw-rw-r-- 1 jenkins jenkins 680 May 29 23:18 Jenkinsfile 23:24:58 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 23:18 LICENSE 23:24:58 -rw-rw-r-- 1 jenkins jenkins 1705 May 29 23:18 Makefile 23:24:58 -rw-rw-r-- 1 jenkins jenkins 622 May 29 23:18 OWNERS.md 23:24:58 -rw-rw-r-- 1 jenkins jenkins 4598 May 29 23:18 README.md 23:24:58 -rw-rw-r-- 1 jenkins jenkins 5 May 29 23:15 VERSION 23:24:58 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:18 bin 23:24:58 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:18 cmd 23:24:58 -rw-r--r-- 1 jenkins jenkins 24160 May 29 23:24 coverage.out 23:24:58 -rw-rw-r-- 1 jenkins jenkins 3405 May 29 23:18 go.mod 23:24:58 -rw-rw-r-- 1 jenkins jenkins 31574 May 29 23:18 go.sum 23:24:58 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:18 internal 23:24:58 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:18 simulator 23:24:58 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:18 snap 23:24:58 -rw-rw-r-- 1 jenkins jenkins 229 May 29 23:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:59 + 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=73364997d150f01c218d3de18e8b0aa484215453 --label arch=arm64 --label version=0.0.0 . 23:24:59 Sending build context to Docker daemon 3.462MB 23:24:59 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 23:24:59 Step 2/22 : FROM ${BASE} AS builder 23:24:59 ---> 7368b77bf164 23:24:59 Step 3/22 : ARG ADD_BUILD_TAGS="" 23:24:59 ---> Running in 9ceea1c02d5c 23:25:00 Removing intermediate container 9ceea1c02d5c 23:25:00 ---> ce42ed6ea199 23:25:00 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:00 ---> Running in 8f303721665a 23:25:00 Removing intermediate container 8f303721665a 23:25:00 ---> bd79d815a9e8 23:25:00 Step 5/22 : RUN apk add --update --no-cache make git openssh 23:25:00 ---> Running in a9d78a27586d 23:25:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:25:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:25:03 OK: 270 MiB in 61 packages 23:25:05 Removing intermediate container a9d78a27586d 23:25:05 ---> 2fa99b24d948 23:25:05 Step 6/22 : WORKDIR /device-modbus-go 23:25:05 ---> Running in 8c6940e51d26 23:25:05 Removing intermediate container 8c6940e51d26 23:25:05 ---> 441c39e9a558 23:25:05 Step 7/22 : COPY go.mod vendor* ./ 23:25:06 ---> 07a704b723e1 23:25:06 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:06 ---> Running in 7aa7a41b8608 23:25:09 Removing intermediate container 7aa7a41b8608 23:25:09 ---> a899cb332e94 23:25:09 Step 9/22 : COPY . . 23:25:10 ---> 45ab542a16f9 23:25:10 Step 10/22 : RUN ${MAKE} 23:25:10 ---> Running in f184852e4b82 23:25:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 23:27:47 Removing intermediate container f184852e4b82 23:27:47 ---> 41687d344b4a 23:27:47 Step 11/22 : FROM alpine:3.17 23:27:47 3.17: Pulling from library/alpine 23:27:47 c41833b44d91: Already exists 23:27:47 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:27:47 Status: Downloaded newer image for alpine:3.17 23:27:47 ---> 51e60588ff2c 23:27:47 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:27:47 ---> Running in 7ccb981099a0 23:27:47 Removing intermediate container 7ccb981099a0 23:27:47 ---> 24380bd77103 23:27:47 Step 13/22 : RUN apk add --update --no-cache dumb-init 23:27:47 ---> Running in 6286e6de34fc 23:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:27:47 (1/1) Installing dumb-init (1.2.5-r2) 23:27:47 Executing busybox-1.35.0-r29.trigger 23:27:47 OK: 8 MiB in 16 packages 23:27:47 Removing intermediate container 6286e6de34fc 23:27:47 ---> f18c123df691 23:27:47 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 23:27:47 ---> c1ca7bad9e6c 23:27:47 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 23:27:47 ---> b2ecfe6ff5e1 23:27:47 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:27:47 ---> fc247ba4edc2 23:27:47 Step 17/22 : EXPOSE 59901 23:27:47 ---> Running in 0fc8cc59e5bf 23:27:47 Removing intermediate container 0fc8cc59e5bf 23:27:47 ---> 637de61c62cb 23:27:47 Step 18/22 : ENTRYPOINT ["/device-modbus"] 23:27:47 ---> Running in 8d5c01ddcca5 23:27:47 Removing intermediate container 8d5c01ddcca5 23:27:47 ---> 90464d645155 23:27:47 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:27:47 ---> Running in 4b4cf7833b8d 23:27:47 Removing intermediate container 4b4cf7833b8d 23:27:47 ---> 89fd192f69a7 23:27:47 Step 20/22 : LABEL arch=arm64 23:27:47 ---> Running in 5433349c38f1 23:27:47 Removing intermediate container 5433349c38f1 23:27:47 ---> 90b18d8804a1 23:27:47 Step 21/22 : LABEL git_sha=73364997d150f01c218d3de18e8b0aa484215453 23:27:47 ---> Running in 3d0aef008775 23:27:47 Removing intermediate container 3d0aef008775 23:27:47 ---> 3740a0e29d2a 23:27:47 Step 22/22 : LABEL version=0.0.0 23:27:47 ---> Running in c75a0ed3753b 23:27:47 Removing intermediate container c75a0ed3753b 23:27:47 ---> 15128b1f261f 23:27:47 [Warning] One or more build-args [ARCH] were not consumed 23:27:47 Successfully built 15128b1f261f 23:27:47 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:48 23:27:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:49 arm64: Pulling from edgex-lftools-log-publisher 23:27:49 8998bd30e6a1: Pulling fs layer 23:27:49 04944245beec: Pulling fs layer 23:27:49 699f458cf7ca: Pulling fs layer 23:27:49 765212b225bb: Pulling fs layer 23:27:49 f23df028b6ca: Pulling fs layer 23:27:49 d65c8cfc05b1: Pulling fs layer 23:27:49 2437ff75d9bd: Pulling fs layer 23:27:49 f23df028b6ca: Waiting 23:27:49 765212b225bb: Waiting 23:27:49 d65c8cfc05b1: Waiting 23:27:49 2437ff75d9bd: Waiting 23:27:49 04944245beec: Verifying Checksum 23:27:49 04944245beec: Download complete 23:27:49 765212b225bb: Verifying Checksum 23:27:49 765212b225bb: Download complete 23:27:50 f23df028b6ca: Verifying Checksum 23:27:50 f23df028b6ca: Download complete 23:27:50 d65c8cfc05b1: Verifying Checksum 23:27:50 d65c8cfc05b1: Download complete 23:27:50 699f458cf7ca: Verifying Checksum 23:27:50 699f458cf7ca: Download complete 23:27:50 8998bd30e6a1: Verifying Checksum 23:27:50 8998bd30e6a1: Download complete 23:27:52 2437ff75d9bd: Verifying Checksum 23:27:52 2437ff75d9bd: Download complete 23:27:54 8998bd30e6a1: Pull complete 23:27:54 04944245beec: Pull complete 23:27:55 699f458cf7ca: Pull complete 23:27:56 765212b225bb: Pull complete 23:27:57 f23df028b6ca: Pull complete 23:27:57 d65c8cfc05b1: Pull complete 23:28:12 2437ff75d9bd: Pull complete 23:28:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:28:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:12 prd-ubuntu20.04-docker-arm64-4c-16g-17198 does not seem to be running inside a container 23:28:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:28:15 $ docker top 86899caa99b7d7ca53e521753b846e72c4528048f9e85077f747b7fcfb75876f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:16 ---> job-cost.sh 23:28:16 lf-activate-venv: SKIPPING 23:28:16 INFO: No Stack... 23:28:16 INFO: Retrieving Pricing Info for: v3-standard-4 23:28:17 INFO: Archiving Costs [Pipeline] sh 23:28:18 + cat+ /w/workspace/device-modbus-go/2/archives/cost.csv 23:28:18 cut -d, -f6 [Pipeline] lock 23:28:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-488-2-stack-cost] 23:28:18 Resource [jenkins-edgexfoundry-device-modbus-go-PR-488-2-stack-cost] did not exist. Created. 23:28:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-488-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:28:18 /w/workspace/device-modbus-go/2@tmp/durable-068a8cd8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:28:18 + echo total: 0.10999999940395355 [Pipeline] stash 23:28:18 Warning: overwriting stash ‘stack-cost’ 23:28:18 Stashed 1 file(s) [Pipeline] } 23:28:18 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-488-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:28:18 $ docker stop --time=1 86899caa99b7d7ca53e521753b846e72c4528048f9e85077f747b7fcfb75876f 23:28:20 $ docker rm -f --volumes 86899caa99b7d7ca53e521753b846e72c4528048f9e85077f747b7fcfb75876f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:28:20 provisioning config files... 23:28:20 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/config9492458496005480981tmp [Pipeline] { [Pipeline] sh 23:28:21 + set +x 23:28:21 + curl -s https://codecov.io/bash 23:28:21 + bash -s -- 23:28:21 23:28:21 _____ _ 23:28:21 / ____| | | 23:28:21 | | ___ __| | ___ ___ _____ __ 23:28:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:28:21 | |___| (_) | (_| | __/ (_| (_) \ V / 23:28:21 \_____\___/ \__,_|\___|\___\___/ \_/ 23:28:21 Bash-1.0.6 23:28:21 23:28:21 23:28:21 ==> git version 2.25.1 found 23:28:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:28:21 Release-Date: 2020-01-08 23:28:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:28:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:28:21 ==> Jenkins CI detected. 23:28:21 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-488 23:28:21 project root: . 23:28:21 --> token set from env 23:28:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:28:21 ==> Running gcov in . (disable via -X gcov) 23:28:21 ==> Python coveragepy not found 23:28:21 ==> Searching for coverage reports in: 23:28:21 + . 23:28:21 -> Found 1 reports 23:28:21 ==> Detecting git/mercurial file structure 23:28:21 ==> Reading reports 23:28:21 + ./coverage.out bytes=24160 23:28:21 ==> Appending adjustments 23:28:21 https://docs.codecov.io/docs/fixing-reports 23:28:21 + Found adjustments 23:28:21 ==> Gzipping contents 23:28:21 4.0K /tmp/codecov.LsMrLd.gz 23:28:21 ==> Uploading reports 23:28:21 url: https://codecov.io 23:28:21 query: branch=PR-488&commit=73364997d150f01c218d3de18e8b0aa484215453&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-488%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=488&job=&cmd_args= 23:28:21 -> Pinging Codecov 23:28:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-488&commit=73364997d150f01c218d3de18e8b0aa484215453&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-488%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=488&job=&cmd_args= 23:28:21 -> Uploading to 23:28:21 https://storage.googleapis.com/codecov/v4/raw/2023-05-29/55DBCA73C666E3227836607328DD7E49/73364997d150f01c218d3de18e8b0aa484215453/480c5418-7b6e-470a-af4b-5647867c33c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230529%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230529T232821Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f302827a6bb7a6112622641ea36097be939e80bb69f0e01ba48a5a7f0e66bc26 23:28:21 % Total % Received % Xferd Average Speed Time Time Time Current 23:28:21 Dload Upload Total Spent Left Speed 23:28:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 19330 --:--:-- --:--:-- --:--:-- 19235 100 3924 0 0 100 3924 0 18336 --:--:-- --:--:-- --:--:-- 18251 23:28:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/73364997d150f01c218d3de18e8b0aa484215453 [Pipeline] } 23:28:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:28:22 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-488/archives ] 23:28:22 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-488/archives 23:28:22 total 16 23:28:22 drwxr-xr-x 3 root root 4096 May 29 23:17 . 23:28:22 drwxrwxr-x 11 jenkins jenkins 4096 May 29 23:17 .. 23:28:22 drwxr-xr-x 2 root root 4096 May 29 23:17 cost 23:28:22 -rw-r--r-- 1 root root 88 May 29 23:17 cost.csv 23:28:22 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-488/archives 23:28:22 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-488/archives 23:28:22 total 16 23:28:22 drwxr-xr-x 3 jenkins jenkins 4096 May 29 23:17 . 23:28:22 drwxrwxr-x 11 jenkins jenkins 4096 May 29 23:17 .. 23:28:22 drwxr-xr-x 2 jenkins jenkins 4096 May 29 23:17 cost 23:28:22 -rw-r--r-- 1 jenkins jenkins 88 May 29 23:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:28:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:28:23 ---> package-listing.sh 23:28:23 ++ facter osfamily 23:28:23 ++ tr '[:upper:]' '[:lower:]' 23:28:23 + OS_FAMILY=debian 23:28:23 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-488 23:28:23 + START_PACKAGES=/tmp/packages_start.txt 23:28:23 + END_PACKAGES=/tmp/packages_end.txt 23:28:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:28:23 + PACKAGES=/tmp/packages_start.txt 23:28:23 + '[' /w/workspace/xfoundry_device-modbus-go_PR-488 ']' 23:28:23 + PACKAGES=/tmp/packages_end.txt 23:28:23 + case "${OS_FAMILY}" in 23:28:23 + dpkg -l 23:28:23 + grep '^ii' 23:28:23 + '[' -f /tmp/packages_start.txt ']' 23:28:23 + '[' -f /tmp/packages_end.txt ']' 23:28:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:28:23 + '[' /w/workspace/xfoundry_device-modbus-go_PR-488 ']' 23:28:23 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-488/archives/ 23:28:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-488/archives/ [Pipeline] echo 23:28:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-488/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:28:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:24 prd-ubuntu20.04-docker-8c-8g-17193 does not seem to be running inside a container 23:28:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-488/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-488 -v /w/workspace/xfoundry_device-modbus-go_PR-488:/w/workspace/xfoundry_device-modbus-go_PR-488:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-488@tmp:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:28:25 $ docker top 05908f38e944d4a430c0619bef0cce6ba82698c15bdfc1721d3bfe7d39908ac6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:25 + touch /tmp/pre-build-complete [Pipeline] sh 23:28:25 + mkdir -p /var/log/sysstat [Pipeline] sh 23:28:26 + ls /var/log/sa-host 23:28:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:26 provisioning config files... 23:28:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/config11827959903998530400tmp [Pipeline] { [Pipeline] echo 23:28:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:28:26 ---> create-netrc.sh [Pipeline] } 23:28:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:28:26 ---> python-tools-install.sh [Pipeline] echo 23:28:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:28:27 ---> sudo-logs.sh 23:28:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:28:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:28:27 ---> job-cost.sh 23:28:27 lf-activate-venv: SKIPPING 23:28:27 DEBUG: total: 0.2199999988079071 23:28:27 INFO: Retrieving Stack Cost... 23:28:27 INFO: Retrieving Pricing Info for: v3-standard-8 23:28:28 INFO: Archiving Costs [Pipeline] echo 23:28:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:28:28 ---> logs-deploy.sh 23:28:28 lf-activate-venv: SKIPPING 23:28:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-488/2 23:28:28 INFO: archiving workspace using pattern(s): 23:28:29 Archives upload complete. 23:28:29 INFO: archiving logs to Nexus