Pull request #436 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1+82ff0da3d76fda56b8be828932abbd4e3fc098e3 (4e26145bb84f4089b8cc2406679e75fd7a182e1b) 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-ssh18247198160618393808.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-ssh14140751295317856833.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh114807433545769110.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 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-ssh13046769499720710028.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-436/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh4804356523330196041.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4762 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 Merging remotes/origin/main commit 82ff0da3d76fda56b8be828932abbd4e3fc098e3 into PR head commit 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 Merge succeeded, producing 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 Checking out Revision 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 (PR-436) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 # 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 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:19:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:19:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:19:57 ========================================================= 07:19:57 EdgeX Global Pipelines Version Info 07:19:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk bede86cfbc585647e60b6b8734199f3f1fea80a6 # timeout=10 07:19:58 ------------------- 07:19:58 stable info: 07:19:58 ------------------- 07:19:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:19:58 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:19:58 Message: update stable to v1.0.245 07:19:58 ------------------- 07:19:58 experimental info: 07:19:58 ------------------- 07:19:58 Commited By: **** collab-it+edgex@linuxfoundation.org 07:19:58 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 07:19:58 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:19:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:19:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:19:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:19:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:19:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:19:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:19:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-436 [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-436 [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-436 [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1870b88 [Pipeline] echo 07:19:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:59 provisioning config files... 07:19:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/config12610884082931445711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:59 ---> docker-login.sh 07:19:59 nexus3.edgexfoundry.org:10001 07:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:59 Configure a credential helper to remove this warning. See 07:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:59 07:19:59 Login Succeeded 07:19:59 nexus3.edgexfoundry.org:10002 07:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:59 Configure a credential helper to remove this warning. See 07:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:59 07:19:59 Login Succeeded 07:19:59 nexus3.edgexfoundry.org:10003 07:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:00 Configure a credential helper to remove this warning. See 07:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:00 07:20:00 Login Succeeded 07:20:00 nexus3.edgexfoundry.org:10004 07:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:00 Configure a credential helper to remove this warning. See 07:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:00 07:20:00 Login Succeeded 07:20:00 docker.io 07:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:00 Configure a credential helper to remove this warning. See 07:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:00 07:20:00 Login Succeeded 07:20:00 ---> docker-login.sh ends [Pipeline] } 07:20:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:20:00 + git rev-list -1 --merges 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1~1..1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 [Pipeline] echo 07:20:00 -----------> git rev-list -1 --merges 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1~1..1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 [false] [Pipeline] sh 07:20:01 + git log --format=format:%s -1 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 [Pipeline] echo 07:20:01 ========================================================= 07:20:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:20:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:01 + git log --format=format:%s -1 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 [Pipeline] echo 07:20:01 [semverPrep] GIT_COMMIT: 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 07:20:01 [semverPrep] This is not a build commit. [Pipeline] sh 07:20:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:20:01 + grep -v github /etc/ssh/ssh_known_hosts 07:20:01 + [ -e /tmp/ssh_known_hosts ] 07:20:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:20:01 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:20:01 sudo tee -a /etc/ssh/ssh_known_hosts 07:20:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:20:02 07:20:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:20:02 0.1.4: Pulling from edgex-devops/py-git-semver 07:20:02 b85a868b505f: Pulling fs layer 07:20:02 e2be974225ed: Pulling fs layer 07:20:02 339a4e72a1f5: Pulling fs layer 07:20:02 988bab9f4d93: Pulling fs layer 07:20:02 1469e6f7b9e6: Pulling fs layer 07:20:02 eaf3925da568: Pulling fs layer 07:20:02 bab4dde63d76: Pulling fs layer 07:20:02 bde34c3a00c8: Pulling fs layer 07:20:02 b352a97aabf1: Pulling fs layer 07:20:02 4872d77fe225: Pulling fs layer 07:20:02 5851b861e8e6: Pulling fs layer 07:20:02 988bab9f4d93: Waiting 07:20:02 1469e6f7b9e6: Waiting 07:20:02 eaf3925da568: Waiting 07:20:02 bab4dde63d76: Waiting 07:20:02 bde34c3a00c8: Waiting 07:20:02 b352a97aabf1: Waiting 07:20:02 4872d77fe225: Waiting 07:20:02 5851b861e8e6: Waiting 07:20:02 e2be974225ed: Verifying Checksum 07:20:02 e2be974225ed: Download complete 07:20:02 988bab9f4d93: Download complete 07:20:02 1469e6f7b9e6: Verifying Checksum 07:20:02 1469e6f7b9e6: Download complete 07:20:02 339a4e72a1f5: Verifying Checksum 07:20:02 339a4e72a1f5: Download complete 07:20:02 eaf3925da568: Download complete 07:20:02 bde34c3a00c8: Verifying Checksum 07:20:02 bde34c3a00c8: Download complete 07:20:02 b352a97aabf1: Download complete 07:20:02 4872d77fe225: Verifying Checksum 07:20:02 4872d77fe225: Download complete 07:20:02 5851b861e8e6: Download complete 07:20:02 b85a868b505f: Verifying Checksum 07:20:02 b85a868b505f: Download complete 07:20:03 bab4dde63d76: Verifying Checksum 07:20:03 bab4dde63d76: Download complete 07:20:03 b85a868b505f: Pull complete 07:20:04 e2be974225ed: Pull complete 07:20:04 339a4e72a1f5: Pull complete 07:20:04 988bab9f4d93: Pull complete 07:20:05 1469e6f7b9e6: Pull complete 07:20:05 eaf3925da568: Pull complete 07:20:07 bab4dde63d76: Pull complete 07:20:07 bde34c3a00c8: Pull complete 07:20:07 b352a97aabf1: Pull complete 07:20:07 4872d77fe225: Pull complete 07:20:07 5851b861e8e6: Pull complete 07:20:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:20:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:20:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:07 prd-ubuntu20.04-docker-8c-8g-4762 does not seem to be running inside a container 07:20:07 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:20:09 $ docker top ba7d96ab2ce18d54d0ed1755753b7cf9a9a6921d1c0bcd25053e0bbd265417b2 -eo pid,comm 07:20:09 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). 07:20:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:20:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:09 [ssh-agent] Looking for ssh-agent implementation... 07:20:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:09 $ docker exec ba7d96ab2ce18d54d0ed1755753b7cf9a9a6921d1c0bcd25053e0bbd265417b2 ssh-agent 07:20:09 SSH_AUTH_SOCK=/tmp/ssh-fYYDMTlfgCf4/agent.33 07:20:09 SSH_AGENT_PID=39 07:20:09 Running ssh-add (command line suppressed) 07:20:09 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-436@tmp/private_key_16537179355298444717.key (/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/private_key_16537179355298444717.key) 07:20:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:10 + git tag --points-at HEAD [Pipeline] } 07:20:10 $ docker exec --env ******** --env ******** ba7d96ab2ce18d54d0ed1755753b7cf9a9a6921d1c0bcd25053e0bbd265417b2 ssh-agent -k 07:20:10 unset SSH_AUTH_SOCK; 07:20:10 unset SSH_AGENT_PID; 07:20:10 echo Agent pid 39 killed; 07:20:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:20:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:10 [ssh-agent] Looking for ssh-agent implementation... 07:20:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:10 $ docker exec ba7d96ab2ce18d54d0ed1755753b7cf9a9a6921d1c0bcd25053e0bbd265417b2 ssh-agent 07:20:10 SSH_AUTH_SOCK=/tmp/ssh-vcFJ1GMapCUa/agent.72 07:20:10 SSH_AGENT_PID=78 07:20:10 Running ssh-add (command line suppressed) 07:20:10 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-436@tmp/private_key_16224210503418684847.key (/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/private_key_16224210503418684847.key) 07:20:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:10 + git semver init 07:20:11 2023-03-21 07:20:11,188 [run_init] DEBUG init version:0.0.0 force:False 07:20:11 2023-03-21 07:20:11,189 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-436/.semver 07:20:11 2023-03-21 07:20:11,189 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-436/.semver 07:20:11 2023-03-21 07:20:11,189 [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) 07:20:12 2023-03-21 07:20:11,946 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-436/.git/info/exclude 07:20:12 2023-03-21 07:20:11,946 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-436/.semver/PR-436 with force:False 07:20:12 2023-03-21 07:20:11,947 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-436/.semver/PR-436 07:20:12 2023-03-21 07:20:11,950 [execute] INFO git cat-file --batch-check 07:20:12 2023-03-21 07:20:11,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-436/.semver, universal_newlines=False, shell=None, istream=) 07:20:12 2023-03-21 07:20:11,957 [execute] INFO git cat-file --batch 07:20:12 2023-03-21 07:20:11,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-436/.semver, universal_newlines=False, shell=None, istream=) 07:20:12 2023-03-21 07:20:11,963 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-436/.semver/PR-436 07:20:12 0.0.0 [Pipeline] } 07:20:12 $ docker exec --env ******** --env ******** ba7d96ab2ce18d54d0ed1755753b7cf9a9a6921d1c0bcd25053e0bbd265417b2 ssh-agent -k 07:20:12 unset SSH_AUTH_SOCK; 07:20:12 unset SSH_AGENT_PID; 07:20:12 echo Agent pid 78 killed; 07:20:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:20:12 + git semver [Pipeline] } 07:20:12 $ docker stop --time=1 ba7d96ab2ce18d54d0ed1755753b7cf9a9a6921d1c0bcd25053e0bbd265417b2 07:20:14 $ docker rm -f --volumes ba7d96ab2ce18d54d0ed1755753b7cf9a9a6921d1c0bcd25053e0bbd265417b2 [Pipeline] // withDockerContainer [Pipeline] sh 07:20:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:20:14 Stashed 1 file(s) [Pipeline] echo 07:20:14 [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 07:20:14 provisioning config files... 07:20:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/config957774756381195652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:15 ---> docker-login.sh 07:20:15 nexus3.edgexfoundry.org:10001 07:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:15 Configure a credential helper to remove this warning. See 07:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:15 07:20:15 Login Succeeded 07:20:15 nexus3.edgexfoundry.org:10002 07:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:15 Configure a credential helper to remove this warning. See 07:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:15 07:20:15 Login Succeeded 07:20:15 nexus3.edgexfoundry.org:10003 07:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:15 Configure a credential helper to remove this warning. See 07:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:15 07:20:15 Login Succeeded 07:20:15 nexus3.edgexfoundry.org:10004 07:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:15 Configure a credential helper to remove this warning. See 07:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:15 07:20:15 Login Succeeded 07:20:15 docker.io 07:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:15 Configure a credential helper to remove this warning. See 07:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:15 07:20:15 Login Succeeded 07:20:15 ---> docker-login.sh ends [Pipeline] } 07:20:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:15 ========================================================= 07:20:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:20:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:16 + 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 . 07:20:16 Sending build context to Docker daemon 6.37MB 07:20:16 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:20:16 Step 2/10 : FROM ${BASE} AS builder 07:20:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:20:16 63b65145d645: Pulling fs layer 07:20:16 a2d21d5440eb: Pulling fs layer 07:20:16 935e6c44a52c: Pulling fs layer 07:20:16 94cc34f8dd06: Pulling fs layer 07:20:16 30dea6a524f1: Pulling fs layer 07:20:16 a2aff8979fd8: Pulling fs layer 07:20:16 6808be2612f2: Pulling fs layer 07:20:16 f25807f1079a: Pulling fs layer 07:20:16 a2aff8979fd8: Waiting 07:20:16 f25807f1079a: Waiting 07:20:16 6808be2612f2: Waiting 07:20:16 94cc34f8dd06: Waiting 07:20:16 30dea6a524f1: Waiting 07:20:16 a2d21d5440eb: Verifying Checksum 07:20:16 a2d21d5440eb: Download complete 07:20:16 94cc34f8dd06: Verifying Checksum 07:20:16 94cc34f8dd06: Download complete 07:20:16 63b65145d645: Verifying Checksum 07:20:16 63b65145d645: Download complete 07:20:16 a2aff8979fd8: Verifying Checksum 07:20:16 a2aff8979fd8: Download complete 07:20:16 63b65145d645: Pull complete 07:20:16 a2d21d5440eb: Pull complete 07:20:16 f25807f1079a: Verifying Checksum 07:20:16 f25807f1079a: Download complete 07:20:16 935e6c44a52c: Verifying Checksum 07:20:16 935e6c44a52c: Download complete 07:20:17 6808be2612f2: Verifying Checksum 07:20:17 6808be2612f2: Download complete 07:20:21 935e6c44a52c: Pull complete 07:20:21 94cc34f8dd06: Pull complete 07:20:21 30dea6a524f1: Pull complete 07:20:21 a2aff8979fd8: Pull complete 07:20:23 6808be2612f2: Pull complete 07:20:24 f25807f1079a: Pull complete 07:20:24 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:20:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:20:24 ---> 3b553350e43f 07:20:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:20:26 ---> Running in ae0fde259e41 07:20:26 Removing intermediate container ae0fde259e41 07:20:26 ---> f8bd7308c037 07:20:26 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:20:26 ---> Running in c1d0b2cab1c0 07:20:26 Removing intermediate container c1d0b2cab1c0 07:20:26 ---> 4f1246a438ee 07:20:26 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:20:26 ---> Running in ba62af6533ef 07:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:20:27 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:20:27 (2/8) Installing libedit (20221030.3.1-r0) 07:20:27 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:20:27 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:20:27 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:20:27 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:20:27 (7/8) Installing openssh-server (9.1_p1-r2) 07:20:27 (8/8) Installing openssh (9.1_p1-r2) 07:20:27 Executing busybox-1.35.0-r29.trigger 07:20:27 OK: 270 MiB in 61 packages 07:20:27 Removing intermediate container ba62af6533ef 07:20:27 ---> 293bb999504a 07:20:27 Step 6/10 : WORKDIR /device-modbus-go 07:20:27 ---> Running in d9f82558eee1 07:20:27 Removing intermediate container d9f82558eee1 07:20:27 ---> 432b9fb7181c 07:20:27 Step 7/10 : COPY go.mod vendor* ./ 07:20:28 ---> 723644da7d7c 07:20:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:28 ---> Running in ca4073547652 07:20:29 Still waiting to schedule task 07:20:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4756’ 07:20:50 Removing intermediate container ca4073547652 07:20:50 ---> cd64db9bb266 07:20:50 Step 9/10 : COPY . . 07:20:50 ---> 13515bee9701 07:20:50 Step 10/10 : RUN ${MAKE} 07:20:50 ---> Running in 1a1453187d07 07:20:50 noop 07:20:50 Removing intermediate container 1a1453187d07 07:20:50 ---> d8b61b3401c4 07:20:50 Successfully built d8b61b3401c4 07:20:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:50 + docker inspect -f . ci-base-image-x86_64 07:20:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:50 prd-ubuntu20.04-docker-8c-8g-4762 does not seem to be running inside a container 07:20:50 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:20:50 $ docker top 3792bb1111f8a738e4d4927ba05336e7d1d5981ea8f143cd540cbf3bef3929e1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:51 + go version 07:20:51 go version go1.20.2 linux/amd64 [Pipeline] } 07:20:51 $ docker stop --time=1 3792bb1111f8a738e4d4927ba05336e7d1d5981ea8f143cd540cbf3bef3929e1 07:20:52 $ docker rm -f --volumes 3792bb1111f8a738e4d4927ba05336e7d1d5981ea8f143cd540cbf3bef3929e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:52 + docker inspect -f . ci-base-image-x86_64 07:20:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:53 prd-ubuntu20.04-docker-8c-8g-4762 does not seem to be running inside a container 07:20:53 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:20:53 $ docker top 0d6372854903a08dc42aeb6dc90e50b3149f5d2d38a7bdf36da9833be0a348a9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:53 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-436 [Pipeline] fileExists [Pipeline] sh 07:20:54 + make test 07:20:54 go test ./... -coverprofile=coverage.out 07:20:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:21:09 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:21:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 48.0% of statements 07:21:16 go vet ./... 07:21:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:21:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:21:19 ./bin/test-attribution-txt.sh [Pipeline] echo 07:21:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:21:19 $ docker stop --time=1 0d6372854903a08dc42aeb6dc90e50b3149f5d2d38a7bdf36da9833be0a348a9 07:21:21 $ docker rm -f --volumes 0d6372854903a08dc42aeb6dc90e50b3149f5d2d38a7bdf36da9833be0a348a9 [Pipeline] // withDockerContainer [Pipeline] sh 07:21:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:21:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:22 + ls -al . 07:21:22 total 180 07:21:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 07:20 . 07:21:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:19 .. 07:21:22 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 07:19 .dockerignore 07:21:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 07:20 .git 07:21:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:19 .github 07:21:22 -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 07:19 .gitignore 07:21:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 07:19 .golangci.yml 07:21:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 07:20 .semver 07:21:22 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 07:19 Attribution.txt 07:21:22 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 07:19 CHANGELOG.md 07:21:22 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 07:19 Dockerfile 07:21:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 07:19 GOVERNANCE.md 07:21:22 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 07:19 Jenkinsfile 07:21:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 07:19 LICENSE 07:21:22 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 07:19 Makefile 07:21:22 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 07:19 OWNERS.md 07:21:22 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 07:19 README.md 07:21:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 07:20 VERSION 07:21:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:19 bin 07:21:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:19 cmd 07:21:22 -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 07:21 coverage.out 07:21:22 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 21 07:19 go.mod 07:21:22 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 21 07:19 go.sum 07:21:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:19 internal 07:21:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:19 simulator 07:21:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:19 snap 07:21:22 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:23 + 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=1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 --label arch=amd64 --label version=0.0.0 . 07:21:23 Sending build context to Docker daemon 6.395MB 07:21:23 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:21:23 Step 2/22 : FROM ${BASE} AS builder 07:21:23 ---> d8b61b3401c4 07:21:23 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:21:23 ---> Running in b79e6a7d8a31 07:21:23 Removing intermediate container b79e6a7d8a31 07:21:23 ---> 4248a6760e33 07:21:23 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:21:23 ---> Running in 16315db832d6 07:21:23 Removing intermediate container 16315db832d6 07:21:23 ---> 676cb794596f 07:21:23 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:21:23 ---> Running in daace34abf8a 07:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:21:24 OK: 270 MiB in 61 packages 07:21:24 Removing intermediate container daace34abf8a 07:21:24 ---> 73d56afe65d9 07:21:24 Step 6/22 : WORKDIR /device-modbus-go 07:21:24 ---> Running in 387e81a965a9 07:21:24 Removing intermediate container 387e81a965a9 07:21:24 ---> 007e0f89a1b0 07:21:24 Step 7/22 : COPY go.mod vendor* ./ 07:21:24 ---> 922bc2043222 07:21:24 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:24 ---> Running in 40e7e272be49 07:21:25 Removing intermediate container 40e7e272be49 07:21:25 ---> ffcca22227f5 07:21:25 Step 9/22 : COPY . . 07:21:26 ---> 4781ecb11e62 07:21:26 Step 10/22 : RUN ${MAKE} 07:21:26 ---> Running in 8bb99d810cae 07:21:26 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 07:21:44 Removing intermediate container 8bb99d810cae 07:21:44 ---> db0c584f310c 07:21:44 Step 11/22 : FROM alpine:3.17 07:21:44 3.17: Pulling from library/alpine 07:21:44 63b65145d645: Already exists 07:21:44 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:21:44 Status: Downloaded newer image for alpine:3.17 07:21:44 ---> b2aa39c304c2 07:21:44 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:21:44 ---> Running in 72c7827d5e93 07:21:44 Removing intermediate container 72c7827d5e93 07:21:44 ---> 03a10f135beb 07:21:44 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:21:44 ---> Running in 1c3e5ef4361a 07:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:21:44 (1/1) Installing dumb-init (1.2.5-r2) 07:21:44 Executing busybox-1.35.0-r29.trigger 07:21:44 OK: 7 MiB in 16 packages 07:21:44 Removing intermediate container 1c3e5ef4361a 07:21:44 ---> 49a255e1f538 07:21:44 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:21:45 ---> 0741fe802a66 07:21:45 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:21:45 ---> 547b9d4d7772 07:21:45 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:21:45 ---> be4d30b3c3bd 07:21:45 Step 17/22 : EXPOSE 59901 07:21:45 ---> Running in 230fd220dfe2 07:21:45 Removing intermediate container 230fd220dfe2 07:21:45 ---> 03d1287de69b 07:21:45 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:21:45 ---> Running in a35f49ec0f05 07:21:45 Removing intermediate container a35f49ec0f05 07:21:45 ---> 1d93893eca8a 07:21:45 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:21:45 ---> Running in 43fec6bcd2df 07:21:45 Removing intermediate container 43fec6bcd2df 07:21:45 ---> 21e55b6c69ff 07:21:45 Step 20/22 : LABEL arch=amd64 07:21:45 ---> Running in ed24677a4d16 07:21:46 Removing intermediate container ed24677a4d16 07:21:46 ---> c5848fbc2aa0 07:21:46 Step 21/22 : LABEL git_sha=1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 07:21:46 ---> Running in c153edf3cb3f 07:21:46 Removing intermediate container c153edf3cb3f 07:21:46 ---> 7577adaa01bb 07:21:46 Step 22/22 : LABEL version=0.0.0 07:21:46 ---> Running in 8e7d8d60c0a6 07:21:46 Removing intermediate container 8e7d8d60c0a6 07:21:46 ---> 606329afec13 07:21:46 [Warning] One or more build-args [ARCH] were not consumed 07:21:46 Successfully built 606329afec13 07:21:46 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 07:21:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:46 07:21:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:47 latest: Pulling from edgex-lftools-log-publisher 07:21:47 5eb5b503b376: Pulling fs layer 07:21:47 5c69ac0246d0: Pulling fs layer 07:21:47 ec43610c2a17: Pulling fs layer 07:21:47 3a2ae6a8a46f: Pulling fs layer 07:21:47 33b1e0a273af: Pulling fs layer 07:21:47 5d3b04190fa2: Pulling fs layer 07:21:47 2f39f015ded8: Pulling fs layer 07:21:47 5d3b04190fa2: Waiting 07:21:47 3a2ae6a8a46f: Waiting 07:21:47 33b1e0a273af: Waiting 07:21:47 2f39f015ded8: Waiting 07:21:47 5c69ac0246d0: Verifying Checksum 07:21:47 5c69ac0246d0: Download complete 07:21:47 3a2ae6a8a46f: Verifying Checksum 07:21:47 3a2ae6a8a46f: Download complete 07:21:47 33b1e0a273af: Verifying Checksum 07:21:47 33b1e0a273af: Download complete 07:21:47 5d3b04190fa2: Verifying Checksum 07:21:47 5d3b04190fa2: Download complete 07:21:47 ec43610c2a17: Verifying Checksum 07:21:47 ec43610c2a17: Download complete 07:21:47 5eb5b503b376: Verifying Checksum 07:21:47 5eb5b503b376: Download complete 07:21:47 2f39f015ded8: Verifying Checksum 07:21:47 2f39f015ded8: Download complete 07:21:48 5eb5b503b376: Pull complete 07:21:48 5c69ac0246d0: Pull complete 07:21:48 ec43610c2a17: Pull complete 07:21:48 3a2ae6a8a46f: Pull complete 07:21:49 33b1e0a273af: Pull complete 07:21:49 5d3b04190fa2: Pull complete 07:21:53 2f39f015ded8: Pull complete 07:21:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:53 prd-ubuntu20.04-docker-8c-8g-4762 does not seem to be running inside a container 07:21:53 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:21:55 $ docker top 155e994746b3c0ee0ae5db62b1b26447779d3e4dbb1aa82b3ea2c699ed82b844 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:55 ---> job-cost.sh 07:21:55 lf-activate-venv: SKIPPING 07:21:55 INFO: No Stack... 07:21:56 INFO: Retrieving Pricing Info for: v3-standard-8 07:21:56 INFO: Archiving Costs [Pipeline] sh 07:21:56 + cat /w/workspace/xfoundry_device-modbus-go_PR-436/archives/cost.csv 07:21:56 + cut -d, -f6 [Pipeline] lock 07:21:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-436-2-stack-cost] 07:21:56 Resource [jenkins-edgexfoundry-device-modbus-go-PR-436-2-stack-cost] did not exist. Created. 07:21:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-436-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:21:56 + echo total: 0.2199999988079071 [Pipeline] stash 07:21:56 Stashed 1 file(s) [Pipeline] } 07:21:56 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-436-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:21:56 $ docker stop --time=1 155e994746b3c0ee0ae5db62b1b26447779d3e4dbb1aa82b3ea2c699ed82b844 07:21:58 $ docker rm -f --volumes 155e994746b3c0ee0ae5db62b1b26447779d3e4dbb1aa82b3ea2c699ed82b844 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:23:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4765 in /w/workspace/xfoundry_device-modbus-go_PR-436 [Pipeline] { [Pipeline] ws 07:23:40 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 07:23:40 Selected Git installation does not exist. Using Default 07:23:40 The recommended git tool is: NONE 07:23:46 using credential edgex-jenkins-ssh 07:23:46 Cloning the remote Git repository 07:23:46 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:23:48 > git init /w/workspace/device-modbus-go/2 # timeout=10 07:23:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:23:48 > git --version # timeout=10 07:23:48 > git --version # 'git version 2.25.1' 07:23:48 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:23:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:23:51 Merging remotes/origin/main commit 82ff0da3d76fda56b8be828932abbd4e3fc098e3 into PR head commit 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 07:23:51 Merge succeeded, producing 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 07:23:51 Checking out Revision 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 (PR-436) 07:23:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:23:50 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:50 > 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 07:23:51 > git config core.sparsecheckout # timeout=10 07:23:51 > git checkout -f 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 # timeout=10 07:23:51 > git remote # timeout=10 07:23:51 > git config --get remote.origin.url # timeout=10 07:23:51 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:51 > git merge 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 07:23:51 > git rev-parse HEAD^{commit} # timeout=10 07:23:51 > git config core.sparsecheckout # timeout=10 07:23:51 > git checkout -f 1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 # timeout=10 07:23:52 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:23:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:23:53 % Total % Received % Xferd Average Speed Time Time Time Current 07:23:53 Dload Upload Total Spent Left Speed 07:23:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 161k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh 07:23:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:23:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:23:54 + sudo tee /etc/docker/daemon.new 07:23:54 { 07:23:54 "registry-mirrors": [ 07:23:54 "https://nexus3.edgexfoundry.org:10001" 07:23:54 ], 07:23:54 "bip": "10.250.0.254/24", 07:23:54 "hosts": [ 07:23:54 "tcp://0.0.0.0:5555", 07:23:54 "unix:///var/run/docker.sock" 07:23:54 ], 07:23:54 "mtu": 1458, 07:23:54 "selinux-enabled": true, 07:23:54 "seccomp-profile": "/etc/docker/seccomp.json" 07:23:54 } [Pipeline] sh 07:23:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:23:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:24:13 provisioning config files... 07:24:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config14157070786035379216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:13 ---> docker-login.sh 07:24:13 nexus3.edgexfoundry.org:10001 07:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:14 Configure a credential helper to remove this warning. See 07:24:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:14 07:24:14 Login Succeeded 07:24:14 nexus3.edgexfoundry.org:10002 07:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:14 Configure a credential helper to remove this warning. See 07:24:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:14 07:24:14 Login Succeeded 07:24:14 nexus3.edgexfoundry.org:10003 07:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:15 Configure a credential helper to remove this warning. See 07:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:15 07:24:15 Login Succeeded 07:24:15 nexus3.edgexfoundry.org:10004 07:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:15 Configure a credential helper to remove this warning. See 07:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:15 07:24:15 Login Succeeded 07:24:15 docker.io 07:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:16 Configure a credential helper to remove this warning. See 07:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:16 07:24:16 Login Succeeded 07:24:16 ---> docker-login.sh ends [Pipeline] } 07:24:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:24:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:24:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:24:16 ========================================================= 07:24:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:24:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:17 + 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 . 07:24:17 Sending build context to Docker daemon 3.326MB 07:24:17 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:24:17 Step 2/10 : FROM ${BASE} AS builder 07:24:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:24:17 af6eaf76a39c: Pulling fs layer 07:24:17 55522c791124: Pulling fs layer 07:24:17 ce5c4a1c91eb: Pulling fs layer 07:24:17 169dfbe0d373: Pulling fs layer 07:24:17 e1ff8fa3b103: Pulling fs layer 07:24:17 52ebb69f0ebf: Pulling fs layer 07:24:17 5abe8eddf0d5: Pulling fs layer 07:24:17 e1ff8fa3b103: Waiting 07:24:17 52ebb69f0ebf: Waiting 07:24:17 5abe8eddf0d5: Waiting 07:24:17 169dfbe0d373: Waiting 07:24:18 55522c791124: Verifying Checksum 07:24:18 55522c791124: Download complete 07:24:18 169dfbe0d373: Verifying Checksum 07:24:18 169dfbe0d373: Download complete 07:24:18 e1ff8fa3b103: Verifying Checksum 07:24:18 e1ff8fa3b103: Download complete 07:24:18 af6eaf76a39c: Verifying Checksum 07:24:18 af6eaf76a39c: Download complete 07:24:19 af6eaf76a39c: Pull complete 07:24:19 5abe8eddf0d5: Verifying Checksum 07:24:19 5abe8eddf0d5: Download complete 07:24:20 55522c791124: Pull complete 07:24:21 52ebb69f0ebf: Verifying Checksum 07:24:21 52ebb69f0ebf: Download complete 07:24:21 ce5c4a1c91eb: Download complete 07:24:33 ce5c4a1c91eb: Pull complete 07:24:33 169dfbe0d373: Pull complete 07:24:33 e1ff8fa3b103: Pull complete 07:24:42 52ebb69f0ebf: Pull complete 07:24:43 5abe8eddf0d5: Pull complete 07:24:43 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:24:43 ---> 6cb57ee374ae 07:24:43 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:24:45 ---> Running in 8c2b98f56c3a 07:24:46 Removing intermediate container 8c2b98f56c3a 07:24:46 ---> c5b98c06f018 07:24:46 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:24:46 ---> Running in 667858acaefd 07:24:46 Removing intermediate container 667858acaefd 07:24:46 ---> 06406fc21b32 07:24:46 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:24:46 ---> Running in 58a7e328ff6a 07:24:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:24:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:24:49 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:24:49 (2/8) Installing libedit (20221030.3.1-r0) 07:24:49 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:24:49 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:24:49 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:24:49 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:24:49 (7/8) Installing openssh-server (9.1_p1-r2) 07:24:49 (8/8) Installing openssh (9.1_p1-r2) 07:24:49 Executing busybox-1.35.0-r29.trigger 07:24:49 OK: 270 MiB in 61 packages 07:24:51 Removing intermediate container 58a7e328ff6a 07:24:51 ---> 8786f12be837 07:24:51 Step 6/10 : WORKDIR /device-modbus-go 07:24:51 ---> Running in 611ee1c1a2f0 07:24:51 Removing intermediate container 611ee1c1a2f0 07:24:51 ---> ba7f03a16b9d 07:24:51 Step 7/10 : COPY go.mod vendor* ./ 07:24:52 ---> e97545607e30 07:24:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:52 ---> Running in 1aebcdc199e1 07:25:59 Removing intermediate container 1aebcdc199e1 07:25:59 ---> d0507b4df792 07:25:59 Step 9/10 : COPY . . 07:25:59 ---> ccbb47510ba5 07:25:59 Step 10/10 : RUN ${MAKE} 07:26:00 ---> Running in d1a35d664fa9 07:26:01 noop 07:26:01 Removing intermediate container d1a35d664fa9 07:26:01 ---> a83ec2c53e6d 07:26:01 Successfully built a83ec2c53e6d 07:26:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:02 + docker inspect -f . ci-base-image-arm64 07:26:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:02 prd-ubuntu20.04-docker-arm64-4c-16g-4765 does not seem to be running inside a container 07:26:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:26:04 $ docker top d10797154c9f439e3ebec2dc834f1fd55e34d63cb88e60eae976b2651af434f8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:26:04 + go version 07:26:04 go version go1.20.2 linux/arm64 [Pipeline] } 07:26:04 $ docker stop --time=1 d10797154c9f439e3ebec2dc834f1fd55e34d63cb88e60eae976b2651af434f8 07:26:06 $ docker rm -f --volumes d10797154c9f439e3ebec2dc834f1fd55e34d63cb88e60eae976b2651af434f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:07 + docker inspect -f . ci-base-image-arm64 07:26:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:07 prd-ubuntu20.04-docker-arm64-4c-16g-4765 does not seem to be running inside a container 07:26:07 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:26:08 $ docker top 438fecb94d1825582197f532183aad4f3418a2008d3ed1fc1e073beb4a2c7a54 -eo pid,comm [Pipeline] { [Pipeline] sh 07:26:09 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 07:26:10 + make test 07:26:10 go test ./... -coverprofile=coverage.out 07:26:49 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:28:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:28:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.072s coverage: 48.0% of statements 07:28:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:28:56 go vet ./... 07:29:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:29:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:29:28 ./bin/test-attribution-txt.sh [Pipeline] echo 07:29:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:29:28 $ docker stop --time=1 438fecb94d1825582197f532183aad4f3418a2008d3ed1fc1e073beb4a2c7a54 07:29:32 $ docker rm -f --volumes 438fecb94d1825582197f532183aad4f3418a2008d3ed1fc1e073beb4a2c7a54 [Pipeline] // withDockerContainer [Pipeline] sh 07:29:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:29:34 Warning: overwriting stash ‘coverage-report’ 07:29:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:29:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:29:35 + ls -al . 07:29:35 total 176 07:29:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 07:26 . 07:29:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:23 .. 07:29:35 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 07:23 .dockerignore 07:29:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 07:23 .git 07:29:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:23 .github 07:29:35 -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 07:23 .gitignore 07:29:35 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 07:23 .golangci.yml 07:29:35 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 07:23 Attribution.txt 07:29:35 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 07:23 CHANGELOG.md 07:29:35 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 07:23 Dockerfile 07:29:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 07:23 GOVERNANCE.md 07:29:35 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 07:23 Jenkinsfile 07:29:35 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 07:23 LICENSE 07:29:35 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 07:23 Makefile 07:29:35 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 07:23 OWNERS.md 07:29:35 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 07:23 README.md 07:29:35 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 07:20 VERSION 07:29:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:23 bin 07:29:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:23 cmd 07:29:35 -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 07:28 coverage.out 07:29:35 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 21 07:23 go.mod 07:29:35 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 21 07:23 go.sum 07:29:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:23 internal 07:29:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:23 simulator 07:29:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:23 snap 07:29:35 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 07:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:35 + 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=1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 --label arch=arm64 --label version=0.0.0 . 07:29:35 Sending build context to Docker daemon 3.351MB 07:29:35 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:29:35 Step 2/22 : FROM ${BASE} AS builder 07:29:35 ---> a83ec2c53e6d 07:29:35 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:29:36 ---> Running in 813d2c9b90aa 07:29:36 Removing intermediate container 813d2c9b90aa 07:29:36 ---> e09acfd0c169 07:29:36 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:29:36 ---> Running in fb160af32796 07:29:37 Removing intermediate container fb160af32796 07:29:37 ---> c428f8cc54ce 07:29:37 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:29:37 ---> Running in bfc52d10b62f 07:29:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:29:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:29:39 OK: 270 MiB in 61 packages 07:29:40 Removing intermediate container bfc52d10b62f 07:29:40 ---> 9c610da383f7 07:29:40 Step 6/22 : WORKDIR /device-modbus-go 07:29:40 ---> Running in 8254541229c3 07:29:41 Removing intermediate container 8254541229c3 07:29:41 ---> 55b060438746 07:29:41 Step 7/22 : COPY go.mod vendor* ./ 07:29:41 ---> aef0a3d44d20 07:29:41 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:29:41 ---> Running in 3b78cb2ea402 07:29:45 Removing intermediate container 3b78cb2ea402 07:29:45 ---> 006dda586ab6 07:29:45 Step 9/22 : COPY . . 07:29:46 ---> a769d7cdafa0 07:29:46 Step 10/22 : RUN ${MAKE} 07:29:46 ---> Running in 8b499f4ef34e 07:29:47 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 07:32:25 Removing intermediate container 8b499f4ef34e 07:32:25 ---> e2b91b44ad0f 07:32:25 Step 11/22 : FROM alpine:3.17 07:32:25 3.17: Pulling from library/alpine 07:32:25 af6eaf76a39c: Already exists 07:32:25 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:32:25 Status: Downloaded newer image for alpine:3.17 07:32:25 ---> d74e625d9115 07:32:25 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:32:25 ---> Running in 67fa064d6211 07:32:25 Removing intermediate container 67fa064d6211 07:32:25 ---> 2b70d4260531 07:32:25 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:32:25 ---> Running in 82cf39a01c89 07:32:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:32:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:32:25 (1/1) Installing dumb-init (1.2.5-r2) 07:32:25 Executing busybox-1.35.0-r29.trigger 07:32:25 OK: 8 MiB in 16 packages 07:32:25 Removing intermediate container 82cf39a01c89 07:32:25 ---> 54c8c94819dd 07:32:25 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:32:25 ---> ccc757d211af 07:32:25 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:32:25 ---> 65fdeba42cee 07:32:25 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:32:25 ---> 69275c896ec7 07:32:25 Step 17/22 : EXPOSE 59901 07:32:25 ---> Running in 2ecdff1da2a9 07:32:25 Removing intermediate container 2ecdff1da2a9 07:32:25 ---> 30a18a154b7c 07:32:25 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:32:25 ---> Running in b7843d095bba 07:32:25 Removing intermediate container b7843d095bba 07:32:25 ---> c3dc8b1a37b9 07:32:25 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:32:25 ---> Running in 6eb2730975b3 07:32:25 Removing intermediate container 6eb2730975b3 07:32:25 ---> 8d4a5be20ed0 07:32:25 Step 20/22 : LABEL arch=arm64 07:32:25 ---> Running in 1d7acf0bb1c0 07:32:25 Removing intermediate container 1d7acf0bb1c0 07:32:25 ---> 044933c8c18b 07:32:25 Step 21/22 : LABEL git_sha=1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 07:32:25 ---> Running in 876f0a1024c7 07:32:25 Removing intermediate container 876f0a1024c7 07:32:25 ---> 3b5aa0e5b51e 07:32:25 Step 22/22 : LABEL version=0.0.0 07:32:25 ---> Running in d102ea70ff25 07:32:25 Removing intermediate container d102ea70ff25 07:32:25 ---> 023c30856ee5 07:32:25 [Warning] One or more build-args [ARCH] were not consumed 07:32:25 Successfully built 023c30856ee5 07:32:25 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 07:32:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:32:26 07:32:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:32:26 arm64: Pulling from edgex-lftools-log-publisher 07:32:26 8998bd30e6a1: Pulling fs layer 07:32:26 04944245beec: Pulling fs layer 07:32:26 699f458cf7ca: Pulling fs layer 07:32:26 765212b225bb: Pulling fs layer 07:32:26 f23df028b6ca: Pulling fs layer 07:32:26 d65c8cfc05b1: Pulling fs layer 07:32:26 2437ff75d9bd: Pulling fs layer 07:32:26 765212b225bb: Waiting 07:32:26 f23df028b6ca: Waiting 07:32:26 d65c8cfc05b1: Waiting 07:32:26 2437ff75d9bd: Waiting 07:32:26 04944245beec: Verifying Checksum 07:32:26 04944245beec: Download complete 07:32:26 765212b225bb: Verifying Checksum 07:32:26 765212b225bb: Download complete 07:32:26 f23df028b6ca: Verifying Checksum 07:32:26 f23df028b6ca: Download complete 07:32:26 d65c8cfc05b1: Verifying Checksum 07:32:26 d65c8cfc05b1: Download complete 07:32:26 699f458cf7ca: Verifying Checksum 07:32:26 699f458cf7ca: Download complete 07:32:27 8998bd30e6a1: Verifying Checksum 07:32:27 8998bd30e6a1: Download complete 07:32:29 2437ff75d9bd: Verifying Checksum 07:32:29 2437ff75d9bd: Download complete 07:32:31 8998bd30e6a1: Pull complete 07:32:31 04944245beec: Pull complete 07:32:33 699f458cf7ca: Pull complete 07:32:33 765212b225bb: Pull complete 07:32:34 f23df028b6ca: Pull complete 07:32:34 d65c8cfc05b1: Pull complete 07:32:49 2437ff75d9bd: Pull complete 07:32:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:32:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:32:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:49 prd-ubuntu20.04-docker-arm64-4c-16g-4765 does not seem to be running inside a container 07:32:49 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:32:52 $ docker top c5527e6887fb38e7d6dad22b6417dfaefcd20d7cb941f40403a90eec4c03108c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:52 ---> job-cost.sh 07:32:52 lf-activate-venv: SKIPPING 07:32:52 INFO: No Stack... 07:32:53 INFO: Retrieving Pricing Info for: v3-standard-4 07:32:54 INFO: Archiving Costs [Pipeline] sh 07:32:54 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 07:32:54 + cut -d, -f6 [Pipeline] lock 07:32:54 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-436-2-stack-cost] 07:32:54 Resource [jenkins-edgexfoundry-device-modbus-go-PR-436-2-stack-cost] did not exist. Created. 07:32:54 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-436-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:32:55 /w/workspace/device-modbus-go/2@tmp/durable-4a84f8c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:32:56 + echo total: 0.10999999940395355 [Pipeline] stash 07:32:56 Warning: overwriting stash ‘stack-cost’ 07:32:56 Stashed 1 file(s) [Pipeline] } 07:32:56 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-436-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:32:56 $ docker stop --time=1 c5527e6887fb38e7d6dad22b6417dfaefcd20d7cb941f40403a90eec4c03108c 07:32:57 $ docker rm -f --volumes c5527e6887fb38e7d6dad22b6417dfaefcd20d7cb941f40403a90eec4c03108c [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 07:32:58 provisioning config files... 07:32:58 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/config14120295843219593700tmp [Pipeline] { [Pipeline] sh 07:32:58 + set +x 07:32:58 + curl -s https://codecov.io/bash 07:32:58 + bash -s -- 07:32:58 07:32:58 _____ _ 07:32:58 / ____| | | 07:32:58 | | ___ __| | ___ ___ _____ __ 07:32:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:32:58 | |___| (_) | (_| | __/ (_| (_) \ V / 07:32:58 \_____\___/ \__,_|\___|\___\___/ \_/ 07:32:58 Bash-1.0.6 07:32:58 07:32:58 07:32:58 ==> git version 2.25.1 found 07:32:58 ==> 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 07:32:58 Release-Date: 2020-01-08 07:32:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:32:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:32:58 ==> Jenkins CI detected. 07:32:58 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-436 07:32:58 project root: . 07:32:58 --> token set from env 07:32:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:32:58 ==> Running gcov in . (disable via -X gcov) 07:32:58 ==> Python coveragepy not found 07:32:58 ==> Searching for coverage reports in: 07:32:58 + . 07:32:58 -> Found 1 reports 07:32:58 ==> Detecting git/mercurial file structure 07:32:58 ==> Reading reports 07:32:58 + ./coverage.out bytes=23736 07:32:58 ==> Appending adjustments 07:32:58 https://docs.codecov.io/docs/fixing-reports 07:32:58 + Found adjustments 07:32:58 ==> Gzipping contents 07:32:58 4.0K /tmp/codecov.L9OxlI.gz 07:32:58 ==> Uploading reports 07:32:58 url: https://codecov.io 07:32:58 query: branch=PR-436&commit=1870b88e3248f0b8d4ab9983e3d7509f0e57abe1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-436%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=436&job=&cmd_args= 07:32:58 -> Pinging Codecov 07:32:58 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=1870b88e3248f0b8d4ab9983e3d7509f0e57abe1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-436%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=436&job=&cmd_args= 07:32:58 -> Uploading to 07:32:58 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/55DBCA73C666E3227836607328DD7E49/1870b88e3248f0b8d4ab9983e3d7509f0e57abe1/7633224f-e679-46eb-a870-c1ce3b88a269.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T073258Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d406367ac50c763fa3b8518510a03deb81aa67b2d0ab4d5f8a80ad10aecd4717 07:32:58 % Total % Received % Xferd Average Speed Time Time Time Current 07:32:58 Dload Upload Total Spent Left Speed 07:32:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 13432 --:--:-- --:--:-- --:--:-- 13479 07:32:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1870b88e3248f0b8d4ab9983e3d7509f0e57abe1 [Pipeline] } 07:32:59 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 07:32:59 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-436/archives ] 07:32:59 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-436/archives 07:32:59 total 16 07:32:59 drwxr-xr-x 3 root root 4096 Mar 21 07:21 . 07:32:59 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 07:21 .. 07:32:59 drwxr-xr-x 2 root root 4096 Mar 21 07:21 cost 07:32:59 -rw-r--r-- 1 root root 88 Mar 21 07:21 cost.csv 07:32:59 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-436/archives 07:32:59 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-436/archives 07:32:59 total 16 07:32:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 07:21 . 07:32:59 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 07:21 .. 07:32:59 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 07:21 cost 07:32:59 -rw-r--r-- 1 jenkins jenkins 88 Mar 21 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:33:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:33:00 ---> package-listing.sh 07:33:00 ++ facter osfamily 07:33:00 ++ tr '[:upper:]' '[:lower:]' 07:33:01 + OS_FAMILY=debian 07:33:01 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-436 07:33:01 + START_PACKAGES=/tmp/packages_start.txt 07:33:01 + END_PACKAGES=/tmp/packages_end.txt 07:33:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:33:01 + PACKAGES=/tmp/packages_start.txt 07:33:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-436 ']' 07:33:01 + PACKAGES=/tmp/packages_end.txt 07:33:01 + case "${OS_FAMILY}" in 07:33:01 + dpkg -l 07:33:01 + grep '^ii' 07:33:01 + '[' -f /tmp/packages_start.txt ']' 07:33:01 + '[' -f /tmp/packages_end.txt ']' 07:33:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:33:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-436 ']' 07:33:01 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-436/archives/ 07:33:01 + 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 07:33:01 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 07:33:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:33:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:02 prd-ubuntu20.04-docker-8c-8g-4762 does not seem to be running inside a container 07:33:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:33:02 $ docker top f6e2d637e195c3f75676f1cdff4f84e1c2feaae55a8c9e01290c672a6d661879 -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:02 + touch /tmp/pre-build-complete [Pipeline] sh 07:33:02 + mkdir -p /var/log/sysstat [Pipeline] sh 07:33:03 + ls /var/log/sa-host 07:33:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:33:03 provisioning config files... 07:33:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-436@tmp/config15441756530126438065tmp [Pipeline] { [Pipeline] echo 07:33:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:33:03 ---> create-netrc.sh [Pipeline] } 07:33:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:33:03 ---> python-tools-install.sh [Pipeline] echo 07:33:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:33:04 ---> sudo-logs.sh 07:33:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:33:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:33:04 ---> job-cost.sh 07:33:04 lf-activate-venv: SKIPPING 07:33:04 DEBUG: total: 0.2199999988079071 07:33:04 INFO: Retrieving Stack Cost... 07:33:04 INFO: Retrieving Pricing Info for: v3-standard-8 07:33:05 INFO: Archiving Costs [Pipeline] echo 07:33:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:33:05 ---> logs-deploy.sh 07:33:05 lf-activate-venv: SKIPPING 07:33:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-436/2 07:33:05 INFO: archiving workspace using pattern(s): 07:33:06 Archives upload complete. 07:33:06 INFO: archiving logs to Nexus