Pull request #397 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 marcpfuller for edgexfoundry/device-modbus-go Loading trusted files from base branch main at b747fdb0f46d56fab49edbd998369f5c6173beb1 rather than facc4fb4f23d801c1a99f2e21190939483a17e3c Obtained Jenkinsfile from b747fdb0f46d56fab49edbd998369f5c6173beb1 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-ssh9417100450472525908.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10820965073557107204.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-397/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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh477915821243191800.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh1354450017129680983.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-397/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-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11744459035450444184.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1661 in /w/workspace/xfoundry_device-modbus-go_PR-397 [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-397 # 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/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b747fdb0f46d56fab49edbd998369f5c6173beb1 into PR head commit facc4fb4f23d801c1a99f2e21190939483a17e3c Merge succeeded, producing facc4fb4f23d801c1a99f2e21190939483a17e3c Checking out Revision facc4fb4f23d801c1a99f2e21190939483a17e3c (PR-397) > git config core.sparsecheckout # timeout=10 > git checkout -f facc4fb4f23d801c1a99f2e21190939483a17e3c # 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 b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f facc4fb4f23d801c1a99f2e21190939483a17e3c # timeout=10 Commit message: "fix: resolve comments made by lenny" > git rev-list --no-walk 5c778906de6ba481e4089c32075684d12eab5fb4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:40:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:40:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:40:30 ========================================================= 20:40:30 EdgeX Global Pipelines Version Info 20:40:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:40:31 ------------------- 20:40:31 stable info: 20:40:31 ------------------- 20:40:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:40:31 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:40:31 Message: update stable to v1.0.244 20:40:31 ------------------- 20:40:31 experimental info: 20:40:31 ------------------- 20:40:31 Commited By: **** collab-it+edgex@linuxfoundation.org 20:40:31 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:40:31 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = facc4fb4f23d801c1a99f2e21190939483a17e3c [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = facc4fb [Pipeline] echo 20:40:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:40:32 provisioning config files... 20:40:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config12221531766320000090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:32 ---> docker-login.sh 20:40:32 nexus3.edgexfoundry.org:10001 20:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:32 Configure a credential helper to remove this warning. See 20:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:32 20:40:32 Login Succeeded 20:40:32 nexus3.edgexfoundry.org:10002 20:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:32 Configure a credential helper to remove this warning. See 20:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:32 20:40:32 Login Succeeded 20:40:32 nexus3.edgexfoundry.org:10003 20:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:33 Configure a credential helper to remove this warning. See 20:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:33 20:40:33 Login Succeeded 20:40:33 nexus3.edgexfoundry.org:10004 20:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:33 Configure a credential helper to remove this warning. See 20:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:33 20:40:33 Login Succeeded 20:40:33 docker.io 20:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:33 Configure a credential helper to remove this warning. See 20:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:33 20:40:33 Login Succeeded 20:40:33 ---> docker-login.sh ends [Pipeline] } 20:40:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:40:33 + git rev-list -1 --merges facc4fb4f23d801c1a99f2e21190939483a17e3c~1..facc4fb4f23d801c1a99f2e21190939483a17e3c [Pipeline] echo 20:40:33 -----------> git rev-list -1 --merges facc4fb4f23d801c1a99f2e21190939483a17e3c~1..facc4fb4f23d801c1a99f2e21190939483a17e3c facc4fb4f23d801c1a99f2e21190939483a17e3c [false] [Pipeline] sh 20:40:34 + git log --format=format:%s -1 facc4fb4f23d801c1a99f2e21190939483a17e3c [Pipeline] echo 20:40:34 ========================================================= 20:40:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:40:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:40:34 + git log --format=format:%s -1 facc4fb4f23d801c1a99f2e21190939483a17e3c [Pipeline] echo 20:40:34 [semverPrep] GIT_COMMIT: facc4fb4f23d801c1a99f2e21190939483a17e3c, Commit Message: fix: resolve comments made by lenny [Pipeline] echo 20:40:34 [semverPrep] This is not a build commit. [Pipeline] sh 20:40:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:40:34 + grep -v github /etc/ssh/ssh_known_hosts 20:40:34 + [ -e /tmp/ssh_known_hosts ] 20:40:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:40:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 20:40:34 sudo tee -a /etc/ssh/ssh_known_hosts 20:40:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:35 20:40:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:35 0.1.4: Pulling from edgex-devops/py-git-semver 20:40:35 b85a868b505f: Pulling fs layer 20:40:35 e2be974225ed: Pulling fs layer 20:40:35 339a4e72a1f5: Pulling fs layer 20:40:35 988bab9f4d93: Pulling fs layer 20:40:35 1469e6f7b9e6: Pulling fs layer 20:40:35 eaf3925da568: Pulling fs layer 20:40:35 bab4dde63d76: Pulling fs layer 20:40:35 bde34c3a00c8: Pulling fs layer 20:40:35 b352a97aabf1: Pulling fs layer 20:40:35 4872d77fe225: Pulling fs layer 20:40:35 5851b861e8e6: Pulling fs layer 20:40:35 bde34c3a00c8: Waiting 20:40:35 b352a97aabf1: Waiting 20:40:35 1469e6f7b9e6: Waiting 20:40:35 988bab9f4d93: Waiting 20:40:35 eaf3925da568: Waiting 20:40:35 4872d77fe225: Waiting 20:40:35 5851b861e8e6: Waiting 20:40:35 bab4dde63d76: Waiting 20:40:35 e2be974225ed: Download complete 20:40:35 988bab9f4d93: Verifying Checksum 20:40:35 988bab9f4d93: Download complete 20:40:35 1469e6f7b9e6: Verifying Checksum 20:40:35 1469e6f7b9e6: Download complete 20:40:35 eaf3925da568: Verifying Checksum 20:40:35 339a4e72a1f5: Verifying Checksum 20:40:35 339a4e72a1f5: Download complete 20:40:35 bde34c3a00c8: Verifying Checksum 20:40:35 bde34c3a00c8: Download complete 20:40:35 b352a97aabf1: Verifying Checksum 20:40:35 b352a97aabf1: Download complete 20:40:35 4872d77fe225: Verifying Checksum 20:40:35 4872d77fe225: Download complete 20:40:35 5851b861e8e6: Verifying Checksum 20:40:35 5851b861e8e6: Download complete 20:40:35 b85a868b505f: Verifying Checksum 20:40:35 b85a868b505f: Download complete 20:40:36 bab4dde63d76: Verifying Checksum 20:40:36 bab4dde63d76: Download complete 20:40:36 b85a868b505f: Pull complete 20:40:37 e2be974225ed: Pull complete 20:40:37 339a4e72a1f5: Pull complete 20:40:37 988bab9f4d93: Pull complete 20:40:38 1469e6f7b9e6: Pull complete 20:40:38 eaf3925da568: Pull complete 20:40:39 bab4dde63d76: Pull complete 20:40:39 bde34c3a00c8: Pull complete 20:40:39 b352a97aabf1: Pull complete 20:40:39 4872d77fe225: Pull complete 20:40:39 5851b861e8e6: Pull complete 20:40:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:40:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:40 prd-ubuntu20.04-docker-8c-8g-1661 does not seem to be running inside a container 20:40:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@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 20:40:42 $ docker top 3d0327840f3ae26498c8fc4ff9275f57f753ed21029472b146901f5c6b6133dc -eo pid,comm 20:40:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:40:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:40:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:42 [ssh-agent] Looking for ssh-agent implementation... 20:40:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:42 $ docker exec 3d0327840f3ae26498c8fc4ff9275f57f753ed21029472b146901f5c6b6133dc ssh-agent 20:40:42 SSH_AUTH_SOCK=/tmp/ssh-yI6iHmlVZ6yy/agent.32 20:40:42 SSH_AGENT_PID=38 20:40:42 Running ssh-add (command line suppressed) 20:40:42 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_4355624390671585474.key (/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_4355624390671585474.key) 20:40:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:42 + git tag --points-at HEAD [Pipeline] } 20:40:42 $ docker exec --env ******** --env ******** 3d0327840f3ae26498c8fc4ff9275f57f753ed21029472b146901f5c6b6133dc ssh-agent -k 20:40:42 unset SSH_AUTH_SOCK; 20:40:42 unset SSH_AGENT_PID; 20:40:42 echo Agent pid 38 killed; 20:40:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:40:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:42 [ssh-agent] Looking for ssh-agent implementation... 20:40:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:43 $ docker exec 3d0327840f3ae26498c8fc4ff9275f57f753ed21029472b146901f5c6b6133dc ssh-agent 20:40:43 SSH_AUTH_SOCK=/tmp/ssh-zC0ZdDQgR9OD/agent.70 20:40:43 SSH_AGENT_PID=76 20:40:43 Running ssh-add (command line suppressed) 20:40:43 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_9877713759915963220.key (/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_9877713759915963220.key) 20:40:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:43 + git semver init 20:40:43 2023-01-10 20:40:43,692 [run_init] DEBUG init version:0.0.0 force:False 20:40:43 2023-01-10 20:40:43,693 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-397/.semver 20:40:43 2023-01-10 20:40:43,693 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-397/.semver 20:40:43 2023-01-10 20:40:43,693 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-397/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-397, universal_newlines=False, shell=None, istream=None) 20:40:44 2023-01-10 20:40:44,540 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-397/.git/info/exclude 20:40:44 2023-01-10 20:40:44,540 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-397/.semver/PR-397 with force:False 20:40:44 2023-01-10 20:40:44,540 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-397/.semver/PR-397 20:40:44 2023-01-10 20:40:44,543 [execute] INFO git cat-file --batch-check 20:40:44 2023-01-10 20:40:44,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) 20:40:44 2023-01-10 20:40:44,547 [execute] INFO git cat-file --batch 20:40:44 2023-01-10 20:40:44,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) 20:40:44 2023-01-10 20:40:44,552 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-397/.semver/PR-397 20:40:44 0.0.0 [Pipeline] } 20:40:44 $ docker exec --env ******** --env ******** 3d0327840f3ae26498c8fc4ff9275f57f753ed21029472b146901f5c6b6133dc ssh-agent -k 20:40:44 unset SSH_AUTH_SOCK; 20:40:44 unset SSH_AGENT_PID; 20:40:44 echo Agent pid 76 killed; 20:40:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:40:45 + git semver [Pipeline] } 20:40:45 $ docker stop --time=1 3d0327840f3ae26498c8fc4ff9275f57f753ed21029472b146901f5c6b6133dc 20:40:46 $ docker rm -f --volumes 3d0327840f3ae26498c8fc4ff9275f57f753ed21029472b146901f5c6b6133dc [Pipeline] // withDockerContainer [Pipeline] sh 20:40:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:40:47 Stashed 1 file(s) [Pipeline] echo 20:40:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:40:47 provisioning config files... 20:40:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config18150119899900214503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:47 ---> docker-login.sh 20:40:47 nexus3.edgexfoundry.org:10001 20:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:47 Configure a credential helper to remove this warning. See 20:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:47 20:40:47 Login Succeeded 20:40:47 nexus3.edgexfoundry.org:10002 20:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:47 Configure a credential helper to remove this warning. See 20:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:47 20:40:47 Login Succeeded 20:40:47 nexus3.edgexfoundry.org:10003 20:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:48 Configure a credential helper to remove this warning. See 20:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:48 20:40:48 Login Succeeded 20:40:48 nexus3.edgexfoundry.org:10004 20:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:48 Configure a credential helper to remove this warning. See 20:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:48 20:40:48 Login Succeeded 20:40:48 docker.io 20:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:48 Configure a credential helper to remove this warning. See 20:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:48 20:40:48 Login Succeeded 20:40:48 ---> docker-login.sh ends [Pipeline] } 20:40:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:40:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:48 ========================================================= 20:40:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:40:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:40:48 Sending build context to Docker daemon 6.372MB 20:40:48 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:40:48 Step 2/10 : FROM ${BASE} AS builder 20:40:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:40:48 213ec9aee27d: Pulling fs layer 20:40:48 4583459ba037: Pulling fs layer 20:40:48 93c1e223e6f2: Pulling fs layer 20:40:48 53926ce57604: Pulling fs layer 20:40:48 21b2b0c7a3f4: Pulling fs layer 20:40:48 22ff95d597cd: Pulling fs layer 20:40:48 12d6caf4c0d1: Pulling fs layer 20:40:48 96b7cbca73a9: Pulling fs layer 20:40:48 a7acece74701: Pulling fs layer 20:40:48 21b2b0c7a3f4: Waiting 20:40:48 12d6caf4c0d1: Waiting 20:40:48 96b7cbca73a9: Waiting 20:40:48 22ff95d597cd: Waiting 20:40:48 53926ce57604: Waiting 20:40:48 93c1e223e6f2: Download complete 20:40:48 4583459ba037: Verifying Checksum 20:40:48 4583459ba037: Download complete 20:40:48 21b2b0c7a3f4: Verifying Checksum 20:40:48 22ff95d597cd: Verifying Checksum 20:40:48 22ff95d597cd: Download complete 20:40:48 213ec9aee27d: Verifying Checksum 20:40:48 213ec9aee27d: Download complete 20:40:48 12d6caf4c0d1: Verifying Checksum 20:40:48 12d6caf4c0d1: Download complete 20:40:48 213ec9aee27d: Pull complete 20:40:49 4583459ba037: Pull complete 20:40:49 93c1e223e6f2: Pull complete 20:40:49 96b7cbca73a9: Verifying Checksum 20:40:49 96b7cbca73a9: Download complete 20:40:49 a7acece74701: Verifying Checksum 20:40:49 a7acece74701: Download complete 20:40:49 53926ce57604: Verifying Checksum 20:40:49 53926ce57604: Download complete 20:40:53 53926ce57604: Pull complete 20:40:53 21b2b0c7a3f4: Pull complete 20:40:53 22ff95d597cd: Pull complete 20:40:53 12d6caf4c0d1: Pull complete 20:40:55 96b7cbca73a9: Pull complete 20:40:56 a7acece74701: Pull complete 20:40:56 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:40:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:40:56 ---> db6d94c90886 20:40:56 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:40:59 ---> Running in dc1c8b4aea36 20:40:59 Removing intermediate container dc1c8b4aea36 20:40:59 ---> 0a67bcebf7b9 20:40:59 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:40:59 ---> Running in cf1dca1d2104 20:40:59 Removing intermediate container cf1dca1d2104 20:40:59 ---> 315455cdb96e 20:40:59 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:40:59 ---> Running in c76b58c3351e 20:40:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:41:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:41:00 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:41:00 (2/8) Installing libedit (20210910.3.1-r0) 20:41:00 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:41:00 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:41:00 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:41:00 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:41:00 (7/8) Installing openssh-server (9.0_p1-r2) 20:41:00 (8/8) Installing openssh (9.0_p1-r2) 20:41:00 Executing busybox-1.35.0-r17.trigger 20:41:00 OK: 217 MiB in 59 packages 20:41:00 Removing intermediate container c76b58c3351e 20:41:00 ---> 3b031a293319 20:41:00 Step 6/10 : WORKDIR /device-modbus-go 20:41:00 ---> Running in f7a44e4051f5 20:41:00 Removing intermediate container f7a44e4051f5 20:41:00 ---> a77ea474368d 20:41:00 Step 7/10 : COPY go.mod vendor* ./ 20:41:01 ---> 67d2cf353a92 20:41:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:01 ---> Running in 2f54abbff546 20:41:02 Still waiting to schedule task 20:41:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:41:23 Removing intermediate container 2f54abbff546 20:41:23 ---> 31e487202cac 20:41:23 Step 9/10 : COPY . . 20:41:23 ---> f8e37b3e2c75 20:41:23 Step 10/10 : RUN ${MAKE} 20:41:23 ---> Running in 16de7a71ea4f 20:41:23 noop 20:41:23 Removing intermediate container 16de7a71ea4f 20:41:23 ---> 2b64f2d09cb0 20:41:23 Successfully built 2b64f2d09cb0 20:41:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:23 + docker inspect -f . ci-base-image-x86_64 20:41:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:23 prd-ubuntu20.04-docker-8c-8g-1661 does not seem to be running inside a container 20:41:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@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 20:41:23 $ docker top d0086d3e9f7db88a022076f99b2ba784fd3ef6763bdbf622b685ecb4ed2f9800 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:24 + go version 20:41:24 go version go1.18.7 linux/amd64 [Pipeline] } 20:41:24 $ docker stop --time=1 d0086d3e9f7db88a022076f99b2ba784fd3ef6763bdbf622b685ecb4ed2f9800 20:41:25 $ docker rm -f --volumes d0086d3e9f7db88a022076f99b2ba784fd3ef6763bdbf622b685ecb4ed2f9800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:25 + docker inspect -f . ci-base-image-x86_64 20:41:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:26 prd-ubuntu20.04-docker-8c-8g-1661 does not seem to be running inside a container 20:41:26 $ 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-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@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 20:41:26 $ docker top 01c9c5e9a7277c4daf38a06d027ade1bcd96b525158cc4a085c41bae01f470d6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:26 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-397 [Pipeline] fileExists [Pipeline] sh 20:41:27 + make test 20:41:27 go test ./... -coverprofile=coverage.out 20:41:27 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:41:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:41:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 20:41:43 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:41:43 go vet ./... 20:41:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:41:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:41:47 ./bin/test-attribution-txt.sh [Pipeline] echo 20:41:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:41:47 $ docker stop --time=1 01c9c5e9a7277c4daf38a06d027ade1bcd96b525158cc4a085c41bae01f470d6 20:41:49 $ docker rm -f --volumes 01c9c5e9a7277c4daf38a06d027ade1bcd96b525158cc4a085c41bae01f470d6 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:41:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:41:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:41:50 + ls -al . 20:41:50 total 196 20:41:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 20:41 . 20:41:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:40 .. 20:41:50 -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 20:40 .dockerignore 20:41:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 20:41 .git 20:41:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:40 .github 20:41:50 -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 20:40 .gitignore 20:41:50 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 20:40 .golangci.yml 20:41:50 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 20:40 .semver 20:41:50 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 20:40 Attribution.txt 20:41:50 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 20:40 CHANGELOG.md 20:41:50 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 20:40 Dockerfile 20:41:50 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 20:40 GOVERNANCE.md 20:41:50 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 20:40 Jenkinsfile 20:41:50 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 20:40 LICENSE 20:41:50 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 10 20:40 Makefile 20:41:50 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 20:40 OWNERS.md 20:41:50 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 20:40 README.md 20:41:50 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 20:40 VERSION 20:41:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:40 bin 20:41:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:40 cmd 20:41:50 -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 20:41 coverage.out 20:41:50 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 20:40 go.mod 20:41:50 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 20:40 go.sum 20:41:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:40 internal 20:41:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:40 simulator 20:41:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:40 snap 20:41:50 -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:50 + 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=facc4fb4f23d801c1a99f2e21190939483a17e3c --label arch=amd64 --label version=0.0.0 . 20:41:50 Sending build context to Docker daemon 6.396MB 20:41:50 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:41:50 Step 2/22 : FROM ${BASE} AS builder 20:41:50 ---> 2b64f2d09cb0 20:41:50 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:41:51 ---> Running in eeddc5eb289b 20:41:51 Removing intermediate container eeddc5eb289b 20:41:51 ---> c826ae418159 20:41:51 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:51 ---> Running in 0632dc6053ec 20:41:51 Removing intermediate container 0632dc6053ec 20:41:51 ---> e4eed1066574 20:41:51 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:41:51 ---> Running in cc3dedf89449 20:41:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:41:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:41:51 OK: 217 MiB in 59 packages 20:41:52 Removing intermediate container cc3dedf89449 20:41:52 ---> e0a996cc77ad 20:41:52 Step 6/22 : WORKDIR /device-modbus-go 20:41:52 ---> Running in 6259c1d9b5df 20:41:52 Removing intermediate container 6259c1d9b5df 20:41:52 ---> f07b6f5b6b25 20:41:52 Step 7/22 : COPY go.mod vendor* ./ 20:41:52 ---> 669faef7f7ea 20:41:52 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:52 ---> Running in e300d5bdd805 20:41:53 Removing intermediate container e300d5bdd805 20:41:53 ---> bad3b0937236 20:41:53 Step 9/22 : COPY . . 20:41:53 ---> 2b0156372904 20:41:53 Step 10/22 : RUN ${MAKE} 20:41:53 ---> Running in 9c0f575aec2a 20:41:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:42:16 Removing intermediate container 9c0f575aec2a 20:42:16 ---> d1ea17fe9b87 20:42:16 Step 11/22 : FROM alpine:3.14 20:42:16 3.14: Pulling from library/alpine 20:42:16 c7ed990a2339: Pulling fs layer 20:42:16 c7ed990a2339: Verifying Checksum 20:42:16 c7ed990a2339: Download complete 20:42:16 c7ed990a2339: Pull complete 20:42:16 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 20:42:16 Status: Downloaded newer image for alpine:3.14 20:42:16 ---> dd53f409bf0b 20:42:16 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:42:16 ---> Running in 2e31cec48cd2 20:42:16 Removing intermediate container 2e31cec48cd2 20:42:16 ---> 473311299ad3 20:42:16 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:42:16 ---> Running in 042bf4555dc3 20:42:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:42:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:42:16 (1/1) Installing dumb-init (1.2.5-r1) 20:42:16 Executing busybox-1.33.1-r8.trigger 20:42:16 OK: 6 MiB in 15 packages 20:42:16 Removing intermediate container 042bf4555dc3 20:42:16 ---> 7581bdfe92e6 20:42:16 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:42:16 ---> d2cc3d7cdcab 20:42:16 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:42:16 ---> 8b2f104d66b1 20:42:16 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:42:16 ---> 94d306209856 20:42:16 Step 17/22 : EXPOSE 59901 20:42:16 ---> Running in f13325f30be0 20:42:16 Removing intermediate container f13325f30be0 20:42:16 ---> c7278822d37d 20:42:16 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:42:16 ---> Running in 3a284a4180a1 20:42:16 Removing intermediate container 3a284a4180a1 20:42:16 ---> 5fc6c6abb4d2 20:42:16 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:42:16 ---> Running in fff8852338f7 20:42:16 Removing intermediate container fff8852338f7 20:42:16 ---> c1086149a9dc 20:42:16 Step 20/22 : LABEL arch=amd64 20:42:16 ---> Running in 4e517bab7830 20:42:16 Removing intermediate container 4e517bab7830 20:42:16 ---> d7674f9e94b8 20:42:16 Step 21/22 : LABEL git_sha=facc4fb4f23d801c1a99f2e21190939483a17e3c 20:42:16 ---> Running in d92e48beec78 20:42:16 Removing intermediate container d92e48beec78 20:42:16 ---> 5a39fa0f2ac3 20:42:16 Step 22/22 : LABEL version=0.0.0 20:42:16 ---> Running in 4fd40b12d5cf 20:42:16 Removing intermediate container 4fd40b12d5cf 20:42:16 ---> e64285d31190 20:42:16 [Warning] One or more build-args [ARCH] were not consumed 20:42:16 Successfully built e64285d31190 20:42:16 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:17 20:42:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:17 latest: Pulling from edgex-lftools-log-publisher 20:42:17 5eb5b503b376: Pulling fs layer 20:42:17 5c69ac0246d0: Pulling fs layer 20:42:17 ec43610c2a17: Pulling fs layer 20:42:17 3a2ae6a8a46f: Pulling fs layer 20:42:17 33b1e0a273af: Pulling fs layer 20:42:17 5d3b04190fa2: Pulling fs layer 20:42:17 2f39f015ded8: Pulling fs layer 20:42:17 33b1e0a273af: Waiting 20:42:17 3a2ae6a8a46f: Waiting 20:42:17 2f39f015ded8: Waiting 20:42:17 5c69ac0246d0: Verifying Checksum 20:42:17 5c69ac0246d0: Download complete 20:42:17 3a2ae6a8a46f: Download complete 20:42:18 33b1e0a273af: Verifying Checksum 20:42:18 33b1e0a273af: Download complete 20:42:18 ec43610c2a17: Verifying Checksum 20:42:18 ec43610c2a17: Download complete 20:42:18 5d3b04190fa2: Verifying Checksum 20:42:18 5d3b04190fa2: Download complete 20:42:18 5eb5b503b376: Verifying Checksum 20:42:18 5eb5b503b376: Download complete 20:42:18 2f39f015ded8: Download complete 20:42:19 5eb5b503b376: Pull complete 20:42:19 5c69ac0246d0: Pull complete 20:42:19 ec43610c2a17: Pull complete 20:42:19 3a2ae6a8a46f: Pull complete 20:42:20 33b1e0a273af: Pull complete 20:42:20 5d3b04190fa2: Pull complete 20:42:24 2f39f015ded8: Pull complete 20:42:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:42:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:24 prd-ubuntu20.04-docker-8c-8g-1661 does not seem to be running inside a container 20:42:24 $ 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-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@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 20:42:26 $ docker top 68f9bfcc3ecf227d4461b2a2897a9d79a93d50cfdecd58f798658349729cd216 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:27 ---> job-cost.sh 20:42:27 lf-activate-venv: SKIPPING 20:42:27 INFO: No Stack... 20:42:27 INFO: Retrieving Pricing Info for: v3-standard-8 20:42:28 INFO: Archiving Costs [Pipeline] sh 20:42:28 + cat /w/workspace/xfoundry_device-modbus-go_PR-397/archives/cost.csv 20:42:28 + cut -d, -f6 [Pipeline] lock 20:42:28 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-397-2-stack-cost] 20:42:28 Resource [jenkins-edgexfoundry-device-modbus-go-PR-397-2-stack-cost] did not exist. Created. 20:42:28 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-397-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:28 + echo total: 0.2199999988079071 [Pipeline] stash 20:42:28 Stashed 1 file(s) [Pipeline] } 20:42:28 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-397-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:28 $ docker stop --time=1 68f9bfcc3ecf227d4461b2a2897a9d79a93d50cfdecd58f798658349729cd216 20:42:29 $ docker rm -f --volumes 68f9bfcc3ecf227d4461b2a2897a9d79a93d50cfdecd58f798658349729cd216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:44:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1662 in /w/workspace/xfoundry_device-modbus-go_PR-397 [Pipeline] { [Pipeline] ws 20:44:58 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 20:44:58 Selected Git installation does not exist. Using Default 20:44:58 The recommended git tool is: NONE 20:45:04 using credential edgex-jenkins-ssh 20:45:04 Cloning the remote Git repository 20:45:04 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:45:04 > git init /w/workspace/device-modbus-go/2 # timeout=10 20:45:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:45:04 > git --version # timeout=10 20:45:04 > git --version # 'git version 2.25.1' 20:45:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:06 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:45:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:45:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:45:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:45:07 Merging remotes/origin/main commit b747fdb0f46d56fab49edbd998369f5c6173beb1 into PR head commit facc4fb4f23d801c1a99f2e21190939483a17e3c 20:45:08 Merge succeeded, producing facc4fb4f23d801c1a99f2e21190939483a17e3c 20:45:08 Checking out Revision facc4fb4f23d801c1a99f2e21190939483a17e3c (PR-397) 20:45:07 > git config core.sparsecheckout # timeout=10 20:45:07 > git checkout -f facc4fb4f23d801c1a99f2e21190939483a17e3c # timeout=10 20:45:07 > git remote # timeout=10 20:45:07 > git config --get remote.origin.url # timeout=10 20:45:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:07 > git merge b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 20:45:08 > git rev-parse HEAD^{commit} # timeout=10 20:45:08 > git config core.sparsecheckout # timeout=10 20:45:08 > git checkout -f facc4fb4f23d801c1a99f2e21190939483a17e3c # timeout=10 20:45:11 Commit message: "fix: resolve comments made by lenny" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:12 Dload Upload Total Spent Left Speed 20:45:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh 20:45:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:13 + sudo tee /etc/docker/daemon.new 20:45:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:13 { 20:45:13 "registry-mirrors": [ 20:45:13 "https://nexus3.edgexfoundry.org:10001" 20:45:13 ], 20:45:13 "bip": "10.250.0.254/24", 20:45:13 "hosts": [ 20:45:13 "tcp://0.0.0.0:5555", 20:45:13 "unix:///var/run/docker.sock" 20:45:13 ], 20:45:13 "mtu": 1458, 20:45:13 "selinux-enabled": true, 20:45:13 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:13 } [Pipeline] sh 20:45:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:32 provisioning config files... 20:45:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config6225925384908852883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:32 ---> docker-login.sh 20:45:32 nexus3.edgexfoundry.org:10001 20:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:33 Configure a credential helper to remove this warning. See 20:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:33 20:45:33 Login Succeeded 20:45:33 nexus3.edgexfoundry.org:10002 20:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:33 Configure a credential helper to remove this warning. See 20:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:33 20:45:33 Login Succeeded 20:45:33 nexus3.edgexfoundry.org:10003 20:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:34 Configure a credential helper to remove this warning. See 20:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:34 20:45:34 Login Succeeded 20:45:34 nexus3.edgexfoundry.org:10004 20:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:34 Configure a credential helper to remove this warning. See 20:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:34 20:45:34 Login Succeeded 20:45:34 docker.io 20:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:35 Configure a credential helper to remove this warning. See 20:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:35 20:45:35 Login Succeeded 20:45:35 ---> docker-login.sh ends [Pipeline] } 20:45:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:35 ========================================================= 20:45:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:45:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:45:36 Sending build context to Docker daemon 3.327MB 20:45:36 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:45:36 Step 2/10 : FROM ${BASE} AS builder 20:45:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:36 9b18e9b68314: Pulling fs layer 20:45:36 35d82f9e3411: Pulling fs layer 20:45:36 e16973657156: Pulling fs layer 20:45:36 fc693d55d65f: Pulling fs layer 20:45:36 7e9fc2657dce: Pulling fs layer 20:45:36 dda99020689f: Pulling fs layer 20:45:36 db1c61fa0a46: Pulling fs layer 20:45:36 891c053d2c06: Pulling fs layer 20:45:36 fc693d55d65f: Waiting 20:45:36 dda99020689f: Waiting 20:45:36 db1c61fa0a46: Waiting 20:45:36 891c053d2c06: Waiting 20:45:36 7e9fc2657dce: Waiting 20:45:36 e16973657156: Verifying Checksum 20:45:36 e16973657156: Download complete 20:45:36 35d82f9e3411: Verifying Checksum 20:45:36 35d82f9e3411: Download complete 20:45:36 7e9fc2657dce: Verifying Checksum 20:45:36 7e9fc2657dce: Download complete 20:45:36 dda99020689f: Download complete 20:45:36 9b18e9b68314: Verifying Checksum 20:45:36 9b18e9b68314: Download complete 20:45:37 891c053d2c06: Verifying Checksum 20:45:37 891c053d2c06: Download complete 20:45:38 9b18e9b68314: Pull complete 20:45:38 35d82f9e3411: Pull complete 20:45:38 e16973657156: Pull complete 20:45:38 db1c61fa0a46: Verifying Checksum 20:45:38 db1c61fa0a46: Download complete 20:45:39 fc693d55d65f: Verifying Checksum 20:45:39 fc693d55d65f: Download complete 20:45:52 fc693d55d65f: Pull complete 20:45:52 7e9fc2657dce: Pull complete 20:45:52 dda99020689f: Pull complete 20:45:59 db1c61fa0a46: Pull complete 20:46:02 891c053d2c06: Pull complete 20:46:02 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:46:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:46:02 ---> f96f9c87975a 20:46:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:46:02 ---> Running in 1fef0b3067e2 20:46:02 Removing intermediate container 1fef0b3067e2 20:46:02 ---> ce85ffb8091a 20:46:02 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:46:02 ---> Running in 0a48346184f4 20:46:03 Removing intermediate container 0a48346184f4 20:46:03 ---> 72067883c8f6 20:46:03 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:46:03 ---> Running in a74511ff0f93 20:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:46:06 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:46:06 (2/8) Installing libedit (20210910.3.1-r0) 20:46:06 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:46:06 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:46:06 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:46:06 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:46:06 (7/8) Installing openssh-server (9.0_p1-r2) 20:46:06 (8/8) Installing openssh (9.0_p1-r2) 20:46:06 Executing busybox-1.35.0-r17.trigger 20:46:06 OK: 228 MiB in 59 packages 20:46:07 Removing intermediate container a74511ff0f93 20:46:07 ---> f71d830505c3 20:46:07 Step 6/10 : WORKDIR /device-modbus-go 20:46:07 ---> Running in 60bae8420f4e 20:46:07 Removing intermediate container 60bae8420f4e 20:46:07 ---> 2bdf1281965d 20:46:07 Step 7/10 : COPY go.mod vendor* ./ 20:46:08 ---> 915aecc2a0d4 20:46:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:08 ---> Running in 050c440066b9 20:47:04 Removing intermediate container 050c440066b9 20:47:04 ---> e12856690b06 20:47:04 Step 9/10 : COPY . . 20:47:04 ---> a10601eb8652 20:47:04 Step 10/10 : RUN ${MAKE} 20:47:04 ---> Running in 97870c1c6158 20:47:04 noop 20:47:04 Removing intermediate container 97870c1c6158 20:47:04 ---> 5222217faae6 20:47:04 Successfully built 5222217faae6 20:47:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:05 + docker inspect -f . ci-base-image-arm64 20:47:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:05 prd-ubuntu20.04-docker-arm64-4c-16g-1662 does not seem to be running inside a container 20:47:05 $ 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 20:47:07 $ docker top 65a045914f6ab74ae652346497dfd3d3c5aa819ba8eb5b7b96e5241f9f30e74f -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:08 + go version 20:47:08 go version go1.18.7 linux/arm64 [Pipeline] } 20:47:08 $ docker stop --time=1 65a045914f6ab74ae652346497dfd3d3c5aa819ba8eb5b7b96e5241f9f30e74f 20:47:09 $ docker rm -f --volumes 65a045914f6ab74ae652346497dfd3d3c5aa819ba8eb5b7b96e5241f9f30e74f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:10 + docker inspect -f . ci-base-image-arm64 20:47:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:10 prd-ubuntu20.04-docker-arm64-4c-16g-1662 does not seem to be running inside a container 20:47:10 $ 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 20:47:11 $ docker top db9bfbedd616fa745ff19b5b2e043f008dcdde18e85fbe4dc8f3243ffa132b0a -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:12 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 20:47:12 + make test 20:47:12 go test ./... -coverprofile=coverage.out 20:47:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:48:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:48:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 47.7% of statements 20:48:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:48:39 go vet ./... 20:49:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:49:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:49:06 ./bin/test-attribution-txt.sh [Pipeline] echo 20:49:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:49:06 $ docker stop --time=1 db9bfbedd616fa745ff19b5b2e043f008dcdde18e85fbe4dc8f3243ffa132b0a 20:49:08 $ docker rm -f --volumes db9bfbedd616fa745ff19b5b2e043f008dcdde18e85fbe4dc8f3243ffa132b0a [Pipeline] // withDockerContainer [Pipeline] sh 20:49:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:09 Warning: overwriting stash ‘coverage-report’ 20:49:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:10 + ls -al . 20:49:10 total 192 20:49:10 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 20:47 . 20:49:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:45 .. 20:49:10 -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 20:45 .dockerignore 20:49:10 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 20:45 .git 20:49:10 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:45 .github 20:49:10 -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 20:45 .gitignore 20:49:10 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 20:45 .golangci.yml 20:49:10 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 20:45 Attribution.txt 20:49:10 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 20:45 CHANGELOG.md 20:49:10 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 20:45 Dockerfile 20:49:10 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 20:45 GOVERNANCE.md 20:49:10 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 20:45 Jenkinsfile 20:49:10 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 20:45 LICENSE 20:49:10 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 10 20:45 Makefile 20:49:10 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 20:45 OWNERS.md 20:49:10 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 20:45 README.md 20:49:10 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 20:40 VERSION 20:49:10 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:45 bin 20:49:10 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:45 cmd 20:49:10 -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 20:48 coverage.out 20:49:10 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 20:45 go.mod 20:49:10 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 20:45 go.sum 20:49:10 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:45 internal 20:49:10 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:45 simulator 20:49:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:45 snap 20:49:10 -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:10 + 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=facc4fb4f23d801c1a99f2e21190939483a17e3c --label arch=arm64 --label version=0.0.0 . 20:49:10 Sending build context to Docker daemon 3.352MB 20:49:10 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:49:10 Step 2/22 : FROM ${BASE} AS builder 20:49:10 ---> 5222217faae6 20:49:10 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:49:11 ---> Running in 1b21fadef00d 20:49:11 Removing intermediate container 1b21fadef00d 20:49:11 ---> 30688f66381e 20:49:11 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:11 ---> Running in 7d04a545a3d4 20:49:11 Removing intermediate container 7d04a545a3d4 20:49:11 ---> eed6d6a7e026 20:49:11 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:49:11 ---> Running in f30e480a3c35 20:49:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:49:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:49:14 OK: 228 MiB in 59 packages 20:49:14 Removing intermediate container f30e480a3c35 20:49:14 ---> 2277fe5cc0fe 20:49:14 Step 6/22 : WORKDIR /device-modbus-go 20:49:14 ---> Running in 0a8b950abe7a 20:49:15 Removing intermediate container 0a8b950abe7a 20:49:15 ---> a7ddf25aed66 20:49:15 Step 7/22 : COPY go.mod vendor* ./ 20:49:15 ---> 80841fb2ef94 20:49:15 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:15 ---> Running in 93d4b9458970 20:49:18 Removing intermediate container 93d4b9458970 20:49:18 ---> b2118c59be4d 20:49:18 Step 9/22 : COPY . . 20:49:19 ---> 55881b48c6c7 20:49:19 Step 10/22 : RUN ${MAKE} 20:49:19 ---> Running in d325dabe3375 20:49:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:51:58 Removing intermediate container d325dabe3375 20:51:58 ---> 87293700d767 20:51:58 Step 11/22 : FROM alpine:3.14 20:51:58 3.14: Pulling from library/alpine 20:51:58 90cda3b7c325: Pulling fs layer 20:51:58 90cda3b7c325: Verifying Checksum 20:51:58 90cda3b7c325: Download complete 20:51:58 90cda3b7c325: Pull complete 20:51:58 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 20:51:58 Status: Downloaded newer image for alpine:3.14 20:51:58 ---> 275902a1839d 20:51:58 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:51:58 ---> Running in 69b8c59d4367 20:51:58 Removing intermediate container 69b8c59d4367 20:51:58 ---> 53914eb777e7 20:51:58 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:51:58 ---> Running in 7e6727282eeb 20:51:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:51:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:51:58 (1/1) Installing dumb-init (1.2.5-r1) 20:51:58 Executing busybox-1.33.1-r8.trigger 20:51:58 OK: 6 MiB in 15 packages 20:51:58 Removing intermediate container 7e6727282eeb 20:51:58 ---> 5d36f67423da 20:51:58 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:51:58 ---> 719f61e712ab 20:51:58 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:51:58 ---> 3899ead31bb6 20:51:58 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:51:58 ---> c1f63ac1321f 20:51:58 Step 17/22 : EXPOSE 59901 20:51:58 ---> Running in a77ea668cf31 20:51:58 Removing intermediate container a77ea668cf31 20:51:58 ---> 9b862b077d50 20:51:58 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:51:58 ---> Running in ef610567b2d0 20:51:58 Removing intermediate container ef610567b2d0 20:51:58 ---> 40b1d1a67e48 20:51:58 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:51:58 ---> Running in b42fd3e6e1f4 20:51:58 Removing intermediate container b42fd3e6e1f4 20:51:58 ---> 4f3b6edbcd01 20:51:58 Step 20/22 : LABEL arch=arm64 20:51:58 ---> Running in 75d2469df382 20:51:58 Removing intermediate container 75d2469df382 20:51:58 ---> d19585056f8c 20:51:58 Step 21/22 : LABEL git_sha=facc4fb4f23d801c1a99f2e21190939483a17e3c 20:51:58 ---> Running in 56370d55c659 20:51:58 Removing intermediate container 56370d55c659 20:51:58 ---> 792c2d9fb23d 20:51:58 Step 22/22 : LABEL version=0.0.0 20:51:58 ---> Running in 8dab25b7b244 20:51:58 Removing intermediate container 8dab25b7b244 20:51:58 ---> d4ba63db999c 20:51:58 [Warning] One or more build-args [ARCH] were not consumed 20:51:58 Successfully built d4ba63db999c 20:51:58 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 20:51:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:59 20:51:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:59 arm64: Pulling from edgex-lftools-log-publisher 20:51:59 8998bd30e6a1: Pulling fs layer 20:51:59 04944245beec: Pulling fs layer 20:51:59 699f458cf7ca: Pulling fs layer 20:51:59 765212b225bb: Pulling fs layer 20:51:59 f23df028b6ca: Pulling fs layer 20:51:59 d65c8cfc05b1: Pulling fs layer 20:51:59 2437ff75d9bd: Pulling fs layer 20:51:59 765212b225bb: Waiting 20:51:59 f23df028b6ca: Waiting 20:51:59 d65c8cfc05b1: Waiting 20:51:59 2437ff75d9bd: Waiting 20:51:59 04944245beec: Verifying Checksum 20:51:59 04944245beec: Download complete 20:51:59 765212b225bb: Verifying Checksum 20:51:59 765212b225bb: Download complete 20:51:59 f23df028b6ca: Verifying Checksum 20:51:59 f23df028b6ca: Download complete 20:52:00 d65c8cfc05b1: Verifying Checksum 20:52:00 d65c8cfc05b1: Download complete 20:52:00 699f458cf7ca: Verifying Checksum 20:52:00 699f458cf7ca: Download complete 20:52:00 8998bd30e6a1: Verifying Checksum 20:52:00 8998bd30e6a1: Download complete 20:52:03 2437ff75d9bd: Verifying Checksum 20:52:03 2437ff75d9bd: Download complete 20:52:04 8998bd30e6a1: Pull complete 20:52:05 04944245beec: Pull complete 20:52:06 699f458cf7ca: Pull complete 20:52:08 765212b225bb: Pull complete 20:52:08 f23df028b6ca: Pull complete 20:52:08 d65c8cfc05b1: Pull complete 20:52:23 2437ff75d9bd: Pull complete 20:52:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:52:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:24 prd-ubuntu20.04-docker-arm64-4c-16g-1662 does not seem to be running inside a container 20:52:24 $ 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 20:52:26 $ docker top ca21be27f3b4cb9d6719d094b4c99590451fb7f849aa9facb22f851ca0dea22d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:27 ---> job-cost.sh 20:52:27 lf-activate-venv: SKIPPING 20:52:27 INFO: No Stack... 20:52:28 INFO: Retrieving Pricing Info for: v3-standard-4 20:52:29 INFO: Archiving Costs [Pipeline] sh 20:52:29 + cut -d, -f6 20:52:29 + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock 20:52:30 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-397-2-stack-cost] 20:52:30 Resource [jenkins-edgexfoundry-device-modbus-go-PR-397-2-stack-cost] did not exist. Created. 20:52:30 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-397-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:30 /w/workspace/device-modbus-go/2@tmp/durable-36b4ff3d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:52:31 + echo total: 0.10999999940395355 [Pipeline] stash 20:52:31 Warning: overwriting stash ‘stack-cost’ 20:52:31 Stashed 1 file(s) [Pipeline] } 20:52:31 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-397-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:31 $ docker stop --time=1 ca21be27f3b4cb9d6719d094b4c99590451fb7f849aa9facb22f851ca0dea22d 20:52:33 $ docker rm -f --volumes ca21be27f3b4cb9d6719d094b4c99590451fb7f849aa9facb22f851ca0dea22d [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 20:52:34 provisioning config files... 20:52:34 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config16628285807184589065tmp [Pipeline] { [Pipeline] sh 20:52:34 + set +x 20:52:34 + curl -s https://codecov.io/bash 20:52:34 + bash -s -- 20:52:34 20:52:34 _____ _ 20:52:34 / ____| | | 20:52:34 | | ___ __| | ___ ___ _____ __ 20:52:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:52:34 | |___| (_) | (_| | __/ (_| (_) \ V / 20:52:34 \_____\___/ \__,_|\___|\___\___/ \_/ 20:52:34 Bash-1.0.6 20:52:34 20:52:34 20:52:34 ==> git version 2.25.1 found 20:52:34 ==> 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 20:52:34 Release-Date: 2020-01-08 20:52:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:52:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:52:34 ==> Jenkins CI detected. 20:52:34 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-397 20:52:34 project root: . 20:52:34 --> token set from env 20:52:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:52:34 ==> Running gcov in . (disable via -X gcov) 20:52:34 ==> Python coveragepy not found 20:52:34 ==> Searching for coverage reports in: 20:52:34 + . 20:52:34 -> Found 1 reports 20:52:34 ==> Detecting git/mercurial file structure 20:52:34 ==> Reading reports 20:52:34 + ./coverage.out bytes=23241 20:52:34 ==> Appending adjustments 20:52:34 https://docs.codecov.io/docs/fixing-reports 20:52:34 + Found adjustments 20:52:34 ==> Gzipping contents 20:52:34 4.0K /tmp/codecov.pxeBDD.gz 20:52:34 ==> Uploading reports 20:52:34 url: https://codecov.io 20:52:34 query: branch=PR-397&commit=facc4fb4f23d801c1a99f2e21190939483a17e3c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-397%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=397&job=&cmd_args= 20:52:34 -> Pinging Codecov 20:52:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-397&commit=facc4fb4f23d801c1a99f2e21190939483a17e3c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-397%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=397&job=&cmd_args= 20:52:34 -> Uploading to 20:52:34 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/55DBCA73C666E3227836607328DD7E49/facc4fb4f23d801c1a99f2e21190939483a17e3c/e2d404fa-19bd-4616-8195-6714f82bedf2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T205234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0c1a8d3ab2ee8ba71a51b5ff642f1bd9205e5ef6727a6141b4ca5c2a447e2a4 20:52:34 % Total % Received % Xferd Average Speed Time Time Time Current 20:52:34 Dload Upload Total Spent Left Speed 20:52:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 17308 --:--:-- --:--:-- --:--:-- 17384 20:52:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/facc4fb4f23d801c1a99f2e21190939483a17e3c [Pipeline] } 20:52:35 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 20:52:35 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-397/archives ] 20:52:35 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-397/archives 20:52:35 total 16 20:52:35 drwxr-xr-x 3 root root 4096 Jan 10 20:42 . 20:52:35 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 20:42 .. 20:52:35 drwxr-xr-x 2 root root 4096 Jan 10 20:42 cost 20:52:35 -rw-r--r-- 1 root root 88 Jan 10 20:42 cost.csv 20:52:35 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-397/archives 20:52:35 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-397/archives 20:52:35 total 16 20:52:35 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 20:42 . 20:52:35 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 20:42 .. 20:52:35 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 20:42 cost 20:52:35 -rw-r--r-- 1 jenkins jenkins 88 Jan 10 20:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:52:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:52:36 ---> package-listing.sh 20:52:36 ++ facter osfamily 20:52:36 ++ tr '[:upper:]' '[:lower:]' 20:52:37 + OS_FAMILY=debian 20:52:37 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-397 20:52:37 + START_PACKAGES=/tmp/packages_start.txt 20:52:37 + END_PACKAGES=/tmp/packages_end.txt 20:52:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:52:37 + PACKAGES=/tmp/packages_start.txt 20:52:37 + '[' /w/workspace/xfoundry_device-modbus-go_PR-397 ']' 20:52:37 + PACKAGES=/tmp/packages_end.txt 20:52:37 + case "${OS_FAMILY}" in 20:52:37 + dpkg -l 20:52:37 + grep '^ii' 20:52:37 + '[' -f /tmp/packages_start.txt ']' 20:52:37 + '[' -f /tmp/packages_end.txt ']' 20:52:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:52:37 + '[' /w/workspace/xfoundry_device-modbus-go_PR-397 ']' 20:52:37 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-397/archives/ 20:52:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-397/archives/ [Pipeline] echo 20:52:37 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-397/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:52:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:38 prd-ubuntu20.04-docker-8c-8g-1661 does not seem to be running inside a container 20:52:38 $ 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-397/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-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@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 20:52:38 $ docker top 9e8ca739dc8a10f7ce1b76bc0e21366bd5380ecf02caa5af9df0db929db69ae9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:38 + touch /tmp/pre-build-complete [Pipeline] sh 20:52:38 + mkdir -p /var/log/sysstat [Pipeline] sh 20:52:39 + ls /var/log/sa-host 20:52:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:39 provisioning config files... 20:52:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config3002723250221068116tmp [Pipeline] { [Pipeline] echo 20:52:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:52:39 ---> create-netrc.sh [Pipeline] } 20:52:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:52:39 ---> python-tools-install.sh [Pipeline] echo 20:52:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:52:40 ---> sudo-logs.sh 20:52:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:52:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:52:40 ---> job-cost.sh 20:52:40 lf-activate-venv: SKIPPING 20:52:40 DEBUG: total: 0.2199999988079071 20:52:40 INFO: Retrieving Stack Cost... 20:52:40 INFO: Retrieving Pricing Info for: v3-standard-8 20:52:41 INFO: Archiving Costs [Pipeline] echo 20:52:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:52:41 ---> logs-deploy.sh 20:52:41 lf-activate-venv: SKIPPING 20:52:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-397/2 20:52:41 INFO: archiving workspace using pattern(s): 20:52:42 Archives upload complete. 20:52:42 INFO: archiving logs to Nexus