Pull request #419 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3d2d236075448d4226f85fa74232ef64b2e6aa47+96c9b25060a854e15776706019f04b40fe16d5e0 (a35de99095833fb78a92d95492ff93f2f94937c3) 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-ssh13616729481085590330.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-ssh5703830890883048242.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-419/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-419/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11741080109363406168.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-ssh17295764200825584669.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-419/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-419/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1014864209214569128.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7594 in /w/workspace/xfoundry_device-modbus-go_PR-419 [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-419 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 96c9b25060a854e15776706019f04b40fe16d5e0 into PR head commit 3d2d236075448d4226f85fa74232ef64b2e6aa47 Merge succeeded, producing 3d2d236075448d4226f85fa74232ef64b2e6aa47 Checking out Revision 3d2d236075448d4226f85fa74232ef64b2e6aa47 (PR-419) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.1 to 1.8.2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:28:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:28:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:28:15 ========================================================= 15:28:15 EdgeX Global Pipelines Version Info 15:28:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 3d2d236075448d4226f85fa74232ef64b2e6aa47 # 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 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d2d236075448d4226f85fa74232ef64b2e6aa47 # timeout=10 > git rev-list --no-walk 4a1c4304152c335d1479a18ef7520bb4eb2b5147 # timeout=10 15:28:16 ------------------- 15:28:16 stable info: 15:28:16 ------------------- 15:28:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:28:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:28:16 Message: update stable to v1.0.244 15:28:16 ------------------- 15:28:16 experimental info: 15:28:16 ------------------- 15:28:16 Commited By: **** collab-it+edgex@linuxfoundation.org 15:28:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:28:16 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:28:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 15:28:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 15:28:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:28:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-419 [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-419 [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-419 [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d2d236075448d4226f85fa74232ef64b2e6aa47 [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d2d236 [Pipeline] echo 15:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:17 provisioning config files... 15:28:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config13643703135968482774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:17 ---> docker-login.sh 15:28:17 nexus3.edgexfoundry.org:10001 15:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:17 Configure a credential helper to remove this warning. See 15:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:17 15:28:17 Login Succeeded 15:28:17 nexus3.edgexfoundry.org:10002 15:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:18 Configure a credential helper to remove this warning. See 15:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:18 15:28:18 Login Succeeded 15:28:18 nexus3.edgexfoundry.org:10003 15:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:18 Configure a credential helper to remove this warning. See 15:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:18 15:28:18 Login Succeeded 15:28:18 nexus3.edgexfoundry.org:10004 15:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:18 Configure a credential helper to remove this warning. See 15:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:18 15:28:18 Login Succeeded 15:28:18 docker.io 15:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:18 Configure a credential helper to remove this warning. See 15:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:18 15:28:18 Login Succeeded 15:28:18 ---> docker-login.sh ends [Pipeline] } 15:28:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:28:19 + git rev-list -1 --merges 3d2d236075448d4226f85fa74232ef64b2e6aa47~1..3d2d236075448d4226f85fa74232ef64b2e6aa47 [Pipeline] echo 15:28:19 -----------> git rev-list -1 --merges 3d2d236075448d4226f85fa74232ef64b2e6aa47~1..3d2d236075448d4226f85fa74232ef64b2e6aa47 3d2d236075448d4226f85fa74232ef64b2e6aa47 [false] [Pipeline] sh 15:28:19 + git log --format=format:%s -1 3d2d236075448d4226f85fa74232ef64b2e6aa47 [Pipeline] echo 15:28:19 ========================================================= 15:28:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:28:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:28:19 + git log --format=format:%s -1 3d2d236075448d4226f85fa74232ef64b2e6aa47 [Pipeline] echo 15:28:19 [semverPrep] GIT_COMMIT: 3d2d236075448d4226f85fa74232ef64b2e6aa47, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 [Pipeline] echo 15:28:19 [semverPrep] This is not a build commit. [Pipeline] sh 15:28:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:28:20 + grep -v github /etc/ssh/ssh_known_hosts 15:28:20 + [ -e /tmp/ssh_known_hosts ] 15:28:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:28:20 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:28:20 sudo tee -a /etc/ssh/ssh_known_hosts 15:28:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:28:20 15:28:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:28:20 0.1.4: Pulling from edgex-devops/py-git-semver 15:28:20 b85a868b505f: Pulling fs layer 15:28:20 e2be974225ed: Pulling fs layer 15:28:20 339a4e72a1f5: Pulling fs layer 15:28:20 988bab9f4d93: Pulling fs layer 15:28:20 1469e6f7b9e6: Pulling fs layer 15:28:20 eaf3925da568: Pulling fs layer 15:28:20 bab4dde63d76: Pulling fs layer 15:28:20 bde34c3a00c8: Pulling fs layer 15:28:20 b352a97aabf1: Pulling fs layer 15:28:20 4872d77fe225: Pulling fs layer 15:28:20 5851b861e8e6: Pulling fs layer 15:28:20 988bab9f4d93: Waiting 15:28:20 1469e6f7b9e6: Waiting 15:28:20 b352a97aabf1: Waiting 15:28:20 4872d77fe225: Waiting 15:28:20 5851b861e8e6: Waiting 15:28:20 eaf3925da568: Waiting 15:28:20 bab4dde63d76: Waiting 15:28:20 bde34c3a00c8: Waiting 15:28:20 e2be974225ed: Verifying Checksum 15:28:20 e2be974225ed: Download complete 15:28:20 988bab9f4d93: Download complete 15:28:21 339a4e72a1f5: Verifying Checksum 15:28:21 339a4e72a1f5: Download complete 15:28:21 1469e6f7b9e6: Verifying Checksum 15:28:21 1469e6f7b9e6: Download complete 15:28:21 eaf3925da568: Verifying Checksum 15:28:21 eaf3925da568: Download complete 15:28:21 bde34c3a00c8: Download complete 15:28:21 b352a97aabf1: Download complete 15:28:21 4872d77fe225: Verifying Checksum 15:28:21 4872d77fe225: Download complete 15:28:21 5851b861e8e6: Verifying Checksum 15:28:21 5851b861e8e6: Download complete 15:28:21 b85a868b505f: Verifying Checksum 15:28:21 b85a868b505f: Download complete 15:28:21 bab4dde63d76: Verifying Checksum 15:28:21 bab4dde63d76: Download complete 15:28:22 b85a868b505f: Pull complete 15:28:22 e2be974225ed: Pull complete 15:28:23 339a4e72a1f5: Pull complete 15:28:23 988bab9f4d93: Pull complete 15:28:23 1469e6f7b9e6: Pull complete 15:28:23 eaf3925da568: Pull complete 15:28:25 bab4dde63d76: Pull complete 15:28:25 bde34c3a00c8: Pull complete 15:28:25 b352a97aabf1: Pull complete 15:28:25 4872d77fe225: Pull complete 15:28:25 5851b861e8e6: Pull complete 15:28:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:28:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:28:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:25 prd-ubuntu20.04-docker-8c-8g-7594 does not seem to be running inside a container 15:28:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:28:26 $ docker top 4aeeac3094969c4184b8dd93db807c67c5a39cb4d2c2447c8c00949dec47b366 -eo pid,comm 15:28:26 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). 15:28:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:28:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:28:26 [ssh-agent] Looking for ssh-agent implementation... 15:28:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:28:27 $ docker exec 4aeeac3094969c4184b8dd93db807c67c5a39cb4d2c2447c8c00949dec47b366 ssh-agent 15:28:27 SSH_AUTH_SOCK=/tmp/ssh-SDKeJ3QYozEn/agent.31 15:28:27 SSH_AGENT_PID=37 15:28:27 Running ssh-add (command line suppressed) 15:28:27 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_9189667750180382358.key (/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_9189667750180382358.key) 15:28:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:28:27 + git tag --points-at HEAD [Pipeline] } 15:28:27 $ docker exec --env ******** --env ******** 4aeeac3094969c4184b8dd93db807c67c5a39cb4d2c2447c8c00949dec47b366 ssh-agent -k 15:28:27 unset SSH_AUTH_SOCK; 15:28:27 unset SSH_AGENT_PID; 15:28:27 echo Agent pid 37 killed; 15:28:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:28:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:28:27 [ssh-agent] Looking for ssh-agent implementation... 15:28:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:28:27 $ docker exec 4aeeac3094969c4184b8dd93db807c67c5a39cb4d2c2447c8c00949dec47b366 ssh-agent 15:28:27 SSH_AUTH_SOCK=/tmp/ssh-DlOFcsdtzZF0/agent.69 15:28:27 SSH_AGENT_PID=75 15:28:27 Running ssh-add (command line suppressed) 15:28:28 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_18132587134477107830.key (/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_18132587134477107830.key) 15:28:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:28:28 + git semver init 15:28:28 2023-02-27 15:28:28,554 [run_init] DEBUG init version:0.0.0 force:False 15:28:28 2023-02-27 15:28:28,555 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-419/.semver 15:28:28 2023-02-27 15:28:28,555 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-419/.semver 15:28:28 2023-02-27 15:28:28,556 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-419/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-419, universal_newlines=False, shell=None, istream=None) 15:28:29 2023-02-27 15:28:29,508 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-419/.git/info/exclude 15:28:29 2023-02-27 15:28:29,508 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-419/.semver/PR-419 with force:False 15:28:29 2023-02-27 15:28:29,508 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-419/.semver/PR-419 15:28:29 2023-02-27 15:28:29,512 [execute] INFO git cat-file --batch-check 15:28:29 2023-02-27 15:28:29,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-419/.semver, universal_newlines=False, shell=None, istream=) 15:28:29 2023-02-27 15:28:29,520 [execute] INFO git cat-file --batch 15:28:29 2023-02-27 15:28:29,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-419/.semver, universal_newlines=False, shell=None, istream=) 15:28:29 2023-02-27 15:28:29,526 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-419/.semver/PR-419 15:28:29 0.0.0 [Pipeline] } 15:28:29 $ docker exec --env ******** --env ******** 4aeeac3094969c4184b8dd93db807c67c5a39cb4d2c2447c8c00949dec47b366 ssh-agent -k 15:28:29 unset SSH_AUTH_SOCK; 15:28:29 unset SSH_AGENT_PID; 15:28:29 echo Agent pid 75 killed; 15:28:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:28:29 + git semver [Pipeline] } 15:28:30 $ docker stop --time=1 4aeeac3094969c4184b8dd93db807c67c5a39cb4d2c2447c8c00949dec47b366 15:28:31 $ docker rm -f --volumes 4aeeac3094969c4184b8dd93db807c67c5a39cb4d2c2447c8c00949dec47b366 [Pipeline] // withDockerContainer [Pipeline] sh 15:28:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:28:32 Stashed 1 file(s) [Pipeline] echo 15:28:32 [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 15:28:32 provisioning config files... 15:28:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config5746110295853196037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:32 ---> docker-login.sh 15:28:32 nexus3.edgexfoundry.org:10001 15:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:32 Configure a credential helper to remove this warning. See 15:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:32 15:28:32 Login Succeeded 15:28:32 nexus3.edgexfoundry.org:10002 15:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:32 Configure a credential helper to remove this warning. See 15:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:32 15:28:32 Login Succeeded 15:28:32 nexus3.edgexfoundry.org:10003 15:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:32 Configure a credential helper to remove this warning. See 15:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:32 15:28:32 Login Succeeded 15:28:32 nexus3.edgexfoundry.org:10004 15:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:32 Configure a credential helper to remove this warning. See 15:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:32 15:28:32 Login Succeeded 15:28:32 docker.io 15:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:33 Configure a credential helper to remove this warning. See 15:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:33 15:28:33 Login Succeeded 15:28:33 ---> docker-login.sh ends [Pipeline] } 15:28:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:28:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:28:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:28:33 ========================================================= 15:28:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:28:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:33 + 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 . 15:28:33 Sending build context to Docker daemon 6.401MB 15:28:33 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:28:33 Step 2/10 : FROM ${BASE} AS builder 15:28:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:28:33 213ec9aee27d: Pulling fs layer 15:28:33 4583459ba037: Pulling fs layer 15:28:33 93c1e223e6f2: Pulling fs layer 15:28:33 53926ce57604: Pulling fs layer 15:28:33 21b2b0c7a3f4: Pulling fs layer 15:28:33 22ff95d597cd: Pulling fs layer 15:28:33 12d6caf4c0d1: Pulling fs layer 15:28:33 96b7cbca73a9: Pulling fs layer 15:28:33 a7acece74701: Pulling fs layer 15:28:33 53926ce57604: Waiting 15:28:33 21b2b0c7a3f4: Waiting 15:28:33 22ff95d597cd: Waiting 15:28:33 12d6caf4c0d1: Waiting 15:28:33 96b7cbca73a9: Waiting 15:28:33 a7acece74701: Waiting 15:28:33 93c1e223e6f2: Verifying Checksum 15:28:33 93c1e223e6f2: Download complete 15:28:33 4583459ba037: Download complete 15:28:33 21b2b0c7a3f4: Download complete 15:28:33 22ff95d597cd: Verifying Checksum 15:28:33 22ff95d597cd: Download complete 15:28:33 213ec9aee27d: Verifying Checksum 15:28:33 213ec9aee27d: Download complete 15:28:33 12d6caf4c0d1: Verifying Checksum 15:28:33 12d6caf4c0d1: Download complete 15:28:33 213ec9aee27d: Pull complete 15:28:34 4583459ba037: Pull complete 15:28:34 93c1e223e6f2: Pull complete 15:28:34 a7acece74701: Verifying Checksum 15:28:34 a7acece74701: Download complete 15:28:34 96b7cbca73a9: Verifying Checksum 15:28:34 96b7cbca73a9: Download complete 15:28:34 53926ce57604: Verifying Checksum 15:28:34 53926ce57604: Download complete 15:28:38 53926ce57604: Pull complete 15:28:38 21b2b0c7a3f4: Pull complete 15:28:38 22ff95d597cd: Pull complete 15:28:38 12d6caf4c0d1: Pull complete 15:28:40 96b7cbca73a9: Pull complete 15:28:41 a7acece74701: Pull complete 15:28:41 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:28:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:28:41 ---> db6d94c90886 15:28:41 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:28:43 ---> Running in 5a477e6aae7c 15:28:43 Removing intermediate container 5a477e6aae7c 15:28:43 ---> ba63c52ec099 15:28:43 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:28:43 ---> Running in df759b5f642d 15:28:43 Removing intermediate container df759b5f642d 15:28:43 ---> 1986b737bed2 15:28:43 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:28:43 ---> Running in af7709441711 15:28:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:28:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:28:43 (1/8) Installing openssh-keygen (9.0_p1-r2) 15:28:43 (2/8) Installing libedit (20210910.3.1-r0) 15:28:43 (3/8) Installing openssh-client-common (9.0_p1-r2) 15:28:43 (4/8) Installing openssh-client-default (9.0_p1-r2) 15:28:43 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 15:28:43 (6/8) Installing openssh-server-common (9.0_p1-r2) 15:28:43 (7/8) Installing openssh-server (9.0_p1-r2) 15:28:43 (8/8) Installing openssh (9.0_p1-r2) 15:28:43 Executing busybox-1.35.0-r17.trigger 15:28:43 OK: 217 MiB in 59 packages 15:28:44 Removing intermediate container af7709441711 15:28:44 ---> 698e7bd43436 15:28:44 Step 6/10 : WORKDIR /device-modbus-go 15:28:44 ---> Running in 2ccc17eab933 15:28:44 Removing intermediate container 2ccc17eab933 15:28:44 ---> 02f98bb0dbef 15:28:44 Step 7/10 : COPY go.mod vendor* ./ 15:28:44 ---> 1b53b677bdb2 15:28:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:28:44 ---> Running in bd34a30d802b 15:28:47 Still waiting to schedule task 15:28:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:29:02 Removing intermediate container bd34a30d802b 15:29:02 ---> 804119b6ea73 15:29:02 Step 9/10 : COPY . . 15:29:02 ---> a1bbeedbb0c1 15:29:02 Step 10/10 : RUN ${MAKE} 15:29:02 ---> Running in 207afb35eeba 15:29:02 noop 15:29:02 Removing intermediate container 207afb35eeba 15:29:02 ---> d763ac71f869 15:29:02 Successfully built d763ac71f869 15:29:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:02 + docker inspect -f . ci-base-image-x86_64 15:29:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:29:02 prd-ubuntu20.04-docker-8c-8g-7594 does not seem to be running inside a container 15:29:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:29:03 $ docker top d8f824a1043eff1bb47643568ff568316b04e180df37eecc17e5d78f78420ae8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:29:03 + go version 15:29:03 go version go1.18.7 linux/amd64 [Pipeline] } 15:29:03 $ docker stop --time=1 d8f824a1043eff1bb47643568ff568316b04e180df37eecc17e5d78f78420ae8 15:29:04 $ docker rm -f --volumes d8f824a1043eff1bb47643568ff568316b04e180df37eecc17e5d78f78420ae8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:05 + docker inspect -f . ci-base-image-x86_64 15:29:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:29:05 prd-ubuntu20.04-docker-8c-8g-7594 does not seem to be running inside a container 15:29:05 $ 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-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:29:05 $ docker top 087b094c5bf7c7383c17e14741cfe89177f597cd9047611d7c6b3670e1362942 -eo pid,comm [Pipeline] { [Pipeline] sh 15:29:06 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-419 [Pipeline] fileExists [Pipeline] sh 15:29:06 + make test 15:29:06 go test ./... -coverprofile=coverage.out 15:29:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:29:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:29:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.7% of statements 15:29:21 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." 15:29:21 go vet ./... 15:29:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:29:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:29:25 ./bin/test-attribution-txt.sh [Pipeline] echo 15:29:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:29:25 $ docker stop --time=1 087b094c5bf7c7383c17e14741cfe89177f597cd9047611d7c6b3670e1362942 15:29:26 $ docker rm -f --volumes 087b094c5bf7c7383c17e14741cfe89177f597cd9047611d7c6b3670e1362942 [Pipeline] // withDockerContainer [Pipeline] sh 15:29:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:29:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:29:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:29:28 + ls -al . 15:29:28 total 184 15:29:28 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 15:29 . 15:29:28 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:28 .. 15:29:28 -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 15:28 .dockerignore 15:29:28 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:29 .git 15:29:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:28 .github 15:29:28 -rw-rw-r-- 1 jenkins jenkins 331 Feb 27 15:28 .gitignore 15:29:28 -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:28 .golangci.yml 15:29:28 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:28 .semver 15:29:28 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 27 15:28 Attribution.txt 15:29:28 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 27 15:28 CHANGELOG.md 15:29:28 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 27 15:28 Dockerfile 15:29:28 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:28 GOVERNANCE.md 15:29:28 -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:28 Jenkinsfile 15:29:28 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:28 LICENSE 15:29:28 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 27 15:28 Makefile 15:29:28 -rw-rw-r-- 1 jenkins jenkins 622 Feb 27 15:28 OWNERS.md 15:29:28 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 27 15:28 README.md 15:29:28 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 15:28 VERSION 15:29:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:28 bin 15:29:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:28 cmd 15:29:28 -rw-r--r-- 1 jenkins jenkins 23241 Feb 27 15:29 coverage.out 15:29:28 -rw-rw-r-- 1 jenkins jenkins 3497 Feb 27 15:28 go.mod 15:29:28 -rw-rw-r-- 1 jenkins jenkins 33596 Feb 27 15:28 go.sum 15:29:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:28 internal 15:29:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:28 simulator 15:29:28 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:28 snap 15:29:28 -rw-rw-r-- 1 jenkins jenkins 229 Feb 27 15:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:28 + 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=3d2d236075448d4226f85fa74232ef64b2e6aa47 --label arch=amd64 --label version=0.0.0 . 15:29:28 Sending build context to Docker daemon 6.425MB 15:29:28 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 15:29:28 Step 2/22 : FROM ${BASE} AS builder 15:29:28 ---> d763ac71f869 15:29:28 Step 3/22 : ARG ADD_BUILD_TAGS="" 15:29:28 ---> Running in 0b6ac5d55173 15:29:28 Removing intermediate container 0b6ac5d55173 15:29:28 ---> af3c9239e178 15:29:28 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:29:28 ---> Running in 33af3a042ca1 15:29:28 Removing intermediate container 33af3a042ca1 15:29:28 ---> 07511db3514b 15:29:28 Step 5/22 : RUN apk add --update --no-cache make git openssh 15:29:28 ---> Running in 30bbeb0c84ce 15:29:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:29:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:29:29 OK: 217 MiB in 59 packages 15:29:29 Removing intermediate container 30bbeb0c84ce 15:29:29 ---> 0ce8254eba6a 15:29:29 Step 6/22 : WORKDIR /device-modbus-go 15:29:29 ---> Running in 59c96e494b0f 15:29:29 Removing intermediate container 59c96e494b0f 15:29:29 ---> 14ccaa3bb8b7 15:29:29 Step 7/22 : COPY go.mod vendor* ./ 15:29:30 ---> 7c90112f7b92 15:29:30 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:29:30 ---> Running in 6728130d977d 15:29:30 Removing intermediate container 6728130d977d 15:29:30 ---> acaf4181051a 15:29:30 Step 9/22 : COPY . . 15:29:31 ---> 3e222b5b7baa 15:29:31 Step 10/22 : RUN ${MAKE} 15:29:31 ---> Running in d16d7a55e6e6 15:29:31 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 15:29:49 Removing intermediate container d16d7a55e6e6 15:29:49 ---> 5c3068610fcc 15:29:49 Step 11/22 : FROM alpine:3.14 15:29:50 3.14: Pulling from library/alpine 15:29:50 d261077062b2: Pulling fs layer 15:29:50 d261077062b2: Download complete 15:29:50 d261077062b2: Pull complete 15:29:50 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 15:29:50 Status: Downloaded newer image for alpine:3.14 15:29:50 ---> 6dff1269bc79 15:29:50 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:29:50 ---> Running in 2a80e2f11fc0 15:29:50 Removing intermediate container 2a80e2f11fc0 15:29:50 ---> a8ead6313246 15:29:50 Step 13/22 : RUN apk add --update --no-cache dumb-init 15:29:50 ---> Running in a89775fbc187 15:29:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:29:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:29:51 (1/1) Installing dumb-init (1.2.5-r1) 15:29:51 Executing busybox-1.33.1-r8.trigger 15:29:51 OK: 6 MiB in 15 packages 15:29:51 Removing intermediate container a89775fbc187 15:29:51 ---> 94266811a50d 15:29:51 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 15:29:52 ---> 89acbbc1b165 15:29:52 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 15:29:52 ---> a732479b5e1b 15:29:52 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:29:52 ---> c9f62791833a 15:29:52 Step 17/22 : EXPOSE 59901 15:29:52 ---> Running in 20eeee36ad74 15:29:52 Removing intermediate container 20eeee36ad74 15:29:52 ---> d141064f2611 15:29:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 15:29:52 ---> Running in 96295927a4bf 15:29:52 Removing intermediate container 96295927a4bf 15:29:52 ---> d5bc6bb95a04 15:29:52 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:29:52 ---> Running in 66311d00cf8b 15:29:52 Removing intermediate container 66311d00cf8b 15:29:52 ---> f641b1dfb8c6 15:29:52 Step 20/22 : LABEL arch=amd64 15:29:52 ---> Running in 4d76e9512a6f 15:29:53 Removing intermediate container 4d76e9512a6f 15:29:53 ---> 8ede728b63de 15:29:53 Step 21/22 : LABEL git_sha=3d2d236075448d4226f85fa74232ef64b2e6aa47 15:29:53 ---> Running in a09ffc9f2171 15:29:53 Removing intermediate container a09ffc9f2171 15:29:53 ---> de2ce022adae 15:29:53 Step 22/22 : LABEL version=0.0.0 15:29:53 ---> Running in 2a8554bf74e0 15:29:53 Removing intermediate container 2a8554bf74e0 15:29:53 ---> 1cb422d7ea0a 15:29:53 [Warning] One or more build-args [ARCH] were not consumed 15:29:53 Successfully built 1cb422d7ea0a 15:29:53 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 15:29:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:53 15:29:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:53 latest: Pulling from edgex-lftools-log-publisher 15:29:53 5eb5b503b376: Pulling fs layer 15:29:53 5c69ac0246d0: Pulling fs layer 15:29:53 ec43610c2a17: Pulling fs layer 15:29:53 3a2ae6a8a46f: Pulling fs layer 15:29:53 33b1e0a273af: Pulling fs layer 15:29:53 5d3b04190fa2: Pulling fs layer 15:29:53 2f39f015ded8: Pulling fs layer 15:29:53 3a2ae6a8a46f: Waiting 15:29:53 33b1e0a273af: Waiting 15:29:53 5d3b04190fa2: Waiting 15:29:53 2f39f015ded8: Waiting 15:29:53 5c69ac0246d0: Verifying Checksum 15:29:53 5c69ac0246d0: Download complete 15:29:53 3a2ae6a8a46f: Verifying Checksum 15:29:53 3a2ae6a8a46f: Download complete 15:29:54 33b1e0a273af: Verifying Checksum 15:29:54 33b1e0a273af: Download complete 15:29:54 5d3b04190fa2: Verifying Checksum 15:29:54 5d3b04190fa2: Download complete 15:29:54 ec43610c2a17: Verifying Checksum 15:29:54 ec43610c2a17: Download complete 15:29:54 5eb5b503b376: Verifying Checksum 15:29:54 5eb5b503b376: Download complete 15:29:55 2f39f015ded8: Verifying Checksum 15:29:55 2f39f015ded8: Download complete 15:29:55 5eb5b503b376: Pull complete 15:29:55 5c69ac0246d0: Pull complete 15:29:56 ec43610c2a17: Pull complete 15:29:56 3a2ae6a8a46f: Pull complete 15:29:56 33b1e0a273af: Pull complete 15:29:56 5d3b04190fa2: Pull complete 15:30:00 2f39f015ded8: Pull complete 15:30:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:30:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:30:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:00 prd-ubuntu20.04-docker-8c-8g-7594 does not seem to be running inside a container 15:30:00 $ 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-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@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 15:30:02 $ docker top 31361eebdceda0cc90580e9061939fdc12d88d82e51731e6d298873e428a898c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:30:03 ---> job-cost.sh 15:30:03 lf-activate-venv: SKIPPING 15:30:03 INFO: No Stack... 15:30:03 INFO: Retrieving Pricing Info for: v3-standard-8 15:30:03 INFO: Archiving Costs [Pipeline] sh 15:30:04 + + cut -d, -f6 15:30:04 cat /w/workspace/xfoundry_device-modbus-go_PR-419/archives/cost.csv [Pipeline] lock 15:30:04 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-419-3-stack-cost] 15:30:04 Resource [jenkins-edgexfoundry-device-modbus-go-PR-419-3-stack-cost] did not exist. Created. 15:30:04 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-419-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:30:04 + echo total: 0.2199999988079071 [Pipeline] stash 15:30:04 Stashed 1 file(s) [Pipeline] } 15:30:04 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-419-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:30:04 $ docker stop --time=1 31361eebdceda0cc90580e9061939fdc12d88d82e51731e6d298873e428a898c 15:30:05 $ docker rm -f --volumes 31361eebdceda0cc90580e9061939fdc12d88d82e51731e6d298873e428a898c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:31:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7596 in /w/workspace/xfoundry_device-modbus-go_PR-419 [Pipeline] { [Pipeline] ws 15:31:04 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 15:31:04 Selected Git installation does not exist. Using Default 15:31:04 The recommended git tool is: NONE 15:31:10 using credential edgex-jenkins-ssh 15:31:10 Cloning the remote Git repository 15:31:10 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 15:31:10 > git init /w/workspace/device-modbus-go/3 # timeout=10 15:31:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:31:10 > git --version # timeout=10 15:31:10 > git --version # 'git version 2.25.1' 15:31:10 using GIT_SSH to set credentials SSH Credentials for GitHub 15:31:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:31:12 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:31:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:31:13 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:31:13 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:31:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:31:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:31:13 Merging remotes/origin/main commit 96c9b25060a854e15776706019f04b40fe16d5e0 into PR head commit 3d2d236075448d4226f85fa74232ef64b2e6aa47 15:31:14 Merge succeeded, producing 3d2d236075448d4226f85fa74232ef64b2e6aa47 15:31:14 Checking out Revision 3d2d236075448d4226f85fa74232ef64b2e6aa47 (PR-419) 15:31:14 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.1 to 1.8.2" 15:31:13 > git config core.sparsecheckout # timeout=10 15:31:13 > git checkout -f 3d2d236075448d4226f85fa74232ef64b2e6aa47 # timeout=10 15:31:13 > git remote # timeout=10 15:31:13 > git config --get remote.origin.url # timeout=10 15:31:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:31:13 > git merge 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 15:31:14 > git rev-parse HEAD^{commit} # timeout=10 15:31:14 > git config core.sparsecheckout # timeout=10 15:31:14 > git checkout -f 3d2d236075448d4226f85fa74232ef64b2e6aa47 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:31:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:31:15 % Total % Received % Xferd Average Speed Time Time Time Current 15:31:15 Dload Upload Total Spent Left Speed 15:31:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 15:31:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:31:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:31:16 + sudo tee /etc/docker/daemon.new 15:31:16 { 15:31:16 "registry-mirrors": [ 15:31:16 "https://nexus3.edgexfoundry.org:10001" 15:31:16 ], 15:31:16 "bip": "10.250.0.254/24", 15:31:16 "hosts": [ 15:31:16 "tcp://0.0.0.0:5555", 15:31:16 "unix:///var/run/docker.sock" 15:31:16 ], 15:31:16 "mtu": 1458, 15:31:16 "selinux-enabled": true, 15:31:16 "seccomp-profile": "/etc/docker/seccomp.json" 15:31:16 } [Pipeline] sh 15:31:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:31:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:31:35 provisioning config files... 15:31:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config18294025341830529038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:31:35 ---> docker-login.sh 15:31:35 nexus3.edgexfoundry.org:10001 15:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:36 Configure a credential helper to remove this warning. See 15:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:36 15:31:36 Login Succeeded 15:31:36 nexus3.edgexfoundry.org:10002 15:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:36 Configure a credential helper to remove this warning. See 15:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:36 15:31:36 Login Succeeded 15:31:36 nexus3.edgexfoundry.org:10003 15:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:37 Configure a credential helper to remove this warning. See 15:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:37 15:31:37 Login Succeeded 15:31:37 nexus3.edgexfoundry.org:10004 15:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:37 Configure a credential helper to remove this warning. See 15:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:37 15:31:37 Login Succeeded 15:31:37 docker.io 15:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:38 Configure a credential helper to remove this warning. See 15:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:38 15:31:38 Login Succeeded 15:31:38 ---> docker-login.sh ends [Pipeline] } 15:31:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:31:38 ========================================================= 15:31:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:31:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:38 + 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 . 15:31:39 Sending build context to Docker daemon 3.334MB 15:31:39 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:31:39 Step 2/10 : FROM ${BASE} AS builder 15:31:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:31:39 9b18e9b68314: Pulling fs layer 15:31:39 35d82f9e3411: Pulling fs layer 15:31:39 e16973657156: Pulling fs layer 15:31:39 fc693d55d65f: Pulling fs layer 15:31:39 fc693d55d65f: Waiting 15:31:39 7e9fc2657dce: Pulling fs layer 15:31:39 dda99020689f: Pulling fs layer 15:31:39 7e9fc2657dce: Waiting 15:31:39 dda99020689f: Waiting 15:31:39 db1c61fa0a46: Pulling fs layer 15:31:39 891c053d2c06: Pulling fs layer 15:31:39 db1c61fa0a46: Waiting 15:31:39 891c053d2c06: Waiting 15:31:39 e16973657156: Verifying Checksum 15:31:39 e16973657156: Download complete 15:31:39 35d82f9e3411: Verifying Checksum 15:31:39 35d82f9e3411: Download complete 15:31:39 7e9fc2657dce: Download complete 15:31:39 dda99020689f: Download complete 15:31:39 9b18e9b68314: Verifying Checksum 15:31:39 9b18e9b68314: Download complete 15:31:40 9b18e9b68314: Pull complete 15:31:40 891c053d2c06: Verifying Checksum 15:31:40 891c053d2c06: Download complete 15:31:40 35d82f9e3411: Pull complete 15:31:41 e16973657156: Pull complete 15:31:41 db1c61fa0a46: Verifying Checksum 15:31:41 db1c61fa0a46: Download complete 15:31:42 fc693d55d65f: Verifying Checksum 15:31:42 fc693d55d65f: Download complete 15:31:54 fc693d55d65f: Pull complete 15:31:54 7e9fc2657dce: Pull complete 15:31:54 dda99020689f: Pull complete 15:32:01 db1c61fa0a46: Pull complete 15:32:04 891c053d2c06: Pull complete 15:32:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:32:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:32:04 ---> f96f9c87975a 15:32:04 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:32:06 ---> Running in 48dbc09c5c13 15:32:06 Removing intermediate container 48dbc09c5c13 15:32:06 ---> ef223665365f 15:32:06 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:32:06 ---> Running in f0cd243af9cd 15:32:06 Removing intermediate container f0cd243af9cd 15:32:06 ---> c40626ff5624 15:32:06 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:32:06 ---> Running in 02beb93bcdcb 15:32:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:32:09 (1/8) Installing openssh-keygen (9.0_p1-r2) 15:32:09 (2/8) Installing libedit (20210910.3.1-r0) 15:32:09 (3/8) Installing openssh-client-common (9.0_p1-r2) 15:32:09 (4/8) Installing openssh-client-default (9.0_p1-r2) 15:32:09 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 15:32:09 (6/8) Installing openssh-server-common (9.0_p1-r2) 15:32:09 (7/8) Installing openssh-server (9.0_p1-r2) 15:32:09 (8/8) Installing openssh (9.0_p1-r2) 15:32:09 Executing busybox-1.35.0-r17.trigger 15:32:09 OK: 228 MiB in 59 packages 15:32:10 Removing intermediate container 02beb93bcdcb 15:32:10 ---> c3bf5afaa4f9 15:32:10 Step 6/10 : WORKDIR /device-modbus-go 15:32:10 ---> Running in f6b3f80e8686 15:32:10 Removing intermediate container f6b3f80e8686 15:32:10 ---> 9016a47cd3a3 15:32:10 Step 7/10 : COPY go.mod vendor* ./ 15:32:11 ---> b4d8be2e72fb 15:32:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:32:11 ---> Running in 4e33d553d9db 15:33:07 Removing intermediate container 4e33d553d9db 15:33:07 ---> c0a627e884be 15:33:07 Step 9/10 : COPY . . 15:33:07 ---> 76f46ece574f 15:33:07 Step 10/10 : RUN ${MAKE} 15:33:08 ---> Running in 82a851a30ef6 15:33:08 noop 15:33:10 Removing intermediate container 82a851a30ef6 15:33:10 ---> 4ecfeaf9a8cd 15:33:10 Successfully built 4ecfeaf9a8cd 15:33:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:10 + docker inspect -f . ci-base-image-arm64 15:33:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:10 prd-ubuntu20.04-docker-arm64-4c-16g-7596 does not seem to be running inside a container 15:33:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 15:33:12 $ docker top 49c612f15c7780d57ed9d19e22e564e7937dd230403d438dad742276abe45316 -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:13 + go version 15:33:13 go version go1.18.7 linux/arm64 [Pipeline] } 15:33:13 $ docker stop --time=1 49c612f15c7780d57ed9d19e22e564e7937dd230403d438dad742276abe45316 15:33:14 $ docker rm -f --volumes 49c612f15c7780d57ed9d19e22e564e7937dd230403d438dad742276abe45316 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:15 + docker inspect -f . ci-base-image-arm64 15:33:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:15 prd-ubuntu20.04-docker-arm64-4c-16g-7596 does not seem to be running inside a container 15:33:15 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 15:33:16 $ docker top d81f70a24b49f6cf88ac8b4268402620cfb381b4606e1a2d9501c9d366046d28 -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:17 + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh 15:33:18 + make test 15:33:18 go test ./... -coverprofile=coverage.out 15:33:19 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:34:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:34:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 47.7% of statements 15:34:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:34:56 go vet ./... 15:35:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:35:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:35:06 ./bin/test-attribution-txt.sh [Pipeline] echo 15:35:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:35:06 $ docker stop --time=1 d81f70a24b49f6cf88ac8b4268402620cfb381b4606e1a2d9501c9d366046d28 15:35:08 $ docker rm -f --volumes d81f70a24b49f6cf88ac8b4268402620cfb381b4606e1a2d9501c9d366046d28 [Pipeline] // withDockerContainer [Pipeline] sh 15:35:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:35:09 Warning: overwriting stash ‘coverage-report’ 15:35:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:35:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:35:10 + ls -al . 15:35:10 total 180 15:35:10 drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 15:33 . 15:35:10 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:31 .. 15:35:10 -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 15:31 .dockerignore 15:35:10 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:31 .git 15:35:10 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:31 .github 15:35:10 -rw-rw-r-- 1 jenkins jenkins 331 Feb 27 15:31 .gitignore 15:35:10 -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:31 .golangci.yml 15:35:10 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 27 15:31 Attribution.txt 15:35:10 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 27 15:31 CHANGELOG.md 15:35:10 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 27 15:31 Dockerfile 15:35:10 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:31 GOVERNANCE.md 15:35:10 -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:31 Jenkinsfile 15:35:10 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:31 LICENSE 15:35:10 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 27 15:31 Makefile 15:35:10 -rw-rw-r-- 1 jenkins jenkins 622 Feb 27 15:31 OWNERS.md 15:35:10 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 27 15:31 README.md 15:35:10 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 15:28 VERSION 15:35:10 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:31 bin 15:35:10 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:31 cmd 15:35:10 -rw-r--r-- 1 jenkins jenkins 23241 Feb 27 15:34 coverage.out 15:35:10 -rw-rw-r-- 1 jenkins jenkins 3497 Feb 27 15:31 go.mod 15:35:10 -rw-rw-r-- 1 jenkins jenkins 33596 Feb 27 15:31 go.sum 15:35:10 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:31 internal 15:35:10 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:31 simulator 15:35:10 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:31 snap 15:35:10 -rw-rw-r-- 1 jenkins jenkins 229 Feb 27 15:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:10 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3d2d236075448d4226f85fa74232ef64b2e6aa47 --label arch=arm64 --label version=0.0.0 . 15:35:11 Sending build context to Docker daemon 3.358MB 15:35:11 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 15:35:11 Step 2/22 : FROM ${BASE} AS builder 15:35:11 ---> 4ecfeaf9a8cd 15:35:11 Step 3/22 : ARG ADD_BUILD_TAGS="" 15:35:11 ---> Running in 14fc74c76f34 15:35:11 Removing intermediate container 14fc74c76f34 15:35:11 ---> e8d104fdbf90 15:35:11 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:35:11 ---> Running in dd079a506db2 15:35:11 Removing intermediate container dd079a506db2 15:35:11 ---> 9cf79e0a9c8b 15:35:11 Step 5/22 : RUN apk add --update --no-cache make git openssh 15:35:12 ---> Running in 3c0ab94a1a9b 15:35:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:35:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:35:14 OK: 228 MiB in 59 packages 15:35:15 Removing intermediate container 3c0ab94a1a9b 15:35:15 ---> a7a4382acddf 15:35:15 Step 6/22 : WORKDIR /device-modbus-go 15:35:15 ---> Running in 49c7b00f4977 15:35:15 Removing intermediate container 49c7b00f4977 15:35:15 ---> db4a65cad85e 15:35:15 Step 7/22 : COPY go.mod vendor* ./ 15:35:16 ---> 6c776f613d99 15:35:16 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:35:16 ---> Running in b6fd8f1362ce 15:35:21 Removing intermediate container b6fd8f1362ce 15:35:21 ---> 1a30597327d7 15:35:21 Step 9/22 : COPY . . 15:35:21 ---> 9d53d4b37da8 15:35:21 Step 10/22 : RUN ${MAKE} 15:35:22 ---> Running in 43f2e7526044 15:35:23 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 15:37:44 Removing intermediate container 43f2e7526044 15:37:44 ---> d13eb56c3af5 15:37:44 Step 11/22 : FROM alpine:3.14 15:37:44 3.14: Pulling from library/alpine 15:37:44 6f0e733d82e2: Pulling fs layer 15:37:44 6f0e733d82e2: Verifying Checksum 15:37:44 6f0e733d82e2: Download complete 15:37:44 6f0e733d82e2: Pull complete 15:37:44 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 15:37:44 Status: Downloaded newer image for alpine:3.14 15:37:44 ---> bf97f6347a60 15:37:44 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:37:44 ---> Running in ef5bbd35c096 15:37:44 Removing intermediate container ef5bbd35c096 15:37:44 ---> 38718e0cb1cb 15:37:44 Step 13/22 : RUN apk add --update --no-cache dumb-init 15:37:44 ---> Running in f347a89174d8 15:37:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:37:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:37:46 (1/1) Installing dumb-init (1.2.5-r1) 15:37:46 Executing busybox-1.33.1-r8.trigger 15:37:46 OK: 6 MiB in 15 packages 15:37:47 Removing intermediate container f347a89174d8 15:37:47 ---> 53ab5e600d81 15:37:47 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 15:37:48 ---> 0924f09e6862 15:37:48 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 15:37:49 ---> 6b591c15847e 15:37:49 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:37:49 ---> 576ea8ddf6fe 15:37:49 Step 17/22 : EXPOSE 59901 15:37:49 ---> Running in 8266bee9dbac 15:37:49 Removing intermediate container 8266bee9dbac 15:37:49 ---> 0367505f6c4d 15:37:49 Step 18/22 : ENTRYPOINT ["/device-modbus"] 15:37:50 ---> Running in c2df4170c39a 15:37:50 Removing intermediate container c2df4170c39a 15:37:50 ---> 4bf3fcaa14d2 15:37:50 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:37:50 ---> Running in a662cd23220e 15:37:50 Removing intermediate container a662cd23220e 15:37:50 ---> 8b2bfa318b23 15:37:50 Step 20/22 : LABEL arch=arm64 15:37:50 ---> Running in fbcb11ca6ed8 15:37:50 Removing intermediate container fbcb11ca6ed8 15:37:50 ---> 0131570c2309 15:37:50 Step 21/22 : LABEL git_sha=3d2d236075448d4226f85fa74232ef64b2e6aa47 15:37:50 ---> Running in 8428804bf29f 15:37:51 Removing intermediate container 8428804bf29f 15:37:51 ---> 8a3824075018 15:37:51 Step 22/22 : LABEL version=0.0.0 15:37:51 ---> Running in 45c78fc37926 15:37:51 Removing intermediate container 45c78fc37926 15:37:51 ---> 3c3f3e63c681 15:37:51 [Warning] One or more build-args [ARCH] were not consumed 15:37:51 Successfully built 3c3f3e63c681 15:37:51 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 15:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:37:52 15:37:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:37:53 arm64: Pulling from edgex-lftools-log-publisher 15:37:53 8998bd30e6a1: Pulling fs layer 15:37:53 04944245beec: Pulling fs layer 15:37:53 699f458cf7ca: Pulling fs layer 15:37:53 765212b225bb: Pulling fs layer 15:37:53 f23df028b6ca: Pulling fs layer 15:37:53 d65c8cfc05b1: Pulling fs layer 15:37:53 2437ff75d9bd: Pulling fs layer 15:37:53 f23df028b6ca: Waiting 15:37:53 d65c8cfc05b1: Waiting 15:37:53 2437ff75d9bd: Waiting 15:37:53 765212b225bb: Waiting 15:37:53 04944245beec: Verifying Checksum 15:37:53 04944245beec: Download complete 15:37:53 765212b225bb: Verifying Checksum 15:37:53 765212b225bb: Download complete 15:37:54 f23df028b6ca: Verifying Checksum 15:37:54 f23df028b6ca: Download complete 15:37:54 d65c8cfc05b1: Verifying Checksum 15:37:54 d65c8cfc05b1: Download complete 15:37:54 699f458cf7ca: Verifying Checksum 15:37:54 699f458cf7ca: Download complete 15:37:54 8998bd30e6a1: Verifying Checksum 15:37:54 8998bd30e6a1: Download complete 15:37:56 2437ff75d9bd: Verifying Checksum 15:37:56 2437ff75d9bd: Download complete 15:37:58 8998bd30e6a1: Pull complete 15:37:58 04944245beec: Pull complete 15:38:00 699f458cf7ca: Pull complete 15:38:00 765212b225bb: Pull complete 15:38:01 f23df028b6ca: Pull complete 15:38:01 d65c8cfc05b1: Pull complete 15:38:16 2437ff75d9bd: Pull complete 15:38:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:38:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:38:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:16 prd-ubuntu20.04-docker-arm64-4c-16g-7596 does not seem to be running inside a container 15:38:17 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 15:38:19 $ docker top a24b92b5c56a5a11feb825d7993e1a28470ddc4e8cf82804dde527f5da81adc6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:20 ---> job-cost.sh 15:38:20 lf-activate-venv: SKIPPING 15:38:20 INFO: No Stack... 15:38:21 INFO: Retrieving Pricing Info for: v3-standard-4 15:38:21 INFO: Archiving Costs [Pipeline] sh 15:38:22 + cat+ /w/workspace/device-modbus-go/3/archives/cost.csv 15:38:22 cut -d, -f6 [Pipeline] lock 15:38:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-419-3-stack-cost] 15:38:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-419-3-stack-cost] did not exist. Created. 15:38:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-419-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:38:22 /w/workspace/device-modbus-go/3@tmp/durable-218162ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:38:23 + echo total: 0.10999999940395355 [Pipeline] stash 15:38:23 Warning: overwriting stash ‘stack-cost’ 15:38:23 Stashed 1 file(s) [Pipeline] } 15:38:23 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-419-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:38:23 $ docker stop --time=1 a24b92b5c56a5a11feb825d7993e1a28470ddc4e8cf82804dde527f5da81adc6 15:38:24 $ docker rm -f --volumes a24b92b5c56a5a11feb825d7993e1a28470ddc4e8cf82804dde527f5da81adc6 [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 15:38:25 provisioning config files... 15:38:25 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config12866205829090869186tmp [Pipeline] { [Pipeline] sh 15:38:25 + set +x 15:38:25 + curl -s https://codecov.io/bash 15:38:25 + bash -s -- 15:38:25 15:38:25 _____ _ 15:38:25 / ____| | | 15:38:25 | | ___ __| | ___ ___ _____ __ 15:38:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:38:25 | |___| (_) | (_| | __/ (_| (_) \ V / 15:38:25 \_____\___/ \__,_|\___|\___\___/ \_/ 15:38:25 Bash-1.0.6 15:38:25 15:38:25 15:38:25 ==> git version 2.25.1 found 15:38:25 ==> 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 15:38:25 Release-Date: 2020-01-08 15:38:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:38:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:38:25 ==> Jenkins CI detected. 15:38:25 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-419 15:38:25 project root: . 15:38:25 --> token set from env 15:38:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:38:25 ==> Running gcov in . (disable via -X gcov) 15:38:25 ==> Python coveragepy not found 15:38:25 ==> Searching for coverage reports in: 15:38:25 + . 15:38:25 -> Found 1 reports 15:38:25 ==> Detecting git/mercurial file structure 15:38:25 ==> Reading reports 15:38:25 + ./coverage.out bytes=23241 15:38:25 ==> Appending adjustments 15:38:25 https://docs.codecov.io/docs/fixing-reports 15:38:25 + Found adjustments 15:38:25 ==> Gzipping contents 15:38:25 4.0K /tmp/codecov.VVMwz0.gz 15:38:25 ==> Uploading reports 15:38:25 url: https://codecov.io 15:38:25 query: branch=PR-419&commit=3d2d236075448d4226f85fa74232ef64b2e6aa47&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-419%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=419&job=&cmd_args= 15:38:25 -> Pinging Codecov 15:38:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-419&commit=3d2d236075448d4226f85fa74232ef64b2e6aa47&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-419%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=419&job=&cmd_args= 15:38:25 -> Uploading to 15:38:25 https://storage.googleapis.com/codecov/v4/raw/2023-02-27/55DBCA73C666E3227836607328DD7E49/3d2d236075448d4226f85fa74232ef64b2e6aa47/cfa4842a-c212-491c-8926-bdeadfeca3c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T153825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13c44bcb429ee32128a945eddb290f88a24557858ea517f29624bc384685f200 15:38:25 % Total % Received % Xferd Average Speed Time Time Time Current 15:38:25 Dload Upload Total Spent Left Speed 15:38:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3883 0 0 100 3883 0 16882 --:--:-- --:--:-- --:--:-- 16882 15:38:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3d2d236075448d4226f85fa74232ef64b2e6aa47 [Pipeline] } 15:38:25 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 15:38:26 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-419/archives ] 15:38:26 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-419/archives 15:38:26 total 16 15:38:26 drwxr-xr-x 3 root root 4096 Feb 27 15:30 . 15:38:26 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 15:30 .. 15:38:26 drwxr-xr-x 2 root root 4096 Feb 27 15:30 cost 15:38:26 -rw-r--r-- 1 root root 88 Feb 27 15:30 cost.csv 15:38:26 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-419/archives 15:38:26 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-419/archives 15:38:26 total 16 15:38:26 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:30 . 15:38:26 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 15:30 .. 15:38:26 drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 15:30 cost 15:38:26 -rw-r--r-- 1 jenkins jenkins 88 Feb 27 15:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:38:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:38:27 ---> package-listing.sh 15:38:27 ++ facter osfamily 15:38:27 ++ tr '[:upper:]' '[:lower:]' 15:38:28 + OS_FAMILY=debian 15:38:28 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-419 15:38:28 + START_PACKAGES=/tmp/packages_start.txt 15:38:28 + END_PACKAGES=/tmp/packages_end.txt 15:38:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:38:28 + PACKAGES=/tmp/packages_start.txt 15:38:28 + '[' /w/workspace/xfoundry_device-modbus-go_PR-419 ']' 15:38:28 + PACKAGES=/tmp/packages_end.txt 15:38:28 + case "${OS_FAMILY}" in 15:38:28 + dpkg -l 15:38:28 + grep '^ii' 15:38:28 + '[' -f /tmp/packages_start.txt ']' 15:38:28 + '[' -f /tmp/packages_end.txt ']' 15:38:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:38:28 + '[' /w/workspace/xfoundry_device-modbus-go_PR-419 ']' 15:38:28 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-419/archives/ 15:38:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-419/archives/ [Pipeline] echo 15:38:28 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-419/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:38:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:28 prd-ubuntu20.04-docker-8c-8g-7594 does not seem to be running inside a container 15:38:28 $ 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-419/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-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:38:29 $ docker top ca5b6c3a8472471048dc0b433f39f138c0ac0e86bc7204a34b6faee30869b84f -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:29 + touch /tmp/pre-build-complete [Pipeline] sh 15:38:29 + mkdir -p /var/log/sysstat [Pipeline] sh 15:38:30 + ls /var/log/sa-host 15:38:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:30 provisioning config files... 15:38:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config3563628798933134413tmp [Pipeline] { [Pipeline] echo 15:38:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:38:30 ---> create-netrc.sh [Pipeline] } 15:38:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:38:30 ---> python-tools-install.sh [Pipeline] echo 15:38:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:38:31 ---> sudo-logs.sh 15:38:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:38:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:38:31 ---> job-cost.sh 15:38:31 lf-activate-venv: SKIPPING 15:38:31 DEBUG: total: 0.2199999988079071 15:38:31 INFO: Retrieving Stack Cost... 15:38:31 INFO: Retrieving Pricing Info for: v3-standard-8 15:38:32 INFO: Archiving Costs [Pipeline] echo 15:38:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:38:32 ---> logs-deploy.sh 15:38:32 lf-activate-venv: SKIPPING 15:38:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-419/3 15:38:32 INFO: archiving workspace using pattern(s): 15:38:33 Archives upload complete. 15:38:33 INFO: archiving logs to Nexus