Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2f9659ed4568bcbc613d823f228583e539d90aa3 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-ssh5638230331819838005.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9464448418356063052.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6884755492708899284.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh14345439422434845788.key Verifying host key using known hosts file > 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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17889426661702311010.key Verifying host key using known hosts file > 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.18 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-8027 in /w/workspace/gexfoundry_device-modbus-go_main [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/gexfoundry_device-modbus-go_main # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2f9659ed4568bcbc613d823f228583e539d90aa3 (main) Commit message: "Merge pull request #383 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f9659ed4568bcbc613d823f228583e539d90aa3 # timeout=10 > git rev-list --no-walk dc9c57eb5fcf9d56daa39b489e9deb9211134340 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:20:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:20:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:20:13 ========================================================= 05:20:13 EdgeX Global Pipelines Version Info 05:20:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:20:14 ------------------- 05:20:14 stable info: 05:20:14 ------------------- 05:20:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:20:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:20:14 Message: update stable to v1.0.239 05:20:14 ------------------- 05:20:14 experimental info: 05:20:14 ------------------- 05:20:14 Commited By: **** collab-it+edgex@linuxfoundation.org 05:20:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:20:14 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:20:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:20:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:20:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:20:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:20:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:20:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:20:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f9659ed4568bcbc613d823f228583e539d90aa3 [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f9659e [Pipeline] echo 05:20:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:15 provisioning config files... 05:20:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10516310435779279038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:15 ---> docker-login.sh 05:20:15 nexus3.edgexfoundry.org:10001 05:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:15 Configure a credential helper to remove this warning. See 05:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:15 05:20:15 Login Succeeded 05:20:15 nexus3.edgexfoundry.org:10002 05:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:16 Configure a credential helper to remove this warning. See 05:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:16 05:20:16 Login Succeeded 05:20:16 nexus3.edgexfoundry.org:10003 05:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:16 Configure a credential helper to remove this warning. See 05:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:16 05:20:16 Login Succeeded 05:20:16 nexus3.edgexfoundry.org:10004 05:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:16 Configure a credential helper to remove this warning. See 05:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:16 05:20:16 Login Succeeded 05:20:16 docker.io 05:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:16 Configure a credential helper to remove this warning. See 05:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:16 05:20:16 Login Succeeded 05:20:16 ---> docker-login.sh ends [Pipeline] } 05:20:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:20:17 + git rev-list -1 --merges 2f9659ed4568bcbc613d823f228583e539d90aa3~1..2f9659ed4568bcbc613d823f228583e539d90aa3 [Pipeline] echo 05:20:17 -----------> git rev-list -1 --merges 2f9659ed4568bcbc613d823f228583e539d90aa3~1..2f9659ed4568bcbc613d823f228583e539d90aa3 2f9659ed4568bcbc613d823f228583e539d90aa3 05:20:17 2f9659ed4568bcbc613d823f228583e539d90aa3 [false] [Pipeline] sh 05:20:17 + git log --format=format:%s -1 2f9659ed4568bcbc613d823f228583e539d90aa3 [Pipeline] echo 05:20:17 ========================================================= 05:20:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:20:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:20:17 + git log --format=format:%s -1 2f9659ed4568bcbc613d823f228583e539d90aa3 [Pipeline] echo 05:20:17 [semverPrep] GIT_COMMIT: 2f9659ed4568bcbc613d823f228583e539d90aa3, Commit Message: Merge pull request #383 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40 [Pipeline] echo 05:20:17 [semverPrep] This is not a build commit. [Pipeline] sh 05:20:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:18 + grep -v github /etc/ssh/ssh_known_hosts 05:20:18 + [ -e /tmp/ssh_known_hosts ] 05:20:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:20:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:20:18 + sudo tee -a /etc/ssh/ssh_known_hosts 05:20:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:18 05:20:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:18 0.1.4: Pulling from edgex-devops/py-git-semver 05:20:18 b85a868b505f: Pulling fs layer 05:20:18 e2be974225ed: Pulling fs layer 05:20:18 339a4e72a1f5: Pulling fs layer 05:20:18 988bab9f4d93: Pulling fs layer 05:20:18 1469e6f7b9e6: Pulling fs layer 05:20:18 eaf3925da568: Pulling fs layer 05:20:18 bab4dde63d76: Pulling fs layer 05:20:18 bde34c3a00c8: Pulling fs layer 05:20:18 b352a97aabf1: Pulling fs layer 05:20:18 4872d77fe225: Pulling fs layer 05:20:18 5851b861e8e6: Pulling fs layer 05:20:18 988bab9f4d93: Waiting 05:20:18 1469e6f7b9e6: Waiting 05:20:18 b352a97aabf1: Waiting 05:20:18 5851b861e8e6: Waiting 05:20:18 4872d77fe225: Waiting 05:20:18 eaf3925da568: Waiting 05:20:18 bde34c3a00c8: Waiting 05:20:18 bab4dde63d76: Waiting 05:20:18 e2be974225ed: Download complete 05:20:18 988bab9f4d93: Verifying Checksum 05:20:18 988bab9f4d93: Download complete 05:20:18 1469e6f7b9e6: Verifying Checksum 05:20:18 1469e6f7b9e6: Download complete 05:20:18 339a4e72a1f5: Verifying Checksum 05:20:18 339a4e72a1f5: Download complete 05:20:18 eaf3925da568: Verifying Checksum 05:20:18 eaf3925da568: Download complete 05:20:18 bde34c3a00c8: Verifying Checksum 05:20:18 bde34c3a00c8: Download complete 05:20:18 b352a97aabf1: Download complete 05:20:18 4872d77fe225: Download complete 05:20:18 b85a868b505f: Verifying Checksum 05:20:18 b85a868b505f: Download complete 05:20:18 5851b861e8e6: Verifying Checksum 05:20:18 5851b861e8e6: Download complete 05:20:19 bab4dde63d76: Verifying Checksum 05:20:19 bab4dde63d76: Download complete 05:20:20 b85a868b505f: Pull complete 05:20:20 e2be974225ed: Pull complete 05:20:21 339a4e72a1f5: Pull complete 05:20:21 988bab9f4d93: Pull complete 05:20:21 1469e6f7b9e6: Pull complete 05:20:21 eaf3925da568: Pull complete 05:20:23 bab4dde63d76: Pull complete 05:20:23 bde34c3a00c8: Pull complete 05:20:23 b352a97aabf1: Pull complete 05:20:23 4872d77fe225: Pull complete 05:20:23 5851b861e8e6: Pull complete 05:20:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:20:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:23 prd-ubuntu20.04-docker-8c-8g-8027 does not seem to be running inside a container 05:20:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:20:25 $ docker top 1487b9a74d72976147ce4e0ec61888aa6fafd5415fb49ee89f2184e627c888f1 -eo pid,comm 05:20:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:20:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:25 [ssh-agent] Looking for ssh-agent implementation... 05:20:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:25 $ docker exec 1487b9a74d72976147ce4e0ec61888aa6fafd5415fb49ee89f2184e627c888f1 ssh-agent 05:20:25 SSH_AUTH_SOCK=/tmp/ssh-dADteyMx0up1/agent.32 05:20:25 SSH_AGENT_PID=38 05:20:25 Running ssh-add (command line suppressed) 05:20:25 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8660957370467705763.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8660957370467705763.key) 05:20:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:25 + git tag --points-at HEAD [Pipeline] } 05:20:25 $ docker exec --env ******** --env ******** 1487b9a74d72976147ce4e0ec61888aa6fafd5415fb49ee89f2184e627c888f1 ssh-agent -k 05:20:26 unset SSH_AUTH_SOCK; 05:20:26 unset SSH_AGENT_PID; 05:20:26 echo Agent pid 38 killed; 05:20:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:20:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:26 [ssh-agent] Looking for ssh-agent implementation... 05:20:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:26 $ docker exec 1487b9a74d72976147ce4e0ec61888aa6fafd5415fb49ee89f2184e627c888f1 ssh-agent 05:20:26 SSH_AUTH_SOCK=/tmp/ssh-114Ic2xTYwPj/agent.70 05:20:26 SSH_AGENT_PID=76 05:20:26 Running ssh-add (command line suppressed) 05:20:26 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10716333054184831504.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10716333054184831504.key) 05:20:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:26 + git semver init 05:20:27 2022-10-17 05:20:26,914 [run_init] DEBUG init version:0.0.0 force:False 05:20:27 2022-10-17 05:20:26,914 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:20:27 2022-10-17 05:20:26,915 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:20:27 2022-10-17 05:20:26,915 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:20:27 2022-10-17 05:20:27,801 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:20:27 2022-10-17 05:20:27,801 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:20:27 2022-10-17 05:20:27,801 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:20:27 2022-10-17 05:20:27,801 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:20:27 2.3.0-dev.18 [Pipeline] } 05:20:27 $ docker exec --env ******** --env ******** 1487b9a74d72976147ce4e0ec61888aa6fafd5415fb49ee89f2184e627c888f1 ssh-agent -k 05:20:28 unset SSH_AUTH_SOCK; 05:20:28 unset SSH_AGENT_PID; 05:20:28 echo Agent pid 76 killed; 05:20:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:28 + git semver [Pipeline] } 05:20:28 $ docker stop --time=1 1487b9a74d72976147ce4e0ec61888aa6fafd5415fb49ee89f2184e627c888f1 05:20:29 $ docker rm -f 1487b9a74d72976147ce4e0ec61888aa6fafd5415fb49ee89f2184e627c888f1 [Pipeline] // withDockerContainer [Pipeline] sh 05:20:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:20:31 Stashed 1 file(s) [Pipeline] echo 05:20:31 [edgeXSemver]: initialized semver on version 2.3.0-dev.18 [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 05:20:31 provisioning config files... 05:20:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8049964002070042364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:31 ---> docker-login.sh 05:20:31 nexus3.edgexfoundry.org:10001 05:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:31 Configure a credential helper to remove this warning. See 05:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:31 05:20:31 Login Succeeded 05:20:31 nexus3.edgexfoundry.org:10002 05:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:31 Configure a credential helper to remove this warning. See 05:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:31 05:20:31 Login Succeeded 05:20:31 nexus3.edgexfoundry.org:10003 05:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:32 Configure a credential helper to remove this warning. See 05:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:32 05:20:32 Login Succeeded 05:20:32 nexus3.edgexfoundry.org:10004 05:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:32 Configure a credential helper to remove this warning. See 05:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:32 05:20:32 Login Succeeded 05:20:32 docker.io 05:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:32 Configure a credential helper to remove this warning. See 05:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:32 05:20:32 Login Succeeded 05:20:32 ---> docker-login.sh ends [Pipeline] } 05:20:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:20:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:20:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:20:32 ========================================================= 05:20:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:20:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:20:33 Sending build context to Docker daemon 6.179MB 05:20:33 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:20:33 Step 2/11 : FROM ${BASE} AS builder 05:20:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:20:33 213ec9aee27d: Pulling fs layer 05:20:33 4583459ba037: Pulling fs layer 05:20:33 93c1e223e6f2: Pulling fs layer 05:20:33 53926ce57604: Pulling fs layer 05:20:33 21b2b0c7a3f4: Pulling fs layer 05:20:33 30f14e443154: Pulling fs layer 05:20:33 801331c1e519: Pulling fs layer 05:20:33 99cc6dd402b0: Pulling fs layer 05:20:33 7d9ed39f4882: Pulling fs layer 05:20:33 53926ce57604: Waiting 05:20:33 21b2b0c7a3f4: Waiting 05:20:33 99cc6dd402b0: Waiting 05:20:33 30f14e443154: Waiting 05:20:33 801331c1e519: Waiting 05:20:33 7d9ed39f4882: Waiting 05:20:33 93c1e223e6f2: Verifying Checksum 05:20:33 93c1e223e6f2: Download complete 05:20:33 4583459ba037: Download complete 05:20:33 21b2b0c7a3f4: Download complete 05:20:33 30f14e443154: Download complete 05:20:33 213ec9aee27d: Verifying Checksum 05:20:33 801331c1e519: Download complete 05:20:33 213ec9aee27d: Pull complete 05:20:33 4583459ba037: Pull complete 05:20:33 93c1e223e6f2: Pull complete 05:20:33 7d9ed39f4882: Verifying Checksum 05:20:33 7d9ed39f4882: Download complete 05:20:33 99cc6dd402b0: Verifying Checksum 05:20:33 99cc6dd402b0: Download complete 05:20:34 53926ce57604: Verifying Checksum 05:20:34 53926ce57604: Download complete 05:20:38 53926ce57604: Pull complete 05:20:38 21b2b0c7a3f4: Pull complete 05:20:38 30f14e443154: Pull complete 05:20:38 801331c1e519: Pull complete 05:20:39 99cc6dd402b0: Pull complete 05:20:40 7d9ed39f4882: Pull complete 05:20:40 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 05:20:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:20:40 ---> 1dedd983c030 05:20:40 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:20:42 ---> Running in 411d2bc5e470 05:20:42 Removing intermediate container 411d2bc5e470 05:20:42 ---> 5084bbd243f0 05:20:42 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:20:42 ---> Running in bfb029e032fc 05:20:42 Removing intermediate container bfb029e032fc 05:20:42 ---> 897e72077b6a 05:20:42 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:20:42 ---> Running in 1f3f449b4665 05:20:42 Removing intermediate container 1f3f449b4665 05:20:42 ---> 9e1fd00083fb 05:20:42 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:20:42 ---> Running in f092e2c73143 05:20:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:20:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:20:44 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:20:44 (2/8) Installing libedit (20210910.3.1-r0) 05:20:44 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:20:44 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:20:44 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:20:44 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:20:44 (7/8) Installing openssh-server (9.0_p1-r2) 05:20:45 (8/8) Installing openssh (9.0_p1-r2) 05:20:45 Executing busybox-1.35.0-r17.trigger 05:20:45 OK: 217 MiB in 59 packages 05:20:45 Removing intermediate container f092e2c73143 05:20:45 ---> b1d064df6f81 05:20:45 Step 7/11 : WORKDIR /device-modbus-go 05:20:45 ---> Running in 8731de3d59ee 05:20:45 Removing intermediate container 8731de3d59ee 05:20:45 ---> e508730b52ff 05:20:45 Step 8/11 : COPY go.mod vendor* ./ 05:20:45 ---> 6a1eee2cfe0a 05:20:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:20:45 ---> Running in 778047264fd9 05:20:46 Still waiting to schedule task 05:20:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8028’ 05:21:00 Removing intermediate container 778047264fd9 05:21:00 ---> b65836276867 05:21:00 Step 10/11 : COPY . . 05:21:00 ---> cc35d732bdb7 05:21:00 Step 11/11 : RUN ${MAKE} 05:21:00 ---> Running in 6f66b88a0042 05:21:01 noop 05:21:01 Removing intermediate container 6f66b88a0042 05:21:01 ---> f48b64eb8c30 05:21:01 Successfully built f48b64eb8c30 05:21:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:01 + docker inspect -f . ci-base-image-x86_64 05:21:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:01 prd-ubuntu20.04-docker-8c-8g-8027 does not seem to be running inside a container 05:21:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat 05:21:02 $ docker top 6a35cd961665b591c4a7b8082f378284c400e73a5737ee3df1108180e2c74672 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:02 + go version 05:21:02 go version go1.18.7 linux/amd64 [Pipeline] } 05:21:02 $ docker stop --time=1 6a35cd961665b591c4a7b8082f378284c400e73a5737ee3df1108180e2c74672 05:21:03 $ docker rm -f 6a35cd961665b591c4a7b8082f378284c400e73a5737ee3df1108180e2c74672 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:04 + docker inspect -f . ci-base-image-x86_64 05:21:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:04 prd-ubuntu20.04-docker-8c-8g-8027 does not seem to be running inside a container 05:21:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat 05:21:04 $ docker top 5b52f1fe0d01c554dcc7cf0535460c8c1631b686aea25cc5d7943341d51254be -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:04 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 05:21:05 + make test 05:21:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:21:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:21:13 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:21:13 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements 05:21:20 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:21:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:21:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:21:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:21:22 ./bin/test-attribution-txt.sh [Pipeline] echo 05:21:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:21:22 $ docker stop --time=1 5b52f1fe0d01c554dcc7cf0535460c8c1631b686aea25cc5d7943341d51254be 05:21:24 $ docker rm -f 5b52f1fe0d01c554dcc7cf0535460c8c1631b686aea25cc5d7943341d51254be [Pipeline] // withDockerContainer [Pipeline] sh 05:21:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:21:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:21:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:21:25 + ls -al . 05:21:25 total 188 05:21:25 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 05:21 . 05:21:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:20 .. 05:21:25 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 05:20 .dockerignore 05:21:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:21 .git 05:21:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:20 .github 05:21:25 -rw-rw-r-- 1 jenkins jenkins 331 Oct 17 05:20 .gitignore 05:21:25 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 05:20 .golangci.yml 05:21:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 05:20 .semver 05:21:25 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 17 05:20 Attribution.txt 05:21:25 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 17 05:20 CHANGELOG.md 05:21:25 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 17 05:20 Dockerfile 05:21:25 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 05:20 GOVERNANCE.md 05:21:25 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 05:20 Jenkinsfile 05:21:25 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 05:20 LICENSE 05:21:25 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 17 05:20 Makefile 05:21:25 -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 05:20 OWNERS.md 05:21:25 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 17 05:20 README.md 05:21:25 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 05:20 VERSION 05:21:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:20 bin 05:21:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:20 cmd 05:21:25 -rw-r--r-- 1 jenkins jenkins 23241 Oct 17 05:21 coverage.out 05:21:25 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 17 05:20 go.mod 05:21:25 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 17 05:20 go.sum 05:21:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:20 internal 05:21:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:20 simulator 05:21:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:20 snap 05:21:25 -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 05:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:25 + 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=2f9659ed4568bcbc613d823f228583e539d90aa3 --label arch=amd64 --label version=2.3.0-dev.18 . 05:21:25 Sending build context to Docker daemon 6.203MB 05:21:25 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:21:25 Step 2/24 : FROM ${BASE} AS builder 05:21:25 ---> f48b64eb8c30 05:21:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:21:25 ---> Running in d7c651833336 05:21:26 Removing intermediate container d7c651833336 05:21:26 ---> 113a2b66ff0b 05:21:26 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:21:26 ---> Running in c53c02d1a042 05:21:26 Removing intermediate container c53c02d1a042 05:21:26 ---> 3885df2dc30a 05:21:26 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:26 ---> Running in 431e247e235e 05:21:26 Removing intermediate container 431e247e235e 05:21:26 ---> f27aa01ecf9e 05:21:26 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:21:26 ---> Running in 1550f57e2e01 05:21:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:21:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:21:28 OK: 217 MiB in 59 packages 05:21:28 Removing intermediate container 1550f57e2e01 05:21:28 ---> 3f82a794f605 05:21:28 Step 7/24 : WORKDIR /device-modbus-go 05:21:28 ---> Running in f8c3b30731be 05:21:28 Removing intermediate container f8c3b30731be 05:21:28 ---> a7d409d7de6e 05:21:28 Step 8/24 : COPY go.mod vendor* ./ 05:21:29 ---> 0b9cba05d619 05:21:29 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:21:29 ---> Running in 12aaf468fd76 05:21:29 Removing intermediate container 12aaf468fd76 05:21:29 ---> 87d3e84e876f 05:21:29 Step 10/24 : COPY . . 05:21:29 ---> 99227abb576d 05:21:29 Step 11/24 : RUN ${MAKE} 05:21:29 ---> Running in 4afedeb3672c 05:21:30 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:21:48 Removing intermediate container 4afedeb3672c 05:21:48 ---> 5c6ff532d0fe 05:21:48 Step 12/24 : FROM alpine:3.14 05:21:48 3.14: Pulling from library/alpine 05:21:48 c7ed990a2339: Pulling fs layer 05:21:48 c7ed990a2339: Verifying Checksum 05:21:48 c7ed990a2339: Download complete 05:21:48 c7ed990a2339: Pull complete 05:21:48 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:21:48 Status: Downloaded newer image for alpine:3.14 05:21:48 ---> dd53f409bf0b 05:21:48 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:21:48 ---> Running in 2917e2f50711 05:21:48 Removing intermediate container 2917e2f50711 05:21:48 ---> d27106053360 05:21:48 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:48 ---> Running in 5704c3ae8ca6 05:21:49 Removing intermediate container 5704c3ae8ca6 05:21:49 ---> 861bef10e52c 05:21:49 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:21:49 ---> Running in 0faa976d9b25 05:21:50 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:21:50 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:21:50 (1/6) Installing dumb-init (1.2.5-r1) 05:21:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:21:51 (3/6) Installing libsodium (1.0.18-r0) 05:21:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:21:51 (5/6) Installing libzmq (4.3.4-r0) 05:21:51 (6/6) Installing zeromq (4.3.4-r0) 05:21:51 Executing busybox-1.33.1-r8.trigger 05:21:51 OK: 8 MiB in 20 packages 05:21:52 Removing intermediate container 0faa976d9b25 05:21:52 ---> 5f45dc6f082d 05:21:52 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:21:53 ---> 42dd9caa4228 05:21:53 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:21:53 ---> 925aee8c837e 05:21:53 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:21:53 ---> b5d1e3d6756a 05:21:53 Step 19/24 : EXPOSE 59901 05:21:53 ---> Running in 022700e2681a 05:21:53 Removing intermediate container 022700e2681a 05:21:53 ---> cc9c13248254 05:21:53 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:21:53 ---> Running in f05272defe41 05:21:53 Removing intermediate container f05272defe41 05:21:53 ---> b06a871a8b13 05:21:53 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:21:54 ---> Running in 4a5ecb3e6205 05:21:54 Removing intermediate container 4a5ecb3e6205 05:21:54 ---> 6c25a4832a7c 05:21:54 Step 22/24 : LABEL arch=amd64 05:21:54 ---> Running in 5de7f2468db7 05:21:54 Removing intermediate container 5de7f2468db7 05:21:54 ---> edb9d4d93159 05:21:54 Step 23/24 : LABEL git_sha=2f9659ed4568bcbc613d823f228583e539d90aa3 05:21:54 ---> Running in b4c93fe80b39 05:21:54 Removing intermediate container b4c93fe80b39 05:21:54 ---> 3817be355436 05:21:54 Step 24/24 : LABEL version=2.3.0-dev.18 05:21:54 ---> Running in 4bc52cc229de 05:21:54 Removing intermediate container 4bc52cc229de 05:21:54 ---> 3518422b7f13 05:21:54 [Warning] One or more build-args [ARCH] were not consumed 05:21:54 Successfully built 3518422b7f13 05:21:54 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:54 provisioning config files... 05:21:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17090067809956614492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:55 ---> docker-login.sh 05:21:55 nexus3.edgexfoundry.org:10001 05:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:55 Configure a credential helper to remove this warning. See 05:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:55 05:21:55 Login Succeeded 05:21:55 nexus3.edgexfoundry.org:10002 05:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:55 Configure a credential helper to remove this warning. See 05:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:55 05:21:55 Login Succeeded 05:21:55 nexus3.edgexfoundry.org:10003 05:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:55 Configure a credential helper to remove this warning. See 05:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:55 05:21:55 Login Succeeded 05:21:55 nexus3.edgexfoundry.org:10004 05:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:55 Configure a credential helper to remove this warning. See 05:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:55 05:21:55 Login Succeeded 05:21:55 docker.io 05:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:56 Configure a credential helper to remove this warning. See 05:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:56 05:21:56 Login Succeeded 05:21:56 ---> docker-login.sh ends [Pipeline] } 05:21:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:21:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:21:56 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:21:56 2f9659ed4568bcbc613d823f228583e539d90aa3 05:21:56 latest 05:21:56 2.3.0-dev.18 05:21:56 2f9659ed4568bcbc613d823f228583e539d90aa3-2.3.0-dev.18 05:21:56 main 05:21:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:56 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2f9659ed4568bcbc613d823f228583e539d90aa3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2f9659ed4568bcbc613d823f228583e539d90aa3 05:21:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:21:56 e320582e9c58: Preparing 05:21:56 1141b1245acd: Preparing 05:21:56 96f3f18f0a75: Preparing 05:21:56 023609e105f9: Preparing 05:21:56 f2eb8f9b8e46: Preparing 05:21:56 63493a9ab2d4: Preparing 05:21:56 63493a9ab2d4: Waiting 05:21:56 e320582e9c58: Pushed 05:21:56 f2eb8f9b8e46: Pushed 05:21:56 1141b1245acd: Pushed 05:21:56 63493a9ab2d4: Layer already exists 05:21:56 023609e105f9: Pushed 05:21:59 96f3f18f0a75: Pushed 05:21:59 2f9659ed4568bcbc613d823f228583e539d90aa3: digest: sha256:b5a3b42ff249fbfc5d01f28543a86ab6c667f7d5fc58522034ba74edb44a8c2a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:22:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:22:00 e320582e9c58: Preparing 05:22:00 1141b1245acd: Preparing 05:22:00 96f3f18f0a75: Preparing 05:22:00 023609e105f9: Preparing 05:22:00 f2eb8f9b8e46: Preparing 05:22:00 63493a9ab2d4: Preparing 05:22:00 63493a9ab2d4: Waiting 05:22:00 f2eb8f9b8e46: Layer already exists 05:22:00 1141b1245acd: Layer already exists 05:22:00 e320582e9c58: Layer already exists 05:22:00 023609e105f9: Layer already exists 05:22:00 96f3f18f0a75: Layer already exists 05:22:00 63493a9ab2d4: Layer already exists 05:22:00 latest: digest: sha256:b5a3b42ff249fbfc5d01f28543a86ab6c667f7d5fc58522034ba74edb44a8c2a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.18 05:22:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:22:00 e320582e9c58: Preparing 05:22:00 1141b1245acd: Preparing 05:22:00 96f3f18f0a75: Preparing 05:22:00 023609e105f9: Preparing 05:22:00 f2eb8f9b8e46: Preparing 05:22:00 63493a9ab2d4: Preparing 05:22:00 f2eb8f9b8e46: Layer already exists 05:22:00 96f3f18f0a75: Layer already exists 05:22:00 e320582e9c58: Layer already exists 05:22:00 023609e105f9: Layer already exists 05:22:00 1141b1245acd: Layer already exists 05:22:00 63493a9ab2d4: Layer already exists 05:22:00 2.3.0-dev.18: digest: sha256:b5a3b42ff249fbfc5d01f28543a86ab6c667f7d5fc58522034ba74edb44a8c2a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2f9659ed4568bcbc613d823f228583e539d90aa3-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2f9659ed4568bcbc613d823f228583e539d90aa3-2.3.0-dev.18 05:22:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:22:01 e320582e9c58: Preparing 05:22:01 1141b1245acd: Preparing 05:22:01 96f3f18f0a75: Preparing 05:22:01 023609e105f9: Preparing 05:22:01 f2eb8f9b8e46: Preparing 05:22:01 63493a9ab2d4: Preparing 05:22:01 63493a9ab2d4: Waiting 05:22:01 f2eb8f9b8e46: Layer already exists 05:22:01 023609e105f9: Layer already exists 05:22:01 1141b1245acd: Layer already exists 05:22:01 e320582e9c58: Layer already exists 05:22:01 96f3f18f0a75: Layer already exists 05:22:01 63493a9ab2d4: Layer already exists 05:22:01 2f9659ed4568bcbc613d823f228583e539d90aa3-2.3.0-dev.18: digest: sha256:b5a3b42ff249fbfc5d01f28543a86ab6c667f7d5fc58522034ba74edb44a8c2a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:22:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:22:03 e320582e9c58: Preparing 05:22:03 1141b1245acd: Preparing 05:22:03 96f3f18f0a75: Preparing 05:22:03 023609e105f9: Preparing 05:22:03 f2eb8f9b8e46: Preparing 05:22:03 63493a9ab2d4: Preparing 05:22:03 63493a9ab2d4: Waiting 05:22:03 023609e105f9: Layer already exists 05:22:03 96f3f18f0a75: Layer already exists 05:22:03 1141b1245acd: Layer already exists 05:22:03 e320582e9c58: Layer already exists 05:22:03 f2eb8f9b8e46: Layer already exists 05:22:03 63493a9ab2d4: Layer already exists 05:22:03 main: digest: sha256:b5a3b42ff249fbfc5d01f28543a86ab6c667f7d5fc58522034ba74edb44a8c2a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:22:03 ===================================================== [Pipeline] echo 05:22:03 taggedImages: 05:22:03 - nexus3.edgexfoundry.org:10004/device-modbus:2f9659ed4568bcbc613d823f228583e539d90aa3 05:22:03 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:22:03 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.18 05:22:03 - nexus3.edgexfoundry.org:10004/device-modbus:2f9659ed4568bcbc613d823f228583e539d90aa3-2.3.0-dev.18 05:22:03 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [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 05:22:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:22:03 05:22:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:22:04 latest: Pulling from edgex-lftools-log-publisher 05:22:04 5eb5b503b376: Pulling fs layer 05:22:04 5c69ac0246d0: Pulling fs layer 05:22:04 ec43610c2a17: Pulling fs layer 05:22:04 3a2ae6a8a46f: Pulling fs layer 05:22:04 33b1e0a273af: Pulling fs layer 05:22:04 5d3b04190fa2: Pulling fs layer 05:22:04 2f39f015ded8: Pulling fs layer 05:22:04 3a2ae6a8a46f: Waiting 05:22:04 33b1e0a273af: Waiting 05:22:04 2f39f015ded8: Waiting 05:22:04 5c69ac0246d0: Download complete 05:22:04 3a2ae6a8a46f: Download complete 05:22:04 33b1e0a273af: Verifying Checksum 05:22:04 33b1e0a273af: Download complete 05:22:04 5d3b04190fa2: Verifying Checksum 05:22:04 5d3b04190fa2: Download complete 05:22:04 ec43610c2a17: Download complete 05:22:04 5eb5b503b376: Verifying Checksum 05:22:04 5eb5b503b376: Download complete 05:22:05 2f39f015ded8: Download complete 05:22:05 5eb5b503b376: Pull complete 05:22:05 5c69ac0246d0: Pull complete 05:22:06 ec43610c2a17: Pull complete 05:22:06 3a2ae6a8a46f: Pull complete 05:22:06 33b1e0a273af: Pull complete 05:22:06 5d3b04190fa2: Pull complete 05:22:10 2f39f015ded8: Pull complete 05:22:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:22:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:22:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:10 prd-ubuntu20.04-docker-8c-8g-8027 does not seem to be running inside a container 05:22:10 $ 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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:22:12 $ docker top ed10437ca7c2f7e547f8dbf684d48a1013c591171fe6f39666fa8bf26613ddbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:12 ---> job-cost.sh 05:22:12 lf-activate-venv: SKIPPING 05:22:12 INFO: No Stack... 05:22:13 INFO: Retrieving Pricing Info for: v3-standard-8 05:22:13 INFO: Archiving Costs [Pipeline] sh 05:22:13 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:22:13 + cut -d, -f6 [Pipeline] lock 05:22:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-57-stack-cost] 05:22:13 Resource [jenkins-edgexfoundry-device-modbus-go-main-57-stack-cost] did not exist. Created. 05:22:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:22:14 + echo total: 0.2199999988079071 [Pipeline] stash 05:22:14 Stashed 1 file(s) [Pipeline] } 05:22:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-57-stack-cost] [Pipeline] // lock [Pipeline] } 05:22:14 $ docker stop --time=1 ed10437ca7c2f7e547f8dbf684d48a1013c591171fe6f39666fa8bf26613ddbc 05:22:15 $ docker rm -f ed10437ca7c2f7e547f8dbf684d48a1013c591171fe6f39666fa8bf26613ddbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:22:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8029 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:22:46 Running in /w/workspace/device-modbus-go/57 [Pipeline] { [Pipeline] checkout 05:22:46 Selected Git installation does not exist. Using Default 05:22:46 The recommended git tool is: NONE 05:22:51 using credential edgex-jenkins-ssh 05:22:51 Cloning the remote Git repository 05:22:51 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:22:52 > git init /w/workspace/device-modbus-go/57 # timeout=10 05:22:52 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:22:52 > git --version # timeout=10 05:22:52 > git --version # 'git version 2.25.1' 05:22:52 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:52 Verifying host key using known hosts file 05:22:52 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:22:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:53 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:22:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:54 Avoid second fetch 05:22:54 Checking out Revision 2f9659ed4568bcbc613d823f228583e539d90aa3 (main) 05:22:55 Commit message: "Merge pull request #383 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" 05:22:54 > git config core.sparsecheckout # timeout=10 05:22:54 > git checkout -f 2f9659ed4568bcbc613d823f228583e539d90aa3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:22:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:22:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:22:55 Dload Upload Total Spent Left Speed 05:22:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 232k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh 05:22:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:22:56 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 05:22:56 /etc/docker/daemon.new 05:22:56 { 05:22:56 "registry-mirrors": [ 05:22:56 "https://nexus3.edgexfoundry.org:10001" 05:22:56 ], 05:22:56 "bip": "10.250.0.254/24", 05:22:56 "hosts": [ 05:22:56 "tcp://0.0.0.0:5555", 05:22:56 "unix:///var/run/docker.sock" 05:22:56 ], 05:22:56 "mtu": 1458, 05:22:56 "selinux-enabled": true, 05:22:56 "seccomp-profile": "/etc/docker/seccomp.json" 05:22:56 } [Pipeline] sh 05:22:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:22:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:23:15 provisioning config files... 05:23:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/57@tmp/config11598763275385896010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:16 ---> docker-login.sh 05:23:16 nexus3.edgexfoundry.org:10001 05:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:16 Configure a credential helper to remove this warning. See 05:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:16 05:23:16 Login Succeeded 05:23:16 nexus3.edgexfoundry.org:10002 05:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:17 Configure a credential helper to remove this warning. See 05:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:17 05:23:17 Login Succeeded 05:23:17 nexus3.edgexfoundry.org:10003 05:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:17 Configure a credential helper to remove this warning. See 05:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:17 05:23:17 Login Succeeded 05:23:17 nexus3.edgexfoundry.org:10004 05:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:18 Configure a credential helper to remove this warning. See 05:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:18 05:23:18 Login Succeeded 05:23:18 docker.io 05:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:18 Configure a credential helper to remove this warning. See 05:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:18 05:23:18 Login Succeeded 05:23:18 ---> docker-login.sh ends [Pipeline] } 05:23:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:23:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:23:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:23:18 ========================================================= 05:23:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:23:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:23:19 Sending build context to Docker daemon 3.212MB 05:23:19 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:23:19 Step 2/11 : FROM ${BASE} AS builder 05:23:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:23:19 9b18e9b68314: Pulling fs layer 05:23:19 d32db5db7311: Pulling fs layer 05:23:19 d0c4b47475fc: Pulling fs layer 05:23:19 5831b945b038: Pulling fs layer 05:23:19 86bbec2aaacd: Pulling fs layer 05:23:19 e10730c5d714: Pulling fs layer 05:23:19 5dd5c2283517: Pulling fs layer 05:23:19 d5ac0230b979: Pulling fs layer 05:23:19 86bbec2aaacd: Waiting 05:23:19 e10730c5d714: Waiting 05:23:19 5dd5c2283517: Waiting 05:23:19 d5ac0230b979: Waiting 05:23:19 d0c4b47475fc: Verifying Checksum 05:23:19 d0c4b47475fc: Download complete 05:23:19 d32db5db7311: Verifying Checksum 05:23:19 d32db5db7311: Download complete 05:23:19 86bbec2aaacd: Verifying Checksum 05:23:19 86bbec2aaacd: Download complete 05:23:19 e10730c5d714: Download complete 05:23:19 9b18e9b68314: Verifying Checksum 05:23:19 9b18e9b68314: Download complete 05:23:20 9b18e9b68314: Pull complete 05:23:21 d5ac0230b979: Verifying Checksum 05:23:21 d5ac0230b979: Download complete 05:23:21 d32db5db7311: Pull complete 05:23:21 d0c4b47475fc: Pull complete 05:23:22 5dd5c2283517: Verifying Checksum 05:23:22 5dd5c2283517: Download complete 05:23:22 5831b945b038: Verifying Checksum 05:23:22 5831b945b038: Download complete 05:23:35 5831b945b038: Pull complete 05:23:35 86bbec2aaacd: Pull complete 05:23:35 e10730c5d714: Pull complete 05:23:42 5dd5c2283517: Pull complete 05:23:44 d5ac0230b979: Pull complete 05:23:44 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 05:23:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:23:44 ---> 59b3b1a385d4 05:23:44 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:23:46 ---> Running in 115570f12160 05:23:46 Removing intermediate container 115570f12160 05:23:46 ---> 69759b973c5f 05:23:46 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:23:46 ---> Running in 9fb9c71c4239 05:23:46 Removing intermediate container 9fb9c71c4239 05:23:46 ---> e0d2cc294c52 05:23:46 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:23:46 ---> Running in 6ca8ffbc074c 05:23:48 Removing intermediate container 6ca8ffbc074c 05:23:48 ---> bcf16bc5245e 05:23:48 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:23:48 ---> Running in 05d30c98bd40 05:23:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:23:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:23:51 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:23:51 (2/8) Installing libedit (20210910.3.1-r0) 05:23:51 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:23:51 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:23:51 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:23:52 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:23:52 (7/8) Installing openssh-server (9.0_p1-r2) 05:23:52 (8/8) Installing openssh (9.0_p1-r2) 05:23:52 Executing busybox-1.35.0-r17.trigger 05:23:52 OK: 228 MiB in 59 packages 05:23:53 Removing intermediate container 05d30c98bd40 05:23:53 ---> 402bec9ae256 05:23:53 Step 7/11 : WORKDIR /device-modbus-go 05:23:53 ---> Running in feb1a9485758 05:23:54 Removing intermediate container feb1a9485758 05:23:54 ---> 75d7181f4787 05:23:54 Step 8/11 : COPY go.mod vendor* ./ 05:23:54 ---> 04a7dc0d837a 05:23:54 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:23:55 ---> Running in 1437c132600f 05:24:51 Removing intermediate container 1437c132600f 05:24:51 ---> d9eb8c99923c 05:24:51 Step 10/11 : COPY . . 05:24:51 ---> b108e0fada52 05:24:51 Step 11/11 : RUN ${MAKE} 05:24:51 ---> Running in d4b8be3ad336 05:24:51 noop 05:24:51 Removing intermediate container d4b8be3ad336 05:24:51 ---> ae3fe4b19722 05:24:51 Successfully built ae3fe4b19722 05:24:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:51 + docker inspect -f . ci-base-image-arm64 05:24:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:52 prd-ubuntu20.04-docker-arm64-4c-16g-8029 does not seem to be running inside a container 05:24:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/57 -v /w/workspace/device-modbus-go/57:/w/workspace/device-modbus-go/57:rw,z -v /w/workspace/device-modbus-go/57@tmp:/w/workspace/device-modbus-go/57@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 ******** ci-base-image-arm64 cat 05:24:53 $ docker top aaa91b59c3d1ed7137cacafc48385570065c038a2cc5ffab61e76d3e77169a03 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:54 + go version 05:24:54 go version go1.18.7 linux/arm64 [Pipeline] } 05:24:54 $ docker stop --time=1 aaa91b59c3d1ed7137cacafc48385570065c038a2cc5ffab61e76d3e77169a03 05:24:56 $ docker rm -f aaa91b59c3d1ed7137cacafc48385570065c038a2cc5ffab61e76d3e77169a03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:56 + docker inspect -f . ci-base-image-arm64 05:24:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:56 prd-ubuntu20.04-docker-arm64-4c-16g-8029 does not seem to be running inside a container 05:24:56 $ 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/57 -v /w/workspace/device-modbus-go/57:/w/workspace/device-modbus-go/57:rw,z -v /w/workspace/device-modbus-go/57@tmp:/w/workspace/device-modbus-go/57@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 ******** ci-base-image-arm64 cat 05:24:57 $ docker top 0561499573aaf80e4d778ee777bb15eaa59f09b9b249e4c6b4dc010c9786a2a4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/57 [Pipeline] fileExists [Pipeline] sh 05:24:58 + make test 05:24:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:25:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:26:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:26:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements 05:26:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:26:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:26:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:26:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:26:50 ./bin/test-attribution-txt.sh [Pipeline] echo 05:26:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:26:50 $ docker stop --time=1 0561499573aaf80e4d778ee777bb15eaa59f09b9b249e4c6b4dc010c9786a2a4 05:26:51 $ docker rm -f 0561499573aaf80e4d778ee777bb15eaa59f09b9b249e4c6b4dc010c9786a2a4 [Pipeline] // withDockerContainer [Pipeline] sh 05:26:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:26:52 Warning: overwriting stash ‘coverage-report’ 05:26:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:26:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:26:53 + ls -al . 05:26:53 total 184 05:26:53 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 05:25 . 05:26:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:22 .. 05:26:53 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 05:22 .dockerignore 05:26:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:22 .git 05:26:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:22 .github 05:26:53 -rw-rw-r-- 1 jenkins jenkins 331 Oct 17 05:22 .gitignore 05:26:53 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 05:22 .golangci.yml 05:26:53 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 17 05:22 Attribution.txt 05:26:53 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 17 05:22 CHANGELOG.md 05:26:53 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 17 05:22 Dockerfile 05:26:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 05:22 GOVERNANCE.md 05:26:53 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 05:22 Jenkinsfile 05:26:53 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 05:22 LICENSE 05:26:53 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 17 05:22 Makefile 05:26:53 -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 05:22 OWNERS.md 05:26:53 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 17 05:22 README.md 05:26:53 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 05:20 VERSION 05:26:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:22 bin 05:26:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:22 cmd 05:26:53 -rw-r--r-- 1 jenkins jenkins 23241 Oct 17 05:26 coverage.out 05:26:53 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 17 05:22 go.mod 05:26:53 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 17 05:22 go.sum 05:26:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:22 internal 05:26:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:22 simulator 05:26:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:22 snap 05:26:53 -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 05:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:54 + 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=2f9659ed4568bcbc613d823f228583e539d90aa3 --label arch=arm64 --label version=2.3.0-dev.18 . 05:26:54 Sending build context to Docker daemon 3.236MB 05:26:54 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:26:54 Step 2/24 : FROM ${BASE} AS builder 05:26:54 ---> ae3fe4b19722 05:26:54 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:26:54 ---> Running in dcd21af639c3 05:26:55 Removing intermediate container dcd21af639c3 05:26:55 ---> e555fb670594 05:26:55 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:26:55 ---> Running in 296fb82e7c0d 05:26:55 Removing intermediate container 296fb82e7c0d 05:26:55 ---> ecdb002a2d40 05:26:55 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:26:55 ---> Running in 7308b57af02f 05:26:57 Removing intermediate container 7308b57af02f 05:26:57 ---> a585b097c1a2 05:26:57 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:26:57 ---> Running in 40cb702dbb2c 05:26:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:26:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:27:00 OK: 228 MiB in 59 packages 05:27:00 Removing intermediate container 40cb702dbb2c 05:27:00 ---> 55612da2bcfe 05:27:00 Step 7/24 : WORKDIR /device-modbus-go 05:27:01 ---> Running in 221858061d5a 05:27:01 Removing intermediate container 221858061d5a 05:27:01 ---> 8cc9bd09ebe2 05:27:01 Step 8/24 : COPY go.mod vendor* ./ 05:27:01 ---> 72454c4fe920 05:27:01 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:27:01 ---> Running in c9d58bffe55a 05:27:03 Removing intermediate container c9d58bffe55a 05:27:03 ---> 6c99175dc7d9 05:27:03 Step 10/24 : COPY . . 05:27:04 ---> 67fa4eb1978f 05:27:04 Step 11/24 : RUN ${MAKE} 05:27:05 ---> Running in 85b462c3ada6 05:27:06 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:29:42 Removing intermediate container 85b462c3ada6 05:29:42 ---> 6d550a5b0684 05:29:42 Step 12/24 : FROM alpine:3.14 05:29:42 3.14: Pulling from library/alpine 05:29:42 90cda3b7c325: Pulling fs layer 05:29:42 90cda3b7c325: Download complete 05:29:42 90cda3b7c325: Pull complete 05:29:42 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:29:42 Status: Downloaded newer image for alpine:3.14 05:29:42 ---> 376ba31ae3da 05:29:42 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:29:42 ---> Running in 2169db124cac 05:29:42 Removing intermediate container 2169db124cac 05:29:42 ---> dce4e20145bf 05:29:42 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:29:42 ---> Running in 8a3f85f97d55 05:29:42 Removing intermediate container 8a3f85f97d55 05:29:42 ---> cdd80a7b5707 05:29:42 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:29:42 ---> Running in 3e75ccb7240f 05:29:42 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:29:42 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:29:42 (1/6) Installing dumb-init (1.2.5-r1) 05:29:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:29:42 (3/6) Installing libsodium (1.0.18-r0) 05:29:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:29:42 (5/6) Installing libzmq (4.3.4-r0) 05:29:42 (6/6) Installing zeromq (4.3.4-r0) 05:29:42 Executing busybox-1.33.1-r8.trigger 05:29:42 OK: 8 MiB in 20 packages 05:29:42 Removing intermediate container 3e75ccb7240f 05:29:42 ---> 2a5a5016f9b5 05:29:42 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:29:42 ---> 10f04426ecd4 05:29:42 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:29:42 ---> e567ae9ef72b 05:29:42 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:29:42 ---> 7a8d83c64069 05:29:42 Step 19/24 : EXPOSE 59901 05:29:42 ---> Running in c975872e4f68 05:29:42 Removing intermediate container c975872e4f68 05:29:42 ---> 2db0c1040887 05:29:42 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:29:42 ---> Running in bb73590c7f90 05:29:42 Removing intermediate container bb73590c7f90 05:29:42 ---> b9cde5686285 05:29:42 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:29:42 ---> Running in 759822038fe4 05:29:43 Removing intermediate container 759822038fe4 05:29:43 ---> 6631770421b5 05:29:43 Step 22/24 : LABEL arch=arm64 05:29:43 ---> Running in 2bedd68f3e43 05:29:43 Removing intermediate container 2bedd68f3e43 05:29:43 ---> adbf9fea4c93 05:29:43 Step 23/24 : LABEL git_sha=2f9659ed4568bcbc613d823f228583e539d90aa3 05:29:43 ---> Running in 9fb7ebfc7681 05:29:43 Removing intermediate container 9fb7ebfc7681 05:29:43 ---> c5e0a71207bf 05:29:43 Step 24/24 : LABEL version=2.3.0-dev.18 05:29:43 ---> Running in e01ee04d4779 05:29:43 Removing intermediate container e01ee04d4779 05:29:43 ---> 6ab54d24a748 05:29:43 [Warning] One or more build-args [ARCH] were not consumed 05:29:43 Successfully built 6ab54d24a748 05:29:43 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:29:44 provisioning config files... 05:29:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/57@tmp/config15250832767323959769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:44 ---> docker-login.sh 05:29:44 nexus3.edgexfoundry.org:10001 05:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:44 Configure a credential helper to remove this warning. See 05:29:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:44 05:29:44 Login Succeeded 05:29:44 nexus3.edgexfoundry.org:10002 05:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:44 Configure a credential helper to remove this warning. See 05:29:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:44 05:29:44 Login Succeeded 05:29:44 nexus3.edgexfoundry.org:10003 05:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:45 Configure a credential helper to remove this warning. See 05:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:45 05:29:45 Login Succeeded 05:29:45 nexus3.edgexfoundry.org:10004 05:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:45 Configure a credential helper to remove this warning. See 05:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:45 05:29:45 Login Succeeded 05:29:45 docker.io 05:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:46 Configure a credential helper to remove this warning. See 05:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:46 05:29:46 Login Succeeded 05:29:46 ---> docker-login.sh ends [Pipeline] } 05:29:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:29:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:29:46 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:29:46 2f9659ed4568bcbc613d823f228583e539d90aa3 05:29:46 latest 05:29:46 2.3.0-dev.18 05:29:46 2f9659ed4568bcbc613d823f228583e539d90aa3-2.3.0-dev.18 05:29:46 main 05:29:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f9659ed4568bcbc613d823f228583e539d90aa3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f9659ed4568bcbc613d823f228583e539d90aa3 05:29:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:29:46 652b1c437a2a: Preparing 05:29:46 81b19c2eb7bd: Preparing 05:29:46 b568056b80d0: Preparing 05:29:46 98df9024b28d: Preparing 05:29:46 0f051e7abb84: Preparing 05:29:46 28c3ef001483: Preparing 05:29:46 28c3ef001483: Waiting 05:29:47 652b1c437a2a: Pushed 05:29:47 0f051e7abb84: Pushed 05:29:47 81b19c2eb7bd: Pushed 05:29:47 28c3ef001483: Layer already exists 05:29:47 98df9024b28d: Pushed 05:29:53 b568056b80d0: Pushed 05:29:53 2f9659ed4568bcbc613d823f228583e539d90aa3: digest: sha256:5cf54f966f27dea3d44d312bd6c3c831abe6c0fc4ea6ff324a264753385e3cc2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:53 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:29:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:29:53 652b1c437a2a: Preparing 05:29:53 81b19c2eb7bd: Preparing 05:29:53 b568056b80d0: Preparing 05:29:53 98df9024b28d: Preparing 05:29:53 0f051e7abb84: Preparing 05:29:53 28c3ef001483: Preparing 05:29:53 28c3ef001483: Waiting 05:29:53 98df9024b28d: Layer already exists 05:29:53 652b1c437a2a: Layer already exists 05:29:53 b568056b80d0: Layer already exists 05:29:53 81b19c2eb7bd: Layer already exists 05:29:53 0f051e7abb84: Layer already exists 05:29:53 28c3ef001483: Layer already exists 05:29:54 latest: digest: sha256:5cf54f966f27dea3d44d312bd6c3c831abe6c0fc4ea6ff324a264753385e3cc2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.18 05:29:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:29:54 652b1c437a2a: Preparing 05:29:54 81b19c2eb7bd: Preparing 05:29:54 b568056b80d0: Preparing 05:29:54 98df9024b28d: Preparing 05:29:54 0f051e7abb84: Preparing 05:29:54 28c3ef001483: Preparing 05:29:54 28c3ef001483: Waiting 05:29:54 652b1c437a2a: Layer already exists 05:29:54 81b19c2eb7bd: Layer already exists 05:29:54 0f051e7abb84: Layer already exists 05:29:54 98df9024b28d: Layer already exists 05:29:54 b568056b80d0: Layer already exists 05:29:54 28c3ef001483: Layer already exists 05:29:54 2.3.0-dev.18: digest: sha256:5cf54f966f27dea3d44d312bd6c3c831abe6c0fc4ea6ff324a264753385e3cc2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f9659ed4568bcbc613d823f228583e539d90aa3-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f9659ed4568bcbc613d823f228583e539d90aa3-2.3.0-dev.18 05:29:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:29:55 652b1c437a2a: Preparing 05:29:55 81b19c2eb7bd: Preparing 05:29:55 b568056b80d0: Preparing 05:29:55 98df9024b28d: Preparing 05:29:55 0f051e7abb84: Preparing 05:29:55 28c3ef001483: Preparing 05:29:55 28c3ef001483: Waiting 05:29:55 b568056b80d0: Layer already exists 05:29:55 98df9024b28d: Layer already exists 05:29:55 81b19c2eb7bd: Layer already exists 05:29:55 0f051e7abb84: Layer already exists 05:29:55 652b1c437a2a: Layer already exists 05:29:55 28c3ef001483: Layer already exists 05:29:55 2f9659ed4568bcbc613d823f228583e539d90aa3-2.3.0-dev.18: digest: sha256:5cf54f966f27dea3d44d312bd6c3c831abe6c0fc4ea6ff324a264753385e3cc2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:29:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:29:56 652b1c437a2a: Preparing 05:29:56 81b19c2eb7bd: Preparing 05:29:56 b568056b80d0: Preparing 05:29:56 98df9024b28d: Preparing 05:29:56 0f051e7abb84: Preparing 05:29:56 28c3ef001483: Preparing 05:29:56 28c3ef001483: Waiting 05:29:56 98df9024b28d: Layer already exists 05:29:56 b568056b80d0: Layer already exists 05:29:56 81b19c2eb7bd: Layer already exists 05:29:56 0f051e7abb84: Layer already exists 05:29:56 652b1c437a2a: Layer already exists 05:29:56 28c3ef001483: Layer already exists 05:29:56 main: digest: sha256:5cf54f966f27dea3d44d312bd6c3c831abe6c0fc4ea6ff324a264753385e3cc2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:29:56 ===================================================== [Pipeline] echo 05:29:56 taggedImages: 05:29:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f9659ed4568bcbc613d823f228583e539d90aa3 05:29:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:29:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.18 05:29:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f9659ed4568bcbc613d823f228583e539d90aa3-2.3.0-dev.18 05:29:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:29:56 05:29:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:29:57 arm64: Pulling from edgex-lftools-log-publisher 05:29:57 8998bd30e6a1: Pulling fs layer 05:29:57 04944245beec: Pulling fs layer 05:29:57 699f458cf7ca: Pulling fs layer 05:29:57 765212b225bb: Pulling fs layer 05:29:57 f23df028b6ca: Pulling fs layer 05:29:57 d65c8cfc05b1: Pulling fs layer 05:29:57 2437ff75d9bd: Pulling fs layer 05:29:57 f23df028b6ca: Waiting 05:29:57 d65c8cfc05b1: Waiting 05:29:57 765212b225bb: Waiting 05:29:57 2437ff75d9bd: Waiting 05:29:57 04944245beec: Verifying Checksum 05:29:57 04944245beec: Download complete 05:29:57 765212b225bb: Download complete 05:29:57 f23df028b6ca: Verifying Checksum 05:29:57 f23df028b6ca: Download complete 05:29:57 d65c8cfc05b1: Verifying Checksum 05:29:57 d65c8cfc05b1: Download complete 05:29:57 699f458cf7ca: Verifying Checksum 05:29:57 699f458cf7ca: Download complete 05:29:58 8998bd30e6a1: Verifying Checksum 05:29:58 8998bd30e6a1: Download complete 05:30:00 2437ff75d9bd: Verifying Checksum 05:30:00 2437ff75d9bd: Download complete 05:30:02 8998bd30e6a1: Pull complete 05:30:02 04944245beec: Pull complete 05:30:04 699f458cf7ca: Pull complete 05:30:04 765212b225bb: Pull complete 05:30:04 f23df028b6ca: Pull complete 05:30:04 d65c8cfc05b1: Pull complete 05:30:19 2437ff75d9bd: Pull complete 05:30:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:30:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:30:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:20 prd-ubuntu20.04-docker-arm64-4c-16g-8029 does not seem to be running inside a container 05:30:20 $ 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/57 -v /w/workspace/device-modbus-go/57:/w/workspace/device-modbus-go/57:rw,z -v /w/workspace/device-modbus-go/57@tmp:/w/workspace/device-modbus-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:30:23 $ docker top 28ad0acbacae96de9fdee5c537d4d1a008383901348d552249a13791cf4ad3c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:23 ---> job-cost.sh 05:30:24 lf-activate-venv: SKIPPING 05:30:24 INFO: No Stack... 05:30:24 INFO: Retrieving Pricing Info for: v3-standard-4 05:30:25 INFO: Archiving Costs [Pipeline] sh 05:30:25 + cat /w/workspace/device-modbus-go/57/archives/cost.csv 05:30:25 + cut -d, -f6 [Pipeline] lock 05:30:26 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-57-stack-cost] 05:30:26 Resource [jenkins-edgexfoundry-device-modbus-go-main-57-stack-cost] did not exist. Created. 05:30:26 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:30:26 /w/workspace/device-modbus-go/57@tmp/durable-e5e7ff9e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:30:27 + echo total: 0.10999999940395355 [Pipeline] stash 05:30:27 Warning: overwriting stash ‘stack-cost’ 05:30:27 Stashed 1 file(s) [Pipeline] } 05:30:27 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-57-stack-cost] [Pipeline] // lock [Pipeline] } 05:30:27 $ docker stop --time=1 28ad0acbacae96de9fdee5c537d4d1a008383901348d552249a13791cf4ad3c5 05:30:28 $ docker rm -f 28ad0acbacae96de9fdee5c537d4d1a008383901348d552249a13791cf4ad3c5 [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 05:30:29 provisioning config files... 05:30:29 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4312805202423519759tmp [Pipeline] { [Pipeline] sh 05:30:29 + set +x 05:30:29 + curl -s https://codecov.io/bash 05:30:29 + bash -s -- 05:30:29 05:30:29 _____ _ 05:30:29 / ____| | | 05:30:29 | | ___ __| | ___ ___ _____ __ 05:30:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:30:29 | |___| (_) | (_| | __/ (_| (_) \ V / 05:30:29 \_____\___/ \__,_|\___|\___\___/ \_/ 05:30:29 Bash-1.0.6 05:30:29 05:30:29 05:30:29 ==> git version 2.25.1 found 05:30:29 ==> 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 05:30:29 Release-Date: 2020-01-08 05:30:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:30:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:30:29 ==> Jenkins CI detected. 05:30:29 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 05:30:29 project root: . 05:30:29 --> token set from env 05:30:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:30:29 ==> Running gcov in . (disable via -X gcov) 05:30:29 ==> Python coveragepy not found 05:30:29 ==> Searching for coverage reports in: 05:30:29 + . 05:30:29 -> Found 1 reports 05:30:29 ==> Detecting git/mercurial file structure 05:30:29 ==> Reading reports 05:30:29 + ./coverage.out bytes=23241 05:30:29 ==> Appending adjustments 05:30:29 https://docs.codecov.io/docs/fixing-reports 05:30:29 + Found adjustments 05:30:29 ==> Gzipping contents 05:30:29 4.0K /tmp/codecov.ux20jf.gz 05:30:29 ==> Uploading reports 05:30:29 url: https://codecov.io 05:30:29 query: branch=main&commit=2f9659ed4568bcbc613d823f228583e539d90aa3&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:30:29 -> Pinging Codecov 05:30:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=2f9659ed4568bcbc613d823f228583e539d90aa3&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:30:29 -> Uploading to 05:30:29 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/55DBCA73C666E3227836607328DD7E49/2f9659ed4568bcbc613d823f228583e539d90aa3/47fd2d5c-63fd-44dd-ba58-535d336f73b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T053029Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56cb86ee6ace54ed0338472682570393568b98bbf203e5f458deca1a05691f4e 05:30:29 % Total % Received % Xferd Average Speed Time Time Time Current 05:30:29 Dload Upload Total Spent Left Speed 05:30:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 18110 --:--:-- --:--:-- --:--:-- 18110 05:30:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2f9659ed4568bcbc613d823f228583e539d90aa3 [Pipeline] } 05:30:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:30:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:30:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:30:30 05:30:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:30:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:30:30 df9b9388f04a: Pulling fs layer 05:30:30 52dc419b0ee2: Pulling fs layer 05:30:30 25bc292e5bac: Pulling fs layer 05:30:30 114826534d7a: Pulling fs layer 05:30:30 4657fd5d0bcf: Pulling fs layer 05:30:30 6ad1cebc031e: Pulling fs layer 05:30:30 8a3aa393b2d8: Pulling fs layer 05:30:30 4657fd5d0bcf: Waiting 05:30:30 6ad1cebc031e: Waiting 05:30:30 8a3aa393b2d8: Waiting 05:30:30 114826534d7a: Waiting 05:30:30 25bc292e5bac: Download complete 05:30:30 52dc419b0ee2: Download complete 05:30:30 4657fd5d0bcf: Verifying Checksum 05:30:30 4657fd5d0bcf: Download complete 05:30:30 df9b9388f04a: Verifying Checksum 05:30:30 df9b9388f04a: Download complete 05:30:31 df9b9388f04a: Pull complete 05:30:31 6ad1cebc031e: Verifying Checksum 05:30:31 6ad1cebc031e: Download complete 05:30:31 52dc419b0ee2: Pull complete 05:30:31 25bc292e5bac: Pull complete 05:30:31 114826534d7a: Download complete 05:30:31 8a3aa393b2d8: Verifying Checksum 05:30:31 8a3aa393b2d8: Download complete 05:30:34 114826534d7a: Pull complete 05:30:35 4657fd5d0bcf: Pull complete 05:30:35 6ad1cebc031e: Pull complete 05:30:37 8a3aa393b2d8: Pull complete 05:30:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:30:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:30:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:38 prd-ubuntu20.04-docker-8c-8g-8027 does not seem to be running inside a container 05:30:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:30:40 $ docker top 3d7b651a5fc9ea49a62887ed15cd7bb152dc6ec1ee3723a288d8766edeb1349f -eo pid,comm [Pipeline] { [Pipeline] echo 05:30:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 05:30:40 + set -o pipefail 05:30:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 05:30:47 05:30:47 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 05:30:47 05:30:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/d33819d6-5ed3-40bb-8f11-cbbe64768008 05:30:47 05:30:47 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 05:30:47 05:30:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:30:47 05:30:47 05:30:47 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:30:47 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:30:47 More details here: https://snyk.co/ue1NS [Pipeline] } 05:30:47 $ docker stop --time=1 3d7b651a5fc9ea49a62887ed15cd7bb152dc6ec1ee3723a288d8766edeb1349f 05:30:49 $ docker rm -f 3d7b651a5fc9ea49a62887ed15cd7bb152dc6ec1ee3723a288d8766edeb1349f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:30:50 + git log --format=format:%s -1 2f9659ed4568bcbc613d823f228583e539d90aa3 [Pipeline] sh 05:30:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:30:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:30:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:50 prd-ubuntu20.04-docker-8c-8g-8027 does not seem to be running inside a container 05:30:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:30:51 $ docker top 18c654fca199e185739ff234da04f778a490de93eaf8b49ab1aab59314fdeb69 -eo pid,comm 05:30:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:30:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:30:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:30:51 [ssh-agent] Looking for ssh-agent implementation... 05:30:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:30:51 $ docker exec 18c654fca199e185739ff234da04f778a490de93eaf8b49ab1aab59314fdeb69 ssh-agent 05:30:51 SSH_AUTH_SOCK=/tmp/ssh-XSg3ogURvUE5/agent.32 05:30:51 SSH_AGENT_PID=38 05:30:51 Running ssh-add (command line suppressed) 05:30:51 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12643036709735534107.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12643036709735534107.key) 05:30:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:30:52 + git semver tag 05:30:52 2022-10-17 05:30:52,191 [run_tag] DEBUG tag force:False 05:30:52 2022-10-17 05:30:52,191 [check_head_tag] DEBUG check head tag 05:30:52 2022-10-17 05:30:52,192 [execute] INFO git cat-file --batch-check 05:30:52 2022-10-17 05:30:52,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:30:52 2022-10-17 05:30:52,195 [execute] INFO git cat-file --batch 05:30:52 2022-10-17 05:30:52,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:30:52 2022-10-17 05:30:52,207 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:30:52 2022-10-17 05:30:52,207 [execute] INFO git tag -a v2.3.0-dev.18 -m v2.3.0-dev.18 05:30:52 2022-10-17 05:30:52,208 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.18', '-m', 'v2.3.0-dev.18'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:30:52 2022-10-17 05:30:52,212 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:30:52 2.3.0-dev.18 [Pipeline] } 05:30:52 $ docker exec --env ******** --env ******** 18c654fca199e185739ff234da04f778a490de93eaf8b49ab1aab59314fdeb69 ssh-agent -k 05:30:52 unset SSH_AUTH_SOCK; 05:30:52 unset SSH_AGENT_PID; 05:30:52 echo Agent pid 38 killed; 05:30:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:30:52 + git semver [Pipeline] } 05:30:52 $ docker stop --time=1 18c654fca199e185739ff234da04f778a490de93eaf8b49ab1aab59314fdeb69 05:30:54 $ docker rm -f 18c654fca199e185739ff234da04f778a490de93eaf8b49ab1aab59314fdeb69 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:30:54 05:30:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:30:54 0.23.1-centos7: Pulling from edgex-lftools 05:30:54 ab5ef0e58194: Pulling fs layer 05:30:54 9712f1f96733: Pulling fs layer 05:30:54 63f879dbbcfc: Pulling fs layer 05:30:54 0d9ebad4ef96: Pulling fs layer 05:30:54 e9a5061849ea: Pulling fs layer 05:30:54 d747dcd14b5f: Pulling fs layer 05:30:54 2de7ff778b66: Pulling fs layer 05:30:54 0d9ebad4ef96: Waiting 05:30:54 e9a5061849ea: Waiting 05:30:54 2de7ff778b66: Waiting 05:30:54 d747dcd14b5f: Waiting 05:30:54 9712f1f96733: Verifying Checksum 05:30:54 9712f1f96733: Download complete 05:30:55 63f879dbbcfc: Verifying Checksum 05:30:55 63f879dbbcfc: Download complete 05:30:55 0d9ebad4ef96: Verifying Checksum 05:30:55 0d9ebad4ef96: Download complete 05:30:55 d747dcd14b5f: Verifying Checksum 05:30:55 d747dcd14b5f: Download complete 05:30:55 e9a5061849ea: Verifying Checksum 05:30:55 e9a5061849ea: Download complete 05:30:55 ab5ef0e58194: Verifying Checksum 05:30:55 ab5ef0e58194: Download complete 05:30:55 2de7ff778b66: Verifying Checksum 05:30:55 2de7ff778b66: Download complete 05:30:58 ab5ef0e58194: Pull complete 05:30:58 9712f1f96733: Pull complete 05:30:58 63f879dbbcfc: Pull complete 05:31:02 0d9ebad4ef96: Pull complete 05:31:02 e9a5061849ea: Pull complete 05:31:02 d747dcd14b5f: Pull complete 05:31:03 2de7ff778b66: Pull complete 05:31:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:31:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:31:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:03 prd-ubuntu20.04-docker-8c-8g-8027 does not seem to be running inside a container 05:31:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:31:05 $ docker top 3422e7aafa380d4fae08ab7384dd60a8ed75692ccedbabf468423ac1476a0102 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:31:05 provisioning config files... 05:31:05 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7549652357489417727tmp 05:31:05 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11872774228665719169tmp 05:31:05 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7344646628760995423tmp [Pipeline] { [Pipeline] echo 05:31:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:31:05 ---> sigul-configuration.sh 05:31:05 gpg: directory `/root/.gnupg' created 05:31:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:31:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:31:05 gpg: keyring `/root/.gnupg/secring.gpg' created 05:31:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:31:05 gpg: CAST5 encrypted data 05:31:05 gpg: encrypted with 1 passphrase 05:31:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:31:06 + mkdir /home/jenkins 05:31:06 + mkdir /home/jenkins/sigul [Pipeline] sh 05:31:06 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:31:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:31:06 ---> sigul-install.sh 05:31:06 Sigul already installed; skipping installation. [Pipeline] sh 05:31:06 + git tag --list 05:31:06 0.7.1 05:31:06 v1.0.0 05:31:06 v1.1.0 05:31:06 v1.1.1 05:31:06 v1.2.2 05:31:06 v1.3.0 05:31:06 v1.3.1 05:31:06 v2.0.0 05:31:06 v2.1.0 05:31:06 v2.1.1 05:31:06 v2.1.1-dev.1 05:31:06 v2.1.1-dev.2 05:31:06 v2.1.1-dev.3 05:31:06 v2.2.0 05:31:06 v2.2.1-dev.1 05:31:06 v2.2.1-dev.2 05:31:06 v2.2.1-dev.3 05:31:06 v2.2.1-dev.4 05:31:06 v2.2.1-dev.5 05:31:06 v2.2.1-dev.6 05:31:06 v2.2.1-dev.7 05:31:06 v2.3.0-dev.10 05:31:06 v2.3.0-dev.11 05:31:06 v2.3.0-dev.12 05:31:06 v2.3.0-dev.13 05:31:06 v2.3.0-dev.14 05:31:06 v2.3.0-dev.15 05:31:06 v2.3.0-dev.16 05:31:06 v2.3.0-dev.17 05:31:06 v2.3.0-dev.18 05:31:06 v2.3.0-dev.7 05:31:06 v2.3.0-dev.8 05:31:06 v2.3.0-dev.9 [Pipeline] sh 05:31:07 + lftools sign git-tag v2.3.0-dev.18 05:31:07 Signing Git tag with Sigul... 05:31:07 Signing v2.3.0-dev.18 [Pipeline] echo 05:31:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:31:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:31:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:31:08 $ docker stop --time=1 3422e7aafa380d4fae08ab7384dd60a8ed75692ccedbabf468423ac1476a0102 05:31:09 $ docker rm -f 3422e7aafa380d4fae08ab7384dd60a8ed75692ccedbabf468423ac1476a0102 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:31:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:10 prd-ubuntu20.04-docker-8c-8g-8027 does not seem to be running inside a container 05:31:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:31:12 $ docker top afe1037855da7ca115c42d7861f2a9e5ee9939c6340932d2e75b1388ccc359e5 -eo pid,comm 05:31:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:31:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:12 [ssh-agent] Looking for ssh-agent implementation... 05:31:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:12 $ docker exec afe1037855da7ca115c42d7861f2a9e5ee9939c6340932d2e75b1388ccc359e5 ssh-agent 05:31:12 SSH_AUTH_SOCK=/tmp/ssh-tRLc6Mu3RCeC/agent.32 05:31:12 SSH_AGENT_PID=38 05:31:12 Running ssh-add (command line suppressed) 05:31:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_312904711769824312.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_312904711769824312.key) 05:31:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:13 + git semver bump pre 05:31:13 2022-10-17 05:31:13,190 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:31:13 2022-10-17 05:31:13,190 [bump_version] DEBUG bumping version:2.3.0-dev.18 on axis:pre with prefix:dev 05:31:13 2022-10-17 05:31:13,190 [bump_version] DEBUG bumped version:2.3.0-dev.19 05:31:13 2022-10-17 05:31:13,190 [write_version] DEBUG write version:2.3.0-dev.19 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 05:31:13 2022-10-17 05:31:13,191 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:31:13 2022-10-17 05:31:13,191 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:31:13 2022-10-17 05:31:13,192 [execute] INFO git cat-file --batch-check 05:31:13 2022-10-17 05:31:13,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:31:13 2022-10-17 05:31:13,197 [execute] INFO git cat-file --batch 05:31:13 2022-10-17 05:31:13,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:31:13 2022-10-17 05:31:13,202 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:31:13 2.3.0-dev.19 [Pipeline] } 05:31:13 $ docker exec --env ******** --env ******** afe1037855da7ca115c42d7861f2a9e5ee9939c6340932d2e75b1388ccc359e5 ssh-agent -k 05:31:13 unset SSH_AUTH_SOCK; 05:31:13 unset SSH_AGENT_PID; 05:31:13 echo Agent pid 38 killed; 05:31:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:13 + git semver [Pipeline] } 05:31:13 $ docker stop --time=1 afe1037855da7ca115c42d7861f2a9e5ee9939c6340932d2e75b1388ccc359e5 05:31:15 $ docker rm -f afe1037855da7ca115c42d7861f2a9e5ee9939c6340932d2e75b1388ccc359e5 [Pipeline] // withDockerContainer [Pipeline] sh 05:31:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:15 prd-ubuntu20.04-docker-8c-8g-8027 does not seem to be running inside a container 05:31:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:31:16 $ docker top 4b3520f37d5531218a3332836931508411298d3ebf2be70260ec8c97214b46f8 -eo pid,comm 05:31:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:31:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:16 [ssh-agent] Looking for ssh-agent implementation... 05:31:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:16 $ docker exec 4b3520f37d5531218a3332836931508411298d3ebf2be70260ec8c97214b46f8 ssh-agent 05:31:16 SSH_AUTH_SOCK=/tmp/ssh-zCudLlqdyyBj/agent.33 05:31:16 SSH_AGENT_PID=39 05:31:16 Running ssh-add (command line suppressed) 05:31:16 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3012080606791869907.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3012080606791869907.key) 05:31:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:17 + git semver push 05:31:17 2022-10-17 05:31:17,255 [run_push] DEBUG push 05:31:17 2022-10-17 05:31:17,257 [execute] INFO git cat-file --batch-check 05:31:17 2022-10-17 05:31:17,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:31:17 2022-10-17 05:31:17,261 [execute] INFO git rev-list 95e1ec049052b36f8a82d725c8eb7d3463428d44 -- 05:31:17 2022-10-17 05:31:17,262 [execute] DEBUG Popen(['git', 'rev-list', '95e1ec049052b36f8a82d725c8eb7d3463428d44', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:31:17 2022-10-17 05:31:17,269 [execute] INFO git fetch -v origin 05:31:17 2022-10-17 05:31:17,270 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:31:17 2022-10-17 05:31:17,883 [run_push] DEBUG no remote changes detected 05:31:17 2022-10-17 05:31:17,884 [execute] INFO git push origin semver 05:31:17 2022-10-17 05:31:17,884 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:31:18 2022-10-17 05:31:18,710 [run_push] DEBUG push all version tags 05:31:18 2022-10-17 05:31:18,710 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:31:18 2022-10-17 05:31:18,711 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:31:19 2022-10-17 05:31:19,486 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:31:19 2.3.0-dev.19 [Pipeline] } 05:31:19 $ docker exec --env ******** --env ******** 4b3520f37d5531218a3332836931508411298d3ebf2be70260ec8c97214b46f8 ssh-agent -k 05:31:19 unset SSH_AUTH_SOCK; 05:31:19 unset SSH_AGENT_PID; 05:31:19 echo Agent pid 39 killed; 05:31:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:20 + git semver [Pipeline] } 05:31:20 $ docker stop --time=1 4b3520f37d5531218a3332836931508411298d3ebf2be70260ec8c97214b46f8 05:31:21 $ docker rm -f 4b3520f37d5531218a3332836931508411298d3ebf2be70260ec8c97214b46f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 05:31:22 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 05:31:22 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:31:22 total 16 05:31:22 drwxr-xr-x 3 root root 4096 Oct 17 05:22 . 05:31:22 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 05:31 .. 05:31:22 drwxr-xr-x 2 root root 4096 Oct 17 05:22 cost 05:31:22 -rw-r--r-- 1 root root 87 Oct 17 05:22 cost.csv 05:31:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 05:31:22 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:31:22 total 16 05:31:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 05:22 . 05:31:22 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 05:31 .. 05:31:22 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 05:22 cost 05:31:22 -rw-r--r-- 1 jenkins jenkins 87 Oct 17 05:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:31:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:31:23 ---> package-listing.sh 05:31:23 ++ facter osfamily 05:31:23 ++ tr '[:upper:]' '[:lower:]' 05:31:23 + OS_FAMILY=debian 05:31:23 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:31:23 + START_PACKAGES=/tmp/packages_start.txt 05:31:23 + END_PACKAGES=/tmp/packages_end.txt 05:31:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:31:23 + PACKAGES=/tmp/packages_start.txt 05:31:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:31:23 + PACKAGES=/tmp/packages_end.txt 05:31:23 + case "${OS_FAMILY}" in 05:31:23 + dpkg -l 05:31:23 + grep '^ii' 05:31:23 + '[' -f /tmp/packages_start.txt ']' 05:31:23 + '[' -f /tmp/packages_end.txt ']' 05:31:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:31:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:31:23 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:31:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 05:31:23 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:31:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:24 prd-ubuntu20.04-docker-8c-8g-8027 does not seem to be running inside a container 05:31:24 $ 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:31:25 $ docker top 1cdab816fccdb1948efcdc14eb7355080a6c3816f51feed9ce67f0642b2ca0da -eo pid,comm [Pipeline] { [Pipeline] sh 05:31:25 + touch /tmp/pre-build-complete [Pipeline] sh 05:31:25 + mkdir -p /var/log/sysstat [Pipeline] sh 05:31:25 + ls /var/log/sa-host 05:31:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:25 provisioning config files... 05:31:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8045535764983002128tmp [Pipeline] { [Pipeline] echo 05:31:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:31:26 ---> create-netrc.sh [Pipeline] } 05:31:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:31:26 ---> python-tools-install.sh [Pipeline] echo 05:31:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:31:26 ---> sudo-logs.sh 05:31:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:31:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:31:27 ---> job-cost.sh 05:31:27 lf-activate-venv: SKIPPING 05:31:27 DEBUG: total: 0.2199999988079071 05:31:27 INFO: Retrieving Stack Cost... 05:31:27 INFO: Retrieving Pricing Info for: v3-standard-8 05:31:28 INFO: Archiving Costs [Pipeline] echo 05:31:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:31:28 ---> logs-deploy.sh 05:31:28 lf-activate-venv: SKIPPING 05:31:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/57 05:31:28 INFO: archiving workspace using pattern(s): 05:31:29 Archives upload complete. 05:31:29 INFO: archiving logs to Nexus