Pull request #348 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 0da803b9e852e60e6d0c38932136853af8aaf1e9 rather than 9dcdfc84908e93dba46440de00b39d8ed3a2a737 Obtained Jenkinsfile from 0da803b9e852e60e6d0c38932136853af8aaf1e9 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-ssh11908142614854254830.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh5542994417196991029.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-348/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-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11038044354207960154.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh17287295974595212955.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-348/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-348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15957916386783711737.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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 [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-230’ is offline Running on prd-ubuntu20.04-docker-8c-8g-232 in /w/workspace/xfoundry_device-modbus-go_PR-348 [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-348 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0da803b9e852e60e6d0c38932136853af8aaf1e9 into PR head commit 9dcdfc84908e93dba46440de00b39d8ed3a2a737 Merge succeeded, producing 9dcdfc84908e93dba46440de00b39d8ed3a2a737 Checking out Revision 9dcdfc84908e93dba46440de00b39d8ed3a2a737 (PR-348) > 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/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dcdfc84908e93dba46440de00b39d8ed3a2a737 # 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 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dcdfc84908e93dba46440de00b39d8ed3a2a737 # timeout=10 Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:40:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:40:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:40:19 ========================================================= 04:40:19 EdgeX Global Pipelines Version Info 04:40:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 85b6ad4654018ddd26f21fd92b9104dc86d6064d # timeout=10 04:40:20 ------------------- 04:40:20 stable info: 04:40:20 ------------------- 04:40:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:40:20 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 04:40:20 Message: update stable to v1.0.230 04:40:20 ------------------- 04:40:20 experimental info: 04:40:20 ------------------- 04:40:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:40:20 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 04:40:20 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:40:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-348 [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-348 [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-348 [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9dcdfc84908e93dba46440de00b39d8ed3a2a737 [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9dcdfc8 [Pipeline] echo 04:40:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:40:21 provisioning config files... 04:40:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config4103223583526010891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:21 ---> docker-login.sh 04:40:21 nexus3.edgexfoundry.org:10001 04:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:22 Configure a credential helper to remove this warning. See 04:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:22 04:40:22 Login Succeeded 04:40:22 nexus3.edgexfoundry.org:10002 04:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:22 Configure a credential helper to remove this warning. See 04:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:22 04:40:22 Login Succeeded 04:40:22 nexus3.edgexfoundry.org:10003 04:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:22 Configure a credential helper to remove this warning. See 04:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:22 04:40:22 Login Succeeded 04:40:22 nexus3.edgexfoundry.org:10004 04:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:22 Configure a credential helper to remove this warning. See 04:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:22 04:40:22 Login Succeeded 04:40:22 docker.io 04:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:23 Configure a credential helper to remove this warning. See 04:40:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:23 04:40:23 Login Succeeded 04:40:23 ---> docker-login.sh ends [Pipeline] } 04:40:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:40:23 + git rev-list -1 --merges 9dcdfc84908e93dba46440de00b39d8ed3a2a737~1..9dcdfc84908e93dba46440de00b39d8ed3a2a737 [Pipeline] echo 04:40:23 -----------> git rev-list -1 --merges 9dcdfc84908e93dba46440de00b39d8ed3a2a737~1..9dcdfc84908e93dba46440de00b39d8ed3a2a737 9dcdfc84908e93dba46440de00b39d8ed3a2a737 [false] [Pipeline] sh 04:40:23 + git log --format=format:%s -1 9dcdfc84908e93dba46440de00b39d8ed3a2a737 [Pipeline] echo 04:40:23 ========================================================= 04:40:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:40:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:40:24 + git log --format=format:%s -1 9dcdfc84908e93dba46440de00b39d8ed3a2a737 [Pipeline] echo 04:40:24 [semverPrep] GIT_COMMIT: 9dcdfc84908e93dba46440de00b39d8ed3a2a737, Commit Message: feat: Add go-winio to attribution (new SPIFFE dependency) [Pipeline] echo 04:40:24 [semverPrep] This is not a build commit. [Pipeline] sh 04:40:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:40:24 + grep -v github /etc/ssh/ssh_known_hosts 04:40:24 + [ -e /tmp/ssh_known_hosts ] 04:40:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:40:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:40:24 + sudo tee -a /etc/ssh/ssh_known_hosts 04:40:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:40:25 04:40:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:40:25 latest: Pulling from edgex-devops/py-git-semver 04:40:25 1fe172e4850f: Pulling fs layer 04:40:25 caf521ccaac6: Pulling fs layer 04:40:25 3ead6fa29328: Pulling fs layer 04:40:25 5c2a1cbceb83: Pulling fs layer 04:40:25 a8d5f1318db7: Pulling fs layer 04:40:25 c427282e49a2: Pulling fs layer 04:40:25 1827001aaf11: Pulling fs layer 04:40:25 0714d37db230: Pulling fs layer 04:40:25 ac28cf19c067: Pulling fs layer 04:40:25 ca983d60f3e2: Pulling fs layer 04:40:25 9f894cec8388: Pulling fs layer 04:40:25 5c2a1cbceb83: Waiting 04:40:25 a8d5f1318db7: Waiting 04:40:25 c427282e49a2: Waiting 04:40:25 1827001aaf11: Waiting 04:40:25 0714d37db230: Waiting 04:40:25 ca983d60f3e2: Waiting 04:40:25 9f894cec8388: Waiting 04:40:25 ac28cf19c067: Waiting 04:40:25 caf521ccaac6: Verifying Checksum 04:40:25 caf521ccaac6: Download complete 04:40:25 5c2a1cbceb83: Download complete 04:40:25 a8d5f1318db7: Verifying Checksum 04:40:25 a8d5f1318db7: Download complete 04:40:25 c427282e49a2: Verifying Checksum 04:40:25 c427282e49a2: Download complete 04:40:25 3ead6fa29328: Verifying Checksum 04:40:25 3ead6fa29328: Download complete 04:40:25 0714d37db230: Verifying Checksum 04:40:25 0714d37db230: Download complete 04:40:25 ac28cf19c067: Verifying Checksum 04:40:25 ac28cf19c067: Download complete 04:40:25 ca983d60f3e2: Verifying Checksum 04:40:25 ca983d60f3e2: Download complete 04:40:25 9f894cec8388: Download complete 04:40:25 1fe172e4850f: Verifying Checksum 04:40:25 1fe172e4850f: Download complete 04:40:25 1827001aaf11: Verifying Checksum 04:40:25 1827001aaf11: Download complete 04:40:27 1fe172e4850f: Pull complete 04:40:27 caf521ccaac6: Pull complete 04:40:27 3ead6fa29328: Pull complete 04:40:27 5c2a1cbceb83: Pull complete 04:40:28 a8d5f1318db7: Pull complete 04:40:28 c427282e49a2: Pull complete 04:40:30 1827001aaf11: Pull complete 04:40:30 0714d37db230: Pull complete 04:40:30 ac28cf19c067: Pull complete 04:40:30 ca983d60f3e2: Pull complete 04:40:30 9f894cec8388: Pull complete 04:40:30 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 04:40:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:40:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:30 prd-ubuntu20.04-docker-8c-8g-232 does not seem to be running inside a container 04:40:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:40:32 $ docker top 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 -eo pid,comm 04:40:32 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). 04:40:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:40:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:40:32 [ssh-agent] Looking for ssh-agent implementation... 04:40:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:40:32 $ docker exec 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 ssh-agent 04:40:32 SSH_AUTH_SOCK=/tmp/ssh-BFbJjEzhc9Ot/agent.33 04:40:32 SSH_AGENT_PID=41 04:40:32 Running ssh-add (command line suppressed) 04:40:32 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_4051921074807193211.key (/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_4051921074807193211.key) 04:40:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:40:33 + git tag --points-at HEAD [Pipeline] } 04:40:33 $ docker exec --env ******** --env ******** 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 ssh-agent -k 04:40:33 unset SSH_AUTH_SOCK; 04:40:33 unset SSH_AGENT_PID; 04:40:33 echo Agent pid 41 killed; 04:40:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:40:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:40:33 [ssh-agent] Looking for ssh-agent implementation... 04:40:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:40:33 $ docker exec 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 ssh-agent 04:40:33 SSH_AUTH_SOCK=/tmp/ssh-RNzSx6RJeAjd/agent.73 04:40:33 SSH_AGENT_PID=79 04:40:33 Running ssh-add (command line suppressed) 04:40:33 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_4706319128455223025.key (/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_4706319128455223025.key) 04:40:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:40:34 + git semver init 04:40:34 2022-05-27 04:40:34,285 [run_init] DEBUG init version:0.0.0 force:False 04:40:34 2022-05-27 04:40:34,286 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-348/.semver 04:40:34 2022-05-27 04:40:34,287 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-348/.semver 04:40:34 2022-05-27 04:40:34,288 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-348/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-348, universal_newlines=False, shell=None, istream=None) 04:40:35 2022-05-27 04:40:35,026 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-348/.git/info/exclude 04:40:35 2022-05-27 04:40:35,026 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-348/.semver/PR-348 with force:False 04:40:35 2022-05-27 04:40:35,026 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-348/.semver/PR-348 04:40:35 2022-05-27 04:40:35,031 [execute] INFO git cat-file --batch-check 04:40:35 2022-05-27 04:40:35,031 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-348/.semver, universal_newlines=False, shell=None, istream=) 04:40:35 2022-05-27 04:40:35,037 [execute] INFO git cat-file --batch 04:40:35 2022-05-27 04:40:35,038 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-348/.semver, universal_newlines=False, shell=None, istream=) 04:40:35 2022-05-27 04:40:35,043 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-348/.semver/PR-348 04:40:35 0.0.0 [Pipeline] } 04:40:35 $ docker exec --env ******** --env ******** 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 ssh-agent -k 04:40:35 unset SSH_AUTH_SOCK; 04:40:35 unset SSH_AGENT_PID; 04:40:35 echo Agent pid 79 killed; 04:40:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:40:35 + git semver [Pipeline] } 04:40:36 $ docker stop --time=1 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 04:40:37 $ docker rm -f 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 [Pipeline] // withDockerContainer [Pipeline] sh 04:40:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:40:38 Stashed 1 file(s) [Pipeline] echo 04:40:38 [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 04:40:38 provisioning config files... 04:40:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config5555241554569670623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:38 ---> docker-login.sh 04:40:38 nexus3.edgexfoundry.org:10001 04:40:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:38 Configure a credential helper to remove this warning. See 04:40:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:38 04:40:38 Login Succeeded 04:40:38 nexus3.edgexfoundry.org:10002 04:40:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:38 Configure a credential helper to remove this warning. See 04:40:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:38 04:40:38 Login Succeeded 04:40:38 nexus3.edgexfoundry.org:10003 04:40:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:38 Configure a credential helper to remove this warning. See 04:40:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:38 04:40:38 Login Succeeded 04:40:38 nexus3.edgexfoundry.org:10004 04:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:39 Configure a credential helper to remove this warning. See 04:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:39 04:40:39 Login Succeeded 04:40:39 docker.io 04:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:39 Configure a credential helper to remove this warning. See 04:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:39 04:40:39 Login Succeeded 04:40:39 ---> docker-login.sh ends [Pipeline] } 04:40:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:40:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:40:39 ========================================================= 04:40:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:40:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:40:39 Sending build context to Docker daemon 5.841MB 04:40:39 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 04:40:39 Step 2/10 : FROM ${BASE} AS builder 04:40:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:40:39 59bf1c3509f3: Pulling fs layer 04:40:39 666ba61612fd: Pulling fs layer 04:40:39 8ed8ca486205: Pulling fs layer 04:40:39 4fe6c5a15a65: Pulling fs layer 04:40:39 22a0e8bec74d: Pulling fs layer 04:40:39 ca2b28591e48: Pulling fs layer 04:40:39 a51346096db8: Pulling fs layer 04:40:39 daebc70d1ce1: Pulling fs layer 04:40:39 0e18a0eac166: Pulling fs layer 04:40:39 22a0e8bec74d: Waiting 04:40:39 daebc70d1ce1: Waiting 04:40:39 ca2b28591e48: Waiting 04:40:39 0e18a0eac166: Waiting 04:40:39 a51346096db8: Waiting 04:40:39 4fe6c5a15a65: Waiting 04:40:40 8ed8ca486205: Verifying Checksum 04:40:40 8ed8ca486205: Download complete 04:40:40 666ba61612fd: Verifying Checksum 04:40:40 666ba61612fd: Download complete 04:40:40 22a0e8bec74d: Verifying Checksum 04:40:40 22a0e8bec74d: Download complete 04:40:40 ca2b28591e48: Verifying Checksum 04:40:40 ca2b28591e48: Download complete 04:40:40 59bf1c3509f3: Verifying Checksum 04:40:40 59bf1c3509f3: Download complete 04:40:40 a51346096db8: Verifying Checksum 04:40:40 a51346096db8: Download complete 04:40:40 daebc70d1ce1: Verifying Checksum 04:40:40 daebc70d1ce1: Download complete 04:40:40 59bf1c3509f3: Pull complete 04:40:40 666ba61612fd: Pull complete 04:40:40 8ed8ca486205: Pull complete 04:40:40 0e18a0eac166: Verifying Checksum 04:40:40 0e18a0eac166: Download complete 04:40:40 4fe6c5a15a65: Verifying Checksum 04:40:40 4fe6c5a15a65: Download complete 04:40:45 4fe6c5a15a65: Pull complete 04:40:45 22a0e8bec74d: Pull complete 04:40:45 ca2b28591e48: Pull complete 04:40:45 a51346096db8: Pull complete 04:40:45 daebc70d1ce1: Pull complete 04:40:46 0e18a0eac166: Pull complete 04:40:46 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 04:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:40:46 ---> f018257e8ee9 04:40:46 Step 3/10 : ARG MAKE='make build' 04:40:48 ---> Running in 807df809af8c 04:40:48 Removing intermediate container 807df809af8c 04:40:48 ---> 65019f066c99 04:40:48 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:40:48 ---> Running in 9a9c5cacd092 04:40:49 Removing intermediate container 9a9c5cacd092 04:40:49 ---> 2608d2c41b69 04:40:49 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 04:40:49 ---> Running in 43b79498c8bb 04:40:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:40:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:40:50 (1/8) Installing openssh-keygen (8.8_p1-r1) 04:40:50 (2/8) Installing libedit (20210910.3.1-r0) 04:40:51 (3/8) Installing openssh-client-common (8.8_p1-r1) 04:40:51 (4/8) Installing openssh-client-default (8.8_p1-r1) 04:40:51 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 04:40:51 (6/8) Installing openssh-server-common (8.8_p1-r1) 04:40:51 (7/8) Installing openssh-server (8.8_p1-r1) 04:40:51 (8/8) Installing openssh (8.8_p1-r1) 04:40:51 Executing busybox-1.34.1-r3.trigger 04:40:51 OK: 226 MiB in 60 packages 04:40:51 Removing intermediate container 43b79498c8bb 04:40:51 ---> 9ec6f23e98a1 04:40:51 Step 6/10 : WORKDIR /device-modbus-go 04:40:51 ---> Running in 33a2ce36adca 04:40:52 Removing intermediate container 33a2ce36adca 04:40:52 ---> 6cce53df33c5 04:40:52 Step 7/10 : COPY go.mod vendor* ./ 04:40:52 ---> 3f577b2a7216 04:40:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:40:52 ---> Running in 3939e363a1c0 04:40:53 Still waiting to schedule task 04:40:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-231’ is offline 04:41:07 Removing intermediate container 3939e363a1c0 04:41:07 ---> 6b3701dbc45f 04:41:07 Step 9/10 : COPY . . 04:41:07 ---> cb651c1651ec 04:41:07 Step 10/10 : RUN ${MAKE} 04:41:07 ---> Running in d7a07da51e47 04:41:07 noop 04:41:07 Removing intermediate container d7a07da51e47 04:41:07 ---> 45114c9d2e46 04:41:07 Successfully built 45114c9d2e46 04:41:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:07 + docker inspect -f . ci-base-image-x86_64 04:41:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:07 prd-ubuntu20.04-docker-8c-8g-232 does not seem to be running inside a container 04:41:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:41:07 $ docker top fc40002354ecad87f765f4ff8f29a60c4e1f569744f1a652b3af0e1cf93d3908 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:08 + go version 04:41:08 go version go1.17.6 linux/amd64 [Pipeline] } 04:41:08 $ docker stop --time=1 fc40002354ecad87f765f4ff8f29a60c4e1f569744f1a652b3af0e1cf93d3908 04:41:09 $ docker rm -f fc40002354ecad87f765f4ff8f29a60c4e1f569744f1a652b3af0e1cf93d3908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:10 + docker inspect -f . ci-base-image-x86_64 04:41:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:10 prd-ubuntu20.04-docker-8c-8g-232 does not seem to be running inside a container 04:41:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:41:10 $ docker top b8d967b96a44a95efd695ded8675ea0b5f6dd5bb89921666a8aea1b26af4d6a5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:41:10 + make test 04:41:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:41:11 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:41:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:41:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 46.4% of statements 04:41:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:41:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:41:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:41:33 ./bin/test-attribution-txt.sh [Pipeline] echo 04:41:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:41:33 $ docker stop --time=1 b8d967b96a44a95efd695ded8675ea0b5f6dd5bb89921666a8aea1b26af4d6a5 04:41:35 $ docker rm -f b8d967b96a44a95efd695ded8675ea0b5f6dd5bb89921666a8aea1b26af4d6a5 [Pipeline] // withDockerContainer [Pipeline] sh 04:41:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:41:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:41:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:41:36 + ls -al . 04:41:36 total 184 04:41:36 drwxrwxr-x 10 jenkins jenkins 4096 May 27 04:41 . 04:41:36 drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:40 .. 04:41:36 -rw-rw-r-- 1 jenkins jenkins 140 May 27 04:40 .dockerignore 04:41:36 drwxrwxr-x 8 jenkins jenkins 4096 May 27 04:40 .git 04:41:36 drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:40 .github 04:41:36 -rw-rw-r-- 1 jenkins jenkins 331 May 27 04:40 .gitignore 04:41:36 -rw-rw-r-- 1 jenkins jenkins 41 May 27 04:40 .golangci.yml 04:41:36 drwxr-xr-x 3 jenkins jenkins 4096 May 27 04:40 .semver 04:41:36 -rw-rw-r-- 1 jenkins jenkins 9510 May 27 04:40 Attribution.txt 04:41:36 -rw-rw-r-- 1 jenkins jenkins 10001 May 27 04:40 CHANGELOG.md 04:41:36 -rw-rw-r-- 1 jenkins jenkins 1546 May 27 04:40 Dockerfile 04:41:36 -rw-rw-r-- 1 jenkins jenkins 677 May 27 04:40 GOVERNANCE.md 04:41:36 -rw-rw-r-- 1 jenkins jenkins 680 May 27 04:40 Jenkinsfile 04:41:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 27 04:40 LICENSE 04:41:36 -rw-rw-r-- 1 jenkins jenkins 1905 May 27 04:40 Makefile 04:41:36 -rw-rw-r-- 1 jenkins jenkins 622 May 27 04:40 OWNERS.md 04:41:36 -rw-rw-r-- 1 jenkins jenkins 3397 May 27 04:40 README.md 04:41:36 -rw-rw-r-- 1 jenkins jenkins 5 May 27 04:40 VERSION 04:41:36 drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:40 bin 04:41:36 drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:40 cmd 04:41:36 -rw-r--r-- 1 jenkins jenkins 24065 May 27 04:41 coverage.out 04:41:36 -rw-rw-r-- 1 jenkins jenkins 3353 May 27 04:40 go.mod 04:41:36 -rw-rw-r-- 1 jenkins jenkins 34983 May 27 04:40 go.sum 04:41:36 drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:40 internal 04:41:36 drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:40 simulator 04:41:36 drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:40 snap 04:41:36 -rw-rw-r-- 1 jenkins jenkins 229 May 27 04:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:36 + 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=9dcdfc84908e93dba46440de00b39d8ed3a2a737 --label arch=amd64 --label version=0.0.0 . 04:41:36 Sending build context to Docker daemon 5.866MB 04:41:36 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 04:41:36 Step 2/23 : FROM ${BASE} AS builder 04:41:36 ---> 45114c9d2e46 04:41:36 Step 3/23 : ARG MAKE='make build' 04:41:36 ---> Running in 3a347bde4c7c 04:41:36 Removing intermediate container 3a347bde4c7c 04:41:36 ---> 2309ac8507cf 04:41:36 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:41:36 ---> Running in 397d91fd20ee 04:41:37 Removing intermediate container 397d91fd20ee 04:41:37 ---> 042f8018f993 04:41:37 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 04:41:37 ---> Running in adabb3478b74 04:41:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:41:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:41:38 OK: 226 MiB in 60 packages 04:41:39 Removing intermediate container adabb3478b74 04:41:39 ---> 3fad8157a50c 04:41:39 Step 6/23 : WORKDIR /device-modbus-go 04:41:39 ---> Running in 0eecedb0f197 04:41:39 Removing intermediate container 0eecedb0f197 04:41:39 ---> 0529149d317c 04:41:39 Step 7/23 : COPY go.mod vendor* ./ 04:41:39 ---> 92f7c329d7e2 04:41:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:41:39 ---> Running in 7631ed599252 04:41:40 Removing intermediate container 7631ed599252 04:41:40 ---> 1d7b6ff18e92 04:41:40 Step 9/23 : COPY . . 04:41:40 ---> 88ff1f4e0e01 04:41:40 Step 10/23 : RUN ${MAKE} 04:41:40 ---> Running in 14cb3ac7b653 04:41:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 04:42:02 Removing intermediate container 14cb3ac7b653 04:42:02 ---> f432e0635124 04:42:02 Step 11/23 : FROM alpine:3.14 04:42:02 3.14: Pulling from library/alpine 04:42:02 8663204ce13b: Pulling fs layer 04:42:02 8663204ce13b: Verifying Checksum 04:42:02 8663204ce13b: Download complete 04:42:02 8663204ce13b: Pull complete 04:42:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:42:02 Status: Downloaded newer image for alpine:3.14 04:42:02 ---> e04c818066af 04:42:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:42:02 ---> Running in 73cd767e0514 04:42:02 Removing intermediate container 73cd767e0514 04:42:02 ---> 6eb590964e93 04:42:02 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:42:02 ---> Running in a2a0451b195f 04:42:02 Removing intermediate container a2a0451b195f 04:42:02 ---> 5b390da79278 04:42:02 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 04:42:02 ---> Running in f45d62b9ab40 04:42:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:42:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:42:04 (1/6) Installing dumb-init (1.2.5-r1) 04:42:04 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:42:04 (3/6) Installing libsodium (1.0.18-r0) 04:42:04 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:42:04 (5/6) Installing libzmq (4.3.4-r0) 04:42:04 (6/6) Installing zeromq (4.3.4-r0) 04:42:04 Executing busybox-1.33.1-r7.trigger 04:42:04 OK: 8 MiB in 20 packages 04:42:04 Removing intermediate container f45d62b9ab40 04:42:04 ---> c682c2483ad5 04:42:04 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 04:42:05 ---> 3d613c04a8ce 04:42:05 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 04:42:05 ---> f2bf6a8b639b 04:42:05 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:42:05 ---> 2b55fff58d5d 04:42:05 Step 18/23 : EXPOSE 59901 04:42:06 ---> Running in fda9f99df0f8 04:42:06 Removing intermediate container fda9f99df0f8 04:42:06 ---> 77088e203c35 04:42:06 Step 19/23 : ENTRYPOINT ["/device-modbus"] 04:42:06 ---> Running in a5f1fe5831bf 04:42:06 Removing intermediate container a5f1fe5831bf 04:42:06 ---> a46f08e8ab83 04:42:06 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:42:06 ---> Running in f14f164091f4 04:42:06 Removing intermediate container f14f164091f4 04:42:06 ---> b8df3a5464d3 04:42:06 Step 21/23 : LABEL arch=amd64 04:42:06 ---> Running in 756a04edf301 04:42:06 Removing intermediate container 756a04edf301 04:42:06 ---> e013431d8fff 04:42:06 Step 22/23 : LABEL git_sha=9dcdfc84908e93dba46440de00b39d8ed3a2a737 04:42:06 ---> Running in 6e09a7fa8dc5 04:42:06 Removing intermediate container 6e09a7fa8dc5 04:42:06 ---> ed8cf1f036bf 04:42:06 Step 23/23 : LABEL version=0.0.0 04:42:06 ---> Running in 5646c400c19c 04:42:06 Removing intermediate container 5646c400c19c 04:42:06 ---> 9a2cd02ff128 04:42:06 [Warning] One or more build-args [ARCH] were not consumed 04:42:06 Successfully built 9a2cd02ff128 04:42:06 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 04:42:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:07 04:42:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:07 latest: Pulling from edgex-lftools-log-publisher 04:42:07 5eb5b503b376: Pulling fs layer 04:42:07 5c69ac0246d0: Pulling fs layer 04:42:07 ec43610c2a17: Pulling fs layer 04:42:07 3a2ae6a8a46f: Pulling fs layer 04:42:07 33b1e0a273af: Pulling fs layer 04:42:07 5d3b04190fa2: Pulling fs layer 04:42:07 2f39f015ded8: Pulling fs layer 04:42:07 3a2ae6a8a46f: Waiting 04:42:07 33b1e0a273af: Waiting 04:42:07 5d3b04190fa2: Waiting 04:42:07 2f39f015ded8: Waiting 04:42:07 5c69ac0246d0: Verifying Checksum 04:42:07 5c69ac0246d0: Download complete 04:42:07 3a2ae6a8a46f: Verifying Checksum 04:42:07 3a2ae6a8a46f: Download complete 04:42:07 33b1e0a273af: Verifying Checksum 04:42:07 33b1e0a273af: Download complete 04:42:07 ec43610c2a17: Verifying Checksum 04:42:07 ec43610c2a17: Download complete 04:42:07 5d3b04190fa2: Verifying Checksum 04:42:07 5d3b04190fa2: Download complete 04:42:07 5eb5b503b376: Verifying Checksum 04:42:07 5eb5b503b376: Download complete 04:42:08 2f39f015ded8: Download complete 04:42:09 5eb5b503b376: Pull complete 04:42:09 5c69ac0246d0: Pull complete 04:42:09 ec43610c2a17: Pull complete 04:42:09 3a2ae6a8a46f: Pull complete 04:42:10 33b1e0a273af: Pull complete 04:42:10 5d3b04190fa2: Pull complete 04:42:15 2f39f015ded8: Pull complete 04:42:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:42:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:15 prd-ubuntu20.04-docker-8c-8g-232 does not seem to be running inside a container 04:42:15 $ 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-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:42:17 $ docker top 4d4a58991a7fe69c480a6b9980ada4383c65631fa7039346880c53b2a6c95b05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:17 ---> job-cost.sh 04:42:17 lf-activate-venv: SKIPPING 04:42:17 INFO: No Stack... 04:42:18 INFO: Retrieving Pricing Info for: v3-standard-8 04:42:18 INFO: Archiving Costs [Pipeline] sh 04:42:18 + cat /w/workspace/xfoundry_device-modbus-go_PR-348/archives/cost.csv 04:42:18 + cut -d, -f6 [Pipeline] lock 04:42:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] 04:42:18 Resource [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] did not exist. Created. 04:42:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:42:19 + echo total: 0.2199999988079071 [Pipeline] stash 04:42:19 Stashed 1 file(s) [Pipeline] } 04:42:19 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:42:19 $ docker stop --time=1 4d4a58991a7fe69c480a6b9980ada4383c65631fa7039346880c53b2a6c95b05 04:42:20 $ docker rm -f 4d4a58991a7fe69c480a6b9980ada4383c65631fa7039346880c53b2a6c95b05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:42:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-233 in /w/workspace/xfoundry_device-modbus-go_PR-348 [Pipeline] { [Pipeline] ws 04:42:27 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 04:42:27 Selected Git installation does not exist. Using Default 04:42:27 The recommended git tool is: NONE 04:42:34 using credential edgex-jenkins-ssh 04:42:34 Cloning the remote Git repository 04:42:34 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:42:34 > git init /w/workspace/device-modbus-go/2 # timeout=10 04:42:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:42:34 > git --version # timeout=10 04:42:34 > git --version # 'git version 2.25.1' 04:42:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:42:36 Merging remotes/origin/main commit 0da803b9e852e60e6d0c38932136853af8aaf1e9 into PR head commit 9dcdfc84908e93dba46440de00b39d8ed3a2a737 04:42:36 Merge succeeded, producing 9dcdfc84908e93dba46440de00b39d8ed3a2a737 04:42:36 Checking out Revision 9dcdfc84908e93dba46440de00b39d8ed3a2a737 (PR-348) 04:42:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:42:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:42:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:42:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:42:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:42:36 > git config core.sparsecheckout # timeout=10 04:42:36 > git checkout -f 9dcdfc84908e93dba46440de00b39d8ed3a2a737 # timeout=10 04:42:36 > git remote # timeout=10 04:42:36 > git config --get remote.origin.url # timeout=10 04:42:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:36 > git merge 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 04:42:36 > git rev-parse HEAD^{commit} # timeout=10 04:42:36 > git config core.sparsecheckout # timeout=10 04:42:36 > git checkout -f 9dcdfc84908e93dba46440de00b39d8ed3a2a737 # timeout=10 04:42:40 Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:42:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:42:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:42:41 Dload Upload Total Spent Left Speed 04:42:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51054 0 --:--:-- --:--:-- --:--:-- 51054 [Pipeline] sh 04:42:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:42:42 + sudo tee /etc/docker/daemon.new 04:42:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:42:42 { 04:42:42 "registry-mirrors": [ 04:42:42 "https://nexus3.edgexfoundry.org:10001" 04:42:42 ], 04:42:42 "bip": "10.250.0.254/24", 04:42:42 "hosts": [ 04:42:42 "tcp://0.0.0.0:5555", 04:42:42 "unix:///var/run/docker.sock" 04:42:42 ], 04:42:42 "mtu": 1458, 04:42:42 "selinux-enabled": true, 04:42:42 "seccomp-profile": "/etc/docker/seccomp.json" 04:42:42 } [Pipeline] sh 04:42:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:42:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:43:01 provisioning config files... 04:43:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config4113331254683154386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:43:02 ---> docker-login.sh 04:43:02 nexus3.edgexfoundry.org:10001 04:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:43:03 Configure a credential helper to remove this warning. See 04:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:43:03 04:43:03 Login Succeeded 04:43:03 nexus3.edgexfoundry.org:10002 04:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:43:03 Configure a credential helper to remove this warning. See 04:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:43:03 04:43:03 Login Succeeded 04:43:03 nexus3.edgexfoundry.org:10003 04:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:43:04 Configure a credential helper to remove this warning. See 04:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:43:04 04:43:04 Login Succeeded 04:43:04 nexus3.edgexfoundry.org:10004 04:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:43:04 Configure a credential helper to remove this warning. See 04:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:43:04 04:43:04 Login Succeeded 04:43:04 docker.io 04:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:43:05 Configure a credential helper to remove this warning. See 04:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:43:05 04:43:05 Login Succeeded 04:43:05 ---> docker-login.sh ends [Pipeline] } 04:43:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:43:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:43:06 ========================================================= 04:43:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:43:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:43:06 Sending build context to Docker daemon 3.031MB 04:43:06 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 04:43:06 Step 2/10 : FROM ${BASE} AS builder 04:43:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:43:06 9b3977197b4f: Pulling fs layer 04:43:06 1a89e8eeedd5: Pulling fs layer 04:43:06 94645a83ff95: Pulling fs layer 04:43:06 3f3a8bcf1eab: Pulling fs layer 04:43:06 0c92f367c5e7: Pulling fs layer 04:43:06 3f3a8bcf1eab: Waiting 04:43:06 3096ccb668a1: Pulling fs layer 04:43:06 e8cf19c19ddd: Pulling fs layer 04:43:06 a4caa8a26152: Pulling fs layer 04:43:06 0c92f367c5e7: Waiting 04:43:06 e8cf19c19ddd: Waiting 04:43:06 a4caa8a26152: Waiting 04:43:06 3096ccb668a1: Waiting 04:43:06 94645a83ff95: Verifying Checksum 04:43:06 94645a83ff95: Download complete 04:43:06 1a89e8eeedd5: Download complete 04:43:06 0c92f367c5e7: Download complete 04:43:06 3096ccb668a1: Verifying Checksum 04:43:06 3096ccb668a1: Download complete 04:43:06 e8cf19c19ddd: Verifying Checksum 04:43:06 e8cf19c19ddd: Download complete 04:43:06 9b3977197b4f: Download complete 04:43:07 9b3977197b4f: Pull complete 04:43:08 1a89e8eeedd5: Pull complete 04:43:08 94645a83ff95: Pull complete 04:43:09 a4caa8a26152: Verifying Checksum 04:43:09 a4caa8a26152: Download complete 04:43:09 3f3a8bcf1eab: Verifying Checksum 04:43:09 3f3a8bcf1eab: Download complete 04:43:22 3f3a8bcf1eab: Pull complete 04:43:22 0c92f367c5e7: Pull complete 04:43:22 3096ccb668a1: Pull complete 04:43:22 e8cf19c19ddd: Pull complete 04:43:29 a4caa8a26152: Pull complete 04:43:29 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:43:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:43:29 ---> 725f1c02e7f9 04:43:29 Step 3/10 : ARG MAKE='make build' 04:43:29 ---> Running in cfd9c5061459 04:43:30 Removing intermediate container cfd9c5061459 04:43:30 ---> 581d4256a761 04:43:30 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:43:30 ---> Running in 91e7f8b43b60 04:43:32 Removing intermediate container 91e7f8b43b60 04:43:32 ---> 7320e79b4965 04:43:32 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 04:43:32 ---> Running in 0228d6c9cda8 04:43:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:43:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:43:34 (1/8) Installing openssh-keygen (8.8_p1-r1) 04:43:34 (2/8) Installing libedit (20210910.3.1-r0) 04:43:34 (3/8) Installing openssh-client-common (8.8_p1-r1) 04:43:34 (4/8) Installing openssh-client-default (8.8_p1-r1) 04:43:35 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 04:43:35 (6/8) Installing openssh-server-common (8.8_p1-r1) 04:43:35 (7/8) Installing openssh-server (8.8_p1-r1) 04:43:35 (8/8) Installing openssh (8.8_p1-r1) 04:43:35 Executing busybox-1.34.1-r3.trigger 04:43:35 OK: 226 MiB in 60 packages 04:43:36 Removing intermediate container 0228d6c9cda8 04:43:36 ---> 35e23fb467ba 04:43:36 Step 6/10 : WORKDIR /device-modbus-go 04:43:36 ---> Running in 2fdd8ccf0e4a 04:43:37 Removing intermediate container 2fdd8ccf0e4a 04:43:37 ---> 2500f041557c 04:43:37 Step 7/10 : COPY go.mod vendor* ./ 04:43:37 ---> 8082972e1abb 04:43:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:37 ---> Running in 85d1afa09e06 04:44:24 Removing intermediate container 85d1afa09e06 04:44:24 ---> f25dc7b66d73 04:44:24 Step 9/10 : COPY . . 04:44:24 ---> 9c23c518dcb9 04:44:24 Step 10/10 : RUN ${MAKE} 04:44:24 ---> Running in a1c8560ccd6c 04:44:24 noop 04:44:24 Removing intermediate container a1c8560ccd6c 04:44:24 ---> 36e109a009cf 04:44:24 Successfully built 36e109a009cf 04:44:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:25 + docker inspect -f . ci-base-image-arm64 04:44:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:25 prd-ubuntu20.04-docker-arm64-4c-16g-233 does not seem to be running inside a container 04:44:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:44:26 $ docker top 3a0718adbd71e7ba4b1b7540ba93d5f9b4f98435064dc821188f2375fc21bb70 -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:27 + go version 04:44:27 go version go1.17.6 linux/arm64 [Pipeline] } 04:44:27 $ docker stop --time=1 3a0718adbd71e7ba4b1b7540ba93d5f9b4f98435064dc821188f2375fc21bb70 04:44:29 $ docker rm -f 3a0718adbd71e7ba4b1b7540ba93d5f9b4f98435064dc821188f2375fc21bb70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:29 + docker inspect -f . ci-base-image-arm64 04:44:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:30 prd-ubuntu20.04-docker-arm64-4c-16g-233 does not seem to be running inside a container 04:44:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:44:31 $ docker top 2712144e864119917998f1edc5c431a3b3c79d7d0b1d099d7cc0b3fc4ca227f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:44:32 + make test 04:44:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:44:33 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:45:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:45:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 46.4% of statements 04:45:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:45:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:46:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:46:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:46:17 ./bin/test-attribution-txt.sh [Pipeline] echo 04:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:46:17 $ docker stop --time=1 2712144e864119917998f1edc5c431a3b3c79d7d0b1d099d7cc0b3fc4ca227f3 04:46:19 $ docker rm -f 2712144e864119917998f1edc5c431a3b3c79d7d0b1d099d7cc0b3fc4ca227f3 [Pipeline] // withDockerContainer [Pipeline] sh 04:46:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:46:20 Warning: overwriting stash ‘coverage-report’ 04:46:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:46:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:46:21 + ls -al . 04:46:21 total 180 04:46:21 drwxrwxr-x 9 jenkins jenkins 4096 May 27 04:46 . 04:46:21 drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:42 .. 04:46:21 -rw-rw-r-- 1 jenkins jenkins 140 May 27 04:42 .dockerignore 04:46:21 drwxrwxr-x 8 jenkins jenkins 4096 May 27 04:42 .git 04:46:21 drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:42 .github 04:46:21 -rw-rw-r-- 1 jenkins jenkins 331 May 27 04:42 .gitignore 04:46:21 -rw-rw-r-- 1 jenkins jenkins 41 May 27 04:42 .golangci.yml 04:46:21 -rw-rw-r-- 1 jenkins jenkins 9510 May 27 04:42 Attribution.txt 04:46:21 -rw-rw-r-- 1 jenkins jenkins 10001 May 27 04:42 CHANGELOG.md 04:46:21 -rw-rw-r-- 1 jenkins jenkins 1546 May 27 04:42 Dockerfile 04:46:21 -rw-rw-r-- 1 jenkins jenkins 677 May 27 04:42 GOVERNANCE.md 04:46:21 -rw-rw-r-- 1 jenkins jenkins 680 May 27 04:42 Jenkinsfile 04:46:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 27 04:42 LICENSE 04:46:21 -rw-rw-r-- 1 jenkins jenkins 1905 May 27 04:42 Makefile 04:46:21 -rw-rw-r-- 1 jenkins jenkins 622 May 27 04:42 OWNERS.md 04:46:21 -rw-rw-r-- 1 jenkins jenkins 3397 May 27 04:42 README.md 04:46:21 -rw-rw-r-- 1 jenkins jenkins 5 May 27 04:40 VERSION 04:46:21 drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:42 bin 04:46:21 drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:42 cmd 04:46:21 -rw-r--r-- 1 jenkins jenkins 24065 May 27 04:45 coverage.out 04:46:21 -rw-rw-r-- 1 jenkins jenkins 3353 May 27 04:42 go.mod 04:46:21 -rw-rw-r-- 1 jenkins jenkins 34983 May 27 04:42 go.sum 04:46:21 drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:42 internal 04:46:21 drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:42 simulator 04:46:21 drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:42 snap 04:46:21 -rw-rw-r-- 1 jenkins jenkins 229 May 27 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:22 + 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=9dcdfc84908e93dba46440de00b39d8ed3a2a737 --label arch=arm64 --label version=0.0.0 . 04:46:22 Sending build context to Docker daemon 3.056MB 04:46:22 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 04:46:22 Step 2/23 : FROM ${BASE} AS builder 04:46:22 ---> 36e109a009cf 04:46:22 Step 3/23 : ARG MAKE='make build' 04:46:22 ---> Running in 4a7ead3fe637 04:46:22 Removing intermediate container 4a7ead3fe637 04:46:22 ---> c3820d6e4588 04:46:22 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:46:22 ---> Running in 0498658e80d2 04:46:24 Removing intermediate container 0498658e80d2 04:46:24 ---> 2754aed7a626 04:46:24 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 04:46:24 ---> Running in c001c9d63042 04:46:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:46:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:46:27 OK: 226 MiB in 60 packages 04:46:28 Removing intermediate container c001c9d63042 04:46:28 ---> 9fb59bd9a07f 04:46:28 Step 6/23 : WORKDIR /device-modbus-go 04:46:28 ---> Running in 1acac63b7817 04:46:28 Removing intermediate container 1acac63b7817 04:46:28 ---> fc45ad1ed5ca 04:46:28 Step 7/23 : COPY go.mod vendor* ./ 04:46:28 ---> cf4d6b503d96 04:46:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:46:28 ---> Running in 66c895188767 04:46:31 Removing intermediate container 66c895188767 04:46:31 ---> 6e440fcd866b 04:46:31 Step 9/23 : COPY . . 04:46:32 ---> f3be54552cf3 04:46:32 Step 10/23 : RUN ${MAKE} 04:46:32 ---> Running in d33ebc658e55 04:46:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 04:48:40 Removing intermediate container d33ebc658e55 04:48:40 ---> 3158c3992672 04:48:40 Step 11/23 : FROM alpine:3.14 04:48:40 3.14: Pulling from library/alpine 04:48:40 455c02918c45: Pulling fs layer 04:48:40 455c02918c45: Verifying Checksum 04:48:40 455c02918c45: Download complete 04:48:40 455c02918c45: Pull complete 04:48:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:48:40 Status: Downloaded newer image for alpine:3.14 04:48:40 ---> ac73e934f311 04:48:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:48:40 ---> Running in 8fc26b2b96b5 04:48:40 Removing intermediate container 8fc26b2b96b5 04:48:40 ---> 920201f27922 04:48:40 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:48:40 ---> Running in 7a638bf32376 04:48:40 Removing intermediate container 7a638bf32376 04:48:40 ---> 967a654f77c1 04:48:40 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 04:48:40 ---> Running in c5cbe6b02742 04:48:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:48:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:48:40 (1/6) Installing dumb-init (1.2.5-r1) 04:48:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:48:40 (3/6) Installing libsodium (1.0.18-r0) 04:48:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:48:40 (5/6) Installing libzmq (4.3.4-r0) 04:48:40 (6/6) Installing zeromq (4.3.4-r0) 04:48:40 Executing busybox-1.33.1-r7.trigger 04:48:40 OK: 8 MiB in 20 packages 04:48:40 Removing intermediate container c5cbe6b02742 04:48:40 ---> b2c7dc2446b2 04:48:40 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 04:48:40 ---> c87c865cf30d 04:48:40 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 04:48:40 ---> 9e8c6ff960c8 04:48:40 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:48:40 ---> e3eb568d9f47 04:48:40 Step 18/23 : EXPOSE 59901 04:48:40 ---> Running in ad17522f05bb 04:48:40 Removing intermediate container ad17522f05bb 04:48:40 ---> f3d7e53b0de1 04:48:40 Step 19/23 : ENTRYPOINT ["/device-modbus"] 04:48:40 ---> Running in c99fba168bf6 04:48:40 Removing intermediate container c99fba168bf6 04:48:40 ---> 0a4495dd93d0 04:48:40 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:48:40 ---> Running in fb1c6a2c3822 04:48:40 Removing intermediate container fb1c6a2c3822 04:48:40 ---> 1fc1900c274f 04:48:40 Step 21/23 : LABEL arch=arm64 04:48:40 ---> Running in 45b6754ad600 04:48:40 Removing intermediate container 45b6754ad600 04:48:40 ---> fb860160f2f5 04:48:40 Step 22/23 : LABEL git_sha=9dcdfc84908e93dba46440de00b39d8ed3a2a737 04:48:40 ---> Running in 9174d105d8fe 04:48:40 Removing intermediate container 9174d105d8fe 04:48:40 ---> a083bad9f9f2 04:48:40 Step 23/23 : LABEL version=0.0.0 04:48:40 ---> Running in 54af936e713d 04:48:40 Removing intermediate container 54af936e713d 04:48:40 ---> 49285b80a938 04:48:40 [Warning] One or more build-args [ARCH] were not consumed 04:48:40 Successfully built 49285b80a938 04:48:40 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 04:48:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:48:40 04:48:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:48:41 arm64: Pulling from edgex-lftools-log-publisher 04:48:41 8998bd30e6a1: Pulling fs layer 04:48:41 04944245beec: Pulling fs layer 04:48:41 699f458cf7ca: Pulling fs layer 04:48:41 765212b225bb: Pulling fs layer 04:48:41 f23df028b6ca: Pulling fs layer 04:48:41 d65c8cfc05b1: Pulling fs layer 04:48:41 2437ff75d9bd: Pulling fs layer 04:48:41 f23df028b6ca: Waiting 04:48:41 d65c8cfc05b1: Waiting 04:48:41 2437ff75d9bd: Waiting 04:48:41 765212b225bb: Waiting 04:48:41 04944245beec: Verifying Checksum 04:48:41 04944245beec: Download complete 04:48:41 765212b225bb: Verifying Checksum 04:48:41 765212b225bb: Download complete 04:48:41 f23df028b6ca: Verifying Checksum 04:48:41 f23df028b6ca: Download complete 04:48:41 d65c8cfc05b1: Verifying Checksum 04:48:41 d65c8cfc05b1: Download complete 04:48:41 699f458cf7ca: Verifying Checksum 04:48:41 8998bd30e6a1: Verifying Checksum 04:48:41 8998bd30e6a1: Download complete 04:48:43 2437ff75d9bd: Verifying Checksum 04:48:43 2437ff75d9bd: Download complete 04:48:46 8998bd30e6a1: Pull complete 04:48:46 04944245beec: Pull complete 04:48:48 699f458cf7ca: Pull complete 04:48:48 765212b225bb: Pull complete 04:48:49 f23df028b6ca: Pull complete 04:48:49 d65c8cfc05b1: Pull complete 04:49:04 2437ff75d9bd: Pull complete 04:49:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:49:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:04 prd-ubuntu20.04-docker-arm64-4c-16g-233 does not seem to be running inside a container 04:49:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:49:07 $ docker top e046b1e5225726dc3419ee21364f54380090202299cf61574c40a6473b3f5f1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:08 ---> job-cost.sh 04:49:08 lf-activate-venv: SKIPPING 04:49:08 INFO: No Stack... 04:49:08 INFO: Retrieving Pricing Info for: v3-standard-4 04:49:09 INFO: Archiving Costs [Pipeline] sh 04:49:10 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 04:49:10 + cut -d, -f6 [Pipeline] lock 04:49:10 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] 04:49:10 Resource [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] did not exist. Created. 04:49:10 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:49:10 /w/workspace/device-modbus-go/2@tmp/durable-9202f071/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:49:11 + echo total: 0.10999999940395355 [Pipeline] stash 04:49:11 Warning: overwriting stash ‘stack-cost’ 04:49:11 Stashed 1 file(s) [Pipeline] } 04:49:11 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:49:11 $ docker stop --time=1 e046b1e5225726dc3419ee21364f54380090202299cf61574c40a6473b3f5f1d 04:49:13 $ docker rm -f e046b1e5225726dc3419ee21364f54380090202299cf61574c40a6473b3f5f1d [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 04:49:13 provisioning config files... 04:49:13 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config2034570222038377928tmp [Pipeline] { [Pipeline] sh 04:49:13 + set +x 04:49:13 + curl -s https://codecov.io/bash 04:49:13 + bash -s -- 04:49:13 04:49:13 _____ _ 04:49:13 / ____| | | 04:49:13 | | ___ __| | ___ ___ _____ __ 04:49:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:49:13 | |___| (_) | (_| | __/ (_| (_) \ V / 04:49:13 \_____\___/ \__,_|\___|\___\___/ \_/ 04:49:13 Bash-1.0.6 04:49:13 04:49:13 04:49:13 ==> git version 2.25.1 found 04:49:13 ==> 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 04:49:13 Release-Date: 2020-01-08 04:49:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:49:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:49:13 ==> Jenkins CI detected. 04:49:13 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-348 04:49:13 project root: . 04:49:13 --> token set from env 04:49:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:49:13 ==> Running gcov in . (disable via -X gcov) 04:49:13 ==> Python coveragepy not found 04:49:13 ==> Searching for coverage reports in: 04:49:13 + . 04:49:13 -> Found 1 reports 04:49:13 ==> Detecting git/mercurial file structure 04:49:13 ==> Reading reports 04:49:13 + ./coverage.out bytes=24065 04:49:13 ==> Appending adjustments 04:49:13 https://docs.codecov.io/docs/fixing-reports 04:49:14 + Found adjustments 04:49:14 ==> Gzipping contents 04:49:14 4.0K /tmp/codecov.UOPx4c.gz 04:49:14 ==> Uploading reports 04:49:14 url: https://codecov.io 04:49:14 query: branch=PR-348&commit=9dcdfc84908e93dba46440de00b39d8ed3a2a737&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-348%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=348&job=&cmd_args= 04:49:14 -> Pinging Codecov 04:49:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-348&commit=9dcdfc84908e93dba46440de00b39d8ed3a2a737&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-348%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=348&job=&cmd_args= 04:49:14 -> Uploading to 04:49:14 https://storage.googleapis.com/codecov/v4/raw/2022-05-27/55DBCA73C666E3227836607328DD7E49/9dcdfc84908e93dba46440de00b39d8ed3a2a737/27d28c8f-2a24-4755-b4c5-00a053d7dfbb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220527T044914Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ec02dc46d2c3cb919cfaabea9794e057dee7dab0ea4efa7c09b4d6b88efb750 04:49:14 % Total % Received % Xferd Average Speed Time Time Time Current 04:49:14 Dload Upload Total Spent Left Speed 04:49:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 17244 --:--:-- --:--:-- --:--:-- 17244 04:49:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/9dcdfc84908e93dba46440de00b39d8ed3a2a737 [Pipeline] } 04:49:14 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 04:49:15 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-348/archives ] 04:49:15 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-348/archives 04:49:15 total 16 04:49:15 drwxr-xr-x 3 root root 4096 May 27 04:42 . 04:49:15 drwxrwxr-x 11 jenkins jenkins 4096 May 27 04:42 .. 04:49:15 drwxr-xr-x 2 root root 4096 May 27 04:42 cost 04:49:15 -rw-r--r-- 1 root root 87 May 27 04:42 cost.csv 04:49:15 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-348/archives 04:49:15 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-348/archives 04:49:15 total 16 04:49:15 drwxr-xr-x 3 jenkins jenkins 4096 May 27 04:42 . 04:49:15 drwxrwxr-x 11 jenkins jenkins 4096 May 27 04:42 .. 04:49:15 drwxr-xr-x 2 jenkins jenkins 4096 May 27 04:42 cost 04:49:15 -rw-r--r-- 1 jenkins jenkins 87 May 27 04:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:49:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:49:16 ---> package-listing.sh 04:49:16 ++ facter osfamily 04:49:16 ++ tr '[:upper:]' '[:lower:]' 04:49:16 + OS_FAMILY=debian 04:49:16 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-348 04:49:16 + START_PACKAGES=/tmp/packages_start.txt 04:49:16 + END_PACKAGES=/tmp/packages_end.txt 04:49:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:49:16 + PACKAGES=/tmp/packages_start.txt 04:49:16 + '[' /w/workspace/xfoundry_device-modbus-go_PR-348 ']' 04:49:16 + PACKAGES=/tmp/packages_end.txt 04:49:16 + case "${OS_FAMILY}" in 04:49:16 + dpkg -l 04:49:16 + grep '^ii' 04:49:16 + '[' -f /tmp/packages_start.txt ']' 04:49:16 + '[' -f /tmp/packages_end.txt ']' 04:49:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:49:16 + '[' /w/workspace/xfoundry_device-modbus-go_PR-348 ']' 04:49:16 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-348/archives/ 04:49:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-348/archives/ [Pipeline] echo 04:49:16 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-348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:49:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:17 prd-ubuntu20.04-docker-8c-8g-232 does not seem to be running inside a container 04:49:17 $ 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-348/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-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@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 04:49:17 $ docker top fe744c098181259fb015c87e826e9cd2f04141f1e3ed078163819d88e6ac48eb -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:18 + touch /tmp/pre-build-complete [Pipeline] sh 04:49:18 + mkdir -p /var/log/sysstat [Pipeline] sh 04:49:18 + ls /var/log/sa-host 04:49:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:49:18 provisioning config files... 04:49:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config3886623653438372065tmp [Pipeline] { [Pipeline] echo 04:49:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:49:19 ---> create-netrc.sh [Pipeline] } 04:49:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:49:19 ---> python-tools-install.sh [Pipeline] echo 04:49:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:49:19 ---> sudo-logs.sh 04:49:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:49:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:49:20 ---> job-cost.sh 04:49:20 lf-activate-venv: SKIPPING 04:49:20 DEBUG: total: 0.2199999988079071 04:49:20 INFO: Retrieving Stack Cost... 04:49:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:49:21 INFO: Archiving Costs [Pipeline] echo 04:49:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:49:21 ---> logs-deploy.sh 04:49:21 lf-activate-venv: SKIPPING 04:49:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-348/2 04:49:21 INFO: archiving workspace using pattern(s): 04:49:22 Archives upload complete. 04:49:22 INFO: archiving logs to Nexus