Pull request #402 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 05f9dfcf14c521ddc64c151ce3688db2ad620ff8+bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 (de6d3f107cea2e33e19a0b780f6dad25d241a04b) 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-ssh4522735951938997707.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh678923221148684347.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-402/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-402/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17300739969578501762.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-402/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2274573072163583330.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh18134099697091990729.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-402/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-402/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15129804053627090104.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2747 in /w/workspace/xfoundry_device-modbus-go_PR-402 [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-402 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/402/head:refs/remotes/origin/PR-402 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 into PR head commit 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 Merge succeeded, producing 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 Checking out Revision 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 (PR-402) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:32:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:32:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:32:02 ========================================================= 17:32:02 EdgeX Global Pipelines Version Info 17:32:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 # 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 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 # timeout=10 17:32:03 ------------------- 17:32:03 stable info: 17:32:03 ------------------- 17:32:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:32:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:32:03 Message: update stable to v1.0.244 17:32:03 ------------------- 17:32:03 experimental info: 17:32:03 ------------------- 17:32:03 Commited By: **** collab-it+edgex@linuxfoundation.org 17:32:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:32:03 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:32:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:32:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:32:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:32:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:32:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:32:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-402 [Pipeline] echo 17:32:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-402 [Pipeline] echo 17:32:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-402 [Pipeline] echo 17:32:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 [Pipeline] echo 17:32:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05f9dfc [Pipeline] echo 17:32:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:05 provisioning config files... 17:32:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-402@tmp/config8801000307201665435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:05 ---> docker-login.sh 17:32:05 nexus3.edgexfoundry.org:10001 17:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:06 Configure a credential helper to remove this warning. See 17:32:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:06 17:32:06 Login Succeeded 17:32:06 nexus3.edgexfoundry.org:10002 17:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:06 Configure a credential helper to remove this warning. See 17:32:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:06 17:32:06 Login Succeeded 17:32:06 nexus3.edgexfoundry.org:10003 17:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:06 Configure a credential helper to remove this warning. See 17:32:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:06 17:32:06 Login Succeeded 17:32:06 nexus3.edgexfoundry.org:10004 17:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:06 Configure a credential helper to remove this warning. See 17:32:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:06 17:32:06 Login Succeeded 17:32:06 docker.io 17:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:06 Configure a credential helper to remove this warning. See 17:32:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:06 17:32:06 Login Succeeded 17:32:06 ---> docker-login.sh ends [Pipeline] } 17:32:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:32:07 + git rev-list -1 --merges 05f9dfcf14c521ddc64c151ce3688db2ad620ff8~1..05f9dfcf14c521ddc64c151ce3688db2ad620ff8 [Pipeline] echo 17:32:07 -----------> git rev-list -1 --merges 05f9dfcf14c521ddc64c151ce3688db2ad620ff8~1..05f9dfcf14c521ddc64c151ce3688db2ad620ff8 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 [false] [Pipeline] sh 17:32:07 + git log --format=format:%s -1 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 [Pipeline] echo 17:32:07 ========================================================= 17:32:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:32:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:08 + git log --format=format:%s -1 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 [Pipeline] echo 17:32:08 [semverPrep] GIT_COMMIT: 05f9dfcf14c521ddc64c151ce3688db2ad620ff8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:32:08 [semverPrep] This is not a build commit. [Pipeline] sh 17:32:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:32:08 + grep -v github /etc/ssh/ssh_known_hosts 17:32:08 + [ -e /tmp/ssh_known_hosts ] 17:32:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:32:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:32:08 + sudo tee -a /etc/ssh/ssh_known_hosts 17:32:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:09 17:32:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:09 0.1.4: Pulling from edgex-devops/py-git-semver 17:32:09 b85a868b505f: Pulling fs layer 17:32:09 e2be974225ed: Pulling fs layer 17:32:09 339a4e72a1f5: Pulling fs layer 17:32:09 988bab9f4d93: Pulling fs layer 17:32:09 1469e6f7b9e6: Pulling fs layer 17:32:09 eaf3925da568: Pulling fs layer 17:32:09 bab4dde63d76: Pulling fs layer 17:32:09 bde34c3a00c8: Pulling fs layer 17:32:09 b352a97aabf1: Pulling fs layer 17:32:09 4872d77fe225: Pulling fs layer 17:32:09 5851b861e8e6: Pulling fs layer 17:32:09 988bab9f4d93: Waiting 17:32:09 1469e6f7b9e6: Waiting 17:32:09 eaf3925da568: Waiting 17:32:09 4872d77fe225: Waiting 17:32:09 5851b861e8e6: Waiting 17:32:09 bab4dde63d76: Waiting 17:32:09 bde34c3a00c8: Waiting 17:32:09 b352a97aabf1: Waiting 17:32:09 e2be974225ed: Download complete 17:32:09 988bab9f4d93: Verifying Checksum 17:32:09 988bab9f4d93: Download complete 17:32:09 1469e6f7b9e6: Verifying Checksum 17:32:09 1469e6f7b9e6: Download complete 17:32:09 eaf3925da568: Verifying Checksum 17:32:09 eaf3925da568: Download complete 17:32:09 339a4e72a1f5: Verifying Checksum 17:32:09 339a4e72a1f5: Download complete 17:32:09 bde34c3a00c8: Verifying Checksum 17:32:09 bde34c3a00c8: Download complete 17:32:10 b352a97aabf1: Download complete 17:32:10 4872d77fe225: Download complete 17:32:10 b85a868b505f: Verifying Checksum 17:32:10 b85a868b505f: Download complete 17:32:10 5851b861e8e6: Verifying Checksum 17:32:10 5851b861e8e6: Download complete 17:32:10 bab4dde63d76: Verifying Checksum 17:32:10 bab4dde63d76: Download complete 17:32:11 b85a868b505f: Pull complete 17:32:11 e2be974225ed: Pull complete 17:32:12 339a4e72a1f5: Pull complete 17:32:12 988bab9f4d93: Pull complete 17:32:12 1469e6f7b9e6: Pull complete 17:32:12 eaf3925da568: Pull complete 17:32:14 bab4dde63d76: Pull complete 17:32:14 bde34c3a00c8: Pull complete 17:32:14 b352a97aabf1: Pull complete 17:32:14 4872d77fe225: Pull complete 17:32:14 5851b861e8e6: Pull complete 17:32:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:32:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:15 prd-ubuntu20.04-docker-8c-8g-2747 does not seem to be running inside a container 17:32:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-402 -v /w/workspace/xfoundry_device-modbus-go_PR-402:/w/workspace/xfoundry_device-modbus-go_PR-402:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-402@tmp:/w/workspace/xfoundry_device-modbus-go_PR-402@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:32:17 $ docker top e34c2544a1b6499a14a17c3e35d645560d8af79f8986471279a90dc118bcf157 -eo pid,comm 17:32:18 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). 17:32:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:32:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:18 [ssh-agent] Looking for ssh-agent implementation... 17:32:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:18 $ docker exec e34c2544a1b6499a14a17c3e35d645560d8af79f8986471279a90dc118bcf157 ssh-agent 17:32:18 SSH_AUTH_SOCK=/tmp/ssh-ZPKYa4THYv7S/agent.32 17:32:18 SSH_AGENT_PID=38 17:32:18 Running ssh-add (command line suppressed) 17:32:18 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-402@tmp/private_key_13501847474240335450.key (/w/workspace/xfoundry_device-modbus-go_PR-402@tmp/private_key_13501847474240335450.key) 17:32:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:18 + git tag --points-at HEAD [Pipeline] } 17:32:18 $ docker exec --env ******** --env ******** e34c2544a1b6499a14a17c3e35d645560d8af79f8986471279a90dc118bcf157 ssh-agent -k 17:32:18 unset SSH_AUTH_SOCK; 17:32:18 unset SSH_AGENT_PID; 17:32:18 echo Agent pid 38 killed; 17:32:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:32:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:19 [ssh-agent] Looking for ssh-agent implementation... 17:32:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:19 $ docker exec e34c2544a1b6499a14a17c3e35d645560d8af79f8986471279a90dc118bcf157 ssh-agent 17:32:19 SSH_AUTH_SOCK=/tmp/ssh-f2HfIGOIMMBp/agent.70 17:32:19 SSH_AGENT_PID=76 17:32:19 Running ssh-add (command line suppressed) 17:32:19 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-402@tmp/private_key_14086434054254657543.key (/w/workspace/xfoundry_device-modbus-go_PR-402@tmp/private_key_14086434054254657543.key) 17:32:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:19 + git semver init 17:32:20 2023-01-17 17:32:20,020 [run_init] DEBUG init version:0.0.0 force:False 17:32:20 2023-01-17 17:32:20,021 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-402/.semver 17:32:20 2023-01-17 17:32:20,022 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-402/.semver 17:32:20 2023-01-17 17:32:20,022 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-402/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-402, universal_newlines=False, shell=None, istream=None) 17:32:21 2023-01-17 17:32:20,869 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-402/.git/info/exclude 17:32:21 2023-01-17 17:32:20,870 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-402/.semver/PR-402 with force:False 17:32:21 2023-01-17 17:32:20,870 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-402/.semver/PR-402 17:32:21 2023-01-17 17:32:20,874 [execute] INFO git cat-file --batch-check 17:32:21 2023-01-17 17:32:20,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-402/.semver, universal_newlines=False, shell=None, istream=) 17:32:21 2023-01-17 17:32:20,881 [execute] INFO git cat-file --batch 17:32:21 2023-01-17 17:32:20,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-402/.semver, universal_newlines=False, shell=None, istream=) 17:32:21 2023-01-17 17:32:20,887 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-402/.semver/PR-402 17:32:21 0.0.0 [Pipeline] } 17:32:21 $ docker exec --env ******** --env ******** e34c2544a1b6499a14a17c3e35d645560d8af79f8986471279a90dc118bcf157 ssh-agent -k 17:32:21 unset SSH_AUTH_SOCK; 17:32:21 unset SSH_AGENT_PID; 17:32:21 echo Agent pid 76 killed; 17:32:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:32:21 + git semver [Pipeline] } 17:32:21 $ docker stop --time=1 e34c2544a1b6499a14a17c3e35d645560d8af79f8986471279a90dc118bcf157 17:32:23 $ docker rm -f --volumes e34c2544a1b6499a14a17c3e35d645560d8af79f8986471279a90dc118bcf157 [Pipeline] // withDockerContainer [Pipeline] sh 17:32:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:32:23 Stashed 1 file(s) [Pipeline] echo 17:32:23 [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 17:32:24 provisioning config files... 17:32:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-402@tmp/config3907730483637493173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:24 ---> docker-login.sh 17:32:24 nexus3.edgexfoundry.org:10001 17:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:24 Configure a credential helper to remove this warning. See 17:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:24 17:32:24 Login Succeeded 17:32:24 nexus3.edgexfoundry.org:10002 17:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:25 Configure a credential helper to remove this warning. See 17:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:25 17:32:25 Login Succeeded 17:32:25 nexus3.edgexfoundry.org:10003 17:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:25 Configure a credential helper to remove this warning. See 17:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:25 17:32:25 Login Succeeded 17:32:25 nexus3.edgexfoundry.org:10004 17:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:25 Configure a credential helper to remove this warning. See 17:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:25 17:32:25 Login Succeeded 17:32:25 docker.io 17:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:25 Configure a credential helper to remove this warning. See 17:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:25 17:32:25 Login Succeeded 17:32:25 ---> docker-login.sh ends [Pipeline] } 17:32:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:26 ========================================================= 17:32:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:32:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:32:26 Sending build context to Docker daemon 6.334MB 17:32:26 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:32:26 Step 2/10 : FROM ${BASE} AS builder 17:32:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:32:26 213ec9aee27d: Pulling fs layer 17:32:26 4583459ba037: Pulling fs layer 17:32:26 93c1e223e6f2: Pulling fs layer 17:32:26 53926ce57604: Pulling fs layer 17:32:26 21b2b0c7a3f4: Pulling fs layer 17:32:26 22ff95d597cd: Pulling fs layer 17:32:26 12d6caf4c0d1: Pulling fs layer 17:32:26 96b7cbca73a9: Pulling fs layer 17:32:26 53926ce57604: Waiting 17:32:26 21b2b0c7a3f4: Waiting 17:32:26 a7acece74701: Pulling fs layer 17:32:26 22ff95d597cd: Waiting 17:32:26 12d6caf4c0d1: Waiting 17:32:26 93c1e223e6f2: Verifying Checksum 17:32:26 93c1e223e6f2: Download complete 17:32:26 4583459ba037: Download complete 17:32:26 21b2b0c7a3f4: Verifying Checksum 17:32:26 21b2b0c7a3f4: Download complete 17:32:26 22ff95d597cd: Verifying Checksum 17:32:26 22ff95d597cd: Download complete 17:32:26 213ec9aee27d: Verifying Checksum 17:32:26 213ec9aee27d: Download complete 17:32:26 12d6caf4c0d1: Download complete 17:32:27 213ec9aee27d: Pull complete 17:32:27 4583459ba037: Pull complete 17:32:27 93c1e223e6f2: Pull complete 17:32:28 a7acece74701: Verifying Checksum 17:32:28 a7acece74701: Download complete 17:32:28 53926ce57604: Verifying Checksum 17:32:28 53926ce57604: Download complete 17:32:28 96b7cbca73a9: Verifying Checksum 17:32:28 96b7cbca73a9: Download complete 17:32:32 53926ce57604: Pull complete 17:32:32 21b2b0c7a3f4: Pull complete 17:32:32 22ff95d597cd: Pull complete 17:32:32 12d6caf4c0d1: Pull complete 17:32:34 96b7cbca73a9: Pull complete 17:32:35 a7acece74701: Pull complete 17:32:35 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:32:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:32:35 ---> db6d94c90886 17:32:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:32:39 Still waiting to schedule task 17:32:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2745’ 17:32:40 ---> Running in 522b0b208e38 17:32:40 Removing intermediate container 522b0b208e38 17:32:40 ---> f21039c2b25b 17:32:40 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:32:40 ---> Running in c91599af2d91 17:32:40 Removing intermediate container c91599af2d91 17:32:40 ---> 6135b81b98cd 17:32:40 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:32:40 ---> Running in 39a5eea19db4 17:32:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:32:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:32:40 (1/8) Installing openssh-keygen (9.0_p1-r2) 17:32:40 (2/8) Installing libedit (20210910.3.1-r0) 17:32:40 (3/8) Installing openssh-client-common (9.0_p1-r2) 17:32:40 (4/8) Installing openssh-client-default (9.0_p1-r2) 17:32:40 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 17:32:40 (6/8) Installing openssh-server-common (9.0_p1-r2) 17:32:40 (7/8) Installing openssh-server (9.0_p1-r2) 17:32:40 (8/8) Installing openssh (9.0_p1-r2) 17:32:40 Executing busybox-1.35.0-r17.trigger 17:32:40 OK: 217 MiB in 59 packages 17:32:41 Removing intermediate container 39a5eea19db4 17:32:41 ---> 42b5de35a907 17:32:41 Step 6/10 : WORKDIR /device-modbus-go 17:32:41 ---> Running in 6945afb5238e 17:32:41 Removing intermediate container 6945afb5238e 17:32:41 ---> 371c824c1288 17:32:41 Step 7/10 : COPY go.mod vendor* ./ 17:32:41 ---> fe8960b88194 17:32:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:41 ---> Running in 66f9314312f8 17:33:08 Removing intermediate container 66f9314312f8 17:33:08 ---> 6db56f9bc45a 17:33:08 Step 9/10 : COPY . . 17:33:08 ---> 447282b78c11 17:33:08 Step 10/10 : RUN ${MAKE} 17:33:08 ---> Running in 347ae4dfc9a2 17:33:08 noop 17:33:08 Removing intermediate container 347ae4dfc9a2 17:33:08 ---> 712dcca68ff9 17:33:08 Successfully built 712dcca68ff9 17:33:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:08 + docker inspect -f . ci-base-image-x86_64 17:33:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:08 prd-ubuntu20.04-docker-8c-8g-2747 does not seem to be running inside a container 17:33:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-402 -v /w/workspace/xfoundry_device-modbus-go_PR-402:/w/workspace/xfoundry_device-modbus-go_PR-402:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-402@tmp:/w/workspace/xfoundry_device-modbus-go_PR-402@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 ******** ci-base-image-x86_64 cat 17:33:09 $ docker top d1ddb181b836ddda83c8c6ce848472abbcaa30e7f0195bbc7ce40e7f73795b91 -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:09 + go version 17:33:09 go version go1.18.7 linux/amd64 [Pipeline] } 17:33:09 $ docker stop --time=1 d1ddb181b836ddda83c8c6ce848472abbcaa30e7f0195bbc7ce40e7f73795b91 17:33:10 $ docker rm -f --volumes d1ddb181b836ddda83c8c6ce848472abbcaa30e7f0195bbc7ce40e7f73795b91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:11 + docker inspect -f . ci-base-image-x86_64 17:33:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:11 prd-ubuntu20.04-docker-8c-8g-2747 does not seem to be running inside a container 17:33:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-402 -v /w/workspace/xfoundry_device-modbus-go_PR-402:/w/workspace/xfoundry_device-modbus-go_PR-402:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-402@tmp:/w/workspace/xfoundry_device-modbus-go_PR-402@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 ******** ci-base-image-x86_64 cat 17:33:12 $ docker top a8be1853f80e4ad7103c86d7c03a89a7d9acc485ceafd52c8f6b421de7133c83 -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:12 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-402 [Pipeline] fileExists [Pipeline] sh 17:33:12 + make test 17:33:12 go test ./... -coverprofile=coverage.out 17:33:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:33:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:33:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.7% of statements 17:33:30 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:33:30 go vet ./... 17:33:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:33:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:33:32 ./bin/test-attribution-txt.sh [Pipeline] echo 17:33:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:33:32 $ docker stop --time=1 a8be1853f80e4ad7103c86d7c03a89a7d9acc485ceafd52c8f6b421de7133c83 17:33:34 $ docker rm -f --volumes a8be1853f80e4ad7103c86d7c03a89a7d9acc485ceafd52c8f6b421de7133c83 [Pipeline] // withDockerContainer [Pipeline] sh 17:33:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:33:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:33:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:33:36 + ls -al . 17:33:36 total 196 17:33:36 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:33 . 17:33:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:31 .. 17:33:36 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 17:32 .dockerignore 17:33:36 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:33 .git 17:33:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:32 .github 17:33:36 -rw-rw-r-- 1 jenkins jenkins 331 Jan 17 17:32 .gitignore 17:33:36 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:32 .golangci.yml 17:33:36 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:32 .semver 17:33:36 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 17 17:32 Attribution.txt 17:33:36 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 17 17:32 CHANGELOG.md 17:33:36 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 17 17:32 Dockerfile 17:33:36 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:32 GOVERNANCE.md 17:33:36 -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 17:32 Jenkinsfile 17:33:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:32 LICENSE 17:33:36 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 17 17:32 Makefile 17:33:36 -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 17:32 OWNERS.md 17:33:36 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 17 17:32 README.md 17:33:36 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 17:32 VERSION 17:33:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:32 bin 17:33:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:32 cmd 17:33:36 -rw-r--r-- 1 jenkins jenkins 23241 Jan 17 17:33 coverage.out 17:33:36 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 17 17:32 go.mod 17:33:36 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 17 17:32 go.sum 17:33:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:32 internal 17:33:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:32 simulator 17:33:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:32 snap 17:33:36 -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33: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=05f9dfcf14c521ddc64c151ce3688db2ad620ff8 --label arch=amd64 --label version=0.0.0 . 17:33:36 Sending build context to Docker daemon 6.358MB 17:33:36 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 17:33:36 Step 2/22 : FROM ${BASE} AS builder 17:33:36 ---> 712dcca68ff9 17:33:36 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:33:37 ---> Running in eb6ba93ab181 17:33:37 Removing intermediate container eb6ba93ab181 17:33:37 ---> 91c0e075ed42 17:33:37 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:37 ---> Running in e4ff1ff75580 17:33:37 Removing intermediate container e4ff1ff75580 17:33:37 ---> 7f0f4eadd88f 17:33:37 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:33:37 ---> Running in dc78a2134073 17:33:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:33:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:33:37 OK: 217 MiB in 59 packages 17:33:38 Removing intermediate container dc78a2134073 17:33:38 ---> 81c84efe7a7e 17:33:38 Step 6/22 : WORKDIR /device-modbus-go 17:33:38 ---> Running in 175bd4bb4034 17:33:38 Removing intermediate container 175bd4bb4034 17:33:38 ---> a399170a1a97 17:33:38 Step 7/22 : COPY go.mod vendor* ./ 17:33:38 ---> c95ff82158a5 17:33:38 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:38 ---> Running in 7f51d8d555df 17:33:39 Removing intermediate container 7f51d8d555df 17:33:39 ---> 5bd6510466be 17:33:39 Step 9/22 : COPY . . 17:33:39 ---> d849a35b2bc0 17:33:39 Step 10/22 : RUN ${MAKE} 17:33:39 ---> Running in 3131355f1e10 17:33:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 17:34:01 Removing intermediate container 3131355f1e10 17:34:01 ---> 82e079373e35 17:34:01 Step 11/22 : FROM alpine:3.14 17:34:01 3.14: Pulling from library/alpine 17:34:01 c7ed990a2339: Pulling fs layer 17:34:01 c7ed990a2339: Download complete 17:34:01 c7ed990a2339: Pull complete 17:34:01 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 17:34:01 Status: Downloaded newer image for alpine:3.14 17:34:01 ---> dd53f409bf0b 17:34:01 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:34:01 ---> Running in bedda7726562 17:34:01 Removing intermediate container bedda7726562 17:34:01 ---> dcbb2b5aa93f 17:34:01 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:34:01 ---> Running in 653d16eda983 17:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:34:01 (1/1) Installing dumb-init (1.2.5-r1) 17:34:01 Executing busybox-1.33.1-r8.trigger 17:34:01 OK: 6 MiB in 15 packages 17:34:02 Removing intermediate container 653d16eda983 17:34:02 ---> dc82a0bb22d7 17:34:02 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:34:02 ---> 3640991bf630 17:34:02 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:34:02 ---> f712d113b30c 17:34:02 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:34:02 ---> 3e1f854f9d57 17:34:02 Step 17/22 : EXPOSE 59901 17:34:03 ---> Running in 385e7d0c1413 17:34:03 Removing intermediate container 385e7d0c1413 17:34:03 ---> 9081c8feab07 17:34:03 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:34:03 ---> Running in d069b636fb6d 17:34:03 Removing intermediate container d069b636fb6d 17:34:03 ---> 5fc41ede8d17 17:34:03 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:34:03 ---> Running in ddbf62197788 17:34:03 Removing intermediate container ddbf62197788 17:34:03 ---> 63b2ca9582be 17:34:03 Step 20/22 : LABEL arch=amd64 17:34:03 ---> Running in f8e76ba4cf2c 17:34:03 Removing intermediate container f8e76ba4cf2c 17:34:03 ---> bd0090066958 17:34:03 Step 21/22 : LABEL git_sha=05f9dfcf14c521ddc64c151ce3688db2ad620ff8 17:34:03 ---> Running in b7417be6c5c4 17:34:03 Removing intermediate container b7417be6c5c4 17:34:03 ---> bb06fa5440ed 17:34:03 Step 22/22 : LABEL version=0.0.0 17:34:03 ---> Running in 2a429b4550bd 17:34:03 Removing intermediate container 2a429b4550bd 17:34:03 ---> 784048e319e6 17:34:03 [Warning] One or more build-args [ARCH] were not consumed 17:34:03 Successfully built 784048e319e6 17:34:03 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 17:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:04 17:34:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:05 latest: Pulling from edgex-lftools-log-publisher 17:34:05 5eb5b503b376: Pulling fs layer 17:34:05 5c69ac0246d0: Pulling fs layer 17:34:05 ec43610c2a17: Pulling fs layer 17:34:05 3a2ae6a8a46f: Pulling fs layer 17:34:05 33b1e0a273af: Pulling fs layer 17:34:05 5d3b04190fa2: Pulling fs layer 17:34:05 2f39f015ded8: Pulling fs layer 17:34:05 33b1e0a273af: Waiting 17:34:05 5d3b04190fa2: Waiting 17:34:05 3a2ae6a8a46f: Waiting 17:34:05 2f39f015ded8: Waiting 17:34:05 5c69ac0246d0: Verifying Checksum 17:34:05 5c69ac0246d0: Download complete 17:34:05 3a2ae6a8a46f: Verifying Checksum 17:34:05 3a2ae6a8a46f: Download complete 17:34:05 33b1e0a273af: Verifying Checksum 17:34:05 33b1e0a273af: Download complete 17:34:05 5d3b04190fa2: Verifying Checksum 17:34:05 5d3b04190fa2: Download complete 17:34:05 ec43610c2a17: Verifying Checksum 17:34:05 ec43610c2a17: Download complete 17:34:05 5eb5b503b376: Download complete 17:34:06 2f39f015ded8: Verifying Checksum 17:34:06 2f39f015ded8: Download complete 17:34:06 5eb5b503b376: Pull complete 17:34:06 5c69ac0246d0: Pull complete 17:34:07 ec43610c2a17: Pull complete 17:34:07 3a2ae6a8a46f: Pull complete 17:34:07 33b1e0a273af: Pull complete 17:34:07 5d3b04190fa2: Pull complete 17:34:11 2f39f015ded8: Pull complete 17:34:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:34:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:11 prd-ubuntu20.04-docker-8c-8g-2747 does not seem to be running inside a container 17:34:11 $ 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-402 -v /w/workspace/xfoundry_device-modbus-go_PR-402:/w/workspace/xfoundry_device-modbus-go_PR-402:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-402@tmp:/w/workspace/xfoundry_device-modbus-go_PR-402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:34:15 $ docker top 6fa269f20a5eb2b99eed99e6f1d4f9f85f45beb795acdf9fb2bbed0a6024b388 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:15 ---> job-cost.sh 17:34:15 lf-activate-venv: SKIPPING 17:34:15 INFO: No Stack... 17:34:16 INFO: Retrieving Pricing Info for: v3-standard-8 17:34:16 INFO: Archiving Costs [Pipeline] sh 17:34:16 + cat /w/workspace/xfoundry_device-modbus-go_PR-402/archives/cost.csv 17:34:16 + cut -d, -f6 [Pipeline] lock 17:34:16 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-402-1-stack-cost] 17:34:16 Resource [jenkins-edgexfoundry-device-modbus-go-PR-402-1-stack-cost] did not exist. Created. 17:34:16 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-402-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:34:17 + echo total: 0.2199999988079071 [Pipeline] stash 17:34:17 Stashed 1 file(s) [Pipeline] } 17:34:17 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-402-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:34:17 $ docker stop --time=1 6fa269f20a5eb2b99eed99e6f1d4f9f85f45beb795acdf9fb2bbed0a6024b388 17:34:18 $ docker rm -f --volumes 6fa269f20a5eb2b99eed99e6f1d4f9f85f45beb795acdf9fb2bbed0a6024b388 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:35:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2753 in /w/workspace/xfoundry_device-modbus-go_PR-402 [Pipeline] { [Pipeline] ws 17:35:11 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 17:35:11 Selected Git installation does not exist. Using Default 17:35:11 The recommended git tool is: NONE 17:35:19 using credential edgex-jenkins-ssh 17:35:19 Cloning the remote Git repository 17:35:19 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:35:19 > git init /w/workspace/device-modbus-go/1 # timeout=10 17:35:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:35:19 > git --version # timeout=10 17:35:19 > git --version # 'git version 2.25.1' 17:35:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:35:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:35:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:35:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:35:22 Merging remotes/origin/main commit bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 into PR head commit 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 17:35:23 Merge succeeded, producing 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 17:35:23 Checking out Revision 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 (PR-402) 17:35:22 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:35:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:35:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:35:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/402/head:refs/remotes/origin/PR-402 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:35:22 > git config core.sparsecheckout # timeout=10 17:35:22 > git checkout -f 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 # timeout=10 17:35:22 > git remote # timeout=10 17:35:22 > git config --get remote.origin.url # timeout=10 17:35:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:35:22 > git merge bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 17:35:23 > git rev-parse HEAD^{commit} # timeout=10 17:35:23 > git config core.sparsecheckout # timeout=10 17:35:23 > git checkout -f 05f9dfcf14c521ddc64c151ce3688db2ad620ff8 # timeout=10 17:35:23 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:35:23 > git --version # timeout=10 17:35:23 > git --version # 'git version 2.25.1' 17:35:23 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:35:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:35:24 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:24 Dload Upload Total Spent Left Speed 17:35:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 17:35:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:35:25 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 17:35:25 17:35:25 { 17:35:25 "registry-mirrors": [ 17:35:25 "https://nexus3.edgexfoundry.org:10001" 17:35:25 ], 17:35:25 "bip": "10.250.0.254/24", 17:35:25 "hosts": [ 17:35:25 "tcp://0.0.0.0:5555", 17:35:25 "unix:///var/run/docker.sock" 17:35:25 ], 17:35:25 "mtu": 1458, 17:35:25 "selinux-enabled": true, 17:35:25 "seccomp-profile": "/etc/docker/seccomp.json" 17:35:25 } [Pipeline] sh 17:35:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:35:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:44 provisioning config files... 17:35:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config17607153656921671856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:45 ---> docker-login.sh 17:35:45 nexus3.edgexfoundry.org:10001 17:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:45 Configure a credential helper to remove this warning. See 17:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:45 17:35:45 Login Succeeded 17:35:45 nexus3.edgexfoundry.org:10002 17:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:46 Configure a credential helper to remove this warning. See 17:35:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:46 17:35:46 Login Succeeded 17:35:46 nexus3.edgexfoundry.org:10003 17:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:46 Configure a credential helper to remove this warning. See 17:35:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:46 17:35:46 Login Succeeded 17:35:46 nexus3.edgexfoundry.org:10004 17:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:46 Configure a credential helper to remove this warning. See 17:35:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:46 17:35:46 Login Succeeded 17:35:46 docker.io 17:35:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:48 Configure a credential helper to remove this warning. See 17:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:48 17:35:48 Login Succeeded 17:35:48 ---> docker-login.sh ends [Pipeline] } 17:35:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:35:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:35:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:35:49 ========================================================= 17:35:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:35:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:49 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:35:49 Sending build context to Docker daemon 3.3MB 17:35:49 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:35:49 Step 2/10 : FROM ${BASE} AS builder 17:35:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:35:50 9b18e9b68314: Pulling fs layer 17:35:50 35d82f9e3411: Pulling fs layer 17:35:50 e16973657156: Pulling fs layer 17:35:50 fc693d55d65f: Pulling fs layer 17:35:50 7e9fc2657dce: Pulling fs layer 17:35:50 dda99020689f: Pulling fs layer 17:35:50 db1c61fa0a46: Pulling fs layer 17:35:50 891c053d2c06: Pulling fs layer 17:35:50 dda99020689f: Waiting 17:35:50 db1c61fa0a46: Waiting 17:35:50 fc693d55d65f: Waiting 17:35:50 7e9fc2657dce: Waiting 17:35:50 891c053d2c06: Waiting 17:35:50 e16973657156: Verifying Checksum 17:35:50 e16973657156: Download complete 17:35:50 35d82f9e3411: Verifying Checksum 17:35:50 35d82f9e3411: Download complete 17:35:50 7e9fc2657dce: Verifying Checksum 17:35:50 7e9fc2657dce: Download complete 17:35:50 dda99020689f: Verifying Checksum 17:35:50 dda99020689f: Download complete 17:35:50 9b18e9b68314: Verifying Checksum 17:35:50 9b18e9b68314: Download complete 17:35:51 9b18e9b68314: Pull complete 17:35:51 891c053d2c06: Verifying Checksum 17:35:51 891c053d2c06: Download complete 17:35:51 35d82f9e3411: Pull complete 17:35:51 e16973657156: Pull complete 17:35:52 db1c61fa0a46: Verifying Checksum 17:35:52 db1c61fa0a46: Download complete 17:35:53 fc693d55d65f: Verifying Checksum 17:35:53 fc693d55d65f: Download complete 17:36:05 fc693d55d65f: Pull complete 17:36:05 7e9fc2657dce: Pull complete 17:36:05 dda99020689f: Pull complete 17:36:11 db1c61fa0a46: Pull complete 17:36:13 891c053d2c06: Pull complete 17:36:13 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:36:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:36:13 ---> f96f9c87975a 17:36:13 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:36:15 ---> Running in c4bd69af877c 17:36:15 Removing intermediate container c4bd69af877c 17:36:15 ---> a7aa456480c9 17:36:15 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:36:15 ---> Running in 60c871986c45 17:36:16 Removing intermediate container 60c871986c45 17:36:16 ---> f5dd87f2a5dd 17:36:16 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:36:16 ---> Running in b71df3a70844 17:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:36:19 (1/8) Installing openssh-keygen (9.0_p1-r2) 17:36:19 (2/8) Installing libedit (20210910.3.1-r0) 17:36:19 (3/8) Installing openssh-client-common (9.0_p1-r2) 17:36:19 (4/8) Installing openssh-client-default (9.0_p1-r2) 17:36:19 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 17:36:19 (6/8) Installing openssh-server-common (9.0_p1-r2) 17:36:19 (7/8) Installing openssh-server (9.0_p1-r2) 17:36:19 (8/8) Installing openssh (9.0_p1-r2) 17:36:19 Executing busybox-1.35.0-r17.trigger 17:36:19 OK: 228 MiB in 59 packages 17:36:22 Removing intermediate container b71df3a70844 17:36:22 ---> f3bca06407cd 17:36:22 Step 6/10 : WORKDIR /device-modbus-go 17:36:22 ---> Running in 20d7ccd3a4d7 17:36:22 Removing intermediate container 20d7ccd3a4d7 17:36:22 ---> 49ee5c965827 17:36:22 Step 7/10 : COPY go.mod vendor* ./ 17:36:23 ---> 19e43e9dafab 17:36:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:23 ---> Running in f89850a2856d 17:37:31 Removing intermediate container f89850a2856d 17:37:31 ---> 92f48d3ed345 17:37:31 Step 9/10 : COPY . . 17:37:31 ---> 4c25522ccbb9 17:37:31 Step 10/10 : RUN ${MAKE} 17:37:31 ---> Running in 1524df30eea2 17:37:31 noop 17:37:31 Removing intermediate container 1524df30eea2 17:37:31 ---> c238ba0bbe2b 17:37:31 Successfully built c238ba0bbe2b 17:37:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:31 + docker inspect -f . ci-base-image-arm64 17:37:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:32 prd-ubuntu20.04-docker-arm64-4c-16g-2753 does not seem to be running inside a container 17:37:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 17:37:33 $ docker top 703ede0afd15c38267e58e2f3ea7da977fc5550dd88a7f90e86c407cddd5222f -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:34 + go version 17:37:34 go version go1.18.7 linux/arm64 [Pipeline] } 17:37:34 $ docker stop --time=1 703ede0afd15c38267e58e2f3ea7da977fc5550dd88a7f90e86c407cddd5222f 17:37:37 $ docker rm -f --volumes 703ede0afd15c38267e58e2f3ea7da977fc5550dd88a7f90e86c407cddd5222f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:38 + docker inspect -f . ci-base-image-arm64 17:37:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:38 prd-ubuntu20.04-docker-arm64-4c-16g-2753 does not seem to be running inside a container 17:37:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 17:37:40 $ docker top 869969f15ba0669c575d9499eaf157a0f14b6ce8385f2930fa719b925a853557 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:41 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 17:37:41 + make test 17:37:41 go test ./... -coverprofile=coverage.out 17:37:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:39:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:39:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.7% of statements 17:39:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:39:35 go vet ./... 17:39:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:39:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:39:57 ./bin/test-attribution-txt.sh [Pipeline] echo 17:39:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:39:58 $ docker stop --time=1 869969f15ba0669c575d9499eaf157a0f14b6ce8385f2930fa719b925a853557 17:40:00 $ docker rm -f --volumes 869969f15ba0669c575d9499eaf157a0f14b6ce8385f2930fa719b925a853557 [Pipeline] // withDockerContainer [Pipeline] sh 17:40:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:40:01 Warning: overwriting stash ‘coverage-report’ 17:40:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:40:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:40:03 + ls -al . 17:40:03 total 192 17:40:03 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 17:37 . 17:40:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:35 .. 17:40:03 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 17:35 .dockerignore 17:40:03 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:35 .git 17:40:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:35 .github 17:40:03 -rw-rw-r-- 1 jenkins jenkins 331 Jan 17 17:35 .gitignore 17:40:03 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:35 .golangci.yml 17:40:03 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 17 17:35 Attribution.txt 17:40:03 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 17 17:35 CHANGELOG.md 17:40:03 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 17 17:35 Dockerfile 17:40:03 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:35 GOVERNANCE.md 17:40:03 -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 17:35 Jenkinsfile 17:40:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:35 LICENSE 17:40:03 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 17 17:35 Makefile 17:40:03 -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 17:35 OWNERS.md 17:40:03 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 17 17:35 README.md 17:40:03 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 17:32 VERSION 17:40:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:35 bin 17:40:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:35 cmd 17:40:03 -rw-r--r-- 1 jenkins jenkins 23241 Jan 17 17:39 coverage.out 17:40:03 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 17 17:35 go.mod 17:40:03 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 17 17:35 go.sum 17:40:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:35 internal 17:40:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:35 simulator 17:40:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:35 snap 17:40:03 -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 17:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:03 + 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=05f9dfcf14c521ddc64c151ce3688db2ad620ff8 --label arch=arm64 --label version=0.0.0 . 17:40:03 Sending build context to Docker daemon 3.324MB 17:40:04 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 17:40:04 Step 2/22 : FROM ${BASE} AS builder 17:40:04 ---> c238ba0bbe2b 17:40:04 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:40:04 ---> Running in e30742ad58a9 17:40:04 Removing intermediate container e30742ad58a9 17:40:04 ---> c267bbffc0da 17:40:04 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:40:04 ---> Running in 2ef828a982b4 17:40:05 Removing intermediate container 2ef828a982b4 17:40:05 ---> ffa8b8001ab3 17:40:05 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:40:05 ---> Running in e28f9c8b0186 17:40:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:40:08 OK: 228 MiB in 59 packages 17:40:10 Removing intermediate container e28f9c8b0186 17:40:10 ---> 1e8e23b5aa29 17:40:10 Step 6/22 : WORKDIR /device-modbus-go 17:40:10 ---> Running in db74c77d1c38 17:40:10 Removing intermediate container db74c77d1c38 17:40:10 ---> 6a6f0500bfea 17:40:10 Step 7/22 : COPY go.mod vendor* ./ 17:40:11 ---> 6c2350abc073 17:40:11 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:40:11 ---> Running in 841dbf64b9d0 17:40:14 Removing intermediate container 841dbf64b9d0 17:40:14 ---> f51ad32f982e 17:40:14 Step 9/22 : COPY . . 17:40:15 ---> 25ed4f27ffa9 17:40:15 Step 10/22 : RUN ${MAKE} 17:40:15 ---> Running in 5ee5a72a6057 17:40:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 17:43:08 Removing intermediate container 5ee5a72a6057 17:43:08 ---> 6fc80af4b8f0 17:43:08 Step 11/22 : FROM alpine:3.14 17:43:08 3.14: Pulling from library/alpine 17:43:08 90cda3b7c325: Pulling fs layer 17:43:08 90cda3b7c325: Verifying Checksum 17:43:08 90cda3b7c325: Download complete 17:43:08 90cda3b7c325: Pull complete 17:43:08 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 17:43:08 Status: Downloaded newer image for alpine:3.14 17:43:08 ---> 275902a1839d 17:43:08 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:43:08 ---> Running in e1050cf91e6c 17:43:08 Removing intermediate container e1050cf91e6c 17:43:08 ---> 81427129bffb 17:43:08 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:43:08 ---> Running in 27eca6661bc8 17:43:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:43:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:43:08 (1/1) Installing dumb-init (1.2.5-r1) 17:43:08 Executing busybox-1.33.1-r8.trigger 17:43:08 OK: 6 MiB in 15 packages 17:43:08 Removing intermediate container 27eca6661bc8 17:43:08 ---> 4e849ba5f003 17:43:08 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:43:08 ---> 3fdef6a88a18 17:43:08 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:43:09 ---> b454f368c248 17:43:09 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:43:09 ---> 0676382d402b 17:43:09 Step 17/22 : EXPOSE 59901 17:43:09 ---> Running in b08c5e0a74e3 17:43:10 Removing intermediate container b08c5e0a74e3 17:43:10 ---> 6145c18f63d9 17:43:10 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:43:10 ---> Running in 4a0348edfb20 17:43:10 Removing intermediate container 4a0348edfb20 17:43:10 ---> 75a1b7869fc6 17:43:10 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:43:10 ---> Running in dfae1c9d06af 17:43:11 Removing intermediate container dfae1c9d06af 17:43:11 ---> a968d9b16a60 17:43:11 Step 20/22 : LABEL arch=arm64 17:43:11 ---> Running in 369a5619b882 17:43:11 Removing intermediate container 369a5619b882 17:43:11 ---> 9b427921be16 17:43:11 Step 21/22 : LABEL git_sha=05f9dfcf14c521ddc64c151ce3688db2ad620ff8 17:43:11 ---> Running in 6bb3b701a322 17:43:12 Removing intermediate container 6bb3b701a322 17:43:12 ---> 750d9c485569 17:43:12 Step 22/22 : LABEL version=0.0.0 17:43:12 ---> Running in f2d7b8fcc052 17:43:12 Removing intermediate container f2d7b8fcc052 17:43:12 ---> 80387c40feab 17:43:12 [Warning] One or more build-args [ARCH] were not consumed 17:43:12 Successfully built 80387c40feab 17:43:12 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 17:43:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:13 17:43:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:13 arm64: Pulling from edgex-lftools-log-publisher 17:43:13 8998bd30e6a1: Pulling fs layer 17:43:13 04944245beec: Pulling fs layer 17:43:13 699f458cf7ca: Pulling fs layer 17:43:13 765212b225bb: Pulling fs layer 17:43:13 f23df028b6ca: Pulling fs layer 17:43:13 d65c8cfc05b1: Pulling fs layer 17:43:13 2437ff75d9bd: Pulling fs layer 17:43:13 f23df028b6ca: Waiting 17:43:13 d65c8cfc05b1: Waiting 17:43:13 2437ff75d9bd: Waiting 17:43:13 765212b225bb: Waiting 17:43:13 04944245beec: Verifying Checksum 17:43:13 04944245beec: Download complete 17:43:13 765212b225bb: Verifying Checksum 17:43:13 765212b225bb: Download complete 17:43:13 f23df028b6ca: Verifying Checksum 17:43:13 f23df028b6ca: Download complete 17:43:13 d65c8cfc05b1: Verifying Checksum 17:43:13 d65c8cfc05b1: Download complete 17:43:14 699f458cf7ca: Verifying Checksum 17:43:14 699f458cf7ca: Download complete 17:43:14 8998bd30e6a1: Verifying Checksum 17:43:14 8998bd30e6a1: Download complete 17:43:17 2437ff75d9bd: Verifying Checksum 17:43:17 2437ff75d9bd: Download complete 17:43:18 8998bd30e6a1: Pull complete 17:43:19 04944245beec: Pull complete 17:43:20 699f458cf7ca: Pull complete 17:43:20 765212b225bb: Pull complete 17:43:21 f23df028b6ca: Pull complete 17:43:21 d65c8cfc05b1: Pull complete 17:43:36 2437ff75d9bd: Pull complete 17:43:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:43:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:37 prd-ubuntu20.04-docker-arm64-4c-16g-2753 does not seem to be running inside a container 17:43:37 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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-lftools-log-publisher:arm64 cat 17:43:40 $ docker top 22af245e9877261236d8ed02b0472d9da4513ec470923e973cd457a8eb6cca04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:41 ---> job-cost.sh 17:43:41 lf-activate-venv: SKIPPING 17:43:41 INFO: No Stack... 17:43:41 INFO: Retrieving Pricing Info for: v3-standard-4 17:43:42 INFO: Archiving Costs [Pipeline] sh 17:43:43 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 17:43:43 + cut -d, -f6 [Pipeline] lock 17:43:43 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-402-1-stack-cost] 17:43:43 Resource [jenkins-edgexfoundry-device-modbus-go-PR-402-1-stack-cost] did not exist. Created. 17:43:43 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-402-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:43:44 /w/workspace/device-modbus-go/1@tmp/durable-5bad02eb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:43:44 + echo total: 0.10999999940395355 [Pipeline] stash 17:43:44 Warning: overwriting stash ‘stack-cost’ 17:43:45 Stashed 1 file(s) [Pipeline] } 17:43:45 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-402-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:43:45 $ docker stop --time=1 22af245e9877261236d8ed02b0472d9da4513ec470923e973cd457a8eb6cca04 17:43:46 $ docker rm -f --volumes 22af245e9877261236d8ed02b0472d9da4513ec470923e973cd457a8eb6cca04 [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 17:43:47 provisioning config files... 17:43:47 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-402@tmp/config4490957623152128004tmp [Pipeline] { [Pipeline] sh 17:43:48 + set +x 17:43:48 + + curl -s https://codecov.io/bash 17:43:48 bash -s -- 17:43:48 17:43:48 _____ _ 17:43:48 / ____| | | 17:43:48 | | ___ __| | ___ ___ _____ __ 17:43:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:43:48 | |___| (_) | (_| | __/ (_| (_) \ V / 17:43:48 \_____\___/ \__,_|\___|\___\___/ \_/ 17:43:48 Bash-1.0.6 17:43:48 17:43:48 17:43:48 ==> git version 2.25.1 found 17:43:48 ==> 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 17:43:48 Release-Date: 2020-01-08 17:43:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:43:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:43:48 ==> Jenkins CI detected. 17:43:48 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-402 17:43:48 project root: . 17:43:48 --> token set from env 17:43:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:43:48 ==> Running gcov in . (disable via -X gcov) 17:43:48 ==> Python coveragepy not found 17:43:48 ==> Searching for coverage reports in: 17:43:48 + . 17:43:48 -> Found 1 reports 17:43:48 ==> Detecting git/mercurial file structure 17:43:48 ==> Reading reports 17:43:48 + ./coverage.out bytes=23241 17:43:48 ==> Appending adjustments 17:43:48 https://docs.codecov.io/docs/fixing-reports 17:43:48 + Found adjustments 17:43:48 ==> Gzipping contents 17:43:48 4.0K /tmp/codecov.29biLs.gz 17:43:48 ==> Uploading reports 17:43:48 url: https://codecov.io 17:43:48 query: branch=PR-402&commit=05f9dfcf14c521ddc64c151ce3688db2ad620ff8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-402%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=402&job=&cmd_args= 17:43:48 -> Pinging Codecov 17:43:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-402&commit=05f9dfcf14c521ddc64c151ce3688db2ad620ff8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-402%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=402&job=&cmd_args= 17:43:48 -> Uploading to 17:43:48 https://storage.googleapis.com/codecov/v4/raw/2023-01-17/55DBCA73C666E3227836607328DD7E49/05f9dfcf14c521ddc64c151ce3688db2ad620ff8/c40516ab-9434-486f-bc3d-1be89e146ea6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T174348Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2280313504768596273030d4b9d94e00ff20fd3fcd3dc30c7e5d3f7ee8350894 17:43:48 % Total % Received % Xferd Average Speed Time Time Time Current 17:43:48 Dload Upload Total Spent Left Speed 17:43:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 14743 --:--:-- --:--:-- --:--:-- 14743 17:43:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/05f9dfcf14c521ddc64c151ce3688db2ad620ff8 [Pipeline] } 17:43:48 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 17:43:50 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-402/archives ] 17:43:50 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-402/archives 17:43:50 total 16 17:43:50 drwxr-xr-x 3 root root 4096 Jan 17 17:34 . 17:43:50 drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 17:34 .. 17:43:50 drwxr-xr-x 2 root root 4096 Jan 17 17:34 cost 17:43:50 -rw-r--r-- 1 root root 88 Jan 17 17:34 cost.csv 17:43:50 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-402/archives 17:43:50 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-402/archives 17:43:50 total 16 17:43:50 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:34 . 17:43:50 drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 17:34 .. 17:43:50 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 17:34 cost 17:43:50 -rw-r--r-- 1 jenkins jenkins 88 Jan 17 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:43:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:43:51 ---> package-listing.sh 17:43:51 ++ facter osfamily 17:43:51 ++ tr '[:upper:]' '[:lower:]' 17:43:52 + OS_FAMILY=debian 17:43:52 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-402 17:43:52 + START_PACKAGES=/tmp/packages_start.txt 17:43:52 + END_PACKAGES=/tmp/packages_end.txt 17:43:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:43:52 + PACKAGES=/tmp/packages_start.txt 17:43:52 + '[' /w/workspace/xfoundry_device-modbus-go_PR-402 ']' 17:43:52 + PACKAGES=/tmp/packages_end.txt 17:43:52 + case "${OS_FAMILY}" in 17:43:52 + dpkg -l 17:43:52 + grep '^ii' 17:43:52 + '[' -f /tmp/packages_start.txt ']' 17:43:52 + '[' -f /tmp/packages_end.txt ']' 17:43:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:43:52 + '[' /w/workspace/xfoundry_device-modbus-go_PR-402 ']' 17:43:52 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-402/archives/ 17:43:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-402/archives/ [Pipeline] echo 17:43:52 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-402/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:43:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:43:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:53 prd-ubuntu20.04-docker-8c-8g-2747 does not seem to be running inside a container 17:43:53 $ 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-402/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-402 -v /w/workspace/xfoundry_device-modbus-go_PR-402:/w/workspace/xfoundry_device-modbus-go_PR-402:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-402@tmp:/w/workspace/xfoundry_device-modbus-go_PR-402@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:43:53 $ docker top 0f2c15aca9e2c02b5781b2eee72944a9969656370b805440efe6bc12b260c1df -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:43:54 + mkdir -p /var/log/sysstat [Pipeline] sh 17:43:54 + ls /var/log/sa-host 17:43:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:43:54 provisioning config files... 17:43:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-402@tmp/config1958452520575180497tmp [Pipeline] { [Pipeline] echo 17:43:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:43:55 ---> create-netrc.sh [Pipeline] } 17:43:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:43:55 ---> python-tools-install.sh [Pipeline] echo 17:43:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:43:56 ---> sudo-logs.sh 17:43:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:43:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:43:56 ---> job-cost.sh 17:43:56 lf-activate-venv: SKIPPING 17:43:56 DEBUG: total: 0.2199999988079071 17:43:56 INFO: Retrieving Stack Cost... 17:43:56 INFO: Retrieving Pricing Info for: v3-standard-8 17:43:57 INFO: Archiving Costs [Pipeline] echo 17:43:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:43:57 ---> logs-deploy.sh 17:43:57 lf-activate-venv: SKIPPING 17:43:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-402/1 17:43:57 INFO: archiving workspace using pattern(s): 17:43:58 Archives upload complete. 17:43:58 INFO: archiving logs to Nexus