Pull request #469 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b+831951377c32840706638568b0e432e598c2b631 (1e486c8f68e875d96bed876587ef429d0a5f2a17) 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-ssh12134698476025008491.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh11009452967820772179.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-469/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-469/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7669265504088619513.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-469/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh515135222283993807.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh13253156645903507901.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-469/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-469/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15916145764787288886.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 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-12548 in /w/workspace/xfoundry_device-modbus-go_PR-469 [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-469 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b Merge succeeded, producing 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b Checking out Revision 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b (PR-469) > 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/469/head:refs/remotes/origin/PR-469 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b # 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 831951377c32840706638568b0e432e598c2b631 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:57 ========================================================= 05:58:57 EdgeX Global Pipelines Version Info 05:58:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:58 ------------------- 05:58:58 stable info: 05:58:58 ------------------- 05:58:58 Commited By: Bill Mahoney bill.mahoney@intel.com 05:58:58 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:58:58 Message: update stable to v1.0.248 05:58:59 ------------------- 05:58:59 experimental info: 05:58:59 ------------------- 05:58:59 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:59 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:58:59 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-469 [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-469 [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-469 [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 958061b [Pipeline] echo 05:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:00 provisioning config files... 05:59:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-469@tmp/config11482980705124583937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:01 ---> docker-login.sh 05:59:01 nexus3.edgexfoundry.org:10001 05:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:01 Configure a credential helper to remove this warning. See 05:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:01 05:59:01 Login Succeeded 05:59:01 nexus3.edgexfoundry.org:10002 05:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:01 Configure a credential helper to remove this warning. See 05:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:01 05:59:01 Login Succeeded 05:59:01 nexus3.edgexfoundry.org:10003 05:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:02 Configure a credential helper to remove this warning. See 05:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:02 05:59:02 Login Succeeded 05:59:02 nexus3.edgexfoundry.org:10004 05:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:02 Configure a credential helper to remove this warning. See 05:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:02 05:59:02 Login Succeeded 05:59:02 docker.io 05:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:02 Configure a credential helper to remove this warning. See 05:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:02 05:59:02 Login Succeeded 05:59:02 ---> docker-login.sh ends [Pipeline] } 05:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:59:02 + git rev-list -1 --merges 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b~1..958061bc5e76eaf6e32631ec652fcfa4b1f0da1b [Pipeline] echo 05:59:02 -----------> git rev-list -1 --merges 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b~1..958061bc5e76eaf6e32631ec652fcfa4b1f0da1b 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b [false] [Pipeline] sh 05:59:03 + git log --format=format:%s -1 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b [Pipeline] echo 05:59:03 ========================================================= 05:59:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:59:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:03 + git log --format=format:%s -1 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b [Pipeline] echo 05:59:03 [semverPrep] GIT_COMMIT: 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:59:03 [semverPrep] This is not a build commit. [Pipeline] sh 05:59:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:59:04 + grep -v github /etc/ssh/ssh_known_hosts 05:59:04 + [ -e /tmp/ssh_known_hosts ] 05:59:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:59:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:59:04 + sudo tee -a /etc/ssh/ssh_known_hosts 05:59:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:04 05:59:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:04 0.1.4: Pulling from edgex-devops/py-git-semver 05:59:04 b85a868b505f: Pulling fs layer 05:59:04 e2be974225ed: Pulling fs layer 05:59:04 339a4e72a1f5: Pulling fs layer 05:59:04 988bab9f4d93: Pulling fs layer 05:59:04 1469e6f7b9e6: Pulling fs layer 05:59:04 eaf3925da568: Pulling fs layer 05:59:04 bab4dde63d76: Pulling fs layer 05:59:04 bde34c3a00c8: Pulling fs layer 05:59:04 b352a97aabf1: Pulling fs layer 05:59:04 4872d77fe225: Pulling fs layer 05:59:04 5851b861e8e6: Pulling fs layer 05:59:04 988bab9f4d93: Waiting 05:59:04 eaf3925da568: Waiting 05:59:04 bab4dde63d76: Waiting 05:59:04 bde34c3a00c8: Waiting 05:59:04 b352a97aabf1: Waiting 05:59:04 5851b861e8e6: Waiting 05:59:04 1469e6f7b9e6: Waiting 05:59:04 e2be974225ed: Verifying Checksum 05:59:04 e2be974225ed: Download complete 05:59:04 988bab9f4d93: Verifying Checksum 05:59:04 988bab9f4d93: Download complete 05:59:04 339a4e72a1f5: Verifying Checksum 05:59:04 339a4e72a1f5: Download complete 05:59:04 1469e6f7b9e6: Verifying Checksum 05:59:04 1469e6f7b9e6: Download complete 05:59:04 eaf3925da568: Verifying Checksum 05:59:04 eaf3925da568: Download complete 05:59:04 bde34c3a00c8: Verifying Checksum 05:59:04 bde34c3a00c8: Download complete 05:59:05 b352a97aabf1: Verifying Checksum 05:59:05 b352a97aabf1: Download complete 05:59:05 4872d77fe225: Verifying Checksum 05:59:05 4872d77fe225: Download complete 05:59:05 5851b861e8e6: Verifying Checksum 05:59:05 5851b861e8e6: Download complete 05:59:05 b85a868b505f: Verifying Checksum 05:59:05 b85a868b505f: Download complete 05:59:05 bab4dde63d76: Verifying Checksum 05:59:05 bab4dde63d76: Download complete 05:59:06 b85a868b505f: Pull complete 05:59:06 e2be974225ed: Pull complete 05:59:06 339a4e72a1f5: Pull complete 05:59:06 988bab9f4d93: Pull complete 05:59:07 1469e6f7b9e6: Pull complete 05:59:07 eaf3925da568: Pull complete 05:59:08 bab4dde63d76: Pull complete 05:59:08 bde34c3a00c8: Pull complete 05:59:08 b352a97aabf1: Pull complete 05:59:08 4872d77fe225: Pull complete 05:59:08 5851b861e8e6: Pull complete 05:59:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:59:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:09 prd-ubuntu20.04-docker-8c-8g-12548 does not seem to be running inside a container 05:59:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-469 -v /w/workspace/xfoundry_device-modbus-go_PR-469:/w/workspace/xfoundry_device-modbus-go_PR-469:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-469@tmp:/w/workspace/xfoundry_device-modbus-go_PR-469@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:59:11 $ docker top 899023ed275af2fc6e9a028c233f4d54b564944fe2cef2ec2f3d26b338d4eeeb -eo pid,comm 05:59:11 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). 05:59:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:59:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:11 [ssh-agent] Looking for ssh-agent implementation... 05:59:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:11 $ docker exec 899023ed275af2fc6e9a028c233f4d54b564944fe2cef2ec2f3d26b338d4eeeb ssh-agent 05:59:11 SSH_AUTH_SOCK=/tmp/ssh-dUOxsfPhQUep/agent.34 05:59:11 SSH_AGENT_PID=40 05:59:11 Running ssh-add (command line suppressed) 05:59:11 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-469@tmp/private_key_4290028372629360341.key (/w/workspace/xfoundry_device-modbus-go_PR-469@tmp/private_key_4290028372629360341.key) 05:59:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:11 + git tag --points-at HEAD [Pipeline] } 05:59:11 $ docker exec --env ******** --env ******** 899023ed275af2fc6e9a028c233f4d54b564944fe2cef2ec2f3d26b338d4eeeb ssh-agent -k 05:59:12 unset SSH_AUTH_SOCK; 05:59:12 unset SSH_AGENT_PID; 05:59:12 echo Agent pid 40 killed; 05:59:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:59:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:12 [ssh-agent] Looking for ssh-agent implementation... 05:59:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:12 $ docker exec 899023ed275af2fc6e9a028c233f4d54b564944fe2cef2ec2f3d26b338d4eeeb ssh-agent 05:59:12 SSH_AUTH_SOCK=/tmp/ssh-QYQM17ZoKRdt/agent.72 05:59:12 SSH_AGENT_PID=78 05:59:12 Running ssh-add (command line suppressed) 05:59:12 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-469@tmp/private_key_7746773981510879322.key (/w/workspace/xfoundry_device-modbus-go_PR-469@tmp/private_key_7746773981510879322.key) 05:59:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:12 + git semver init 05:59:13 2023-05-03 05:59:12,950 [run_init] DEBUG init version:0.0.0 force:False 05:59:13 2023-05-03 05:59:12,950 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-469/.semver 05:59:13 2023-05-03 05:59:12,951 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-469/.semver 05:59:13 2023-05-03 05:59:12,951 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-469/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-469, universal_newlines=False, shell=None, istream=None) 05:59:13 2023-05-03 05:59:13,727 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-469/.git/info/exclude 05:59:13 2023-05-03 05:59:13,727 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-469/.semver/PR-469 with force:False 05:59:13 2023-05-03 05:59:13,727 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-469/.semver/PR-469 05:59:13 2023-05-03 05:59:13,731 [execute] INFO git cat-file --batch-check 05:59:13 2023-05-03 05:59:13,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-469/.semver, universal_newlines=False, shell=None, istream=) 05:59:13 2023-05-03 05:59:13,737 [execute] INFO git cat-file --batch 05:59:13 2023-05-03 05:59:13,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-469/.semver, universal_newlines=False, shell=None, istream=) 05:59:13 2023-05-03 05:59:13,742 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-469/.semver/PR-469 05:59:13 0.0.0 [Pipeline] } 05:59:14 $ docker exec --env ******** --env ******** 899023ed275af2fc6e9a028c233f4d54b564944fe2cef2ec2f3d26b338d4eeeb ssh-agent -k 05:59:14 unset SSH_AUTH_SOCK; 05:59:14 unset SSH_AGENT_PID; 05:59:14 echo Agent pid 78 killed; 05:59:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:59:14 + git semver [Pipeline] } 05:59:14 $ docker stop --time=1 899023ed275af2fc6e9a028c233f4d54b564944fe2cef2ec2f3d26b338d4eeeb 05:59:16 $ docker rm -f --volumes 899023ed275af2fc6e9a028c233f4d54b564944fe2cef2ec2f3d26b338d4eeeb [Pipeline] // withDockerContainer [Pipeline] sh 05:59:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:59:16 Stashed 1 file(s) [Pipeline] echo 05:59:16 [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 05:59:17 provisioning config files... 05:59:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-469@tmp/config17836925522582920831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:17 ---> docker-login.sh 05:59:17 nexus3.edgexfoundry.org:10001 05:59:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:17 Configure a credential helper to remove this warning. See 05:59:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:17 05:59:17 Login Succeeded 05:59:17 nexus3.edgexfoundry.org:10002 05:59:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:17 Configure a credential helper to remove this warning. See 05:59:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:17 05:59:17 Login Succeeded 05:59:17 nexus3.edgexfoundry.org:10003 05:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:18 Configure a credential helper to remove this warning. See 05:59:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:18 05:59:18 Login Succeeded 05:59:18 nexus3.edgexfoundry.org:10004 05:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:18 Configure a credential helper to remove this warning. See 05:59:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:18 05:59:18 Login Succeeded 05:59:18 docker.io 05:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:18 Configure a credential helper to remove this warning. See 05:59:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:18 05:59:18 Login Succeeded 05:59:18 ---> docker-login.sh ends [Pipeline] } 05:59:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:18 ========================================================= 05:59:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:59:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:59:19 Sending build context to Docker daemon 6.475MB 05:59:19 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:59:19 Step 2/10 : FROM ${BASE} AS builder 05:59:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:59:19 f56be85fc22e: Pulling fs layer 05:59:19 85791d961cd3: Pulling fs layer 05:59:19 d694b5ae8c79: Pulling fs layer 05:59:19 9f32a84ed3da: Pulling fs layer 05:59:19 4d19c01a9841: Pulling fs layer 05:59:19 9325e15d5711: Pulling fs layer 05:59:19 556b6ee489ea: Pulling fs layer 05:59:19 c5a4b2cf53e6: Pulling fs layer 05:59:19 9f32a84ed3da: Waiting 05:59:19 4d19c01a9841: Waiting 05:59:19 9325e15d5711: Waiting 05:59:19 c5a4b2cf53e6: Waiting 05:59:19 556b6ee489ea: Waiting 05:59:19 85791d961cd3: Download complete 05:59:19 9f32a84ed3da: Download complete 05:59:19 4d19c01a9841: Verifying Checksum 05:59:19 4d19c01a9841: Download complete 05:59:19 f56be85fc22e: Download complete 05:59:19 9325e15d5711: Verifying Checksum 05:59:19 9325e15d5711: Download complete 05:59:19 f56be85fc22e: Pull complete 05:59:19 85791d961cd3: Pull complete 05:59:19 c5a4b2cf53e6: Verifying Checksum 05:59:19 c5a4b2cf53e6: Download complete 05:59:20 d694b5ae8c79: Verifying Checksum 05:59:20 d694b5ae8c79: Download complete 05:59:20 556b6ee489ea: Verifying Checksum 05:59:20 556b6ee489ea: Download complete 05:59:23 d694b5ae8c79: Pull complete 05:59:23 9f32a84ed3da: Pull complete 05:59:23 4d19c01a9841: Pull complete 05:59:23 9325e15d5711: Pull complete 05:59:25 556b6ee489ea: Pull complete 05:59:26 c5a4b2cf53e6: Pull complete 05:59:26 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:59:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:59:26 ---> c4be618373d6 05:59:26 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:59:29 ---> Running in 84059935fb82 05:59:29 Removing intermediate container 84059935fb82 05:59:29 ---> f4748a275b11 05:59:29 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:29 ---> Running in a98da5a59e07 05:59:29 Removing intermediate container a98da5a59e07 05:59:29 ---> 4d6260677fa6 05:59:29 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:59:29 ---> Running in bfae338d3b0d 05:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:29 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:59:29 (2/8) Installing libedit (20221030.3.1-r0) 05:59:29 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:59:30 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:59:30 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:59:30 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:59:30 (7/8) Installing openssh-server (9.1_p1-r2) 05:59:30 (8/8) Installing openssh (9.1_p1-r2) 05:59:30 Executing busybox-1.35.0-r29.trigger 05:59:30 OK: 270 MiB in 61 packages 05:59:30 Removing intermediate container bfae338d3b0d 05:59:30 ---> a71f4f5ca975 05:59:30 Step 6/10 : WORKDIR /device-modbus-go 05:59:30 ---> Running in 2c6fdc356ae5 05:59:30 Removing intermediate container 2c6fdc356ae5 05:59:30 ---> 4b50f0fc0456 05:59:30 Step 7/10 : COPY go.mod vendor* ./ 05:59:30 ---> 190f3368ce92 05:59:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:30 ---> Running in 22cc80a38b43 05:59:32 Still waiting to schedule task 05:59:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:59:57 Removing intermediate container 22cc80a38b43 05:59:57 ---> 1d2f2310da89 05:59:57 Step 9/10 : COPY . . 05:59:57 ---> d21a0e7d1d43 05:59:57 Step 10/10 : RUN ${MAKE} 05:59:57 ---> Running in 6eb784d84edb 05:59:57 noop 05:59:57 Removing intermediate container 6eb784d84edb 05:59:57 ---> a3601a21291e 05:59:57 Successfully built a3601a21291e 05:59:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:57 + docker inspect -f . ci-base-image-x86_64 05:59:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:57 prd-ubuntu20.04-docker-8c-8g-12548 does not seem to be running inside a container 05:59:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-469 -v /w/workspace/xfoundry_device-modbus-go_PR-469:/w/workspace/xfoundry_device-modbus-go_PR-469:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-469@tmp:/w/workspace/xfoundry_device-modbus-go_PR-469@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:58 $ docker top 340be1b691f7873eda92cbbfe36ca895d72578643582f825c27d84f57651eb4a -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:58 + go version 05:59:58 go version go1.20.2 linux/amd64 [Pipeline] } 05:59:58 $ docker stop --time=1 340be1b691f7873eda92cbbfe36ca895d72578643582f825c27d84f57651eb4a 05:59:59 $ docker rm -f --volumes 340be1b691f7873eda92cbbfe36ca895d72578643582f825c27d84f57651eb4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:00 + docker inspect -f . ci-base-image-x86_64 06:00:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:00 prd-ubuntu20.04-docker-8c-8g-12548 does not seem to be running inside a container 06:00:00 $ 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-469 -v /w/workspace/xfoundry_device-modbus-go_PR-469:/w/workspace/xfoundry_device-modbus-go_PR-469:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-469@tmp:/w/workspace/xfoundry_device-modbus-go_PR-469@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:01 $ docker top 1bd3676300ae858d2ab6000c527f1274fa4b15e62784dcb4ef61d4a9eb8d01f9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:01 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-469 [Pipeline] fileExists [Pipeline] sh 06:00:01 + make test 06:00:01 go test ./... -coverprofile=coverage.out 06:00:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:00:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:00:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements 06:00:23 go vet ./... 06:00:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:00:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:00:26 ./bin/test-attribution-txt.sh [Pipeline] echo 06:00:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:00:26 $ docker stop --time=1 1bd3676300ae858d2ab6000c527f1274fa4b15e62784dcb4ef61d4a9eb8d01f9 06:00:29 $ docker rm -f --volumes 1bd3676300ae858d2ab6000c527f1274fa4b15e62784dcb4ef61d4a9eb8d01f9 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:00:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:30 + ls -al . 06:00:30 total 180 06:00:30 drwxrwxr-x 10 jenkins jenkins 4096 May 3 06:00 . 06:00:30 drwxrwxr-x 4 jenkins jenkins 4096 May 3 05:58 .. 06:00:30 -rw-rw-r-- 1 jenkins jenkins 140 May 3 05:58 .dockerignore 06:00:30 drwxrwxr-x 8 jenkins jenkins 4096 May 3 05:59 .git 06:00:30 drwxrwxr-x 3 jenkins jenkins 4096 May 3 05:58 .github 06:00:30 -rw-rw-r-- 1 jenkins jenkins 331 May 3 05:58 .gitignore 06:00:30 -rw-rw-r-- 1 jenkins jenkins 41 May 3 05:58 .golangci.yml 06:00:30 drwxr-xr-x 3 jenkins jenkins 4096 May 3 05:59 .semver 06:00:30 -rw-rw-r-- 1 jenkins jenkins 10132 May 3 05:58 Attribution.txt 06:00:30 -rw-rw-r-- 1 jenkins jenkins 11576 May 3 05:58 CHANGELOG.md 06:00:30 -rw-rw-r-- 1 jenkins jenkins 1365 May 3 05:58 Dockerfile 06:00:30 -rw-rw-r-- 1 jenkins jenkins 677 May 3 05:58 GOVERNANCE.md 06:00:30 -rw-rw-r-- 1 jenkins jenkins 680 May 3 05:58 Jenkinsfile 06:00:30 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 05:58 LICENSE 06:00:30 -rw-rw-r-- 1 jenkins jenkins 1705 May 3 05:58 Makefile 06:00:30 -rw-rw-r-- 1 jenkins jenkins 622 May 3 05:58 OWNERS.md 06:00:30 -rw-rw-r-- 1 jenkins jenkins 4045 May 3 05:58 README.md 06:00:30 -rw-rw-r-- 1 jenkins jenkins 5 May 3 05:59 VERSION 06:00:30 drwxrwxr-x 2 jenkins jenkins 4096 May 3 05:58 bin 06:00:30 drwxrwxr-x 3 jenkins jenkins 4096 May 3 05:58 cmd 06:00:30 -rw-r--r-- 1 jenkins jenkins 24160 May 3 06:00 coverage.out 06:00:30 -rw-rw-r-- 1 jenkins jenkins 3453 May 3 05:58 go.mod 06:00:30 -rw-rw-r-- 1 jenkins jenkins 31670 May 3 05:58 go.sum 06:00:30 drwxrwxr-x 3 jenkins jenkins 4096 May 3 05:58 internal 06:00:30 drwxrwxr-x 2 jenkins jenkins 4096 May 3 05:58 simulator 06:00:30 drwxrwxr-x 4 jenkins jenkins 4096 May 3 05:58 snap 06:00:30 -rw-rw-r-- 1 jenkins jenkins 229 May 3 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:31 + 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=958061bc5e76eaf6e32631ec652fcfa4b1f0da1b --label arch=amd64 --label version=0.0.0 . 06:00:31 Sending build context to Docker daemon 6.5MB 06:00:31 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:00:31 Step 2/22 : FROM ${BASE} AS builder 06:00:31 ---> a3601a21291e 06:00:31 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:00:31 ---> Running in 97c624621360 06:00:31 Removing intermediate container 97c624621360 06:00:31 ---> d717d6c31c7e 06:00:31 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:31 ---> Running in c5ba537ef46b 06:00:31 Removing intermediate container c5ba537ef46b 06:00:31 ---> 3a77be0f6326 06:00:31 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:00:31 ---> Running in 1c3e5e219937 06:00:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:32 OK: 270 MiB in 61 packages 06:00:32 Removing intermediate container 1c3e5e219937 06:00:32 ---> 15548e172175 06:00:32 Step 6/22 : WORKDIR /device-modbus-go 06:00:32 ---> Running in 60d553e1d698 06:00:32 Removing intermediate container 60d553e1d698 06:00:32 ---> 2ae6141494d6 06:00:32 Step 7/22 : COPY go.mod vendor* ./ 06:00:32 ---> 2fa39f28df3b 06:00:32 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:32 ---> Running in bd1529d1a637 06:00:33 Removing intermediate container bd1529d1a637 06:00:33 ---> 0ae84f702f3d 06:00:33 Step 9/22 : COPY . . 06:00:33 ---> 3aa73d582ab3 06:00:33 Step 10/22 : RUN ${MAKE} 06:00:33 ---> Running in 2ea47bdc0c33 06:00:33 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 06:00:52 Removing intermediate container 2ea47bdc0c33 06:00:52 ---> a287acf673a4 06:00:52 Step 11/22 : FROM alpine:3.17 06:00:52 3.17: Pulling from library/alpine 06:00:52 f56be85fc22e: Already exists 06:00:52 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:00:52 Status: Downloaded newer image for alpine:3.17 06:00:52 ---> 9ed4aefc74f6 06:00:52 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:00:52 ---> Running in d8a62ef76cf5 06:00:52 Removing intermediate container d8a62ef76cf5 06:00:52 ---> fe979d859b08 06:00:52 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:00:52 ---> Running in bf0b819a37cf 06:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:52 (1/1) Installing dumb-init (1.2.5-r2) 06:00:52 Executing busybox-1.35.0-r29.trigger 06:00:52 OK: 7 MiB in 16 packages 06:00:52 Removing intermediate container bf0b819a37cf 06:00:52 ---> ff537a409d76 06:00:52 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:00:53 ---> 7297f9304acc 06:00:53 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:00:53 ---> 46f7ecddc483 06:00:53 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:00:53 ---> af803e9cff1d 06:00:53 Step 17/22 : EXPOSE 59901 06:00:53 ---> Running in d9107775c2cf 06:00:53 Removing intermediate container d9107775c2cf 06:00:53 ---> 43fb9d5595ca 06:00:53 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:00:53 ---> Running in 140c2df5339e 06:00:53 Removing intermediate container 140c2df5339e 06:00:53 ---> 14afb21d7300 06:00:53 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:00:53 ---> Running in cfb002e7d881 06:00:53 Removing intermediate container cfb002e7d881 06:00:53 ---> 3f4c6c0b1c0b 06:00:53 Step 20/22 : LABEL arch=amd64 06:00:53 ---> Running in e51f8e168443 06:00:53 Removing intermediate container e51f8e168443 06:00:53 ---> cba4feb00e12 06:00:53 Step 21/22 : LABEL git_sha=958061bc5e76eaf6e32631ec652fcfa4b1f0da1b 06:00:53 ---> Running in 91e538c95760 06:00:53 Removing intermediate container 91e538c95760 06:00:53 ---> c641073a5dd0 06:00:53 Step 22/22 : LABEL version=0.0.0 06:00:53 ---> Running in d3d7ff39f320 06:00:53 Removing intermediate container d3d7ff39f320 06:00:53 ---> 8d01630404fd 06:00:53 [Warning] One or more build-args [ARCH] were not consumed 06:00:53 Successfully built 8d01630404fd 06:00:53 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:54 06:00:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:54 latest: Pulling from edgex-lftools-log-publisher 06:00:54 5eb5b503b376: Pulling fs layer 06:00:54 5c69ac0246d0: Pulling fs layer 06:00:54 ec43610c2a17: Pulling fs layer 06:00:54 3a2ae6a8a46f: Pulling fs layer 06:00:54 33b1e0a273af: Pulling fs layer 06:00:54 5d3b04190fa2: Pulling fs layer 06:00:54 2f39f015ded8: Pulling fs layer 06:00:54 33b1e0a273af: Waiting 06:00:54 5d3b04190fa2: Waiting 06:00:54 2f39f015ded8: Waiting 06:00:54 3a2ae6a8a46f: Waiting 06:00:54 5c69ac0246d0: Download complete 06:00:54 3a2ae6a8a46f: Verifying Checksum 06:00:54 3a2ae6a8a46f: Download complete 06:00:54 ec43610c2a17: Verifying Checksum 06:00:54 ec43610c2a17: Download complete 06:00:54 33b1e0a273af: Verifying Checksum 06:00:54 33b1e0a273af: Download complete 06:00:54 5d3b04190fa2: Verifying Checksum 06:00:54 5d3b04190fa2: Download complete 06:00:55 5eb5b503b376: Verifying Checksum 06:00:55 5eb5b503b376: Download complete 06:00:55 2f39f015ded8: Download complete 06:00:55 5eb5b503b376: Pull complete 06:00:56 5c69ac0246d0: Pull complete 06:00:56 ec43610c2a17: Pull complete 06:00:56 3a2ae6a8a46f: Pull complete 06:00:56 33b1e0a273af: Pull complete 06:00:56 5d3b04190fa2: Pull complete 06:01:01 2f39f015ded8: Pull complete 06:01:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:01:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:01 prd-ubuntu20.04-docker-8c-8g-12548 does not seem to be running inside a container 06:01:01 $ 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-469 -v /w/workspace/xfoundry_device-modbus-go_PR-469:/w/workspace/xfoundry_device-modbus-go_PR-469:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-469@tmp:/w/workspace/xfoundry_device-modbus-go_PR-469@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:01:04 $ docker top 8ab106298bf160a63d312657477e6741b3dda01ecb765f87704a917d8f0e255a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:04 ---> job-cost.sh 06:01:04 lf-activate-venv: SKIPPING 06:01:04 INFO: No Stack... 06:01:05 INFO: Retrieving Pricing Info for: v3-standard-8 06:01:05 INFO: Archiving Costs [Pipeline] sh 06:01:05 + cat /w/workspace/xfoundry_device-modbus-go_PR-469/archives/cost.csv 06:01:05 + cut -d, -f6 [Pipeline] lock 06:01:05 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-469-1-stack-cost] 06:01:05 Resource [jenkins-edgexfoundry-device-modbus-go-PR-469-1-stack-cost] did not exist. Created. 06:01:05 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-469-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:06 + echo total: 0.2199999988079071 [Pipeline] stash 06:01:06 Stashed 1 file(s) [Pipeline] } 06:01:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-469-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:01:06 $ docker stop --time=1 8ab106298bf160a63d312657477e6741b3dda01ecb765f87704a917d8f0e255a 06:01:07 $ docker rm -f --volumes 8ab106298bf160a63d312657477e6741b3dda01ecb765f87704a917d8f0e255a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:01:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12550 in /w/workspace/xfoundry_device-modbus-go_PR-469 [Pipeline] { [Pipeline] ws 06:01:58 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:01:59 Selected Git installation does not exist. Using Default 06:01:59 The recommended git tool is: NONE 06:02:04 using credential edgex-jenkins-ssh 06:02:04 Cloning the remote Git repository 06:02:04 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:02:05 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:02:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:02:05 > git --version # timeout=10 06:02:05 > git --version # 'git version 2.25.1' 06:02:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:06 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:02:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:08 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b 06:02:08 Merge succeeded, producing 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b 06:02:08 Checking out Revision 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b (PR-469) 06:02:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:02:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:02:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/469/head:refs/remotes/origin/PR-469 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:02:08 > git config core.sparsecheckout # timeout=10 06:02:08 > git checkout -f 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b # timeout=10 06:02:08 > git remote # timeout=10 06:02:08 > git config --get remote.origin.url # timeout=10 06:02:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:08 > git merge 831951377c32840706638568b0e432e598c2b631 # timeout=10 06:02:08 > git rev-parse HEAD^{commit} # timeout=10 06:02:08 > git config core.sparsecheckout # timeout=10 06:02:08 > git checkout -f 958061bc5e76eaf6e32631ec652fcfa4b1f0da1b # timeout=10 06:02:09 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:02:09 > git --version # timeout=10 06:02:09 > git --version # 'git version 2.25.1' 06:02:09 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:02:10 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:10 Dload Upload Total Spent Left Speed 06:02:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 06:02:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:02:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:02:11 + sudo tee /etc/docker/daemon.new 06:02:11 { 06:02:11 "registry-mirrors": [ 06:02:11 "https://nexus3.edgexfoundry.org:10001" 06:02:11 ], 06:02:11 "bip": "10.250.0.254/24", 06:02:11 "hosts": [ 06:02:11 "tcp://0.0.0.0:5555", 06:02:11 "unix:///var/run/docker.sock" 06:02:11 ], 06:02:11 "mtu": 1458, 06:02:11 "selinux-enabled": true, 06:02:11 "seccomp-profile": "/etc/docker/seccomp.json" 06:02:11 } [Pipeline] sh 06:02:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:02:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:30 provisioning config files... 06:02:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config175643118987631437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:30 ---> docker-login.sh 06:02:30 nexus3.edgexfoundry.org:10001 06:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:31 Configure a credential helper to remove this warning. See 06:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:31 06:02:31 Login Succeeded 06:02:31 nexus3.edgexfoundry.org:10002 06:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:31 Configure a credential helper to remove this warning. See 06:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:31 06:02:31 Login Succeeded 06:02:31 nexus3.edgexfoundry.org:10003 06:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:32 Configure a credential helper to remove this warning. See 06:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:32 06:02:32 Login Succeeded 06:02:32 nexus3.edgexfoundry.org:10004 06:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:32 Configure a credential helper to remove this warning. See 06:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:32 06:02:32 Login Succeeded 06:02:32 docker.io 06:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:33 Configure a credential helper to remove this warning. See 06:02:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:33 06:02:33 Login Succeeded 06:02:33 ---> docker-login.sh ends [Pipeline] } 06:02:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:33 ========================================================= 06:02:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:02:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:02:34 Sending build context to Docker daemon 3.381MB 06:02:34 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:02:34 Step 2/10 : FROM ${BASE} AS builder 06:02:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:02:34 c41833b44d91: Pulling fs layer 06:02:34 ed15518f5707: Pulling fs layer 06:02:34 feae8fd75edb: Pulling fs layer 06:02:34 242c74f7c9fa: Pulling fs layer 06:02:34 3cdef696dda3: Pulling fs layer 06:02:34 2ced38df9373: Pulling fs layer 06:02:34 58f1dce35555: Pulling fs layer 06:02:34 242c74f7c9fa: Waiting 06:02:34 2ced38df9373: Waiting 06:02:34 58f1dce35555: Waiting 06:02:34 3cdef696dda3: Waiting 06:02:34 ed15518f5707: Verifying Checksum 06:02:34 ed15518f5707: Download complete 06:02:34 242c74f7c9fa: Verifying Checksum 06:02:34 242c74f7c9fa: Download complete 06:02:34 3cdef696dda3: Verifying Checksum 06:02:34 3cdef696dda3: Download complete 06:02:34 c41833b44d91: Verifying Checksum 06:02:34 c41833b44d91: Download complete 06:02:36 c41833b44d91: Pull complete 06:02:36 58f1dce35555: Verifying Checksum 06:02:36 58f1dce35555: Download complete 06:02:37 feae8fd75edb: Verifying Checksum 06:02:37 feae8fd75edb: Download complete 06:02:37 2ced38df9373: Verifying Checksum 06:02:37 2ced38df9373: Download complete 06:02:38 ed15518f5707: Pull complete 06:02:51 feae8fd75edb: Pull complete 06:02:51 242c74f7c9fa: Pull complete 06:02:51 3cdef696dda3: Pull complete 06:02:56 2ced38df9373: Pull complete 06:02:59 58f1dce35555: Pull complete 06:02:59 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:02:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:02:59 ---> fadd8f120f05 06:02:59 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:03:00 ---> Running in c85ab4ab00b9 06:03:01 Removing intermediate container c85ab4ab00b9 06:03:01 ---> 7159aab416f5 06:03:01 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:03:01 ---> Running in a5d19e5ae96e 06:03:01 Removing intermediate container a5d19e5ae96e 06:03:01 ---> 7f138880af65 06:03:01 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:03:01 ---> Running in 8ff5aab87df7 06:03:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:03:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:03:04 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:03:04 (2/8) Installing libedit (20221030.3.1-r0) 06:03:04 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:03:04 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:03:04 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:03:04 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:03:04 (7/8) Installing openssh-server (9.1_p1-r2) 06:03:04 (8/8) Installing openssh (9.1_p1-r2) 06:03:04 Executing busybox-1.35.0-r29.trigger 06:03:04 OK: 270 MiB in 61 packages 06:03:05 Removing intermediate container 8ff5aab87df7 06:03:05 ---> d33b29652461 06:03:05 Step 6/10 : WORKDIR /device-modbus-go 06:03:05 ---> Running in 91a7f8ac34ca 06:03:06 Removing intermediate container 91a7f8ac34ca 06:03:06 ---> 87463bd0e1b7 06:03:06 Step 7/10 : COPY go.mod vendor* ./ 06:03:06 ---> 6294d8a83278 06:03:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:06 ---> Running in 252c96bdc2b3 06:04:14 Removing intermediate container 252c96bdc2b3 06:04:14 ---> bea58da4fbe2 06:04:14 Step 9/10 : COPY . . 06:04:14 ---> 2f7a8ae65aa5 06:04:14 Step 10/10 : RUN ${MAKE} 06:04:14 ---> Running in 64a7a41c594b 06:04:14 noop 06:04:14 Removing intermediate container 64a7a41c594b 06:04:14 ---> cd528bfdd915 06:04:14 Successfully built cd528bfdd915 06:04:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:15 + docker inspect -f . ci-base-image-arm64 06:04:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:15 prd-ubuntu20.04-docker-arm64-4c-16g-12550 does not seem to be running inside a container 06:04:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:04:16 $ docker top 03dbf55201b85c7863f4de095c32e6ad550af4ad8f6d54b4d08c5b5de3546865 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:17 + go version 06:04:17 go version go1.20.2 linux/arm64 [Pipeline] } 06:04:17 $ docker stop --time=1 03dbf55201b85c7863f4de095c32e6ad550af4ad8f6d54b4d08c5b5de3546865 06:04:19 $ docker rm -f --volumes 03dbf55201b85c7863f4de095c32e6ad550af4ad8f6d54b4d08c5b5de3546865 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:19 + docker inspect -f . ci-base-image-arm64 06:04:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:20 prd-ubuntu20.04-docker-arm64-4c-16g-12550 does not seem to be running inside a container 06:04:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:04:21 $ docker top 4b6375b5026cf5f7f3fd91a5fa89a8c664b7eec29882bde3261de43e751eeb53 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:22 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:04:22 + make test 06:04:22 go test ./... -coverprofile=coverage.out 06:04:55 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:07:03 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:07:03 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.077s coverage: 47.4% of statements 06:07:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:07:03 go vet ./... 06:07:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:07:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:07:25 ./bin/test-attribution-txt.sh [Pipeline] echo 06:07:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:07:25 $ docker stop --time=1 4b6375b5026cf5f7f3fd91a5fa89a8c664b7eec29882bde3261de43e751eeb53 06:07:30 $ docker rm -f --volumes 4b6375b5026cf5f7f3fd91a5fa89a8c664b7eec29882bde3261de43e751eeb53 [Pipeline] // withDockerContainer [Pipeline] sh 06:07:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:31 Warning: overwriting stash ‘coverage-report’ 06:07:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:33 + ls -al . 06:07:33 total 176 06:07:33 drwxrwxr-x 9 jenkins jenkins 4096 May 3 06:04 . 06:07:33 drwxrwxr-x 4 jenkins jenkins 4096 May 3 06:02 .. 06:07:33 -rw-rw-r-- 1 jenkins jenkins 140 May 3 06:02 .dockerignore 06:07:33 drwxrwxr-x 8 jenkins jenkins 4096 May 3 06:02 .git 06:07:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 06:02 .github 06:07:33 -rw-rw-r-- 1 jenkins jenkins 331 May 3 06:02 .gitignore 06:07:33 -rw-rw-r-- 1 jenkins jenkins 41 May 3 06:02 .golangci.yml 06:07:33 -rw-rw-r-- 1 jenkins jenkins 10132 May 3 06:02 Attribution.txt 06:07:33 -rw-rw-r-- 1 jenkins jenkins 11576 May 3 06:02 CHANGELOG.md 06:07:33 -rw-rw-r-- 1 jenkins jenkins 1365 May 3 06:02 Dockerfile 06:07:33 -rw-rw-r-- 1 jenkins jenkins 677 May 3 06:02 GOVERNANCE.md 06:07:33 -rw-rw-r-- 1 jenkins jenkins 680 May 3 06:02 Jenkinsfile 06:07:33 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 06:02 LICENSE 06:07:33 -rw-rw-r-- 1 jenkins jenkins 1705 May 3 06:02 Makefile 06:07:33 -rw-rw-r-- 1 jenkins jenkins 622 May 3 06:02 OWNERS.md 06:07:33 -rw-rw-r-- 1 jenkins jenkins 4045 May 3 06:02 README.md 06:07:33 -rw-rw-r-- 1 jenkins jenkins 5 May 3 05:59 VERSION 06:07:33 drwxrwxr-x 2 jenkins jenkins 4096 May 3 06:02 bin 06:07:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 06:02 cmd 06:07:33 -rw-r--r-- 1 jenkins jenkins 24160 May 3 06:06 coverage.out 06:07:33 -rw-rw-r-- 1 jenkins jenkins 3453 May 3 06:02 go.mod 06:07:33 -rw-rw-r-- 1 jenkins jenkins 31670 May 3 06:02 go.sum 06:07:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 06:02 internal 06:07:33 drwxrwxr-x 2 jenkins jenkins 4096 May 3 06:02 simulator 06:07:33 drwxrwxr-x 4 jenkins jenkins 4096 May 3 06:02 snap 06:07:33 -rw-rw-r-- 1 jenkins jenkins 229 May 3 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:33 + 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=958061bc5e76eaf6e32631ec652fcfa4b1f0da1b --label arch=arm64 --label version=0.0.0 . 06:07:33 Sending build context to Docker daemon 3.406MB 06:07:33 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:07:33 Step 2/22 : FROM ${BASE} AS builder 06:07:33 ---> cd528bfdd915 06:07:33 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:07:34 ---> Running in 362d9eb0c1ae 06:07:34 Removing intermediate container 362d9eb0c1ae 06:07:34 ---> 78d4dc1b4e76 06:07:34 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:34 ---> Running in 97f502bf7e02 06:07:34 Removing intermediate container 97f502bf7e02 06:07:34 ---> 068949c98968 06:07:34 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:07:34 ---> Running in 05964a84bcea 06:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:07:37 OK: 270 MiB in 61 packages 06:07:38 Removing intermediate container 05964a84bcea 06:07:38 ---> 6e2e9ce52b6f 06:07:38 Step 6/22 : WORKDIR /device-modbus-go 06:07:38 ---> Running in 6c9d8c957a9f 06:07:38 Removing intermediate container 6c9d8c957a9f 06:07:38 ---> c9703eeb0d46 06:07:38 Step 7/22 : COPY go.mod vendor* ./ 06:07:39 ---> fcc269bf2a66 06:07:39 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:39 ---> Running in ed9ceaba3981 06:07:41 Removing intermediate container ed9ceaba3981 06:07:41 ---> 13f4dc2a6ffb 06:07:41 Step 9/22 : COPY . . 06:07:42 ---> 3400c6de5762 06:07:42 Step 10/22 : RUN ${MAKE} 06:07:42 ---> Running in c8d69304f9de 06:07:45 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 06:10:07 Removing intermediate container c8d69304f9de 06:10:07 ---> ae7947178e9a 06:10:07 Step 11/22 : FROM alpine:3.17 06:10:07 3.17: Pulling from library/alpine 06:10:07 c41833b44d91: Already exists 06:10:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:10:07 Status: Downloaded newer image for alpine:3.17 06:10:07 ---> 51e60588ff2c 06:10:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:10:07 ---> Running in 5de73b105839 06:10:07 Removing intermediate container 5de73b105839 06:10:07 ---> add44c74ffcb 06:10:07 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:10:07 ---> Running in b51d898697f2 06:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:10:07 (1/1) Installing dumb-init (1.2.5-r2) 06:10:07 Executing busybox-1.35.0-r29.trigger 06:10:07 OK: 8 MiB in 16 packages 06:10:07 Removing intermediate container b51d898697f2 06:10:07 ---> cfcd53e633ed 06:10:07 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:10:07 ---> 8f145ac57f36 06:10:07 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:10:07 ---> c39b3a668665 06:10:07 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:10:07 ---> 3201e8f66108 06:10:07 Step 17/22 : EXPOSE 59901 06:10:07 ---> Running in 691f2c917833 06:10:07 Removing intermediate container 691f2c917833 06:10:07 ---> bea8c82c97eb 06:10:07 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:10:07 ---> Running in 7a437e728a75 06:10:07 Removing intermediate container 7a437e728a75 06:10:07 ---> 1bfdce0f28f1 06:10:07 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:10:07 ---> Running in 4cbbc53504ef 06:10:07 Removing intermediate container 4cbbc53504ef 06:10:07 ---> 3d22a7cc5998 06:10:07 Step 20/22 : LABEL arch=arm64 06:10:07 ---> Running in 945cea81ea62 06:10:07 Removing intermediate container 945cea81ea62 06:10:07 ---> 1124ab4a378b 06:10:07 Step 21/22 : LABEL git_sha=958061bc5e76eaf6e32631ec652fcfa4b1f0da1b 06:10:07 ---> Running in 9536f037889a 06:10:07 Removing intermediate container 9536f037889a 06:10:07 ---> 5933eb35a12f 06:10:07 Step 22/22 : LABEL version=0.0.0 06:10:07 ---> Running in c76bc5422b8b 06:10:07 Removing intermediate container c76bc5422b8b 06:10:07 ---> a6cd192b5158 06:10:07 [Warning] One or more build-args [ARCH] were not consumed 06:10:07 Successfully built a6cd192b5158 06:10:07 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:07 06:10:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:08 arm64: Pulling from edgex-lftools-log-publisher 06:10:08 8998bd30e6a1: Pulling fs layer 06:10:08 04944245beec: Pulling fs layer 06:10:08 699f458cf7ca: Pulling fs layer 06:10:08 765212b225bb: Pulling fs layer 06:10:08 f23df028b6ca: Pulling fs layer 06:10:08 d65c8cfc05b1: Pulling fs layer 06:10:08 2437ff75d9bd: Pulling fs layer 06:10:08 765212b225bb: Waiting 06:10:08 f23df028b6ca: Waiting 06:10:08 d65c8cfc05b1: Waiting 06:10:08 2437ff75d9bd: Waiting 06:10:08 04944245beec: Verifying Checksum 06:10:08 04944245beec: Download complete 06:10:08 765212b225bb: Verifying Checksum 06:10:08 765212b225bb: Download complete 06:10:08 f23df028b6ca: Verifying Checksum 06:10:08 f23df028b6ca: Download complete 06:10:08 d65c8cfc05b1: Verifying Checksum 06:10:08 d65c8cfc05b1: Download complete 06:10:08 699f458cf7ca: Verifying Checksum 06:10:09 8998bd30e6a1: Verifying Checksum 06:10:09 8998bd30e6a1: Download complete 06:10:11 2437ff75d9bd: Verifying Checksum 06:10:11 2437ff75d9bd: Download complete 06:10:12 8998bd30e6a1: Pull complete 06:10:13 04944245beec: Pull complete 06:10:14 699f458cf7ca: Pull complete 06:10:14 765212b225bb: Pull complete 06:10:15 f23df028b6ca: Pull complete 06:10:15 d65c8cfc05b1: Pull complete 06:10:30 2437ff75d9bd: Pull complete 06:10:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:10:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:30 prd-ubuntu20.04-docker-arm64-4c-16g-12550 does not seem to be running inside a container 06:10:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:10:33 $ docker top 76f56e380f7b9cda41e497f5a6e4dd571ebe244e8a7c81dc4d853924723d43cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:34 ---> job-cost.sh 06:10:34 lf-activate-venv: SKIPPING 06:10:34 INFO: No Stack... 06:10:35 INFO: Retrieving Pricing Info for: v3-standard-4 06:10:35 INFO: Archiving Costs [Pipeline] sh 06:10:36 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:10:36 + cut -d, -f6 [Pipeline] lock 06:10:36 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-469-1-stack-cost] 06:10:36 Resource [jenkins-edgexfoundry-device-modbus-go-PR-469-1-stack-cost] did not exist. Created. 06:10:36 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-469-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:36 /w/workspace/device-modbus-go/1@tmp/durable-4f2cf70c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:10:37 + echo total: 0.10999999940395355 [Pipeline] stash 06:10:37 Warning: overwriting stash ‘stack-cost’ 06:10:37 Stashed 1 file(s) [Pipeline] } 06:10:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-469-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:10:37 $ docker stop --time=1 76f56e380f7b9cda41e497f5a6e4dd571ebe244e8a7c81dc4d853924723d43cb 06:10:39 $ docker rm -f --volumes 76f56e380f7b9cda41e497f5a6e4dd571ebe244e8a7c81dc4d853924723d43cb [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 06:10:40 provisioning config files... 06:10:40 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-469@tmp/config18008517616893608881tmp [Pipeline] { [Pipeline] sh 06:10:40 + set +x 06:10:40 + curl -s https://codecov.io/bash 06:10:40 + bash -s -- 06:10:40 06:10:40 _____ _ 06:10:40 / ____| | | 06:10:40 | | ___ __| | ___ ___ _____ __ 06:10:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:10:40 | |___| (_) | (_| | __/ (_| (_) \ V / 06:10:40 \_____\___/ \__,_|\___|\___\___/ \_/ 06:10:40 Bash-1.0.6 06:10:40 06:10:40 06:10:40 ==> git version 2.25.1 found 06:10:40 ==> 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 06:10:40 Release-Date: 2020-01-08 06:10:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:10:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:10:40 ==> Jenkins CI detected. 06:10:40 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-469 06:10:40 project root: . 06:10:40 --> token set from env 06:10:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:10:40 ==> Running gcov in . (disable via -X gcov) 06:10:40 ==> Python coveragepy not found 06:10:40 ==> Searching for coverage reports in: 06:10:40 + . 06:10:40 -> Found 1 reports 06:10:40 ==> Detecting git/mercurial file structure 06:10:40 ==> Reading reports 06:10:40 + ./coverage.out bytes=24160 06:10:40 ==> Appending adjustments 06:10:40 https://docs.codecov.io/docs/fixing-reports 06:10:40 + Found adjustments 06:10:40 ==> Gzipping contents 06:10:40 4.0K /tmp/codecov.Einu5c.gz 06:10:40 ==> Uploading reports 06:10:40 url: https://codecov.io 06:10:40 query: branch=PR-469&commit=958061bc5e76eaf6e32631ec652fcfa4b1f0da1b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-469%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=469&job=&cmd_args= 06:10:40 -> Pinging Codecov 06:10:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-469&commit=958061bc5e76eaf6e32631ec652fcfa4b1f0da1b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-469%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=469&job=&cmd_args= 06:10:41 -> Uploading to 06:10:41 https://storage.googleapis.com/codecov/v4/raw/2023-05-03/55DBCA73C666E3227836607328DD7E49/958061bc5e76eaf6e32631ec652fcfa4b1f0da1b/8da5b08a-2dfa-4111-a24c-9d4a67ac61fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T061040Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4bb75d2a2a45f4983d00374c2857b4c5387d562f72751a40b12a1bec20e3854f 06:10:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:10:41 Dload Upload Total Spent Left Speed 06:10:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 19425 --:--:-- --:--:-- --:--:-- 19330 100 3924 0 0 100 3924 0 19141 --:--:-- --:--:-- --:--:-- 19048 06:10:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/958061bc5e76eaf6e32631ec652fcfa4b1f0da1b [Pipeline] } 06:10:41 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 06:10:42 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-469/archives ] 06:10:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-469/archives 06:10:42 total 16 06:10:42 drwxr-xr-x 3 root root 4096 May 3 06:01 . 06:10:42 drwxrwxr-x 11 jenkins jenkins 4096 May 3 06:01 .. 06:10:42 drwxr-xr-x 2 root root 4096 May 3 06:01 cost 06:10:42 -rw-r--r-- 1 root root 88 May 3 06:01 cost.csv 06:10:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-469/archives 06:10:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-469/archives 06:10:42 total 16 06:10:42 drwxr-xr-x 3 jenkins jenkins 4096 May 3 06:01 . 06:10:42 drwxrwxr-x 11 jenkins jenkins 4096 May 3 06:01 .. 06:10:42 drwxr-xr-x 2 jenkins jenkins 4096 May 3 06:01 cost 06:10:42 -rw-r--r-- 1 jenkins jenkins 88 May 3 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:10:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:10:44 ---> package-listing.sh 06:10:44 ++ facter osfamily 06:10:44 ++ tr '[:upper:]' '[:lower:]' 06:10:44 + OS_FAMILY=debian 06:10:44 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-469 06:10:44 + START_PACKAGES=/tmp/packages_start.txt 06:10:44 + END_PACKAGES=/tmp/packages_end.txt 06:10:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:10:44 + PACKAGES=/tmp/packages_start.txt 06:10:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-469 ']' 06:10:44 + PACKAGES=/tmp/packages_end.txt 06:10:44 + case "${OS_FAMILY}" in 06:10:44 + grep '^ii' 06:10:44 + dpkg -l 06:10:44 + '[' -f /tmp/packages_start.txt ']' 06:10:44 + '[' -f /tmp/packages_end.txt ']' 06:10:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:10:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-469 ']' 06:10:44 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-469/archives/ 06:10:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-469/archives/ [Pipeline] echo 06:10:44 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-469/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:10:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:45 prd-ubuntu20.04-docker-8c-8g-12548 does not seem to be running inside a container 06:10:45 $ 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-469/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-469 -v /w/workspace/xfoundry_device-modbus-go_PR-469:/w/workspace/xfoundry_device-modbus-go_PR-469:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-469@tmp:/w/workspace/xfoundry_device-modbus-go_PR-469@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:10:45 $ docker top e3c7b3e78806aea905cc4648aeeedd1650078d2305b8e2706c8eaaf5abf162c2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:46 + touch /tmp/pre-build-complete [Pipeline] sh 06:10:46 + mkdir -p /var/log/sysstat [Pipeline] sh 06:10:46 + ls /var/log/sa-host 06:10:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:46 provisioning config files... 06:10:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-469@tmp/config11562881449180673906tmp [Pipeline] { [Pipeline] echo 06:10:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:10:47 ---> create-netrc.sh [Pipeline] } 06:10:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:10:47 ---> python-tools-install.sh [Pipeline] echo 06:10:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:10:47 ---> sudo-logs.sh 06:10:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:10:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:10:48 ---> job-cost.sh 06:10:48 lf-activate-venv: SKIPPING 06:10:48 DEBUG: total: 0.2199999988079071 06:10:48 INFO: Retrieving Stack Cost... 06:10:48 INFO: Retrieving Pricing Info for: v3-standard-8 06:10:49 INFO: Archiving Costs [Pipeline] echo 06:10:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:10:49 ---> logs-deploy.sh 06:10:49 lf-activate-venv: SKIPPING 06:10:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-469/1 06:10:49 INFO: archiving workspace using pattern(s): 06:10:50 Archives upload complete. 06:10:50 INFO: archiving logs to Nexus