Pull request #454 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d8b9e115df0f30ec274a94b948d40a836fb607d6+55987cd457f5f1a930ff560b78c1acf5044fc241 (eeb3f37d54678664ff0530db107d07d34c6f52c3) 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-ssh17945751334315329596.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1746656441009013444.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-454/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-454/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14144040368165196601.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh13429970547961290646.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-454/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-454/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1168703864305174280.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 ‘prd-ubuntu20.04-docker-8c-8g-8405’ Running on prd-ubuntu20.04-docker-8c-8g-8409 in /w/workspace/xfoundry_device-modbus-go_PR-454 [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-454 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/454/head:refs/remotes/origin/PR-454 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 55987cd457f5f1a930ff560b78c1acf5044fc241 into PR head commit d8b9e115df0f30ec274a94b948d40a836fb607d6 Merge succeeded, producing d8b9e115df0f30ec274a94b948d40a836fb607d6 Checking out Revision d8b9e115df0f30ec274a94b948d40a836fb607d6 (PR-454) 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:05:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:05:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:05:08 ========================================================= 07:05:08 EdgeX Global Pipelines Version Info 07:05:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d8b9e115df0f30ec274a94b948d40a836fb607d6 # 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 55987cd457f5f1a930ff560b78c1acf5044fc241 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8b9e115df0f30ec274a94b948d40a836fb607d6 # timeout=10 > git rev-list --no-walk 053c65cf7e30819e772288e4b058f2e640903b4d # timeout=10 07:05:09 ------------------- 07:05:09 stable info: 07:05:09 ------------------- 07:05:09 Commited By: Bill Mahoney bill.mahoney@intel.com 07:05:09 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:05:09 Message: update stable to v1.0.248 07:05:10 ------------------- 07:05:10 experimental info: 07:05:10 ------------------- 07:05:10 Commited By: **** collab-it+edgex@linuxfoundation.org 07:05:10 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:05:10 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-454 [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-454 [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-454 [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8b9e115df0f30ec274a94b948d40a836fb607d6 [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8b9e11 [Pipeline] echo 07:05:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:05:10 provisioning config files... 07:05:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-454@tmp/config17953833431724604581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:05:11 ---> docker-login.sh 07:05:11 nexus3.edgexfoundry.org:10001 07:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:12 Configure a credential helper to remove this warning. See 07:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:12 07:05:12 Login Succeeded 07:05:12 nexus3.edgexfoundry.org:10002 07:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:12 Configure a credential helper to remove this warning. See 07:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:12 07:05:12 Login Succeeded 07:05:12 nexus3.edgexfoundry.org:10003 07:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:12 Configure a credential helper to remove this warning. See 07:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:12 07:05:12 Login Succeeded 07:05:12 nexus3.edgexfoundry.org:10004 07:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:12 Configure a credential helper to remove this warning. See 07:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:12 07:05:12 Login Succeeded 07:05:12 docker.io 07:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:12 Configure a credential helper to remove this warning. See 07:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:12 07:05:12 Login Succeeded 07:05:12 ---> docker-login.sh ends [Pipeline] } 07:05:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:05:13 + git rev-list -1 --merges d8b9e115df0f30ec274a94b948d40a836fb607d6~1..d8b9e115df0f30ec274a94b948d40a836fb607d6 [Pipeline] echo 07:05:13 -----------> git rev-list -1 --merges d8b9e115df0f30ec274a94b948d40a836fb607d6~1..d8b9e115df0f30ec274a94b948d40a836fb607d6 d8b9e115df0f30ec274a94b948d40a836fb607d6 [false] [Pipeline] sh 07:05:13 + git log --format=format:%s -1 d8b9e115df0f30ec274a94b948d40a836fb607d6 [Pipeline] echo 07:05:13 ========================================================= 07:05:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:05:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:05:13 + git log --format=format:%s -1 d8b9e115df0f30ec274a94b948d40a836fb607d6 [Pipeline] echo 07:05:13 [semverPrep] GIT_COMMIT: d8b9e115df0f30ec274a94b948d40a836fb607d6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 07:05:13 [semverPrep] This is not a build commit. [Pipeline] sh 07:05:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:05:14 + grep -v github /etc/ssh/ssh_known_hosts 07:05:14 + [ -e /tmp/ssh_known_hosts ] 07:05:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:05:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:05:14 + sudo tee -a /etc/ssh/ssh_known_hosts 07:05:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:05:14 07:05:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:05:14 0.1.4: Pulling from edgex-devops/py-git-semver 07:05:14 b85a868b505f: Pulling fs layer 07:05:14 e2be974225ed: Pulling fs layer 07:05:14 339a4e72a1f5: Pulling fs layer 07:05:14 988bab9f4d93: Pulling fs layer 07:05:14 1469e6f7b9e6: Pulling fs layer 07:05:14 eaf3925da568: Pulling fs layer 07:05:14 bab4dde63d76: Pulling fs layer 07:05:14 bde34c3a00c8: Pulling fs layer 07:05:14 b352a97aabf1: Pulling fs layer 07:05:14 4872d77fe225: Pulling fs layer 07:05:14 5851b861e8e6: Pulling fs layer 07:05:14 eaf3925da568: Waiting 07:05:14 bab4dde63d76: Waiting 07:05:14 4872d77fe225: Waiting 07:05:14 5851b861e8e6: Waiting 07:05:14 bde34c3a00c8: Waiting 07:05:14 b352a97aabf1: Waiting 07:05:14 988bab9f4d93: Waiting 07:05:14 1469e6f7b9e6: Waiting 07:05:14 e2be974225ed: Download complete 07:05:14 988bab9f4d93: Download complete 07:05:14 1469e6f7b9e6: Verifying Checksum 07:05:14 1469e6f7b9e6: Download complete 07:05:14 339a4e72a1f5: Verifying Checksum 07:05:14 339a4e72a1f5: Download complete 07:05:14 eaf3925da568: Verifying Checksum 07:05:14 eaf3925da568: Download complete 07:05:14 bde34c3a00c8: Verifying Checksum 07:05:14 bde34c3a00c8: Download complete 07:05:14 b352a97aabf1: Download complete 07:05:14 4872d77fe225: Download complete 07:05:14 5851b861e8e6: Verifying Checksum 07:05:14 5851b861e8e6: Download complete 07:05:14 b85a868b505f: Verifying Checksum 07:05:14 b85a868b505f: Download complete 07:05:15 bab4dde63d76: Verifying Checksum 07:05:15 bab4dde63d76: Download complete 07:05:16 b85a868b505f: Pull complete 07:05:16 e2be974225ed: Pull complete 07:05:16 339a4e72a1f5: Pull complete 07:05:16 988bab9f4d93: Pull complete 07:05:16 1469e6f7b9e6: Pull complete 07:05:16 eaf3925da568: Pull complete 07:05:18 bab4dde63d76: Pull complete 07:05:18 bde34c3a00c8: Pull complete 07:05:18 b352a97aabf1: Pull complete 07:05:18 4872d77fe225: Pull complete 07:05:18 5851b861e8e6: Pull complete 07:05:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:05:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:05:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:05:19 prd-ubuntu20.04-docker-8c-8g-8409 does not seem to be running inside a container 07:05:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-454 -v /w/workspace/xfoundry_device-modbus-go_PR-454:/w/workspace/xfoundry_device-modbus-go_PR-454:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-454@tmp:/w/workspace/xfoundry_device-modbus-go_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:05:23 $ docker top 321d0035dd44bb4785083d4a24649c110c6d4e70e8e570b98dce7029d30777ff -eo pid,comm 07:05:23 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:05:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:05:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:05:23 [ssh-agent] Looking for ssh-agent implementation... 07:05:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:05:23 $ docker exec 321d0035dd44bb4785083d4a24649c110c6d4e70e8e570b98dce7029d30777ff ssh-agent 07:05:23 SSH_AUTH_SOCK=/tmp/ssh-aRpKmtkWAHTf/agent.32 07:05:23 SSH_AGENT_PID=38 07:05:23 Running ssh-add (command line suppressed) 07:05:23 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-454@tmp/private_key_14871833659435804978.key (/w/workspace/xfoundry_device-modbus-go_PR-454@tmp/private_key_14871833659435804978.key) 07:05:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:05:24 + git tag --points-at HEAD [Pipeline] } 07:05:24 $ docker exec --env ******** --env ******** 321d0035dd44bb4785083d4a24649c110c6d4e70e8e570b98dce7029d30777ff ssh-agent -k 07:05:24 unset SSH_AUTH_SOCK; 07:05:24 unset SSH_AGENT_PID; 07:05:24 echo Agent pid 38 killed; 07:05:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:05:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:05:24 [ssh-agent] Looking for ssh-agent implementation... 07:05:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:05:24 $ docker exec 321d0035dd44bb4785083d4a24649c110c6d4e70e8e570b98dce7029d30777ff ssh-agent 07:05:24 SSH_AUTH_SOCK=/tmp/ssh-wBW86eKZG2ff/agent.71 07:05:24 SSH_AGENT_PID=77 07:05:24 Running ssh-add (command line suppressed) 07:05:24 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-454@tmp/private_key_12039089831898900166.key (/w/workspace/xfoundry_device-modbus-go_PR-454@tmp/private_key_12039089831898900166.key) 07:05:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:05:24 + git semver init 07:05:25 2023-04-13 07:05:25,088 [run_init] DEBUG init version:0.0.0 force:False 07:05:25 2023-04-13 07:05:25,089 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-454/.semver 07:05:25 2023-04-13 07:05:25,090 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-454/.semver 07:05:25 2023-04-13 07:05:25,090 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-454/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-454, universal_newlines=False, shell=None, istream=None) 07:05:26 2023-04-13 07:05:26,023 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-454/.git/info/exclude 07:05:26 2023-04-13 07:05:26,024 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-454/.semver/PR-454 with force:False 07:05:26 2023-04-13 07:05:26,024 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-454/.semver/PR-454 07:05:26 2023-04-13 07:05:26,029 [execute] INFO git cat-file --batch-check 07:05:26 2023-04-13 07:05:26,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-454/.semver, universal_newlines=False, shell=None, istream=) 07:05:26 2023-04-13 07:05:26,036 [execute] INFO git cat-file --batch 07:05:26 2023-04-13 07:05:26,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-454/.semver, universal_newlines=False, shell=None, istream=) 07:05:26 2023-04-13 07:05:26,041 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-454/.semver/PR-454 07:05:26 0.0.0 [Pipeline] } 07:05:26 $ docker exec --env ******** --env ******** 321d0035dd44bb4785083d4a24649c110c6d4e70e8e570b98dce7029d30777ff ssh-agent -k 07:05:26 unset SSH_AUTH_SOCK; 07:05:26 unset SSH_AGENT_PID; 07:05:26 echo Agent pid 77 killed; 07:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:05:26 + git semver [Pipeline] } 07:05:26 $ docker stop --time=1 321d0035dd44bb4785083d4a24649c110c6d4e70e8e570b98dce7029d30777ff 07:05:28 $ docker rm -f --volumes 321d0035dd44bb4785083d4a24649c110c6d4e70e8e570b98dce7029d30777ff [Pipeline] // withDockerContainer [Pipeline] sh 07:05:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:05:28 Stashed 1 file(s) [Pipeline] echo 07:05:28 [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:05:28 provisioning config files... 07:05:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-454@tmp/config5969095194359483159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:05:29 ---> docker-login.sh 07:05:29 nexus3.edgexfoundry.org:10001 07:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:29 Configure a credential helper to remove this warning. See 07:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:29 07:05:29 Login Succeeded 07:05:29 nexus3.edgexfoundry.org:10002 07:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:29 Configure a credential helper to remove this warning. See 07:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:29 07:05:29 Login Succeeded 07:05:29 nexus3.edgexfoundry.org:10003 07:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:29 Configure a credential helper to remove this warning. See 07:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:29 07:05:29 Login Succeeded 07:05:29 nexus3.edgexfoundry.org:10004 07:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:29 Configure a credential helper to remove this warning. See 07:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:29 07:05:29 Login Succeeded 07:05:29 docker.io 07:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:29 Configure a credential helper to remove this warning. See 07:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:29 07:05:29 Login Succeeded 07:05:29 ---> docker-login.sh ends [Pipeline] } 07:05:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:05:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:05:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:05:29 ========================================================= 07:05:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:05:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:30 + 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:05:30 Sending build context to Docker daemon 6.426MB 07:05:30 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:05:30 Step 2/10 : FROM ${BASE} AS builder 07:05:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:05:30 63b65145d645: Pulling fs layer 07:05:30 a2d21d5440eb: Pulling fs layer 07:05:30 935e6c44a52c: Pulling fs layer 07:05:30 94cc34f8dd06: Pulling fs layer 07:05:30 30dea6a524f1: Pulling fs layer 07:05:30 a2aff8979fd8: Pulling fs layer 07:05:30 6808be2612f2: Pulling fs layer 07:05:30 f25807f1079a: Pulling fs layer 07:05:30 94cc34f8dd06: Waiting 07:05:30 30dea6a524f1: Waiting 07:05:30 a2aff8979fd8: Waiting 07:05:30 f25807f1079a: Waiting 07:05:30 6808be2612f2: Waiting 07:05:30 a2d21d5440eb: Verifying Checksum 07:05:30 a2d21d5440eb: Download complete 07:05:30 94cc34f8dd06: Verifying Checksum 07:05:30 94cc34f8dd06: Download complete 07:05:30 30dea6a524f1: Verifying Checksum 07:05:30 30dea6a524f1: Download complete 07:05:30 63b65145d645: Verifying Checksum 07:05:30 63b65145d645: Download complete 07:05:30 a2aff8979fd8: Verifying Checksum 07:05:30 a2aff8979fd8: Download complete 07:05:30 63b65145d645: Pull complete 07:05:30 a2d21d5440eb: Pull complete 07:05:30 f25807f1079a: Verifying Checksum 07:05:30 f25807f1079a: Download complete 07:05:30 935e6c44a52c: Verifying Checksum 07:05:30 935e6c44a52c: Download complete 07:05:30 6808be2612f2: Verifying Checksum 07:05:30 6808be2612f2: Download complete 07:05:34 935e6c44a52c: Pull complete 07:05:34 94cc34f8dd06: Pull complete 07:05:34 30dea6a524f1: Pull complete 07:05:34 a2aff8979fd8: Pull complete 07:05:36 6808be2612f2: Pull complete 07:05:36 f25807f1079a: Pull complete 07:05:37 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:05:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:05:37 ---> 3b553350e43f 07:05:37 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:05:43 Still waiting to schedule task 07:05:43 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8406’ 07:05:45 ---> Running in 634b1b8a9d34 07:05:45 Removing intermediate container 634b1b8a9d34 07:05:45 ---> ba60397cc269 07:05:45 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:05:45 ---> Running in 0d478b9b2199 07:05:45 Removing intermediate container 0d478b9b2199 07:05:45 ---> 4ca4fba40c93 07:05:45 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:05:45 ---> Running in f10ac5e961f3 07:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:05:46 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:05:46 (2/8) Installing libedit (20221030.3.1-r0) 07:05:46 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:05:46 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:05:46 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:05:46 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:05:46 (7/8) Installing openssh-server (9.1_p1-r2) 07:05:46 (8/8) Installing openssh (9.1_p1-r2) 07:05:46 Executing busybox-1.35.0-r29.trigger 07:05:46 OK: 270 MiB in 61 packages 07:05:48 Removing intermediate container f10ac5e961f3 07:05:48 ---> 0efe8445d9ef 07:05:48 Step 6/10 : WORKDIR /device-modbus-go 07:05:48 ---> Running in 903584d6051b 07:05:48 Removing intermediate container 903584d6051b 07:05:48 ---> 13d97d287563 07:05:48 Step 7/10 : COPY go.mod vendor* ./ 07:05:48 ---> 65bf09836fd2 07:05:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:05:48 ---> Running in c89150a121b4 07:06:20 Removing intermediate container c89150a121b4 07:06:20 ---> 771139ecf6d1 07:06:20 Step 9/10 : COPY . . 07:06:20 ---> 1c7ff070e6b7 07:06:20 Step 10/10 : RUN ${MAKE} 07:06:20 ---> Running in fffe5b22be0a 07:06:20 noop 07:06:20 Removing intermediate container fffe5b22be0a 07:06:20 ---> b001a9f656c9 07:06:20 Successfully built b001a9f656c9 07:06:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:21 + docker inspect -f . ci-base-image-x86_64 07:06:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:06:21 prd-ubuntu20.04-docker-8c-8g-8409 does not seem to be running inside a container 07:06:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-454 -v /w/workspace/xfoundry_device-modbus-go_PR-454:/w/workspace/xfoundry_device-modbus-go_PR-454:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-454@tmp:/w/workspace/xfoundry_device-modbus-go_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:06:21 $ docker top d5f25fac85107b0300c569c043516f9c0edb6cd75d3e1042cc9397e161453b3e -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:21 + go version 07:06:21 go version go1.20.2 linux/amd64 [Pipeline] } 07:06:22 $ docker stop --time=1 d5f25fac85107b0300c569c043516f9c0edb6cd75d3e1042cc9397e161453b3e 07:06:23 $ docker rm -f --volumes d5f25fac85107b0300c569c043516f9c0edb6cd75d3e1042cc9397e161453b3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:23 + docker inspect -f . ci-base-image-x86_64 07:06:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:06:23 prd-ubuntu20.04-docker-8c-8g-8409 does not seem to be running inside a container 07:06:23 $ 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-454 -v /w/workspace/xfoundry_device-modbus-go_PR-454:/w/workspace/xfoundry_device-modbus-go_PR-454:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-454@tmp:/w/workspace/xfoundry_device-modbus-go_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:06:24 $ docker top 062a0930536bda21030f6dbfaf317b16af4f2862d230509620f4db59f86b04e0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:24 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-454 [Pipeline] fileExists [Pipeline] sh 07:06:24 + make test 07:06:24 go test ./... -coverprofile=coverage.out 07:06:30 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:06:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:06:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.5% of statements 07:06:44 go vet ./... 07:06:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:06:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:06:47 ./bin/test-attribution-txt.sh 07:06:47 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:06:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:06:47 $ docker stop --time=1 062a0930536bda21030f6dbfaf317b16af4f2862d230509620f4db59f86b04e0 07:06:52 $ docker rm -f --volumes 062a0930536bda21030f6dbfaf317b16af4f2862d230509620f4db59f86b04e0 [Pipeline] // withDockerContainer [Pipeline] sh 07:06:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:06:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:06:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:06:53 + ls -al . 07:06:53 total 180 07:06:53 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:06 . 07:06:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:05 .. 07:06:53 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 07:05 .dockerignore 07:06:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:05 .git 07:06:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:05 .github 07:06:53 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 07:05 .gitignore 07:06:53 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:05 .golangci.yml 07:06:53 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:05 .semver 07:06:53 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 07:05 Attribution.txt 07:06:53 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 07:05 CHANGELOG.md 07:06:53 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 07:05 Dockerfile 07:06:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:05 GOVERNANCE.md 07:06:53 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 07:05 Jenkinsfile 07:06:53 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:05 LICENSE 07:06:53 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 07:05 Makefile 07:06:53 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 07:05 OWNERS.md 07:06:53 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 07:05 README.md 07:06:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 07:05 VERSION 07:06:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:05 bin 07:06:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:05 cmd 07:06:53 -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 07:06 coverage.out 07:06:53 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 07:05 go.mod 07:06:53 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 07:05 go.sum 07:06:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:05 internal 07:06:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:05 simulator 07:06:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:05 snap 07:06:53 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 07:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:53 + 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=d8b9e115df0f30ec274a94b948d40a836fb607d6 --label arch=amd64 --label version=0.0.0 . 07:06:53 Sending build context to Docker daemon 6.451MB 07:06:53 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:06:53 Step 2/22 : FROM ${BASE} AS builder 07:06:53 ---> b001a9f656c9 07:06:53 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:06:53 ---> Running in ab85c876bc2c 07:06:53 Removing intermediate container ab85c876bc2c 07:06:53 ---> 0867749e7b9d 07:06:53 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:06:53 ---> Running in d15be88734b1 07:06:53 Removing intermediate container d15be88734b1 07:06:53 ---> 1c223ccb25ac 07:06:53 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:06:53 ---> Running in 9bacbbd27623 07:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:06:54 OK: 270 MiB in 61 packages 07:06:54 Removing intermediate container 9bacbbd27623 07:06:54 ---> 3956bc62371e 07:06:54 Step 6/22 : WORKDIR /device-modbus-go 07:06:54 ---> Running in bfce5321ccc4 07:06:54 Removing intermediate container bfce5321ccc4 07:06:54 ---> 57fe6cf148f7 07:06:54 Step 7/22 : COPY go.mod vendor* ./ 07:06:55 ---> f31565329d08 07:06:55 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:06:55 ---> Running in d705b5fac2dd 07:06:56 Removing intermediate container d705b5fac2dd 07:06:56 ---> a6ea6364081f 07:06:56 Step 9/22 : COPY . . 07:06:56 ---> c10bdf136007 07:06:56 Step 10/22 : RUN ${MAKE} 07:06:56 ---> Running in bc76bbf320bd 07:06:56 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:07:18 Removing intermediate container bc76bbf320bd 07:07:18 ---> 17f749f0e04f 07:07:18 Step 11/22 : FROM alpine:3.17 07:07:18 3.17: Pulling from library/alpine 07:07:18 f56be85fc22e: Pulling fs layer 07:07:18 f56be85fc22e: Verifying Checksum 07:07:18 f56be85fc22e: Download complete 07:07:18 f56be85fc22e: Pull complete 07:07:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:07:18 Status: Downloaded newer image for alpine:3.17 07:07:18 ---> 9ed4aefc74f6 07:07:18 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:07:18 ---> Running in 4beb902aa155 07:07:18 Removing intermediate container 4beb902aa155 07:07:18 ---> dee8fa014198 07:07:18 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:07:18 ---> Running in 03c1684a6e25 07:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:07:18 (1/1) Installing dumb-init (1.2.5-r2) 07:07:18 Executing busybox-1.35.0-r29.trigger 07:07:18 OK: 7 MiB in 16 packages 07:07:18 Removing intermediate container 03c1684a6e25 07:07:18 ---> fc3a9ec8c3d3 07:07:18 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:07:18 ---> 59ba31f89f1d 07:07:18 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:07:18 ---> b0faf7018f8b 07:07:18 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:07:18 ---> d50cffb4747f 07:07:18 Step 17/22 : EXPOSE 59901 07:07:18 ---> Running in a9ee62679dc4 07:07:18 Removing intermediate container a9ee62679dc4 07:07:18 ---> 5e05ff5db9c7 07:07:18 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:07:18 ---> Running in 6ecc298451ea 07:07:18 Removing intermediate container 6ecc298451ea 07:07:18 ---> c0c5df3c6e01 07:07:18 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:07:18 ---> Running in dc23d0cfd3c5 07:07:18 Removing intermediate container dc23d0cfd3c5 07:07:18 ---> 0eac1ab8e12f 07:07:18 Step 20/22 : LABEL arch=amd64 07:07:18 ---> Running in 7f8e366ce000 07:07:18 Removing intermediate container 7f8e366ce000 07:07:18 ---> 7d5deffe75eb 07:07:18 Step 21/22 : LABEL git_sha=d8b9e115df0f30ec274a94b948d40a836fb607d6 07:07:18 ---> Running in 12d88c08e10d 07:07:18 Removing intermediate container 12d88c08e10d 07:07:18 ---> 33e438b9061b 07:07:18 Step 22/22 : LABEL version=0.0.0 07:07:18 ---> Running in 5a8ab438d84c 07:07:18 Removing intermediate container 5a8ab438d84c 07:07:18 ---> 8c72f8138f45 07:07:18 [Warning] One or more build-args [ARCH] were not consumed 07:07:18 Successfully built 8c72f8138f45 07:07:18 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:07:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:07:19 07:07:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:07:19 latest: Pulling from edgex-lftools-log-publisher 07:07:19 5eb5b503b376: Pulling fs layer 07:07:19 5c69ac0246d0: Pulling fs layer 07:07:19 ec43610c2a17: Pulling fs layer 07:07:19 3a2ae6a8a46f: Pulling fs layer 07:07:19 33b1e0a273af: Pulling fs layer 07:07:19 5d3b04190fa2: Pulling fs layer 07:07:19 2f39f015ded8: Pulling fs layer 07:07:19 3a2ae6a8a46f: Waiting 07:07:19 33b1e0a273af: Waiting 07:07:19 5d3b04190fa2: Waiting 07:07:19 ec43610c2a17: Verifying Checksum 07:07:19 ec43610c2a17: Download complete 07:07:19 3a2ae6a8a46f: Verifying Checksum 07:07:19 3a2ae6a8a46f: Download complete 07:07:19 33b1e0a273af: Verifying Checksum 07:07:19 33b1e0a273af: Download complete 07:07:19 5d3b04190fa2: Verifying Checksum 07:07:19 5d3b04190fa2: Download complete 07:07:19 5c69ac0246d0: Download complete 07:07:20 5eb5b503b376: Verifying Checksum 07:07:20 5eb5b503b376: Download complete 07:07:20 2f39f015ded8: Verifying Checksum 07:07:20 2f39f015ded8: Download complete 07:07:20 5eb5b503b376: Pull complete 07:07:21 5c69ac0246d0: Pull complete 07:07:21 ec43610c2a17: Pull complete 07:07:21 3a2ae6a8a46f: Pull complete 07:07:21 33b1e0a273af: Pull complete 07:07:22 5d3b04190fa2: Pull complete 07:07:26 2f39f015ded8: Pull complete 07:07:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:07:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:07:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:07:26 prd-ubuntu20.04-docker-8c-8g-8409 does not seem to be running inside a container 07:07:26 $ 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-454 -v /w/workspace/xfoundry_device-modbus-go_PR-454:/w/workspace/xfoundry_device-modbus-go_PR-454:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-454@tmp:/w/workspace/xfoundry_device-modbus-go_PR-454@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:07:30 $ docker top 39aaf67caedc727cfa28caf84183efdf81d7712bc65f6c476c1fbd515c5cf061 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:07:31 ---> job-cost.sh 07:07:31 lf-activate-venv: SKIPPING 07:07:31 INFO: No Stack... 07:07:31 INFO: Retrieving Pricing Info for: v3-standard-8 07:07:31 INFO: Archiving Costs [Pipeline] sh 07:07:32 + cat /w/workspace/xfoundry_device-modbus-go_PR-454/archives/cost.csv 07:07:32 + cut -d, -f6 [Pipeline] lock 07:07:32 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-454-2-stack-cost] 07:07:32 Resource [jenkins-edgexfoundry-device-modbus-go-PR-454-2-stack-cost] did not exist. Created. 07:07:32 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-454-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:07:32 + echo total: 0.2199999988079071 [Pipeline] stash 07:07:32 Stashed 1 file(s) [Pipeline] } 07:07:32 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-454-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:07:32 $ docker stop --time=1 39aaf67caedc727cfa28caf84183efdf81d7712bc65f6c476c1fbd515c5cf061 07:07:33 $ docker rm -f --volumes 39aaf67caedc727cfa28caf84183efdf81d7712bc65f6c476c1fbd515c5cf061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:08:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8412 in /w/workspace/xfoundry_device-modbus-go_PR-454 [Pipeline] { [Pipeline] ws 07:08:51 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 07:08:51 Selected Git installation does not exist. Using Default 07:08:51 The recommended git tool is: NONE 07:09:00 using credential edgex-jenkins-ssh 07:09:00 Cloning the remote Git repository 07:09:00 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:09:00 > git init /w/workspace/device-modbus-go/2 # timeout=10 07:09:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:09:01 > git --version # timeout=10 07:09:01 > git --version # 'git version 2.25.1' 07:09:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:09:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:09:03 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:09:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:09:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:09:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:09:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:09:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/454/head:refs/remotes/origin/PR-454 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:09:05 Merging remotes/origin/main commit 55987cd457f5f1a930ff560b78c1acf5044fc241 into PR head commit d8b9e115df0f30ec274a94b948d40a836fb607d6 07:09:05 Merge succeeded, producing d8b9e115df0f30ec274a94b948d40a836fb607d6 07:09:05 Checking out Revision d8b9e115df0f30ec274a94b948d40a836fb607d6 (PR-454) 07:09:05 > git config core.sparsecheckout # timeout=10 07:09:05 > git checkout -f d8b9e115df0f30ec274a94b948d40a836fb607d6 # timeout=10 07:09:05 > git remote # timeout=10 07:09:05 > git config --get remote.origin.url # timeout=10 07:09:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:09:05 > git merge 55987cd457f5f1a930ff560b78c1acf5044fc241 # timeout=10 07:09:05 > git rev-parse HEAD^{commit} # timeout=10 07:09:05 > git config core.sparsecheckout # timeout=10 07:09:05 > git checkout -f d8b9e115df0f30ec274a94b948d40a836fb607d6 # timeout=10 07:09:06 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:09:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:09:08 % Total % Received % Xferd Average Speed Time Time Time Current 07:09:08 Dload Upload Total Spent Left Speed 07:09:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh 07:09:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:09:09 + sudo tee /etc/docker/daemon.new 07:09:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:09:09 { 07:09:09 "registry-mirrors": [ 07:09:09 "https://nexus3.edgexfoundry.org:10001" 07:09:09 ], 07:09:09 "bip": "10.250.0.254/24", 07:09:09 "hosts": [ 07:09:09 "tcp://0.0.0.0:5555", 07:09:09 "unix:///var/run/docker.sock" 07:09:09 ], 07:09:09 "mtu": 1458, 07:09:09 "selinux-enabled": true, 07:09:09 "seccomp-profile": "/etc/docker/seccomp.json" 07:09:09 } [Pipeline] sh 07:09:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:09:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:09:28 provisioning config files... 07:09:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config15133430513140345386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:09:28 ---> docker-login.sh 07:09:28 nexus3.edgexfoundry.org:10001 07:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:29 Configure a credential helper to remove this warning. See 07:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:29 07:09:29 Login Succeeded 07:09:29 nexus3.edgexfoundry.org:10002 07:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:29 Configure a credential helper to remove this warning. See 07:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:29 07:09:29 Login Succeeded 07:09:29 nexus3.edgexfoundry.org:10003 07:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:30 Configure a credential helper to remove this warning. See 07:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:30 07:09:30 Login Succeeded 07:09:30 nexus3.edgexfoundry.org:10004 07:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:30 Configure a credential helper to remove this warning. See 07:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:30 07:09:30 Login Succeeded 07:09:30 docker.io 07:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:30 Configure a credential helper to remove this warning. See 07:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:30 07:09:30 Login Succeeded 07:09:31 ---> docker-login.sh ends [Pipeline] } 07:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:09:31 ========================================================= 07:09:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:09:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:31 + 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:09:32 Sending build context to Docker daemon 3.354MB 07:09:32 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:09:32 Step 2/10 : FROM ${BASE} AS builder 07:09:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:09:32 af6eaf76a39c: Pulling fs layer 07:09:32 55522c791124: Pulling fs layer 07:09:32 ce5c4a1c91eb: Pulling fs layer 07:09:32 169dfbe0d373: Pulling fs layer 07:09:32 e1ff8fa3b103: Pulling fs layer 07:09:32 52ebb69f0ebf: Pulling fs layer 07:09:32 5abe8eddf0d5: Pulling fs layer 07:09:32 169dfbe0d373: Waiting 07:09:32 e1ff8fa3b103: Waiting 07:09:32 52ebb69f0ebf: Waiting 07:09:32 5abe8eddf0d5: Waiting 07:09:32 55522c791124: Download complete 07:09:32 169dfbe0d373: Download complete 07:09:32 e1ff8fa3b103: Verifying Checksum 07:09:32 e1ff8fa3b103: Download complete 07:09:32 af6eaf76a39c: Download complete 07:09:33 5abe8eddf0d5: Verifying Checksum 07:09:33 5abe8eddf0d5: Download complete 07:09:34 ce5c4a1c91eb: Verifying Checksum 07:09:34 52ebb69f0ebf: Verifying Checksum 07:09:34 52ebb69f0ebf: Download complete 07:09:35 af6eaf76a39c: Pull complete 07:09:35 55522c791124: Pull complete 07:09:45 ce5c4a1c91eb: Pull complete 07:09:45 169dfbe0d373: Pull complete 07:09:45 e1ff8fa3b103: Pull complete 07:09:52 52ebb69f0ebf: Pull complete 07:09:53 5abe8eddf0d5: Pull complete 07:09:53 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:09:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:09:53 ---> 6cb57ee374ae 07:09:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:09:55 ---> Running in 6f87b34fec07 07:09:55 Removing intermediate container 6f87b34fec07 07:09:55 ---> 7ac7346ef4bc 07:09:55 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:09:55 ---> Running in f54f72783ad2 07:09:55 Removing intermediate container f54f72783ad2 07:09:55 ---> b7140bcac829 07:09:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:09:56 ---> Running in 8f88c029e0d8 07:09:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:09:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:09:58 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:09:58 (2/8) Installing libedit (20221030.3.1-r0) 07:09:58 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:09:58 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:09:58 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:09:58 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:09:58 (7/8) Installing openssh-server (9.1_p1-r2) 07:09:58 (8/8) Installing openssh (9.1_p1-r2) 07:09:58 Executing busybox-1.35.0-r29.trigger 07:09:58 OK: 270 MiB in 61 packages 07:09:59 Removing intermediate container 8f88c029e0d8 07:09:59 ---> 8285c3e7a74d 07:09:59 Step 6/10 : WORKDIR /device-modbus-go 07:10:00 ---> Running in 45bb445c47c1 07:10:00 Removing intermediate container 45bb445c47c1 07:10:00 ---> f96b970a4e51 07:10:00 Step 7/10 : COPY go.mod vendor* ./ 07:10:00 ---> b62dcea6ef2b 07:10:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:10:00 ---> Running in b7c0ac2189db 07:11:22 Removing intermediate container b7c0ac2189db 07:11:22 ---> 7e1a4bafc1ed 07:11:22 Step 9/10 : COPY . . 07:11:22 ---> 349b7c3da3ce 07:11:22 Step 10/10 : RUN ${MAKE} 07:11:22 ---> Running in 86e5f30f5df2 07:11:22 noop 07:11:22 Removing intermediate container 86e5f30f5df2 07:11:22 ---> 4d447b514832 07:11:22 Successfully built 4d447b514832 07:11:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:22 + docker inspect -f . ci-base-image-arm64 07:11:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:23 prd-ubuntu20.04-docker-arm64-4c-16g-8412 does not seem to be running inside a container 07:11:23 $ 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 ******** ci-base-image-arm64 cat 07:11:24 $ docker top dff721f2bebd6f88228f7263d8e9efda15ad00a5db88eb8a0f9fd80d5693aa34 -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:25 + go version 07:11:25 go version go1.20.2 linux/arm64 [Pipeline] } 07:11:25 $ docker stop --time=1 dff721f2bebd6f88228f7263d8e9efda15ad00a5db88eb8a0f9fd80d5693aa34 07:11:26 $ docker rm -f --volumes dff721f2bebd6f88228f7263d8e9efda15ad00a5db88eb8a0f9fd80d5693aa34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:27 + docker inspect -f . ci-base-image-arm64 07:11:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:27 prd-ubuntu20.04-docker-arm64-4c-16g-8412 does not seem to be running inside a container 07:11:27 $ 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 ******** ci-base-image-arm64 cat 07:11:28 $ docker top b72628870b25ae4df4b54eac9d73d4dd15b3e687603d8aab9663a14aa2a8add4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:29 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 07:11:30 + make test 07:11:30 go test ./... -coverprofile=coverage.out 07:12:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:14:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:14:03 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.078s coverage: 47.5% of statements 07:14:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:14:04 go vet ./... 07:14:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:14:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:14:36 ./bin/test-attribution-txt.sh 07:14:36 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:14:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:14:36 $ docker stop --time=1 b72628870b25ae4df4b54eac9d73d4dd15b3e687603d8aab9663a14aa2a8add4 07:14:38 $ docker rm -f --volumes b72628870b25ae4df4b54eac9d73d4dd15b3e687603d8aab9663a14aa2a8add4 [Pipeline] // withDockerContainer [Pipeline] sh 07:14:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:14:40 Warning: overwriting stash ‘coverage-report’ 07:14:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:14:41 + ls -al . 07:14:41 total 176 07:14:41 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 07:11 . 07:14:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:09 .. 07:14:41 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 07:09 .dockerignore 07:14:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:09 .git 07:14:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:09 .github 07:14:41 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 07:09 .gitignore 07:14:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:09 .golangci.yml 07:14:41 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 07:09 Attribution.txt 07:14:41 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 07:09 CHANGELOG.md 07:14:41 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 07:09 Dockerfile 07:14:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:09 GOVERNANCE.md 07:14:41 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 07:09 Jenkinsfile 07:14:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:09 LICENSE 07:14:41 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 07:09 Makefile 07:14:41 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 07:09 OWNERS.md 07:14:41 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 07:09 README.md 07:14:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 07:05 VERSION 07:14:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:09 bin 07:14:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:09 cmd 07:14:41 -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 07:14 coverage.out 07:14:41 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 07:09 go.mod 07:14:41 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 07:09 go.sum 07:14:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:09 internal 07:14:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:09 simulator 07:14:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:09 snap 07:14:41 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 07:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:42 + 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=d8b9e115df0f30ec274a94b948d40a836fb607d6 --label arch=arm64 --label version=0.0.0 . 07:14:42 Sending build context to Docker daemon 3.379MB 07:14:42 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:14:42 Step 2/22 : FROM ${BASE} AS builder 07:14:42 ---> 4d447b514832 07:14:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:14:42 ---> Running in d94cb4d3779a 07:14:42 Removing intermediate container d94cb4d3779a 07:14:42 ---> 18dd10e4e8c4 07:14:42 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:14:43 ---> Running in bb824f9b845c 07:14:43 Removing intermediate container bb824f9b845c 07:14:43 ---> f4a7372c993e 07:14:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:14:43 ---> Running in e6a57b1b526b 07:14:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:14:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:14:47 OK: 270 MiB in 61 packages 07:14:48 Removing intermediate container e6a57b1b526b 07:14:48 ---> fed28fd2231f 07:14:48 Step 6/22 : WORKDIR /device-modbus-go 07:14:48 ---> Running in fcaf2832f0bc 07:14:48 Removing intermediate container fcaf2832f0bc 07:14:48 ---> 7cf16a56d607 07:14:48 Step 7/22 : COPY go.mod vendor* ./ 07:14:48 ---> 3f299631554f 07:14:48 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:14:48 ---> Running in d726ea599b31 07:14:54 Removing intermediate container d726ea599b31 07:14:54 ---> 79cfaa379d1a 07:14:54 Step 9/22 : COPY . . 07:14:54 ---> 86f1d632a655 07:14:54 Step 10/22 : RUN ${MAKE} 07:14:54 ---> Running in ffd8aff65c23 07:14:55 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:17:32 Removing intermediate container ffd8aff65c23 07:17:32 ---> 3c5ce6f7fdf9 07:17:32 Step 11/22 : FROM alpine:3.17 07:17:32 3.17: Pulling from library/alpine 07:17:32 c41833b44d91: Pulling fs layer 07:17:32 c41833b44d91: Verifying Checksum 07:17:32 c41833b44d91: Download complete 07:17:32 c41833b44d91: Pull complete 07:17:32 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:17:32 Status: Downloaded newer image for alpine:3.17 07:17:32 ---> 51e60588ff2c 07:17:32 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:17:32 ---> Running in 23ed10cc8d2c 07:17:32 Removing intermediate container 23ed10cc8d2c 07:17:32 ---> 90feac5916b8 07:17:32 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:17:32 ---> Running in 9f90be9ca21e 07:17:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:17:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:17:32 (1/1) Installing dumb-init (1.2.5-r2) 07:17:32 Executing busybox-1.35.0-r29.trigger 07:17:32 OK: 8 MiB in 16 packages 07:17:32 Removing intermediate container 9f90be9ca21e 07:17:32 ---> 98f99cc6ecad 07:17:32 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:17:32 ---> 95a5affbcb8e 07:17:32 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:17:33 ---> 3716a59b220f 07:17:33 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:17:33 ---> f90120b865d8 07:17:33 Step 17/22 : EXPOSE 59901 07:17:33 ---> Running in e434181fdd46 07:17:33 Removing intermediate container e434181fdd46 07:17:33 ---> 225aaa3d7492 07:17:33 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:17:33 ---> Running in 974803348c1a 07:17:34 Removing intermediate container 974803348c1a 07:17:34 ---> 86f27af68252 07:17:34 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:17:34 ---> Running in f236aaa2d6dd 07:17:34 Removing intermediate container f236aaa2d6dd 07:17:34 ---> bb3e4ae4176d 07:17:34 Step 20/22 : LABEL arch=arm64 07:17:34 ---> Running in 88abb66d52f1 07:17:35 Removing intermediate container 88abb66d52f1 07:17:35 ---> 2bb5842f7276 07:17:35 Step 21/22 : LABEL git_sha=d8b9e115df0f30ec274a94b948d40a836fb607d6 07:17:35 ---> Running in 28817be24316 07:17:35 Removing intermediate container 28817be24316 07:17:35 ---> 4bfdaba8620a 07:17:35 Step 22/22 : LABEL version=0.0.0 07:17:35 ---> Running in 7bfd377af56f 07:17:35 Removing intermediate container 7bfd377af56f 07:17:35 ---> 48ac7518f465 07:17:35 [Warning] One or more build-args [ARCH] were not consumed 07:17:35 Successfully built 48ac7518f465 07:17:35 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:17:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:17:36 07:17:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:17:36 arm64: Pulling from edgex-lftools-log-publisher 07:17:36 8998bd30e6a1: Pulling fs layer 07:17:36 04944245beec: Pulling fs layer 07:17:36 699f458cf7ca: Pulling fs layer 07:17:36 765212b225bb: Pulling fs layer 07:17:36 f23df028b6ca: Pulling fs layer 07:17:36 d65c8cfc05b1: Pulling fs layer 07:17:36 2437ff75d9bd: Pulling fs layer 07:17:36 765212b225bb: Waiting 07:17:36 f23df028b6ca: Waiting 07:17:36 d65c8cfc05b1: Waiting 07:17:36 2437ff75d9bd: Waiting 07:17:36 04944245beec: Verifying Checksum 07:17:36 04944245beec: Download complete 07:17:36 765212b225bb: Verifying Checksum 07:17:36 765212b225bb: Download complete 07:17:36 f23df028b6ca: Verifying Checksum 07:17:36 f23df028b6ca: Download complete 07:17:36 d65c8cfc05b1: Verifying Checksum 07:17:36 d65c8cfc05b1: Download complete 07:17:36 699f458cf7ca: Verifying Checksum 07:17:36 699f458cf7ca: Download complete 07:17:37 8998bd30e6a1: Verifying Checksum 07:17:37 8998bd30e6a1: Download complete 07:17:39 2437ff75d9bd: Verifying Checksum 07:17:39 2437ff75d9bd: Download complete 07:17:41 8998bd30e6a1: Pull complete 07:17:41 04944245beec: Pull complete 07:17:43 699f458cf7ca: Pull complete 07:17:43 765212b225bb: Pull complete 07:17:44 f23df028b6ca: Pull complete 07:17:44 d65c8cfc05b1: Pull complete 07:17:56 2437ff75d9bd: Pull complete 07:17:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:17:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:17:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:56 prd-ubuntu20.04-docker-arm64-4c-16g-8412 does not seem to be running inside a container 07:17:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:17:59 $ docker top cef34ce2a660954520b3a32de5290c55272b8bf6eda9c14fa0500ba0a1a3ce3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:00 ---> job-cost.sh 07:18:00 lf-activate-venv: SKIPPING 07:18:00 INFO: No Stack... 07:18:00 INFO: Retrieving Pricing Info for: v3-standard-4 07:18:01 INFO: Archiving Costs [Pipeline] sh 07:18:02 + cut -d, -f6 07:18:02 + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock 07:18:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-454-2-stack-cost] 07:18:02 Resource [jenkins-edgexfoundry-device-modbus-go-PR-454-2-stack-cost] did not exist. Created. 07:18:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-454-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:18:03 /w/workspace/device-modbus-go/2@tmp/durable-5fb9217d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:18:03 + echo total: 0.10999999940395355 [Pipeline] stash 07:18:04 Warning: overwriting stash ‘stack-cost’ 07:18:04 Stashed 1 file(s) [Pipeline] } 07:18:04 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-454-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:18:04 $ docker stop --time=1 cef34ce2a660954520b3a32de5290c55272b8bf6eda9c14fa0500ba0a1a3ce3b 07:18:05 $ docker rm -f --volumes cef34ce2a660954520b3a32de5290c55272b8bf6eda9c14fa0500ba0a1a3ce3b [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:18:06 provisioning config files... 07:18:06 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-454@tmp/config8261854231729418569tmp [Pipeline] { [Pipeline] sh 07:18:06 + set +x 07:18:06 + bash -s -- 07:18:06 + curl -s https://codecov.io/bash 07:18:06 07:18:06 _____ _ 07:18:06 / ____| | | 07:18:06 | | ___ __| | ___ ___ _____ __ 07:18:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:18:06 | |___| (_) | (_| | __/ (_| (_) \ V / 07:18:06 \_____\___/ \__,_|\___|\___\___/ \_/ 07:18:06 Bash-1.0.6 07:18:06 07:18:06 07:18:06 ==> git version 2.25.1 found 07:18:06 ==> 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:18:06 Release-Date: 2020-01-08 07:18:06 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:18:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:18:06 ==> Jenkins CI detected. 07:18:06 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-454 07:18:06 project root: . 07:18:06 --> token set from env 07:18:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:18:06 ==> Running gcov in . (disable via -X gcov) 07:18:06 ==> Python coveragepy not found 07:18:06 ==> Searching for coverage reports in: 07:18:06 + . 07:18:06 -> Found 1 reports 07:18:06 ==> Detecting git/mercurial file structure 07:18:06 ==> Reading reports 07:18:06 + ./coverage.out bytes=24076 07:18:06 ==> Appending adjustments 07:18:06 https://docs.codecov.io/docs/fixing-reports 07:18:06 + Found adjustments 07:18:06 ==> Gzipping contents 07:18:06 4.0K /tmp/codecov.eCqOr9.gz 07:18:06 ==> Uploading reports 07:18:06 url: https://codecov.io 07:18:06 query: branch=PR-454&commit=d8b9e115df0f30ec274a94b948d40a836fb607d6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-454%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=454&job=&cmd_args= 07:18:06 -> Pinging Codecov 07:18:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-454&commit=d8b9e115df0f30ec274a94b948d40a836fb607d6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-454%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=454&job=&cmd_args= 07:18:06 -> Uploading to 07:18:06 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/55DBCA73C666E3227836607328DD7E49/d8b9e115df0f30ec274a94b948d40a836fb607d6/6835bfd0-f2aa-4646-8623-9a8564ec5d21.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T071806Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f8fb177ade2f2e683dd565ce0b94ffb474bde89b009afe3a9ebb3bd886ccbe3 07:18:06 % Total % Received % Xferd Average Speed Time Time Time Current 07:18:06 Dload Upload Total Spent Left Speed 07:18:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3917 0 0 100 3917 0 17030 --:--:-- --:--:-- --:--:-- 16956 07:18:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d8b9e115df0f30ec274a94b948d40a836fb607d6 [Pipeline] } 07:18:06 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:18:07 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-454/archives ] 07:18:07 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-454/archives 07:18:07 total 16 07:18:07 drwxr-xr-x 3 root root 4096 Apr 13 07:07 . 07:18:07 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 07:07 .. 07:18:07 drwxr-xr-x 2 root root 4096 Apr 13 07:07 cost 07:18:07 -rw-r--r-- 1 root root 88 Apr 13 07:07 cost.csv 07:18:07 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-454/archives 07:18:07 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-454/archives 07:18:07 total 16 07:18:07 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:07 . 07:18:07 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 07:07 .. 07:18:07 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 07:07 cost 07:18:07 -rw-r--r-- 1 jenkins jenkins 88 Apr 13 07:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:18:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:18:08 ---> package-listing.sh 07:18:08 ++ facter osfamily 07:18:08 ++ tr '[:upper:]' '[:lower:]' 07:18:08 + OS_FAMILY=debian 07:18:08 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-454 07:18:08 + START_PACKAGES=/tmp/packages_start.txt 07:18:08 + END_PACKAGES=/tmp/packages_end.txt 07:18:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:18:08 + PACKAGES=/tmp/packages_start.txt 07:18:08 + '[' /w/workspace/xfoundry_device-modbus-go_PR-454 ']' 07:18:08 + PACKAGES=/tmp/packages_end.txt 07:18:08 + case "${OS_FAMILY}" in 07:18:08 + dpkg -l 07:18:08 + grep '^ii' 07:18:08 + '[' -f /tmp/packages_start.txt ']' 07:18:08 + '[' -f /tmp/packages_end.txt ']' 07:18:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:18:08 + '[' /w/workspace/xfoundry_device-modbus-go_PR-454 ']' 07:18:08 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-454/archives/ 07:18:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-454/archives/ [Pipeline] echo 07:18:09 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-454/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:18:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:18:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:18:09 prd-ubuntu20.04-docker-8c-8g-8409 does not seem to be running inside a container 07:18:09 $ 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-454/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-454 -v /w/workspace/xfoundry_device-modbus-go_PR-454:/w/workspace/xfoundry_device-modbus-go_PR-454:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-454@tmp:/w/workspace/xfoundry_device-modbus-go_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:18:10 $ docker top a0cca631665d405adcdd9de173404092203b0074ad899374a66464e7a6e982e0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:10 + touch /tmp/pre-build-complete [Pipeline] sh 07:18:10 + mkdir -p /var/log/sysstat [Pipeline] sh 07:18:11 + ls /var/log/sa-host 07:18:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:11 provisioning config files... 07:18:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-454@tmp/config13251172903577362216tmp [Pipeline] { [Pipeline] echo 07:18:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:18:11 ---> create-netrc.sh [Pipeline] } 07:18:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:18:11 ---> python-tools-install.sh [Pipeline] echo 07:18:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:18:12 ---> sudo-logs.sh 07:18:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:18:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:18:12 ---> job-cost.sh 07:18:12 lf-activate-venv: SKIPPING 07:18:12 DEBUG: total: 0.2199999988079071 07:18:12 INFO: Retrieving Stack Cost... 07:18:12 INFO: Retrieving Pricing Info for: v3-standard-8 07:18:13 INFO: Archiving Costs [Pipeline] echo 07:18:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:18:13 ---> logs-deploy.sh 07:18:13 lf-activate-venv: SKIPPING 07:18:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-454/2 07:18:13 INFO: archiving workspace using pattern(s): 07:18:14 Archives upload complete. 07:18:14 INFO: archiving logs to Nexus