Pull request #396 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d94ab648b72690ff1964ac542fcdb5689b84bb11+def1cc71e63d04479355a5672fe2144ca0f9c836 (5d41fa1b90b01030b1157c1a1ece258c8a8a6a6b) 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-ssh18176283768631185313.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-ssh111515776285117689.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-396/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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8209517467597238127.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-ssh17933182166740462455.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-396/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-396/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8066164249587730441.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 ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1656’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1670’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1674’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-1659’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-1672’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1678 in /w/workspace/xfoundry_device-modbus-go_PR-396 [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-396 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit def1cc71e63d04479355a5672fe2144ca0f9c836 into PR head commit d94ab648b72690ff1964ac542fcdb5689b84bb11 Merge succeeded, producing e7de9f9a07ae1ff795552b65adc212a8c300b16e Checking out Revision e7de9f9a07ae1ff795552b65adc212a8c300b16e (PR-396) > 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/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d94ab648b72690ff1964ac542fcdb5689b84bb11 # 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 def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e7de9f9a07ae1ff795552b65adc212a8c300b16e # timeout=10 Commit message: "Merge commit 'def1cc71e63d04479355a5672fe2144ca0f9c836' into HEAD" > git rev-list --no-walk d94ab648b72690ff1964ac542fcdb5689b84bb11 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:06:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:06:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:06:35 ========================================================= 21:06:35 EdgeX Global Pipelines Version Info 21:06:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:06:36 ------------------- 21:06:36 stable info: 21:06:36 ------------------- 21:06:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:06:36 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:06:36 Message: update stable to v1.0.244 21:06:36 ------------------- 21:06:36 experimental info: 21:06:36 ------------------- 21:06:36 Commited By: **** collab-it+edgex@linuxfoundation.org 21:06:36 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:06:36 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:06:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:06:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:06:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:06:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:06:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:06:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:06:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:06:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:06:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e7de9f9a07ae1ff795552b65adc212a8c300b16e [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e7de9f9 [Pipeline] echo 21:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:37 provisioning config files... 21:06:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/config11842015207349261686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:37 ---> docker-login.sh 21:06:37 nexus3.edgexfoundry.org:10001 21:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:37 Configure a credential helper to remove this warning. See 21:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:37 21:06:37 Login Succeeded 21:06:37 nexus3.edgexfoundry.org:10002 21:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:37 Configure a credential helper to remove this warning. See 21:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:37 21:06:37 Login Succeeded 21:06:37 nexus3.edgexfoundry.org:10003 21:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:38 Configure a credential helper to remove this warning. See 21:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:38 21:06:38 Login Succeeded 21:06:38 nexus3.edgexfoundry.org:10004 21:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:38 Configure a credential helper to remove this warning. See 21:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:38 21:06:38 Login Succeeded 21:06:38 docker.io 21:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:38 Configure a credential helper to remove this warning. See 21:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:38 21:06:38 Login Succeeded 21:06:38 ---> docker-login.sh ends [Pipeline] } 21:06:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:06:38 + git rev-list -1 --merges e7de9f9a07ae1ff795552b65adc212a8c300b16e~1..e7de9f9a07ae1ff795552b65adc212a8c300b16e [Pipeline] echo 21:06:38 -----------> git rev-list -1 --merges e7de9f9a07ae1ff795552b65adc212a8c300b16e~1..e7de9f9a07ae1ff795552b65adc212a8c300b16e e7de9f9a07ae1ff795552b65adc212a8c300b16e 21:06:38 e7de9f9a07ae1ff795552b65adc212a8c300b16e [false] [Pipeline] sh 21:06:39 + git log --format=format:%s -1 e7de9f9a07ae1ff795552b65adc212a8c300b16e [Pipeline] echo 21:06:39 ========================================================= 21:06:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:06:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:39 + git log --format=format:%s -1 e7de9f9a07ae1ff795552b65adc212a8c300b16e [Pipeline] echo 21:06:39 [semverPrep] GIT_COMMIT: e7de9f9a07ae1ff795552b65adc212a8c300b16e, Commit Message: Merge commit 'def1cc71e63d04479355a5672fe2144ca0f9c836' into HEAD [Pipeline] echo 21:06:39 [semverPrep] This is not a build commit. [Pipeline] sh 21:06:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:39 + grep -v github /etc/ssh/ssh_known_hosts 21:06:39 + [ -e /tmp/ssh_known_hosts ] 21:06:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:06:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:06:39 + sudo tee -a /etc/ssh/ssh_known_hosts 21:06:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:40 21:06:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:40 0.1.4: Pulling from edgex-devops/py-git-semver 21:06:40 b85a868b505f: Pulling fs layer 21:06:40 e2be974225ed: Pulling fs layer 21:06:40 339a4e72a1f5: Pulling fs layer 21:06:40 988bab9f4d93: Pulling fs layer 21:06:40 1469e6f7b9e6: Pulling fs layer 21:06:40 eaf3925da568: Pulling fs layer 21:06:40 bab4dde63d76: Pulling fs layer 21:06:40 bde34c3a00c8: Pulling fs layer 21:06:40 b352a97aabf1: Pulling fs layer 21:06:40 4872d77fe225: Pulling fs layer 21:06:40 5851b861e8e6: Pulling fs layer 21:06:40 4872d77fe225: Waiting 21:06:40 bab4dde63d76: Waiting 21:06:40 5851b861e8e6: Waiting 21:06:40 bde34c3a00c8: Waiting 21:06:40 b352a97aabf1: Waiting 21:06:40 eaf3925da568: Waiting 21:06:40 e2be974225ed: Verifying Checksum 21:06:40 e2be974225ed: Download complete 21:06:40 988bab9f4d93: Verifying Checksum 21:06:40 988bab9f4d93: Download complete 21:06:40 339a4e72a1f5: Verifying Checksum 21:06:40 339a4e72a1f5: Download complete 21:06:40 1469e6f7b9e6: Verifying Checksum 21:06:40 1469e6f7b9e6: Download complete 21:06:40 eaf3925da568: Download complete 21:06:40 bde34c3a00c8: Verifying Checksum 21:06:40 bde34c3a00c8: Download complete 21:06:40 b352a97aabf1: Verifying Checksum 21:06:40 b352a97aabf1: Download complete 21:06:40 4872d77fe225: Verifying Checksum 21:06:40 4872d77fe225: Download complete 21:06:40 5851b861e8e6: Verifying Checksum 21:06:40 5851b861e8e6: Download complete 21:06:40 b85a868b505f: Verifying Checksum 21:06:40 b85a868b505f: Download complete 21:06:41 bab4dde63d76: Verifying Checksum 21:06:41 bab4dde63d76: Download complete 21:06:42 b85a868b505f: Pull complete 21:06:42 e2be974225ed: Pull complete 21:06:42 339a4e72a1f5: Pull complete 21:06:42 988bab9f4d93: Pull complete 21:06:42 1469e6f7b9e6: Pull complete 21:06:43 eaf3925da568: Pull complete 21:06:44 bab4dde63d76: Pull complete 21:06:44 bde34c3a00c8: Pull complete 21:06:44 b352a97aabf1: Pull complete 21:06:44 4872d77fe225: Pull complete 21:06:45 5851b861e8e6: Pull complete 21:06:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:45 prd-ubuntu20.04-docker-8c-8g-1678 does not seem to be running inside a container 21:06:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-396 -v /w/workspace/xfoundry_device-modbus-go_PR-396:/w/workspace/xfoundry_device-modbus-go_PR-396:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-396@tmp:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:06:46 $ docker top 7ad5bf38302525b3bbeb873442fd8dd51d695f964742c50497300098db85a10e -eo pid,comm 21:06:46 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). 21:06:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:46 [ssh-agent] Looking for ssh-agent implementation... 21:06:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:46 $ docker exec 7ad5bf38302525b3bbeb873442fd8dd51d695f964742c50497300098db85a10e ssh-agent 21:06:47 SSH_AUTH_SOCK=/tmp/ssh-fvGO0dEb0Lzu/agent.32 21:06:47 SSH_AGENT_PID=39 21:06:47 Running ssh-add (command line suppressed) 21:06:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-396@tmp/private_key_4697232408874555298.key (/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/private_key_4697232408874555298.key) 21:06:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:47 + git tag --points-at HEAD [Pipeline] } 21:06:47 $ docker exec --env ******** --env ******** 7ad5bf38302525b3bbeb873442fd8dd51d695f964742c50497300098db85a10e ssh-agent -k 21:06:47 unset SSH_AUTH_SOCK; 21:06:47 unset SSH_AGENT_PID; 21:06:47 echo Agent pid 39 killed; 21:06:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:47 [ssh-agent] Looking for ssh-agent implementation... 21:06:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:47 $ docker exec 7ad5bf38302525b3bbeb873442fd8dd51d695f964742c50497300098db85a10e ssh-agent 21:06:47 SSH_AUTH_SOCK=/tmp/ssh-Z5tDG8naFPRn/agent.71 21:06:47 SSH_AGENT_PID=77 21:06:47 Running ssh-add (command line suppressed) 21:06:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-396@tmp/private_key_6022973637911830034.key (/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/private_key_6022973637911830034.key) 21:06:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:48 + git semver init 21:06:48 2023-01-10 21:06:48,467 [run_init] DEBUG init version:0.0.0 force:False 21:06:48 2023-01-10 21:06:48,469 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-396/.semver 21:06:48 2023-01-10 21:06:48,470 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-396/.semver 21:06:48 2023-01-10 21:06:48,470 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-396/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-396, universal_newlines=False, shell=None, istream=None) 21:06:49 2023-01-10 21:06:49,419 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-396/.git/info/exclude 21:06:49 2023-01-10 21:06:49,420 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-396/.semver/PR-396 with force:False 21:06:49 2023-01-10 21:06:49,420 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-396/.semver/PR-396 21:06:49 2023-01-10 21:06:49,425 [execute] INFO git cat-file --batch-check 21:06:49 2023-01-10 21:06:49,425 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-396/.semver, universal_newlines=False, shell=None, istream=) 21:06:49 2023-01-10 21:06:49,432 [execute] INFO git cat-file --batch 21:06:49 2023-01-10 21:06:49,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-396/.semver, universal_newlines=False, shell=None, istream=) 21:06:49 2023-01-10 21:06:49,437 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-396/.semver/PR-396 21:06:49 0.0.0 [Pipeline] } 21:06:49 $ docker exec --env ******** --env ******** 7ad5bf38302525b3bbeb873442fd8dd51d695f964742c50497300098db85a10e ssh-agent -k 21:06:49 unset SSH_AUTH_SOCK; 21:06:49 unset SSH_AGENT_PID; 21:06:49 echo Agent pid 77 killed; 21:06:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:49 + git semver [Pipeline] } 21:06:50 $ docker stop --time=1 7ad5bf38302525b3bbeb873442fd8dd51d695f964742c50497300098db85a10e 21:06:51 $ docker rm -f --volumes 7ad5bf38302525b3bbeb873442fd8dd51d695f964742c50497300098db85a10e [Pipeline] // withDockerContainer [Pipeline] sh 21:06:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:06:52 Stashed 1 file(s) [Pipeline] echo 21:06:52 [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 21:06:52 provisioning config files... 21:06:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/config6811657189578707179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:52 ---> docker-login.sh 21:06:52 nexus3.edgexfoundry.org:10001 21:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:52 Configure a credential helper to remove this warning. See 21:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:52 21:06:52 Login Succeeded 21:06:52 nexus3.edgexfoundry.org:10002 21:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:52 Configure a credential helper to remove this warning. See 21:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:52 21:06:52 Login Succeeded 21:06:52 nexus3.edgexfoundry.org:10003 21:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:52 Configure a credential helper to remove this warning. See 21:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:52 21:06:52 Login Succeeded 21:06:52 nexus3.edgexfoundry.org:10004 21:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:52 Configure a credential helper to remove this warning. See 21:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:52 21:06:52 Login Succeeded 21:06:52 docker.io 21:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:53 Configure a credential helper to remove this warning. See 21:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:53 21:06:53 Login Succeeded 21:06:53 ---> docker-login.sh ends [Pipeline] } 21:06:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:53 ========================================================= 21:06:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:06:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:53 + 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 . 21:06:53 Sending build context to Docker daemon 6.363MB 21:06:53 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:06:53 Step 2/10 : FROM ${BASE} AS builder 21:06:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:06:53 213ec9aee27d: Pulling fs layer 21:06:53 4583459ba037: Pulling fs layer 21:06:53 93c1e223e6f2: Pulling fs layer 21:06:53 53926ce57604: Pulling fs layer 21:06:53 21b2b0c7a3f4: Pulling fs layer 21:06:53 22ff95d597cd: Pulling fs layer 21:06:53 12d6caf4c0d1: Pulling fs layer 21:06:53 96b7cbca73a9: Pulling fs layer 21:06:53 a7acece74701: Pulling fs layer 21:06:53 22ff95d597cd: Waiting 21:06:53 96b7cbca73a9: Waiting 21:06:53 12d6caf4c0d1: Waiting 21:06:53 53926ce57604: Waiting 21:06:53 21b2b0c7a3f4: Waiting 21:06:53 93c1e223e6f2: Verifying Checksum 21:06:53 93c1e223e6f2: Download complete 21:06:53 4583459ba037: Download complete 21:06:53 21b2b0c7a3f4: Verifying Checksum 21:06:53 21b2b0c7a3f4: Download complete 21:06:53 22ff95d597cd: Download complete 21:06:53 213ec9aee27d: Verifying Checksum 21:06:53 213ec9aee27d: Download complete 21:06:53 12d6caf4c0d1: Download complete 21:06:53 213ec9aee27d: Pull complete 21:06:53 4583459ba037: Pull complete 21:06:53 93c1e223e6f2: Pull complete 21:06:54 a7acece74701: Verifying Checksum 21:06:54 a7acece74701: Download complete 21:06:54 96b7cbca73a9: Verifying Checksum 21:06:54 96b7cbca73a9: Download complete 21:06:54 53926ce57604: Verifying Checksum 21:06:54 53926ce57604: Download complete 21:06:59 53926ce57604: Pull complete 21:06:59 21b2b0c7a3f4: Pull complete 21:06:59 22ff95d597cd: Pull complete 21:06:59 12d6caf4c0d1: Pull complete 21:07:00 96b7cbca73a9: Pull complete 21:07:01 a7acece74701: Pull complete 21:07:01 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:07:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:07:01 ---> db6d94c90886 21:07:01 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:07:02 ---> Running in 03ce46e1cee2 21:07:03 Removing intermediate container 03ce46e1cee2 21:07:03 ---> 92e7292b3326 21:07:03 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:03 ---> Running in adcbaa1116ce 21:07:03 Removing intermediate container adcbaa1116ce 21:07:03 ---> 0ffcb70e7ef5 21:07:03 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:07:03 ---> Running in 02e912f1ee11 21:07:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:07:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:07:03 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:07:03 (2/8) Installing libedit (20210910.3.1-r0) 21:07:03 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:07:04 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:07:04 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:07:04 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:07:04 (7/8) Installing openssh-server (9.0_p1-r2) 21:07:04 (8/8) Installing openssh (9.0_p1-r2) 21:07:04 Executing busybox-1.35.0-r17.trigger 21:07:04 OK: 217 MiB in 59 packages 21:07:04 Removing intermediate container 02e912f1ee11 21:07:04 ---> 3e825b888e84 21:07:04 Step 6/10 : WORKDIR /device-modbus-go 21:07:04 ---> Running in c7ce680e6437 21:07:04 Removing intermediate container c7ce680e6437 21:07:04 ---> 8aa172251e9e 21:07:04 Step 7/10 : COPY go.mod vendor* ./ 21:07:04 ---> cac9c6262e26 21:07:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:04 ---> Running in f6b524bad2eb 21:07:07 Still waiting to schedule task 21:07:07 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:07:22 Removing intermediate container f6b524bad2eb 21:07:22 ---> f0070cc80ae3 21:07:22 Step 9/10 : COPY . . 21:07:22 ---> e0bd457b0d81 21:07:22 Step 10/10 : RUN ${MAKE} 21:07:22 ---> Running in 2c7c3f18db26 21:07:22 noop 21:07:23 Removing intermediate container 2c7c3f18db26 21:07:23 ---> 9392d113eaec 21:07:23 Successfully built 9392d113eaec 21:07:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:23 + docker inspect -f . ci-base-image-x86_64 21:07:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:23 prd-ubuntu20.04-docker-8c-8g-1678 does not seem to be running inside a container 21:07:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-396 -v /w/workspace/xfoundry_device-modbus-go_PR-396:/w/workspace/xfoundry_device-modbus-go_PR-396:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-396@tmp:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:07:23 $ docker top 078b4d78293c19bbd3f5d8c5343f74610f4db72b01ca6ccaaf87686418dac435 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:24 + go version 21:07:24 go version go1.18.7 linux/amd64 [Pipeline] } 21:07:24 $ docker stop --time=1 078b4d78293c19bbd3f5d8c5343f74610f4db72b01ca6ccaaf87686418dac435 21:07:25 $ docker rm -f --volumes 078b4d78293c19bbd3f5d8c5343f74610f4db72b01ca6ccaaf87686418dac435 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:25 + docker inspect -f . ci-base-image-x86_64 21:07:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:26 prd-ubuntu20.04-docker-8c-8g-1678 does not seem to be running inside a container 21:07: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-396 -v /w/workspace/xfoundry_device-modbus-go_PR-396:/w/workspace/xfoundry_device-modbus-go_PR-396:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-396@tmp:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:07:26 $ docker top e7dafb11ebe5c68a12ff86a3149309c97f0aeee89d0aabd18c6d18770b472a10 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:26 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-396 [Pipeline] fileExists [Pipeline] sh 21:07:27 + make test 21:07:27 go test ./... -coverprofile=coverage.out 21:07:27 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:07:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:07:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.027s coverage: 47.7% of statements 21:07: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." 21:07:43 go vet ./... 21:07:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:07:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:07:48 ./bin/test-attribution-txt.sh [Pipeline] echo 21:07:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:07:48 $ docker stop --time=1 e7dafb11ebe5c68a12ff86a3149309c97f0aeee89d0aabd18c6d18770b472a10 21:07:49 $ docker rm -f --volumes e7dafb11ebe5c68a12ff86a3149309c97f0aeee89d0aabd18c6d18770b472a10 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:07:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:07:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:07:50 + ls -al . 21:07:50 total 196 21:07:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:07 . 21:07:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:06 .. 21:07:50 -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 21:06 .dockerignore 21:07:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:07 .git 21:07:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:06 .github 21:07:50 -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 21:06 .gitignore 21:07:50 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:06 .golangci.yml 21:07:50 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:06 .semver 21:07:50 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 21:06 Attribution.txt 21:07:50 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 21:06 CHANGELOG.md 21:07:50 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 21:06 Dockerfile 21:07:50 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:06 GOVERNANCE.md 21:07:50 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 21:06 Jenkinsfile 21:07:50 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:06 LICENSE 21:07:50 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 10 21:06 Makefile 21:07:50 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 21:06 OWNERS.md 21:07:50 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 21:06 README.md 21:07:50 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:06 VERSION 21:07:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:06 bin 21:07:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:06 cmd 21:07:50 -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 21:07 coverage.out 21:07:50 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 21:06 go.mod 21:07:50 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 21:06 go.sum 21:07:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:06 internal 21:07:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:06 simulator 21:07:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:06 snap 21:07:50 -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:51 + 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=e7de9f9a07ae1ff795552b65adc212a8c300b16e --label arch=amd64 --label version=0.0.0 . 21:07:51 Sending build context to Docker daemon 6.387MB 21:07:51 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 21:07:51 Step 2/22 : FROM ${BASE} AS builder 21:07:51 ---> 9392d113eaec 21:07:51 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:07:51 ---> Running in 85a79a02db23 21:07:51 Removing intermediate container 85a79a02db23 21:07:51 ---> 5822147bd023 21:07:51 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:51 ---> Running in 394f2d5ecb2d 21:07:51 Removing intermediate container 394f2d5ecb2d 21:07:51 ---> a89c1eaec5cc 21:07:51 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:07:51 ---> Running in 836ed9ea930c 21:07:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:07:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:07:52 OK: 217 MiB in 59 packages 21:07:52 Removing intermediate container 836ed9ea930c 21:07:52 ---> 66b222d0320e 21:07:52 Step 6/22 : WORKDIR /device-modbus-go 21:07:52 ---> Running in 58e974cfe5eb 21:07:52 Removing intermediate container 58e974cfe5eb 21:07:52 ---> ed39a9c19b5d 21:07:52 Step 7/22 : COPY go.mod vendor* ./ 21:07:52 ---> 124ea6d4acc1 21:07:52 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:52 ---> Running in e271913e9799 21:07:53 Removing intermediate container e271913e9799 21:07:53 ---> e8c4f20e31a4 21:07:53 Step 9/22 : COPY . . 21:07:53 ---> 9287849f9e65 21:07:53 Step 10/22 : RUN ${MAKE} 21:07:53 ---> Running in bbecadcd8fde 21:07:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:08:15 Removing intermediate container bbecadcd8fde 21:08:15 ---> e6567306e572 21:08:15 Step 11/22 : FROM alpine:3.14 21:08:15 3.14: Pulling from library/alpine 21:08:15 c7ed990a2339: Pulling fs layer 21:08:15 c7ed990a2339: Verifying Checksum 21:08:15 c7ed990a2339: Download complete 21:08:15 c7ed990a2339: Pull complete 21:08:15 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 21:08:15 Status: Downloaded newer image for alpine:3.14 21:08:15 ---> dd53f409bf0b 21:08:15 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:08:15 ---> Running in 777d5ae2a35d 21:08:15 Removing intermediate container 777d5ae2a35d 21:08:15 ---> 804820a8f77e 21:08:15 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:08:15 ---> Running in df647e4073ee 21:08:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:08:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:08:15 (1/1) Installing dumb-init (1.2.5-r1) 21:08:15 Executing busybox-1.33.1-r8.trigger 21:08:15 OK: 6 MiB in 15 packages 21:08:15 Removing intermediate container df647e4073ee 21:08:15 ---> 0e39053ce69f 21:08:15 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:08:15 ---> 903b0463b4aa 21:08:15 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:08:15 ---> a51d62d34aa9 21:08:15 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:08:15 ---> 2ace7c18aa59 21:08:15 Step 17/22 : EXPOSE 59901 21:08:15 ---> Running in 2cf9ffcecdff 21:08:15 Removing intermediate container 2cf9ffcecdff 21:08:15 ---> 5978cb5cf562 21:08:15 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:08:15 ---> Running in 9e4eeda45e3b 21:08:15 Removing intermediate container 9e4eeda45e3b 21:08:15 ---> 6432282d46e8 21:08:15 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:08:15 ---> Running in 4755d00ce2ec 21:08:15 Removing intermediate container 4755d00ce2ec 21:08:15 ---> 759507520bfa 21:08:15 Step 20/22 : LABEL arch=amd64 21:08:15 ---> Running in 964bcc9a891c 21:08:15 Removing intermediate container 964bcc9a891c 21:08:15 ---> 216c52330539 21:08:15 Step 21/22 : LABEL git_sha=e7de9f9a07ae1ff795552b65adc212a8c300b16e 21:08:15 ---> Running in a0c480c624b3 21:08:15 Removing intermediate container a0c480c624b3 21:08:15 ---> d55a33f75e3e 21:08:15 Step 22/22 : LABEL version=0.0.0 21:08:15 ---> Running in c3c3b52360e3 21:08:15 Removing intermediate container c3c3b52360e3 21:08:15 ---> 0d0609a153bc 21:08:15 [Warning] One or more build-args [ARCH] were not consumed 21:08:15 Successfully built 0d0609a153bc 21:08:15 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 21:08:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:16 21:08:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:16 latest: Pulling from edgex-lftools-log-publisher 21:08:16 5eb5b503b376: Pulling fs layer 21:08:16 5c69ac0246d0: Pulling fs layer 21:08:16 ec43610c2a17: Pulling fs layer 21:08:16 3a2ae6a8a46f: Pulling fs layer 21:08:16 33b1e0a273af: Pulling fs layer 21:08:16 5d3b04190fa2: Pulling fs layer 21:08:16 2f39f015ded8: Pulling fs layer 21:08:16 3a2ae6a8a46f: Waiting 21:08:16 5d3b04190fa2: Waiting 21:08:16 2f39f015ded8: Waiting 21:08:16 33b1e0a273af: Waiting 21:08:16 5c69ac0246d0: Download complete 21:08:16 3a2ae6a8a46f: Verifying Checksum 21:08:16 3a2ae6a8a46f: Download complete 21:08:16 33b1e0a273af: Download complete 21:08:16 5d3b04190fa2: Verifying Checksum 21:08:16 5d3b04190fa2: Download complete 21:08:16 ec43610c2a17: Verifying Checksum 21:08:16 ec43610c2a17: Download complete 21:08:16 5eb5b503b376: Verifying Checksum 21:08:16 5eb5b503b376: Download complete 21:08:17 2f39f015ded8: Download complete 21:08:17 5eb5b503b376: Pull complete 21:08:18 5c69ac0246d0: Pull complete 21:08:18 ec43610c2a17: Pull complete 21:08:18 3a2ae6a8a46f: Pull complete 21:08:18 33b1e0a273af: Pull complete 21:08:18 5d3b04190fa2: Pull complete 21:08:23 2f39f015ded8: Pull complete 21:08:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:08:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:23 prd-ubuntu20.04-docker-8c-8g-1678 does not seem to be running inside a container 21:08:23 $ 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-396 -v /w/workspace/xfoundry_device-modbus-go_PR-396:/w/workspace/xfoundry_device-modbus-go_PR-396:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-396@tmp:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:08:24 $ docker top 4c7ccf27a61f79e734ae96fbd3f78bd7692fdea4befd81109b63b57e292300b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:24 ---> job-cost.sh 21:08:24 lf-activate-venv: SKIPPING 21:08:24 INFO: No Stack... 21:08:25 INFO: Retrieving Pricing Info for: v3-standard-8 21:08:25 INFO: Archiving Costs [Pipeline] sh 21:08:25 + cat /w/workspace/xfoundry_device-modbus-go_PR-396/archives/cost.csv 21:08:25 + cut -d, -f6 [Pipeline] lock 21:08:25 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-396-2-stack-cost] 21:08:25 Resource [jenkins-edgexfoundry-device-modbus-go-PR-396-2-stack-cost] did not exist. Created. 21:08:25 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-396-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:26 + echo total: 0.2199999988079071 [Pipeline] stash 21:08:26 Stashed 1 file(s) [Pipeline] } 21:08:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-396-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:26 $ docker stop --time=1 4c7ccf27a61f79e734ae96fbd3f78bd7692fdea4befd81109b63b57e292300b0 21:08:27 $ docker rm -f --volumes 4c7ccf27a61f79e734ae96fbd3f78bd7692fdea4befd81109b63b57e292300b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1683 in /w/workspace/xfoundry_device-modbus-go_PR-396 [Pipeline] { [Pipeline] ws 21:10:05 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 21:10:05 Selected Git installation does not exist. Using Default 21:10:05 The recommended git tool is: NONE 21:10:11 using credential edgex-jenkins-ssh 21:10:11 Cloning the remote Git repository 21:10:11 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:10:11 > git init /w/workspace/device-modbus-go/2 # timeout=10 21:10:11 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:10:11 > git --version # timeout=10 21:10:11 > git --version # 'git version 2.25.1' 21:10:11 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:13 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:10:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:14 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:10:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:10:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:14 Merging remotes/origin/main commit def1cc71e63d04479355a5672fe2144ca0f9c836 into PR head commit d94ab648b72690ff1964ac542fcdb5689b84bb11 21:10:15 Merge succeeded, producing 58030aaba9899011575c667e2aab595963c51148 21:10:15 Checking out Revision 58030aaba9899011575c667e2aab595963c51148 (PR-396) 21:10:14 > git config core.sparsecheckout # timeout=10 21:10:14 > git checkout -f d94ab648b72690ff1964ac542fcdb5689b84bb11 # timeout=10 21:10:14 > git remote # timeout=10 21:10:14 > git config --get remote.origin.url # timeout=10 21:10:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:15 > git merge def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 21:10:15 > git rev-parse HEAD^{commit} # timeout=10 21:10:15 > git config core.sparsecheckout # timeout=10 21:10:15 > git checkout -f 58030aaba9899011575c667e2aab595963c51148 # timeout=10 21:10:18 Commit message: "Merge commit 'def1cc71e63d04479355a5672fe2144ca0f9c836' into HEAD" 21:10:18 > git rev-list --no-walk d94ab648b72690ff1964ac542fcdb5689b84bb11 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:19 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:19 Dload Upload Total Spent Left Speed 21:10:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 21:10:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:20 + + sudosudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:20 tee /etc/docker/daemon.new 21:10:20 { 21:10:20 "registry-mirrors": [ 21:10:20 "https://nexus3.edgexfoundry.org:10001" 21:10:20 ], 21:10:20 "bip": "10.250.0.254/24", 21:10:20 "hosts": [ 21:10:20 "tcp://0.0.0.0:5555", 21:10:20 "unix:///var/run/docker.sock" 21:10:20 ], 21:10:20 "mtu": 1458, 21:10:20 "selinux-enabled": true, 21:10:20 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:20 } [Pipeline] sh 21:10:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:39 provisioning config files... 21:10:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config7892982224795275534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:40 ---> docker-login.sh 21:10:40 nexus3.edgexfoundry.org:10001 21:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:40 Configure a credential helper to remove this warning. See 21:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:40 21:10:40 Login Succeeded 21:10:41 nexus3.edgexfoundry.org:10002 21:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:41 Configure a credential helper to remove this warning. See 21:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:41 21:10:41 Login Succeeded 21:10:41 nexus3.edgexfoundry.org:10003 21:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:42 Configure a credential helper to remove this warning. See 21:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:42 21:10:42 Login Succeeded 21:10:42 nexus3.edgexfoundry.org:10004 21:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:42 Configure a credential helper to remove this warning. See 21:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:42 21:10:42 Login Succeeded 21:10:42 docker.io 21:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:42 Configure a credential helper to remove this warning. See 21:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:42 21:10:42 Login Succeeded 21:10:42 ---> docker-login.sh ends [Pipeline] } 21:10:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:43 ========================================================= 21:10:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:10:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:43 + 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 . 21:10:43 Sending build context to Docker daemon 3.314MB 21:10:43 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:10:43 Step 2/10 : FROM ${BASE} AS builder 21:10:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:10:44 9b18e9b68314: Pulling fs layer 21:10:44 35d82f9e3411: Pulling fs layer 21:10:44 e16973657156: Pulling fs layer 21:10:44 fc693d55d65f: Pulling fs layer 21:10:44 7e9fc2657dce: Pulling fs layer 21:10:44 dda99020689f: Pulling fs layer 21:10:44 db1c61fa0a46: Pulling fs layer 21:10:44 891c053d2c06: Pulling fs layer 21:10:44 fc693d55d65f: Waiting 21:10:44 dda99020689f: Waiting 21:10:44 7e9fc2657dce: Waiting 21:10:44 db1c61fa0a46: Waiting 21:10:44 e16973657156: Verifying Checksum 21:10:44 e16973657156: Download complete 21:10:44 35d82f9e3411: Verifying Checksum 21:10:44 35d82f9e3411: Download complete 21:10:44 7e9fc2657dce: Verifying Checksum 21:10:44 7e9fc2657dce: Download complete 21:10:44 dda99020689f: Verifying Checksum 21:10:44 dda99020689f: Download complete 21:10:44 9b18e9b68314: Verifying Checksum 21:10:44 9b18e9b68314: Download complete 21:10:45 9b18e9b68314: Pull complete 21:10:45 891c053d2c06: Verifying Checksum 21:10:45 891c053d2c06: Download complete 21:10:45 35d82f9e3411: Pull complete 21:10:46 e16973657156: Pull complete 21:10:46 db1c61fa0a46: Verifying Checksum 21:10:46 db1c61fa0a46: Download complete 21:10:47 fc693d55d65f: Verifying Checksum 21:10:47 fc693d55d65f: Download complete 21:10:59 fc693d55d65f: Pull complete 21:10:59 7e9fc2657dce: Pull complete 21:10:59 dda99020689f: Pull complete 21:11:06 db1c61fa0a46: Pull complete 21:11:08 891c053d2c06: Pull complete 21:11:08 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:11:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:11:08 ---> f96f9c87975a 21:11:08 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:11:10 ---> Running in a73ec26f7e48 21:11:10 Removing intermediate container a73ec26f7e48 21:11:10 ---> e6b88e4aef7c 21:11:10 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:10 ---> Running in ac8691283d89 21:11:11 Removing intermediate container ac8691283d89 21:11:11 ---> 5f2116f92793 21:11:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:11:11 ---> Running in da44d92d9088 21:11:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:11:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:11:14 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:11:14 (2/8) Installing libedit (20210910.3.1-r0) 21:11:14 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:11:15 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:11:15 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:11:15 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:11:15 (7/8) Installing openssh-server (9.0_p1-r2) 21:11:15 (8/8) Installing openssh (9.0_p1-r2) 21:11:15 Executing busybox-1.35.0-r17.trigger 21:11:15 OK: 228 MiB in 59 packages 21:11:16 Removing intermediate container da44d92d9088 21:11:16 ---> e38352ec1e37 21:11:16 Step 6/10 : WORKDIR /device-modbus-go 21:11:16 ---> Running in 0f990d7d28ad 21:11:16 Removing intermediate container 0f990d7d28ad 21:11:16 ---> fbfa8779a721 21:11:16 Step 7/10 : COPY go.mod vendor* ./ 21:11:17 ---> be22c92d0d34 21:11:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:17 ---> Running in 846eae030992 21:12:25 Removing intermediate container 846eae030992 21:12:25 ---> e78913289ed5 21:12:25 Step 9/10 : COPY . . 21:12:25 ---> b2002594d475 21:12:25 Step 10/10 : RUN ${MAKE} 21:12:25 ---> Running in d8306a0f5760 21:12:25 noop 21:12:25 Removing intermediate container d8306a0f5760 21:12:25 ---> a27d34f6befb 21:12:25 Successfully built a27d34f6befb 21:12:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:26 + docker inspect -f . ci-base-image-arm64 21:12:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:26 prd-ubuntu20.04-docker-arm64-4c-16g-1683 does not seem to be running inside a container 21:12:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:12:27 $ docker top 76588486b4640972b37caa6a74acfd193e6d09cb5591fa9a90efa8e99747274a -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:28 + go version 21:12:28 go version go1.18.7 linux/arm64 [Pipeline] } 21:12:28 $ docker stop --time=1 76588486b4640972b37caa6a74acfd193e6d09cb5591fa9a90efa8e99747274a 21:12:30 $ docker rm -f --volumes 76588486b4640972b37caa6a74acfd193e6d09cb5591fa9a90efa8e99747274a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:31 + docker inspect -f . ci-base-image-arm64 21:12:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:31 prd-ubuntu20.04-docker-arm64-4c-16g-1683 does not seem to be running inside a container 21:12:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:12:32 $ docker top 5fcc73ebeaf5c629f3fca846f33b08204ad5f811f4c853ba96b645525db65cf0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:33 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 21:12:34 + make test 21:12:34 go test ./... -coverprofile=coverage.out 21:12:36 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:14:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:14:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 47.7% of statements 21:14:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:14:28 go vet ./... 21:14:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:14:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:14:54 ./bin/test-attribution-txt.sh [Pipeline] echo 21:14:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:14:55 $ docker stop --time=1 5fcc73ebeaf5c629f3fca846f33b08204ad5f811f4c853ba96b645525db65cf0 21:14:57 $ docker rm -f --volumes 5fcc73ebeaf5c629f3fca846f33b08204ad5f811f4c853ba96b645525db65cf0 [Pipeline] // withDockerContainer [Pipeline] sh 21:14:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:14:58 Warning: overwriting stash ‘coverage-report’ 21:14:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:14:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:14:59 + ls -al . 21:14:59 total 192 21:14:59 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 21:12 . 21:14:59 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:10 .. 21:14:59 -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 21:10 .dockerignore 21:14:59 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:10 .git 21:14:59 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 .github 21:14:59 -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 21:10 .gitignore 21:14:59 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:10 .golangci.yml 21:14:59 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 21:10 Attribution.txt 21:14:59 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 21:10 CHANGELOG.md 21:14:59 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 21:10 Dockerfile 21:14:59 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:10 GOVERNANCE.md 21:14:59 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 21:10 Jenkinsfile 21:14:59 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:10 LICENSE 21:14:59 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 10 21:10 Makefile 21:14:59 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 21:10 OWNERS.md 21:14:59 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 21:10 README.md 21:14:59 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:06 VERSION 21:14:59 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:10 bin 21:14:59 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 cmd 21:14:59 -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 21:14 coverage.out 21:14:59 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 21:10 go.mod 21:14:59 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 21:10 go.sum 21:14:59 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 internal 21:14:59 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:10 simulator 21:14:59 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:10 snap 21:14:59 -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:00 + 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=58030aaba9899011575c667e2aab595963c51148 --label arch=arm64 --label version=0.0.0 . 21:15:00 Sending build context to Docker daemon 3.338MB 21:15:00 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 21:15:00 Step 2/22 : FROM ${BASE} AS builder 21:15:00 ---> a27d34f6befb 21:15:00 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:15:00 ---> Running in 390b41502cee 21:15:01 Removing intermediate container 390b41502cee 21:15:01 ---> d4821baa0270 21:15:01 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:15:01 ---> Running in 0e7e3949c839 21:15:03 Removing intermediate container 0e7e3949c839 21:15:03 ---> 485be7ad843b 21:15:03 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:15:03 ---> Running in d50abdad236e 21:15:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:15:06 OK: 228 MiB in 59 packages 21:15:07 Removing intermediate container d50abdad236e 21:15:07 ---> 6c57b5ebf3fb 21:15:07 Step 6/22 : WORKDIR /device-modbus-go 21:15:07 ---> Running in 9c0e6f58353c 21:15:08 Removing intermediate container 9c0e6f58353c 21:15:08 ---> d50716707b5f 21:15:08 Step 7/22 : COPY go.mod vendor* ./ 21:15:08 ---> 962aabaebdd5 21:15:08 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:15:08 ---> Running in eddf760649c5 21:15:12 Removing intermediate container eddf760649c5 21:15:12 ---> 2c7fade750a6 21:15:12 Step 9/22 : COPY . . 21:15:13 ---> 9e0b0770234e 21:15:13 Step 10/22 : RUN ${MAKE} 21:15:13 ---> Running in 5c21912c2855 21:15:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:18:06 Removing intermediate container 5c21912c2855 21:18:06 ---> ce2cca6150ba 21:18:06 Step 11/22 : FROM alpine:3.14 21:18:06 3.14: Pulling from library/alpine 21:18:06 90cda3b7c325: Pulling fs layer 21:18:06 90cda3b7c325: Verifying Checksum 21:18:06 90cda3b7c325: Download complete 21:18:06 90cda3b7c325: Pull complete 21:18:06 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 21:18:06 Status: Downloaded newer image for alpine:3.14 21:18:06 ---> 275902a1839d 21:18:06 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:18:06 ---> Running in d0544c209d80 21:18:06 Removing intermediate container d0544c209d80 21:18:06 ---> 9bd5842126a8 21:18:06 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:18:06 ---> Running in 2e497dff7eca 21:18:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:18:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:18:06 (1/1) Installing dumb-init (1.2.5-r1) 21:18:06 Executing busybox-1.33.1-r8.trigger 21:18:06 OK: 6 MiB in 15 packages 21:18:06 Removing intermediate container 2e497dff7eca 21:18:06 ---> f3ec374b1b11 21:18:06 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:18:06 ---> 0af4bf4d27c6 21:18:06 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:18:06 ---> 9f2b3c974109 21:18:06 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:18:06 ---> fcdd45a46b57 21:18:06 Step 17/22 : EXPOSE 59901 21:18:06 ---> Running in 68355724a4df 21:18:06 Removing intermediate container 68355724a4df 21:18:06 ---> dcad35709f05 21:18:06 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:18:06 ---> Running in 4f86eada7883 21:18:06 Removing intermediate container 4f86eada7883 21:18:06 ---> a38652ea7e28 21:18:06 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:18:06 ---> Running in 2fe315266238 21:18:06 Removing intermediate container 2fe315266238 21:18:06 ---> 079832b90f7a 21:18:06 Step 20/22 : LABEL arch=arm64 21:18:06 ---> Running in 25ad40a05829 21:18:06 Removing intermediate container 25ad40a05829 21:18:06 ---> 2e31ee5bbccc 21:18:06 Step 21/22 : LABEL git_sha=58030aaba9899011575c667e2aab595963c51148 21:18:07 ---> Running in b25a9b7a16ac 21:18:07 Removing intermediate container b25a9b7a16ac 21:18:07 ---> 750e6790885b 21:18:07 Step 22/22 : LABEL version=0.0.0 21:18:07 ---> Running in 95f2b7935980 21:18:07 Removing intermediate container 95f2b7935980 21:18:07 ---> b7ff621fb117 21:18:07 [Warning] One or more build-args [ARCH] were not consumed 21:18:07 Successfully built b7ff621fb117 21:18:07 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:08 21:18:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:08 arm64: Pulling from edgex-lftools-log-publisher 21:18:08 8998bd30e6a1: Pulling fs layer 21:18:08 04944245beec: Pulling fs layer 21:18:08 699f458cf7ca: Pulling fs layer 21:18:08 765212b225bb: Pulling fs layer 21:18:08 f23df028b6ca: Pulling fs layer 21:18:08 d65c8cfc05b1: Pulling fs layer 21:18:08 2437ff75d9bd: Pulling fs layer 21:18:08 f23df028b6ca: Waiting 21:18:08 d65c8cfc05b1: Waiting 21:18:08 2437ff75d9bd: Waiting 21:18:08 765212b225bb: Waiting 21:18:08 04944245beec: Verifying Checksum 21:18:08 04944245beec: Download complete 21:18:08 765212b225bb: Verifying Checksum 21:18:08 765212b225bb: Download complete 21:18:08 f23df028b6ca: Verifying Checksum 21:18:08 f23df028b6ca: Download complete 21:18:08 d65c8cfc05b1: Verifying Checksum 21:18:08 d65c8cfc05b1: Download complete 21:18:09 699f458cf7ca: Verifying Checksum 21:18:09 699f458cf7ca: Download complete 21:18:09 8998bd30e6a1: Verifying Checksum 21:18:09 8998bd30e6a1: Download complete 21:18:12 2437ff75d9bd: Verifying Checksum 21:18:12 2437ff75d9bd: Download complete 21:18:13 8998bd30e6a1: Pull complete 21:18:14 04944245beec: Pull complete 21:18:15 699f458cf7ca: Pull complete 21:18:15 765212b225bb: Pull complete 21:18:16 f23df028b6ca: Pull complete 21:18:16 d65c8cfc05b1: Pull complete 21:18:31 2437ff75d9bd: Pull complete 21:18:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:18:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:32 prd-ubuntu20.04-docker-arm64-4c-16g-1683 does not seem to be running inside a container 21:18:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:18:37 $ docker top dca8b4da6774df99a0c74114746d522b6f842e213620b3049118317feafaf594 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:38 ---> job-cost.sh 21:18:38 lf-activate-venv: SKIPPING 21:18:38 INFO: No Stack... 21:18:39 INFO: Retrieving Pricing Info for: v3-standard-4 21:18:40 INFO: Archiving Costs [Pipeline] sh 21:18:40 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 21:18:40 + cut -d, -f6 [Pipeline] lock 21:18:41 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-396-2-stack-cost] 21:18:41 Resource [jenkins-edgexfoundry-device-modbus-go-PR-396-2-stack-cost] did not exist. Created. 21:18:41 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-396-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:18:41 /w/workspace/device-modbus-go/2@tmp/durable-10222fc2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:18:42 + echo total: 0.10999999940395355 [Pipeline] stash 21:18:42 Warning: overwriting stash ‘stack-cost’ 21:18:42 Stashed 1 file(s) [Pipeline] } 21:18:42 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-396-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:18:42 $ docker stop --time=1 dca8b4da6774df99a0c74114746d522b6f842e213620b3049118317feafaf594 21:18:44 $ docker rm -f --volumes dca8b4da6774df99a0c74114746d522b6f842e213620b3049118317feafaf594 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:18:44 provisioning config files... 21:18:44 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/config8592086123764314038tmp [Pipeline] { [Pipeline] sh 21:18:44 + set +x 21:18:44 + curl -s https://codecov.io/bash 21:18:44 + bash -s -- 21:18:44 21:18:44 _____ _ 21:18:44 / ____| | | 21:18:44 | | ___ __| | ___ ___ _____ __ 21:18:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:18:44 | |___| (_) | (_| | __/ (_| (_) \ V / 21:18:44 \_____\___/ \__,_|\___|\___\___/ \_/ 21:18:44 Bash-1.0.6 21:18:44 21:18:44 21:18:44 ==> git version 2.25.1 found 21:18:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:18:44 Release-Date: 2020-01-08 21:18:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:18:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:18:44 ==> Jenkins CI detected. 21:18:44 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-396 21:18:44 project root: . 21:18:44 --> token set from env 21:18:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:18:44 ==> Running gcov in . (disable via -X gcov) 21:18:44 ==> Python coveragepy not found 21:18:44 ==> Searching for coverage reports in: 21:18:44 + . 21:18:44 -> Found 1 reports 21:18:44 ==> Detecting git/mercurial file structure 21:18:44 ==> Reading reports 21:18:44 + ./coverage.out bytes=23241 21:18:45 ==> Appending adjustments 21:18:45 https://docs.codecov.io/docs/fixing-reports 21:18:45 + Found adjustments 21:18:45 ==> Gzipping contents 21:18:45 4.0K /tmp/codecov.TGP1mE.gz 21:18:45 ==> Uploading reports 21:18:45 url: https://codecov.io 21:18:45 query: branch=PR-396&commit=e7de9f9a07ae1ff795552b65adc212a8c300b16e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-396%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=396&job=&cmd_args= 21:18:45 -> Pinging Codecov 21:18:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-396&commit=e7de9f9a07ae1ff795552b65adc212a8c300b16e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-396%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=396&job=&cmd_args= 21:18:45 -> Uploading to 21:18:45 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/55DBCA73C666E3227836607328DD7E49/e7de9f9a07ae1ff795552b65adc212a8c300b16e/b96c94a4-c241-42a8-a5b2-96eb61ad848c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T211845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de592578e517b5bec7c8ceadb4d59e9bdea35066b13935bfd636cca0cca36752 21:18:45 % Total % Received % Xferd Average Speed Time Time Time Current 21:18:45 Dload Upload Total Spent Left Speed 21:18:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3920 0 0 100 3920 0 19310 --:--:-- --:--:-- --:--:-- 19215 100 3920 0 0 100 3920 0 15494 --:--:-- --:--:-- --:--:-- 15433 21:18:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e7de9f9a07ae1ff795552b65adc212a8c300b16e [Pipeline] } 21:18:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:18:46 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-396/archives ] 21:18:46 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-396/archives 21:18:46 total 16 21:18:46 drwxr-xr-x 3 root root 4096 Jan 10 21:08 . 21:18:46 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:08 .. 21:18:46 drwxr-xr-x 2 root root 4096 Jan 10 21:08 cost 21:18:46 -rw-r--r-- 1 root root 88 Jan 10 21:08 cost.csv 21:18:46 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-396/archives 21:18:46 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-396/archives 21:18:46 total 16 21:18:46 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:08 . 21:18:46 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:08 .. 21:18:46 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:08 cost 21:18:46 -rw-r--r-- 1 jenkins jenkins 88 Jan 10 21:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:18:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:18:47 ---> package-listing.sh 21:18:47 ++ facter osfamily 21:18:47 ++ tr '[:upper:]' '[:lower:]' 21:18:47 + OS_FAMILY=debian 21:18:47 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-396 21:18:47 + START_PACKAGES=/tmp/packages_start.txt 21:18:47 + END_PACKAGES=/tmp/packages_end.txt 21:18:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:18:47 + PACKAGES=/tmp/packages_start.txt 21:18:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-396 ']' 21:18:47 + PACKAGES=/tmp/packages_end.txt 21:18:47 + case "${OS_FAMILY}" in 21:18:47 + dpkg -l 21:18:47 + grep '^ii' 21:18:47 + '[' -f /tmp/packages_start.txt ']' 21:18:47 + '[' -f /tmp/packages_end.txt ']' 21:18:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:18:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-396 ']' 21:18:47 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-396/archives/ 21:18:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-396/archives/ [Pipeline] echo 21:18:47 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-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:18:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:18:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:48 prd-ubuntu20.04-docker-8c-8g-1678 does not seem to be running inside a container 21:18:48 $ 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-396/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-396 -v /w/workspace/xfoundry_device-modbus-go_PR-396:/w/workspace/xfoundry_device-modbus-go_PR-396:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-396@tmp:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:18:48 $ docker top b3bf84cdac8a392a50c9f1dc1968356b252b4db5a2903a2b8fb52e8502cd550d -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:49 + touch /tmp/pre-build-complete [Pipeline] sh 21:18:49 + mkdir -p /var/log/sysstat [Pipeline] sh 21:18:49 + ls /var/log/sa-host 21:18:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:50 provisioning config files... 21:18:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/config5246146431814108592tmp [Pipeline] { [Pipeline] echo 21:18:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:18:50 ---> create-netrc.sh [Pipeline] } 21:18:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:18:50 ---> python-tools-install.sh [Pipeline] echo 21:18:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:18:51 ---> sudo-logs.sh 21:18:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:18:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:18:51 ---> job-cost.sh 21:18:51 lf-activate-venv: SKIPPING 21:18:51 DEBUG: total: 0.2199999988079071 21:18:51 INFO: Retrieving Stack Cost... 21:18:51 INFO: Retrieving Pricing Info for: v3-standard-8 21:18:52 INFO: Archiving Costs [Pipeline] echo 21:18:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:18:52 ---> logs-deploy.sh 21:18:52 lf-activate-venv: SKIPPING 21:18:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-396/2 21:18:52 INFO: archiving workspace using pattern(s): 21:18:53 Archives upload complete. 21:18:53 INFO: archiving logs to Nexus