Pull request #489 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from ecbf22f40f691d61adf9b21eebb93d6949163f21+b7c00ecea16ee3fe559c969829072d5131dcac71 (aa884d24b23bdfd22dec3a56372f86bf204d7c7e) 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-ssh14884736462609929952.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2080998320695328027.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-489/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-489/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12564421309111474637.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-489/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5680712346570453455.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh2276622411044707098.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-489/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-489/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9165953409730844937.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-17252 in /w/workspace/xfoundry_device-modbus-go_PR-489 [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-489 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b7c00ecea16ee3fe559c969829072d5131dcac71 into PR head commit ecbf22f40f691d61adf9b21eebb93d6949163f21 > 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/489/head:refs/remotes/origin/PR-489 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ecbf22f40f691d61adf9b21eebb93d6949163f21 # timeout=10 Merge succeeded, producing ecbf22f40f691d61adf9b21eebb93d6949163f21 Checking out Revision ecbf22f40f691d61adf9b21eebb93d6949163f21 (PR-489) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b7c00ecea16ee3fe559c969829072d5131dcac71 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ecbf22f40f691d61adf9b21eebb93d6949163f21 # timeout=10 Commit message: "docs: Update changelog for 3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:34:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:34:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:34:13 ========================================================= 03:34:13 EdgeX Global Pipelines Version Info 03:34:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:34:13 ------------------- 03:34:13 stable info: 03:34:13 ------------------- 03:34:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:34:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 03:34:13 Message: update stable to v1.0.249 03:34:14 ------------------- 03:34:14 experimental info: 03:34:14 ------------------- 03:34:14 Commited By: **** collab-it+edgex@linuxfoundation.org 03:34:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 03:34:14 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:34:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 03:34:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 03:34:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:34:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:34:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:34:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:34:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-489 [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-489 [Pipeline] echo 03:34:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-489 [Pipeline] echo 03:34:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ecbf22f40f691d61adf9b21eebb93d6949163f21 [Pipeline] echo 03:34:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ecbf22f [Pipeline] echo 03:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:34:16 provisioning config files... 03:34:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-489@tmp/config2850465877800945792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:34:16 ---> docker-login.sh 03:34:16 nexus3.edgexfoundry.org:10001 03:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:16 Configure a credential helper to remove this warning. See 03:34:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:16 03:34:16 Login Succeeded 03:34:16 nexus3.edgexfoundry.org:10002 03:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:17 Configure a credential helper to remove this warning. See 03:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:17 03:34:17 Login Succeeded 03:34:17 nexus3.edgexfoundry.org:10003 03:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:17 Configure a credential helper to remove this warning. See 03:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:17 03:34:17 Login Succeeded 03:34:17 nexus3.edgexfoundry.org:10004 03:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:17 Configure a credential helper to remove this warning. See 03:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:17 03:34:17 Login Succeeded 03:34:17 docker.io 03:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:17 Configure a credential helper to remove this warning. See 03:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:17 03:34:17 Login Succeeded 03:34:17 ---> docker-login.sh ends [Pipeline] } 03:34:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:34:18 + git rev-list -1 --merges ecbf22f40f691d61adf9b21eebb93d6949163f21~1..ecbf22f40f691d61adf9b21eebb93d6949163f21 [Pipeline] echo 03:34:18 -----------> git rev-list -1 --merges ecbf22f40f691d61adf9b21eebb93d6949163f21~1..ecbf22f40f691d61adf9b21eebb93d6949163f21 ecbf22f40f691d61adf9b21eebb93d6949163f21 [false] [Pipeline] sh 03:34:18 + git log --format=format:%s -1 ecbf22f40f691d61adf9b21eebb93d6949163f21 [Pipeline] echo 03:34:18 ========================================================= 03:34:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:34:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:34:19 + git log --format=format:%s -1 ecbf22f40f691d61adf9b21eebb93d6949163f21 [Pipeline] echo 03:34:19 [semverPrep] GIT_COMMIT: ecbf22f40f691d61adf9b21eebb93d6949163f21, Commit Message: docs: Update changelog for 3.0 [Pipeline] echo 03:34:19 [semverPrep] This is not a build commit. [Pipeline] sh 03:34:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:34:19 + grep -v github /etc/ssh/ssh_known_hosts 03:34:19 + [ -e /tmp/ssh_known_hosts ] 03:34:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:34:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:34:19 + sudo tee -a /etc/ssh/ssh_known_hosts 03:34:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:34:20 03:34:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:34:20 0.1.4: Pulling from edgex-devops/py-git-semver 03:34:20 b85a868b505f: Pulling fs layer 03:34:20 e2be974225ed: Pulling fs layer 03:34:20 339a4e72a1f5: Pulling fs layer 03:34:20 988bab9f4d93: Pulling fs layer 03:34:20 1469e6f7b9e6: Pulling fs layer 03:34:20 eaf3925da568: Pulling fs layer 03:34:20 bab4dde63d76: Pulling fs layer 03:34:20 bde34c3a00c8: Pulling fs layer 03:34:20 b352a97aabf1: Pulling fs layer 03:34:20 4872d77fe225: Pulling fs layer 03:34:20 5851b861e8e6: Pulling fs layer 03:34:20 988bab9f4d93: Waiting 03:34:20 eaf3925da568: Waiting 03:34:20 1469e6f7b9e6: Waiting 03:34:20 bab4dde63d76: Waiting 03:34:20 4872d77fe225: Waiting 03:34:20 b352a97aabf1: Waiting 03:34:20 5851b861e8e6: Waiting 03:34:20 e2be974225ed: Verifying Checksum 03:34:20 e2be974225ed: Download complete 03:34:20 988bab9f4d93: Download complete 03:34:20 339a4e72a1f5: Verifying Checksum 03:34:20 339a4e72a1f5: Download complete 03:34:20 eaf3925da568: Verifying Checksum 03:34:20 eaf3925da568: Download complete 03:34:20 1469e6f7b9e6: Verifying Checksum 03:34:20 1469e6f7b9e6: Download complete 03:34:20 bde34c3a00c8: Verifying Checksum 03:34:20 bde34c3a00c8: Download complete 03:34:20 b352a97aabf1: Verifying Checksum 03:34:20 b352a97aabf1: Download complete 03:34:20 4872d77fe225: Verifying Checksum 03:34:20 4872d77fe225: Download complete 03:34:20 5851b861e8e6: Verifying Checksum 03:34:20 5851b861e8e6: Download complete 03:34:20 b85a868b505f: Verifying Checksum 03:34:20 b85a868b505f: Download complete 03:34:21 bab4dde63d76: Verifying Checksum 03:34:21 bab4dde63d76: Download complete 03:34:22 b85a868b505f: Pull complete 03:34:22 e2be974225ed: Pull complete 03:34:22 339a4e72a1f5: Pull complete 03:34:22 988bab9f4d93: Pull complete 03:34:23 1469e6f7b9e6: Pull complete 03:34:23 eaf3925da568: Pull complete 03:34:24 bab4dde63d76: Pull complete 03:34:24 bde34c3a00c8: Pull complete 03:34:24 b352a97aabf1: Pull complete 03:34:25 4872d77fe225: Pull complete 03:34:25 5851b861e8e6: Pull complete 03:34:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:34:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:34:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:25 prd-ubuntu20.04-docker-8c-8g-17252 does not seem to be running inside a container 03:34:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-489 -v /w/workspace/xfoundry_device-modbus-go_PR-489:/w/workspace/xfoundry_device-modbus-go_PR-489:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-489@tmp:/w/workspace/xfoundry_device-modbus-go_PR-489@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-devops/py-git-semver:0.1.4 cat 03:34:26 $ docker top 2970b6b579d504d474f4ad4260ae76d1467176fa18f01e74bffc14acb446d50f -eo pid,comm 03:34:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:34:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:34:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:34:26 [ssh-agent] Looking for ssh-agent implementation... 03:34:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:34:27 $ docker exec 2970b6b579d504d474f4ad4260ae76d1467176fa18f01e74bffc14acb446d50f ssh-agent 03:34:27 SSH_AUTH_SOCK=/tmp/ssh-2wDIBlviPnZJ/agent.32 03:34:27 SSH_AGENT_PID=38 03:34:27 Running ssh-add (command line suppressed) 03:34:27 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-489@tmp/private_key_11151091184448259709.key (/w/workspace/xfoundry_device-modbus-go_PR-489@tmp/private_key_11151091184448259709.key) 03:34:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:34:27 + git tag --points-at HEAD [Pipeline] } 03:34:27 $ docker exec --env ******** --env ******** 2970b6b579d504d474f4ad4260ae76d1467176fa18f01e74bffc14acb446d50f ssh-agent -k 03:34:27 unset SSH_AUTH_SOCK; 03:34:27 unset SSH_AGENT_PID; 03:34:27 echo Agent pid 38 killed; 03:34:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:34:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:34:27 [ssh-agent] Looking for ssh-agent implementation... 03:34:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:34:27 $ docker exec 2970b6b579d504d474f4ad4260ae76d1467176fa18f01e74bffc14acb446d50f ssh-agent 03:34:28 SSH_AUTH_SOCK=/tmp/ssh-wetASAlsrY34/agent.70 03:34:28 SSH_AGENT_PID=76 03:34:28 Running ssh-add (command line suppressed) 03:34:28 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-489@tmp/private_key_10904669753588890414.key (/w/workspace/xfoundry_device-modbus-go_PR-489@tmp/private_key_10904669753588890414.key) 03:34:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:34:28 + git semver init 03:34:28 2023-05-30 03:34:28,737 [run_init] DEBUG init version:0.0.0 force:False 03:34:28 2023-05-30 03:34:28,738 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-489/.semver 03:34:28 2023-05-30 03:34:28,739 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-489/.semver 03:34:28 2023-05-30 03:34:28,739 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-489/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-489, universal_newlines=False, shell=None, istream=None) 03:34:29 2023-05-30 03:34:29,475 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-489/.git/info/exclude 03:34:29 2023-05-30 03:34:29,477 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-489/.semver/PR-489 with force:False 03:34:29 2023-05-30 03:34:29,477 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-489/.semver/PR-489 03:34:29 2023-05-30 03:34:29,483 [execute] INFO git cat-file --batch-check 03:34:29 2023-05-30 03:34:29,483 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-489/.semver, universal_newlines=False, shell=None, istream=) 03:34:29 2023-05-30 03:34:29,488 [execute] INFO git cat-file --batch 03:34:29 2023-05-30 03:34:29,489 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-489/.semver, universal_newlines=False, shell=None, istream=) 03:34:29 2023-05-30 03:34:29,494 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-489/.semver/PR-489 03:34:29 0.0.0 [Pipeline] } 03:34:29 $ docker exec --env ******** --env ******** 2970b6b579d504d474f4ad4260ae76d1467176fa18f01e74bffc14acb446d50f ssh-agent -k 03:34:29 unset SSH_AUTH_SOCK; 03:34:29 unset SSH_AGENT_PID; 03:34:29 echo Agent pid 76 killed; 03:34:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:34:30 + git semver [Pipeline] } 03:34:30 $ docker stop --time=1 2970b6b579d504d474f4ad4260ae76d1467176fa18f01e74bffc14acb446d50f 03:34:31 $ docker rm -f --volumes 2970b6b579d504d474f4ad4260ae76d1467176fa18f01e74bffc14acb446d50f [Pipeline] // withDockerContainer [Pipeline] sh 03:34:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:34:32 Stashed 1 file(s) [Pipeline] echo 03:34:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:34:33 provisioning config files... 03:34:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-489@tmp/config629218825569715528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:34:33 ---> docker-login.sh 03:34:33 nexus3.edgexfoundry.org:10001 03:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:33 Configure a credential helper to remove this warning. See 03:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:33 03:34:33 Login Succeeded 03:34:33 nexus3.edgexfoundry.org:10002 03:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:33 Configure a credential helper to remove this warning. See 03:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:33 03:34:33 Login Succeeded 03:34:33 nexus3.edgexfoundry.org:10003 03:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:33 Configure a credential helper to remove this warning. See 03:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:33 03:34:33 Login Succeeded 03:34:33 nexus3.edgexfoundry.org:10004 03:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:33 Configure a credential helper to remove this warning. See 03:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:33 03:34:33 Login Succeeded 03:34:33 docker.io 03:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:34 Configure a credential helper to remove this warning. See 03:34:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:34 03:34:34 Login Succeeded 03:34:34 ---> docker-login.sh ends [Pipeline] } 03:34:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:34:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:34:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:34:34 ========================================================= 03:34:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:34:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:34 + 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 . 03:34:34 Sending build context to Docker daemon 6.573MB 03:34:34 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:34:34 Step 2/10 : FROM ${BASE} AS builder 03:34:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:34:34 f56be85fc22e: Pulling fs layer 03:34:34 85791d961cd3: Pulling fs layer 03:34:34 d694b5ae8c79: Pulling fs layer 03:34:34 9f32a84ed3da: Pulling fs layer 03:34:34 4d19c01a9841: Pulling fs layer 03:34:34 9325e15d5711: Pulling fs layer 03:34:34 556b6ee489ea: Pulling fs layer 03:34:34 c5a4b2cf53e6: Pulling fs layer 03:34:34 556b6ee489ea: Waiting 03:34:34 4d19c01a9841: Waiting 03:34:34 9f32a84ed3da: Waiting 03:34:34 c5a4b2cf53e6: Waiting 03:34:34 9325e15d5711: Waiting 03:34:34 85791d961cd3: Download complete 03:34:34 9f32a84ed3da: Verifying Checksum 03:34:34 9f32a84ed3da: Download complete 03:34:34 4d19c01a9841: Verifying Checksum 03:34:34 4d19c01a9841: Download complete 03:34:35 f56be85fc22e: Verifying Checksum 03:34:35 f56be85fc22e: Download complete 03:34:35 9325e15d5711: Verifying Checksum 03:34:35 9325e15d5711: Download complete 03:34:35 f56be85fc22e: Pull complete 03:34:35 85791d961cd3: Pull complete 03:34:35 c5a4b2cf53e6: Verifying Checksum 03:34:35 c5a4b2cf53e6: Download complete 03:34:35 d694b5ae8c79: Verifying Checksum 03:34:35 d694b5ae8c79: Download complete 03:34:36 556b6ee489ea: Verifying Checksum 03:34:36 556b6ee489ea: Download complete 03:34:39 d694b5ae8c79: Pull complete 03:34:39 9f32a84ed3da: Pull complete 03:34:39 4d19c01a9841: Pull complete 03:34:39 9325e15d5711: Pull complete 03:34:42 556b6ee489ea: Pull complete 03:34:42 c5a4b2cf53e6: Pull complete 03:34:42 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 03:34:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:34:42 ---> c4be618373d6 03:34:42 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:34:44 ---> Running in 55e278c603fc 03:34:44 Removing intermediate container 55e278c603fc 03:34:44 ---> 9c671f160e5e 03:34:44 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:34:44 ---> Running in e252e0b331e8 03:34:44 Removing intermediate container e252e0b331e8 03:34:44 ---> 2aa3132f7bdb 03:34:44 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:34:44 ---> Running in 1dd5f3ea2c94 03:34:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:34:45 (1/8) Installing openssh-keygen (9.1_p1-r3) 03:34:45 (2/8) Installing libedit (20221030.3.1-r0) 03:34:45 (3/8) Installing openssh-client-common (9.1_p1-r3) 03:34:45 (4/8) Installing openssh-client-default (9.1_p1-r3) 03:34:45 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 03:34:45 (6/8) Installing openssh-server-common (9.1_p1-r3) 03:34:45 (7/8) Installing openssh-server (9.1_p1-r3) 03:34:45 (8/8) Installing openssh (9.1_p1-r3) 03:34:45 Executing busybox-1.35.0-r29.trigger 03:34:45 OK: 270 MiB in 61 packages 03:34:45 Removing intermediate container 1dd5f3ea2c94 03:34:45 ---> 0d0fb4c288ff 03:34:45 Step 6/10 : WORKDIR /device-modbus-go 03:34:45 ---> Running in 491593f8d389 03:34:45 Removing intermediate container 491593f8d389 03:34:45 ---> 1b4f520c63b3 03:34:45 Step 7/10 : COPY go.mod vendor* ./ 03:34:45 ---> cb1ea0ef6c48 03:34:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:34:46 ---> Running in b7965faf48e9 03:34:48 Still waiting to schedule task 03:34:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:35:08 Removing intermediate container b7965faf48e9 03:35:08 ---> 95c8732f66aa 03:35:08 Step 9/10 : COPY . . 03:35:08 ---> 331486e34c7a 03:35:08 Step 10/10 : RUN ${MAKE} 03:35:08 ---> Running in 6bab9135af6d 03:35:08 noop 03:35:08 Removing intermediate container 6bab9135af6d 03:35:08 ---> d4d8ab1da9d6 03:35:08 Successfully built d4d8ab1da9d6 03:35:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:08 + docker inspect -f . ci-base-image-x86_64 03:35:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:08 prd-ubuntu20.04-docker-8c-8g-17252 does not seem to be running inside a container 03:35:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-489 -v /w/workspace/xfoundry_device-modbus-go_PR-489:/w/workspace/xfoundry_device-modbus-go_PR-489:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-489@tmp:/w/workspace/xfoundry_device-modbus-go_PR-489@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:35:09 $ docker top b32a61d9d9a723dfed1427e61874e5ed6967def11ccf3f060e1ae492a34fd11b -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:09 + go version 03:35:09 go version go1.20.2 linux/amd64 [Pipeline] } 03:35:09 $ docker stop --time=1 b32a61d9d9a723dfed1427e61874e5ed6967def11ccf3f060e1ae492a34fd11b 03:35:10 $ docker rm -f --volumes b32a61d9d9a723dfed1427e61874e5ed6967def11ccf3f060e1ae492a34fd11b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:11 + docker inspect -f . ci-base-image-x86_64 03:35:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:11 prd-ubuntu20.04-docker-8c-8g-17252 does not seem to be running inside a container 03:35:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-489 -v /w/workspace/xfoundry_device-modbus-go_PR-489:/w/workspace/xfoundry_device-modbus-go_PR-489:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-489@tmp:/w/workspace/xfoundry_device-modbus-go_PR-489@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:35:12 $ docker top e37397f2c7e3ab87d4d47620e5a214aedc2260846e9ea7b2fc81eff305ac94b6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:12 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-489 [Pipeline] fileExists [Pipeline] sh 03:35:12 + make test 03:35:12 go test ./... -coverprofile=coverage.out 03:35:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:35:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:35:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements 03:35:36 go vet ./... 03:35:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:35:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:35:38 ./bin/test-attribution-txt.sh [Pipeline] echo 03:35:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:35:39 $ docker stop --time=1 e37397f2c7e3ab87d4d47620e5a214aedc2260846e9ea7b2fc81eff305ac94b6 03:35:40 $ docker rm -f --volumes e37397f2c7e3ab87d4d47620e5a214aedc2260846e9ea7b2fc81eff305ac94b6 [Pipeline] // withDockerContainer [Pipeline] sh 03:35:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:35:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:35:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:35:42 + ls -al . 03:35:42 total 188 03:35:42 drwxrwxr-x 10 jenkins jenkins 4096 May 30 03:35 . 03:35:42 drwxrwxr-x 4 jenkins jenkins 4096 May 30 03:34 .. 03:35:42 -rw-rw-r-- 1 jenkins jenkins 140 May 30 03:34 .dockerignore 03:35:42 drwxrwxr-x 8 jenkins jenkins 4096 May 30 03:34 .git 03:35:42 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:34 .github 03:35:42 -rw-rw-r-- 1 jenkins jenkins 331 May 30 03:34 .gitignore 03:35:42 -rw-rw-r-- 1 jenkins jenkins 41 May 30 03:34 .golangci.yml 03:35:42 drwxr-xr-x 3 jenkins jenkins 4096 May 30 03:34 .semver 03:35:42 -rw-rw-r-- 1 jenkins jenkins 10132 May 30 03:34 Attribution.txt 03:35:42 -rw-rw-r-- 1 jenkins jenkins 14764 May 30 03:34 CHANGELOG.md 03:35:42 -rw-rw-r-- 1 jenkins jenkins 1365 May 30 03:34 Dockerfile 03:35:42 -rw-rw-r-- 1 jenkins jenkins 677 May 30 03:34 GOVERNANCE.md 03:35:42 -rw-rw-r-- 1 jenkins jenkins 680 May 30 03:34 Jenkinsfile 03:35:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 03:34 LICENSE 03:35:42 -rw-rw-r-- 1 jenkins jenkins 1705 May 30 03:34 Makefile 03:35:42 -rw-rw-r-- 1 jenkins jenkins 622 May 30 03:34 OWNERS.md 03:35:42 -rw-rw-r-- 1 jenkins jenkins 4578 May 30 03:34 README.md 03:35:42 -rw-rw-r-- 1 jenkins jenkins 5 May 30 03:34 VERSION 03:35:42 drwxrwxr-x 2 jenkins jenkins 4096 May 30 03:34 bin 03:35:42 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:34 cmd 03:35:42 -rw-r--r-- 1 jenkins jenkins 24160 May 30 03:35 coverage.out 03:35:42 -rw-rw-r-- 1 jenkins jenkins 3405 May 30 03:34 go.mod 03:35:42 -rw-rw-r-- 1 jenkins jenkins 31574 May 30 03:34 go.sum 03:35:42 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:34 internal 03:35:42 drwxrwxr-x 2 jenkins jenkins 4096 May 30 03:34 simulator 03:35:42 drwxrwxr-x 4 jenkins jenkins 4096 May 30 03:34 snap 03:35:42 -rw-rw-r-- 1 jenkins jenkins 229 May 30 03:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:42 + 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=ecbf22f40f691d61adf9b21eebb93d6949163f21 --label arch=amd64 --label version=0.0.0 . 03:35:42 Sending build context to Docker daemon 6.598MB 03:35:42 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 03:35:42 Step 2/22 : FROM ${BASE} AS builder 03:35:42 ---> d4d8ab1da9d6 03:35:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 03:35:42 ---> Running in 994364005d97 03:35:43 Removing intermediate container 994364005d97 03:35:43 ---> 4e793ae200cd 03:35:43 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:35:43 ---> Running in b067a00c0973 03:35:43 Removing intermediate container b067a00c0973 03:35:43 ---> 0267bcaeb3db 03:35:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 03:35:43 ---> Running in 9a0b511e249d 03:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:35:43 OK: 270 MiB in 61 packages 03:35:44 Removing intermediate container 9a0b511e249d 03:35:44 ---> fcc9508f0d70 03:35:44 Step 6/22 : WORKDIR /device-modbus-go 03:35:44 ---> Running in 69279d871e5b 03:35:44 Removing intermediate container 69279d871e5b 03:35:44 ---> 78fb1e48ba1b 03:35:44 Step 7/22 : COPY go.mod vendor* ./ 03:35:44 ---> bf1b682bd95a 03:35:44 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:35:44 ---> Running in 1c7567fbd39e 03:35:45 Removing intermediate container 1c7567fbd39e 03:35:45 ---> 3e8efd41841d 03:35:45 Step 9/22 : COPY . . 03:35:45 ---> 6ad41586e28c 03:35:45 Step 10/22 : RUN ${MAKE} 03:35:45 ---> Running in e98330fa3f64 03:35:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 03:36:07 Removing intermediate container e98330fa3f64 03:36:07 ---> 6d857e7bd0ac 03:36:07 Step 11/22 : FROM alpine:3.17 03:36:07 3.17: Pulling from library/alpine 03:36:07 f56be85fc22e: Already exists 03:36:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:36:07 Status: Downloaded newer image for alpine:3.17 03:36:07 ---> 9ed4aefc74f6 03:36:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:36:07 ---> Running in 3c05f7cdf5f5 03:36:07 Removing intermediate container 3c05f7cdf5f5 03:36:07 ---> ad13a03ac61a 03:36:07 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:36:07 ---> Running in d9981e868abb 03:36:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:36:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:36:07 (1/1) Installing dumb-init (1.2.5-r2) 03:36:07 Executing busybox-1.35.0-r29.trigger 03:36:07 OK: 7 MiB in 16 packages 03:36:07 Removing intermediate container d9981e868abb 03:36:07 ---> 68ddb484b5e2 03:36:07 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:36:07 ---> 714e33c88b87 03:36:07 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:36:07 ---> 44c18d50d0d2 03:36:07 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:36:07 ---> 3d6d04538f1b 03:36:07 Step 17/22 : EXPOSE 59901 03:36:07 ---> Running in 53200f9d236d 03:36:07 Removing intermediate container 53200f9d236d 03:36:07 ---> 8390e7fad38a 03:36:07 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:36:07 ---> Running in 27e8476b0d91 03:36:07 Removing intermediate container 27e8476b0d91 03:36:07 ---> 396689be5815 03:36:07 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:36:07 ---> Running in 250658ef7920 03:36:07 Removing intermediate container 250658ef7920 03:36:07 ---> ec94c8c6b8fa 03:36:07 Step 20/22 : LABEL arch=amd64 03:36:07 ---> Running in bb33d58d8487 03:36:07 Removing intermediate container bb33d58d8487 03:36:07 ---> 167e6aa44c91 03:36:07 Step 21/22 : LABEL git_sha=ecbf22f40f691d61adf9b21eebb93d6949163f21 03:36:07 ---> Running in 3548b2b46c9f 03:36:08 Removing intermediate container 3548b2b46c9f 03:36:08 ---> 16535df24c9b 03:36:08 Step 22/22 : LABEL version=0.0.0 03:36:08 ---> Running in 937f534f05a4 03:36:08 Removing intermediate container 937f534f05a4 03:36:08 ---> 45e4f3aa3dec 03:36:08 [Warning] One or more build-args [ARCH] were not consumed 03:36:08 Successfully built 45e4f3aa3dec 03:36:08 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:36:09 03:36:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:36:09 latest: Pulling from edgex-lftools-log-publisher 03:36:09 5eb5b503b376: Pulling fs layer 03:36:09 5c69ac0246d0: Pulling fs layer 03:36:09 ec43610c2a17: Pulling fs layer 03:36:09 3a2ae6a8a46f: Pulling fs layer 03:36:09 33b1e0a273af: Pulling fs layer 03:36:09 5d3b04190fa2: Pulling fs layer 03:36:09 2f39f015ded8: Pulling fs layer 03:36:09 5d3b04190fa2: Waiting 03:36:09 33b1e0a273af: Waiting 03:36:09 2f39f015ded8: Waiting 03:36:09 3a2ae6a8a46f: Waiting 03:36:09 5c69ac0246d0: Download complete 03:36:09 3a2ae6a8a46f: Verifying Checksum 03:36:09 3a2ae6a8a46f: Download complete 03:36:09 33b1e0a273af: Verifying Checksum 03:36:09 33b1e0a273af: Download complete 03:36:09 ec43610c2a17: Verifying Checksum 03:36:09 ec43610c2a17: Download complete 03:36:09 5d3b04190fa2: Download complete 03:36:09 5eb5b503b376: Verifying Checksum 03:36:09 5eb5b503b376: Download complete 03:36:10 2f39f015ded8: Download complete 03:36:10 5eb5b503b376: Pull complete 03:36:10 5c69ac0246d0: Pull complete 03:36:11 ec43610c2a17: Pull complete 03:36:11 3a2ae6a8a46f: Pull complete 03:36:11 33b1e0a273af: Pull complete 03:36:11 5d3b04190fa2: Pull complete 03:36:15 2f39f015ded8: Pull complete 03:36:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:36:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:16 prd-ubuntu20.04-docker-8c-8g-17252 does not seem to be running inside a container 03:36:16 $ 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-489 -v /w/workspace/xfoundry_device-modbus-go_PR-489:/w/workspace/xfoundry_device-modbus-go_PR-489:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-489@tmp:/w/workspace/xfoundry_device-modbus-go_PR-489@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:36:20 $ docker top ef93161bb6bbbaafdd569cab6321450650f9575f53af37ac877313654aa638e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:36:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17253 in /w/workspace/xfoundry_device-modbus-go_PR-489 [Pipeline] { [Pipeline] ws 03:36:20 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 03:36:20 ---> job-cost.sh 03:36:20 lf-activate-venv: SKIPPING 03:36:20 INFO: No Stack... 03:36:20 Selected Git installation does not exist. Using Default 03:36:20 The recommended git tool is: NONE 03:36:21 INFO: Retrieving Pricing Info for: v3-standard-8 03:36:21 INFO: Archiving Costs [Pipeline] sh 03:36:21 + cat /w/workspace/xfoundry_device-modbus-go_PR-489/archives/cost.csv 03:36:21 + cut -d, -f6 [Pipeline] lock 03:36:21 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-489-1-stack-cost] 03:36:21 Resource [jenkins-edgexfoundry-device-modbus-go-PR-489-1-stack-cost] did not exist. Created. 03:36:21 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-489-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:36:22 + echo total: 0.2199999988079071 [Pipeline] stash 03:36:22 Stashed 1 file(s) [Pipeline] } 03:36:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-489-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:36:22 $ docker stop --time=1 ef93161bb6bbbaafdd569cab6321450650f9575f53af37ac877313654aa638e1 03:36:23 $ docker rm -f --volumes ef93161bb6bbbaafdd569cab6321450650f9575f53af37ac877313654aa638e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:36:25 using credential edgex-jenkins-ssh 03:36:25 Cloning the remote Git repository 03:36:25 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:36:25 > git init /w/workspace/device-modbus-go/1 # timeout=10 03:36:26 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:36:26 > git --version # timeout=10 03:36:26 > git --version # 'git version 2.25.1' 03:36:26 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:36:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:36:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:36:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:36:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:36:28 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/489/head:refs/remotes/origin/PR-489 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:36:28 Merging remotes/origin/main commit b7c00ecea16ee3fe559c969829072d5131dcac71 into PR head commit ecbf22f40f691d61adf9b21eebb93d6949163f21 03:36:28 Merge succeeded, producing ecbf22f40f691d61adf9b21eebb93d6949163f21 03:36:28 Checking out Revision ecbf22f40f691d61adf9b21eebb93d6949163f21 (PR-489) 03:36:28 > git config core.sparsecheckout # timeout=10 03:36:28 > git checkout -f ecbf22f40f691d61adf9b21eebb93d6949163f21 # timeout=10 03:36:28 > git remote # timeout=10 03:36:28 > git config --get remote.origin.url # timeout=10 03:36:28 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:28 > git merge b7c00ecea16ee3fe559c969829072d5131dcac71 # timeout=10 03:36:28 > git rev-parse HEAD^{commit} # timeout=10 03:36:28 > git config core.sparsecheckout # timeout=10 03:36:29 > git checkout -f ecbf22f40f691d61adf9b21eebb93d6949163f21 # timeout=10 03:36:32 Commit message: "docs: Update changelog for 3.0" 03:36:32 > git --version # timeout=10 03:36:32 > git --version # 'git version 2.25.1' 03:36:32 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:36:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:36:33 % Total % Received % Xferd Average Speed Time Time Time Current 03:36:33 Dload Upload Total Spent Left Speed 03:36:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 03:36:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:36:35 + sudo tee /etc/docker/daemon.new 03:36:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:36:35 { 03:36:35 "registry-mirrors": [ 03:36:35 "https://nexus3.edgexfoundry.org:10001" 03:36:35 ], 03:36:35 "bip": "10.250.0.254/24", 03:36:35 "hosts": [ 03:36:35 "tcp://0.0.0.0:5555", 03:36:35 "unix:///var/run/docker.sock" 03:36:35 ], 03:36:35 "mtu": 1458, 03:36:35 "selinux-enabled": true, 03:36:35 "seccomp-profile": "/etc/docker/seccomp.json" 03:36:35 } [Pipeline] sh 03:36:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:36:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:36:54 provisioning config files... 03:36:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config662368395020734915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:36:54 ---> docker-login.sh 03:36:54 nexus3.edgexfoundry.org:10001 03:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:36:55 Configure a credential helper to remove this warning. See 03:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:36:55 03:36:55 Login Succeeded 03:36:55 nexus3.edgexfoundry.org:10002 03:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:36:55 Configure a credential helper to remove this warning. See 03:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:36:55 03:36:55 Login Succeeded 03:36:55 nexus3.edgexfoundry.org:10003 03:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:36:56 Configure a credential helper to remove this warning. See 03:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:36:56 03:36:56 Login Succeeded 03:36:56 nexus3.edgexfoundry.org:10004 03:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:36:56 Configure a credential helper to remove this warning. See 03:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:36:56 03:36:56 Login Succeeded 03:36:56 docker.io 03:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:36:56 Configure a credential helper to remove this warning. See 03:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:36:56 03:36:56 Login Succeeded 03:36:56 ---> docker-login.sh ends [Pipeline] } 03:36:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:36:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:36:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:36:57 ========================================================= 03:36:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:36:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:57 + 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 . 03:37:00 Sending build context to Docker daemon 3.443MB 03:37:00 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:37:00 Step 2/10 : FROM ${BASE} AS builder 03:37:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:37:00 c41833b44d91: Pulling fs layer 03:37:00 ed15518f5707: Pulling fs layer 03:37:00 feae8fd75edb: Pulling fs layer 03:37:00 242c74f7c9fa: Pulling fs layer 03:37:00 3cdef696dda3: Pulling fs layer 03:37:00 2ced38df9373: Pulling fs layer 03:37:00 58f1dce35555: Pulling fs layer 03:37:00 3cdef696dda3: Waiting 03:37:00 2ced38df9373: Waiting 03:37:00 58f1dce35555: Waiting 03:37:00 242c74f7c9fa: Waiting 03:37:00 ed15518f5707: Verifying Checksum 03:37:00 ed15518f5707: Download complete 03:37:00 242c74f7c9fa: Verifying Checksum 03:37:00 242c74f7c9fa: Download complete 03:37:00 3cdef696dda3: Verifying Checksum 03:37:00 3cdef696dda3: Download complete 03:37:01 c41833b44d91: Download complete 03:37:02 c41833b44d91: Pull complete 03:37:02 58f1dce35555: Verifying Checksum 03:37:02 58f1dce35555: Download complete 03:37:02 ed15518f5707: Pull complete 03:37:03 feae8fd75edb: Verifying Checksum 03:37:03 feae8fd75edb: Download complete 03:37:03 2ced38df9373: Verifying Checksum 03:37:03 2ced38df9373: Download complete 03:37:15 feae8fd75edb: Pull complete 03:37:15 242c74f7c9fa: Pull complete 03:37:15 3cdef696dda3: Pull complete 03:37:22 2ced38df9373: Pull complete 03:37:26 58f1dce35555: Pull complete 03:37:26 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 03:37:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:37:26 ---> fadd8f120f05 03:37:26 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:37:27 ---> Running in 3a3224b25f7d 03:37:27 Removing intermediate container 3a3224b25f7d 03:37:27 ---> 53adc5693b89 03:37:27 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:37:27 ---> Running in 7da83a2d13e8 03:37:27 Removing intermediate container 7da83a2d13e8 03:37:27 ---> 35fce2765ac8 03:37:27 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:37:27 ---> Running in b1776294ad9e 03:37:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:37:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:37:30 (1/8) Installing openssh-keygen (9.1_p1-r3) 03:37:30 (2/8) Installing libedit (20221030.3.1-r0) 03:37:30 (3/8) Installing openssh-client-common (9.1_p1-r3) 03:37:30 (4/8) Installing openssh-client-default (9.1_p1-r3) 03:37:30 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 03:37:30 (6/8) Installing openssh-server-common (9.1_p1-r3) 03:37:30 (7/8) Installing openssh-server (9.1_p1-r3) 03:37:30 (8/8) Installing openssh (9.1_p1-r3) 03:37:30 Executing busybox-1.35.0-r29.trigger 03:37:30 OK: 270 MiB in 61 packages 03:37:31 Removing intermediate container b1776294ad9e 03:37:31 ---> 1a5e15db45af 03:37:31 Step 6/10 : WORKDIR /device-modbus-go 03:37:31 ---> Running in 4764852e02a1 03:37:31 Removing intermediate container 4764852e02a1 03:37:31 ---> 09c2a554d0eb 03:37:31 Step 7/10 : COPY go.mod vendor* ./ 03:37:32 ---> 2833e5737b37 03:37:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:37:32 ---> Running in 67adb886bccc 03:38:40 Removing intermediate container 67adb886bccc 03:38:40 ---> 7fd65d5e0551 03:38:40 Step 9/10 : COPY . . 03:38:40 ---> a314a1fa439d 03:38:40 Step 10/10 : RUN ${MAKE} 03:38:40 ---> Running in e3c070344bdc 03:38:40 noop 03:38:40 Removing intermediate container e3c070344bdc 03:38:40 ---> aeba345ffb64 03:38:40 Successfully built aeba345ffb64 03:38:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:40 + docker inspect -f . ci-base-image-arm64 03:38:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:41 prd-ubuntu20.04-docker-arm64-4c-16g-17253 does not seem to be running inside a container 03:38:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:38:42 $ docker top 4ea5afa7d8c5a6b9664839ed65810d4b5d258b395589b5bbd67982eacc62de56 -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:43 + go version 03:38:43 go version go1.20.2 linux/arm64 [Pipeline] } 03:38:43 $ docker stop --time=1 4ea5afa7d8c5a6b9664839ed65810d4b5d258b395589b5bbd67982eacc62de56 03:38:44 $ docker rm -f --volumes 4ea5afa7d8c5a6b9664839ed65810d4b5d258b395589b5bbd67982eacc62de56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:45 + docker inspect -f . ci-base-image-arm64 03:38:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:45 prd-ubuntu20.04-docker-arm64-4c-16g-17253 does not seem to be running inside a container 03:38:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:38:47 $ docker top ba6fb693823371d7fdb01b950f527c141e365c6f9419b741c8209a32afa4ca09 -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:47 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 03:38:48 + make test 03:38:48 go test ./... -coverprofile=coverage.out 03:39:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:41:12 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:41:12 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 47.4% of statements 03:41:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:41:12 go vet ./... 03:41:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:41:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:41:44 ./bin/test-attribution-txt.sh [Pipeline] echo 03:41:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:41:44 $ docker stop --time=1 ba6fb693823371d7fdb01b950f527c141e365c6f9419b741c8209a32afa4ca09 03:41:48 $ docker rm -f --volumes ba6fb693823371d7fdb01b950f527c141e365c6f9419b741c8209a32afa4ca09 [Pipeline] // withDockerContainer [Pipeline] sh 03:41:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:41:49 Warning: overwriting stash ‘coverage-report’ 03:41:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:41:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:41:51 + ls -al . 03:41:51 total 184 03:41:51 drwxrwxr-x 9 jenkins jenkins 4096 May 30 03:38 . 03:41:51 drwxrwxr-x 4 jenkins jenkins 4096 May 30 03:36 .. 03:41:51 -rw-rw-r-- 1 jenkins jenkins 140 May 30 03:36 .dockerignore 03:41:51 drwxrwxr-x 8 jenkins jenkins 4096 May 30 03:36 .git 03:41:51 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:36 .github 03:41:51 -rw-rw-r-- 1 jenkins jenkins 331 May 30 03:36 .gitignore 03:41:51 -rw-rw-r-- 1 jenkins jenkins 41 May 30 03:36 .golangci.yml 03:41:51 -rw-rw-r-- 1 jenkins jenkins 10132 May 30 03:36 Attribution.txt 03:41:51 -rw-rw-r-- 1 jenkins jenkins 14764 May 30 03:36 CHANGELOG.md 03:41:51 -rw-rw-r-- 1 jenkins jenkins 1365 May 30 03:36 Dockerfile 03:41:51 -rw-rw-r-- 1 jenkins jenkins 677 May 30 03:36 GOVERNANCE.md 03:41:51 -rw-rw-r-- 1 jenkins jenkins 680 May 30 03:36 Jenkinsfile 03:41:51 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 03:36 LICENSE 03:41:51 -rw-rw-r-- 1 jenkins jenkins 1705 May 30 03:36 Makefile 03:41:51 -rw-rw-r-- 1 jenkins jenkins 622 May 30 03:36 OWNERS.md 03:41:51 -rw-rw-r-- 1 jenkins jenkins 4578 May 30 03:36 README.md 03:41:51 -rw-rw-r-- 1 jenkins jenkins 5 May 30 03:34 VERSION 03:41:51 drwxrwxr-x 2 jenkins jenkins 4096 May 30 03:36 bin 03:41:51 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:36 cmd 03:41:51 -rw-r--r-- 1 jenkins jenkins 24160 May 30 03:41 coverage.out 03:41:51 -rw-rw-r-- 1 jenkins jenkins 3405 May 30 03:36 go.mod 03:41:51 -rw-rw-r-- 1 jenkins jenkins 31574 May 30 03:36 go.sum 03:41:51 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:36 internal 03:41:51 drwxrwxr-x 2 jenkins jenkins 4096 May 30 03:36 simulator 03:41:51 drwxrwxr-x 4 jenkins jenkins 4096 May 30 03:36 snap 03:41:51 -rw-rw-r-- 1 jenkins jenkins 229 May 30 03:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:51 + 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=ecbf22f40f691d61adf9b21eebb93d6949163f21 --label arch=arm64 --label version=0.0.0 . 03:41:51 Sending build context to Docker daemon 3.468MB 03:41:52 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 03:41:52 Step 2/22 : FROM ${BASE} AS builder 03:41:52 ---> aeba345ffb64 03:41:52 Step 3/22 : ARG ADD_BUILD_TAGS="" 03:41:52 ---> Running in ad79fa2c295f 03:41:52 Removing intermediate container ad79fa2c295f 03:41:52 ---> 2dc9ee8a12de 03:41:52 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:41:52 ---> Running in cea08b1cb314 03:41:52 Removing intermediate container cea08b1cb314 03:41:52 ---> d5e7cf1063c9 03:41:52 Step 5/22 : RUN apk add --update --no-cache make git openssh 03:41:52 ---> Running in 6f407766e13f 03:41:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:41:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:41:55 OK: 270 MiB in 61 packages 03:41:56 Removing intermediate container 6f407766e13f 03:41:56 ---> 3567285f4b82 03:41:56 Step 6/22 : WORKDIR /device-modbus-go 03:41:56 ---> Running in acee7e6f9702 03:41:57 Removing intermediate container acee7e6f9702 03:41:57 ---> d3e89195271c 03:41:57 Step 7/22 : COPY go.mod vendor* ./ 03:41:57 ---> 64674d4f16a9 03:41:57 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:41:57 ---> Running in 403a7808e16f 03:42:00 Removing intermediate container 403a7808e16f 03:42:00 ---> 750e312ae975 03:42:00 Step 9/22 : COPY . . 03:42:01 ---> 36eba14e7cee 03:42:01 Step 10/22 : RUN ${MAKE} 03:42:01 ---> Running in 9cfb4cd37eec 03:42:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 03:44:08 Removing intermediate container 9cfb4cd37eec 03:44:08 ---> 8ca925d52975 03:44:08 Step 11/22 : FROM alpine:3.17 03:44:08 3.17: Pulling from library/alpine 03:44:08 c41833b44d91: Already exists 03:44:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:44:08 Status: Downloaded newer image for alpine:3.17 03:44:08 ---> 51e60588ff2c 03:44:08 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:44:08 ---> Running in 2f3e60785bf8 03:44:08 Removing intermediate container 2f3e60785bf8 03:44:08 ---> 7a0fa0313792 03:44:08 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:44:08 ---> Running in c4665d440d64 03:44:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:44:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:44:08 (1/1) Installing dumb-init (1.2.5-r2) 03:44:08 Executing busybox-1.35.0-r29.trigger 03:44:08 OK: 8 MiB in 16 packages 03:44:08 Removing intermediate container c4665d440d64 03:44:08 ---> ceb755a479d5 03:44:08 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:44:08 ---> 48bb7086cebd 03:44:08 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:44:08 ---> 35e9e20d6a4e 03:44:08 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:44:08 ---> 7a9e50515597 03:44:08 Step 17/22 : EXPOSE 59901 03:44:08 ---> Running in 8d59666c95cb 03:44:08 Removing intermediate container 8d59666c95cb 03:44:08 ---> c24c5cedaed0 03:44:08 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:44:09 ---> Running in b9477d134abf 03:44:09 Removing intermediate container b9477d134abf 03:44:09 ---> f8146a11c932 03:44:09 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:44:09 ---> Running in 7ed5fde1c92d 03:44:09 Removing intermediate container 7ed5fde1c92d 03:44:09 ---> 9af2b53fab93 03:44:09 Step 20/22 : LABEL arch=arm64 03:44:09 ---> Running in ff6c353b8411 03:44:09 Removing intermediate container ff6c353b8411 03:44:09 ---> 9298f7f18d88 03:44:09 Step 21/22 : LABEL git_sha=ecbf22f40f691d61adf9b21eebb93d6949163f21 03:44:09 ---> Running in c3810e5d3596 03:44:10 Removing intermediate container c3810e5d3596 03:44:10 ---> a6d786f3f947 03:44:10 Step 22/22 : LABEL version=0.0.0 03:44:10 ---> Running in a1cf4c0c6ec5 03:44:10 Removing intermediate container a1cf4c0c6ec5 03:44:10 ---> 4d21679e8408 03:44:10 [Warning] One or more build-args [ARCH] were not consumed 03:44:10 Successfully built 4d21679e8408 03:44:10 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 03:44:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:11 03:44:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:11 arm64: Pulling from edgex-lftools-log-publisher 03:44:11 8998bd30e6a1: Pulling fs layer 03:44:11 04944245beec: Pulling fs layer 03:44:11 699f458cf7ca: Pulling fs layer 03:44:11 765212b225bb: Pulling fs layer 03:44:11 f23df028b6ca: Pulling fs layer 03:44:11 d65c8cfc05b1: Pulling fs layer 03:44:11 2437ff75d9bd: Pulling fs layer 03:44:11 765212b225bb: Waiting 03:44:11 f23df028b6ca: Waiting 03:44:11 d65c8cfc05b1: Waiting 03:44:11 2437ff75d9bd: Waiting 03:44:12 04944245beec: Verifying Checksum 03:44:12 04944245beec: Download complete 03:44:12 765212b225bb: Verifying Checksum 03:44:12 765212b225bb: Download complete 03:44:12 f23df028b6ca: Download complete 03:44:12 d65c8cfc05b1: Download complete 03:44:12 699f458cf7ca: Verifying Checksum 03:44:12 699f458cf7ca: Download complete 03:44:12 8998bd30e6a1: Verifying Checksum 03:44:12 8998bd30e6a1: Download complete 03:44:14 2437ff75d9bd: Verifying Checksum 03:44:14 2437ff75d9bd: Download complete 03:44:16 8998bd30e6a1: Pull complete 03:44:16 04944245beec: Pull complete 03:44:18 699f458cf7ca: Pull complete 03:44:18 765212b225bb: Pull complete 03:44:19 f23df028b6ca: Pull complete 03:44:19 d65c8cfc05b1: Pull complete 03:44:34 2437ff75d9bd: Pull complete 03:44:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:44:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:34 prd-ubuntu20.04-docker-arm64-4c-16g-17253 does not seem to be running inside a container 03:44:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:44:37 $ docker top 004f5f0bd8d402b4ca9b56a8b530e08f2c8d6d4bc841f906b8916e230d8c99ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:37 ---> job-cost.sh 03:44:38 lf-activate-venv: SKIPPING 03:44:38 INFO: No Stack... 03:44:38 INFO: Retrieving Pricing Info for: v3-standard-4 03:44:39 INFO: Archiving Costs [Pipeline] sh 03:44:39 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 03:44:39 + cut -d, -f6 [Pipeline] lock 03:44:39 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-489-1-stack-cost] 03:44:39 Resource [jenkins-edgexfoundry-device-modbus-go-PR-489-1-stack-cost] did not exist. Created. 03:44:39 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-489-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:44:40 /w/workspace/device-modbus-go/1@tmp/durable-c135bf9f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:44:40 + echo total: 0.10999999940395355 [Pipeline] stash 03:44:40 Warning: overwriting stash ‘stack-cost’ 03:44:40 Stashed 1 file(s) [Pipeline] } 03:44:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-489-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:44:40 $ docker stop --time=1 004f5f0bd8d402b4ca9b56a8b530e08f2c8d6d4bc841f906b8916e230d8c99ec 03:44:42 $ docker rm -f --volumes 004f5f0bd8d402b4ca9b56a8b530e08f2c8d6d4bc841f906b8916e230d8c99ec [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 03:44:42 provisioning config files... 03:44:42 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-489@tmp/config9642086712603741789tmp [Pipeline] { [Pipeline] sh 03:44:43 + set +x 03:44:43 + + curlbash -s -s https://codecov.io/bash -- 03:44:43 03:44:43 03:44:43 _____ _ 03:44:43 / ____| | | 03:44:43 | | ___ __| | ___ ___ _____ __ 03:44:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:44:43 | |___| (_) | (_| | __/ (_| (_) \ V / 03:44:43 \_____\___/ \__,_|\___|\___\___/ \_/ 03:44:43 Bash-1.0.6 03:44:43 03:44:43 03:44:43 ==> git version 2.25.1 found 03:44:43 ==> 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 03:44:43 Release-Date: 2020-01-08 03:44:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:44:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:44:43 ==> Jenkins CI detected. 03:44:43 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-489 03:44:43 project root: . 03:44:43 --> token set from env 03:44:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:44:43 ==> Running gcov in . (disable via -X gcov) 03:44:43 ==> Python coveragepy not found 03:44:43 ==> Searching for coverage reports in: 03:44:43 + . 03:44:43 -> Found 1 reports 03:44:43 ==> Detecting git/mercurial file structure 03:44:43 ==> Reading reports 03:44:43 + ./coverage.out bytes=24160 03:44:43 ==> Appending adjustments 03:44:43 https://docs.codecov.io/docs/fixing-reports 03:44:43 + Found adjustments 03:44:43 ==> Gzipping contents 03:44:43 4.0K /tmp/codecov.5PAugG.gz 03:44:43 ==> Uploading reports 03:44:43 url: https://codecov.io 03:44:43 query: branch=PR-489&commit=ecbf22f40f691d61adf9b21eebb93d6949163f21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-489%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=489&job=&cmd_args= 03:44:43 -> Pinging Codecov 03:44:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-489&commit=ecbf22f40f691d61adf9b21eebb93d6949163f21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-489%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=489&job=&cmd_args= 03:44:43 -> Uploading to 03:44:43 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/55DBCA73C666E3227836607328DD7E49/ecbf22f40f691d61adf9b21eebb93d6949163f21/e8297f0a-d222-48fc-ad96-03df00cfb918.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T034443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=47f34132c328d973af02b42e348ab5f3fb8d0d1bd3d43f94e3cbc94705cc1bef 03:44:43 % Total % Received % Xferd Average Speed Time Time Time Current 03:44:43 Dload Upload Total Spent Left Speed 03:44:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17755 --:--:-- --:--:-- --:--:-- 17675 100 3924 0 0 100 3924 0 16487 --:--:-- --:--:-- --:--:-- 16418 03:44:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ecbf22f40f691d61adf9b21eebb93d6949163f21 [Pipeline] } 03:44:44 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 03:44:45 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-489/archives ] 03:44:45 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-489/archives 03:44:45 total 16 03:44:45 drwxr-xr-x 3 root root 4096 May 30 03:36 . 03:44:45 drwxrwxr-x 11 jenkins jenkins 4096 May 30 03:36 .. 03:44:45 drwxr-xr-x 2 root root 4096 May 30 03:36 cost 03:44:45 -rw-r--r-- 1 root root 88 May 30 03:36 cost.csv 03:44:45 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-489/archives 03:44:45 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-489/archives 03:44:45 total 16 03:44:45 drwxr-xr-x 3 jenkins jenkins 4096 May 30 03:36 . 03:44:45 drwxrwxr-x 11 jenkins jenkins 4096 May 30 03:36 .. 03:44:45 drwxr-xr-x 2 jenkins jenkins 4096 May 30 03:36 cost 03:44:45 -rw-r--r-- 1 jenkins jenkins 88 May 30 03:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:44:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:44:47 ---> package-listing.sh 03:44:47 ++ facter osfamily 03:44:47 ++ tr '[:upper:]' '[:lower:]' 03:44:47 + OS_FAMILY=debian 03:44:47 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-489 03:44:47 + START_PACKAGES=/tmp/packages_start.txt 03:44:47 + END_PACKAGES=/tmp/packages_end.txt 03:44:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:44:47 + PACKAGES=/tmp/packages_start.txt 03:44:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-489 ']' 03:44:47 + PACKAGES=/tmp/packages_end.txt 03:44:47 + case "${OS_FAMILY}" in 03:44:47 + dpkg -l 03:44:47 + grep '^ii' 03:44:47 + '[' -f /tmp/packages_start.txt ']' 03:44:47 + '[' -f /tmp/packages_end.txt ']' 03:44:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:44:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-489 ']' 03:44:47 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-489/archives/ 03:44:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-489/archives/ [Pipeline] echo 03:44:47 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-489/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:44:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:48 prd-ubuntu20.04-docker-8c-8g-17252 does not seem to be running inside a container 03:44:48 $ 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-489/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-489 -v /w/workspace/xfoundry_device-modbus-go_PR-489:/w/workspace/xfoundry_device-modbus-go_PR-489:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-489@tmp:/w/workspace/xfoundry_device-modbus-go_PR-489@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:44:48 $ docker top 829e906ca0d8fbac626488da1d1a60c696c771bec78ae2d46ddb6caeafaedc1e -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:49 + touch /tmp/pre-build-complete [Pipeline] sh 03:44:49 + mkdir -p /var/log/sysstat [Pipeline] sh 03:44:49 + ls /var/log/sa-host 03:44:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:44:49 provisioning config files... 03:44:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-489@tmp/config4964096052159216302tmp [Pipeline] { [Pipeline] echo 03:44:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:44:50 ---> create-netrc.sh [Pipeline] } 03:44:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:44:50 ---> python-tools-install.sh [Pipeline] echo 03:44:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:44:51 ---> sudo-logs.sh 03:44:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:44:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:44:51 ---> job-cost.sh 03:44:51 lf-activate-venv: SKIPPING 03:44:51 DEBUG: total: 0.2199999988079071 03:44:51 INFO: Retrieving Stack Cost... 03:44:51 INFO: Retrieving Pricing Info for: v3-standard-8 03:44:52 INFO: Archiving Costs [Pipeline] echo 03:44:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:44:52 ---> logs-deploy.sh 03:44:52 lf-activate-venv: SKIPPING 03:44:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-489/1 03:44:52 INFO: archiving workspace using pattern(s): 03:44:53 Archives upload complete. 03:44:53 INFO: archiving logs to Nexus