Pull request #445 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 63f56b440389908500f57809a79af5893e194475 rather than a31b1b91bb199ec4ca299285b44acdc762ad1fe6 Obtained Jenkinsfile from 63f56b440389908500f57809a79af5893e194475 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-ssh17921710608776743111.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11166461945196943846.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9500578100897306290.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3681855868063399909.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14745273779257263971.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6093 in /w/workspace/xfoundry_device-modbus-go_PR-445 [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-445 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit a31b1b91bb199ec4ca299285b44acdc762ad1fe6 Merge succeeded, producing a31b1b91bb199ec4ca299285b44acdc762ad1fe6 Checking out Revision a31b1b91bb199ec4ca299285b44acdc762ad1fe6 (PR-445) > 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a31b1b91bb199ec4ca299285b44acdc762ad1fe6 # 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 63f56b440389908500f57809a79af5893e194475 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a31b1b91bb199ec4ca299285b44acdc762ad1fe6 # timeout=10 Commit message: "fix: commented out local-run config" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk f264435248d8ce786653ba4b4c8d650ed4ec2e0d # timeout=10 [Pipeline] timeout 19:18:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:18:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:18:59 ========================================================= 19:18:59 EdgeX Global Pipelines Version Info 19:18:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:18:59 ------------------- 19:18:59 stable info: 19:18:59 ------------------- 19:18:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:18:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:18:59 Message: update stable to v1.0.245 19:19:00 ------------------- 19:19:00 experimental info: 19:19:00 ------------------- 19:19:00 Commited By: **** collab-it+edgex@linuxfoundation.org 19:19:00 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 19:19:00 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a31b1b91bb199ec4ca299285b44acdc762ad1fe6 [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a31b1b9 [Pipeline] echo 19:19:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:00 provisioning config files... 19:19:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config3725749186603423933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:01 ---> docker-login.sh 19:19:01 nexus3.edgexfoundry.org:10001 19:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:02 Configure a credential helper to remove this warning. See 19:19:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:02 19:19:02 Login Succeeded 19:19:02 nexus3.edgexfoundry.org:10002 19:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:02 Configure a credential helper to remove this warning. See 19:19:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:02 19:19:02 Login Succeeded 19:19:02 nexus3.edgexfoundry.org:10003 19:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:03 Configure a credential helper to remove this warning. See 19:19:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:03 19:19:03 Login Succeeded 19:19:03 nexus3.edgexfoundry.org:10004 19:19:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:03 Configure a credential helper to remove this warning. See 19:19:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:03 19:19:03 Login Succeeded 19:19:03 docker.io 19:19:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:03 Configure a credential helper to remove this warning. See 19:19:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:03 19:19:03 Login Succeeded 19:19:03 ---> docker-login.sh ends [Pipeline] } 19:19:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:19:03 + git rev-list -1 --merges a31b1b91bb199ec4ca299285b44acdc762ad1fe6~1..a31b1b91bb199ec4ca299285b44acdc762ad1fe6 [Pipeline] echo 19:19:03 -----------> git rev-list -1 --merges a31b1b91bb199ec4ca299285b44acdc762ad1fe6~1..a31b1b91bb199ec4ca299285b44acdc762ad1fe6 a31b1b91bb199ec4ca299285b44acdc762ad1fe6 [false] [Pipeline] sh 19:19:04 + git log --format=format:%s -1 a31b1b91bb199ec4ca299285b44acdc762ad1fe6 [Pipeline] echo 19:19:04 ========================================================= 19:19:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:19:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:04 + git log --format=format:%s -1 a31b1b91bb199ec4ca299285b44acdc762ad1fe6 [Pipeline] echo 19:19:04 [semverPrep] GIT_COMMIT: a31b1b91bb199ec4ca299285b44acdc762ad1fe6, Commit Message: fix: commented out local-run config [Pipeline] echo 19:19:04 [semverPrep] This is not a build commit. [Pipeline] sh 19:19:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:19:04 + grep -v github /etc/ssh/ssh_known_hosts 19:19:04 + [ -e /tmp/ssh_known_hosts ] 19:19:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:19:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:19:04 + sudo tee -a /etc/ssh/ssh_known_hosts 19:19:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:05 19:19:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:05 0.1.4: Pulling from edgex-devops/py-git-semver 19:19:05 b85a868b505f: Pulling fs layer 19:19:05 e2be974225ed: Pulling fs layer 19:19:05 339a4e72a1f5: Pulling fs layer 19:19:05 988bab9f4d93: Pulling fs layer 19:19:05 1469e6f7b9e6: Pulling fs layer 19:19:05 eaf3925da568: Pulling fs layer 19:19:05 bab4dde63d76: Pulling fs layer 19:19:05 bde34c3a00c8: Pulling fs layer 19:19:05 b352a97aabf1: Pulling fs layer 19:19:05 eaf3925da568: Waiting 19:19:05 4872d77fe225: Pulling fs layer 19:19:05 988bab9f4d93: Waiting 19:19:05 5851b861e8e6: Pulling fs layer 19:19:05 1469e6f7b9e6: Waiting 19:19:05 bab4dde63d76: Waiting 19:19:05 4872d77fe225: Waiting 19:19:05 5851b861e8e6: Waiting 19:19:05 bde34c3a00c8: Waiting 19:19:05 e2be974225ed: Verifying Checksum 19:19:05 e2be974225ed: Download complete 19:19:05 988bab9f4d93: Verifying Checksum 19:19:05 988bab9f4d93: Download complete 19:19:05 1469e6f7b9e6: Verifying Checksum 19:19:05 1469e6f7b9e6: Download complete 19:19:05 339a4e72a1f5: Verifying Checksum 19:19:05 339a4e72a1f5: Download complete 19:19:05 eaf3925da568: Verifying Checksum 19:19:05 eaf3925da568: Download complete 19:19:05 bde34c3a00c8: Verifying Checksum 19:19:05 bde34c3a00c8: Download complete 19:19:05 b352a97aabf1: Download complete 19:19:05 4872d77fe225: Download complete 19:19:05 5851b861e8e6: Verifying Checksum 19:19:05 5851b861e8e6: Download complete 19:19:05 b85a868b505f: Verifying Checksum 19:19:05 b85a868b505f: Download complete 19:19:06 bab4dde63d76: Verifying Checksum 19:19:07 b85a868b505f: Pull complete 19:19:07 e2be974225ed: Pull complete 19:19:07 339a4e72a1f5: Pull complete 19:19:07 988bab9f4d93: Pull complete 19:19:08 1469e6f7b9e6: Pull complete 19:19:08 eaf3925da568: Pull complete 19:19:10 bab4dde63d76: Pull complete 19:19:10 bde34c3a00c8: Pull complete 19:19:10 b352a97aabf1: Pull complete 19:19:10 4872d77fe225: Pull complete 19:19:10 5851b861e8e6: Pull complete 19:19:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:19:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:11 prd-ubuntu20.04-docker-8c-8g-6093 does not seem to be running inside a container 19:19:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@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-devops/py-git-semver:0.1.4 cat 19:19:17 $ docker top b90a20defb139b07d9d53a26bd5b203647eea4a5cb9ffea394d048816d57e167 -eo pid,comm 19:19:17 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). 19:19:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:19:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:17 [ssh-agent] Looking for ssh-agent implementation... 19:19:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:17 $ docker exec b90a20defb139b07d9d53a26bd5b203647eea4a5cb9ffea394d048816d57e167 ssh-agent 19:19:17 SSH_AUTH_SOCK=/tmp/ssh-IG3DQmyXO5SP/agent.32 19:19:17 SSH_AGENT_PID=38 19:19:17 Running ssh-add (command line suppressed) 19:19:17 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_8049588830370650289.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_8049588830370650289.key) 19:19:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:17 + git tag --points-at HEAD [Pipeline] } 19:19:17 $ docker exec --env ******** --env ******** b90a20defb139b07d9d53a26bd5b203647eea4a5cb9ffea394d048816d57e167 ssh-agent -k 19:19:17 unset SSH_AUTH_SOCK; 19:19:17 unset SSH_AGENT_PID; 19:19:17 echo Agent pid 38 killed; 19:19:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:19:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:17 [ssh-agent] Looking for ssh-agent implementation... 19:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:18 $ docker exec b90a20defb139b07d9d53a26bd5b203647eea4a5cb9ffea394d048816d57e167 ssh-agent 19:19:18 SSH_AUTH_SOCK=/tmp/ssh-kCBvKhhFUBLt/agent.70 19:19:18 SSH_AGENT_PID=76 19:19:18 Running ssh-add (command line suppressed) 19:19:18 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_11942140051403196478.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_11942140051403196478.key) 19:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:18 + git semver init 19:19:18 2023-03-28 19:19:18,789 [run_init] DEBUG init version:0.0.0 force:False 19:19:18 2023-03-28 19:19:18,790 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver 19:19:18 2023-03-28 19:19:18,791 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-445/.semver 19:19:18 2023-03-28 19:19:18,791 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-445/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445, universal_newlines=False, shell=None, istream=None) 19:19:19 2023-03-28 19:19:19,533 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.git/info/exclude 19:19:19 2023-03-28 19:19:19,534 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 with force:False 19:19:19 2023-03-28 19:19:19,534 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 19:19:19 2023-03-28 19:19:19,536 [execute] INFO git cat-file --batch-check 19:19:19 2023-03-28 19:19:19,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 19:19:19 2023-03-28 19:19:19,542 [execute] INFO git cat-file --batch 19:19:19 2023-03-28 19:19:19,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 19:19:19 2023-03-28 19:19:19,547 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 19:19:19 0.0.0 [Pipeline] } 19:19:19 $ docker exec --env ******** --env ******** b90a20defb139b07d9d53a26bd5b203647eea4a5cb9ffea394d048816d57e167 ssh-agent -k 19:19:19 unset SSH_AUTH_SOCK; 19:19:19 unset SSH_AGENT_PID; 19:19:19 echo Agent pid 76 killed; 19:19:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:19:20 + git semver [Pipeline] } 19:19:20 $ docker stop --time=1 b90a20defb139b07d9d53a26bd5b203647eea4a5cb9ffea394d048816d57e167 19:19:21 $ docker rm -f --volumes b90a20defb139b07d9d53a26bd5b203647eea4a5cb9ffea394d048816d57e167 [Pipeline] // withDockerContainer [Pipeline] sh 19:19:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:19:22 Stashed 1 file(s) [Pipeline] echo 19:19:22 [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 19:19:22 provisioning config files... 19:19:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config1469507692974909702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:22 ---> docker-login.sh 19:19:22 nexus3.edgexfoundry.org:10001 19:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:22 Configure a credential helper to remove this warning. See 19:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:22 19:19:22 Login Succeeded 19:19:22 nexus3.edgexfoundry.org:10002 19:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:22 Configure a credential helper to remove this warning. See 19:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:22 19:19:22 Login Succeeded 19:19:22 nexus3.edgexfoundry.org:10003 19:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:22 Configure a credential helper to remove this warning. See 19:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:22 19:19:22 Login Succeeded 19:19:22 nexus3.edgexfoundry.org:10004 19:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:22 Configure a credential helper to remove this warning. See 19:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:22 19:19:22 Login Succeeded 19:19:22 docker.io 19:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:23 Configure a credential helper to remove this warning. See 19:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:23 19:19:23 Login Succeeded 19:19:23 ---> docker-login.sh ends [Pipeline] } 19:19:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:19:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:23 ========================================================= 19:19:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:19:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:23 + 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 . 19:19:23 Sending build context to Docker daemon 6.473MB 19:19:23 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:19:23 Step 2/10 : FROM ${BASE} AS builder 19:19:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:19:23 63b65145d645: Pulling fs layer 19:19:23 a2d21d5440eb: Pulling fs layer 19:19:23 935e6c44a52c: Pulling fs layer 19:19:23 94cc34f8dd06: Pulling fs layer 19:19:23 30dea6a524f1: Pulling fs layer 19:19:23 a2aff8979fd8: Pulling fs layer 19:19:23 6808be2612f2: Pulling fs layer 19:19:23 f25807f1079a: Pulling fs layer 19:19:23 a2aff8979fd8: Waiting 19:19:23 f25807f1079a: Waiting 19:19:23 6808be2612f2: Waiting 19:19:23 a2d21d5440eb: Verifying Checksum 19:19:23 a2d21d5440eb: Download complete 19:19:23 94cc34f8dd06: Verifying Checksum 19:19:23 94cc34f8dd06: Download complete 19:19:23 30dea6a524f1: Verifying Checksum 19:19:23 30dea6a524f1: Download complete 19:19:23 63b65145d645: Verifying Checksum 19:19:23 63b65145d645: Download complete 19:19:23 a2aff8979fd8: Verifying Checksum 19:19:23 a2aff8979fd8: Download complete 19:19:23 63b65145d645: Pull complete 19:19:24 a2d21d5440eb: Pull complete 19:19:24 f25807f1079a: Verifying Checksum 19:19:24 f25807f1079a: Download complete 19:19:24 935e6c44a52c: Verifying Checksum 19:19:24 935e6c44a52c: Download complete 19:19:24 6808be2612f2: Verifying Checksum 19:19:24 6808be2612f2: Download complete 19:19:27 935e6c44a52c: Pull complete 19:19:27 94cc34f8dd06: Pull complete 19:19:27 30dea6a524f1: Pull complete 19:19:27 a2aff8979fd8: Pull complete 19:19:30 6808be2612f2: Pull complete 19:19:30 f25807f1079a: Pull complete 19:19:30 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:19:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:19:30 ---> 3b553350e43f 19:19:30 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:19:35 ---> Running in 61d8e43d5cc9 19:19:35 Removing intermediate container 61d8e43d5cc9 19:19:35 ---> 11bc76d3282b 19:19:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:19:35 ---> Running in ff43662aae43 19:19:35 Removing intermediate container ff43662aae43 19:19:35 ---> 502bcc9b5591 19:19:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:19:35 ---> Running in cc69dba667be 19:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:19:35 (1/8) Installing openssh-keygen (9.1_p1-r2) 19:19:35 (2/8) Installing libedit (20221030.3.1-r0) 19:19:35 (3/8) Installing openssh-client-common (9.1_p1-r2) 19:19:35 (4/8) Installing openssh-client-default (9.1_p1-r2) 19:19:35 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 19:19:35 (6/8) Installing openssh-server-common (9.1_p1-r2) 19:19:35 (7/8) Installing openssh-server (9.1_p1-r2) 19:19:35 (8/8) Installing openssh (9.1_p1-r2) 19:19:35 Executing busybox-1.35.0-r29.trigger 19:19:35 OK: 270 MiB in 61 packages 19:19:36 Removing intermediate container cc69dba667be 19:19:36 ---> dee0b9b12226 19:19:36 Step 6/10 : WORKDIR /device-modbus-go 19:19:36 ---> Running in 5b162962d6cc 19:19:36 Removing intermediate container 5b162962d6cc 19:19:36 ---> cfbe5d1a5ffb 19:19:36 Step 7/10 : COPY go.mod vendor* ./ 19:19:36 ---> bfafdffcadce 19:19:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:19:36 ---> Running in b2f6fc20cc03 19:19:37 Still waiting to schedule task 19:19:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:20:08 Removing intermediate container b2f6fc20cc03 19:20:08 ---> e9e76ed8efcb 19:20:08 Step 9/10 : COPY . . 19:20:08 ---> a02eaf8fb14a 19:20:08 Step 10/10 : RUN ${MAKE} 19:20:08 ---> Running in e3b8101d715a 19:20:08 noop 19:20:08 Removing intermediate container e3b8101d715a 19:20:08 ---> 1c1964eb7efd 19:20:08 Successfully built 1c1964eb7efd 19:20:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:09 + docker inspect -f . ci-base-image-x86_64 19:20:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:09 prd-ubuntu20.04-docker-8c-8g-6093 does not seem to be running inside a container 19:20:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:20:09 $ docker top 9a5a037accab5a149be2a1f64cbfec62aaa484c9a4f1ce9f0dc48749f88ac7a8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:10 + go version 19:20:10 go version go1.20.2 linux/amd64 [Pipeline] } 19:20:10 $ docker stop --time=1 9a5a037accab5a149be2a1f64cbfec62aaa484c9a4f1ce9f0dc48749f88ac7a8 19:20:11 $ docker rm -f --volumes 9a5a037accab5a149be2a1f64cbfec62aaa484c9a4f1ce9f0dc48749f88ac7a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:11 + docker inspect -f . ci-base-image-x86_64 19:20:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:11 prd-ubuntu20.04-docker-8c-8g-6093 does not seem to be running inside a container 19:20:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:20:12 $ docker top c99b028b670cb2a65d4b8720cc800eab28d055e7153756b9d80e5c33d36a1736 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:12 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] fileExists [Pipeline] sh 19:20:12 + make test 19:20:12 go test ./... -coverprofile=coverage.out 19:20:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:20:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:20:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 48.0% of statements 19:20:34 go vet ./... 19:20:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:20:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:20:38 ./bin/test-attribution-txt.sh [Pipeline] echo 19:20:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:20:38 $ docker stop --time=1 c99b028b670cb2a65d4b8720cc800eab28d055e7153756b9d80e5c33d36a1736 19:20:41 $ docker rm -f --volumes c99b028b670cb2a65d4b8720cc800eab28d055e7153756b9d80e5c33d36a1736 [Pipeline] // withDockerContainer [Pipeline] sh 19:20:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:20:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:20:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:20:43 + ls -al . 19:20:43 total 180 19:20:43 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 19:20 . 19:20:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:18 .. 19:20:43 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 19:18 .dockerignore 19:20:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 19:19 .git 19:20:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:18 .github 19:20:43 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 19:18 .gitignore 19:20:43 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 19:18 .golangci.yml 19:20:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 19:19 .semver 19:20:43 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 28 19:18 Attribution.txt 19:20:43 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 19:18 CHANGELOG.md 19:20:43 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 19:18 Dockerfile 19:20:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 19:18 GOVERNANCE.md 19:20:43 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 19:18 Jenkinsfile 19:20:43 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 19:18 LICENSE 19:20:43 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 19:18 Makefile 19:20:43 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 19:18 OWNERS.md 19:20:43 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 19:18 README.md 19:20:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 19:19 VERSION 19:20:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:18 bin 19:20:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:18 cmd 19:20:43 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 19:20 coverage.out 19:20:43 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 19:18 go.mod 19:20:43 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 19:18 go.sum 19:20:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:18 internal 19:20:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:18 simulator 19:20:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:18 snap 19:20:43 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 19:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:43 + 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=a31b1b91bb199ec4ca299285b44acdc762ad1fe6 --label arch=amd64 --label version=0.0.0 . 19:20:43 Sending build context to Docker daemon 6.497MB 19:20:43 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 19:20:43 Step 2/22 : FROM ${BASE} AS builder 19:20:43 ---> 1c1964eb7efd 19:20:43 Step 3/22 : ARG ADD_BUILD_TAGS="" 19:20:43 ---> Running in 90b02e638364 19:20:43 Removing intermediate container 90b02e638364 19:20:43 ---> d4250972da79 19:20:43 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:20:43 ---> Running in 813030f8954b 19:20:43 Removing intermediate container 813030f8954b 19:20:43 ---> d6210b0f7282 19:20:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 19:20:43 ---> Running in d8d7be81fcb9 19:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:20:44 OK: 270 MiB in 61 packages 19:20:44 Removing intermediate container d8d7be81fcb9 19:20:44 ---> 3fb108acc128 19:20:44 Step 6/22 : WORKDIR /device-modbus-go 19:20:44 ---> Running in 6f8fe56eb574 19:20:44 Removing intermediate container 6f8fe56eb574 19:20:44 ---> f2732713a592 19:20:44 Step 7/22 : COPY go.mod vendor* ./ 19:20:44 ---> 27c8ef3a1d99 19:20:44 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:20:44 ---> Running in 326feb973638 19:20:45 Removing intermediate container 326feb973638 19:20:45 ---> 8be1166b9025 19:20:45 Step 9/22 : COPY . . 19:20:46 ---> ddf364d05b71 19:20:46 Step 10/22 : RUN ${MAKE} 19:20:46 ---> Running in 62388e8c4b20 19:20:46 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 19:21:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6094 in /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] { [Pipeline] ws 19:21:03 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 19:21:03 Selected Git installation does not exist. Using Default 19:21:03 The recommended git tool is: NONE 19:21:04 Removing intermediate container 62388e8c4b20 19:21:04 ---> c1063bd96041 19:21:04 Step 11/22 : FROM alpine:3.17 19:21:04 3.17: Pulling from library/alpine 19:21:04 63b65145d645: Already exists 19:21:04 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:21:04 Status: Downloaded newer image for alpine:3.17 19:21:04 ---> b2aa39c304c2 19:21:04 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:21:04 ---> Running in 53a5ff93c4d5 19:21:04 Removing intermediate container 53a5ff93c4d5 19:21:04 ---> 8408f7ba1972 19:21:04 Step 13/22 : RUN apk add --update --no-cache dumb-init 19:21:04 ---> Running in f415181665ae 19:21:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:21:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:21:04 (1/1) Installing dumb-init (1.2.5-r2) 19:21:04 Executing busybox-1.35.0-r29.trigger 19:21:04 OK: 7 MiB in 16 packages 19:21:05 Removing intermediate container f415181665ae 19:21:05 ---> 0b1e8b2f446a 19:21:05 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:21:05 ---> 49a3abd1eb81 19:21:05 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:21:06 ---> 8e20304b87ce 19:21:06 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:21:06 ---> 3340b1e2ca82 19:21:06 Step 17/22 : EXPOSE 59901 19:21:06 ---> Running in 81a620bf5052 19:21:06 Removing intermediate container 81a620bf5052 19:21:06 ---> aaa7ec87143b 19:21:06 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:21:06 ---> Running in 25360a75d268 19:21:06 Removing intermediate container 25360a75d268 19:21:06 ---> b4b43a714f7c 19:21:06 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:21:06 ---> Running in dce63c1fa5fc 19:21:06 Removing intermediate container dce63c1fa5fc 19:21:06 ---> 9c356c31376d 19:21:06 Step 20/22 : LABEL arch=amd64 19:21:06 ---> Running in 845dfac3cedc 19:21:06 Removing intermediate container 845dfac3cedc 19:21:06 ---> 0ab245e2dcdd 19:21:06 Step 21/22 : LABEL git_sha=a31b1b91bb199ec4ca299285b44acdc762ad1fe6 19:21:06 ---> Running in c92c10112d29 19:21:06 Removing intermediate container c92c10112d29 19:21:06 ---> 1ba9a698125f 19:21:06 Step 22/22 : LABEL version=0.0.0 19:21:06 ---> Running in 9f7610032483 19:21:06 Removing intermediate container 9f7610032483 19:21:06 ---> 5ea75d130002 19:21:06 [Warning] One or more build-args [ARCH] were not consumed 19:21:06 Successfully built 5ea75d130002 19:21:06 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 19:21:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:06 19:21:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:07 latest: Pulling from edgex-lftools-log-publisher 19:21:07 5eb5b503b376: Pulling fs layer 19:21:07 5c69ac0246d0: Pulling fs layer 19:21:07 ec43610c2a17: Pulling fs layer 19:21:07 3a2ae6a8a46f: Pulling fs layer 19:21:07 33b1e0a273af: Pulling fs layer 19:21:07 5d3b04190fa2: Pulling fs layer 19:21:07 2f39f015ded8: Pulling fs layer 19:21:07 5d3b04190fa2: Waiting 19:21:07 33b1e0a273af: Waiting 19:21:07 2f39f015ded8: Waiting 19:21:07 5c69ac0246d0: Verifying Checksum 19:21:07 5c69ac0246d0: Download complete 19:21:07 3a2ae6a8a46f: Download complete 19:21:07 33b1e0a273af: Verifying Checksum 19:21:07 33b1e0a273af: Download complete 19:21:07 ec43610c2a17: Verifying Checksum 19:21:07 ec43610c2a17: Download complete 19:21:07 5d3b04190fa2: Download complete 19:21:07 5eb5b503b376: Verifying Checksum 19:21:07 5eb5b503b376: Download complete 19:21:08 2f39f015ded8: Verifying Checksum 19:21:08 2f39f015ded8: Download complete 19:21:08 5eb5b503b376: Pull complete 19:21:08 5c69ac0246d0: Pull complete 19:21:08 using credential edgex-jenkins-ssh 19:21:08 Cloning the remote Git repository 19:21:09 ec43610c2a17: Pull complete 19:21:09 3a2ae6a8a46f: Pull complete 19:21:09 33b1e0a273af: Pull complete 19:21:09 5d3b04190fa2: Pull complete 19:21:08 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 19:21:08 > git init /w/workspace/device-modbus-go/4 # timeout=10 19:21:09 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 19:21:09 > git --version # timeout=10 19:21:09 > git --version # 'git version 2.25.1' 19:21:09 using GIT_SSH to set credentials SSH Credentials for GitHub 19:21:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:21:10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 19:21:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:21:11 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit a31b1b91bb199ec4ca299285b44acdc762ad1fe6 19:21:12 Merge succeeded, producing a31b1b91bb199ec4ca299285b44acdc762ad1fe6 19:21:12 Checking out Revision a31b1b91bb199ec4ca299285b44acdc762ad1fe6 (PR-445) 19:21:11 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 19:21:11 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 19:21:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:21:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:21:11 > git config core.sparsecheckout # timeout=10 19:21:12 > git checkout -f a31b1b91bb199ec4ca299285b44acdc762ad1fe6 # timeout=10 19:21:12 > git remote # timeout=10 19:21:12 > git config --get remote.origin.url # timeout=10 19:21:12 using GIT_SSH to set credentials SSH Credentials for GitHub 19:21:12 > git merge 63f56b440389908500f57809a79af5893e194475 # timeout=10 19:21:12 > git rev-parse HEAD^{commit} # timeout=10 19:21:12 > git config core.sparsecheckout # timeout=10 19:21:12 > git checkout -f a31b1b91bb199ec4ca299285b44acdc762ad1fe6 # timeout=10 19:21:13 2f39f015ded8: Pull complete 19:21:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:21:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:13 prd-ubuntu20.04-docker-8c-8g-6093 does not seem to be running inside a container 19:21:13 $ 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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:21:15 Commit message: "fix: commented out local-run config" 19:21:16 19:21:16 GitHub has been notified of this commit’s build result 19:21:16 19:21:16 $ docker top a1b8f489e9eff844dcf2d714d77b535ae6ecfd5c88e68b483b03d5960e2d0ee0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:21:17 ---> job-cost.sh 19:21:17 lf-activate-venv: SKIPPING 19:21:17 INFO: No Stack... 19:21:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:21:17 % Total % Received % Xferd Average Speed Time Time Time Current 19:21:17 Dload Upload Total Spent Left Speed 19:21:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85577 19:21:17 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 19:21:18 INFO: Archiving Costs [Pipeline] sh 19:21:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:21:18 + cat /w/workspace/xfoundry_device-modbus-go_PR-445/archives/cost.csv 19:21:18 + cut -d, -f6 [Pipeline] lock 19:21:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-4-stack-cost] 19:21:18 Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-4-stack-cost] did not exist. Created. 19:21:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:21:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:21:18 + sudo tee /etc/docker/daemon.new 19:21:18 { 19:21:18 "registry-mirrors": [ 19:21:18 "https://nexus3.edgexfoundry.org:10001" 19:21:18 ], 19:21:18 "bip": "10.250.0.254/24", 19:21:18 "hosts": [ 19:21:18 "tcp://0.0.0.0:5555", 19:21:18 "unix:///var/run/docker.sock" 19:21:18 ], 19:21:18 "mtu": 1458, 19:21:18 "selinux-enabled": true, 19:21:18 "seccomp-profile": "/etc/docker/seccomp.json" 19:21:18 } [Pipeline] sh 19:21:18 + echo total: 0.2199999988079071 [Pipeline] stash 19:21:18 Stashed 1 file(s) [Pipeline] } 19:21:18 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-4-stack-cost] [Pipeline] // lock [Pipeline] } 19:21:18 $ docker stop --time=1 a1b8f489e9eff844dcf2d714d77b535ae6ecfd5c88e68b483b03d5960e2d0ee0 19:21:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 19:21:19 $ docker rm -f --volumes a1b8f489e9eff844dcf2d714d77b535ae6ecfd5c88e68b483b03d5960e2d0ee0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:21:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:21:38 provisioning config files... 19:21:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config16081381120902468865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:21:38 ---> docker-login.sh 19:21:38 nexus3.edgexfoundry.org:10001 19:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:21:39 Configure a credential helper to remove this warning. See 19:21:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:21:39 19:21:39 Login Succeeded 19:21:39 nexus3.edgexfoundry.org:10002 19:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:21:39 Configure a credential helper to remove this warning. See 19:21:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:21:39 19:21:39 Login Succeeded 19:21:39 nexus3.edgexfoundry.org:10003 19:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:21:40 Configure a credential helper to remove this warning. See 19:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:21:40 19:21:40 Login Succeeded 19:21:40 nexus3.edgexfoundry.org:10004 19:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:21:40 Configure a credential helper to remove this warning. See 19:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:21:40 19:21:40 Login Succeeded 19:21:40 docker.io 19:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:21:41 Configure a credential helper to remove this warning. See 19:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:21:41 19:21:41 Login Succeeded 19:21:41 ---> docker-login.sh ends [Pipeline] } 19:21:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:21:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:21:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:21:41 ========================================================= 19:21:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:21:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:41 + 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 . 19:21:42 Sending build context to Docker daemon 3.422MB 19:21:42 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:21:42 Step 2/10 : FROM ${BASE} AS builder 19:21:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:21:42 af6eaf76a39c: Pulling fs layer 19:21:42 55522c791124: Pulling fs layer 19:21:42 ce5c4a1c91eb: Pulling fs layer 19:21:42 169dfbe0d373: Pulling fs layer 19:21:42 e1ff8fa3b103: Pulling fs layer 19:21:42 52ebb69f0ebf: Pulling fs layer 19:21:42 5abe8eddf0d5: Pulling fs layer 19:21:42 e1ff8fa3b103: Waiting 19:21:42 52ebb69f0ebf: Waiting 19:21:42 5abe8eddf0d5: Waiting 19:21:42 169dfbe0d373: Waiting 19:21:42 55522c791124: Verifying Checksum 19:21:42 55522c791124: Download complete 19:21:42 169dfbe0d373: Verifying Checksum 19:21:42 169dfbe0d373: Download complete 19:21:42 e1ff8fa3b103: Verifying Checksum 19:21:42 e1ff8fa3b103: Download complete 19:21:42 af6eaf76a39c: Verifying Checksum 19:21:42 af6eaf76a39c: Download complete 19:21:43 af6eaf76a39c: Pull complete 19:21:43 5abe8eddf0d5: Verifying Checksum 19:21:43 5abe8eddf0d5: Download complete 19:21:44 55522c791124: Pull complete 19:21:45 ce5c4a1c91eb: Verifying Checksum 19:21:45 ce5c4a1c91eb: Download complete 19:21:45 52ebb69f0ebf: Verifying Checksum 19:21:45 52ebb69f0ebf: Download complete 19:21:57 ce5c4a1c91eb: Pull complete 19:21:57 169dfbe0d373: Pull complete 19:21:57 e1ff8fa3b103: Pull complete 19:22:07 52ebb69f0ebf: Pull complete 19:22:08 5abe8eddf0d5: Pull complete 19:22:08 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:22:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:22:08 ---> 6cb57ee374ae 19:22:08 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:22:10 ---> Running in 1241553f9b18 19:22:10 Removing intermediate container 1241553f9b18 19:22:10 ---> afb4e879eb16 19:22:10 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:22:10 ---> Running in 249612f6b9f9 19:22:10 Removing intermediate container 249612f6b9f9 19:22:10 ---> d3dd09bc3b5a 19:22:10 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:22:10 ---> Running in 619c3875dfac 19:22:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:22:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:22:13 (1/8) Installing openssh-keygen (9.1_p1-r2) 19:22:13 (2/8) Installing libedit (20221030.3.1-r0) 19:22:13 (3/8) Installing openssh-client-common (9.1_p1-r2) 19:22:13 (4/8) Installing openssh-client-default (9.1_p1-r2) 19:22:13 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 19:22:13 (6/8) Installing openssh-server-common (9.1_p1-r2) 19:22:13 (7/8) Installing openssh-server (9.1_p1-r2) 19:22:13 (8/8) Installing openssh (9.1_p1-r2) 19:22:13 Executing busybox-1.35.0-r29.trigger 19:22:13 OK: 270 MiB in 61 packages 19:22:14 Removing intermediate container 619c3875dfac 19:22:14 ---> 34ab0f0e3596 19:22:14 Step 6/10 : WORKDIR /device-modbus-go 19:22:14 ---> Running in e9b23836975d 19:22:15 Removing intermediate container e9b23836975d 19:22:15 ---> 3c640f7f0492 19:22:15 Step 7/10 : COPY go.mod vendor* ./ 19:22:17 ---> aafad4daa391 19:22:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:22:17 ---> Running in 2a3e673fff8f 19:23:25 Removing intermediate container 2a3e673fff8f 19:23:25 ---> b8c5a80f4f02 19:23:25 Step 9/10 : COPY . . 19:23:25 ---> 7d4aa4eee350 19:23:25 Step 10/10 : RUN ${MAKE} 19:23:25 ---> Running in 67604229e1e7 19:23:25 noop 19:23:25 Removing intermediate container 67604229e1e7 19:23:25 ---> dba66dc65002 19:23:25 Successfully built dba66dc65002 19:23:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:26 + docker inspect -f . ci-base-image-arm64 19:23:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:23:26 prd-ubuntu20.04-docker-arm64-4c-16g-6094 does not seem to be running inside a container 19:23:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:23:27 $ docker top e2805f49fe024f5f56ab5f37c179f1bf75376b4e5d8f00ca5845a973cb83b96b -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:28 + go version 19:23:28 go version go1.20.2 linux/arm64 [Pipeline] } 19:23:28 $ docker stop --time=1 e2805f49fe024f5f56ab5f37c179f1bf75376b4e5d8f00ca5845a973cb83b96b 19:23:30 $ docker rm -f --volumes e2805f49fe024f5f56ab5f37c179f1bf75376b4e5d8f00ca5845a973cb83b96b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:30 + docker inspect -f . ci-base-image-arm64 19:23:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:23:30 prd-ubuntu20.04-docker-arm64-4c-16g-6094 does not seem to be running inside a container 19:23:30 $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:23:32 $ docker top dbf6ee8acded707554f4cf7e5c3fc56f4bda48422d834a8d1615b94573cdb75b -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:32 + git config --global --add safe.directory /w/workspace/device-modbus-go/4 [Pipeline] fileExists [Pipeline] sh 19:23:32 + make test 19:23:32 go test ./... -coverprofile=coverage.out 19:24:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:25:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:25:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 48.0% of statements 19:25:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:25:58 go vet ./... 19:26:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:26:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:26:37 ./bin/test-attribution-txt.sh [Pipeline] echo 19:26:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:26:37 $ docker stop --time=1 dbf6ee8acded707554f4cf7e5c3fc56f4bda48422d834a8d1615b94573cdb75b 19:26:39 $ docker rm -f --volumes dbf6ee8acded707554f4cf7e5c3fc56f4bda48422d834a8d1615b94573cdb75b [Pipeline] // withDockerContainer [Pipeline] sh 19:26:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:26:40 Warning: overwriting stash ‘coverage-report’ 19:26:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:26:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:26:41 + ls -al . 19:26:41 total 176 19:26:41 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 19:23 . 19:26:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:21 .. 19:26:41 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 19:21 .dockerignore 19:26:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 19:21 .git 19:26:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:21 .github 19:26:41 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 19:21 .gitignore 19:26:41 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 19:21 .golangci.yml 19:26:41 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 28 19:21 Attribution.txt 19:26:41 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 19:21 CHANGELOG.md 19:26:41 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 19:21 Dockerfile 19:26:41 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 19:21 GOVERNANCE.md 19:26:41 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 19:21 Jenkinsfile 19:26:41 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 19:21 LICENSE 19:26:41 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 19:21 Makefile 19:26:41 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 19:21 OWNERS.md 19:26:41 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 19:21 README.md 19:26:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 19:19 VERSION 19:26:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:21 bin 19:26:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:21 cmd 19:26:41 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 19:25 coverage.out 19:26:41 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 19:21 go.mod 19:26:41 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 19:21 go.sum 19:26:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:21 internal 19:26:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:21 simulator 19:26:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:21 snap 19:26:41 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 19:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:41 + 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=a31b1b91bb199ec4ca299285b44acdc762ad1fe6 --label arch=arm64 --label version=0.0.0 . 19:26:42 Sending build context to Docker daemon 3.446MB 19:26:42 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 19:26:42 Step 2/22 : FROM ${BASE} AS builder 19:26:42 ---> dba66dc65002 19:26:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 19:26:43 ---> Running in 9912a9fafdb5 19:26:43 Removing intermediate container 9912a9fafdb5 19:26:43 ---> d9aaa0f8a633 19:26:43 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:26:43 ---> Running in d898965f661d 19:26:43 Removing intermediate container d898965f661d 19:26:43 ---> a7654ad6974d 19:26:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 19:26:43 ---> Running in ab3e2bd2e300 19:26:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:26:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:26:46 OK: 270 MiB in 61 packages 19:26:46 Removing intermediate container ab3e2bd2e300 19:26:46 ---> f6d8e8dc5a91 19:26:46 Step 6/22 : WORKDIR /device-modbus-go 19:26:46 ---> Running in bd4725cb5c47 19:26:47 Removing intermediate container bd4725cb5c47 19:26:47 ---> 4b3412a42393 19:26:47 Step 7/22 : COPY go.mod vendor* ./ 19:26:47 ---> 38044345d38d 19:26:47 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:26:47 ---> Running in a71b682f92bd 19:26:50 Removing intermediate container a71b682f92bd 19:26:50 ---> 7684dec55bb6 19:26:50 Step 9/22 : COPY . . 19:26:51 ---> a2631ee7b9e0 19:26:51 Step 10/22 : RUN ${MAKE} 19:26:51 ---> Running in bfa4b8fd3e19 19:26:52 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 19:28:58 Removing intermediate container bfa4b8fd3e19 19:28:58 ---> 2b4762f28d2d 19:28:58 Step 11/22 : FROM alpine:3.17 19:28:58 3.17: Pulling from library/alpine 19:28:58 af6eaf76a39c: Already exists 19:28:58 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:28:58 Status: Downloaded newer image for alpine:3.17 19:28:58 ---> d74e625d9115 19:28:58 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:28:58 ---> Running in 502a9de37cd9 19:28:58 Removing intermediate container 502a9de37cd9 19:28:58 ---> fb8c260f2c4b 19:28:58 Step 13/22 : RUN apk add --update --no-cache dumb-init 19:28:58 ---> Running in 4e3336ae13f9 19:28:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:29:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:29:01 (1/1) Installing dumb-init (1.2.5-r2) 19:29:01 Executing busybox-1.35.0-r29.trigger 19:29:01 OK: 8 MiB in 16 packages 19:29:02 Removing intermediate container 4e3336ae13f9 19:29:02 ---> 2010934f991d 19:29:02 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:29:04 ---> bb2af6ccffd1 19:29:04 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:29:04 ---> ef8900ac42ee 19:29:04 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:29:05 ---> 8a1463981dbd 19:29:05 Step 17/22 : EXPOSE 59901 19:29:05 ---> Running in e84040634e9e 19:29:05 Removing intermediate container e84040634e9e 19:29:05 ---> 0ac025835888 19:29:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:29:05 ---> Running in e42305e33f7f 19:29:05 Removing intermediate container e42305e33f7f 19:29:05 ---> a1f76e5abced 19:29:05 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:29:05 ---> Running in c32668303072 19:29:05 Removing intermediate container c32668303072 19:29:05 ---> 53d8f958f3b3 19:29:05 Step 20/22 : LABEL arch=arm64 19:29:06 ---> Running in 880e5f9473c0 19:29:06 Removing intermediate container 880e5f9473c0 19:29:06 ---> 4c81e166cf5a 19:29:06 Step 21/22 : LABEL git_sha=a31b1b91bb199ec4ca299285b44acdc762ad1fe6 19:29:06 ---> Running in 7ab0ceed67a9 19:29:06 Removing intermediate container 7ab0ceed67a9 19:29:06 ---> 18e99ca932ae 19:29:06 Step 22/22 : LABEL version=0.0.0 19:29:06 ---> Running in 66fc1fc795fc 19:29:06 Removing intermediate container 66fc1fc795fc 19:29:06 ---> 1efed0b92ed0 19:29:06 [Warning] One or more build-args [ARCH] were not consumed 19:29:06 Successfully built 1efed0b92ed0 19:29:06 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 19:29:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:29:07 19:29:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:29:07 arm64: Pulling from edgex-lftools-log-publisher 19:29:07 8998bd30e6a1: Pulling fs layer 19:29:07 04944245beec: Pulling fs layer 19:29:07 699f458cf7ca: Pulling fs layer 19:29:07 765212b225bb: Pulling fs layer 19:29:07 f23df028b6ca: Pulling fs layer 19:29:07 d65c8cfc05b1: Pulling fs layer 19:29:07 2437ff75d9bd: Pulling fs layer 19:29:07 f23df028b6ca: Waiting 19:29:07 d65c8cfc05b1: Waiting 19:29:07 2437ff75d9bd: Waiting 19:29:07 765212b225bb: Waiting 19:29:08 04944245beec: Verifying Checksum 19:29:08 04944245beec: Download complete 19:29:08 765212b225bb: Verifying Checksum 19:29:08 765212b225bb: Download complete 19:29:08 f23df028b6ca: Verifying Checksum 19:29:08 f23df028b6ca: Download complete 19:29:08 d65c8cfc05b1: Verifying Checksum 19:29:08 d65c8cfc05b1: Download complete 19:29:08 699f458cf7ca: Verifying Checksum 19:29:08 699f458cf7ca: Download complete 19:29:08 8998bd30e6a1: Verifying Checksum 19:29:08 8998bd30e6a1: Download complete 19:29:11 2437ff75d9bd: Verifying Checksum 19:29:11 2437ff75d9bd: Download complete 19:29:12 8998bd30e6a1: Pull complete 19:29:12 04944245beec: Pull complete 19:29:14 699f458cf7ca: Pull complete 19:29:14 765212b225bb: Pull complete 19:29:15 f23df028b6ca: Pull complete 19:29:15 d65c8cfc05b1: Pull complete 19:29:30 2437ff75d9bd: Pull complete 19:29:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:29:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:29:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:30 prd-ubuntu20.04-docker-arm64-4c-16g-6094 does not seem to be running inside a container 19:29:30 $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:29:33 $ docker top 2a067dd7d3f761b2ab58e90bfa31759d53b6394b17a8410e557a54ac3af4b8c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:29:34 ---> job-cost.sh 19:29:34 lf-activate-venv: SKIPPING 19:29:34 INFO: No Stack... 19:29:34 INFO: Retrieving Pricing Info for: v3-standard-4 19:29:35 INFO: Archiving Costs [Pipeline] sh 19:29:36 + cat+ /w/workspace/device-modbus-go/4/archives/cost.csv 19:29:36 cut -d, -f6 [Pipeline] lock 19:29:36 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-4-stack-cost] 19:29:36 Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-4-stack-cost] did not exist. Created. 19:29:36 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:29:36 /w/workspace/device-modbus-go/4@tmp/durable-45dabcd7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:29:37 + echo total: 0.10999999940395355 [Pipeline] stash 19:29:37 Warning: overwriting stash ‘stack-cost’ 19:29:37 Stashed 1 file(s) [Pipeline] } 19:29:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-4-stack-cost] [Pipeline] // lock [Pipeline] } 19:29:37 $ docker stop --time=1 2a067dd7d3f761b2ab58e90bfa31759d53b6394b17a8410e557a54ac3af4b8c8 19:29:38 $ docker rm -f --volumes 2a067dd7d3f761b2ab58e90bfa31759d53b6394b17a8410e557a54ac3af4b8c8 [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 19:29:39 provisioning config files... 19:29:39 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config7524428056985264940tmp [Pipeline] { [Pipeline] sh 19:29:39 + set +x 19:29:39 + curl -s https://codecov.io/bash 19:29:39 + bash -s -- 19:29:39 19:29:39 _____ _ 19:29:39 / ____| | | 19:29:39 | | ___ __| | ___ ___ _____ __ 19:29:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:29:39 | |___| (_) | (_| | __/ (_| (_) \ V / 19:29:39 \_____\___/ \__,_|\___|\___\___/ \_/ 19:29:39 Bash-1.0.6 19:29:39 19:29:39 19:29:39 ==> git version 2.25.1 found 19:29:39 ==> 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 19:29:39 Release-Date: 2020-01-08 19:29:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:29:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:29:39 ==> Jenkins CI detected. 19:29:39 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-445 19:29:39 project root: . 19:29:39 --> token set from env 19:29:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:29:39 ==> Running gcov in . (disable via -X gcov) 19:29:39 ==> Python coveragepy not found 19:29:39 ==> Searching for coverage reports in: 19:29:39 + . 19:29:39 -> Found 1 reports 19:29:39 ==> Detecting git/mercurial file structure 19:29:39 ==> Reading reports 19:29:39 + ./coverage.out bytes=23739 19:29:39 ==> Appending adjustments 19:29:39 https://docs.codecov.io/docs/fixing-reports 19:29:39 + Found adjustments 19:29:39 ==> Gzipping contents 19:29:39 4.0K /tmp/codecov.kP4Rq1.gz 19:29:39 ==> Uploading reports 19:29:39 url: https://codecov.io 19:29:39 query: branch=PR-445&commit=a31b1b91bb199ec4ca299285b44acdc762ad1fe6&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= 19:29:39 -> Pinging Codecov 19:29:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-445&commit=a31b1b91bb199ec4ca299285b44acdc762ad1fe6&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= 19:29:40 -> Uploading to 19:29:40 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/55DBCA73C666E3227836607328DD7E49/a31b1b91bb199ec4ca299285b44acdc762ad1fe6/f3990e69-0090-4e92-8d52-5fccbb8d2514.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T192939Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d1366f1fd3626e021544e6eaae2ce6c5a7877ee878c4baa7ccc7ab714885c3f 19:29:40 % Total % Received % Xferd Average Speed Time Time Time Current 19:29:40 Dload Upload Total Spent Left Speed 19:29:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3877 0 0 100 3877 0 17463 --:--:-- --:--:-- --:--:-- 17385 100 3877 0 0 100 3877 0 12923 --:--:-- --:--:-- --:--:-- 12880 19:29:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a31b1b91bb199ec4ca299285b44acdc762ad1fe6 [Pipeline] } 19:29:40 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 19:29:41 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-445/archives ] 19:29:41 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives 19:29:41 total 16 19:29:41 drwxr-xr-x 3 root root 4096 Mar 28 19:21 . 19:29:41 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 19:21 .. 19:29:41 drwxr-xr-x 2 root root 4096 Mar 28 19:21 cost 19:29:41 -rw-r--r-- 1 root root 88 Mar 28 19:21 cost.csv 19:29:41 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-445/archives 19:29:41 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives 19:29:41 total 16 19:29:41 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 19:21 . 19:29:41 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 19:21 .. 19:29:41 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 19:21 cost 19:29:41 -rw-r--r-- 1 jenkins jenkins 88 Mar 28 19:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:29:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:29:42 ---> package-listing.sh 19:29:42 ++ facter osfamily 19:29:42 ++ tr '[:upper:]' '[:lower:]' 19:29:42 + OS_FAMILY=debian 19:29:42 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-445 19:29:42 + START_PACKAGES=/tmp/packages_start.txt 19:29:42 + END_PACKAGES=/tmp/packages_end.txt 19:29:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:29:42 + PACKAGES=/tmp/packages_start.txt 19:29:42 + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' 19:29:42 + PACKAGES=/tmp/packages_end.txt 19:29:42 + case "${OS_FAMILY}" in 19:29:42 + dpkg -l 19:29:42 + grep '^ii' 19:29:42 + '[' -f /tmp/packages_start.txt ']' 19:29:42 + '[' -f /tmp/packages_end.txt ']' 19:29:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:29:42 + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' 19:29:42 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-445/archives/ 19:29:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-445/archives/ [Pipeline] echo 19:29:42 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:29:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:29:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:43 prd-ubuntu20.04-docker-8c-8g-6093 does not seem to be running inside a container 19:29:43 $ 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-445/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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:29:43 $ docker top 8693a9b29372986157fca45051830b69ecd2ed8e9738bf907434d1c32ca0d9ae -eo pid,comm [Pipeline] { [Pipeline] sh 19:29:44 + touch /tmp/pre-build-complete [Pipeline] sh 19:29:44 + mkdir -p /var/log/sysstat [Pipeline] sh 19:29:44 + ls /var/log/sa-host 19:29:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:29:44 provisioning config files... 19:29:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config11755453257339650617tmp [Pipeline] { [Pipeline] echo 19:29:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:29:45 ---> create-netrc.sh [Pipeline] } 19:29:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:29:45 ---> python-tools-install.sh [Pipeline] echo 19:29:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:29:45 ---> sudo-logs.sh 19:29:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:29:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:29:46 ---> job-cost.sh 19:29:46 lf-activate-venv: SKIPPING 19:29:46 DEBUG: total: 0.2199999988079071 19:29:46 INFO: Retrieving Stack Cost... 19:29:46 INFO: Retrieving Pricing Info for: v3-standard-8 19:29:46 INFO: Archiving Costs [Pipeline] echo 19:29:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:29:47 ---> logs-deploy.sh 19:29:47 lf-activate-venv: SKIPPING 19:29:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-445/4 19:29:47 INFO: archiving workspace using pattern(s): 19:29:48 Archives upload complete. 19:29:48 INFO: archiving logs to Nexus