Pull request #470 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3768867bea6ee754eec792a933fe093e65a63cbc+54464c102ac0d16f572eda0a03f8ee766b26f00f (0da6d56a21ecc28abb8ac5be58d992fab5423148) 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-ssh17721528377201298102.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-ssh7152021396438913137.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-470/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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9984512951965891068.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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1847539370150261509.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-ssh16183906436733606311.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-470/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-470/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9817109002078631455.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-13262 in /w/workspace/xfoundry_device-modbus-go_PR-470 [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-470 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 54464c102ac0d16f572eda0a03f8ee766b26f00f into PR head commit 3768867bea6ee754eec792a933fe093e65a63cbc Merge succeeded, producing 3768867bea6ee754eec792a933fe093e65a63cbc Checking out Revision 3768867bea6ee754eec792a933fe093e65a63cbc (PR-470) 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:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 3768867bea6ee754eec792a933fe093e65a63cbc # 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 54464c102ac0d16f572eda0a03f8ee766b26f00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3768867bea6ee754eec792a933fe093e65a63cbc # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:25 ========================================================= 05:58:25 EdgeX Global Pipelines Version Info 05:58:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:26 ------------------- 05:58:26 stable info: 05:58:26 ------------------- 05:58:26 Commited By: Bill Mahoney bill.mahoney@intel.com 05:58:26 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:58:26 Message: update stable to v1.0.248 05:58:26 ------------------- 05:58:26 experimental info: 05:58:26 ------------------- 05:58:26 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:26 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:58:26 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-470 [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-470 [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-470 [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3768867bea6ee754eec792a933fe093e65a63cbc [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3768867 [Pipeline] echo 05:58:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:28 provisioning config files... 05:58:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-470@tmp/config2142117831605922584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:28 ---> docker-login.sh 05:58:28 nexus3.edgexfoundry.org:10001 05:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:29 Configure a credential helper to remove this warning. See 05:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:29 05:58:29 Login Succeeded 05:58:29 nexus3.edgexfoundry.org:10002 05:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:29 Configure a credential helper to remove this warning. See 05:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:29 05:58:29 Login Succeeded 05:58:29 nexus3.edgexfoundry.org:10003 05:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:29 Configure a credential helper to remove this warning. See 05:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:29 05:58:29 Login Succeeded 05:58:29 nexus3.edgexfoundry.org:10004 05:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:29 Configure a credential helper to remove this warning. See 05:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:29 05:58:29 Login Succeeded 05:58:29 docker.io 05:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:29 Configure a credential helper to remove this warning. See 05:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:29 05:58:29 Login Succeeded 05:58:29 ---> docker-login.sh ends [Pipeline] } 05:58:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:58:30 + git rev-list -1 --merges 3768867bea6ee754eec792a933fe093e65a63cbc~1..3768867bea6ee754eec792a933fe093e65a63cbc [Pipeline] echo 05:58:30 -----------> git rev-list -1 --merges 3768867bea6ee754eec792a933fe093e65a63cbc~1..3768867bea6ee754eec792a933fe093e65a63cbc 3768867bea6ee754eec792a933fe093e65a63cbc [false] [Pipeline] sh 05:58:30 + git log --format=format:%s -1 3768867bea6ee754eec792a933fe093e65a63cbc [Pipeline] echo 05:58:30 ========================================================= 05:58:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:31 + git log --format=format:%s -1 3768867bea6ee754eec792a933fe093e65a63cbc [Pipeline] echo 05:58:31 [semverPrep] GIT_COMMIT: 3768867bea6ee754eec792a933fe093e65a63cbc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:58:31 [semverPrep] This is not a build commit. [Pipeline] sh 05:58:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:31 + grep -v github /etc/ssh/ssh_known_hosts 05:58:31 + [ -e /tmp/ssh_known_hosts ] 05:58:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:58:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:58:31 + sudo tee -a /etc/ssh/ssh_known_hosts 05:58:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:32 05:58:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:32 0.1.4: Pulling from edgex-devops/py-git-semver 05:58:32 b85a868b505f: Pulling fs layer 05:58:32 e2be974225ed: Pulling fs layer 05:58:32 339a4e72a1f5: Pulling fs layer 05:58:32 988bab9f4d93: Pulling fs layer 05:58:32 1469e6f7b9e6: Pulling fs layer 05:58:32 eaf3925da568: Pulling fs layer 05:58:32 bab4dde63d76: Pulling fs layer 05:58:32 bde34c3a00c8: Pulling fs layer 05:58:32 b352a97aabf1: Pulling fs layer 05:58:32 4872d77fe225: Pulling fs layer 05:58:32 5851b861e8e6: Pulling fs layer 05:58:32 bab4dde63d76: Waiting 05:58:32 5851b861e8e6: Waiting 05:58:32 b352a97aabf1: Waiting 05:58:32 bde34c3a00c8: Waiting 05:58:32 988bab9f4d93: Waiting 05:58:32 4872d77fe225: Waiting 05:58:32 1469e6f7b9e6: Waiting 05:58:32 eaf3925da568: Waiting 05:58:32 e2be974225ed: Verifying Checksum 05:58:32 e2be974225ed: Download complete 05:58:32 988bab9f4d93: Verifying Checksum 05:58:32 988bab9f4d93: Download complete 05:58:32 1469e6f7b9e6: Verifying Checksum 05:58:32 1469e6f7b9e6: Download complete 05:58:33 eaf3925da568: Verifying Checksum 05:58:33 eaf3925da568: Download complete 05:58:33 339a4e72a1f5: Verifying Checksum 05:58:33 339a4e72a1f5: Download complete 05:58:33 bde34c3a00c8: Download complete 05:58:33 b352a97aabf1: Download complete 05:58:33 4872d77fe225: Verifying Checksum 05:58:33 4872d77fe225: Download complete 05:58:33 5851b861e8e6: Download complete 05:58:33 b85a868b505f: Download complete 05:58:33 bab4dde63d76: Verifying Checksum 05:58:33 bab4dde63d76: Download complete 05:58:34 b85a868b505f: Pull complete 05:58:34 e2be974225ed: Pull complete 05:58:34 339a4e72a1f5: Pull complete 05:58:34 988bab9f4d93: Pull complete 05:58:35 1469e6f7b9e6: Pull complete 05:58:35 eaf3925da568: Pull complete 05:58:37 bab4dde63d76: Pull complete 05:58:37 bde34c3a00c8: Pull complete 05:58:37 b352a97aabf1: Pull complete 05:58:37 4872d77fe225: Pull complete 05:58:37 5851b861e8e6: Pull complete 05:58:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:58:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:37 prd-ubuntu20.04-docker-8c-8g-13262 does not seem to be running inside a container 05:58:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-470 -v /w/workspace/xfoundry_device-modbus-go_PR-470:/w/workspace/xfoundry_device-modbus-go_PR-470:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-470@tmp:/w/workspace/xfoundry_device-modbus-go_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:40 $ docker top f33bc893578a3cc2b2fddf9764c957e2284ab617c2379e946f210dbc39da1ba9 -eo pid,comm 05:58:40 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:58:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:40 [ssh-agent] Looking for ssh-agent implementation... 05:58:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:40 $ docker exec f33bc893578a3cc2b2fddf9764c957e2284ab617c2379e946f210dbc39da1ba9 ssh-agent 05:58:40 SSH_AUTH_SOCK=/tmp/ssh-DBvCTX05cwiS/agent.32 05:58:40 SSH_AGENT_PID=39 05:58:40 Running ssh-add (command line suppressed) 05:58:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-470@tmp/private_key_1252123458689877182.key (/w/workspace/xfoundry_device-modbus-go_PR-470@tmp/private_key_1252123458689877182.key) 05:58:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:41 + git tag --points-at HEAD [Pipeline] } 05:58:41 $ docker exec --env ******** --env ******** f33bc893578a3cc2b2fddf9764c957e2284ab617c2379e946f210dbc39da1ba9 ssh-agent -k 05:58:41 unset SSH_AUTH_SOCK; 05:58:41 unset SSH_AGENT_PID; 05:58:41 echo Agent pid 39 killed; 05:58:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:41 [ssh-agent] Looking for ssh-agent implementation... 05:58:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:41 $ docker exec f33bc893578a3cc2b2fddf9764c957e2284ab617c2379e946f210dbc39da1ba9 ssh-agent 05:58:41 SSH_AUTH_SOCK=/tmp/ssh-FDKyxcet0JST/agent.71 05:58:41 SSH_AGENT_PID=77 05:58:41 Running ssh-add (command line suppressed) 05:58:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-470@tmp/private_key_18303305667003180759.key (/w/workspace/xfoundry_device-modbus-go_PR-470@tmp/private_key_18303305667003180759.key) 05:58:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:42 + git semver init 05:58:42 2023-05-04 05:58:42,490 [run_init] DEBUG init version:0.0.0 force:False 05:58:42 2023-05-04 05:58:42,491 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-470/.semver 05:58:42 2023-05-04 05:58:42,491 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-470/.semver 05:58:42 2023-05-04 05:58:42,491 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-470/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-470, universal_newlines=False, shell=None, istream=None) 05:58:43 2023-05-04 05:58:43,279 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-470/.git/info/exclude 05:58:43 2023-05-04 05:58:43,280 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-470/.semver/PR-470 with force:False 05:58:43 2023-05-04 05:58:43,280 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-470/.semver/PR-470 05:58:43 2023-05-04 05:58:43,284 [execute] INFO git cat-file --batch-check 05:58:43 2023-05-04 05:58:43,285 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-470/.semver, universal_newlines=False, shell=None, istream=) 05:58:43 2023-05-04 05:58:43,290 [execute] INFO git cat-file --batch 05:58:43 2023-05-04 05:58:43,290 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-470/.semver, universal_newlines=False, shell=None, istream=) 05:58:43 2023-05-04 05:58:43,295 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-470/.semver/PR-470 05:58:43 0.0.0 [Pipeline] } 05:58:43 $ docker exec --env ******** --env ******** f33bc893578a3cc2b2fddf9764c957e2284ab617c2379e946f210dbc39da1ba9 ssh-agent -k 05:58:43 unset SSH_AUTH_SOCK; 05:58:43 unset SSH_AGENT_PID; 05:58:43 echo Agent pid 77 killed; 05:58:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:44 + git semver [Pipeline] } 05:58:44 $ docker stop --time=1 f33bc893578a3cc2b2fddf9764c957e2284ab617c2379e946f210dbc39da1ba9 05:58:45 $ docker rm -f --volumes f33bc893578a3cc2b2fddf9764c957e2284ab617c2379e946f210dbc39da1ba9 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:46 Stashed 1 file(s) [Pipeline] echo 05:58:46 [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:58:46 provisioning config files... 05:58:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-470@tmp/config17608458642223831946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:47 ---> docker-login.sh 05:58:47 nexus3.edgexfoundry.org:10001 05:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:47 Configure a credential helper to remove this warning. See 05:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:47 05:58:47 Login Succeeded 05:58:47 nexus3.edgexfoundry.org:10002 05:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:47 Configure a credential helper to remove this warning. See 05:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:47 05:58:47 Login Succeeded 05:58:47 nexus3.edgexfoundry.org:10003 05:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:47 Configure a credential helper to remove this warning. See 05:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:47 05:58:47 Login Succeeded 05:58:47 nexus3.edgexfoundry.org:10004 05:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:47 Configure a credential helper to remove this warning. See 05:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:47 05:58:47 Login Succeeded 05:58:47 docker.io 05:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:47 Configure a credential helper to remove this warning. See 05:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:47 05:58:47 Login Succeeded 05:58:47 ---> docker-login.sh ends [Pipeline] } 05:58:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:48 ========================================================= 05:58:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:58:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:48 + 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:58:48 Sending build context to Docker daemon 6.471MB 05:58:48 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:58:48 Step 2/10 : FROM ${BASE} AS builder 05:58:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:48 f56be85fc22e: Pulling fs layer 05:58:48 85791d961cd3: Pulling fs layer 05:58:48 d694b5ae8c79: Pulling fs layer 05:58:48 9f32a84ed3da: Pulling fs layer 05:58:48 4d19c01a9841: Pulling fs layer 05:58:48 9325e15d5711: Pulling fs layer 05:58:48 556b6ee489ea: Pulling fs layer 05:58:48 c5a4b2cf53e6: Pulling fs layer 05:58:48 4d19c01a9841: Waiting 05:58:48 9325e15d5711: Waiting 05:58:48 556b6ee489ea: Waiting 05:58:48 c5a4b2cf53e6: Waiting 05:58:48 9f32a84ed3da: Waiting 05:58:48 85791d961cd3: Verifying Checksum 05:58:48 85791d961cd3: Download complete 05:58:48 9f32a84ed3da: Verifying Checksum 05:58:48 9f32a84ed3da: Download complete 05:58:48 4d19c01a9841: Verifying Checksum 05:58:48 4d19c01a9841: Download complete 05:58:48 f56be85fc22e: Verifying Checksum 05:58:48 f56be85fc22e: Download complete 05:58:48 9325e15d5711: Verifying Checksum 05:58:48 9325e15d5711: Download complete 05:58:48 f56be85fc22e: Pull complete 05:58:49 85791d961cd3: Pull complete 05:58:49 c5a4b2cf53e6: Verifying Checksum 05:58:49 c5a4b2cf53e6: Download complete 05:58:49 d694b5ae8c79: Download complete 05:58:49 556b6ee489ea: Verifying Checksum 05:58:49 556b6ee489ea: Download complete 05:58:52 d694b5ae8c79: Pull complete 05:58:52 9f32a84ed3da: Pull complete 05:58:52 4d19c01a9841: Pull complete 05:58:52 9325e15d5711: Pull complete 05:58:54 556b6ee489ea: Pull complete 05:58:55 c5a4b2cf53e6: Pull complete 05:58:55 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:58:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:58:55 ---> c4be618373d6 05:58:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:58:59 ---> Running in e1d95372e17e 05:58:59 Removing intermediate container e1d95372e17e 05:58:59 ---> ff0a0357abbb 05:58:59 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:58:59 ---> Running in 809e978c21f5 05:58:59 Removing intermediate container 809e978c21f5 05:58:59 ---> 63e2f4142e07 05:58:59 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:58:59 ---> Running in 510494f6cf21 05:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:01 Still waiting to schedule task 05:59:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:59:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:02 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:59:02 (2/8) Installing libedit (20221030.3.1-r0) 05:59:02 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:59:02 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:59:02 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:59:02 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:59:02 (7/8) Installing openssh-server (9.1_p1-r2) 05:59:02 (8/8) Installing openssh (9.1_p1-r2) 05:59:02 Executing busybox-1.35.0-r29.trigger 05:59:02 OK: 270 MiB in 61 packages 05:59:03 Removing intermediate container 510494f6cf21 05:59:03 ---> 8a0cedf57ac7 05:59:03 Step 6/10 : WORKDIR /device-modbus-go 05:59:03 ---> Running in c139a95bdbed 05:59:03 Removing intermediate container c139a95bdbed 05:59:03 ---> dbb5eb210481 05:59:03 Step 7/10 : COPY go.mod vendor* ./ 05:59:03 ---> ac061611f5d4 05:59:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:03 ---> Running in 95cffee4e88d 05:59:29 Removing intermediate container 95cffee4e88d 05:59:29 ---> 62d8178fa105 05:59:29 Step 9/10 : COPY . . 05:59:29 ---> c3a551ce60b7 05:59:29 Step 10/10 : RUN ${MAKE} 05:59:29 ---> Running in f19879ef8ea0 05:59:29 noop 05:59:29 Removing intermediate container f19879ef8ea0 05:59:29 ---> c408fde72beb 05:59:29 Successfully built c408fde72beb 05:59:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:30 + docker inspect -f . ci-base-image-x86_64 05:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:30 prd-ubuntu20.04-docker-8c-8g-13262 does not seem to be running inside a container 05:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-470 -v /w/workspace/xfoundry_device-modbus-go_PR-470:/w/workspace/xfoundry_device-modbus-go_PR-470:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-470@tmp:/w/workspace/xfoundry_device-modbus-go_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:30 $ docker top 2cc83a218c71d44171c98121f334ee1ebdf2a142a5e084c319e764fe593aa151 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:31 + go version 05:59:31 go version go1.20.2 linux/amd64 [Pipeline] } 05:59:31 $ docker stop --time=1 2cc83a218c71d44171c98121f334ee1ebdf2a142a5e084c319e764fe593aa151 05:59:32 $ docker rm -f --volumes 2cc83a218c71d44171c98121f334ee1ebdf2a142a5e084c319e764fe593aa151 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:33 + docker inspect -f . ci-base-image-x86_64 05:59:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:33 prd-ubuntu20.04-docker-8c-8g-13262 does not seem to be running inside a container 05:59:33 $ 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-470 -v /w/workspace/xfoundry_device-modbus-go_PR-470:/w/workspace/xfoundry_device-modbus-go_PR-470:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-470@tmp:/w/workspace/xfoundry_device-modbus-go_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:33 $ docker top 2225ecbd08ff19741f3137d3ac0bfb4ca6ac9c1569ad40418a2b95f3a6123e66 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:34 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-470 [Pipeline] fileExists [Pipeline] sh 05:59:34 + make test 05:59:34 go test ./... -coverprofile=coverage.out 05:59:39 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:59:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:59:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements 05:59:55 go vet ./... 05:59:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:59:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:59:58 ./bin/test-attribution-txt.sh [Pipeline] echo 05:59:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:59:58 $ docker stop --time=1 2225ecbd08ff19741f3137d3ac0bfb4ca6ac9c1569ad40418a2b95f3a6123e66 06:00:02 $ docker rm -f --volumes 2225ecbd08ff19741f3137d3ac0bfb4ca6ac9c1569ad40418a2b95f3a6123e66 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:00:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:03 + ls -al . 06:00:03 total 180 06:00:03 drwxrwxr-x 10 jenkins jenkins 4096 May 4 05:59 . 06:00:03 drwxrwxr-x 4 jenkins jenkins 4096 May 4 05:58 .. 06:00:03 -rw-rw-r-- 1 jenkins jenkins 140 May 4 05:58 .dockerignore 06:00:03 drwxrwxr-x 8 jenkins jenkins 4096 May 4 05:58 .git 06:00:03 drwxrwxr-x 3 jenkins jenkins 4096 May 4 05:58 .github 06:00:03 -rw-rw-r-- 1 jenkins jenkins 331 May 4 05:58 .gitignore 06:00:03 -rw-rw-r-- 1 jenkins jenkins 41 May 4 05:58 .golangci.yml 06:00:03 drwxr-xr-x 3 jenkins jenkins 4096 May 4 05:58 .semver 06:00:03 -rw-rw-r-- 1 jenkins jenkins 10132 May 4 05:58 Attribution.txt 06:00:03 -rw-rw-r-- 1 jenkins jenkins 11576 May 4 05:58 CHANGELOG.md 06:00:03 -rw-rw-r-- 1 jenkins jenkins 1365 May 4 05:58 Dockerfile 06:00:03 -rw-rw-r-- 1 jenkins jenkins 677 May 4 05:58 GOVERNANCE.md 06:00:03 -rw-rw-r-- 1 jenkins jenkins 680 May 4 05:58 Jenkinsfile 06:00:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 4 05:58 LICENSE 06:00:03 -rw-rw-r-- 1 jenkins jenkins 1705 May 4 05:58 Makefile 06:00:03 -rw-rw-r-- 1 jenkins jenkins 622 May 4 05:58 OWNERS.md 06:00:03 -rw-rw-r-- 1 jenkins jenkins 4045 May 4 05:58 README.md 06:00:03 -rw-rw-r-- 1 jenkins jenkins 5 May 4 05:58 VERSION 06:00:03 drwxrwxr-x 2 jenkins jenkins 4096 May 4 05:58 bin 06:00:03 drwxrwxr-x 3 jenkins jenkins 4096 May 4 05:58 cmd 06:00:03 -rw-r--r-- 1 jenkins jenkins 24160 May 4 05:59 coverage.out 06:00:03 -rw-rw-r-- 1 jenkins jenkins 3453 May 4 05:58 go.mod 06:00:03 -rw-rw-r-- 1 jenkins jenkins 31670 May 4 05:58 go.sum 06:00:03 drwxrwxr-x 3 jenkins jenkins 4096 May 4 05:58 internal 06:00:03 drwxrwxr-x 2 jenkins jenkins 4096 May 4 05:58 simulator 06:00:03 drwxrwxr-x 4 jenkins jenkins 4096 May 4 05:58 snap 06:00:03 -rw-rw-r-- 1 jenkins jenkins 229 May 4 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:04 + 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=3768867bea6ee754eec792a933fe093e65a63cbc --label arch=amd64 --label version=0.0.0 . 06:00:04 Sending build context to Docker daemon 6.496MB 06:00:04 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:00:04 Step 2/22 : FROM ${BASE} AS builder 06:00:04 ---> c408fde72beb 06:00:04 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:00:04 ---> Running in 8f68711a73f3 06:00:04 Removing intermediate container 8f68711a73f3 06:00:04 ---> 8a610ef5ec4f 06:00:04 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:04 ---> Running in 826b4f92f7b2 06:00:04 Removing intermediate container 826b4f92f7b2 06:00:04 ---> 8b84f5c3c25b 06:00:04 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:00:04 ---> Running in 18485184982d 06:00:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:05 OK: 270 MiB in 61 packages 06:00:05 Removing intermediate container 18485184982d 06:00:05 ---> 07d3fb3b838a 06:00:05 Step 6/22 : WORKDIR /device-modbus-go 06:00:05 ---> Running in 40429336b19b 06:00:05 Removing intermediate container 40429336b19b 06:00:05 ---> 58128e4a3f05 06:00:05 Step 7/22 : COPY go.mod vendor* ./ 06:00:06 ---> 7175fe733173 06:00:06 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:06 ---> Running in bc402032908f 06:00:07 Removing intermediate container bc402032908f 06:00:07 ---> c65d062e58c7 06:00:07 Step 9/22 : COPY . . 06:00:07 ---> 585f4b57c89a 06:00:07 Step 10/22 : RUN ${MAKE} 06:00:07 ---> Running in 3fb7d008bb41 06:00:07 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:25 Removing intermediate container 3fb7d008bb41 06:00:25 ---> f086c338cd0f 06:00:25 Step 11/22 : FROM alpine:3.17 06:00:25 3.17: Pulling from library/alpine 06:00:25 f56be85fc22e: Already exists 06:00:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:00:25 Status: Downloaded newer image for alpine:3.17 06:00:25 ---> 9ed4aefc74f6 06:00:25 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:00:25 ---> Running in 398f421fa1de 06:00:25 Removing intermediate container 398f421fa1de 06:00:25 ---> 8c6904ba977e 06:00:25 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:00:25 ---> Running in e1c139011033 06:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:25 (1/1) Installing dumb-init (1.2.5-r2) 06:00:25 Executing busybox-1.35.0-r29.trigger 06:00:25 OK: 7 MiB in 16 packages 06:00:25 Removing intermediate container e1c139011033 06:00:25 ---> 39c2b0f07f00 06:00:25 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:00:26 ---> 8f25402443d3 06:00:26 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:00:26 ---> 1a0e67387378 06:00:26 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:00:26 ---> 0b48c4d07d0f 06:00:26 Step 17/22 : EXPOSE 59901 06:00:26 ---> Running in f80816f8ebb0 06:00:26 Removing intermediate container f80816f8ebb0 06:00:26 ---> 5d7cf397f4c5 06:00:26 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:00:26 ---> Running in b76649295512 06:00:27 Removing intermediate container b76649295512 06:00:27 ---> 0cddbf64adf7 06:00:27 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:00:27 ---> Running in 2d23266e4fb4 06:00:27 Removing intermediate container 2d23266e4fb4 06:00:27 ---> 10504a3b9c4a 06:00:27 Step 20/22 : LABEL arch=amd64 06:00:27 ---> Running in 54d6a298ae9a 06:00:27 Removing intermediate container 54d6a298ae9a 06:00:27 ---> 789b99f86064 06:00:27 Step 21/22 : LABEL git_sha=3768867bea6ee754eec792a933fe093e65a63cbc 06:00:27 ---> Running in 924ac8251e3d 06:00:27 Removing intermediate container 924ac8251e3d 06:00:27 ---> 6b66ff322a42 06:00:27 Step 22/22 : LABEL version=0.0.0 06:00:27 ---> Running in 6d93b210b656 06:00:27 Removing intermediate container 6d93b210b656 06:00:27 ---> 6cf0e5517dc2 06:00:27 [Warning] One or more build-args [ARCH] were not consumed 06:00:27 Successfully built 6cf0e5517dc2 06:00:27 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:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:28 06:00:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:28 latest: Pulling from edgex-lftools-log-publisher 06:00:28 5eb5b503b376: Pulling fs layer 06:00:28 5c69ac0246d0: Pulling fs layer 06:00:28 ec43610c2a17: Pulling fs layer 06:00:28 3a2ae6a8a46f: Pulling fs layer 06:00:28 33b1e0a273af: Pulling fs layer 06:00:28 5d3b04190fa2: Pulling fs layer 06:00:28 2f39f015ded8: Pulling fs layer 06:00:28 3a2ae6a8a46f: Waiting 06:00:28 5d3b04190fa2: Waiting 06:00:28 33b1e0a273af: Waiting 06:00:28 2f39f015ded8: Waiting 06:00:28 5c69ac0246d0: Download complete 06:00:29 3a2ae6a8a46f: Verifying Checksum 06:00:29 3a2ae6a8a46f: Download complete 06:00:29 33b1e0a273af: Verifying Checksum 06:00:29 33b1e0a273af: Download complete 06:00:29 ec43610c2a17: Verifying Checksum 06:00:29 ec43610c2a17: Download complete 06:00:29 5eb5b503b376: Verifying Checksum 06:00:29 5eb5b503b376: Download complete 06:00:29 2f39f015ded8: Download complete 06:00:30 5eb5b503b376: Pull complete 06:00:30 5c69ac0246d0: Pull complete 06:00:30 ec43610c2a17: Pull complete 06:00:30 3a2ae6a8a46f: Pull complete 06:00:30 33b1e0a273af: Pull complete 06:00:30 5d3b04190fa2: Pull complete 06:00:35 2f39f015ded8: Pull complete 06:00:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:00:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:35 prd-ubuntu20.04-docker-8c-8g-13262 does not seem to be running inside a container 06:00:35 $ 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-470 -v /w/workspace/xfoundry_device-modbus-go_PR-470:/w/workspace/xfoundry_device-modbus-go_PR-470:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-470@tmp:/w/workspace/xfoundry_device-modbus-go_PR-470@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:00:38 $ docker top 4e1a4e11cf9b1552a79ae8ede157a38556aaad2157b334a4d2e5bac07873ad3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:39 ---> job-cost.sh 06:00:39 lf-activate-venv: SKIPPING 06:00:39 INFO: No Stack... 06:00:39 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:39 INFO: Archiving Costs [Pipeline] sh 06:00:40 + cat /w/workspace/xfoundry_device-modbus-go_PR-470/archives/cost.csv 06:00:40 + cut -d, -f6 [Pipeline] lock 06:00:40 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-470-1-stack-cost] 06:00:40 Resource [jenkins-edgexfoundry-device-modbus-go-PR-470-1-stack-cost] did not exist. Created. 06:00:40 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:40 + echo total: 0.2199999988079071 [Pipeline] stash 06:00:40 Stashed 1 file(s) [Pipeline] } 06:00:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:40 $ docker stop --time=1 4e1a4e11cf9b1552a79ae8ede157a38556aaad2157b334a4d2e5bac07873ad3b 06:00:41 $ docker rm -f --volumes 4e1a4e11cf9b1552a79ae8ede157a38556aaad2157b334a4d2e5bac07873ad3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:00:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13264 in /w/workspace/xfoundry_device-modbus-go_PR-470 [Pipeline] { [Pipeline] ws 06:00:52 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:00:52 Selected Git installation does not exist. Using Default 06:00:52 The recommended git tool is: NONE 06:01:01 using credential edgex-jenkins-ssh 06:01:01 Cloning the remote Git repository 06:01:01 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:01:01 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:01:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:01:01 > git --version # timeout=10 06:01:01 > git --version # 'git version 2.25.1' 06:01:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:03 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:01:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:01:04 Merging remotes/origin/main commit 54464c102ac0d16f572eda0a03f8ee766b26f00f into PR head commit 3768867bea6ee754eec792a933fe093e65a63cbc 06:01:05 Merge succeeded, producing 3768867bea6ee754eec792a933fe093e65a63cbc 06:01:05 Checking out Revision 3768867bea6ee754eec792a933fe093e65a63cbc (PR-470) 06:01:05 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:01:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:01:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:01:04 > git config core.sparsecheckout # timeout=10 06:01:04 > git checkout -f 3768867bea6ee754eec792a933fe093e65a63cbc # timeout=10 06:01:04 > git remote # timeout=10 06:01:05 > git config --get remote.origin.url # timeout=10 06:01:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:05 > git merge 54464c102ac0d16f572eda0a03f8ee766b26f00f # timeout=10 06:01:05 > git rev-parse HEAD^{commit} # timeout=10 06:01:05 > git config core.sparsecheckout # timeout=10 06:01:05 > git checkout -f 3768867bea6ee754eec792a933fe093e65a63cbc # timeout=10 06:01:05 > git --version # timeout=10 06:01:05 > git --version # 'git version 2.25.1' 06:01:05 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:01:06 % Total % Received % Xferd Average Speed Time Time Time Current 06:01:06 Dload Upload Total Spent Left Speed 06:01:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 57670 0 --:--:-- --:--:-- --:--:-- 57670 100 12751 100 12751 0 0 66067 0 --:--:-- --:--:-- --:--:-- 66067 [Pipeline] sh 06:01:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:01:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:01:07 + sudo tee /etc/docker/daemon.new 06:01:07 { 06:01:07 "registry-mirrors": [ 06:01:07 "https://nexus3.edgexfoundry.org:10001" 06:01:07 ], 06:01:07 "bip": "10.250.0.254/24", 06:01:07 "hosts": [ 06:01:07 "tcp://0.0.0.0:5555", 06:01:07 "unix:///var/run/docker.sock" 06:01:07 ], 06:01:07 "mtu": 1458, 06:01:07 "selinux-enabled": true, 06:01:07 "seccomp-profile": "/etc/docker/seccomp.json" 06:01:07 } [Pipeline] sh 06:01:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:01:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:27 provisioning config files... 06:01:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4989132801741436334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:27 ---> docker-login.sh 06:01:27 nexus3.edgexfoundry.org:10001 06:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:28 Configure a credential helper to remove this warning. See 06:01:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:28 06:01:28 Login Succeeded 06:01:28 nexus3.edgexfoundry.org:10002 06:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:28 Configure a credential helper to remove this warning. See 06:01:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:28 06:01:28 Login Succeeded 06:01:28 nexus3.edgexfoundry.org:10003 06:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:28 Configure a credential helper to remove this warning. See 06:01:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:28 06:01:28 Login Succeeded 06:01:28 nexus3.edgexfoundry.org:10004 06:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:29 Configure a credential helper to remove this warning. See 06:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:29 06:01:29 Login Succeeded 06:01:29 docker.io 06:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:29 Configure a credential helper to remove this warning. See 06:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:29 06:01:29 Login Succeeded 06:01:29 ---> docker-login.sh ends [Pipeline] } 06:01:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:30 ========================================================= 06:01:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:01:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:30 + 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:01:31 Sending build context to Docker daemon 3.383MB 06:01:31 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:01:31 Step 2/10 : FROM ${BASE} AS builder 06:01:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:01:31 c41833b44d91: Pulling fs layer 06:01:31 ed15518f5707: Pulling fs layer 06:01:31 feae8fd75edb: Pulling fs layer 06:01:31 242c74f7c9fa: Pulling fs layer 06:01:31 3cdef696dda3: Pulling fs layer 06:01:31 2ced38df9373: Pulling fs layer 06:01:31 58f1dce35555: Pulling fs layer 06:01:31 242c74f7c9fa: Waiting 06:01:31 3cdef696dda3: Waiting 06:01:31 2ced38df9373: Waiting 06:01:31 58f1dce35555: Waiting 06:01:31 ed15518f5707: Verifying Checksum 06:01:31 ed15518f5707: Download complete 06:01:31 242c74f7c9fa: Download complete 06:01:31 3cdef696dda3: Verifying Checksum 06:01:31 3cdef696dda3: Download complete 06:01:31 c41833b44d91: Download complete 06:01:32 c41833b44d91: Pull complete 06:01:32 58f1dce35555: Verifying Checksum 06:01:32 58f1dce35555: Download complete 06:01:32 ed15518f5707: Pull complete 06:01:33 feae8fd75edb: Verifying Checksum 06:01:33 feae8fd75edb: Download complete 06:01:33 2ced38df9373: Verifying Checksum 06:01:33 2ced38df9373: Download complete 06:01:43 feae8fd75edb: Pull complete 06:01:43 242c74f7c9fa: Pull complete 06:01:43 3cdef696dda3: Pull complete 06:01:52 2ced38df9373: Pull complete 06:01:54 58f1dce35555: Pull complete 06:01:54 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:01:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:01:54 ---> fadd8f120f05 06:01:54 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:01:56 ---> Running in 51596e45d220 06:01:57 Removing intermediate container 51596e45d220 06:01:57 ---> 74e91b6d01b5 06:01:57 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:57 ---> Running in e3f812b8cda4 06:01:57 Removing intermediate container e3f812b8cda4 06:01:57 ---> 6c29f4859d0b 06:01:57 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:01:57 ---> Running in 38280e59ed6b 06:01:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:02:00 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:02:00 (2/8) Installing libedit (20221030.3.1-r0) 06:02:00 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:02:00 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:02:00 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:02:00 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:02:00 (7/8) Installing openssh-server (9.1_p1-r2) 06:02:00 (8/8) Installing openssh (9.1_p1-r2) 06:02:00 Executing busybox-1.35.0-r29.trigger 06:02:00 OK: 270 MiB in 61 packages 06:02:01 Removing intermediate container 38280e59ed6b 06:02:01 ---> 45a2cf23cfcf 06:02:01 Step 6/10 : WORKDIR /device-modbus-go 06:02:01 ---> Running in 19e6f3740bab 06:02:01 Removing intermediate container 19e6f3740bab 06:02:01 ---> bae67430777a 06:02:01 Step 7/10 : COPY go.mod vendor* ./ 06:02:02 ---> d33a83bfd23d 06:02:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:02 ---> Running in 31f34cb34abf 06:03:10 Removing intermediate container 31f34cb34abf 06:03:10 ---> 0f8e670b0ccd 06:03:10 Step 9/10 : COPY . . 06:03:10 ---> 0e11a7a070f9 06:03:10 Step 10/10 : RUN ${MAKE} 06:03:10 ---> Running in 13e06b76dc2a 06:03:10 noop 06:03:10 Removing intermediate container 13e06b76dc2a 06:03:10 ---> ea8fb220029a 06:03:10 Successfully built ea8fb220029a 06:03:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:10 + docker inspect -f . ci-base-image-arm64 06:03:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:11 prd-ubuntu20.04-docker-arm64-4c-16g-13264 does not seem to be running inside a container 06:03:11 $ 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:03:13 $ docker top 78809ac7f44db6d23e2994cfe806053546a1db1ae465978b1362e3a4ac559af3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:14 + go version 06:03:14 go version go1.20.2 linux/arm64 [Pipeline] } 06:03:14 $ docker stop --time=1 78809ac7f44db6d23e2994cfe806053546a1db1ae465978b1362e3a4ac559af3 06:03:16 $ docker rm -f --volumes 78809ac7f44db6d23e2994cfe806053546a1db1ae465978b1362e3a4ac559af3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:17 + docker inspect -f . ci-base-image-arm64 06:03:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:17 prd-ubuntu20.04-docker-arm64-4c-16g-13264 does not seem to be running inside a container 06:03:17 $ 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:03:18 $ docker top d7e98f47013ce6243c22a76f61ecb28de173b47184cebe78f343dd147cb53411 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:18 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:03:19 + make test 06:03:19 go test ./... -coverprofile=coverage.out 06:03:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:05:58 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:05:58 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.092s coverage: 47.4% of statements 06:05:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:05:58 go vet ./... 06:06:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:06:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:06:20 ./bin/test-attribution-txt.sh [Pipeline] echo 06:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:06:20 $ docker stop --time=1 d7e98f47013ce6243c22a76f61ecb28de173b47184cebe78f343dd147cb53411 06:06:22 $ docker rm -f --volumes d7e98f47013ce6243c22a76f61ecb28de173b47184cebe78f343dd147cb53411 [Pipeline] // withDockerContainer [Pipeline] sh 06:06:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:06:23 Warning: overwriting stash ‘coverage-report’ 06:06:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:06:24 + ls -al . 06:06:24 total 176 06:06:24 drwxrwxr-x 9 jenkins jenkins 4096 May 4 06:03 . 06:06:24 drwxrwxr-x 4 jenkins jenkins 4096 May 4 06:01 .. 06:06:24 -rw-rw-r-- 1 jenkins jenkins 140 May 4 06:01 .dockerignore 06:06:24 drwxrwxr-x 8 jenkins jenkins 4096 May 4 06:01 .git 06:06:24 drwxrwxr-x 3 jenkins jenkins 4096 May 4 06:01 .github 06:06:24 -rw-rw-r-- 1 jenkins jenkins 331 May 4 06:01 .gitignore 06:06:24 -rw-rw-r-- 1 jenkins jenkins 41 May 4 06:01 .golangci.yml 06:06:24 -rw-rw-r-- 1 jenkins jenkins 10132 May 4 06:01 Attribution.txt 06:06:24 -rw-rw-r-- 1 jenkins jenkins 11576 May 4 06:01 CHANGELOG.md 06:06:24 -rw-rw-r-- 1 jenkins jenkins 1365 May 4 06:01 Dockerfile 06:06:24 -rw-rw-r-- 1 jenkins jenkins 677 May 4 06:01 GOVERNANCE.md 06:06:24 -rw-rw-r-- 1 jenkins jenkins 680 May 4 06:01 Jenkinsfile 06:06:24 -rw-rw-r-- 1 jenkins jenkins 11340 May 4 06:01 LICENSE 06:06:24 -rw-rw-r-- 1 jenkins jenkins 1705 May 4 06:01 Makefile 06:06:24 -rw-rw-r-- 1 jenkins jenkins 622 May 4 06:01 OWNERS.md 06:06:24 -rw-rw-r-- 1 jenkins jenkins 4045 May 4 06:01 README.md 06:06:24 -rw-rw-r-- 1 jenkins jenkins 5 May 4 05:58 VERSION 06:06:24 drwxrwxr-x 2 jenkins jenkins 4096 May 4 06:01 bin 06:06:24 drwxrwxr-x 3 jenkins jenkins 4096 May 4 06:01 cmd 06:06:24 -rw-r--r-- 1 jenkins jenkins 24160 May 4 06:05 coverage.out 06:06:24 -rw-rw-r-- 1 jenkins jenkins 3453 May 4 06:01 go.mod 06:06:24 -rw-rw-r-- 1 jenkins jenkins 31670 May 4 06:01 go.sum 06:06:24 drwxrwxr-x 3 jenkins jenkins 4096 May 4 06:01 internal 06:06:24 drwxrwxr-x 2 jenkins jenkins 4096 May 4 06:01 simulator 06:06:24 drwxrwxr-x 4 jenkins jenkins 4096 May 4 06:01 snap 06:06:24 -rw-rw-r-- 1 jenkins jenkins 229 May 4 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:25 + 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=3768867bea6ee754eec792a933fe093e65a63cbc --label arch=arm64 --label version=0.0.0 . 06:06:25 Sending build context to Docker daemon 3.408MB 06:06:25 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:06:25 Step 2/22 : FROM ${BASE} AS builder 06:06:25 ---> ea8fb220029a 06:06:25 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:06:25 ---> Running in 1a758f9dec41 06:06:26 Removing intermediate container 1a758f9dec41 06:06:26 ---> 20c0f43392d0 06:06:26 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:26 ---> Running in ef0cd4718a7c 06:06:26 Removing intermediate container ef0cd4718a7c 06:06:26 ---> 43f47f350d99 06:06:26 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:06:26 ---> Running in 19ad449f33ec 06:06:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:06:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:06:29 OK: 270 MiB in 61 packages 06:06:33 Removing intermediate container 19ad449f33ec 06:06:33 ---> e6cffa1b0edd 06:06:33 Step 6/22 : WORKDIR /device-modbus-go 06:06:33 ---> Running in 2e2c98767c27 06:06:33 Removing intermediate container 2e2c98767c27 06:06:33 ---> 2b4d54671fb6 06:06:33 Step 7/22 : COPY go.mod vendor* ./ 06:06:33 ---> 254b506fbcd1 06:06:33 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:33 ---> Running in 66281746250e 06:06:36 Removing intermediate container 66281746250e 06:06:36 ---> 78053347fa83 06:06:36 Step 9/22 : COPY . . 06:06:37 ---> b8352ffbbc72 06:06:37 Step 10/22 : RUN ${MAKE} 06:06:37 ---> Running in 48e783c744e8 06:06:38 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:09:02 Removing intermediate container 48e783c744e8 06:09:02 ---> 4a4921071139 06:09:02 Step 11/22 : FROM alpine:3.17 06:09:02 3.17: Pulling from library/alpine 06:09:02 c41833b44d91: Already exists 06:09:02 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:09:02 Status: Downloaded newer image for alpine:3.17 06:09:02 ---> 51e60588ff2c 06:09:02 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:09:02 ---> Running in 1c1de01994a2 06:09:02 Removing intermediate container 1c1de01994a2 06:09:02 ---> 2f7b048e8b84 06:09:02 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:09:02 ---> Running in 376136fd9408 06:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:09:02 (1/1) Installing dumb-init (1.2.5-r2) 06:09:02 Executing busybox-1.35.0-r29.trigger 06:09:02 OK: 8 MiB in 16 packages 06:09:02 Removing intermediate container 376136fd9408 06:09:02 ---> 8fb3fa74255f 06:09:02 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:09:02 ---> 9dbdc6bade5c 06:09:02 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:09:02 ---> 4bd28ddc808f 06:09:02 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:09:02 ---> f42818674425 06:09:02 Step 17/22 : EXPOSE 59901 06:09:02 ---> Running in a51c29e26f91 06:09:02 Removing intermediate container a51c29e26f91 06:09:02 ---> 50de63f07ebe 06:09:02 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:09:02 ---> Running in babe6e260a29 06:09:02 Removing intermediate container babe6e260a29 06:09:02 ---> 0c85888b8fb7 06:09:02 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:09:02 ---> Running in 8ab9c5e5af52 06:09:02 Removing intermediate container 8ab9c5e5af52 06:09:02 ---> 7fa66a31e9dc 06:09:02 Step 20/22 : LABEL arch=arm64 06:09:02 ---> Running in 8f49de441cd0 06:09:02 Removing intermediate container 8f49de441cd0 06:09:02 ---> 22304407666f 06:09:02 Step 21/22 : LABEL git_sha=3768867bea6ee754eec792a933fe093e65a63cbc 06:09:02 ---> Running in 2bf107ac2870 06:09:02 Removing intermediate container 2bf107ac2870 06:09:02 ---> 20bf23194ee2 06:09:02 Step 22/22 : LABEL version=0.0.0 06:09:02 ---> Running in 5130f9687c54 06:09:03 Removing intermediate container 5130f9687c54 06:09:03 ---> b36e1f22e62d 06:09:03 [Warning] One or more build-args [ARCH] were not consumed 06:09:03 Successfully built b36e1f22e62d 06:09:03 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:09:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:03 06:09:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:04 arm64: Pulling from edgex-lftools-log-publisher 06:09:04 8998bd30e6a1: Pulling fs layer 06:09:04 04944245beec: Pulling fs layer 06:09:04 699f458cf7ca: Pulling fs layer 06:09:04 765212b225bb: Pulling fs layer 06:09:04 f23df028b6ca: Pulling fs layer 06:09:04 d65c8cfc05b1: Pulling fs layer 06:09:04 2437ff75d9bd: Pulling fs layer 06:09:04 765212b225bb: Waiting 06:09:04 f23df028b6ca: Waiting 06:09:04 d65c8cfc05b1: Waiting 06:09:04 2437ff75d9bd: Waiting 06:09:04 04944245beec: Verifying Checksum 06:09:04 04944245beec: Download complete 06:09:04 765212b225bb: Verifying Checksum 06:09:04 765212b225bb: Download complete 06:09:04 f23df028b6ca: Download complete 06:09:04 d65c8cfc05b1: Verifying Checksum 06:09:04 d65c8cfc05b1: Download complete 06:09:04 699f458cf7ca: Verifying Checksum 06:09:04 699f458cf7ca: Download complete 06:09:05 8998bd30e6a1: Verifying Checksum 06:09:05 8998bd30e6a1: Download complete 06:09:07 2437ff75d9bd: Verifying Checksum 06:09:07 2437ff75d9bd: Download complete 06:09:08 8998bd30e6a1: Pull complete 06:09:09 04944245beec: Pull complete 06:09:10 699f458cf7ca: Pull complete 06:09:10 765212b225bb: Pull complete 06:09:14 f23df028b6ca: Pull complete 06:09:14 d65c8cfc05b1: Pull complete 06:09:27 2437ff75d9bd: Pull complete 06:09:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:09:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:27 prd-ubuntu20.04-docker-arm64-4c-16g-13264 does not seem to be running inside a container 06:09:27 $ 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:09:30 $ docker top 7df718aa4bb1d7b8b82bc24172db3edff37e0549b70f0cddaef7ebd4d0221cb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:30 ---> job-cost.sh 06:09:30 lf-activate-venv: SKIPPING 06:09:30 INFO: No Stack... 06:09:31 INFO: Retrieving Pricing Info for: v3-standard-4 06:09:32 INFO: Archiving Costs [Pipeline] sh 06:09:32 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:09:32 + cut -d, -f6 [Pipeline] lock 06:09:32 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-470-1-stack-cost] 06:09:32 Resource [jenkins-edgexfoundry-device-modbus-go-PR-470-1-stack-cost] did not exist. Created. 06:09:32 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:09:33 /w/workspace/device-modbus-go/1@tmp/durable-a205a82e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:09:34 + echo total: 0.10999999940395355 [Pipeline] stash 06:09:34 Warning: overwriting stash ‘stack-cost’ 06:09:34 Stashed 1 file(s) [Pipeline] } 06:09:34 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:09:34 $ docker stop --time=1 7df718aa4bb1d7b8b82bc24172db3edff37e0549b70f0cddaef7ebd4d0221cb4 06:09:35 $ docker rm -f --volumes 7df718aa4bb1d7b8b82bc24172db3edff37e0549b70f0cddaef7ebd4d0221cb4 [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:09:36 provisioning config files... 06:09:36 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-470@tmp/config4776721438666062889tmp [Pipeline] { [Pipeline] sh 06:09:37 + set +x 06:09:37 + curl -s https://codecov.io/bash 06:09:37 + bash -s -- 06:09:37 06:09:37 _____ _ 06:09:37 / ____| | | 06:09:37 | | ___ __| | ___ ___ _____ __ 06:09:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:09:37 | |___| (_) | (_| | __/ (_| (_) \ V / 06:09:37 \_____\___/ \__,_|\___|\___\___/ \_/ 06:09:37 Bash-1.0.6 06:09:37 06:09:37 06:09:37 ==> git version 2.25.1 found 06:09:37 ==> 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:09:37 Release-Date: 2020-01-08 06:09:37 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:09:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:09:37 ==> Jenkins CI detected. 06:09:37 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-470 06:09:37 project root: . 06:09:37 --> token set from env 06:09:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:09:37 ==> Running gcov in . (disable via -X gcov) 06:09:37 ==> Python coveragepy not found 06:09:37 ==> Searching for coverage reports in: 06:09:37 + . 06:09:37 -> Found 1 reports 06:09:37 ==> Detecting git/mercurial file structure 06:09:37 ==> Reading reports 06:09:37 + ./coverage.out bytes=24160 06:09:37 ==> Appending adjustments 06:09:37 https://docs.codecov.io/docs/fixing-reports 06:09:37 + Found adjustments 06:09:37 ==> Gzipping contents 06:09:37 4.0K /tmp/codecov.AGSxXX.gz 06:09:37 ==> Uploading reports 06:09:37 url: https://codecov.io 06:09:37 query: branch=PR-470&commit=3768867bea6ee754eec792a933fe093e65a63cbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-470%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=470&job=&cmd_args= 06:09:37 -> Pinging Codecov 06:09:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-470&commit=3768867bea6ee754eec792a933fe093e65a63cbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-470%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=470&job=&cmd_args= 06:09:37 -> Uploading to 06:09:37 https://storage.googleapis.com/codecov/v4/raw/2023-05-04/55DBCA73C666E3227836607328DD7E49/3768867bea6ee754eec792a933fe093e65a63cbc/6bdeff58-50cc-4fa1-95cc-7de85b5108c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230504T060937Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=29327c28e353ba06357fdbc4f348747ed96523f9f16a7925f30cf103e32c4fd2 06:09:37 % Total % Received % Xferd Average Speed Time Time Time Current 06:09:37 Dload Upload Total Spent Left Speed 06:09:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16350 --:--:-- --:--:-- --:--:-- 16350 06:09:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3768867bea6ee754eec792a933fe093e65a63cbc [Pipeline] } 06:09:38 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:09:39 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-470/archives ] 06:09:39 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-470/archives 06:09:39 total 16 06:09:39 drwxr-xr-x 3 root root 4096 May 4 06:00 . 06:09:39 drwxrwxr-x 11 jenkins jenkins 4096 May 4 06:00 .. 06:09:39 drwxr-xr-x 2 root root 4096 May 4 06:00 cost 06:09:39 -rw-r--r-- 1 root root 88 May 4 06:00 cost.csv 06:09:39 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-470/archives 06:09:39 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-470/archives 06:09:39 total 16 06:09:39 drwxr-xr-x 3 jenkins jenkins 4096 May 4 06:00 . 06:09:39 drwxrwxr-x 11 jenkins jenkins 4096 May 4 06:00 .. 06:09:39 drwxr-xr-x 2 jenkins jenkins 4096 May 4 06:00 cost 06:09:39 -rw-r--r-- 1 jenkins jenkins 88 May 4 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:09:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:09:41 ---> package-listing.sh 06:09:41 ++ facter osfamily 06:09:41 ++ tr '[:upper:]' '[:lower:]' 06:09:41 + OS_FAMILY=debian 06:09:41 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-470 06:09:41 + START_PACKAGES=/tmp/packages_start.txt 06:09:41 + END_PACKAGES=/tmp/packages_end.txt 06:09:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:09:41 + PACKAGES=/tmp/packages_start.txt 06:09:41 + '[' /w/workspace/xfoundry_device-modbus-go_PR-470 ']' 06:09:41 + PACKAGES=/tmp/packages_end.txt 06:09:41 + case "${OS_FAMILY}" in 06:09:41 + dpkg -l 06:09:41 + grep '^ii' 06:09:41 + '[' -f /tmp/packages_start.txt ']' 06:09:41 + '[' -f /tmp/packages_end.txt ']' 06:09:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:09:41 + '[' /w/workspace/xfoundry_device-modbus-go_PR-470 ']' 06:09:41 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-470/archives/ 06:09:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-470/archives/ [Pipeline] echo 06:09:41 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-470/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:09:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:09:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:42 prd-ubuntu20.04-docker-8c-8g-13262 does not seem to be running inside a container 06:09:42 $ 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-470/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-470 -v /w/workspace/xfoundry_device-modbus-go_PR-470:/w/workspace/xfoundry_device-modbus-go_PR-470:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-470@tmp:/w/workspace/xfoundry_device-modbus-go_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:09:42 $ docker top 738d9db18a24f3a7fd34528c4443f464a29bf01ed6d13d681ea7495c51099375 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:43 + touch /tmp/pre-build-complete [Pipeline] sh 06:09:43 + mkdir -p /var/log/sysstat [Pipeline] sh 06:09:43 + ls /var/log/sa-host 06:09:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:43 provisioning config files... 06:09:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-470@tmp/config8738649892546004789tmp [Pipeline] { [Pipeline] echo 06:09:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:09:44 ---> create-netrc.sh [Pipeline] } 06:09:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:09:44 ---> python-tools-install.sh [Pipeline] echo 06:09:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:09:44 ---> sudo-logs.sh 06:09:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:09:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:09:45 ---> job-cost.sh 06:09:45 lf-activate-venv: SKIPPING 06:09:45 DEBUG: total: 0.2199999988079071 06:09:45 INFO: Retrieving Stack Cost... 06:09:45 INFO: Retrieving Pricing Info for: v3-standard-8 06:09:46 INFO: Archiving Costs [Pipeline] echo 06:09:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:09:46 ---> logs-deploy.sh 06:09:46 lf-activate-venv: SKIPPING 06:09:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-470/1 06:09:46 INFO: archiving workspace using pattern(s): 06:09:47 Archives upload complete. 06:09:47 INFO: archiving logs to Nexus