Pull request #436 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bede86cfbc585647e60b6b8734199f3f1fea80a6+d976059f8bfb405a00b06a9502768812e8b859e1 (63e6e4fac146401bc5c7d42a2879381446f97e18) 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-ssh1360259686370214612.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3741675406063978094.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-436/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-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2147233113743370288.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-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh272867530607088668.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh7412923551042799461.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-436/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-436/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2320639785993325836.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-4747 in /w/workspace/xfoundry_device-modbus-go_PR-436 [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-436 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/436/head:refs/remotes/origin/PR-436 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d976059f8bfb405a00b06a9502768812e8b859e1 into PR head commit bede86cfbc585647e60b6b8734199f3f1fea80a6 Merge succeeded, producing bede86cfbc585647e60b6b8734199f3f1fea80a6 Checking out Revision bede86cfbc585647e60b6b8734199f3f1fea80a6 (PR-436) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:42 ========================================================= 05:59:42 EdgeX Global Pipelines Version Info 05:59:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f bede86cfbc585647e60b6b8734199f3f1fea80a6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d976059f8bfb405a00b06a9502768812e8b859e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bede86cfbc585647e60b6b8734199f3f1fea80a6 # timeout=10 05:59:43 ------------------- 05:59:43 stable info: 05:59:43 ------------------- 05:59:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:59:43 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 05:59:43 Message: update stable to v1.0.245 05:59:44 ------------------- 05:59:44 experimental info: 05:59:44 ------------------- 05:59:44 Commited By: **** collab-it+edgex@linuxfoundation.org 05:59:44 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 05:59:44 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-436 [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-436 [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-436 [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bede86cfbc585647e60b6b8734199f3f1fea80a6 [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bede86c [Pipeline] echo 05:59:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:45 provisioning config files... 05:59:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/config14899073759600233171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:46 ---> docker-login.sh 05:59:46 nexus3.edgexfoundry.org:10001 05:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:46 Configure a credential helper to remove this warning. See 05:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:46 05:59:46 Login Succeeded 05:59:46 nexus3.edgexfoundry.org:10002 05:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:46 Configure a credential helper to remove this warning. See 05:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:46 05:59:46 Login Succeeded 05:59:46 nexus3.edgexfoundry.org:10003 05:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:46 Configure a credential helper to remove this warning. See 05:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:46 05:59:46 Login Succeeded 05:59:46 nexus3.edgexfoundry.org:10004 05:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:46 Configure a credential helper to remove this warning. See 05:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:46 05:59:46 Login Succeeded 05:59:46 docker.io 05:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:47 Configure a credential helper to remove this warning. See 05:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:47 05:59:47 Login Succeeded 05:59:47 ---> docker-login.sh ends [Pipeline] } 05:59:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:59:47 + git rev-list -1 --merges bede86cfbc585647e60b6b8734199f3f1fea80a6~1..bede86cfbc585647e60b6b8734199f3f1fea80a6 [Pipeline] echo 05:59:48 -----------> git rev-list -1 --merges bede86cfbc585647e60b6b8734199f3f1fea80a6~1..bede86cfbc585647e60b6b8734199f3f1fea80a6 bede86cfbc585647e60b6b8734199f3f1fea80a6 [false] [Pipeline] sh 05:59:48 + git log --format=format:%s -1 bede86cfbc585647e60b6b8734199f3f1fea80a6 [Pipeline] echo 05:59:48 ========================================================= 05:59:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:59:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:48 + git log --format=format:%s -1 bede86cfbc585647e60b6b8734199f3f1fea80a6 [Pipeline] echo 05:59:48 [semverPrep] GIT_COMMIT: bede86cfbc585647e60b6b8734199f3f1fea80a6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:59:48 [semverPrep] This is not a build commit. [Pipeline] sh 05:59:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:59:49 + grep -v github /etc/ssh/ssh_known_hosts 05:59:49 + [ -e /tmp/ssh_known_hosts ] 05:59:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:59:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:59:49 + sudo tee -a /etc/ssh/ssh_known_hosts 05:59:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:49 05:59:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:50 0.1.4: Pulling from edgex-devops/py-git-semver 05:59:50 b85a868b505f: Pulling fs layer 05:59:50 e2be974225ed: Pulling fs layer 05:59:50 339a4e72a1f5: Pulling fs layer 05:59:50 988bab9f4d93: Pulling fs layer 05:59:50 1469e6f7b9e6: Pulling fs layer 05:59:50 eaf3925da568: Pulling fs layer 05:59:50 bab4dde63d76: Pulling fs layer 05:59:50 bde34c3a00c8: Pulling fs layer 05:59:50 b352a97aabf1: Pulling fs layer 05:59:50 4872d77fe225: Pulling fs layer 05:59:50 5851b861e8e6: Pulling fs layer 05:59:50 988bab9f4d93: Waiting 05:59:50 1469e6f7b9e6: Waiting 05:59:50 eaf3925da568: Waiting 05:59:50 bab4dde63d76: Waiting 05:59:50 bde34c3a00c8: Waiting 05:59:50 5851b861e8e6: Waiting 05:59:50 4872d77fe225: Waiting 05:59:50 b352a97aabf1: Waiting 05:59:50 e2be974225ed: Download complete 05:59:50 988bab9f4d93: Verifying Checksum 05:59:50 988bab9f4d93: Download complete 05:59:50 1469e6f7b9e6: Download complete 05:59:50 eaf3925da568: Verifying Checksum 05:59:50 eaf3925da568: Download complete 05:59:50 339a4e72a1f5: Verifying Checksum 05:59:50 339a4e72a1f5: Download complete 05:59:50 bde34c3a00c8: Download complete 05:59:50 b352a97aabf1: Download complete 05:59:50 4872d77fe225: Download complete 05:59:50 5851b861e8e6: Verifying Checksum 05:59:50 5851b861e8e6: Download complete 05:59:50 b85a868b505f: Verifying Checksum 05:59:50 b85a868b505f: Download complete 05:59:50 bab4dde63d76: Verifying Checksum 05:59:50 bab4dde63d76: Download complete 05:59:51 b85a868b505f: Pull complete 05:59:51 e2be974225ed: Pull complete 05:59:52 339a4e72a1f5: Pull complete 05:59:52 988bab9f4d93: Pull complete 05:59:52 1469e6f7b9e6: Pull complete 05:59:52 eaf3925da568: Pull complete 05:59:54 bab4dde63d76: Pull complete 05:59:54 bde34c3a00c8: Pull complete 05:59:54 b352a97aabf1: Pull complete 05:59:54 4872d77fe225: Pull complete 05:59:54 5851b861e8e6: Pull complete 05:59:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:59:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:55 prd-ubuntu20.04-docker-8c-8g-4747 does not seem to be running inside a container 05:59:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-436 -v /w/workspace/xfoundry_device-modbus-go_PR-436:/w/workspace/xfoundry_device-modbus-go_PR-436:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-436@tmp:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:59:56 $ docker top 3998c52a3303e399f07a5c06fbac19d7f95cf2a7bcb027aeedfb15189762f7ed -eo pid,comm 05:59:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:59:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:59:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:56 [ssh-agent] Looking for ssh-agent implementation... 05:59:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:56 $ docker exec 3998c52a3303e399f07a5c06fbac19d7f95cf2a7bcb027aeedfb15189762f7ed ssh-agent 05:59:56 SSH_AUTH_SOCK=/tmp/ssh-U3gI6e1hT5BZ/agent.32 05:59:56 SSH_AGENT_PID=38 05:59:56 Running ssh-add (command line suppressed) 05:59:57 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-436@tmp/private_key_15900702304711794286.key (/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/private_key_15900702304711794286.key) 05:59:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:57 + git tag --points-at HEAD [Pipeline] } 05:59:57 $ docker exec --env ******** --env ******** 3998c52a3303e399f07a5c06fbac19d7f95cf2a7bcb027aeedfb15189762f7ed ssh-agent -k 05:59:57 unset SSH_AUTH_SOCK; 05:59:57 unset SSH_AGENT_PID; 05:59:57 echo Agent pid 38 killed; 05:59:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:59:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:57 [ssh-agent] Looking for ssh-agent implementation... 05:59:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:57 $ docker exec 3998c52a3303e399f07a5c06fbac19d7f95cf2a7bcb027aeedfb15189762f7ed ssh-agent 05:59:57 SSH_AUTH_SOCK=/tmp/ssh-KZUBnUQcOWSs/agent.70 05:59:57 SSH_AGENT_PID=76 05:59:57 Running ssh-add (command line suppressed) 05:59:57 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-436@tmp/private_key_8575782309143481695.key (/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/private_key_8575782309143481695.key) 05:59:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:58 + git semver init 05:59:58 2023-03-21 05:59:58,586 [run_init] DEBUG init version:0.0.0 force:False 05:59:58 2023-03-21 05:59:58,588 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-436/.semver 05:59:58 2023-03-21 05:59:58,589 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-436/.semver 05:59:58 2023-03-21 05:59:58,590 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-436/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-436, universal_newlines=False, shell=None, istream=None) 05:59:59 2023-03-21 05:59:59,341 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-436/.git/info/exclude 05:59:59 2023-03-21 05:59:59,342 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-436/.semver/PR-436 with force:False 05:59:59 2023-03-21 05:59:59,342 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-436/.semver/PR-436 05:59:59 2023-03-21 05:59:59,346 [execute] INFO git cat-file --batch-check 05:59:59 2023-03-21 05:59:59,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-436/.semver, universal_newlines=False, shell=None, istream=) 05:59:59 2023-03-21 05:59:59,353 [execute] INFO git cat-file --batch 05:59:59 2023-03-21 05:59:59,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-436/.semver, universal_newlines=False, shell=None, istream=) 05:59:59 2023-03-21 05:59:59,357 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-436/.semver/PR-436 05:59:59 0.0.0 [Pipeline] } 05:59:59 $ docker exec --env ******** --env ******** 3998c52a3303e399f07a5c06fbac19d7f95cf2a7bcb027aeedfb15189762f7ed ssh-agent -k 05:59:59 unset SSH_AUTH_SOCK; 05:59:59 unset SSH_AGENT_PID; 05:59:59 echo Agent pid 76 killed; 05:59:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:00 + git semver [Pipeline] } 06:00:00 $ docker stop --time=1 3998c52a3303e399f07a5c06fbac19d7f95cf2a7bcb027aeedfb15189762f7ed 06:00:01 $ docker rm -f --volumes 3998c52a3303e399f07a5c06fbac19d7f95cf2a7bcb027aeedfb15189762f7ed [Pipeline] // withDockerContainer [Pipeline] sh 06:00:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:02 Stashed 1 file(s) [Pipeline] echo 06:00:02 [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 06:00:03 provisioning config files... 06:00:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/config12398711045557094660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:03 ---> docker-login.sh 06:00:03 nexus3.edgexfoundry.org:10001 06:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:03 Configure a credential helper to remove this warning. See 06:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:03 06:00:03 Login Succeeded 06:00:03 nexus3.edgexfoundry.org:10002 06:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:03 Configure a credential helper to remove this warning. See 06:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:03 06:00:03 Login Succeeded 06:00:03 nexus3.edgexfoundry.org:10003 06:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:03 Configure a credential helper to remove this warning. See 06:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:03 06:00:03 Login Succeeded 06:00:03 nexus3.edgexfoundry.org:10004 06:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:03 Configure a credential helper to remove this warning. See 06:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:03 06:00:03 Login Succeeded 06:00:03 docker.io 06:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:06 Configure a credential helper to remove this warning. See 06:00:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:06 06:00:06 Login Succeeded 06:00:06 ---> docker-login.sh ends [Pipeline] } 06:00:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:06 ========================================================= 06:00:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:00:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:07 + 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 . 06:00:07 Sending build context to Docker daemon 6.366MB 06:00:07 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:00:07 Step 2/10 : FROM ${BASE} AS builder 06:00:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:07 63b65145d645: Pulling fs layer 06:00:07 a2d21d5440eb: Pulling fs layer 06:00:07 935e6c44a52c: Pulling fs layer 06:00:07 94cc34f8dd06: Pulling fs layer 06:00:07 30dea6a524f1: Pulling fs layer 06:00:07 a2aff8979fd8: Pulling fs layer 06:00:07 6808be2612f2: Pulling fs layer 06:00:07 f25807f1079a: Pulling fs layer 06:00:07 94cc34f8dd06: Waiting 06:00:07 30dea6a524f1: Waiting 06:00:07 a2aff8979fd8: Waiting 06:00:07 6808be2612f2: Waiting 06:00:07 f25807f1079a: Waiting 06:00:07 a2d21d5440eb: Download complete 06:00:07 94cc34f8dd06: Download complete 06:00:07 30dea6a524f1: Download complete 06:00:07 63b65145d645: Verifying Checksum 06:00:07 63b65145d645: Download complete 06:00:07 a2aff8979fd8: Verifying Checksum 06:00:07 a2aff8979fd8: Download complete 06:00:07 63b65145d645: Pull complete 06:00:07 a2d21d5440eb: Pull complete 06:00:08 f25807f1079a: Verifying Checksum 06:00:08 f25807f1079a: Download complete 06:00:08 935e6c44a52c: Verifying Checksum 06:00:08 935e6c44a52c: Download complete 06:00:08 6808be2612f2: Verifying Checksum 06:00:08 6808be2612f2: Download complete 06:00:11 935e6c44a52c: Pull complete 06:00:11 94cc34f8dd06: Pull complete 06:00:11 30dea6a524f1: Pull complete 06:00:11 a2aff8979fd8: Pull complete 06:00:13 6808be2612f2: Pull complete 06:00:14 f25807f1079a: Pull complete 06:00:14 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:00:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:00:14 ---> 3b553350e43f 06:00:14 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:00:16 ---> Running in 8fba74263a31 06:00:16 Removing intermediate container 8fba74263a31 06:00:16 ---> 2bc555c2cba1 06:00:16 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:16 ---> Running in 290bfaac8a94 06:00:16 Removing intermediate container 290bfaac8a94 06:00:16 ---> 5af7a79c416b 06:00:16 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:00:16 ---> Running in fd9d137ab9d9 06:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:16 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:00:16 (2/8) Installing libedit (20221030.3.1-r0) 06:00:16 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:00:16 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:00:16 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:00:16 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:00:16 (7/8) Installing openssh-server (9.1_p1-r2) 06:00:17 (8/8) Installing openssh (9.1_p1-r2) 06:00:17 Executing busybox-1.35.0-r29.trigger 06:00:17 OK: 270 MiB in 61 packages 06:00:17 Removing intermediate container fd9d137ab9d9 06:00:17 ---> 353e791d1a46 06:00:17 Step 6/10 : WORKDIR /device-modbus-go 06:00:17 ---> Running in 3bfe9ebb0440 06:00:17 Removing intermediate container 3bfe9ebb0440 06:00:17 ---> 1941dd08674a 06:00:17 Step 7/10 : COPY go.mod vendor* ./ 06:00:17 ---> 516bc207a02c 06:00:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:17 Still waiting to schedule task 06:00:17 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4748’ is offline 06:00:17 ---> Running in 94503148e851 06:00:44 Removing intermediate container 94503148e851 06:00:44 ---> 18c171129608 06:00:44 Step 9/10 : COPY . . 06:00:44 ---> d0af5f2d3a73 06:00:44 Step 10/10 : RUN ${MAKE} 06:00:44 ---> Running in a99982cd05df 06:00:44 noop 06:00:44 Removing intermediate container a99982cd05df 06:00:44 ---> 29452140e32b 06:00:44 Successfully built 29452140e32b 06:00:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:44 + docker inspect -f . ci-base-image-x86_64 06:00:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:45 prd-ubuntu20.04-docker-8c-8g-4747 does not seem to be running inside a container 06:00:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-436 -v /w/workspace/xfoundry_device-modbus-go_PR-436:/w/workspace/xfoundry_device-modbus-go_PR-436:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-436@tmp:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:45 $ docker top 0df2ef6b35e199fa2fc628b2f64002c50d7ffdaedbcb23c2a685fe1fffeb05b7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:45 + go version 06:00:45 go version go1.20.2 linux/amd64 [Pipeline] } 06:00:46 $ docker stop --time=1 0df2ef6b35e199fa2fc628b2f64002c50d7ffdaedbcb23c2a685fe1fffeb05b7 06:00:47 $ docker rm -f --volumes 0df2ef6b35e199fa2fc628b2f64002c50d7ffdaedbcb23c2a685fe1fffeb05b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:48 + docker inspect -f . ci-base-image-x86_64 06:00:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:48 prd-ubuntu20.04-docker-8c-8g-4747 does not seem to be running inside a container 06:00:48 $ 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-436 -v /w/workspace/xfoundry_device-modbus-go_PR-436:/w/workspace/xfoundry_device-modbus-go_PR-436:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-436@tmp:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:48 $ docker top 407f1693869de00600040d21d9dc376b3dc464ec24de6b4967ee29151e233587 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:49 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-436 [Pipeline] fileExists [Pipeline] sh 06:00:49 + make test 06:00:49 go test ./... -coverprofile=coverage.out 06:00:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:01:02 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:01:02 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 48.0% of statements 06:01:09 go vet ./... 06:01:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:11 ./bin/test-attribution-txt.sh [Pipeline] echo 06:01:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:11 $ docker stop --time=1 407f1693869de00600040d21d9dc376b3dc464ec24de6b4967ee29151e233587 06:01:14 $ docker rm -f --volumes 407f1693869de00600040d21d9dc376b3dc464ec24de6b4967ee29151e233587 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:15 + ls -al . 06:01:15 total 180 06:01:15 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 06:00 . 06:01:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:59 .. 06:01:15 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 05:59 .dockerignore 06:01:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 06:00 .git 06:01:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:59 .github 06:01:15 -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 05:59 .gitignore 06:01:15 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:59 .golangci.yml 06:01:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:59 .semver 06:01:15 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 05:59 Attribution.txt 06:01:15 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 05:59 CHANGELOG.md 06:01:15 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 05:59 Dockerfile 06:01:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:59 GOVERNANCE.md 06:01:15 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:59 Jenkinsfile 06:01:15 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:59 LICENSE 06:01:15 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 05:59 Makefile 06:01:15 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 05:59 OWNERS.md 06:01:15 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 05:59 README.md 06:01:15 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 06:00 VERSION 06:01:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:59 bin 06:01:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:59 cmd 06:01:15 -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 06:01 coverage.out 06:01:15 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 21 05:59 go.mod 06:01:15 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 21 05:59 go.sum 06:01:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:59 internal 06:01:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:59 simulator 06:01:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:59 snap 06:01:15 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:16 + 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=bede86cfbc585647e60b6b8734199f3f1fea80a6 --label arch=amd64 --label version=0.0.0 . 06:01:16 Sending build context to Docker daemon 6.391MB 06:01:16 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:01:16 Step 2/22 : FROM ${BASE} AS builder 06:01:16 ---> 29452140e32b 06:01:16 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:01:16 ---> Running in 3f77915d97f9 06:01:16 Removing intermediate container 3f77915d97f9 06:01:16 ---> 52e795cfdbff 06:01:16 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:16 ---> Running in 63de0f55ec13 06:01:16 Removing intermediate container 63de0f55ec13 06:01:16 ---> 8491c9ee8592 06:01:16 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:01:16 ---> Running in 2cb3fe14536c 06:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:17 OK: 270 MiB in 61 packages 06:01:17 Removing intermediate container 2cb3fe14536c 06:01:17 ---> 99d1e0e73a26 06:01:17 Step 6/22 : WORKDIR /device-modbus-go 06:01:17 ---> Running in 020d1679ed29 06:01:17 Removing intermediate container 020d1679ed29 06:01:17 ---> ac0915de6751 06:01:17 Step 7/22 : COPY go.mod vendor* ./ 06:01:17 ---> ecfb547496df 06:01:17 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:17 ---> Running in cfc958177d1d 06:01:18 Removing intermediate container cfc958177d1d 06:01:18 ---> 08210574db53 06:01:18 Step 9/22 : COPY . . 06:01:19 ---> c6e1700b7a9b 06:01:19 Step 10/22 : RUN ${MAKE} 06:01:19 ---> Running in d75ca5acfaf3 06:01:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:01:37 Removing intermediate container d75ca5acfaf3 06:01:37 ---> 8069544b7268 06:01:37 Step 11/22 : FROM alpine:3.17 06:01:37 3.17: Pulling from library/alpine 06:01:37 63b65145d645: Already exists 06:01:37 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:01:37 Status: Downloaded newer image for alpine:3.17 06:01:37 ---> b2aa39c304c2 06:01:37 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:01:37 ---> Running in e0ba1da2d0bf 06:01:37 Removing intermediate container e0ba1da2d0bf 06:01:37 ---> 2f02988e866c 06:01:37 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:01:37 ---> Running in f61c308530ca 06:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:37 (1/1) Installing dumb-init (1.2.5-r2) 06:01:37 Executing busybox-1.35.0-r29.trigger 06:01:37 OK: 7 MiB in 16 packages 06:01:37 Removing intermediate container f61c308530ca 06:01:37 ---> 9705ac7add9d 06:01:37 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:01:37 ---> 0033127b3bac 06:01:37 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:01:37 ---> b045a6023586 06:01:37 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:01:37 ---> e58936008d97 06:01:37 Step 17/22 : EXPOSE 59901 06:01:37 ---> Running in b92c8f532a4a 06:01:37 Removing intermediate container b92c8f532a4a 06:01:37 ---> dab68fea96bc 06:01:37 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:01:37 ---> Running in 06ac00b9687d 06:01:37 Removing intermediate container 06ac00b9687d 06:01:37 ---> 45b277bae018 06:01:37 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:01:38 ---> Running in 25e74107a493 06:01:38 Removing intermediate container 25e74107a493 06:01:38 ---> 36e6f79493b6 06:01:38 Step 20/22 : LABEL arch=amd64 06:01:38 ---> Running in 5e3833e3bdfb 06:01:38 Removing intermediate container 5e3833e3bdfb 06:01:38 ---> dcc9a521116f 06:01:38 Step 21/22 : LABEL git_sha=bede86cfbc585647e60b6b8734199f3f1fea80a6 06:01:38 ---> Running in 5f6766e19cea 06:01:38 Removing intermediate container 5f6766e19cea 06:01:38 ---> a6d8c517f362 06:01:38 Step 22/22 : LABEL version=0.0.0 06:01:38 ---> Running in 20b73f05e8e4 06:01:38 Removing intermediate container 20b73f05e8e4 06:01:38 ---> 666af378db94 06:01:38 [Warning] One or more build-args [ARCH] were not consumed 06:01:38 Successfully built 666af378db94 06:01:38 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:39 06:01:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:39 latest: Pulling from edgex-lftools-log-publisher 06:01:39 5eb5b503b376: Pulling fs layer 06:01:39 5c69ac0246d0: Pulling fs layer 06:01:39 ec43610c2a17: Pulling fs layer 06:01:39 3a2ae6a8a46f: Pulling fs layer 06:01:39 33b1e0a273af: Pulling fs layer 06:01:39 5d3b04190fa2: Pulling fs layer 06:01:39 2f39f015ded8: Pulling fs layer 06:01:39 2f39f015ded8: Waiting 06:01:39 3a2ae6a8a46f: Waiting 06:01:39 5d3b04190fa2: Waiting 06:01:39 33b1e0a273af: Waiting 06:01:39 5c69ac0246d0: Download complete 06:01:39 3a2ae6a8a46f: Verifying Checksum 06:01:39 3a2ae6a8a46f: Download complete 06:01:40 33b1e0a273af: Verifying Checksum 06:01:40 33b1e0a273af: Download complete 06:01:40 5d3b04190fa2: Verifying Checksum 06:01:40 5d3b04190fa2: Download complete 06:01:40 ec43610c2a17: Verifying Checksum 06:01:40 ec43610c2a17: Download complete 06:01:40 5eb5b503b376: Verifying Checksum 06:01:40 5eb5b503b376: Download complete 06:01:40 2f39f015ded8: Download complete 06:01:41 5eb5b503b376: Pull complete 06:01:41 5c69ac0246d0: Pull complete 06:01:41 ec43610c2a17: Pull complete 06:01:41 3a2ae6a8a46f: Pull complete 06:01:42 33b1e0a273af: Pull complete 06:01:42 5d3b04190fa2: Pull complete 06:01:46 2f39f015ded8: Pull complete 06:01:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:01:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:46 prd-ubuntu20.04-docker-8c-8g-4747 does not seem to be running inside a container 06:01:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-436 -v /w/workspace/xfoundry_device-modbus-go_PR-436:/w/workspace/xfoundry_device-modbus-go_PR-436:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-436@tmp:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:01:48 $ docker top 7d9b01ac908c4078a4521dfc2d7e8e989fa0e8c2fcbea877edf07d0ae41c9fc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:48 ---> job-cost.sh 06:01:48 lf-activate-venv: SKIPPING 06:01:48 INFO: No Stack... 06:01:49 INFO: Retrieving Pricing Info for: v3-standard-8 06:01:49 INFO: Archiving Costs [Pipeline] sh 06:01:49 + cat /w/workspace/xfoundry_device-modbus-go_PR-436/archives/cost.csv 06:01:49 + cut -d, -f6 [Pipeline] lock 06:01:49 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-436-1-stack-cost] 06:01:49 Resource [jenkins-edgexfoundry-device-modbus-go-PR-436-1-stack-cost] did not exist. Created. 06:01:49 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:50 + echo total: 0.2199999988079071 [Pipeline] stash 06:01:50 Stashed 1 file(s) [Pipeline] } 06:01:50 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-436-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:01:50 $ docker stop --time=1 7d9b01ac908c4078a4521dfc2d7e8e989fa0e8c2fcbea877edf07d0ae41c9fc8 06:01:51 $ docker rm -f --volumes 7d9b01ac908c4078a4521dfc2d7e8e989fa0e8c2fcbea877edf07d0ae41c9fc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:02:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4753 in /w/workspace/xfoundry_device-modbus-go_PR-436 [Pipeline] { [Pipeline] ws 06:02:46 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:02:46 Selected Git installation does not exist. Using Default 06:02:46 The recommended git tool is: NONE 06:02:53 using credential edgex-jenkins-ssh 06:02:53 Cloning the remote Git repository 06:02:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:02:53 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:02:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:02:53 > git --version # timeout=10 06:02:53 > git --version # 'git version 2.25.1' 06:02:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:02:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:02:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:02:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/436/head:refs/remotes/origin/PR-436 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:02:56 Merging remotes/origin/main commit d976059f8bfb405a00b06a9502768812e8b859e1 into PR head commit bede86cfbc585647e60b6b8734199f3f1fea80a6 06:02:56 Merge succeeded, producing bede86cfbc585647e60b6b8734199f3f1fea80a6 06:02:56 Checking out Revision bede86cfbc585647e60b6b8734199f3f1fea80a6 (PR-436) 06:02:57 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:02:57 > git --version # timeout=10 06:02:57 > git --version # 'git version 2.25.1' 06:02:57 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 06:02:56 > git config core.sparsecheckout # timeout=10 06:02:56 > git checkout -f bede86cfbc585647e60b6b8734199f3f1fea80a6 # timeout=10 06:02:56 > git remote # timeout=10 06:02:56 > git config --get remote.origin.url # timeout=10 06:02:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:56 > git merge d976059f8bfb405a00b06a9502768812e8b859e1 # timeout=10 06:02:56 > git rev-parse HEAD^{commit} # timeout=10 06:02:56 > git config core.sparsecheckout # timeout=10 06:02:56 > git checkout -f bede86cfbc585647e60b6b8734199f3f1fea80a6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:02:58 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:58 Dload Upload Total Spent Left Speed 06:02:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 127k 0 --:--:-- --:--:-- --:--:-- 127k [Pipeline] sh 06:02:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:02:59 + sudo tee /etc/docker/daemon.new 06:02:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:02:59 { 06:02:59 "registry-mirrors": [ 06:02:59 "https://nexus3.edgexfoundry.org:10001" 06:02:59 ], 06:02:59 "bip": "10.250.0.254/24", 06:02:59 "hosts": [ 06:02:59 "tcp://0.0.0.0:5555", 06:02:59 "unix:///var/run/docker.sock" 06:02:59 ], 06:02:59 "mtu": 1458, 06:02:59 "selinux-enabled": true, 06:02:59 "seccomp-profile": "/etc/docker/seccomp.json" 06:02:59 } [Pipeline] sh 06:03:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:03:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:19 provisioning config files... 06:03:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8147949679850029866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:19 ---> docker-login.sh 06:03:19 nexus3.edgexfoundry.org:10001 06:03:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:20 Configure a credential helper to remove this warning. See 06:03:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:20 06:03:20 Login Succeeded 06:03:20 nexus3.edgexfoundry.org:10002 06:03:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:20 Configure a credential helper to remove this warning. See 06:03:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:20 06:03:20 Login Succeeded 06:03:20 nexus3.edgexfoundry.org:10003 06:03:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:21 Configure a credential helper to remove this warning. See 06:03:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:21 06:03:21 Login Succeeded 06:03:21 nexus3.edgexfoundry.org:10004 06:03:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:21 Configure a credential helper to remove this warning. See 06:03:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:21 06:03:21 Login Succeeded 06:03:21 docker.io 06:03:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:22 Configure a credential helper to remove this warning. See 06:03:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:22 06:03:22 Login Succeeded 06:03:22 ---> docker-login.sh ends [Pipeline] } 06:03:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:22 ========================================================= 06:03:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:03:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:03:23 Sending build context to Docker daemon 3.322MB 06:03:23 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:03:23 Step 2/10 : FROM ${BASE} AS builder 06:03:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:23 af6eaf76a39c: Pulling fs layer 06:03:23 55522c791124: Pulling fs layer 06:03:23 ce5c4a1c91eb: Pulling fs layer 06:03:23 169dfbe0d373: Pulling fs layer 06:03:23 e1ff8fa3b103: Pulling fs layer 06:03:23 52ebb69f0ebf: Pulling fs layer 06:03:23 5abe8eddf0d5: Pulling fs layer 06:03:23 e1ff8fa3b103: Waiting 06:03:23 52ebb69f0ebf: Waiting 06:03:23 5abe8eddf0d5: Waiting 06:03:23 169dfbe0d373: Waiting 06:03:23 55522c791124: Verifying Checksum 06:03:23 55522c791124: Download complete 06:03:23 169dfbe0d373: Verifying Checksum 06:03:23 169dfbe0d373: Download complete 06:03:23 e1ff8fa3b103: Verifying Checksum 06:03:23 af6eaf76a39c: Verifying Checksum 06:03:23 af6eaf76a39c: Download complete 06:03:25 af6eaf76a39c: Pull complete 06:03:25 5abe8eddf0d5: Verifying Checksum 06:03:25 5abe8eddf0d5: Download complete 06:03:25 55522c791124: Pull complete 06:03:26 ce5c4a1c91eb: Verifying Checksum 06:03:26 ce5c4a1c91eb: Download complete 06:03:26 52ebb69f0ebf: Verifying Checksum 06:03:26 52ebb69f0ebf: Download complete 06:03:38 ce5c4a1c91eb: Pull complete 06:03:38 169dfbe0d373: Pull complete 06:03:38 e1ff8fa3b103: Pull complete 06:03:45 52ebb69f0ebf: Pull complete 06:03:47 5abe8eddf0d5: Pull complete 06:03:47 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:03:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:03:47 ---> 6cb57ee374ae 06:03:47 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:03:49 ---> Running in 8fc942e06e1c 06:03:49 Removing intermediate container 8fc942e06e1c 06:03:49 ---> ae2536fb0eca 06:03:49 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:03:49 ---> Running in 67d96947e31e 06:03:50 Removing intermediate container 67d96947e31e 06:03:50 ---> 7f9e744ccb9b 06:03:50 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:03:50 ---> Running in 9799ea28b238 06:03:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:03:53 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:03:53 (2/8) Installing libedit (20221030.3.1-r0) 06:03:53 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:03:54 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:03:54 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:03:54 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:03:54 (7/8) Installing openssh-server (9.1_p1-r2) 06:03:54 (8/8) Installing openssh (9.1_p1-r2) 06:03:54 Executing busybox-1.35.0-r29.trigger 06:03:54 OK: 270 MiB in 61 packages 06:03:55 Removing intermediate container 9799ea28b238 06:03:55 ---> 4a925545f964 06:03:55 Step 6/10 : WORKDIR /device-modbus-go 06:03:55 ---> Running in 8791112f92d4 06:03:56 Removing intermediate container 8791112f92d4 06:03:56 ---> f0405ad9fdba 06:03:56 Step 7/10 : COPY go.mod vendor* ./ 06:03:56 ---> 452e53fea638 06:03:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:57 ---> Running in 2a887d4339b8 06:05:04 Removing intermediate container 2a887d4339b8 06:05:04 ---> 3cee023af831 06:05:04 Step 9/10 : COPY . . 06:05:04 ---> a53df94c2e6a 06:05:04 Step 10/10 : RUN ${MAKE} 06:05:04 ---> Running in 1b4cc13ea32d 06:05:05 noop 06:05:06 Removing intermediate container 1b4cc13ea32d 06:05:06 ---> c5dc525fc68b 06:05:06 Successfully built c5dc525fc68b 06:05:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:06 + docker inspect -f . ci-base-image-arm64 06:05:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:07 prd-ubuntu20.04-docker-arm64-4c-16g-4753 does not seem to be running inside a container 06:05:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:08 $ docker top 57c4d74b619748d4d16153fe21ffb2bf92f88f5c3eefb7758d24e331278b8b0e -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:09 + go version 06:05:09 go version go1.20.2 linux/arm64 [Pipeline] } 06:05:09 $ docker stop --time=1 57c4d74b619748d4d16153fe21ffb2bf92f88f5c3eefb7758d24e331278b8b0e 06:05:11 $ docker rm -f --volumes 57c4d74b619748d4d16153fe21ffb2bf92f88f5c3eefb7758d24e331278b8b0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:12 + docker inspect -f . ci-base-image-arm64 06:05:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:12 prd-ubuntu20.04-docker-arm64-4c-16g-4753 does not seem to be running inside a container 06:05:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:13 $ docker top aecad146994f6069946b3b0ce97176c3fa57ddf4e49b986ab24ecb84defcdbc5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:14 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:05:15 + make test 06:05:15 go test ./... -coverprofile=coverage.out 06:06:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:08:39 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:08:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.078s coverage: 48.0% of statements 06:08:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:08:39 go vet ./... 06:09:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:09:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:09:05 ./bin/test-attribution-txt.sh [Pipeline] echo 06:09:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:09:05 $ docker stop --time=1 aecad146994f6069946b3b0ce97176c3fa57ddf4e49b986ab24ecb84defcdbc5 06:09:07 $ docker rm -f --volumes aecad146994f6069946b3b0ce97176c3fa57ddf4e49b986ab24ecb84defcdbc5 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:09:09 Warning: overwriting stash ‘coverage-report’ 06:09:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:10 + ls -al . 06:09:10 total 176 06:09:10 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 06:05 . 06:09:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 06:02 .. 06:09:10 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 06:02 .dockerignore 06:09:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 06:02 .git 06:09:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 06:02 .github 06:09:10 -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 06:02 .gitignore 06:09:10 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 06:02 .golangci.yml 06:09:10 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 06:02 Attribution.txt 06:09:10 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 06:02 CHANGELOG.md 06:09:10 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 06:02 Dockerfile 06:09:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 06:02 GOVERNANCE.md 06:09:10 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 06:02 Jenkinsfile 06:09:10 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 06:02 LICENSE 06:09:10 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 06:02 Makefile 06:09:10 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 06:02 OWNERS.md 06:09:10 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 06:02 README.md 06:09:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 06:00 VERSION 06:09:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 06:02 bin 06:09:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 06:02 cmd 06:09:10 -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 06:08 coverage.out 06:09:10 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 21 06:02 go.mod 06:09:10 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 21 06:02 go.sum 06:09:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 06:02 internal 06:09:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 06:02 simulator 06:09:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 06:02 snap 06:09:10 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:11 + 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=bede86cfbc585647e60b6b8734199f3f1fea80a6 --label arch=arm64 --label version=0.0.0 . 06:09:11 Sending build context to Docker daemon 3.347MB 06:09:11 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:09:11 Step 2/22 : FROM ${BASE} AS builder 06:09:11 ---> c5dc525fc68b 06:09:11 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:09:11 ---> Running in f4e180529826 06:09:12 Removing intermediate container f4e180529826 06:09:12 ---> 04a2c6da5c2a 06:09:12 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:12 ---> Running in 3c2e889c512c 06:09:12 Removing intermediate container 3c2e889c512c 06:09:12 ---> b4eadf84b2f0 06:09:12 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:09:12 ---> Running in 86a0cfb8224f 06:09:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:09:15 OK: 270 MiB in 61 packages 06:09:16 Removing intermediate container 86a0cfb8224f 06:09:16 ---> 3837323706b2 06:09:16 Step 6/22 : WORKDIR /device-modbus-go 06:09:16 ---> Running in c8926bf7d8a4 06:09:16 Removing intermediate container c8926bf7d8a4 06:09:16 ---> 7696ee67d6a2 06:09:16 Step 7/22 : COPY go.mod vendor* ./ 06:09:17 ---> a1376b7dc5d7 06:09:17 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:17 ---> Running in 8e45bd43d38c 06:09:21 Removing intermediate container 8e45bd43d38c 06:09:21 ---> 9cbdb9b0f069 06:09:21 Step 9/22 : COPY . . 06:09:22 ---> 26bf89037eba 06:09:22 Step 10/22 : RUN ${MAKE} 06:09:22 ---> Running in 7f73cdec9b48 06:09:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:11:44 Removing intermediate container 7f73cdec9b48 06:11:44 ---> ee374cbfb214 06:11:44 Step 11/22 : FROM alpine:3.17 06:11:44 3.17: Pulling from library/alpine 06:11:44 af6eaf76a39c: Already exists 06:11:44 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:11:44 Status: Downloaded newer image for alpine:3.17 06:11:44 ---> d74e625d9115 06:11:44 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:11:44 ---> Running in 36343e842ea5 06:11:44 Removing intermediate container 36343e842ea5 06:11:44 ---> 12725b61cb06 06:11:44 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:11:44 ---> Running in b7e7152b7761 06:11:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:11:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:11:44 (1/1) Installing dumb-init (1.2.5-r2) 06:11:44 Executing busybox-1.35.0-r29.trigger 06:11:44 OK: 8 MiB in 16 packages 06:11:44 Removing intermediate container b7e7152b7761 06:11:44 ---> 68a6600fbc7c 06:11:44 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:11:44 ---> cc95c3b3b44f 06:11:44 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:11:44 ---> e4aef365d569 06:11:44 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:11:44 ---> 5ee7d33a8601 06:11:44 Step 17/22 : EXPOSE 59901 06:11:44 ---> Running in 2f0d83d6ba1f 06:11:44 Removing intermediate container 2f0d83d6ba1f 06:11:44 ---> 38867c35000b 06:11:44 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:11:44 ---> Running in 8628377623e3 06:11:44 Removing intermediate container 8628377623e3 06:11:44 ---> 84ef618c8adb 06:11:44 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:11:44 ---> Running in 796fa938f5bc 06:11:44 Removing intermediate container 796fa938f5bc 06:11:44 ---> a682ea9bc7c3 06:11:44 Step 20/22 : LABEL arch=arm64 06:11:44 ---> Running in 250638da7e7c 06:11:45 Removing intermediate container 250638da7e7c 06:11:45 ---> 826aafe5f720 06:11:45 Step 21/22 : LABEL git_sha=bede86cfbc585647e60b6b8734199f3f1fea80a6 06:11:45 ---> Running in ef2ff2efb013 06:11:45 Removing intermediate container ef2ff2efb013 06:11:45 ---> b5ec894f6b4d 06:11:45 Step 22/22 : LABEL version=0.0.0 06:11:45 ---> Running in 0342690f2b4f 06:11:45 Removing intermediate container 0342690f2b4f 06:11:45 ---> 88049f038a1f 06:11:45 [Warning] One or more build-args [ARCH] were not consumed 06:11:45 Successfully built 88049f038a1f 06:11:45 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:46 06:11:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:47 arm64: Pulling from edgex-lftools-log-publisher 06:11:47 8998bd30e6a1: Pulling fs layer 06:11:47 04944245beec: Pulling fs layer 06:11:47 699f458cf7ca: Pulling fs layer 06:11:47 765212b225bb: Pulling fs layer 06:11:47 f23df028b6ca: Pulling fs layer 06:11:47 d65c8cfc05b1: Pulling fs layer 06:11:47 2437ff75d9bd: Pulling fs layer 06:11:47 765212b225bb: Waiting 06:11:47 f23df028b6ca: Waiting 06:11:47 d65c8cfc05b1: Waiting 06:11:47 2437ff75d9bd: Waiting 06:11:47 04944245beec: Verifying Checksum 06:11:47 04944245beec: Download complete 06:11:47 765212b225bb: Verifying Checksum 06:11:47 765212b225bb: Download complete 06:11:47 f23df028b6ca: Verifying Checksum 06:11:47 f23df028b6ca: Download complete 06:11:47 d65c8cfc05b1: Verifying Checksum 06:11:47 d65c8cfc05b1: Download complete 06:11:47 699f458cf7ca: Verifying Checksum 06:11:47 699f458cf7ca: Download complete 06:11:47 8998bd30e6a1: Verifying Checksum 06:11:47 8998bd30e6a1: Download complete 06:11:50 2437ff75d9bd: Verifying Checksum 06:11:50 2437ff75d9bd: Download complete 06:11:51 8998bd30e6a1: Pull complete 06:11:52 04944245beec: Pull complete 06:11:53 699f458cf7ca: Pull complete 06:11:54 765212b225bb: Pull complete 06:11:54 f23df028b6ca: Pull complete 06:11:55 d65c8cfc05b1: Pull complete 06:12:10 2437ff75d9bd: Pull complete 06:12:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:12:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:11 prd-ubuntu20.04-docker-arm64-4c-16g-4753 does not seem to be running inside a container 06:12:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:12:14 $ docker top e30d0974c2289c193b0f179d2766b6f9ae68883e8fb9e6c8e09f0361d04eae79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:15 ---> job-cost.sh 06:12:15 lf-activate-venv: SKIPPING 06:12:15 INFO: No Stack... 06:12:15 INFO: Retrieving Pricing Info for: v3-standard-4 [Pipeline] echo 06:14:37 Exception caught while running job-cost.sh. [Pipeline] } 06:14:37 $ docker stop --time=1 e30d0974c2289c193b0f179d2766b6f9ae68883e8fb9e6c8e09f0361d04eae79 06:14:38 $ docker rm -f --volumes e30d0974c2289c193b0f179d2766b6f9ae68883e8fb9e6c8e09f0361d04eae79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:14:39 provisioning config files... 06:14:39 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/config7293360314130892758tmp [Pipeline] { [Pipeline] sh 06:14:40 + set +x 06:14:40 + curl -s https://codecov.io/bash 06:14:40 + bash -s -- 06:14:40 06:14:40 _____ _ 06:14:40 / ____| | | 06:14:40 | | ___ __| | ___ ___ _____ __ 06:14:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:14:40 | |___| (_) | (_| | __/ (_| (_) \ V / 06:14:40 \_____\___/ \__,_|\___|\___\___/ \_/ 06:14:40 Bash-1.0.6 06:14:40 06:14:40 06:14:40 ==> git version 2.25.1 found 06:14:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:14:40 Release-Date: 2020-01-08 06:14:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:14:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:14:40 ==> Jenkins CI detected. 06:14:40 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-436 06:14:40 project root: . 06:14:40 --> token set from env 06:14:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:14:40 ==> Running gcov in . (disable via -X gcov) 06:14:40 ==> Python coveragepy not found 06:14:40 ==> Searching for coverage reports in: 06:14:40 + . 06:14:40 -> Found 1 reports 06:14:40 ==> Detecting git/mercurial file structure 06:14:40 ==> Reading reports 06:14:40 + ./coverage.out bytes=23736 06:14:40 ==> Appending adjustments 06:14:40 https://docs.codecov.io/docs/fixing-reports 06:14:40 + Found adjustments 06:14:40 ==> Gzipping contents 06:14:40 4.0K /tmp/codecov.vN0Eem.gz 06:14:40 ==> Uploading reports 06:14:40 url: https://codecov.io 06:14:40 query: branch=PR-436&commit=bede86cfbc585647e60b6b8734199f3f1fea80a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=436&job=&cmd_args= 06:14:40 -> Pinging Codecov 06:14:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-436&commit=bede86cfbc585647e60b6b8734199f3f1fea80a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=436&job=&cmd_args= 06:14:40 -> Uploading to 06:14:40 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/55DBCA73C666E3227836607328DD7E49/bede86cfbc585647e60b6b8734199f3f1fea80a6/f4973316-e163-40ae-8774-77ef8ed692e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T061440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a21ff9313d07b19c8b99b6d5299c276360ee104d5c7cce651afe22f94f3ac0c6 06:14:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:14:40 Dload Upload Total Spent Left Speed 06:14:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 17687 --:--:-- --:--:-- --:--:-- 17608 100 3909 0 0 100 3909 0 14424 --:--:-- --:--:-- --:--:-- 14371 06:14:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/bede86cfbc585647e60b6b8734199f3f1fea80a6 [Pipeline] } 06:14:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:14:42 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-436/archives ] 06:14:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-436/archives 06:14:42 total 16 06:14:42 drwxr-xr-x 3 root root 4096 Mar 21 06:01 . 06:14:42 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 06:01 .. 06:14:42 drwxr-xr-x 2 root root 4096 Mar 21 06:01 cost 06:14:42 -rw-r--r-- 1 root root 88 Mar 21 06:01 cost.csv 06:14:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-436/archives 06:14:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-436/archives 06:14:42 total 16 06:14:42 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 06:01 . 06:14:42 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 06:01 .. 06:14:42 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 06:01 cost 06:14:42 -rw-r--r-- 1 jenkins jenkins 88 Mar 21 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:14:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:14:43 ---> package-listing.sh 06:14:43 ++ facter osfamily 06:14:43 ++ tr '[:upper:]' '[:lower:]' 06:14:44 + OS_FAMILY=debian 06:14:44 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-436 06:14:44 + START_PACKAGES=/tmp/packages_start.txt 06:14:44 + END_PACKAGES=/tmp/packages_end.txt 06:14:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:14:44 + PACKAGES=/tmp/packages_start.txt 06:14:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-436 ']' 06:14:44 + PACKAGES=/tmp/packages_end.txt 06:14:44 + case "${OS_FAMILY}" in 06:14:44 + dpkg -l 06:14:44 + grep '^ii' 06:14:44 + '[' -f /tmp/packages_start.txt ']' 06:14:44 + '[' -f /tmp/packages_end.txt ']' 06:14:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:14:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-436 ']' 06:14:44 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-436/archives/ 06:14:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-436/archives/ [Pipeline] echo 06:14:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-436/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:14:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:14:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:45 prd-ubuntu20.04-docker-8c-8g-4747 does not seem to be running inside a container 06:14:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-436/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-436 -v /w/workspace/xfoundry_device-modbus-go_PR-436:/w/workspace/xfoundry_device-modbus-go_PR-436:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-436@tmp:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:14:45 $ docker top 0f8109e57e85ea0581f0420f87e57ee50c4afb7001748f6ec5e42dd3eaef71aa -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:45 + touch /tmp/pre-build-complete [Pipeline] sh 06:14:46 + mkdir -p /var/log/sysstat [Pipeline] sh 06:14:46 + ls /var/log/sa-host 06:14:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:46 provisioning config files... 06:14:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/config13893407287854821003tmp [Pipeline] { [Pipeline] echo 06:14:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:14:47 ---> create-netrc.sh [Pipeline] } 06:14:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:14:47 ---> python-tools-install.sh [Pipeline] echo 06:14:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:14:47 ---> sudo-logs.sh 06:14:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:14:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:14:48 ---> job-cost.sh 06:14:48 lf-activate-venv: SKIPPING 06:14:48 DEBUG: total: 0.2199999988079071 06:14:48 INFO: Retrieving Stack Cost... 06:14:48 INFO: Retrieving Pricing Info for: v3-standard-8 06:15:06 INFO: Archiving Costs [Pipeline] echo 06:15:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:06 ---> logs-deploy.sh 06:15:06 lf-activate-venv: SKIPPING 06:15:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-436/1 06:15:06 INFO: archiving workspace using pattern(s): 06:15:07 Archives upload complete. 06:15:07 INFO: archiving logs to Nexus