Pull request #422 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 514b1fcb442d10bf95e8013c0fac850a8301f03e+01efde03cde14ec0060c1876119bb983deb5481b (7bb5dcfaa9d5c6b6b96701008aa4a3143648605c) 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-ssh172032865311076979.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-ssh6633572214616335571.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-422/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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4502724810167453217.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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12238575868635994083.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-ssh6490696695774395329.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-422/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-422/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17374978711662560736.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9831 in /w/workspace/xfoundry_device-modbus-go_PR-422 [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-422 # 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/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 01efde03cde14ec0060c1876119bb983deb5481b into PR head commit 514b1fcb442d10bf95e8013c0fac850a8301f03e Merge succeeded, producing 514b1fcb442d10bf95e8013c0fac850a8301f03e Checking out Revision 514b1fcb442d10bf95e8013c0fac850a8301f03e (PR-422) > git config core.sparsecheckout # timeout=10 > git checkout -f 514b1fcb442d10bf95e8013c0fac850a8301f03e # 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 01efde03cde14ec0060c1876119bb983deb5481b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 514b1fcb442d10bf95e8013c0fac850a8301f03e # timeout=10 Commit message: "refactor!: consume device-sdk-go breaking changes" 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 03:55:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:55:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:55:23 ========================================================= 03:55:23 EdgeX Global Pipelines Version Info 03:55:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:55:23 ------------------- 03:55:23 stable info: 03:55:23 ------------------- 03:55:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:55:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:55:23 Message: update stable to v1.0.244 03:55:24 ------------------- 03:55:24 experimental info: 03:55:24 ------------------- 03:55:24 Commited By: **** collab-it+edgex@linuxfoundation.org 03:55:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:55:24 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:55:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 03:55:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 03:55:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:55:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:55:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-422 [Pipeline] echo 03:55:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-422 [Pipeline] echo 03:55:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-422 [Pipeline] echo 03:55:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 514b1fcb442d10bf95e8013c0fac850a8301f03e [Pipeline] echo 03:55:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 514b1fc [Pipeline] echo 03:55:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:55:26 provisioning config files... 03:55:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/config14220225152549681169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:26 ---> docker-login.sh 03:55:26 nexus3.edgexfoundry.org:10001 03:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:27 Configure a credential helper to remove this warning. See 03:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:27 03:55:27 Login Succeeded 03:55:27 nexus3.edgexfoundry.org:10002 03:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:27 Configure a credential helper to remove this warning. See 03:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:27 03:55:27 Login Succeeded 03:55:27 nexus3.edgexfoundry.org:10003 03:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:27 Configure a credential helper to remove this warning. See 03:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:27 03:55:27 Login Succeeded 03:55:27 nexus3.edgexfoundry.org:10004 03:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:27 Configure a credential helper to remove this warning. See 03:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:27 03:55:27 Login Succeeded 03:55:27 docker.io 03:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:27 Configure a credential helper to remove this warning. See 03:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:27 03:55:27 Login Succeeded 03:55:27 ---> docker-login.sh ends [Pipeline] } 03:55:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:55:28 + git rev-list -1 --merges 514b1fcb442d10bf95e8013c0fac850a8301f03e~1..514b1fcb442d10bf95e8013c0fac850a8301f03e [Pipeline] echo 03:55:28 -----------> git rev-list -1 --merges 514b1fcb442d10bf95e8013c0fac850a8301f03e~1..514b1fcb442d10bf95e8013c0fac850a8301f03e 514b1fcb442d10bf95e8013c0fac850a8301f03e [false] [Pipeline] sh 03:55:28 + git log --format=format:%s -1 514b1fcb442d10bf95e8013c0fac850a8301f03e [Pipeline] echo 03:55:28 ========================================================= 03:55:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:55:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:55:29 + git log --format=format:%s -1 514b1fcb442d10bf95e8013c0fac850a8301f03e [Pipeline] echo 03:55:29 [semverPrep] GIT_COMMIT: 514b1fcb442d10bf95e8013c0fac850a8301f03e, Commit Message: refactor!: consume device-sdk-go breaking changes [Pipeline] echo 03:55:29 [semverPrep] This is not a build commit. [Pipeline] sh 03:55:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:55:29 + grep -v github /etc/ssh/ssh_known_hosts 03:55:29 + [ -e /tmp/ssh_known_hosts ] 03:55:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:55:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:55:29 + sudo tee -a /etc/ssh/ssh_known_hosts 03:55:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:55:30 03:55:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:55:30 0.1.4: Pulling from edgex-devops/py-git-semver 03:55:30 b85a868b505f: Pulling fs layer 03:55:30 e2be974225ed: Pulling fs layer 03:55:30 339a4e72a1f5: Pulling fs layer 03:55:30 988bab9f4d93: Pulling fs layer 03:55:30 1469e6f7b9e6: Pulling fs layer 03:55:30 eaf3925da568: Pulling fs layer 03:55:30 bab4dde63d76: Pulling fs layer 03:55:30 bde34c3a00c8: Pulling fs layer 03:55:30 b352a97aabf1: Pulling fs layer 03:55:30 4872d77fe225: Pulling fs layer 03:55:30 5851b861e8e6: Pulling fs layer 03:55:30 eaf3925da568: Waiting 03:55:30 bab4dde63d76: Waiting 03:55:30 988bab9f4d93: Waiting 03:55:30 5851b861e8e6: Waiting 03:55:30 b352a97aabf1: Waiting 03:55:30 1469e6f7b9e6: Waiting 03:55:30 bde34c3a00c8: Waiting 03:55:30 e2be974225ed: Verifying Checksum 03:55:30 e2be974225ed: Download complete 03:55:30 988bab9f4d93: Download complete 03:55:31 1469e6f7b9e6: Verifying Checksum 03:55:31 1469e6f7b9e6: Download complete 03:55:31 eaf3925da568: Verifying Checksum 03:55:31 eaf3925da568: Download complete 03:55:31 339a4e72a1f5: Verifying Checksum 03:55:31 339a4e72a1f5: Download complete 03:55:31 bde34c3a00c8: Verifying Checksum 03:55:31 bde34c3a00c8: Download complete 03:55:31 b352a97aabf1: Download complete 03:55:31 4872d77fe225: Download complete 03:55:31 5851b861e8e6: Download complete 03:55:31 b85a868b505f: Verifying Checksum 03:55:31 b85a868b505f: Download complete 03:55:31 bab4dde63d76: Verifying Checksum 03:55:31 bab4dde63d76: Download complete 03:55:32 b85a868b505f: Pull complete 03:55:32 e2be974225ed: Pull complete 03:55:33 339a4e72a1f5: Pull complete 03:55:33 988bab9f4d93: Pull complete 03:55:33 1469e6f7b9e6: Pull complete 03:55:33 eaf3925da568: Pull complete 03:55:36 bab4dde63d76: Pull complete 03:55:36 bde34c3a00c8: Pull complete 03:55:36 b352a97aabf1: Pull complete 03:55:36 4872d77fe225: Pull complete 03:55:36 5851b861e8e6: Pull complete 03:55:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:55:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:55:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:36 prd-ubuntu20.04-docker-8c-8g-9831 does not seem to be running inside a container 03:55:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-422 -v /w/workspace/xfoundry_device-modbus-go_PR-422:/w/workspace/xfoundry_device-modbus-go_PR-422:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-422@tmp:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:55:38 $ docker top d2a5d6477bb09e23b27f31a31f043c30ed8455916a97769a74c86d5ec7b6b006 -eo pid,comm 03:55:38 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). 03:55:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:55:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:55:38 [ssh-agent] Looking for ssh-agent implementation... 03:55:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:55:38 $ docker exec d2a5d6477bb09e23b27f31a31f043c30ed8455916a97769a74c86d5ec7b6b006 ssh-agent 03:55:38 SSH_AUTH_SOCK=/tmp/ssh-XvfIPQvP8Bjf/agent.31 03:55:38 SSH_AGENT_PID=37 03:55:38 Running ssh-add (command line suppressed) 03:55:38 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-422@tmp/private_key_1687785362470149756.key (/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/private_key_1687785362470149756.key) 03:55:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:55:38 + git tag --points-at HEAD [Pipeline] } 03:55:39 $ docker exec --env ******** --env ******** d2a5d6477bb09e23b27f31a31f043c30ed8455916a97769a74c86d5ec7b6b006 ssh-agent -k 03:55:39 unset SSH_AUTH_SOCK; 03:55:39 unset SSH_AGENT_PID; 03:55:39 echo Agent pid 37 killed; 03:55:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:55:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:55:39 [ssh-agent] Looking for ssh-agent implementation... 03:55:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:55:39 $ docker exec d2a5d6477bb09e23b27f31a31f043c30ed8455916a97769a74c86d5ec7b6b006 ssh-agent 03:55:39 SSH_AUTH_SOCK=/tmp/ssh-QU161UlhAdtx/agent.70 03:55:39 SSH_AGENT_PID=76 03:55:39 Running ssh-add (command line suppressed) 03:55:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-422@tmp/private_key_11495370270254069178.key (/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/private_key_11495370270254069178.key) 03:55:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:55:39 + git semver init 03:55:40 2023-03-13 03:55:40,125 [run_init] DEBUG init version:0.0.0 force:False 03:55:40 2023-03-13 03:55:40,125 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-422/.semver 03:55:40 2023-03-13 03:55:40,126 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-422/.semver 03:55:40 2023-03-13 03:55:40,126 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-422/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-422, universal_newlines=False, shell=None, istream=None) 03:55:41 2023-03-13 03:55:40,945 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-422/.git/info/exclude 03:55:41 2023-03-13 03:55:40,945 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-422/.semver/PR-422 with force:False 03:55:41 2023-03-13 03:55:40,946 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-422/.semver/PR-422 03:55:41 2023-03-13 03:55:40,951 [execute] INFO git cat-file --batch-check 03:55:41 2023-03-13 03:55:40,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-422/.semver, universal_newlines=False, shell=None, istream=) 03:55:41 2023-03-13 03:55:40,958 [execute] INFO git cat-file --batch 03:55:41 2023-03-13 03:55:40,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-422/.semver, universal_newlines=False, shell=None, istream=) 03:55:41 2023-03-13 03:55:40,964 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-422/.semver/PR-422 03:55:41 0.0.0 [Pipeline] } 03:55:41 $ docker exec --env ******** --env ******** d2a5d6477bb09e23b27f31a31f043c30ed8455916a97769a74c86d5ec7b6b006 ssh-agent -k 03:55:41 unset SSH_AUTH_SOCK; 03:55:41 unset SSH_AGENT_PID; 03:55:41 echo Agent pid 76 killed; 03:55:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:55:41 + git semver [Pipeline] } 03:55:41 $ docker stop --time=1 d2a5d6477bb09e23b27f31a31f043c30ed8455916a97769a74c86d5ec7b6b006 03:55:43 $ docker rm -f --volumes d2a5d6477bb09e23b27f31a31f043c30ed8455916a97769a74c86d5ec7b6b006 [Pipeline] // withDockerContainer [Pipeline] sh 03:55:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:55:44 Stashed 1 file(s) [Pipeline] echo 03:55:44 [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 03:55:44 provisioning config files... 03:55:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/config17160211052573611550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:44 ---> docker-login.sh 03:55:44 nexus3.edgexfoundry.org:10001 03:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:44 Configure a credential helper to remove this warning. See 03:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:44 03:55:44 Login Succeeded 03:55:44 nexus3.edgexfoundry.org:10002 03:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:44 Configure a credential helper to remove this warning. See 03:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:44 03:55:44 Login Succeeded 03:55:44 nexus3.edgexfoundry.org:10003 03:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:45 Configure a credential helper to remove this warning. See 03:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:45 03:55:45 Login Succeeded 03:55:45 nexus3.edgexfoundry.org:10004 03:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:45 Configure a credential helper to remove this warning. See 03:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:45 03:55:45 Login Succeeded 03:55:45 docker.io 03:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:45 Configure a credential helper to remove this warning. See 03:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:45 03:55:45 Login Succeeded 03:55:45 ---> docker-login.sh ends [Pipeline] } 03:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:55:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:55:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:55:45 ========================================================= 03:55:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:55:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:46 + 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 . 03:55:46 Sending build context to Docker daemon 6.441MB 03:55:46 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 03:55:46 Step 2/10 : FROM ${BASE} AS builder 03:55:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:55:46 213ec9aee27d: Pulling fs layer 03:55:46 4583459ba037: Pulling fs layer 03:55:46 93c1e223e6f2: Pulling fs layer 03:55:46 53926ce57604: Pulling fs layer 03:55:46 21b2b0c7a3f4: Pulling fs layer 03:55:46 22ff95d597cd: Pulling fs layer 03:55:46 12d6caf4c0d1: Pulling fs layer 03:55:46 96b7cbca73a9: Pulling fs layer 03:55:46 a7acece74701: Pulling fs layer 03:55:46 53926ce57604: Waiting 03:55:46 21b2b0c7a3f4: Waiting 03:55:46 22ff95d597cd: Waiting 03:55:46 12d6caf4c0d1: Waiting 03:55:46 a7acece74701: Waiting 03:55:46 93c1e223e6f2: Verifying Checksum 03:55:46 93c1e223e6f2: Download complete 03:55:46 4583459ba037: Download complete 03:55:46 21b2b0c7a3f4: Verifying Checksum 03:55:46 21b2b0c7a3f4: Download complete 03:55:46 22ff95d597cd: Download complete 03:55:46 213ec9aee27d: Verifying Checksum 03:55:46 213ec9aee27d: Download complete 03:55:46 12d6caf4c0d1: Verifying Checksum 03:55:46 12d6caf4c0d1: Download complete 03:55:46 213ec9aee27d: Pull complete 03:55:46 4583459ba037: Pull complete 03:55:46 93c1e223e6f2: Pull complete 03:55:47 a7acece74701: Verifying Checksum 03:55:47 a7acece74701: Download complete 03:55:47 53926ce57604: Verifying Checksum 03:55:47 53926ce57604: Download complete 03:55:47 96b7cbca73a9: Verifying Checksum 03:55:47 96b7cbca73a9: Download complete 03:55:51 53926ce57604: Pull complete 03:55:51 21b2b0c7a3f4: Pull complete 03:55:51 22ff95d597cd: Pull complete 03:55:51 12d6caf4c0d1: Pull complete 03:55:54 96b7cbca73a9: Pull complete 03:55:54 a7acece74701: Pull complete 03:55:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 03:55:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:55:54 ---> db6d94c90886 03:55:54 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:55:56 ---> Running in 776c619c1e49 03:55:56 Removing intermediate container 776c619c1e49 03:55:56 ---> fa0d6a7a60fd 03:55:56 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:55:56 ---> Running in cd36b9befb64 03:55:56 Removing intermediate container cd36b9befb64 03:55:56 ---> b95e8603bc74 03:55:56 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:55:57 ---> Running in 6271c4ed1f3d 03:55:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:55:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:55:57 (1/8) Installing openssh-keygen (9.0_p1-r2) 03:55:57 (2/8) Installing libedit (20210910.3.1-r0) 03:55:57 (3/8) Installing openssh-client-common (9.0_p1-r2) 03:55:57 (4/8) Installing openssh-client-default (9.0_p1-r2) 03:55:57 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 03:55:57 (6/8) Installing openssh-server-common (9.0_p1-r2) 03:55:57 (7/8) Installing openssh-server (9.0_p1-r2) 03:55:57 (8/8) Installing openssh (9.0_p1-r2) 03:55:57 Executing busybox-1.35.0-r17.trigger 03:55:57 OK: 217 MiB in 59 packages 03:55:58 Removing intermediate container 6271c4ed1f3d 03:55:58 ---> acebc1d7ae3a 03:55:58 Step 6/10 : WORKDIR /device-modbus-go 03:55:58 ---> Running in 1ac90f6a1adb 03:55:58 Removing intermediate container 1ac90f6a1adb 03:55:58 ---> b17d34b1baeb 03:55:58 Step 7/10 : COPY go.mod vendor* ./ 03:55:58 ---> 8a519af14408 03:55:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:55:58 ---> Running in 009911d79e3a 03:55:59 Still waiting to schedule task 03:55:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:56:20 Removing intermediate container 009911d79e3a 03:56:20 ---> d2fd0034f78d 03:56:20 Step 9/10 : COPY . . 03:56:21 ---> 732562ff6884 03:56:21 Step 10/10 : RUN ${MAKE} 03:56:21 ---> Running in ea4514697b33 03:56:21 noop 03:56:21 Removing intermediate container ea4514697b33 03:56:21 ---> a6fecc1bdda0 03:56:21 Successfully built a6fecc1bdda0 03:56:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:22 + docker inspect -f . ci-base-image-x86_64 03:56:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:22 prd-ubuntu20.04-docker-8c-8g-9831 does not seem to be running inside a container 03:56:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-422 -v /w/workspace/xfoundry_device-modbus-go_PR-422:/w/workspace/xfoundry_device-modbus-go_PR-422:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-422@tmp:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:56:22 $ docker top 64fd9cf19803c2166fb5670d9733ed9fe3331a65b61d0a18cdabfd1695e4b0c1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:23 + go version 03:56:23 go version go1.18.7 linux/amd64 [Pipeline] } 03:56:23 $ docker stop --time=1 64fd9cf19803c2166fb5670d9733ed9fe3331a65b61d0a18cdabfd1695e4b0c1 03:56:24 $ docker rm -f --volumes 64fd9cf19803c2166fb5670d9733ed9fe3331a65b61d0a18cdabfd1695e4b0c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:25 + docker inspect -f . ci-base-image-x86_64 03:56:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:25 prd-ubuntu20.04-docker-8c-8g-9831 does not seem to be running inside a container 03:56:25 $ 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-422 -v /w/workspace/xfoundry_device-modbus-go_PR-422:/w/workspace/xfoundry_device-modbus-go_PR-422:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-422@tmp:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:56:25 $ docker top d6d52a1472fb329bcc8ac25ef08609739430adaf0d9360bfdb0a902cead2dafc -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:26 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-422 [Pipeline] fileExists [Pipeline] sh 03:56:26 + make test 03:56:26 go test ./... -coverprofile=coverage.out 03:56:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:56:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:56:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 48.0% of statements 03:56:44 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." 03:56:44 go vet ./... 03:56:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:56:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:56:47 ./bin/test-attribution-txt.sh [Pipeline] echo 03:56:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:56:47 $ docker stop --time=1 d6d52a1472fb329bcc8ac25ef08609739430adaf0d9360bfdb0a902cead2dafc 03:56:49 $ docker rm -f --volumes d6d52a1472fb329bcc8ac25ef08609739430adaf0d9360bfdb0a902cead2dafc [Pipeline] // withDockerContainer [Pipeline] sh 03:56:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:56:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:56:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:56:50 + ls -al . 03:56:50 total 180 03:56:50 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 03:56 . 03:56:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 03:55 .. 03:56:50 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 03:55 .dockerignore 03:56:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 03:56 .git 03:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 03:55 .github 03:56:50 -rw-rw-r-- 1 jenkins jenkins 331 Mar 13 03:55 .gitignore 03:56:50 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 03:55 .golangci.yml 03:56:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 03:55 .semver 03:56:50 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 13 03:55 Attribution.txt 03:56:50 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 13 03:55 CHANGELOG.md 03:56:50 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 13 03:55 Dockerfile 03:56:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 03:55 GOVERNANCE.md 03:56:50 -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 03:55 Jenkinsfile 03:56:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 03:55 LICENSE 03:56:50 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 13 03:55 Makefile 03:56:50 -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 03:55 OWNERS.md 03:56:50 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 13 03:55 README.md 03:56:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 03:55 VERSION 03:56:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 03:55 bin 03:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 03:55 cmd 03:56:50 -rw-r--r-- 1 jenkins jenkins 23736 Mar 13 03:56 coverage.out 03:56:50 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 13 03:55 go.mod 03:56:50 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 13 03:55 go.sum 03:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 03:55 internal 03:56:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 03:55 simulator 03:56:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 03:55 snap 03:56:50 -rw-rw-r-- 1 jenkins jenkins 229 Mar 13 03:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:51 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=514b1fcb442d10bf95e8013c0fac850a8301f03e --label arch=amd64 --label version=0.0.0 . 03:56:51 Sending build context to Docker daemon 6.466MB 03:56:51 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 03:56:51 Step 2/22 : FROM ${BASE} AS builder 03:56:51 ---> a6fecc1bdda0 03:56:51 Step 3/22 : ARG ADD_BUILD_TAGS="" 03:56:51 ---> Running in c2c7c6ce81c8 03:56:51 Removing intermediate container c2c7c6ce81c8 03:56:51 ---> 4e5a14f37c4a 03:56:51 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:56:51 ---> Running in 58a2845c58e4 03:56:51 Removing intermediate container 58a2845c58e4 03:56:51 ---> a00a2ac0eb06 03:56:51 Step 5/22 : RUN apk add --update --no-cache make git openssh 03:56:51 ---> Running in 4731691f8ecb 03:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:56:52 OK: 217 MiB in 59 packages 03:56:52 Removing intermediate container 4731691f8ecb 03:56:52 ---> 7b6cc4b60d5f 03:56:52 Step 6/22 : WORKDIR /device-modbus-go 03:56:52 ---> Running in db67ab43837a 03:56:52 Removing intermediate container db67ab43837a 03:56:52 ---> 36afaf70fbfa 03:56:52 Step 7/22 : COPY go.mod vendor* ./ 03:56:53 ---> eda527169a01 03:56:53 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:56:53 ---> Running in 166272e65f92 03:56:54 Removing intermediate container 166272e65f92 03:56:54 ---> 2c7732198402 03:56:54 Step 9/22 : COPY . . 03:56:54 ---> a81cd7831346 03:56:54 Step 10/22 : RUN ${MAKE} 03:56:54 ---> Running in 2d3ac640ce5a 03:56:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 03:57:12 Removing intermediate container 2d3ac640ce5a 03:57:12 ---> 8deab1f6cbe5 03:57:12 Step 11/22 : FROM alpine:3.14 03:57:12 3.14: Pulling from library/alpine 03:57:12 d261077062b2: Pulling fs layer 03:57:12 d261077062b2: Verifying Checksum 03:57:12 d261077062b2: Download complete 03:57:13 d261077062b2: Pull complete 03:57:13 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 03:57:13 Status: Downloaded newer image for alpine:3.14 03:57:13 ---> 6dff1269bc79 03:57:13 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:57:13 ---> Running in 4d8e6d6d6cfc 03:57:13 Removing intermediate container 4d8e6d6d6cfc 03:57:13 ---> c1951e45e2db 03:57:13 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:57:13 ---> Running in a53760a7e689 03:57:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:57:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:57:13 (1/1) Installing dumb-init (1.2.5-r1) 03:57:13 Executing busybox-1.33.1-r8.trigger 03:57:13 OK: 6 MiB in 15 packages 03:57:14 Removing intermediate container a53760a7e689 03:57:14 ---> 222646991d0c 03:57:14 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:57:14 ---> d85b6513280e 03:57:14 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:57:14 ---> 2ead1b89e07d 03:57:14 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:57:15 ---> 9e1c837ba80f 03:57:15 Step 17/22 : EXPOSE 59901 03:57:15 ---> Running in 3d8fdcfae8c8 03:57:15 Removing intermediate container 3d8fdcfae8c8 03:57:15 ---> f4600a4948d6 03:57:15 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:57:15 ---> Running in a93dca062286 03:57:15 Removing intermediate container a93dca062286 03:57:15 ---> 199cb6168c67 03:57:15 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:57:15 ---> Running in a4cd85cf2567 03:57:15 Removing intermediate container a4cd85cf2567 03:57:15 ---> 3f32f9e13a5d 03:57:15 Step 20/22 : LABEL arch=amd64 03:57:15 ---> Running in 65374461d04a 03:57:15 Removing intermediate container 65374461d04a 03:57:15 ---> 6f1d17cc8100 03:57:15 Step 21/22 : LABEL git_sha=514b1fcb442d10bf95e8013c0fac850a8301f03e 03:57:15 ---> Running in cfe345d24b4b 03:57:15 Removing intermediate container cfe345d24b4b 03:57:15 ---> e3ebe824903c 03:57:15 Step 22/22 : LABEL version=0.0.0 03:57:15 ---> Running in 7e18828d145e 03:57:15 Removing intermediate container 7e18828d145e 03:57:15 ---> a5bdb7a11122 03:57:15 [Warning] One or more build-args [ARCH] were not consumed 03:57:15 Successfully built a5bdb7a11122 03:57:15 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:16 03:57:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:17 latest: Pulling from edgex-lftools-log-publisher 03:57:17 5eb5b503b376: Pulling fs layer 03:57:17 5c69ac0246d0: Pulling fs layer 03:57:17 ec43610c2a17: Pulling fs layer 03:57:17 3a2ae6a8a46f: Pulling fs layer 03:57:17 33b1e0a273af: Pulling fs layer 03:57:17 5d3b04190fa2: Pulling fs layer 03:57:17 2f39f015ded8: Pulling fs layer 03:57:17 5d3b04190fa2: Waiting 03:57:17 3a2ae6a8a46f: Waiting 03:57:17 33b1e0a273af: Waiting 03:57:17 2f39f015ded8: Waiting 03:57:17 5c69ac0246d0: Verifying Checksum 03:57:17 5c69ac0246d0: Download complete 03:57:17 3a2ae6a8a46f: Download complete 03:57:17 33b1e0a273af: Verifying Checksum 03:57:17 33b1e0a273af: Download complete 03:57:17 5d3b04190fa2: Download complete 03:57:17 ec43610c2a17: Download complete 03:57:17 5eb5b503b376: Download complete 03:57:17 2f39f015ded8: Download complete 03:57:18 5eb5b503b376: Pull complete 03:57:18 5c69ac0246d0: Pull complete 03:57:19 ec43610c2a17: Pull complete 03:57:19 3a2ae6a8a46f: Pull complete 03:57:19 33b1e0a273af: Pull complete 03:57:19 5d3b04190fa2: Pull complete 03:57:23 2f39f015ded8: Pull complete 03:57:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:57:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:23 prd-ubuntu20.04-docker-8c-8g-9831 does not seem to be running inside a container 03:57:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-422 -v /w/workspace/xfoundry_device-modbus-go_PR-422:/w/workspace/xfoundry_device-modbus-go_PR-422:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-422@tmp:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:57:25 $ docker top e99fc84303c867ec85faaa62d49941101e14e67562648c8a4aa6ac5e95e20ba8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:25 ---> job-cost.sh 03:57:25 lf-activate-venv: SKIPPING 03:57:25 INFO: No Stack... 03:57:26 INFO: Retrieving Pricing Info for: v3-standard-8 03:57:26 INFO: Archiving Costs [Pipeline] sh 03:57:26 + cat /w/workspace/xfoundry_device-modbus-go_PR-422/archives/cost.csv 03:57:26 + cut -d, -f6 [Pipeline] lock 03:57:26 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-422-1-stack-cost] 03:57:26 Resource [jenkins-edgexfoundry-device-modbus-go-PR-422-1-stack-cost] did not exist. Created. 03:57:26 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:57:27 + echo total: 0.2199999988079071 [Pipeline] stash 03:57:27 Stashed 1 file(s) [Pipeline] } 03:57:27 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:57:27 $ docker stop --time=1 e99fc84303c867ec85faaa62d49941101e14e67562648c8a4aa6ac5e95e20ba8 03:57:28 $ docker rm -f --volumes e99fc84303c867ec85faaa62d49941101e14e67562648c8a4aa6ac5e95e20ba8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:57:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9832 in /w/workspace/xfoundry_device-modbus-go_PR-422 [Pipeline] { [Pipeline] ws 03:57:32 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 03:57:32 Selected Git installation does not exist. Using Default 03:57:32 The recommended git tool is: NONE 03:57:37 using credential edgex-jenkins-ssh 03:57:37 Cloning the remote Git repository 03:57:37 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:57:37 > git init /w/workspace/device-modbus-go/1 # timeout=10 03:57:37 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:57:37 > git --version # timeout=10 03:57:37 > git --version # 'git version 2.25.1' 03:57:37 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:57:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:57:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:57:39 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:57:40 Merging remotes/origin/main commit 01efde03cde14ec0060c1876119bb983deb5481b into PR head commit 514b1fcb442d10bf95e8013c0fac850a8301f03e 03:57:40 Merge succeeded, producing 514b1fcb442d10bf95e8013c0fac850a8301f03e 03:57:40 Checking out Revision 514b1fcb442d10bf95e8013c0fac850a8301f03e (PR-422) 03:57:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:57:39 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:57:40 > git config core.sparsecheckout # timeout=10 03:57:40 > git checkout -f 514b1fcb442d10bf95e8013c0fac850a8301f03e # timeout=10 03:57:40 > git remote # timeout=10 03:57:40 > git config --get remote.origin.url # timeout=10 03:57:40 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:40 > git merge 01efde03cde14ec0060c1876119bb983deb5481b # timeout=10 03:57:40 > git rev-parse HEAD^{commit} # timeout=10 03:57:40 > git config core.sparsecheckout # timeout=10 03:57:40 > git checkout -f 514b1fcb442d10bf95e8013c0fac850a8301f03e # timeout=10 03:57:43 Commit message: "refactor!: consume device-sdk-go breaking changes" 03:57:44 > git --version # timeout=10 03:57:44 > git --version # 'git version 2.25.1' 03:57:44 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:57:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:57:45 % Total % Received % Xferd Average Speed Time Time Time Current 03:57:45 Dload Upload Total Spent Left Speed 03:57:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 03:57:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:57:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:57:46 + sudo tee /etc/docker/daemon.new 03:57:46 { 03:57:46 "registry-mirrors": [ 03:57:46 "https://nexus3.edgexfoundry.org:10001" 03:57:46 ], 03:57:46 "bip": "10.250.0.254/24", 03:57:46 "hosts": [ 03:57:46 "tcp://0.0.0.0:5555", 03:57:46 "unix:///var/run/docker.sock" 03:57:46 ], 03:57:46 "mtu": 1458, 03:57:46 "selinux-enabled": true, 03:57:46 "seccomp-profile": "/etc/docker/seccomp.json" 03:57:46 } [Pipeline] sh 03:57:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:57:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:58:05 provisioning config files... 03:58:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config9180867837369859114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:05 ---> docker-login.sh 03:58:05 nexus3.edgexfoundry.org:10001 03:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:06 Configure a credential helper to remove this warning. See 03:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:06 03:58:06 Login Succeeded 03:58:06 nexus3.edgexfoundry.org:10002 03:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:06 Configure a credential helper to remove this warning. See 03:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:06 03:58:06 Login Succeeded 03:58:06 nexus3.edgexfoundry.org:10003 03:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:07 Configure a credential helper to remove this warning. See 03:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:07 03:58:07 Login Succeeded 03:58:07 nexus3.edgexfoundry.org:10004 03:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:07 Configure a credential helper to remove this warning. See 03:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:07 03:58:07 Login Succeeded 03:58:07 docker.io 03:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:07 Configure a credential helper to remove this warning. See 03:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:07 03:58:07 Login Succeeded 03:58:07 ---> docker-login.sh ends [Pipeline] } 03:58:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:58:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:58:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:58:08 ========================================================= 03:58:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:58:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:08 + 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 . 03:58:09 Sending build context to Docker daemon 3.373MB 03:58:09 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 03:58:09 Step 2/10 : FROM ${BASE} AS builder 03:58:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:58:12 9b18e9b68314: Pulling fs layer 03:58:12 35d82f9e3411: Pulling fs layer 03:58:12 e16973657156: Pulling fs layer 03:58:12 fc693d55d65f: Pulling fs layer 03:58:12 7e9fc2657dce: Pulling fs layer 03:58:12 dda99020689f: Pulling fs layer 03:58:12 db1c61fa0a46: Pulling fs layer 03:58:12 891c053d2c06: Pulling fs layer 03:58:12 dda99020689f: Waiting 03:58:12 fc693d55d65f: Waiting 03:58:12 db1c61fa0a46: Waiting 03:58:12 7e9fc2657dce: Waiting 03:58:12 891c053d2c06: Waiting 03:58:12 e16973657156: Verifying Checksum 03:58:12 e16973657156: Download complete 03:58:12 35d82f9e3411: Download complete 03:58:12 7e9fc2657dce: Verifying Checksum 03:58:12 7e9fc2657dce: Download complete 03:58:12 dda99020689f: Verifying Checksum 03:58:12 dda99020689f: Download complete 03:58:12 9b18e9b68314: Verifying Checksum 03:58:12 9b18e9b68314: Pull complete 03:58:13 891c053d2c06: Verifying Checksum 03:58:13 891c053d2c06: Download complete 03:58:13 35d82f9e3411: Pull complete 03:58:13 e16973657156: Pull complete 03:58:14 db1c61fa0a46: Verifying Checksum 03:58:14 fc693d55d65f: Verifying Checksum 03:58:14 fc693d55d65f: Download complete 03:58:27 fc693d55d65f: Pull complete 03:58:27 7e9fc2657dce: Pull complete 03:58:27 dda99020689f: Pull complete 03:58:33 db1c61fa0a46: Pull complete 03:58:35 891c053d2c06: Pull complete 03:58:35 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 03:58:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:58:35 ---> f96f9c87975a 03:58:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:58:36 ---> Running in c510ebf55939 03:58:36 Removing intermediate container c510ebf55939 03:58:36 ---> 0bb0d1543682 03:58:36 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:58:36 ---> Running in 0deb2d145ce4 03:58:37 Removing intermediate container 0deb2d145ce4 03:58:37 ---> 3698027ac1e3 03:58:37 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:58:37 ---> Running in 6f34c406203a 03:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:58:39 (1/8) Installing openssh-keygen (9.0_p1-r2) 03:58:39 (2/8) Installing libedit (20210910.3.1-r0) 03:58:39 (3/8) Installing openssh-client-common (9.0_p1-r2) 03:58:39 (4/8) Installing openssh-client-default (9.0_p1-r2) 03:58:39 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 03:58:39 (6/8) Installing openssh-server-common (9.0_p1-r2) 03:58:39 (7/8) Installing openssh-server (9.0_p1-r2) 03:58:39 (8/8) Installing openssh (9.0_p1-r2) 03:58:39 Executing busybox-1.35.0-r17.trigger 03:58:39 OK: 228 MiB in 59 packages 03:58:40 Removing intermediate container 6f34c406203a 03:58:40 ---> 3de1f0f949af 03:58:40 Step 6/10 : WORKDIR /device-modbus-go 03:58:40 ---> Running in c1e7fc4919cc 03:58:41 Removing intermediate container c1e7fc4919cc 03:58:41 ---> 0f3378d07b0f 03:58:41 Step 7/10 : COPY go.mod vendor* ./ 03:58:41 ---> 808b060ea12a 03:58:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:58:41 ---> Running in 921365ed9517 03:59:49 Removing intermediate container 921365ed9517 03:59:49 ---> 546be54008fd 03:59:49 Step 9/10 : COPY . . 03:59:49 ---> d71b5d87729d 03:59:49 Step 10/10 : RUN ${MAKE} 03:59:49 ---> Running in 84a409718b0e 03:59:49 noop 03:59:49 Removing intermediate container 84a409718b0e 03:59:49 ---> 3a6e9ea1c04d 03:59:49 Successfully built 3a6e9ea1c04d 03:59:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:50 + docker inspect -f . ci-base-image-arm64 03:59:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:50 prd-ubuntu20.04-docker-arm64-4c-16g-9832 does not seem to be running inside a container 03:59:50 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:59:51 $ docker top 9e21962a5d5e0c01505e8739d24dba3e8607711e74f2dfeb8500f8f52a59cf72 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:52 + go version 03:59:52 go version go1.18.7 linux/arm64 [Pipeline] } 03:59:52 $ docker stop --time=1 9e21962a5d5e0c01505e8739d24dba3e8607711e74f2dfeb8500f8f52a59cf72 03:59:54 $ docker rm -f --volumes 9e21962a5d5e0c01505e8739d24dba3e8607711e74f2dfeb8500f8f52a59cf72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:55 + docker inspect -f . ci-base-image-arm64 03:59:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:55 prd-ubuntu20.04-docker-arm64-4c-16g-9832 does not seem to be running inside a container 03:59:55 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:59:56 $ docker top cb953cc6a8f27b8a1baec2a196ef4bae8442d46e2b59d1995c0dd2100ad65bb1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:57 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 03:59:58 + make test 03:59:58 go test ./... -coverprofile=coverage.out 04:00:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:01:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:01:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 48.0% of statements 04:01:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:01:21 go vet ./... 04:01:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:01:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:01:39 ./bin/test-attribution-txt.sh [Pipeline] echo 04:01:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:01:40 $ docker stop --time=1 cb953cc6a8f27b8a1baec2a196ef4bae8442d46e2b59d1995c0dd2100ad65bb1 04:01:42 $ docker rm -f --volumes cb953cc6a8f27b8a1baec2a196ef4bae8442d46e2b59d1995c0dd2100ad65bb1 [Pipeline] // withDockerContainer [Pipeline] sh 04:01:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:01:43 Warning: overwriting stash ‘coverage-report’ 04:01:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:01:44 + ls -al . 04:01:44 total 176 04:01:44 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 03:59 . 04:01:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 03:57 .. 04:01:44 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 03:57 .dockerignore 04:01:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 03:57 .git 04:01:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 03:57 .github 04:01:44 -rw-rw-r-- 1 jenkins jenkins 331 Mar 13 03:57 .gitignore 04:01:44 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 03:57 .golangci.yml 04:01:44 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 13 03:57 Attribution.txt 04:01:44 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 13 03:57 CHANGELOG.md 04:01:44 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 13 03:57 Dockerfile 04:01:44 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 03:57 GOVERNANCE.md 04:01:44 -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 03:57 Jenkinsfile 04:01:44 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 03:57 LICENSE 04:01:44 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 13 03:57 Makefile 04:01:44 -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 03:57 OWNERS.md 04:01:44 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 13 03:57 README.md 04:01:44 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 03:55 VERSION 04:01:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 03:57 bin 04:01:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 03:57 cmd 04:01:44 -rw-r--r-- 1 jenkins jenkins 23736 Mar 13 04:01 coverage.out 04:01:44 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 13 03:57 go.mod 04:01:44 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 13 03:57 go.sum 04:01:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 03:57 internal 04:01:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 03:57 simulator 04:01:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 03:57 snap 04:01:44 -rw-rw-r-- 1 jenkins jenkins 229 Mar 13 03:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:45 + 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=514b1fcb442d10bf95e8013c0fac850a8301f03e --label arch=arm64 --label version=0.0.0 . 04:01:45 Sending build context to Docker daemon 3.397MB 04:01:45 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 04:01:45 Step 2/22 : FROM ${BASE} AS builder 04:01:45 ---> 3a6e9ea1c04d 04:01:45 Step 3/22 : ARG ADD_BUILD_TAGS="" 04:01:45 ---> Running in eecb2079ecbc 04:01:46 Removing intermediate container eecb2079ecbc 04:01:46 ---> 20b9bd12540c 04:01:46 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:01:46 ---> Running in c01b0779f607 04:01:46 Removing intermediate container c01b0779f607 04:01:46 ---> 5feaffbf068e 04:01:46 Step 5/22 : RUN apk add --update --no-cache make git openssh 04:01:46 ---> Running in 242452d984d7 04:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:01:48 OK: 228 MiB in 59 packages 04:01:49 Removing intermediate container 242452d984d7 04:01:49 ---> 974920ef6f3d 04:01:49 Step 6/22 : WORKDIR /device-modbus-go 04:01:49 ---> Running in 1380f9602860 04:01:49 Removing intermediate container 1380f9602860 04:01:49 ---> c33d1ba174dd 04:01:49 Step 7/22 : COPY go.mod vendor* ./ 04:01:50 ---> 5ad86a98abab 04:01:50 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:50 ---> Running in 8f5695e83732 04:01:54 Removing intermediate container 8f5695e83732 04:01:54 ---> e8e4eb149521 04:01:54 Step 9/22 : COPY . . 04:01:54 ---> da58857264c1 04:01:54 Step 10/22 : RUN ${MAKE} 04:01:54 ---> Running in 59381b3ea9e8 04:01:57 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 04:04:19 Removing intermediate container 59381b3ea9e8 04:04:19 ---> d91d7399d6ce 04:04:19 Step 11/22 : FROM alpine:3.14 04:04:19 3.14: Pulling from library/alpine 04:04:19 6f0e733d82e2: Pulling fs layer 04:04:19 6f0e733d82e2: Verifying Checksum 04:04:19 6f0e733d82e2: Download complete 04:04:19 6f0e733d82e2: Pull complete 04:04:19 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 04:04:19 Status: Downloaded newer image for alpine:3.14 04:04:19 ---> bf97f6347a60 04:04:19 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:04:19 ---> Running in ce536cee5a69 04:04:19 Removing intermediate container ce536cee5a69 04:04:19 ---> db87d5181c90 04:04:19 Step 13/22 : RUN apk add --update --no-cache dumb-init 04:04:19 ---> Running in 33096ddb6777 04:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:04:19 (1/1) Installing dumb-init (1.2.5-r1) 04:04:19 Executing busybox-1.33.1-r8.trigger 04:04:19 OK: 6 MiB in 15 packages 04:04:19 Removing intermediate container 33096ddb6777 04:04:19 ---> 2cf2d3a72e50 04:04:19 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 04:04:19 ---> dd39c1e8e600 04:04:19 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 04:04:19 ---> a939733cfd18 04:04:19 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:04:20 ---> 2c81b2ee1a65 04:04:20 Step 17/22 : EXPOSE 59901 04:04:20 ---> Running in 97cc22813d8d 04:04:20 Removing intermediate container 97cc22813d8d 04:04:20 ---> 050c83ad8f9e 04:04:20 Step 18/22 : ENTRYPOINT ["/device-modbus"] 04:04:20 ---> Running in c7651a6adb52 04:04:20 Removing intermediate container c7651a6adb52 04:04:20 ---> 8df4dbaae302 04:04:20 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:04:21 ---> Running in 929b4124f263 04:04:21 Removing intermediate container 929b4124f263 04:04:21 ---> 757c8524ed33 04:04:21 Step 20/22 : LABEL arch=arm64 04:04:21 ---> Running in e8ebc52ae194 04:04:21 Removing intermediate container e8ebc52ae194 04:04:21 ---> c0dd9d4d5267 04:04:21 Step 21/22 : LABEL git_sha=514b1fcb442d10bf95e8013c0fac850a8301f03e 04:04:21 ---> Running in 662c750f3a84 04:04:21 Removing intermediate container 662c750f3a84 04:04:21 ---> df39835cdd32 04:04:21 Step 22/22 : LABEL version=0.0.0 04:04:22 ---> Running in b019cf4931e5 04:04:22 Removing intermediate container b019cf4931e5 04:04:22 ---> 74e9248650b6 04:04:22 [Warning] One or more build-args [ARCH] were not consumed 04:04:22 Successfully built 74e9248650b6 04:04:22 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:04:23 04:04:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:04:23 arm64: Pulling from edgex-lftools-log-publisher 04:04:23 8998bd30e6a1: Pulling fs layer 04:04:23 04944245beec: Pulling fs layer 04:04:23 699f458cf7ca: Pulling fs layer 04:04:23 765212b225bb: Pulling fs layer 04:04:23 f23df028b6ca: Pulling fs layer 04:04:23 d65c8cfc05b1: Pulling fs layer 04:04:23 2437ff75d9bd: Pulling fs layer 04:04:23 765212b225bb: Waiting 04:04:23 f23df028b6ca: Waiting 04:04:23 d65c8cfc05b1: Waiting 04:04:23 2437ff75d9bd: Waiting 04:04:23 04944245beec: Verifying Checksum 04:04:23 04944245beec: Download complete 04:04:23 765212b225bb: Verifying Checksum 04:04:23 765212b225bb: Download complete 04:04:23 f23df028b6ca: Download complete 04:04:23 d65c8cfc05b1: Verifying Checksum 04:04:23 d65c8cfc05b1: Download complete 04:04:24 699f458cf7ca: Verifying Checksum 04:04:24 699f458cf7ca: Download complete 04:04:24 8998bd30e6a1: Verifying Checksum 04:04:24 8998bd30e6a1: Download complete 04:04:27 2437ff75d9bd: Verifying Checksum 04:04:27 2437ff75d9bd: Download complete 04:04:28 8998bd30e6a1: Pull complete 04:04:29 04944245beec: Pull complete 04:04:30 699f458cf7ca: Pull complete 04:04:30 765212b225bb: Pull complete 04:04:31 f23df028b6ca: Pull complete 04:04:31 d65c8cfc05b1: Pull complete 04:04:46 2437ff75d9bd: Pull complete 04:04:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:04:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:46 prd-ubuntu20.04-docker-arm64-4c-16g-9832 does not seem to be running inside a container 04:04:46 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:04:49 $ docker top 0ce5feb37557e7ddb4f4b9c6a1ac13a105c805dd9818496d63e3ca7c57699a97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:50 ---> job-cost.sh 04:04:50 lf-activate-venv: SKIPPING 04:04:50 INFO: No Stack... 04:04:50 INFO: Retrieving Pricing Info for: v3-standard-4 04:04:51 INFO: Archiving Costs [Pipeline] sh 04:04:52 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 04:04:52 + cut -d, -f6 [Pipeline] lock 04:04:52 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-422-1-stack-cost] 04:04:52 Resource [jenkins-edgexfoundry-device-modbus-go-PR-422-1-stack-cost] did not exist. Created. 04:04:52 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:04:53 /w/workspace/device-modbus-go/1@tmp/durable-7996fe01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:04:53 + echo total: 0.10999999940395355 [Pipeline] stash 04:04:53 Warning: overwriting stash ‘stack-cost’ 04:04:53 Stashed 1 file(s) [Pipeline] } 04:04:53 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:04:54 $ docker stop --time=1 0ce5feb37557e7ddb4f4b9c6a1ac13a105c805dd9818496d63e3ca7c57699a97 04:04:55 $ docker rm -f --volumes 0ce5feb37557e7ddb4f4b9c6a1ac13a105c805dd9818496d63e3ca7c57699a97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:04:56 provisioning config files... 04:04:56 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/config12625246539775796811tmp [Pipeline] { [Pipeline] sh 04:04:56 + set +x 04:04:56 + curl -s https://codecov.io/bash 04:04:56 + bash -s -- 04:04:56 04:04:56 _____ _ 04:04:56 / ____| | | 04:04:56 | | ___ __| | ___ ___ _____ __ 04:04:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:04:56 | |___| (_) | (_| | __/ (_| (_) \ V / 04:04:56 \_____\___/ \__,_|\___|\___\___/ \_/ 04:04:56 Bash-1.0.6 04:04:56 04:04:56 04:04:56 ==> git version 2.25.1 found 04:04:56 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:04:56 Release-Date: 2020-01-08 04:04:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:04:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:04:56 ==> Jenkins CI detected. 04:04:56 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-422 04:04:56 project root: . 04:04:56 --> token set from env 04:04:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:04:56 ==> Running gcov in . (disable via -X gcov) 04:04:56 ==> Python coveragepy not found 04:04:56 ==> Searching for coverage reports in: 04:04:56 + . 04:04:56 -> Found 1 reports 04:04:56 ==> Detecting git/mercurial file structure 04:04:56 ==> Reading reports 04:04:56 + ./coverage.out bytes=23736 04:04:56 ==> Appending adjustments 04:04:56 https://docs.codecov.io/docs/fixing-reports 04:04:57 + Found adjustments 04:04:57 ==> Gzipping contents 04:04:57 4.0K /tmp/codecov.2IxliZ.gz 04:04:57 ==> Uploading reports 04:04:57 url: https://codecov.io 04:04:57 query: branch=PR-422&commit=514b1fcb442d10bf95e8013c0fac850a8301f03e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=422&job=&cmd_args= 04:04:57 -> Pinging Codecov 04:04:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-422&commit=514b1fcb442d10bf95e8013c0fac850a8301f03e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=422&job=&cmd_args= 04:04:57 -> Uploading to 04:04:57 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/55DBCA73C666E3227836607328DD7E49/514b1fcb442d10bf95e8013c0fac850a8301f03e/6005c70f-147c-48c9-b0d2-72f02162a152.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T040457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b187ec6ed958a4cf97186b976980b5c47bff1bd67db523544ecacdb14f0fbaef 04:04:57 % Total % Received % Xferd Average Speed Time Time Time Current 04:04:57 Dload Upload Total Spent Left Speed 04:04:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 19369 --:--:-- --:--:-- --:--:-- 19274 100 3932 0 0 100 3932 0 15791 --:--:-- --:--:-- --:--:-- 15791 04:04:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/514b1fcb442d10bf95e8013c0fac850a8301f03e [Pipeline] } 04:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:04:59 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-422/archives ] 04:04:59 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-422/archives 04:04:59 total 16 04:04:59 drwxr-xr-x 3 root root 4096 Mar 13 03:57 . 04:04:59 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 03:57 .. 04:04:59 drwxr-xr-x 2 root root 4096 Mar 13 03:57 cost 04:04:59 -rw-r--r-- 1 root root 88 Mar 13 03:57 cost.csv 04:04:59 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-422/archives 04:04:59 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-422/archives 04:04:59 total 16 04:04:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 03:57 . 04:04:59 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 03:57 .. 04:04:59 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 03:57 cost 04:04:59 -rw-r--r-- 1 jenkins jenkins 88 Mar 13 03:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:04:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:05:00 ---> package-listing.sh 04:05:00 ++ facter osfamily 04:05:00 ++ tr '[:upper:]' '[:lower:]' 04:05:00 + OS_FAMILY=debian 04:05:00 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-422 04:05:00 + START_PACKAGES=/tmp/packages_start.txt 04:05:00 + END_PACKAGES=/tmp/packages_end.txt 04:05:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:05:00 + PACKAGES=/tmp/packages_start.txt 04:05:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-422 ']' 04:05:00 + PACKAGES=/tmp/packages_end.txt 04:05:00 + case "${OS_FAMILY}" in 04:05:00 + dpkg -l 04:05:00 + grep '^ii' 04:05:00 + '[' -f /tmp/packages_start.txt ']' 04:05:00 + '[' -f /tmp/packages_end.txt ']' 04:05:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:05:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-422 ']' 04:05:00 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-422/archives/ 04:05:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-422/archives/ [Pipeline] echo 04:05:00 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-422/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:05:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:02 prd-ubuntu20.04-docker-8c-8g-9831 does not seem to be running inside a container 04:05:02 $ 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-422/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-422 -v /w/workspace/xfoundry_device-modbus-go_PR-422:/w/workspace/xfoundry_device-modbus-go_PR-422:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-422@tmp:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:05:02 $ docker top 98eb8b9ca59ecefc200f11080d268002619f31c8fa698fb434de7fecc021c72d -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:02 + touch /tmp/pre-build-complete [Pipeline] sh 04:05:02 + mkdir -p /var/log/sysstat [Pipeline] sh 04:05:03 + ls /var/log/sa-host 04:05:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:03 provisioning config files... 04:05:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/config13172081953622955325tmp [Pipeline] { [Pipeline] echo 04:05:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:05:03 ---> create-netrc.sh [Pipeline] } 04:05:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:05:04 ---> python-tools-install.sh [Pipeline] echo 04:05:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:05:04 ---> sudo-logs.sh 04:05:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:05:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:05:05 ---> job-cost.sh 04:05:05 lf-activate-venv: SKIPPING 04:05:05 DEBUG: total: 0.2199999988079071 04:05:05 INFO: Retrieving Stack Cost... 04:05:05 INFO: Retrieving Pricing Info for: v3-standard-8 04:05:05 INFO: Archiving Costs [Pipeline] echo 04:05:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:05:06 ---> logs-deploy.sh 04:05:06 lf-activate-venv: SKIPPING 04:05:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-422/1 04:05:06 INFO: archiving workspace using pattern(s): 04:05:07 Archives upload complete. 04:05:07 INFO: archiving logs to Nexus