Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c12bd710e8bcee76855f11c382023a37ad01fe3+63f56b440389908500f57809a79af5893e194475 (f47fc8ee2f92950c8b4db06ccfbd14bf9f659b68) 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-ssh16925470633064784383.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-ssh11726121421966316727.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-441/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-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10453135672331536302.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-ssh2443115485054702844.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-441/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-441/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10986902622838049042.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-5822 in /w/workspace/xfoundry_device-modbus-go_PR-441 [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-441 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit 8c12bd710e8bcee76855f11c382023a37ad01fe3 Merge succeeded, producing bcf0de3a7050c44c87b988a13911840090735748 Checking out Revision bcf0de3a7050c44c87b988a13911840090735748 (PR-441) > 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/441/head:refs/remotes/origin/PR-441 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c12bd710e8bcee76855f11c382023a37ad01fe3 # 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 bcf0de3a7050c44c87b988a13911840090735748 # timeout=10 Commit message: "Merge commit '63f56b440389908500f57809a79af5893e194475' into HEAD" > git rev-list --no-walk 8c12bd710e8bcee76855f11c382023a37ad01fe3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:53:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:53:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:53:32 ========================================================= 00:53:32 EdgeX Global Pipelines Version Info 00:53:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:53:33 ------------------- 00:53:33 stable info: 00:53:33 ------------------- 00:53:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:53:33 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 00:53:33 Message: update stable to v1.0.245 00:53:34 ------------------- 00:53:34 experimental info: 00:53:34 ------------------- 00:53:34 Commited By: **** collab-it+edgex@linuxfoundation.org 00:53:34 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 00:53:34 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-441 [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-441 [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-441 [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bcf0de3a7050c44c87b988a13911840090735748 [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bcf0de3 [Pipeline] echo 00:53:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:34 provisioning config files... 00:53:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-441@tmp/config15558227128173278291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:35 ---> docker-login.sh 00:53:35 nexus3.edgexfoundry.org:10001 00:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:35 Configure a credential helper to remove this warning. See 00:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:35 00:53:35 Login Succeeded 00:53:35 nexus3.edgexfoundry.org:10002 00:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:35 Configure a credential helper to remove this warning. See 00:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:35 00:53:35 Login Succeeded 00:53:35 nexus3.edgexfoundry.org:10003 00:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:35 Configure a credential helper to remove this warning. See 00:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:35 00:53:35 Login Succeeded 00:53:35 nexus3.edgexfoundry.org:10004 00:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:35 Configure a credential helper to remove this warning. See 00:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:35 00:53:35 Login Succeeded 00:53:35 docker.io 00:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:36 Configure a credential helper to remove this warning. See 00:53:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:36 00:53:36 Login Succeeded 00:53:36 ---> docker-login.sh ends [Pipeline] } 00:53:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:53:36 + git rev-list -1 --merges bcf0de3a7050c44c87b988a13911840090735748~1..bcf0de3a7050c44c87b988a13911840090735748 [Pipeline] echo 00:53:36 -----------> git rev-list -1 --merges bcf0de3a7050c44c87b988a13911840090735748~1..bcf0de3a7050c44c87b988a13911840090735748 bcf0de3a7050c44c87b988a13911840090735748 00:53:36 bcf0de3a7050c44c87b988a13911840090735748 [false] [Pipeline] sh 00:53:36 + git log --format=format:%s -1 bcf0de3a7050c44c87b988a13911840090735748 [Pipeline] echo 00:53:36 ========================================================= 00:53:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:53:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:37 + git log --format=format:%s -1 bcf0de3a7050c44c87b988a13911840090735748 [Pipeline] echo 00:53:37 [semverPrep] GIT_COMMIT: bcf0de3a7050c44c87b988a13911840090735748, Commit Message: Merge commit '63f56b440389908500f57809a79af5893e194475' into HEAD [Pipeline] echo 00:53:37 [semverPrep] This is not a build commit. [Pipeline] sh 00:53:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:53:37 + grep -v github /etc/ssh/ssh_known_hosts 00:53:37 + [ -e /tmp/ssh_known_hosts ] 00:53:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:53:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:53:37 + sudo tee -a /etc/ssh/ssh_known_hosts 00:53:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:37 00:53:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:38 0.1.4: Pulling from edgex-devops/py-git-semver 00:53:38 b85a868b505f: Pulling fs layer 00:53:38 e2be974225ed: Pulling fs layer 00:53:38 339a4e72a1f5: Pulling fs layer 00:53:38 988bab9f4d93: Pulling fs layer 00:53:38 1469e6f7b9e6: Pulling fs layer 00:53:38 eaf3925da568: Pulling fs layer 00:53:38 bab4dde63d76: Pulling fs layer 00:53:38 bde34c3a00c8: Pulling fs layer 00:53:38 b352a97aabf1: Pulling fs layer 00:53:38 4872d77fe225: Pulling fs layer 00:53:38 5851b861e8e6: Pulling fs layer 00:53:38 988bab9f4d93: Waiting 00:53:38 1469e6f7b9e6: Waiting 00:53:38 eaf3925da568: Waiting 00:53:38 4872d77fe225: Waiting 00:53:38 bab4dde63d76: Waiting 00:53:38 bde34c3a00c8: Waiting 00:53:38 5851b861e8e6: Waiting 00:53:38 b352a97aabf1: Waiting 00:53:38 e2be974225ed: Verifying Checksum 00:53:38 e2be974225ed: Download complete 00:53:38 988bab9f4d93: Verifying Checksum 00:53:38 988bab9f4d93: Download complete 00:53:38 1469e6f7b9e6: Verifying Checksum 00:53:38 1469e6f7b9e6: Download complete 00:53:38 eaf3925da568: Download complete 00:53:38 339a4e72a1f5: Verifying Checksum 00:53:38 339a4e72a1f5: Download complete 00:53:38 bde34c3a00c8: Verifying Checksum 00:53:38 bde34c3a00c8: Download complete 00:53:38 b352a97aabf1: Verifying Checksum 00:53:38 b352a97aabf1: Download complete 00:53:38 4872d77fe225: Verifying Checksum 00:53:38 4872d77fe225: Download complete 00:53:38 5851b861e8e6: Download complete 00:53:38 b85a868b505f: Verifying Checksum 00:53:38 b85a868b505f: Download complete 00:53:38 bab4dde63d76: Verifying Checksum 00:53:38 bab4dde63d76: Download complete 00:53:39 b85a868b505f: Pull complete 00:53:40 e2be974225ed: Pull complete 00:53:41 339a4e72a1f5: Pull complete 00:53:41 988bab9f4d93: Pull complete 00:53:41 1469e6f7b9e6: Pull complete 00:53:42 eaf3925da568: Pull complete 00:53:44 bab4dde63d76: Pull complete 00:53:44 bde34c3a00c8: Pull complete 00:53:44 b352a97aabf1: Pull complete 00:53:45 4872d77fe225: Pull complete 00:53:45 5851b861e8e6: Pull complete 00:53:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:45 prd-ubuntu20.04-docker-8c-8g-5822 does not seem to be running inside a container 00:53:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-441 -v /w/workspace/xfoundry_device-modbus-go_PR-441:/w/workspace/xfoundry_device-modbus-go_PR-441:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-441@tmp:/w/workspace/xfoundry_device-modbus-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:53:50 $ docker top f13b578fb3c82cf61ffe4a9eee15f89efe71b071314917ea2faa66630aced06e -eo pid,comm 00:53:50 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). 00:53:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:53:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:50 [ssh-agent] Looking for ssh-agent implementation... 00:53:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:50 $ docker exec f13b578fb3c82cf61ffe4a9eee15f89efe71b071314917ea2faa66630aced06e ssh-agent 00:53:50 SSH_AUTH_SOCK=/tmp/ssh-SbvLwcOdsOkc/agent.31 00:53:50 SSH_AGENT_PID=37 00:53:50 Running ssh-add (command line suppressed) 00:53:50 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-441@tmp/private_key_7838394312113991728.key (/w/workspace/xfoundry_device-modbus-go_PR-441@tmp/private_key_7838394312113991728.key) 00:53:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:50 + git tag --points-at HEAD [Pipeline] } 00:53:50 $ docker exec --env ******** --env ******** f13b578fb3c82cf61ffe4a9eee15f89efe71b071314917ea2faa66630aced06e ssh-agent -k 00:53:51 unset SSH_AUTH_SOCK; 00:53:51 unset SSH_AGENT_PID; 00:53:51 echo Agent pid 37 killed; 00:53:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:53:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:51 [ssh-agent] Looking for ssh-agent implementation... 00:53:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:51 $ docker exec f13b578fb3c82cf61ffe4a9eee15f89efe71b071314917ea2faa66630aced06e ssh-agent 00:53:51 SSH_AUTH_SOCK=/tmp/ssh-kXFIqiUEA4AO/agent.70 00:53:51 SSH_AGENT_PID=76 00:53:51 Running ssh-add (command line suppressed) 00:53:51 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-441@tmp/private_key_7277882362873261025.key (/w/workspace/xfoundry_device-modbus-go_PR-441@tmp/private_key_7277882362873261025.key) 00:53:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:51 + git semver init 00:53:52 2023-03-26 00:53:51,956 [run_init] DEBUG init version:0.0.0 force:False 00:53:52 2023-03-26 00:53:51,957 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-441/.semver 00:53:52 2023-03-26 00:53:51,957 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-441/.semver 00:53:52 2023-03-26 00:53:51,957 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-441/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-441, universal_newlines=False, shell=None, istream=None) 00:53:52 2023-03-26 00:53:52,730 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-441/.git/info/exclude 00:53:52 2023-03-26 00:53:52,730 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-441/.semver/PR-441 with force:False 00:53:52 2023-03-26 00:53:52,731 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-441/.semver/PR-441 00:53:52 2023-03-26 00:53:52,735 [execute] INFO git cat-file --batch-check 00:53:52 2023-03-26 00:53:52,735 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-441/.semver, universal_newlines=False, shell=None, istream=) 00:53:52 2023-03-26 00:53:52,741 [execute] INFO git cat-file --batch 00:53:52 2023-03-26 00:53:52,742 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-441/.semver, universal_newlines=False, shell=None, istream=) 00:53:52 2023-03-26 00:53:52,747 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-441/.semver/PR-441 00:53:52 0.0.0 [Pipeline] } 00:53:52 $ docker exec --env ******** --env ******** f13b578fb3c82cf61ffe4a9eee15f89efe71b071314917ea2faa66630aced06e ssh-agent -k 00:53:53 unset SSH_AUTH_SOCK; 00:53:53 unset SSH_AGENT_PID; 00:53:53 echo Agent pid 76 killed; 00:53:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:53:53 + git semver [Pipeline] } 00:53:53 $ docker stop --time=1 f13b578fb3c82cf61ffe4a9eee15f89efe71b071314917ea2faa66630aced06e 00:53:54 $ docker rm -f --volumes f13b578fb3c82cf61ffe4a9eee15f89efe71b071314917ea2faa66630aced06e [Pipeline] // withDockerContainer [Pipeline] sh 00:53:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:53:55 Stashed 1 file(s) [Pipeline] echo 00:53:55 [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 00:53:55 provisioning config files... 00:53:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-441@tmp/config8499876813402314304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:55 ---> docker-login.sh 00:53:55 nexus3.edgexfoundry.org:10001 00:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:55 Configure a credential helper to remove this warning. See 00:53:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:55 00:53:55 Login Succeeded 00:53:55 nexus3.edgexfoundry.org:10002 00:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:55 Configure a credential helper to remove this warning. See 00:53:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:55 00:53:55 Login Succeeded 00:53:55 nexus3.edgexfoundry.org:10003 00:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:56 Configure a credential helper to remove this warning. See 00:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:56 00:53:56 Login Succeeded 00:53:56 nexus3.edgexfoundry.org:10004 00:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:56 Configure a credential helper to remove this warning. See 00:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:56 00:53:56 Login Succeeded 00:53:56 docker.io 00:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:56 Configure a credential helper to remove this warning. See 00:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:56 00:53:56 Login Succeeded 00:53:56 ---> docker-login.sh ends [Pipeline] } 00:53:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:53:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:56 ========================================================= 00:53:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:53:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:56 + 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 . 00:53:56 Sending build context to Docker daemon 6.396MB 00:53:56 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:53:56 Step 2/10 : FROM ${BASE} AS builder 00:53:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:53:57 63b65145d645: Pulling fs layer 00:53:57 a2d21d5440eb: Pulling fs layer 00:53:57 935e6c44a52c: Pulling fs layer 00:53:57 94cc34f8dd06: Pulling fs layer 00:53:57 30dea6a524f1: Pulling fs layer 00:53:57 a2aff8979fd8: Pulling fs layer 00:53:57 6808be2612f2: Pulling fs layer 00:53:57 f25807f1079a: Pulling fs layer 00:53:57 94cc34f8dd06: Waiting 00:53:57 30dea6a524f1: Waiting 00:53:57 6808be2612f2: Waiting 00:53:57 a2d21d5440eb: Download complete 00:53:57 94cc34f8dd06: Download complete 00:53:57 30dea6a524f1: Verifying Checksum 00:53:57 30dea6a524f1: Download complete 00:53:57 63b65145d645: Verifying Checksum 00:53:57 63b65145d645: Download complete 00:53:57 a2aff8979fd8: Verifying Checksum 00:53:57 a2aff8979fd8: Download complete 00:53:57 63b65145d645: Pull complete 00:53:57 a2d21d5440eb: Pull complete 00:53:57 f25807f1079a: Verifying Checksum 00:53:57 f25807f1079a: Download complete 00:53:57 935e6c44a52c: Verifying Checksum 00:53:57 935e6c44a52c: Download complete 00:53:57 6808be2612f2: Verifying Checksum 00:53:57 6808be2612f2: Download complete 00:54:01 935e6c44a52c: Pull complete 00:54:01 94cc34f8dd06: Pull complete 00:54:01 30dea6a524f1: Pull complete 00:54:01 a2aff8979fd8: Pull complete 00:54:03 6808be2612f2: Pull complete 00:54:03 f25807f1079a: Pull complete 00:54:03 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 00:54:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:54:03 ---> 3b553350e43f 00:54:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:54:10 Still waiting to schedule task 00:54:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5823’ is offline 00:54:12 ---> Running in 6efc67ff8a57 00:54:12 Removing intermediate container 6efc67ff8a57 00:54:12 ---> 0a433fc7c87b 00:54:12 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:54:12 ---> Running in ccc6c0ab5d5e 00:54:12 Removing intermediate container ccc6c0ab5d5e 00:54:12 ---> ffbfd2accd80 00:54:12 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:54:12 ---> Running in c8c4d1eaf7e2 00:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:54:12 (1/8) Installing openssh-keygen (9.1_p1-r2) 00:54:12 (2/8) Installing libedit (20221030.3.1-r0) 00:54:12 (3/8) Installing openssh-client-common (9.1_p1-r2) 00:54:12 (4/8) Installing openssh-client-default (9.1_p1-r2) 00:54:12 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 00:54:12 (6/8) Installing openssh-server-common (9.1_p1-r2) 00:54:12 (7/8) Installing openssh-server (9.1_p1-r2) 00:54:12 (8/8) Installing openssh (9.1_p1-r2) 00:54:12 Executing busybox-1.35.0-r29.trigger 00:54:12 OK: 270 MiB in 61 packages 00:54:13 Removing intermediate container c8c4d1eaf7e2 00:54:13 ---> 2809e57bbfc1 00:54:13 Step 6/10 : WORKDIR /device-modbus-go 00:54:13 ---> Running in d7c5a34bf99f 00:54:13 Removing intermediate container d7c5a34bf99f 00:54:13 ---> 06e7da6a0334 00:54:13 Step 7/10 : COPY go.mod vendor* ./ 00:54:13 ---> 5aa142197fa3 00:54:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:13 ---> Running in e8eea0042f0d 00:54:52 Removing intermediate container e8eea0042f0d 00:54:52 ---> c2e1b5313e45 00:54:52 Step 9/10 : COPY . . 00:54:52 ---> 2c50a1967108 00:54:52 Step 10/10 : RUN ${MAKE} 00:54:52 ---> Running in 523d440f54f5 00:54:52 noop 00:54:52 Removing intermediate container 523d440f54f5 00:54:52 ---> 3a32b877f886 00:54:52 Successfully built 3a32b877f886 00:54:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:52 + docker inspect -f . ci-base-image-x86_64 00:54:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:52 prd-ubuntu20.04-docker-8c-8g-5822 does not seem to be running inside a container 00:54:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-441 -v /w/workspace/xfoundry_device-modbus-go_PR-441:/w/workspace/xfoundry_device-modbus-go_PR-441:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-441@tmp:/w/workspace/xfoundry_device-modbus-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:54:52 $ docker top 11c9b50160daf112255c12ef024145e2fd4a2035c9864a41a127032c7647ab2d -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:53 + go version 00:54:53 go version go1.20.2 linux/amd64 [Pipeline] } 00:54:53 $ docker stop --time=1 11c9b50160daf112255c12ef024145e2fd4a2035c9864a41a127032c7647ab2d 00:54:54 $ docker rm -f --volumes 11c9b50160daf112255c12ef024145e2fd4a2035c9864a41a127032c7647ab2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:54 + docker inspect -f . ci-base-image-x86_64 00:54:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:54 prd-ubuntu20.04-docker-8c-8g-5822 does not seem to be running inside a container 00:54:54 $ 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-441 -v /w/workspace/xfoundry_device-modbus-go_PR-441:/w/workspace/xfoundry_device-modbus-go_PR-441:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-441@tmp:/w/workspace/xfoundry_device-modbus-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:54:55 $ docker top ac1b74cdf4d7cdd18bb3854bec0ea216651ec77d37dc008d974ed03bfafe4b0e -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:55 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-441 [Pipeline] fileExists [Pipeline] sh 00:54:55 + make test 00:54:55 go test ./... -coverprofile=coverage.out 00:55:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:55:10 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:55:10 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 48.0% of statements 00:55:18 go vet ./... 00:55:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:55:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:55:20 ./bin/test-attribution-txt.sh [Pipeline] echo 00:55:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:55:21 $ docker stop --time=1 ac1b74cdf4d7cdd18bb3854bec0ea216651ec77d37dc008d974ed03bfafe4b0e 00:55:26 $ docker rm -f --volumes ac1b74cdf4d7cdd18bb3854bec0ea216651ec77d37dc008d974ed03bfafe4b0e [Pipeline] // withDockerContainer [Pipeline] sh 00:55:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:55:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:55:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:55:27 + ls -al . 00:55:27 total 180 00:55:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 26 00:54 . 00:55:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 00:53 .. 00:55:27 -rw-rw-r-- 1 jenkins jenkins 140 Mar 26 00:53 .dockerignore 00:55:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 00:53 .git 00:55:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:53 .github 00:55:27 -rw-rw-r-- 1 jenkins jenkins 331 Mar 26 00:53 .gitignore 00:55:27 -rw-rw-r-- 1 jenkins jenkins 41 Mar 26 00:53 .golangci.yml 00:55:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 26 00:53 .semver 00:55:27 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 26 00:53 Attribution.txt 00:55:27 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 26 00:53 CHANGELOG.md 00:55:27 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 26 00:53 Dockerfile 00:55:27 -rw-rw-r-- 1 jenkins jenkins 677 Mar 26 00:53 GOVERNANCE.md 00:55:27 -rw-rw-r-- 1 jenkins jenkins 680 Mar 26 00:53 Jenkinsfile 00:55:27 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 26 00:53 LICENSE 00:55:27 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 26 00:53 Makefile 00:55:27 -rw-rw-r-- 1 jenkins jenkins 622 Mar 26 00:53 OWNERS.md 00:55:27 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 26 00:53 README.md 00:55:27 -rw-rw-r-- 1 jenkins jenkins 5 Mar 26 00:53 VERSION 00:55:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 00:53 bin 00:55:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:53 cmd 00:55:27 -rw-r--r-- 1 jenkins jenkins 23739 Mar 26 00:55 coverage.out 00:55:27 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 26 00:53 go.mod 00:55:27 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 26 00:53 go.sum 00:55:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:53 internal 00:55:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 00:53 simulator 00:55:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 00:53 snap 00:55:27 -rw-rw-r-- 1 jenkins jenkins 229 Mar 26 00:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:27 + 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=bcf0de3a7050c44c87b988a13911840090735748 --label arch=amd64 --label version=0.0.0 . 00:55:27 Sending build context to Docker daemon 6.421MB 00:55:27 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:55:27 Step 2/22 : FROM ${BASE} AS builder 00:55:27 ---> 3a32b877f886 00:55:27 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:55:28 ---> Running in 8056d6a5b22a 00:55:28 Removing intermediate container 8056d6a5b22a 00:55:28 ---> ea433e77ba95 00:55:28 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:28 ---> Running in d6f55352293c 00:55:28 Removing intermediate container d6f55352293c 00:55:28 ---> 337bfed5d4c0 00:55:28 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:55:28 ---> Running in b1d995685724 00:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:29 OK: 270 MiB in 61 packages 00:55:29 Removing intermediate container b1d995685724 00:55:29 ---> 3330e46ff272 00:55:29 Step 6/22 : WORKDIR /device-modbus-go 00:55:29 ---> Running in 587de298b164 00:55:29 Removing intermediate container 587de298b164 00:55:29 ---> bba99b701728 00:55:29 Step 7/22 : COPY go.mod vendor* ./ 00:55:29 ---> 6b564e6c94bd 00:55:29 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:29 ---> Running in aa41e729af0c 00:55:30 Removing intermediate container aa41e729af0c 00:55:30 ---> fe1bc5b02e77 00:55:30 Step 9/22 : COPY . . 00:55:31 ---> c4256a8d9cc1 00:55:31 Step 10/22 : RUN ${MAKE} 00:55:31 ---> Running in 2e7305db9c91 00:55:31 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 00:55:53 Removing intermediate container 2e7305db9c91 00:55:53 ---> 9ba152b936b0 00:55:53 Step 11/22 : FROM alpine:3.17 00:55:53 3.17: Pulling from library/alpine 00:55:53 63b65145d645: Already exists 00:55:53 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:55:53 Status: Downloaded newer image for alpine:3.17 00:55:53 ---> b2aa39c304c2 00:55:53 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:55:53 ---> Running in d78e6ee2e3e4 00:55:53 Removing intermediate container d78e6ee2e3e4 00:55:53 ---> c4997ad41116 00:55:53 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:55:53 ---> Running in a75ddaf65e15 00:55:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:54 (1/1) Installing dumb-init (1.2.5-r2) 00:55:54 Executing busybox-1.35.0-r29.trigger 00:55:54 OK: 7 MiB in 16 packages 00:55:54 Removing intermediate container a75ddaf65e15 00:55:54 ---> f088fa9922d2 00:55:54 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:55:55 ---> 0638856e184c 00:55:55 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:55:56 ---> eae17fe167f2 00:55:56 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:55:56 ---> 61ec810007aa 00:55:56 Step 17/22 : EXPOSE 59901 00:55:56 ---> Running in 0243ae9131b1 00:55:56 Removing intermediate container 0243ae9131b1 00:55:56 ---> 97c831aff68f 00:55:56 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:55:56 ---> Running in 75d3a280b4ca 00:55:56 Removing intermediate container 75d3a280b4ca 00:55:56 ---> d4385edd3fb3 00:55:56 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:55:56 ---> Running in ab712b74ff94 00:55:56 Removing intermediate container ab712b74ff94 00:55:56 ---> f0162dbb3ce4 00:55:56 Step 20/22 : LABEL arch=amd64 00:55:56 ---> Running in 6df9afc66679 00:55:56 Removing intermediate container 6df9afc66679 00:55:56 ---> 59253b270909 00:55:56 Step 21/22 : LABEL git_sha=bcf0de3a7050c44c87b988a13911840090735748 00:55:56 ---> Running in ff230a0ca14d 00:55:56 Removing intermediate container ff230a0ca14d 00:55:56 ---> ab6ac539b15b 00:55:56 Step 22/22 : LABEL version=0.0.0 00:55:56 ---> Running in 43308a857178 00:55:56 Removing intermediate container 43308a857178 00:55:56 ---> 1e872070724c 00:55:56 [Warning] One or more build-args [ARCH] were not consumed 00:55:56 Successfully built 1e872070724c 00:55:56 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 00:55:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:57 00:55:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:57 latest: Pulling from edgex-lftools-log-publisher 00:55:57 5eb5b503b376: Pulling fs layer 00:55:57 5c69ac0246d0: Pulling fs layer 00:55:57 ec43610c2a17: Pulling fs layer 00:55:57 3a2ae6a8a46f: Pulling fs layer 00:55:57 33b1e0a273af: Pulling fs layer 00:55:57 5d3b04190fa2: Pulling fs layer 00:55:57 2f39f015ded8: Pulling fs layer 00:55:57 3a2ae6a8a46f: Waiting 00:55:57 33b1e0a273af: Waiting 00:55:57 5d3b04190fa2: Waiting 00:55:57 5c69ac0246d0: Verifying Checksum 00:55:57 5c69ac0246d0: Download complete 00:55:57 3a2ae6a8a46f: Verifying Checksum 00:55:57 3a2ae6a8a46f: Download complete 00:55:57 33b1e0a273af: Verifying Checksum 00:55:57 33b1e0a273af: Download complete 00:55:57 5d3b04190fa2: Verifying Checksum 00:55:57 5d3b04190fa2: Download complete 00:55:57 ec43610c2a17: Download complete 00:55:57 5eb5b503b376: Verifying Checksum 00:55:57 5eb5b503b376: Download complete 00:55:58 2f39f015ded8: Verifying Checksum 00:55:58 2f39f015ded8: Download complete 00:55:59 5eb5b503b376: Pull complete 00:55:59 5c69ac0246d0: Pull complete 00:55:59 ec43610c2a17: Pull complete 00:56:00 3a2ae6a8a46f: Pull complete 00:56:00 33b1e0a273af: Pull complete 00:56:00 5d3b04190fa2: Pull complete 00:56:06 2f39f015ded8: Pull complete 00:56:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:56:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:06 prd-ubuntu20.04-docker-8c-8g-5822 does not seem to be running inside a container 00:56:06 $ 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-441 -v /w/workspace/xfoundry_device-modbus-go_PR-441:/w/workspace/xfoundry_device-modbus-go_PR-441:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-441@tmp:/w/workspace/xfoundry_device-modbus-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:56:11 $ docker top 363f83a08dd8dfeea3c485912c723da48020c081613f1054c3cc9727552bfef1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:11 ---> job-cost.sh 00:56:11 lf-activate-venv: SKIPPING 00:56:11 INFO: No Stack... 00:56:11 INFO: Retrieving Pricing Info for: v3-standard-8 00:56:12 INFO: Archiving Costs [Pipeline] sh 00:56:12 + cat /w/workspace/xfoundry_device-modbus-go_PR-441/archives/cost.csv 00:56:12 + cut -d, -f6 [Pipeline] lock 00:56:12 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-441-2-stack-cost] 00:56:12 Resource [jenkins-edgexfoundry-device-modbus-go-PR-441-2-stack-cost] did not exist. Created. 00:56:12 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-441-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:56:12 + echo total: 0.2199999988079071 [Pipeline] stash 00:56:12 Stashed 1 file(s) [Pipeline] } 00:56:12 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-441-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:56:12 $ docker stop --time=1 363f83a08dd8dfeea3c485912c723da48020c081613f1054c3cc9727552bfef1 00:56:14 $ docker rm -f --volumes 363f83a08dd8dfeea3c485912c723da48020c081613f1054c3cc9727552bfef1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:56:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5825 in /w/workspace/xfoundry_device-modbus-go_PR-441 [Pipeline] { [Pipeline] ws 00:56:47 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 00:56:47 Selected Git installation does not exist. Using Default 00:56:47 The recommended git tool is: NONE 00:56:53 using credential edgex-jenkins-ssh 00:56:53 Cloning the remote Git repository 00:56:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:56:53 > git init /w/workspace/device-modbus-go/2 # timeout=10 00:56:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:56:53 > git --version # timeout=10 00:56:53 > git --version # 'git version 2.25.1' 00:56:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:56:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:56:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:56:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:56:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:56:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:56:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:56:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/441/head:refs/remotes/origin/PR-441 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:56:56 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit 8c12bd710e8bcee76855f11c382023a37ad01fe3 00:56:56 Merge succeeded, producing a469e07f2bcc0d4baf24d7b9f6b7ad58813a78fd 00:56:56 Checking out Revision a469e07f2bcc0d4baf24d7b9f6b7ad58813a78fd (PR-441) 00:56:56 > git config core.sparsecheckout # timeout=10 00:56:56 > git checkout -f 8c12bd710e8bcee76855f11c382023a37ad01fe3 # timeout=10 00:56:56 > git remote # timeout=10 00:56:56 > git config --get remote.origin.url # timeout=10 00:56:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:56:56 > git merge 63f56b440389908500f57809a79af5893e194475 # timeout=10 00:56:56 > git rev-parse HEAD^{commit} # timeout=10 00:56:56 > git config core.sparsecheckout # timeout=10 00:56:56 > git checkout -f a469e07f2bcc0d4baf24d7b9f6b7ad58813a78fd # timeout=10 00:57:00 Commit message: "Merge commit '63f56b440389908500f57809a79af5893e194475' into HEAD" 00:57:00 > git rev-list --no-walk 8c12bd710e8bcee76855f11c382023a37ad01fe3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:57:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:57:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:57:01 Dload Upload Total Spent Left Speed 00:57:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 159k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh 00:57:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:57:02 + sudo tee /etc/docker/daemon.new 00:57:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:57:02 { 00:57:02 "registry-mirrors": [ 00:57:02 "https://nexus3.edgexfoundry.org:10001" 00:57:02 ], 00:57:02 "bip": "10.250.0.254/24", 00:57:02 "hosts": [ 00:57:02 "tcp://0.0.0.0:5555", 00:57:02 "unix:///var/run/docker.sock" 00:57:02 ], 00:57:02 "mtu": 1458, 00:57:02 "selinux-enabled": true, 00:57:02 "seccomp-profile": "/etc/docker/seccomp.json" 00:57:02 } [Pipeline] sh 00:57:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:57:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:57:21 provisioning config files... 00:57:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config3627052536760155483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:21 ---> docker-login.sh 00:57:21 nexus3.edgexfoundry.org:10001 00:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:22 Configure a credential helper to remove this warning. See 00:57:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:22 00:57:22 Login Succeeded 00:57:22 nexus3.edgexfoundry.org:10002 00:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:22 Configure a credential helper to remove this warning. See 00:57:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:22 00:57:22 Login Succeeded 00:57:22 nexus3.edgexfoundry.org:10003 00:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:23 Configure a credential helper to remove this warning. See 00:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:23 00:57:23 Login Succeeded 00:57:23 nexus3.edgexfoundry.org:10004 00:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:23 Configure a credential helper to remove this warning. See 00:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:23 00:57:23 Login Succeeded 00:57:23 docker.io 00:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:24 Configure a credential helper to remove this warning. See 00:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:24 00:57:24 Login Succeeded 00:57:24 ---> docker-login.sh ends [Pipeline] } 00:57:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:57:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:57:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:57:24 ========================================================= 00:57:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:57:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:24 + 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 . 00:57:25 Sending build context to Docker daemon 3.34MB 00:57:25 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:57:25 Step 2/10 : FROM ${BASE} AS builder 00:57:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:57:25 af6eaf76a39c: Pulling fs layer 00:57:25 55522c791124: Pulling fs layer 00:57:25 ce5c4a1c91eb: Pulling fs layer 00:57:25 169dfbe0d373: Pulling fs layer 00:57:25 e1ff8fa3b103: Pulling fs layer 00:57:25 52ebb69f0ebf: Pulling fs layer 00:57:25 5abe8eddf0d5: Pulling fs layer 00:57:25 169dfbe0d373: Waiting 00:57:25 e1ff8fa3b103: Waiting 00:57:25 52ebb69f0ebf: Waiting 00:57:25 5abe8eddf0d5: Waiting 00:57:25 55522c791124: Verifying Checksum 00:57:25 55522c791124: Download complete 00:57:25 169dfbe0d373: Verifying Checksum 00:57:25 169dfbe0d373: Download complete 00:57:25 e1ff8fa3b103: Verifying Checksum 00:57:25 e1ff8fa3b103: Download complete 00:57:25 af6eaf76a39c: Verifying Checksum 00:57:25 af6eaf76a39c: Download complete 00:57:26 af6eaf76a39c: Pull complete 00:57:26 5abe8eddf0d5: Verifying Checksum 00:57:26 5abe8eddf0d5: Download complete 00:57:28 ce5c4a1c91eb: Verifying Checksum 00:57:28 ce5c4a1c91eb: Download complete 00:57:28 52ebb69f0ebf: Verifying Checksum 00:57:28 52ebb69f0ebf: Download complete 00:57:29 55522c791124: Pull complete 00:57:42 ce5c4a1c91eb: Pull complete 00:57:42 169dfbe0d373: Pull complete 00:57:42 e1ff8fa3b103: Pull complete 00:57:47 52ebb69f0ebf: Pull complete 00:57:49 5abe8eddf0d5: Pull complete 00:57:49 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 00:57:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:57:49 ---> 6cb57ee374ae 00:57:49 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:57:51 ---> Running in 50c1a1087546 00:57:51 Removing intermediate container 50c1a1087546 00:57:51 ---> 2c983fc92d47 00:57:51 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:57:51 ---> Running in 0d6af9b7c268 00:57:51 Removing intermediate container 0d6af9b7c268 00:57:51 ---> 7ff8510b590e 00:57:51 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:57:51 ---> Running in 70ff41c21a65 00:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:57:54 (1/8) Installing openssh-keygen (9.1_p1-r2) 00:57:54 (2/8) Installing libedit (20221030.3.1-r0) 00:57:54 (3/8) Installing openssh-client-common (9.1_p1-r2) 00:57:54 (4/8) Installing openssh-client-default (9.1_p1-r2) 00:57:54 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 00:57:54 (6/8) Installing openssh-server-common (9.1_p1-r2) 00:57:54 (7/8) Installing openssh-server (9.1_p1-r2) 00:57:54 (8/8) Installing openssh (9.1_p1-r2) 00:57:54 Executing busybox-1.35.0-r29.trigger 00:57:54 OK: 270 MiB in 61 packages 00:57:57 Removing intermediate container 70ff41c21a65 00:57:57 ---> 40792ce448df 00:57:57 Step 6/10 : WORKDIR /device-modbus-go 00:57:57 ---> Running in f085ea45bfec 00:57:57 Removing intermediate container f085ea45bfec 00:57:57 ---> 897c0af26044 00:57:57 Step 7/10 : COPY go.mod vendor* ./ 00:57:58 ---> 353993958847 00:57:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:57:58 ---> Running in 842609e60a6c 00:59:07 Removing intermediate container 842609e60a6c 00:59:07 ---> 3696e8c46290 00:59:07 Step 9/10 : COPY . . 00:59:07 ---> df3b397f2670 00:59:07 Step 10/10 : RUN ${MAKE} 00:59:07 ---> Running in d96f071469e0 00:59:07 noop 00:59:07 Removing intermediate container d96f071469e0 00:59:07 ---> 34f8113167e5 00:59:07 Successfully built 34f8113167e5 00:59:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:07 + docker inspect -f . ci-base-image-arm64 00:59:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:07 prd-ubuntu20.04-docker-arm64-4c-16g-5825 does not seem to be running inside a container 00:59:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:59:08 $ docker top 590442a0ce05c2114f216798a470987b73e833c1d55ca0c7e725a3e3ebff9f12 -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:09 + go version 00:59:09 go version go1.20.2 linux/arm64 [Pipeline] } 00:59:09 $ docker stop --time=1 590442a0ce05c2114f216798a470987b73e833c1d55ca0c7e725a3e3ebff9f12 00:59:11 $ docker rm -f --volumes 590442a0ce05c2114f216798a470987b73e833c1d55ca0c7e725a3e3ebff9f12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:11 + docker inspect -f . ci-base-image-arm64 00:59:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:12 prd-ubuntu20.04-docker-arm64-4c-16g-5825 does not seem to be running inside a container 00:59:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:59:13 $ docker top dbe78ec805e3d2e779d878160a2ce74c7af5035c46e8b352bb0bafc70e710d3a -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:13 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 00:59:14 + make test 00:59:14 go test ./... -coverprofile=coverage.out 00:59:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:02:02 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:02:03 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 48.0% of statements 01:02:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:02:03 go vet ./... 01:02:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:02:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:02:42 ./bin/test-attribution-txt.sh [Pipeline] echo 01:02:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:02:42 $ docker stop --time=1 dbe78ec805e3d2e779d878160a2ce74c7af5035c46e8b352bb0bafc70e710d3a 01:02:44 $ docker rm -f --volumes dbe78ec805e3d2e779d878160a2ce74c7af5035c46e8b352bb0bafc70e710d3a [Pipeline] // withDockerContainer [Pipeline] sh 01:02:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:02:45 Warning: overwriting stash ‘coverage-report’ 01:02:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:02:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:02:46 + ls -al . 01:02:46 total 176 01:02:46 drwxrwxr-x 9 jenkins jenkins 4096 Mar 26 00:59 . 01:02:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 00:56 .. 01:02:46 -rw-rw-r-- 1 jenkins jenkins 140 Mar 26 00:56 .dockerignore 01:02:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 00:56 .git 01:02:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:56 .github 01:02:46 -rw-rw-r-- 1 jenkins jenkins 331 Mar 26 00:56 .gitignore 01:02:46 -rw-rw-r-- 1 jenkins jenkins 41 Mar 26 00:56 .golangci.yml 01:02:46 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 26 00:56 Attribution.txt 01:02:46 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 26 00:56 CHANGELOG.md 01:02:46 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 26 00:56 Dockerfile 01:02:46 -rw-rw-r-- 1 jenkins jenkins 677 Mar 26 00:56 GOVERNANCE.md 01:02:46 -rw-rw-r-- 1 jenkins jenkins 680 Mar 26 00:56 Jenkinsfile 01:02:46 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 26 00:56 LICENSE 01:02:46 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 26 00:56 Makefile 01:02:46 -rw-rw-r-- 1 jenkins jenkins 622 Mar 26 00:56 OWNERS.md 01:02:46 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 26 00:56 README.md 01:02:46 -rw-rw-r-- 1 jenkins jenkins 5 Mar 26 00:53 VERSION 01:02:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 00:56 bin 01:02:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:56 cmd 01:02:46 -rw-r--r-- 1 jenkins jenkins 23739 Mar 26 01:02 coverage.out 01:02:46 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 26 00:56 go.mod 01:02:46 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 26 00:56 go.sum 01:02:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:56 internal 01:02:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 00:56 simulator 01:02:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 00:56 snap 01:02:46 -rw-rw-r-- 1 jenkins jenkins 229 Mar 26 00:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:47 + 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=a469e07f2bcc0d4baf24d7b9f6b7ad58813a78fd --label arch=arm64 --label version=0.0.0 . 01:02:47 Sending build context to Docker daemon 3.364MB 01:02:47 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 01:02:47 Step 2/22 : FROM ${BASE} AS builder 01:02:47 ---> 34f8113167e5 01:02:47 Step 3/22 : ARG ADD_BUILD_TAGS="" 01:02:48 ---> Running in c27c3d3e8cac 01:02:48 Removing intermediate container c27c3d3e8cac 01:02:48 ---> 6493afee9695 01:02:48 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:02:49 ---> Running in 0c945e036b26 01:02:49 Removing intermediate container 0c945e036b26 01:02:49 ---> 415978ebf1eb 01:02:49 Step 5/22 : RUN apk add --update --no-cache make git openssh 01:02:49 ---> Running in 1015aecc2418 01:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:02:52 OK: 270 MiB in 61 packages 01:02:53 Removing intermediate container 1015aecc2418 01:02:53 ---> a38b2f9558a4 01:02:53 Step 6/22 : WORKDIR /device-modbus-go 01:02:53 ---> Running in 221f4d3f7240 01:02:53 Removing intermediate container 221f4d3f7240 01:02:53 ---> 400bf901096c 01:02:53 Step 7/22 : COPY go.mod vendor* ./ 01:02:54 ---> 802f1446a822 01:02:54 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:02:54 ---> Running in 6559cf8e21e8 01:02:56 Removing intermediate container 6559cf8e21e8 01:02:56 ---> a840838837ce 01:02:56 Step 9/22 : COPY . . 01:02:57 ---> 4fb447789119 01:02:57 Step 10/22 : RUN ${MAKE} 01:02:57 ---> Running in 7e0d25154f8b 01:02:58 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 01:05:20 Removing intermediate container 7e0d25154f8b 01:05:20 ---> c04c5bbca34e 01:05:20 Step 11/22 : FROM alpine:3.17 01:05:20 3.17: Pulling from library/alpine 01:05:20 af6eaf76a39c: Already exists 01:05:20 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 01:05:20 Status: Downloaded newer image for alpine:3.17 01:05:20 ---> d74e625d9115 01:05:20 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:05:20 ---> Running in 776ae6934798 01:05:20 Removing intermediate container 776ae6934798 01:05:20 ---> edbb5287bb93 01:05:20 Step 13/22 : RUN apk add --update --no-cache dumb-init 01:05:20 ---> Running in da1998d835d1 01:05:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:05:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:05:20 (1/1) Installing dumb-init (1.2.5-r2) 01:05:20 Executing busybox-1.35.0-r29.trigger 01:05:20 OK: 8 MiB in 16 packages 01:05:20 Removing intermediate container da1998d835d1 01:05:20 ---> dd2daba6022f 01:05:20 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:05:20 ---> 4bcba8e5a36f 01:05:20 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:05:20 ---> eed35f6d8d5f 01:05:20 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:05:20 ---> 0fdc3db4a5e2 01:05:20 Step 17/22 : EXPOSE 59901 01:05:20 ---> Running in d51b3ada4d22 01:05:20 Removing intermediate container d51b3ada4d22 01:05:20 ---> e1ff3e5291ea 01:05:20 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:05:20 ---> Running in a14cf62e37ac 01:05:20 Removing intermediate container a14cf62e37ac 01:05:20 ---> 3fd01ff7d78a 01:05:20 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:05:20 ---> Running in aa16eafec483 01:05:20 Removing intermediate container aa16eafec483 01:05:20 ---> 59bb7c2a0ee7 01:05:20 Step 20/22 : LABEL arch=arm64 01:05:20 ---> Running in 9fef1ec87866 01:05:20 Removing intermediate container 9fef1ec87866 01:05:20 ---> f780b845fba6 01:05:20 Step 21/22 : LABEL git_sha=a469e07f2bcc0d4baf24d7b9f6b7ad58813a78fd 01:05:20 ---> Running in b5ed49f7a53f 01:05:20 Removing intermediate container b5ed49f7a53f 01:05:20 ---> 1eb18609e1df 01:05:20 Step 22/22 : LABEL version=0.0.0 01:05:20 ---> Running in 09e39ee67f21 01:05:20 Removing intermediate container 09e39ee67f21 01:05:20 ---> b0dee8e19622 01:05:20 [Warning] One or more build-args [ARCH] were not consumed 01:05:20 Successfully built b0dee8e19622 01:05:20 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 01:05:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:21 01:05:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:21 arm64: Pulling from edgex-lftools-log-publisher 01:05:21 8998bd30e6a1: Pulling fs layer 01:05:21 04944245beec: Pulling fs layer 01:05:21 699f458cf7ca: Pulling fs layer 01:05:21 765212b225bb: Pulling fs layer 01:05:21 f23df028b6ca: Pulling fs layer 01:05:21 d65c8cfc05b1: Pulling fs layer 01:05:21 2437ff75d9bd: Pulling fs layer 01:05:21 f23df028b6ca: Waiting 01:05:21 d65c8cfc05b1: Waiting 01:05:21 2437ff75d9bd: Waiting 01:05:21 765212b225bb: Waiting 01:05:21 04944245beec: Verifying Checksum 01:05:21 04944245beec: Download complete 01:05:21 765212b225bb: Download complete 01:05:21 f23df028b6ca: Verifying Checksum 01:05:21 f23df028b6ca: Download complete 01:05:21 d65c8cfc05b1: Verifying Checksum 01:05:21 d65c8cfc05b1: Download complete 01:05:21 699f458cf7ca: Verifying Checksum 01:05:21 699f458cf7ca: Download complete 01:05:22 8998bd30e6a1: Verifying Checksum 01:05:22 8998bd30e6a1: Download complete 01:05:24 2437ff75d9bd: Verifying Checksum 01:05:24 2437ff75d9bd: Download complete 01:05:26 8998bd30e6a1: Pull complete 01:05:26 04944245beec: Pull complete 01:05:28 699f458cf7ca: Pull complete 01:05:28 765212b225bb: Pull complete 01:05:29 f23df028b6ca: Pull complete 01:05:29 d65c8cfc05b1: Pull complete 01:05:44 2437ff75d9bd: Pull complete 01:05:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:05:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:44 prd-ubuntu20.04-docker-arm64-4c-16g-5825 does not seem to be running inside a container 01:05:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:05:47 $ docker top a1504315e33ae98b45f4433cb77e3684052c51446978d02bfa774d507a1a70d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:47 ---> job-cost.sh 01:05:47 lf-activate-venv: SKIPPING 01:05:47 INFO: No Stack... 01:05:48 INFO: Retrieving Pricing Info for: v3-standard-4 01:05:49 INFO: Archiving Costs [Pipeline] sh 01:05:49 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 01:05:49 + cut -d, -f6 [Pipeline] lock 01:05:49 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-441-2-stack-cost] 01:05:49 Resource [jenkins-edgexfoundry-device-modbus-go-PR-441-2-stack-cost] did not exist. Created. 01:05:49 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-441-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:05:50 /w/workspace/device-modbus-go/2@tmp/durable-9769e5c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:05:50 + echo total: 0.10999999940395355 [Pipeline] stash 01:05:50 Warning: overwriting stash ‘stack-cost’ 01:05:50 Stashed 1 file(s) [Pipeline] } 01:05:50 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-441-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:05:50 $ docker stop --time=1 a1504315e33ae98b45f4433cb77e3684052c51446978d02bfa774d507a1a70d6 01:05:52 $ docker rm -f --volumes a1504315e33ae98b45f4433cb77e3684052c51446978d02bfa774d507a1a70d6 [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 01:05:52 provisioning config files... 01:05:52 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-441@tmp/config9317749828321855104tmp [Pipeline] { [Pipeline] sh 01:05:52 + set +x 01:05:52 + bash -s -- 01:05:52 + curl -s https://codecov.io/bash 01:05:52 01:05:52 _____ _ 01:05:52 / ____| | | 01:05:52 | | ___ __| | ___ ___ _____ __ 01:05:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:05:52 | |___| (_) | (_| | __/ (_| (_) \ V / 01:05:52 \_____\___/ \__,_|\___|\___\___/ \_/ 01:05:52 Bash-1.0.6 01:05:52 01:05:52 01:05:52 ==> git version 2.25.1 found 01:05:52 ==> 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 01:05:52 Release-Date: 2020-01-08 01:05:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:05:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:05:52 ==> Jenkins CI detected. 01:05:52 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-441 01:05:52 project root: . 01:05:52 --> token set from env 01:05:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:05:52 ==> Running gcov in . (disable via -X gcov) 01:05:52 ==> Python coveragepy not found 01:05:52 ==> Searching for coverage reports in: 01:05:52 + . 01:05:52 -> Found 1 reports 01:05:52 ==> Detecting git/mercurial file structure 01:05:52 ==> Reading reports 01:05:52 + ./coverage.out bytes=23739 01:05:52 ==> Appending adjustments 01:05:52 https://docs.codecov.io/docs/fixing-reports 01:05:53 + Found adjustments 01:05:53 ==> Gzipping contents 01:05:53 4.0K /tmp/codecov.9KRcPO.gz 01:05:53 ==> Uploading reports 01:05:53 url: https://codecov.io 01:05:53 query: branch=PR-441&commit=bcf0de3a7050c44c87b988a13911840090735748&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-441%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=441&job=&cmd_args= 01:05:53 -> Pinging Codecov 01:05:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-441&commit=bcf0de3a7050c44c87b988a13911840090735748&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-441%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=441&job=&cmd_args= 01:05:53 -> Uploading to 01:05:53 https://storage.googleapis.com/codecov/v4/raw/2023-03-26/55DBCA73C666E3227836607328DD7E49/bcf0de3a7050c44c87b988a13911840090735748/0ead7360-450e-437b-831f-f05c7302ed37.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230326%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230326T010553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6da91c6d127ed70fdf50088f68e47762ff4391d58585310b415b6a4e8fb79bc 01:05:53 % Total % Received % Xferd Average Speed Time Time Time Current 01:05:53 Dload Upload Total Spent Left Speed 01:05:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3902 0 0 100 3902 0 14137 --:--:-- --:--:-- --:--:-- 14137 01:05:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/bcf0de3a7050c44c87b988a13911840090735748 [Pipeline] } 01:05:53 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 01:05:54 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-441/archives ] 01:05:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-441/archives 01:05:54 total 16 01:05:54 drwxr-xr-x 3 root root 4096 Mar 26 00:56 . 01:05:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 26 00:56 .. 01:05:54 drwxr-xr-x 2 root root 4096 Mar 26 00:56 cost 01:05:54 -rw-r--r-- 1 root root 88 Mar 26 00:56 cost.csv 01:05:54 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-441/archives 01:05:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-441/archives 01:05:54 total 16 01:05:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 26 00:56 . 01:05:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 26 00:56 .. 01:05:54 drwxr-xr-x 2 jenkins jenkins 4096 Mar 26 00:56 cost 01:05:54 -rw-r--r-- 1 jenkins jenkins 88 Mar 26 00:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:05:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:05:55 ---> package-listing.sh 01:05:55 ++ facter osfamily 01:05:55 ++ tr '[:upper:]' '[:lower:]' 01:05:55 + OS_FAMILY=debian 01:05:55 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-441 01:05:55 + START_PACKAGES=/tmp/packages_start.txt 01:05:55 + END_PACKAGES=/tmp/packages_end.txt 01:05:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:05:55 + PACKAGES=/tmp/packages_start.txt 01:05:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-441 ']' 01:05:55 + PACKAGES=/tmp/packages_end.txt 01:05:55 + case "${OS_FAMILY}" in 01:05:55 + dpkg -l 01:05:55 + grep '^ii' 01:05:55 + '[' -f /tmp/packages_start.txt ']' 01:05:55 + '[' -f /tmp/packages_end.txt ']' 01:05:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:05:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-441 ']' 01:05:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-441/archives/ 01:05:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-441/archives/ [Pipeline] echo 01:05:55 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-441/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:05:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:05:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:56 prd-ubuntu20.04-docker-8c-8g-5822 does not seem to be running inside a container 01:05:56 $ 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-441/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-441 -v /w/workspace/xfoundry_device-modbus-go_PR-441:/w/workspace/xfoundry_device-modbus-go_PR-441:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-441@tmp:/w/workspace/xfoundry_device-modbus-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:05:56 $ docker top b97622503134c732252c54388ca72c0ffa056ec4e3d9dad31cd66e207375a182 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:57 + touch /tmp/pre-build-complete [Pipeline] sh 01:05:57 + mkdir -p /var/log/sysstat [Pipeline] sh 01:05:57 + ls /var/log/sa-host 01:05:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:57 provisioning config files... 01:05:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-441@tmp/config5295051097961000472tmp [Pipeline] { [Pipeline] echo 01:05:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:05:58 ---> create-netrc.sh [Pipeline] } 01:05:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:05:58 ---> python-tools-install.sh [Pipeline] echo 01:05:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:05:58 ---> sudo-logs.sh 01:05:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:05:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:05:59 ---> job-cost.sh 01:05:59 lf-activate-venv: SKIPPING 01:05:59 DEBUG: total: 0.2199999988079071 01:05:59 INFO: Retrieving Stack Cost... 01:05:59 INFO: Retrieving Pricing Info for: v3-standard-8 01:05:59 INFO: Archiving Costs [Pipeline] echo 01:05:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:06:00 ---> logs-deploy.sh 01:06:00 lf-activate-venv: SKIPPING 01:06:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-441/2 01:06:00 INFO: archiving workspace using pattern(s): 01:06:01 Archives upload complete. 01:06:01 INFO: archiving logs to Nexus