Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dc9c57eb5fcf9d56daa39b489e9deb9211134340 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-ssh6949196495445971832.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-ssh2828541622805153998.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-ssh11159946833340449810.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-ssh13403058351996881588.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-ssh13042164396076918450.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 ‘prd-ubuntu20.04-docker-8c-8g-7495’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7499 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 dc9c57eb5fcf9d56daa39b489e9deb9211134340 (main) Commit message: "Merge pull request #381 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" > 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 dc9c57eb5fcf9d56daa39b489e9deb9211134340 # timeout=10 > git rev-list --no-walk 5f9383f46e2f188912b2110fac411a008f731f06 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:02:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:02:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:02:24 ========================================================= 10:02:24 EdgeX Global Pipelines Version Info 10:02:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:02:25 ------------------- 10:02:25 stable info: 10:02:25 ------------------- 10:02:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:02:25 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:02:25 Message: update stable to v1.0.239 10:02:26 ------------------- 10:02:26 experimental info: 10:02:26 ------------------- 10:02:26 Commited By: **** collab-it+edgex@linuxfoundation.org 10:02:26 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:02:26 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc9c57eb5fcf9d56daa39b489e9deb9211134340 [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc9c57e [Pipeline] echo 10:02:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:26 provisioning config files... 10:02:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12994545701661926674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:26 ---> docker-login.sh 10:02:26 nexus3.edgexfoundry.org:10001 10:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:27 Configure a credential helper to remove this warning. See 10:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:27 10:02:27 Login Succeeded 10:02:27 nexus3.edgexfoundry.org:10002 10:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:27 Configure a credential helper to remove this warning. See 10:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:27 10:02:27 Login Succeeded 10:02:27 nexus3.edgexfoundry.org:10003 10:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:27 Configure a credential helper to remove this warning. See 10:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:27 10:02:27 Login Succeeded 10:02:27 nexus3.edgexfoundry.org:10004 10:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:27 Configure a credential helper to remove this warning. See 10:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:27 10:02:27 Login Succeeded 10:02:27 docker.io 10:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:27 Configure a credential helper to remove this warning. See 10:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:27 10:02:27 Login Succeeded 10:02:27 ---> docker-login.sh ends [Pipeline] } 10:02:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:02:28 + git rev-list -1 --merges dc9c57eb5fcf9d56daa39b489e9deb9211134340~1..dc9c57eb5fcf9d56daa39b489e9deb9211134340 [Pipeline] echo 10:02:28 -----------> git rev-list -1 --merges dc9c57eb5fcf9d56daa39b489e9deb9211134340~1..dc9c57eb5fcf9d56daa39b489e9deb9211134340 dc9c57eb5fcf9d56daa39b489e9deb9211134340 10:02:28 dc9c57eb5fcf9d56daa39b489e9deb9211134340 [false] [Pipeline] sh 10:02:28 + git log --format=format:%s -1 dc9c57eb5fcf9d56daa39b489e9deb9211134340 [Pipeline] echo 10:02:28 ========================================================= 10:02:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:02:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:02:28 + git log --format=format:%s -1 dc9c57eb5fcf9d56daa39b489e9deb9211134340 [Pipeline] echo 10:02:28 [semverPrep] GIT_COMMIT: dc9c57eb5fcf9d56daa39b489e9deb9211134340, Commit Message: Merge pull request #381 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37 [Pipeline] echo 10:02:28 [semverPrep] This is not a build commit. [Pipeline] sh 10:02:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:02:29 + grep -v github /etc/ssh/ssh_known_hosts 10:02:29 + [ -e /tmp/ssh_known_hosts ] 10:02:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:02:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:02:29 + sudo tee -a /etc/ssh/ssh_known_hosts 10:02:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:29 10:02:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:29 0.1.4: Pulling from edgex-devops/py-git-semver 10:02:29 b85a868b505f: Pulling fs layer 10:02:29 e2be974225ed: Pulling fs layer 10:02:29 339a4e72a1f5: Pulling fs layer 10:02:29 988bab9f4d93: Pulling fs layer 10:02:29 1469e6f7b9e6: Pulling fs layer 10:02:29 eaf3925da568: Pulling fs layer 10:02:29 988bab9f4d93: Waiting 10:02:29 1469e6f7b9e6: Waiting 10:02:29 bab4dde63d76: Pulling fs layer 10:02:29 bde34c3a00c8: Pulling fs layer 10:02:29 b352a97aabf1: Pulling fs layer 10:02:29 eaf3925da568: Waiting 10:02:29 bab4dde63d76: Waiting 10:02:29 bde34c3a00c8: Waiting 10:02:29 4872d77fe225: Pulling fs layer 10:02:29 5851b861e8e6: Pulling fs layer 10:02:29 4872d77fe225: Waiting 10:02:29 e2be974225ed: Download complete 10:02:29 988bab9f4d93: Download complete 10:02:29 1469e6f7b9e6: Verifying Checksum 10:02:29 1469e6f7b9e6: Download complete 10:02:30 eaf3925da568: Download complete 10:02:30 339a4e72a1f5: Verifying Checksum 10:02:30 339a4e72a1f5: Download complete 10:02:30 bde34c3a00c8: Verifying Checksum 10:02:30 bde34c3a00c8: Download complete 10:02:30 b352a97aabf1: Verifying Checksum 10:02:30 b352a97aabf1: Download complete 10:02:30 4872d77fe225: Download complete 10:02:30 5851b861e8e6: Verifying Checksum 10:02:30 5851b861e8e6: Download complete 10:02:30 b85a868b505f: Download complete 10:02:30 bab4dde63d76: Verifying Checksum 10:02:30 bab4dde63d76: Download complete 10:02:31 b85a868b505f: Pull complete 10:02:31 e2be974225ed: Pull complete 10:02:32 339a4e72a1f5: Pull complete 10:02:32 988bab9f4d93: Pull complete 10:02:32 1469e6f7b9e6: Pull complete 10:02:32 eaf3925da568: Pull complete 10:02:34 bab4dde63d76: Pull complete 10:02:34 bde34c3a00c8: Pull complete 10:02:34 b352a97aabf1: Pull complete 10:02:34 4872d77fe225: Pull complete 10:02:34 5851b861e8e6: Pull complete 10:02:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:02:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:34 prd-ubuntu20.04-docker-8c-8g-7499 does not seem to be running inside a container 10:02:34 $ 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 10:02:37 $ docker top b16ce563f9cfc687b74b7d72abf13ce5b77ffc30622502e3935232377bdf40f0 -eo pid,comm 10:02:37 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). 10:02:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:02:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:37 [ssh-agent] Looking for ssh-agent implementation... 10:02:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:37 $ docker exec b16ce563f9cfc687b74b7d72abf13ce5b77ffc30622502e3935232377bdf40f0 ssh-agent 10:02:37 SSH_AUTH_SOCK=/tmp/ssh-MKMwNESnPbxo/agent.32 10:02:37 SSH_AGENT_PID=38 10:02:37 Running ssh-add (command line suppressed) 10:02:37 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1019533624826989341.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1019533624826989341.key) 10:02:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:38 + git tag --points-at HEAD [Pipeline] } 10:02:38 $ docker exec --env ******** --env ******** b16ce563f9cfc687b74b7d72abf13ce5b77ffc30622502e3935232377bdf40f0 ssh-agent -k 10:02:38 unset SSH_AUTH_SOCK; 10:02:38 unset SSH_AGENT_PID; 10:02:38 echo Agent pid 38 killed; 10:02:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:02:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:38 [ssh-agent] Looking for ssh-agent implementation... 10:02:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:38 $ docker exec b16ce563f9cfc687b74b7d72abf13ce5b77ffc30622502e3935232377bdf40f0 ssh-agent 10:02:38 SSH_AUTH_SOCK=/tmp/ssh-IzTPPcQNEc8p/agent.70 10:02:38 SSH_AGENT_PID=76 10:02:38 Running ssh-add (command line suppressed) 10:02:38 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10648303727902245499.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10648303727902245499.key) 10:02:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:38 + git semver init 10:02:39 2022-10-10 10:02:39,155 [run_init] DEBUG init version:0.0.0 force:False 10:02:39 2022-10-10 10:02:39,156 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 10:02:39 2022-10-10 10:02:39,156 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 10:02:39 2022-10-10 10:02:39,156 [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) 10:02:40 2022-10-10 10:02:40,119 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 10:02:40 2022-10-10 10:02:40,120 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 10:02:40 2022-10-10 10:02:40,120 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:02:40 2022-10-10 10:02:40,120 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:02:40 2.3.0-dev.17 [Pipeline] } 10:02:40 $ docker exec --env ******** --env ******** b16ce563f9cfc687b74b7d72abf13ce5b77ffc30622502e3935232377bdf40f0 ssh-agent -k 10:02:40 unset SSH_AUTH_SOCK; 10:02:40 unset SSH_AGENT_PID; 10:02:40 echo Agent pid 76 killed; 10:02:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:02:40 + git semver [Pipeline] } 10:02:40 $ docker stop --time=1 b16ce563f9cfc687b74b7d72abf13ce5b77ffc30622502e3935232377bdf40f0 10:02:42 $ docker rm -f b16ce563f9cfc687b74b7d72abf13ce5b77ffc30622502e3935232377bdf40f0 [Pipeline] // withDockerContainer [Pipeline] sh 10:02:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:02:42 Stashed 1 file(s) [Pipeline] echo 10:02:42 [edgeXSemver]: initialized semver on version 2.3.0-dev.17 [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 10:02:42 provisioning config files... 10:02:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3832464183752616791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:43 ---> docker-login.sh 10:02:43 nexus3.edgexfoundry.org:10001 10:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:43 Configure a credential helper to remove this warning. See 10:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:43 10:02:43 Login Succeeded 10:02:43 nexus3.edgexfoundry.org:10002 10:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:43 Configure a credential helper to remove this warning. See 10:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:43 10:02:43 Login Succeeded 10:02:43 nexus3.edgexfoundry.org:10003 10:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:43 Configure a credential helper to remove this warning. See 10:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:43 10:02:43 Login Succeeded 10:02:43 nexus3.edgexfoundry.org:10004 10:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:43 Configure a credential helper to remove this warning. See 10:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:43 10:02:43 Login Succeeded 10:02:43 docker.io 10:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:43 Configure a credential helper to remove this warning. See 10:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:43 10:02:43 Login Succeeded 10:02:43 ---> docker-login.sh ends [Pipeline] } 10:02:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:02:44 ========================================================= 10:02:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:02:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:44 + 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 . 10:02:44 Sending build context to Docker daemon 6.161MB 10:02:44 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 10:02:44 Step 2/11 : FROM ${BASE} AS builder 10:02:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:02:44 2408cc74d12b: Pulling fs layer 10:02:44 ea60b727a1ce: Pulling fs layer 10:02:44 30c4a7721957: Pulling fs layer 10:02:44 370296b7ddb6: Pulling fs layer 10:02:44 7c6cee850709: Pulling fs layer 10:02:44 aa9baa53a306: Pulling fs layer 10:02:44 8b309c321861: Pulling fs layer 10:02:44 d8d76fd02f46: Pulling fs layer 10:02:44 fa31f396de31: Pulling fs layer 10:02:44 370296b7ddb6: Waiting 10:02:44 7c6cee850709: Waiting 10:02:44 aa9baa53a306: Waiting 10:02:44 8b309c321861: Waiting 10:02:44 fa31f396de31: Waiting 10:02:44 30c4a7721957: Verifying Checksum 10:02:44 30c4a7721957: Download complete 10:02:44 ea60b727a1ce: Download complete 10:02:44 7c6cee850709: Verifying Checksum 10:02:44 7c6cee850709: Download complete 10:02:44 aa9baa53a306: Verifying Checksum 10:02:44 aa9baa53a306: Download complete 10:02:44 2408cc74d12b: Verifying Checksum 10:02:44 2408cc74d12b: Download complete 10:02:44 8b309c321861: Verifying Checksum 10:02:44 8b309c321861: Download complete 10:02:44 2408cc74d12b: Pull complete 10:02:44 ea60b727a1ce: Pull complete 10:02:44 30c4a7721957: Pull complete 10:02:45 fa31f396de31: Verifying Checksum 10:02:45 fa31f396de31: Download complete 10:02:45 370296b7ddb6: Download complete 10:02:45 d8d76fd02f46: Verifying Checksum 10:02:45 d8d76fd02f46: Download complete 10:02:49 370296b7ddb6: Pull complete 10:02:49 7c6cee850709: Pull complete 10:02:49 aa9baa53a306: Pull complete 10:02:49 8b309c321861: Pull complete 10:02:51 d8d76fd02f46: Pull complete 10:02:52 fa31f396de31: Pull complete 10:02:52 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 10:02:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:02:52 ---> cef68f9685f8 10:02:52 Step 3/11 : ARG ADD_BUILD_TAGS="" 10:02:56 ---> Running in 48e98c7bad55 10:02:56 Removing intermediate container 48e98c7bad55 10:02:56 ---> e9aaff7137ce 10:02:56 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:02:56 ---> Running in 9bbf8f3768d1 10:02:56 Removing intermediate container 9bbf8f3768d1 10:02:56 ---> b0b92e129ca7 10:02:56 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:02:56 ---> Running in 18e7cefefe53 10:02:57 Removing intermediate container 18e7cefefe53 10:02:57 ---> 38aef350f8b6 10:02:57 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:02:57 ---> Running in 178c2890eb9e 10:02:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:02:57 Still waiting to schedule task 10:02:57 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7500’ is offline 10:02:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:02:58 (1/8) Installing openssh-keygen (9.0_p1-r2) 10:02:58 (2/8) Installing libedit (20210910.3.1-r0) 10:02:58 (3/8) Installing openssh-client-common (9.0_p1-r2) 10:02:58 (4/8) Installing openssh-client-default (9.0_p1-r2) 10:02:59 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 10:02:59 (6/8) Installing openssh-server-common (9.0_p1-r2) 10:02:59 (7/8) Installing openssh-server (9.0_p1-r2) 10:02:59 (8/8) Installing openssh (9.0_p1-r2) 10:02:59 Executing busybox-1.35.0-r13.trigger 10:02:59 OK: 217 MiB in 59 packages 10:02:59 Removing intermediate container 178c2890eb9e 10:02:59 ---> f3ef09e610ed 10:02:59 Step 7/11 : WORKDIR /device-modbus-go 10:02:59 ---> Running in 1a115c7da10b 10:02:59 Removing intermediate container 1a115c7da10b 10:02:59 ---> 491096cfde4b 10:02:59 Step 8/11 : COPY go.mod vendor* ./ 10:03:00 ---> 7b0fba746bc0 10:03:00 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:03:00 ---> Running in 9ea2b72eaf4e 10:03:22 Removing intermediate container 9ea2b72eaf4e 10:03:22 ---> 8fed31127abc 10:03:22 Step 10/11 : COPY . . 10:03:22 ---> 929a71e7f774 10:03:22 Step 11/11 : RUN ${MAKE} 10:03:22 ---> Running in 56a8901abe7e 10:03:22 noop 10:03:22 Removing intermediate container 56a8901abe7e 10:03:22 ---> d8cba6a74a88 10:03:22 Successfully built d8cba6a74a88 10:03:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:22 + docker inspect -f . ci-base-image-x86_64 10:03:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:22 prd-ubuntu20.04-docker-8c-8g-7499 does not seem to be running inside a container 10:03:22 $ 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 10:03:23 $ docker top 9003a9614ceffc833bba5af4a1b676499d5671460f9d949b1da5efa0b1e23cc2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:23 + go version 10:03:23 go version go1.18.3 linux/amd64 [Pipeline] } 10:03:23 $ docker stop --time=1 9003a9614ceffc833bba5af4a1b676499d5671460f9d949b1da5efa0b1e23cc2 10:03:24 $ docker rm -f 9003a9614ceffc833bba5af4a1b676499d5671460f9d949b1da5efa0b1e23cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:25 + docker inspect -f . ci-base-image-x86_64 10:03:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:25 prd-ubuntu20.04-docker-8c-8g-7499 does not seem to be running inside a container 10:03:25 $ 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 10:03:25 $ docker top 1acf837622aa441020b250a412a1e24a5296c7e08041c31eccb776c939d59548 -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 10:03:26 + make test 10:03:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:03:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:03:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:03:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements 10:03:44 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." 10:03:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:03:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:03:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:03:47 ./bin/test-attribution-txt.sh [Pipeline] echo 10:03:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:03:47 $ docker stop --time=1 1acf837622aa441020b250a412a1e24a5296c7e08041c31eccb776c939d59548 10:03:49 $ docker rm -f 1acf837622aa441020b250a412a1e24a5296c7e08041c31eccb776c939d59548 [Pipeline] // withDockerContainer [Pipeline] sh 10:03:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:03:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:03:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:03:50 + ls -al . 10:03:50 total 188 10:03:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 10:03 . 10:03:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:02 .. 10:03:50 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 10:02 .dockerignore 10:03:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:03 .git 10:03:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:02 .github 10:03:50 -rw-rw-r-- 1 jenkins jenkins 331 Oct 10 10:02 .gitignore 10:03:50 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 10:02 .golangci.yml 10:03:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 10:02 .semver 10:03:50 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 10 10:02 Attribution.txt 10:03:50 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 10 10:02 CHANGELOG.md 10:03:50 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 10 10:02 Dockerfile 10:03:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 10:02 GOVERNANCE.md 10:03:50 -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 10:02 Jenkinsfile 10:03:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 10:02 LICENSE 10:03:50 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 10 10:02 Makefile 10:03:50 -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 10:02 OWNERS.md 10:03:50 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 10 10:02 README.md 10:03:50 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 10:02 VERSION 10:03:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:02 bin 10:03:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:02 cmd 10:03:50 -rw-r--r-- 1 jenkins jenkins 23241 Oct 10 10:03 coverage.out 10:03:50 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 10 10:02 go.mod 10:03:50 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 10 10:02 go.sum 10:03:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:02 internal 10:03:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:02 simulator 10:03:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:02 snap 10:03:50 -rw-rw-r-- 1 jenkins jenkins 229 Oct 10 10:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:50 + 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=dc9c57eb5fcf9d56daa39b489e9deb9211134340 --label arch=amd64 --label version=2.3.0-dev.17 . 10:03:50 Sending build context to Docker daemon 6.185MB 10:03:50 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 10:03:50 Step 2/24 : FROM ${BASE} AS builder 10:03:50 ---> d8cba6a74a88 10:03:50 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:03:51 ---> Running in 429bcbca231d 10:03:51 Removing intermediate container 429bcbca231d 10:03:51 ---> 87b5c40b948b 10:03:51 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:03:51 ---> Running in 7d0459c579fd 10:03:51 Removing intermediate container 7d0459c579fd 10:03:51 ---> a837888037c9 10:03:51 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:03:51 ---> Running in 20e7145afc5e 10:03:51 Removing intermediate container 20e7145afc5e 10:03:51 ---> 593cf107f0ad 10:03:51 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:03:51 ---> Running in 8003e197c51c 10:03:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:03:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:03:53 OK: 217 MiB in 59 packages 10:03:53 Removing intermediate container 8003e197c51c 10:03:53 ---> eedd59f9dc58 10:03:53 Step 7/24 : WORKDIR /device-modbus-go 10:03:53 ---> Running in e41c25b2fd80 10:03:53 Removing intermediate container e41c25b2fd80 10:03:53 ---> 2223b7ce10b7 10:03:53 Step 8/24 : COPY go.mod vendor* ./ 10:03:53 ---> 96eb914314ff 10:03:53 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:03:53 ---> Running in 8de5a6da0e29 10:03:54 Removing intermediate container 8de5a6da0e29 10:03:54 ---> 3416747c1bbb 10:03:54 Step 10/24 : COPY . . 10:03:55 ---> 47748158b5fa 10:03:55 Step 11/24 : RUN ${MAKE} 10:03:55 ---> Running in b83464fa72d4 10:03:55 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 10:04:17 Removing intermediate container b83464fa72d4 10:04:17 ---> 3d6dd2a4e6c0 10:04:17 Step 12/24 : FROM alpine:3.14 10:04:17 3.14: Pulling from library/alpine 10:04:17 c7ed990a2339: Pulling fs layer 10:04:17 c7ed990a2339: Verifying Checksum 10:04:17 c7ed990a2339: Download complete 10:04:17 c7ed990a2339: Pull complete 10:04:17 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 10:04:17 Status: Downloaded newer image for alpine:3.14 10:04:17 ---> dd53f409bf0b 10:04:17 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:04:17 ---> Running in 56e6068976c4 10:04:17 Removing intermediate container 56e6068976c4 10:04:17 ---> 2d7e0fd32ab6 10:04:17 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:04:17 ---> Running in 9a0689d24ce6 10:04:17 Removing intermediate container 9a0689d24ce6 10:04:17 ---> 9fac4385b0c4 10:04:17 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 10:04:17 ---> Running in f6de0459ac07 10:04:17 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:04:18 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:04:18 (1/6) Installing dumb-init (1.2.5-r1) 10:04:18 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:04:18 (3/6) Installing libsodium (1.0.18-r0) 10:04:18 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:04:19 (5/6) Installing libzmq (4.3.4-r0) 10:04:19 (6/6) Installing zeromq (4.3.4-r0) 10:04:19 Executing busybox-1.33.1-r8.trigger 10:04:19 OK: 8 MiB in 20 packages 10:04:19 Removing intermediate container f6de0459ac07 10:04:19 ---> ad32a4ddb7bf 10:04:19 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 10:04:20 ---> 82ebc409bd67 10:04:20 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 10:04:20 ---> febcf350849c 10:04:20 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:04:20 ---> 585730591180 10:04:20 Step 19/24 : EXPOSE 59901 10:04:20 ---> Running in 9f6010b8f168 10:04:20 Removing intermediate container 9f6010b8f168 10:04:20 ---> 70b47ef39346 10:04:20 Step 20/24 : ENTRYPOINT ["/device-modbus"] 10:04:20 ---> Running in a391784512b0 10:04:20 Removing intermediate container a391784512b0 10:04:20 ---> 22f327d33892 10:04:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:04:20 ---> Running in 6cf1dbccf412 10:04:20 Removing intermediate container 6cf1dbccf412 10:04:20 ---> ea9c53b91743 10:04:20 Step 22/24 : LABEL arch=amd64 10:04:21 ---> Running in 43e02b87130c 10:04:21 Removing intermediate container 43e02b87130c 10:04:21 ---> 8a8cbd9af63f 10:04:21 Step 23/24 : LABEL git_sha=dc9c57eb5fcf9d56daa39b489e9deb9211134340 10:04:21 ---> Running in 5023612ba9bf 10:04:21 Removing intermediate container 5023612ba9bf 10:04:21 ---> fc265604e3cf 10:04:21 Step 24/24 : LABEL version=2.3.0-dev.17 10:04:21 ---> Running in 7b025a420c97 10:04:21 Removing intermediate container 7b025a420c97 10:04:21 ---> 66590c2786d9 10:04:21 [Warning] One or more build-args [ARCH] were not consumed 10:04:21 Successfully built 66590c2786d9 10:04:21 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:04:21 provisioning config files... 10:04:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8628312819744990674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:21 ---> docker-login.sh 10:04:21 nexus3.edgexfoundry.org:10001 10:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:21 Configure a credential helper to remove this warning. See 10:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:21 10:04:21 Login Succeeded 10:04:21 nexus3.edgexfoundry.org:10002 10:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:21 Configure a credential helper to remove this warning. See 10:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:21 10:04:21 Login Succeeded 10:04:21 nexus3.edgexfoundry.org:10003 10:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:22 Configure a credential helper to remove this warning. See 10:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:22 10:04:22 Login Succeeded 10:04:22 nexus3.edgexfoundry.org:10004 10:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:22 Configure a credential helper to remove this warning. See 10:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:22 10:04:22 Login Succeeded 10:04:22 docker.io 10:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:22 Configure a credential helper to remove this warning. See 10:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:22 10:04:22 Login Succeeded 10:04:22 ---> docker-login.sh ends [Pipeline] } 10:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:04:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:04:22 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 10:04:22 dc9c57eb5fcf9d56daa39b489e9deb9211134340 10:04:22 latest 10:04:22 2.3.0-dev.17 10:04:22 dc9c57eb5fcf9d56daa39b489e9deb9211134340-2.3.0-dev.17 10:04:22 main 10:04:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:dc9c57eb5fcf9d56daa39b489e9deb9211134340 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:dc9c57eb5fcf9d56daa39b489e9deb9211134340 10:04:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:04:23 67a23398c3db: Preparing 10:04:23 28b44e169efb: Preparing 10:04:23 509ff6f9c7ca: Preparing 10:04:23 7b65fcd6d11c: Preparing 10:04:23 6ea4d270d973: Preparing 10:04:23 63493a9ab2d4: Preparing 10:04:23 63493a9ab2d4: Waiting 10:04:23 28b44e169efb: Pushed 10:04:23 67a23398c3db: Pushed 10:04:23 6ea4d270d973: Pushed 10:04:23 63493a9ab2d4: Layer already exists 10:04:23 7b65fcd6d11c: Pushed 10:04:26 509ff6f9c7ca: Pushed 10:04:26 dc9c57eb5fcf9d56daa39b489e9deb9211134340: digest: sha256:8a050cf8ac97165bd013f9a489e25b942e2f78217dbeac7f3b0f69de86cc8a42 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 10:04:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:04:26 67a23398c3db: Preparing 10:04:26 28b44e169efb: Preparing 10:04:26 509ff6f9c7ca: Preparing 10:04:26 7b65fcd6d11c: Preparing 10:04:26 6ea4d270d973: Preparing 10:04:26 63493a9ab2d4: Preparing 10:04:26 63493a9ab2d4: Waiting 10:04:26 7b65fcd6d11c: Layer already exists 10:04:26 509ff6f9c7ca: Layer already exists 10:04:26 28b44e169efb: Layer already exists 10:04:26 67a23398c3db: Layer already exists 10:04:26 6ea4d270d973: Layer already exists 10:04:26 63493a9ab2d4: Layer already exists 10:04:26 latest: digest: sha256:8a050cf8ac97165bd013f9a489e25b942e2f78217dbeac7f3b0f69de86cc8a42 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.17 10:04:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:04:27 67a23398c3db: Preparing 10:04:27 28b44e169efb: Preparing 10:04:27 509ff6f9c7ca: Preparing 10:04:27 7b65fcd6d11c: Preparing 10:04:27 6ea4d270d973: Preparing 10:04:27 63493a9ab2d4: Preparing 10:04:27 63493a9ab2d4: Waiting 10:04:27 67a23398c3db: Layer already exists 10:04:27 7b65fcd6d11c: Layer already exists 10:04:27 509ff6f9c7ca: Layer already exists 10:04:27 6ea4d270d973: Layer already exists 10:04:27 28b44e169efb: Layer already exists 10:04:27 63493a9ab2d4: Layer already exists 10:04:27 2.3.0-dev.17: digest: sha256:8a050cf8ac97165bd013f9a489e25b942e2f78217dbeac7f3b0f69de86cc8a42 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:27 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:dc9c57eb5fcf9d56daa39b489e9deb9211134340-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:dc9c57eb5fcf9d56daa39b489e9deb9211134340-2.3.0-dev.17 10:04:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:04:27 67a23398c3db: Preparing 10:04:27 28b44e169efb: Preparing 10:04:27 509ff6f9c7ca: Preparing 10:04:27 7b65fcd6d11c: Preparing 10:04:27 6ea4d270d973: Preparing 10:04:27 63493a9ab2d4: Preparing 10:04:27 63493a9ab2d4: Waiting 10:04:27 7b65fcd6d11c: Layer already exists 10:04:27 67a23398c3db: Layer already exists 10:04:27 6ea4d270d973: Layer already exists 10:04:27 28b44e169efb: Layer already exists 10:04:27 509ff6f9c7ca: Layer already exists 10:04:27 63493a9ab2d4: Layer already exists 10:04:27 dc9c57eb5fcf9d56daa39b489e9deb9211134340-2.3.0-dev.17: digest: sha256:8a050cf8ac97165bd013f9a489e25b942e2f78217dbeac7f3b0f69de86cc8a42 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 10:04:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:04:28 67a23398c3db: Preparing 10:04:28 28b44e169efb: Preparing 10:04:28 509ff6f9c7ca: Preparing 10:04:28 7b65fcd6d11c: Preparing 10:04:28 6ea4d270d973: Preparing 10:04:28 63493a9ab2d4: Preparing 10:04:28 63493a9ab2d4: Waiting 10:04:28 28b44e169efb: Layer already exists 10:04:28 6ea4d270d973: Layer already exists 10:04:28 509ff6f9c7ca: Layer already exists 10:04:28 67a23398c3db: Layer already exists 10:04:28 7b65fcd6d11c: Layer already exists 10:04:28 63493a9ab2d4: Layer already exists 10:04:28 main: digest: sha256:8a050cf8ac97165bd013f9a489e25b942e2f78217dbeac7f3b0f69de86cc8a42 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:04:28 ===================================================== [Pipeline] echo 10:04:28 taggedImages: 10:04:28 - nexus3.edgexfoundry.org:10004/device-modbus:dc9c57eb5fcf9d56daa39b489e9deb9211134340 10:04:28 - nexus3.edgexfoundry.org:10004/device-modbus:latest 10:04:28 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.17 10:04:28 - nexus3.edgexfoundry.org:10004/device-modbus:dc9c57eb5fcf9d56daa39b489e9deb9211134340-2.3.0-dev.17 10:04:28 - 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 10:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:04:28 10:04:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:04:29 latest: Pulling from edgex-lftools-log-publisher 10:04:29 5eb5b503b376: Pulling fs layer 10:04:29 5c69ac0246d0: Pulling fs layer 10:04:29 ec43610c2a17: Pulling fs layer 10:04:29 3a2ae6a8a46f: Pulling fs layer 10:04:29 33b1e0a273af: Pulling fs layer 10:04:29 5d3b04190fa2: Pulling fs layer 10:04:29 2f39f015ded8: Pulling fs layer 10:04:29 33b1e0a273af: Waiting 10:04:29 5d3b04190fa2: Waiting 10:04:29 2f39f015ded8: Waiting 10:04:29 3a2ae6a8a46f: Waiting 10:04:29 5c69ac0246d0: Verifying Checksum 10:04:29 5c69ac0246d0: Download complete 10:04:29 3a2ae6a8a46f: Verifying Checksum 10:04:29 3a2ae6a8a46f: Download complete 10:04:29 33b1e0a273af: Verifying Checksum 10:04:29 33b1e0a273af: Download complete 10:04:29 ec43610c2a17: Verifying Checksum 10:04:29 ec43610c2a17: Download complete 10:04:29 5d3b04190fa2: Verifying Checksum 10:04:29 5d3b04190fa2: Download complete 10:04:29 5eb5b503b376: Verifying Checksum 10:04:29 5eb5b503b376: Download complete 10:04:30 2f39f015ded8: Download complete 10:04:30 5eb5b503b376: Pull complete 10:04:30 5c69ac0246d0: Pull complete 10:04:31 ec43610c2a17: Pull complete 10:04:31 3a2ae6a8a46f: Pull complete 10:04:31 33b1e0a273af: Pull complete 10:04:31 5d3b04190fa2: Pull complete 10:04:35 2f39f015ded8: Pull complete 10:04:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:04:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:04:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:35 prd-ubuntu20.04-docker-8c-8g-7499 does not seem to be running inside a container 10:04:36 $ 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 10:04:38 $ docker top 2e11a3e0e119dc15f771270706d9918d31b03802c15adaf41d72d7d5a40ecb21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:39 ---> job-cost.sh 10:04:39 lf-activate-venv: SKIPPING 10:04:39 INFO: No Stack... 10:04:39 INFO: Retrieving Pricing Info for: v3-standard-8 10:04:40 INFO: Archiving Costs [Pipeline] sh 10:04:40 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 10:04:40 + cut -d, -f6 [Pipeline] lock 10:04:40 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-56-stack-cost] 10:04:40 Resource [jenkins-edgexfoundry-device-modbus-go-main-56-stack-cost] did not exist. Created. 10:04:40 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:04:40 + echo total: 0.2199999988079071 [Pipeline] stash 10:04:40 Stashed 1 file(s) [Pipeline] } 10:04:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 10:04:40 $ docker stop --time=1 2e11a3e0e119dc15f771270706d9918d31b03802c15adaf41d72d7d5a40ecb21 10:04:41 $ docker rm -f 2e11a3e0e119dc15f771270706d9918d31b03802c15adaf41d72d7d5a40ecb21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:05:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7504 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 10:05:26 Running in /w/workspace/device-modbus-go/56 [Pipeline] { [Pipeline] checkout 10:05:26 Selected Git installation does not exist. Using Default 10:05:26 The recommended git tool is: NONE 10:05:32 using credential edgex-jenkins-ssh 10:05:32 Cloning the remote Git repository 10:05:32 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:05:32 > git init /w/workspace/device-modbus-go/56 # timeout=10 10:05:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:05:33 > git --version # timeout=10 10:05:33 > git --version # 'git version 2.25.1' 10:05:33 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:33 Verifying host key using known hosts file 10:05:33 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. 10:05:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:05:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:35 Avoid second fetch 10:05:35 Checking out Revision dc9c57eb5fcf9d56daa39b489e9deb9211134340 (main) 10:05:36 Commit message: "Merge pull request #381 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:35 > git config core.sparsecheckout # timeout=10 10:05:35 > git checkout -f dc9c57eb5fcf9d56daa39b489e9deb9211134340 # timeout=10 10:05:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:05:37 % Total % Received % Xferd Average Speed Time Time Time Current 10:05:37 Dload Upload Total Spent Left Speed 10:05:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 10:05:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:05:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:05:38 + sudo tee /etc/docker/daemon.new 10:05:38 { 10:05:38 "registry-mirrors": [ 10:05:38 "https://nexus3.edgexfoundry.org:10001" 10:05:38 ], 10:05:38 "bip": "10.250.0.254/24", 10:05:38 "hosts": [ 10:05:38 "tcp://0.0.0.0:5555", 10:05:38 "unix:///var/run/docker.sock" 10:05:38 ], 10:05:38 "mtu": 1458, 10:05:38 "selinux-enabled": true, 10:05:38 "seccomp-profile": "/etc/docker/seccomp.json" 10:05:38 } [Pipeline] sh 10:05:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:05:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:57 provisioning config files... 10:05:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/56@tmp/config1572442892992453854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:57 ---> docker-login.sh 10:05:57 nexus3.edgexfoundry.org:10001 10:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:58 Configure a credential helper to remove this warning. See 10:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:58 10:05:58 Login Succeeded 10:05:58 nexus3.edgexfoundry.org:10002 10:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:58 Configure a credential helper to remove this warning. See 10:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:58 10:05:58 Login Succeeded 10:05:58 nexus3.edgexfoundry.org:10003 10:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:59 Configure a credential helper to remove this warning. See 10:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:59 10:05:59 Login Succeeded 10:05:59 nexus3.edgexfoundry.org:10004 10:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:59 Configure a credential helper to remove this warning. See 10:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:59 10:05:59 Login Succeeded 10:05:59 docker.io 10:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:00 Configure a credential helper to remove this warning. See 10:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:00 10:06:00 Login Succeeded 10:06:00 ---> docker-login.sh ends [Pipeline] } 10:06:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:06:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:06:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:06:00 ========================================================= 10:06:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:06:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:00 + 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 . 10:06:01 Sending build context to Docker daemon 3.203MB 10:06:01 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 10:06:01 Step 2/11 : FROM ${BASE} AS builder 10:06:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:06:01 b3c136eddcbf: Pulling fs layer 10:06:01 c0a3192eca97: Pulling fs layer 10:06:01 a050256f5b6f: Pulling fs layer 10:06:01 656be50a0ddc: Pulling fs layer 10:06:01 2bbca73fdf42: Pulling fs layer 10:06:01 f607e4fc86c3: Pulling fs layer 10:06:01 4d572c569a2c: Pulling fs layer 10:06:01 fcf976331f73: Pulling fs layer 10:06:01 2bbca73fdf42: Waiting 10:06:01 f607e4fc86c3: Waiting 10:06:01 4d572c569a2c: Waiting 10:06:01 fcf976331f73: Waiting 10:06:01 656be50a0ddc: Waiting 10:06:01 a050256f5b6f: Verifying Checksum 10:06:01 a050256f5b6f: Download complete 10:06:01 c0a3192eca97: Verifying Checksum 10:06:01 c0a3192eca97: Download complete 10:06:01 2bbca73fdf42: Verifying Checksum 10:06:01 2bbca73fdf42: Download complete 10:06:01 f607e4fc86c3: Verifying Checksum 10:06:01 f607e4fc86c3: Download complete 10:06:01 b3c136eddcbf: Verifying Checksum 10:06:01 b3c136eddcbf: Download complete 10:06:02 b3c136eddcbf: Pull complete 10:06:02 fcf976331f73: Verifying Checksum 10:06:02 fcf976331f73: Download complete 10:06:03 c0a3192eca97: Pull complete 10:06:03 a050256f5b6f: Pull complete 10:06:03 4d572c569a2c: Verifying Checksum 10:06:03 4d572c569a2c: Download complete 10:06:04 656be50a0ddc: Verifying Checksum 10:06:04 656be50a0ddc: Download complete 10:06:17 656be50a0ddc: Pull complete 10:06:17 2bbca73fdf42: Pull complete 10:06:17 f607e4fc86c3: Pull complete 10:06:24 4d572c569a2c: Pull complete 10:06:26 fcf976331f73: Pull complete 10:06:26 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 10:06:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:06:26 ---> 3970a7415f9e 10:06:26 Step 3/11 : ARG ADD_BUILD_TAGS="" 10:06:28 ---> Running in 7de2b0745a2a 10:06:28 Removing intermediate container 7de2b0745a2a 10:06:28 ---> c56bc05a1370 10:06:28 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:06:28 ---> Running in 649401a45bc7 10:06:29 Removing intermediate container 649401a45bc7 10:06:29 ---> 39372ee6a5cc 10:06:29 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:06:29 ---> Running in 59aa6e99bbf3 10:06:31 Removing intermediate container 59aa6e99bbf3 10:06:31 ---> 0f4c0739f94a 10:06:31 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:06:31 ---> Running in d232eb45c1aa 10:06:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:06:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:06:34 (1/8) Installing openssh-keygen (9.0_p1-r2) 10:06:34 (2/8) Installing libedit (20210910.3.1-r0) 10:06:34 (3/8) Installing openssh-client-common (9.0_p1-r2) 10:06:34 (4/8) Installing openssh-client-default (9.0_p1-r2) 10:06:34 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 10:06:34 (6/8) Installing openssh-server-common (9.0_p1-r2) 10:06:35 (7/8) Installing openssh-server (9.0_p1-r2) 10:06:35 (8/8) Installing openssh (9.0_p1-r2) 10:06:35 Executing busybox-1.35.0-r13.trigger 10:06:35 OK: 228 MiB in 59 packages 10:06:36 Removing intermediate container d232eb45c1aa 10:06:36 ---> b403010a536d 10:06:36 Step 7/11 : WORKDIR /device-modbus-go 10:06:36 ---> Running in 3bf72e5439c2 10:06:36 Removing intermediate container 3bf72e5439c2 10:06:36 ---> 6a6676951a19 10:06:36 Step 8/11 : COPY go.mod vendor* ./ 10:06:37 ---> c46ee5265e3f 10:06:37 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:06:37 ---> Running in 82b6092590fa 10:07:33 Removing intermediate container 82b6092590fa 10:07:33 ---> 8151676224e1 10:07:33 Step 10/11 : COPY . . 10:07:33 ---> 29172855dbe9 10:07:33 Step 11/11 : RUN ${MAKE} 10:07:33 ---> Running in 390b4d8ef8d5 10:07:33 noop 10:07:33 Removing intermediate container 390b4d8ef8d5 10:07:33 ---> c66612ed88f3 10:07:33 Successfully built c66612ed88f3 10:07:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:34 + docker inspect -f . ci-base-image-arm64 10:07:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:34 prd-ubuntu20.04-docker-arm64-4c-16g-7504 does not seem to be running inside a container 10:07:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@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 10:07:35 $ docker top 7348bb1cefc46130bf9fd2df44ad38f3dc7eafb6fff9fe6f3ba43faf29198aa6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:07:36 + go version 10:07:36 go version go1.18.3 linux/arm64 [Pipeline] } 10:07:36 $ docker stop --time=1 7348bb1cefc46130bf9fd2df44ad38f3dc7eafb6fff9fe6f3ba43faf29198aa6 10:07:38 $ docker rm -f 7348bb1cefc46130bf9fd2df44ad38f3dc7eafb6fff9fe6f3ba43faf29198aa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:39 + docker inspect -f . ci-base-image-arm64 10:07:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:39 prd-ubuntu20.04-docker-arm64-4c-16g-7504 does not seem to be running inside a container 10:07:39 $ 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/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@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 10:07:41 $ docker top 936a72ffb5648f3ec9ea7b65fbaee4cb0724d04f7ab6cf2d148005b9e0f20589 -eo pid,comm [Pipeline] { [Pipeline] sh 10:07:42 + git config --global --add safe.directory /w/workspace/device-modbus-go/56 [Pipeline] fileExists [Pipeline] sh 10:07:43 + make test 10:07:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:07:44 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:09:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:09:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.7% of statements 10:09:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:09:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:09:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:09:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:09:48 ./bin/test-attribution-txt.sh [Pipeline] echo 10:09:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:09:48 $ docker stop --time=1 936a72ffb5648f3ec9ea7b65fbaee4cb0724d04f7ab6cf2d148005b9e0f20589 10:09:50 $ docker rm -f 936a72ffb5648f3ec9ea7b65fbaee4cb0724d04f7ab6cf2d148005b9e0f20589 [Pipeline] // withDockerContainer [Pipeline] sh 10:09:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:09:51 Warning: overwriting stash ‘coverage-report’ 10:09:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:09:52 + ls -al . 10:09:52 total 184 10:09:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 10:07 . 10:09:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:05 .. 10:09:52 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 10:05 .dockerignore 10:09:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:05 .git 10:09:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:05 .github 10:09:52 -rw-rw-r-- 1 jenkins jenkins 331 Oct 10 10:05 .gitignore 10:09:52 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 10:05 .golangci.yml 10:09:52 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 10 10:05 Attribution.txt 10:09:52 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 10 10:05 CHANGELOG.md 10:09:52 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 10 10:05 Dockerfile 10:09:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 10:05 GOVERNANCE.md 10:09:52 -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 10:05 Jenkinsfile 10:09:52 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 10:05 LICENSE 10:09:52 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 10 10:05 Makefile 10:09:52 -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 10:05 OWNERS.md 10:09:52 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 10 10:05 README.md 10:09:52 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 10:02 VERSION 10:09:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:05 bin 10:09:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:05 cmd 10:09:52 -rw-r--r-- 1 jenkins jenkins 23241 Oct 10 10:09 coverage.out 10:09:52 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 10 10:05 go.mod 10:09:52 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 10 10:05 go.sum 10:09:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:05 internal 10:09:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:05 simulator 10:09:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:05 snap 10:09:52 -rw-rw-r-- 1 jenkins jenkins 229 Oct 10 10:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:52 + 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=dc9c57eb5fcf9d56daa39b489e9deb9211134340 --label arch=arm64 --label version=2.3.0-dev.17 . 10:09:53 Sending build context to Docker daemon 3.227MB 10:09:53 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 10:09:53 Step 2/24 : FROM ${BASE} AS builder 10:09:53 ---> c66612ed88f3 10:09:53 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:09:53 ---> Running in ade70833ec8d 10:09:53 Removing intermediate container ade70833ec8d 10:09:53 ---> 68f289da8058 10:09:53 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:09:53 ---> Running in 4f214c804a22 10:09:54 Removing intermediate container 4f214c804a22 10:09:54 ---> a2c9419dcb7d 10:09:54 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:09:54 ---> Running in 793d0f3b22e1 10:09:56 Removing intermediate container 793d0f3b22e1 10:09:56 ---> 120fc43ee284 10:09:56 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:09:56 ---> Running in ef1f9693e46e 10:09:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:09:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:09:59 OK: 228 MiB in 59 packages 10:10:01 Removing intermediate container ef1f9693e46e 10:10:01 ---> 3e284941c117 10:10:01 Step 7/24 : WORKDIR /device-modbus-go 10:10:01 ---> Running in afb8333b624f 10:10:01 Removing intermediate container afb8333b624f 10:10:01 ---> cac9381b62a3 10:10:01 Step 8/24 : COPY go.mod vendor* ./ 10:10:02 ---> d270c30cf9f6 10:10:02 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:02 ---> Running in d10965effef0 10:10:05 Removing intermediate container d10965effef0 10:10:05 ---> a491f3b4e819 10:10:05 Step 10/24 : COPY . . 10:10:05 ---> e28ae7b60682 10:10:05 Step 11/24 : RUN ${MAKE} 10:10:05 ---> Running in 53a44f23e2c6 10:10:06 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 10:12:43 Removing intermediate container 53a44f23e2c6 10:12:43 ---> 5d01deddd4be 10:12:43 Step 12/24 : FROM alpine:3.14 10:12:43 3.14: Pulling from library/alpine 10:12:43 90cda3b7c325: Pulling fs layer 10:12:44 90cda3b7c325: Verifying Checksum 10:12:44 90cda3b7c325: Download complete 10:12:44 90cda3b7c325: Pull complete 10:12:44 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 10:12:44 Status: Downloaded newer image for alpine:3.14 10:12:44 ---> 376ba31ae3da 10:12:44 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:12:44 ---> Running in f5270920a57d 10:12:45 Removing intermediate container f5270920a57d 10:12:45 ---> c472b03b3d67 10:12:45 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:45 ---> Running in 517d740ce72c 10:12:46 Removing intermediate container 517d740ce72c 10:12:46 ---> dd03656f593e 10:12:46 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 10:12:46 ---> Running in 9509e4ea5d1d 10:12:47 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:12:48 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:12:49 (1/6) Installing dumb-init (1.2.5-r1) 10:12:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:12:49 (3/6) Installing libsodium (1.0.18-r0) 10:12:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:12:49 (5/6) Installing libzmq (4.3.4-r0) 10:12:50 (6/6) Installing zeromq (4.3.4-r0) 10:12:50 Executing busybox-1.33.1-r8.trigger 10:12:50 OK: 8 MiB in 20 packages 10:12:51 Removing intermediate container 9509e4ea5d1d 10:12:51 ---> aa4fb82ea99f 10:12:51 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 10:12:52 ---> 7f72b2266f2a 10:12:52 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 10:12:53 ---> 97ea3e3ea830 10:12:53 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:12:53 ---> d2bac6f7dfd7 10:12:53 Step 19/24 : EXPOSE 59901 10:12:53 ---> Running in f9bab7fe269f 10:12:53 Removing intermediate container f9bab7fe269f 10:12:53 ---> 98c8d24f85e9 10:12:53 Step 20/24 : ENTRYPOINT ["/device-modbus"] 10:12:53 ---> Running in 6d614bbc17e5 10:12:54 Removing intermediate container 6d614bbc17e5 10:12:54 ---> fb558f858052 10:12:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:12:54 ---> Running in 054b7a4ace47 10:12:54 Removing intermediate container 054b7a4ace47 10:12:54 ---> dc3ac7e7076b 10:12:54 Step 22/24 : LABEL arch=arm64 10:12:54 ---> Running in ddbf968341f8 10:12:55 Removing intermediate container ddbf968341f8 10:12:55 ---> 73b5d95f81ce 10:12:55 Step 23/24 : LABEL git_sha=dc9c57eb5fcf9d56daa39b489e9deb9211134340 10:12:55 ---> Running in 2b6570cc8958 10:12:55 Removing intermediate container 2b6570cc8958 10:12:55 ---> 9d9887b54e3a 10:12:55 Step 24/24 : LABEL version=2.3.0-dev.17 10:12:55 ---> Running in 2733d76aae69 10:12:55 Removing intermediate container 2733d76aae69 10:12:55 ---> 434a56903f45 10:12:55 [Warning] One or more build-args [ARCH] were not consumed 10:12:55 Successfully built 434a56903f45 10:12:55 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 10:12:55 provisioning config files... 10:12:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/56@tmp/config9269513720619548170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:56 ---> docker-login.sh 10:12:56 nexus3.edgexfoundry.org:10001 10:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:56 Configure a credential helper to remove this warning. See 10:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:56 10:12:56 Login Succeeded 10:12:56 nexus3.edgexfoundry.org:10002 10:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:56 Configure a credential helper to remove this warning. See 10:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:56 10:12:56 Login Succeeded 10:12:56 nexus3.edgexfoundry.org:10003 10:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:57 Configure a credential helper to remove this warning. See 10:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:57 10:12:57 Login Succeeded 10:12:57 nexus3.edgexfoundry.org:10004 10:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:57 Configure a credential helper to remove this warning. See 10:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:57 10:12:57 Login Succeeded 10:12:57 docker.io 10:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:57 Configure a credential helper to remove this warning. See 10:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:57 10:12:57 Login Succeeded 10:12:57 ---> docker-login.sh ends [Pipeline] } 10:12:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:12:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:12:57 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 10:12:57 dc9c57eb5fcf9d56daa39b489e9deb9211134340 10:12:57 latest 10:12:57 2.3.0-dev.17 10:12:57 dc9c57eb5fcf9d56daa39b489e9deb9211134340-2.3.0-dev.17 10:12:57 main 10:12:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:58 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:dc9c57eb5fcf9d56daa39b489e9deb9211134340 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:dc9c57eb5fcf9d56daa39b489e9deb9211134340 10:12:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:12:58 4d6e304856d8: Preparing 10:12:58 1a0260633198: Preparing 10:12:58 a5602f32fb7b: Preparing 10:12:58 b6f6b7130b27: Preparing 10:12:58 a4b958c25efd: Preparing 10:12:58 28c3ef001483: Preparing 10:12:58 28c3ef001483: Waiting 10:12:59 a4b958c25efd: Pushed 10:12:59 4d6e304856d8: Pushed 10:12:59 28c3ef001483: Layer already exists 10:12:59 1a0260633198: Pushed 10:12:59 b6f6b7130b27: Pushed 10:13:04 a5602f32fb7b: Pushed 10:13:04 dc9c57eb5fcf9d56daa39b489e9deb9211134340: digest: sha256:4be07b7327df420670c422122d95ed0699678a5b2b4bfbada9ff76ca87bedd81 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 10:13:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:13:05 4d6e304856d8: Preparing 10:13:05 1a0260633198: Preparing 10:13:05 a5602f32fb7b: Preparing 10:13:05 b6f6b7130b27: Preparing 10:13:05 a4b958c25efd: Preparing 10:13:05 28c3ef001483: Preparing 10:13:05 a5602f32fb7b: Layer already exists 10:13:05 4d6e304856d8: Layer already exists 10:13:05 b6f6b7130b27: Layer already exists 10:13:05 a4b958c25efd: Layer already exists 10:13:05 1a0260633198: Layer already exists 10:13:05 28c3ef001483: Layer already exists 10:13:05 latest: digest: sha256:4be07b7327df420670c422122d95ed0699678a5b2b4bfbada9ff76ca87bedd81 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:06 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.17 10:13:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:13:06 4d6e304856d8: Preparing 10:13:06 1a0260633198: Preparing 10:13:06 a5602f32fb7b: Preparing 10:13:06 b6f6b7130b27: Preparing 10:13:06 a4b958c25efd: Preparing 10:13:06 28c3ef001483: Preparing 10:13:06 28c3ef001483: Waiting 10:13:06 a4b958c25efd: Layer already exists 10:13:06 a5602f32fb7b: Layer already exists 10:13:06 4d6e304856d8: Layer already exists 10:13:06 1a0260633198: Layer already exists 10:13:06 b6f6b7130b27: Layer already exists 10:13:06 28c3ef001483: Layer already exists 10:13:06 2.3.0-dev.17: digest: sha256:4be07b7327df420670c422122d95ed0699678a5b2b4bfbada9ff76ca87bedd81 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:dc9c57eb5fcf9d56daa39b489e9deb9211134340-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:dc9c57eb5fcf9d56daa39b489e9deb9211134340-2.3.0-dev.17 10:13:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:13:07 4d6e304856d8: Preparing 10:13:07 1a0260633198: Preparing 10:13:07 a5602f32fb7b: Preparing 10:13:07 b6f6b7130b27: Preparing 10:13:07 a4b958c25efd: Preparing 10:13:07 28c3ef001483: Preparing 10:13:07 28c3ef001483: Waiting 10:13:07 4d6e304856d8: Layer already exists 10:13:07 1a0260633198: Layer already exists 10:13:07 b6f6b7130b27: Layer already exists 10:13:07 a4b958c25efd: Layer already exists 10:13:07 a5602f32fb7b: Layer already exists 10:13:07 28c3ef001483: Layer already exists 10:13:07 dc9c57eb5fcf9d56daa39b489e9deb9211134340-2.3.0-dev.17: digest: sha256:4be07b7327df420670c422122d95ed0699678a5b2b4bfbada9ff76ca87bedd81 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:08 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 10:13:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:13:08 4d6e304856d8: Preparing 10:13:08 1a0260633198: Preparing 10:13:08 a5602f32fb7b: Preparing 10:13:08 b6f6b7130b27: Preparing 10:13:08 a4b958c25efd: Preparing 10:13:08 28c3ef001483: Preparing 10:13:08 28c3ef001483: Waiting 10:13:08 a4b958c25efd: Layer already exists 10:13:08 a5602f32fb7b: Layer already exists 10:13:08 4d6e304856d8: Layer already exists 10:13:08 b6f6b7130b27: Layer already exists 10:13:08 1a0260633198: Layer already exists 10:13:08 28c3ef001483: Layer already exists 10:13:08 main: digest: sha256:4be07b7327df420670c422122d95ed0699678a5b2b4bfbada9ff76ca87bedd81 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:13:08 ===================================================== [Pipeline] echo 10:13:08 taggedImages: 10:13:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:dc9c57eb5fcf9d56daa39b489e9deb9211134340 10:13:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 10:13:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.17 10:13:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:dc9c57eb5fcf9d56daa39b489e9deb9211134340-2.3.0-dev.17 10:13:08 - 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 10:13:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:13:09 10:13:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:13:09 arm64: Pulling from edgex-lftools-log-publisher 10:13:09 8998bd30e6a1: Pulling fs layer 10:13:09 04944245beec: Pulling fs layer 10:13:09 699f458cf7ca: Pulling fs layer 10:13:09 765212b225bb: Pulling fs layer 10:13:09 f23df028b6ca: Pulling fs layer 10:13:09 d65c8cfc05b1: Pulling fs layer 10:13:09 2437ff75d9bd: Pulling fs layer 10:13:09 765212b225bb: Waiting 10:13:09 f23df028b6ca: Waiting 10:13:09 2437ff75d9bd: Waiting 10:13:09 d65c8cfc05b1: Waiting 10:13:09 04944245beec: Verifying Checksum 10:13:09 04944245beec: Download complete 10:13:09 765212b225bb: Verifying Checksum 10:13:09 765212b225bb: Download complete 10:13:09 f23df028b6ca: Verifying Checksum 10:13:09 f23df028b6ca: Download complete 10:13:09 d65c8cfc05b1: Verifying Checksum 10:13:09 d65c8cfc05b1: Download complete 10:13:09 699f458cf7ca: Verifying Checksum 10:13:09 699f458cf7ca: Download complete 10:13:10 8998bd30e6a1: Verifying Checksum 10:13:10 8998bd30e6a1: Download complete 10:13:12 2437ff75d9bd: Verifying Checksum 10:13:12 2437ff75d9bd: Download complete 10:13:14 8998bd30e6a1: Pull complete 10:13:15 04944245beec: Pull complete 10:13:16 699f458cf7ca: Pull complete 10:13:16 765212b225bb: Pull complete 10:13:17 f23df028b6ca: Pull complete 10:13:17 d65c8cfc05b1: Pull complete 10:13:32 2437ff75d9bd: Pull complete 10:13:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:13:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:32 prd-ubuntu20.04-docker-arm64-4c-16g-7504 does not seem to be running inside a container 10:13:32 $ 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/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@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 10:13:35 $ docker top 4667b2979d28cfa63b31354e7483c92da6650c93b6f4d3910ad35b4e874eabe6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:35 ---> job-cost.sh 10:13:36 lf-activate-venv: SKIPPING 10:13:36 INFO: No Stack... 10:13:36 INFO: Retrieving Pricing Info for: v3-standard-4 10:13:37 INFO: Archiving Costs [Pipeline] sh 10:13:37 + cat /w/workspace/device-modbus-go/56/archives/cost.csv 10:13:37 + cut -d, -f6 [Pipeline] lock 10:13:38 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-56-stack-cost] 10:13:38 Resource [jenkins-edgexfoundry-device-modbus-go-main-56-stack-cost] did not exist. Created. 10:13:38 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:38 /w/workspace/device-modbus-go/56@tmp/durable-0be591df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:13:39 + echo total: 0.10999999940395355 [Pipeline] stash 10:13:39 Warning: overwriting stash ‘stack-cost’ 10:13:39 Stashed 1 file(s) [Pipeline] } 10:13:39 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 10:13:39 $ docker stop --time=1 4667b2979d28cfa63b31354e7483c92da6650c93b6f4d3910ad35b4e874eabe6 10:13:40 $ docker rm -f 4667b2979d28cfa63b31354e7483c92da6650c93b6f4d3910ad35b4e874eabe6 [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 10:13:41 provisioning config files... 10:13:41 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4845531672001428348tmp [Pipeline] { [Pipeline] sh 10:13:41 + set +x 10:13:41 + curl -s https://codecov.io/bash 10:13:41 + bash -s -- 10:13:41 10:13:41 _____ _ 10:13:41 / ____| | | 10:13:41 | | ___ __| | ___ ___ _____ __ 10:13:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:13:41 | |___| (_) | (_| | __/ (_| (_) \ V / 10:13:41 \_____\___/ \__,_|\___|\___\___/ \_/ 10:13:41 Bash-1.0.6 10:13:41 10:13:41 10:13:41 ==> git version 2.25.1 found 10:13:41 ==> 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 10:13:41 Release-Date: 2020-01-08 10:13:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:13:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:13:41 ==> Jenkins CI detected. 10:13:41 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 10:13:41 project root: . 10:13:41 --> token set from env 10:13:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:13:41 ==> Running gcov in . (disable via -X gcov) 10:13:41 ==> Python coveragepy not found 10:13:41 ==> Searching for coverage reports in: 10:13:41 + . 10:13:41 -> Found 1 reports 10:13:41 ==> Detecting git/mercurial file structure 10:13:41 ==> Reading reports 10:13:41 + ./coverage.out bytes=23241 10:13:41 ==> Appending adjustments 10:13:41 https://docs.codecov.io/docs/fixing-reports 10:13:41 + Found adjustments 10:13:41 ==> Gzipping contents 10:13:41 4.0K /tmp/codecov.F4y2iy.gz 10:13:41 ==> Uploading reports 10:13:41 url: https://codecov.io 10:13:41 query: branch=main&commit=dc9c57eb5fcf9d56daa39b489e9deb9211134340&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:13:41 -> Pinging Codecov 10:13:41 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=dc9c57eb5fcf9d56daa39b489e9deb9211134340&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:13:42 -> Uploading to 10:13:42 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/55DBCA73C666E3227836607328DD7E49/dc9c57eb5fcf9d56daa39b489e9deb9211134340/5991ba54-31bb-4e03-9745-5639b5ce7132.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T101341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f197d7db7ea70a5c759495bf8ea5ebcdf0b88be36f17c6a3c4db5a7ebf6c6de5 10:13:42 % Total % Received % Xferd Average Speed Time Time Time Current 10:13:42 Dload Upload Total Spent Left Speed 10:13:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 17940 --:--:-- --:--:-- --:--:-- 17940 10:13:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/dc9c57eb5fcf9d56daa39b489e9deb9211134340 [Pipeline] } 10:13:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:13:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:13:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:13:42 10:13:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:13:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:13:43 df9b9388f04a: Pulling fs layer 10:13:43 52dc419b0ee2: Pulling fs layer 10:13:43 25bc292e5bac: Pulling fs layer 10:13:43 114826534d7a: Pulling fs layer 10:13:43 4657fd5d0bcf: Pulling fs layer 10:13:43 6ad1cebc031e: Pulling fs layer 10:13:43 8a3aa393b2d8: Pulling fs layer 10:13:43 8a3aa393b2d8: Waiting 10:13:43 4657fd5d0bcf: Waiting 10:13:43 114826534d7a: Waiting 10:13:43 6ad1cebc031e: Waiting 10:13:43 25bc292e5bac: Verifying Checksum 10:13:43 25bc292e5bac: Download complete 10:13:43 52dc419b0ee2: Download complete 10:13:43 4657fd5d0bcf: Verifying Checksum 10:13:43 4657fd5d0bcf: Download complete 10:13:43 df9b9388f04a: Download complete 10:13:43 df9b9388f04a: Pull complete 10:13:43 6ad1cebc031e: Verifying Checksum 10:13:43 6ad1cebc031e: Download complete 10:13:43 52dc419b0ee2: Pull complete 10:13:43 25bc292e5bac: Pull complete 10:13:44 114826534d7a: Verifying Checksum 10:13:44 114826534d7a: Download complete 10:13:44 8a3aa393b2d8: Verifying Checksum 10:13:44 8a3aa393b2d8: Download complete 10:13:47 114826534d7a: Pull complete 10:13:47 4657fd5d0bcf: Pull complete 10:13:47 6ad1cebc031e: Pull complete 10:13:51 8a3aa393b2d8: Pull complete 10:13:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:13:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:13:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:51 prd-ubuntu20.04-docker-8c-8g-7499 does not seem to be running inside a container 10:13:51 $ 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 10:13:54 $ docker top 1ee79bc725dd1f9d7bc7d914a32db4368a94db1a582925a2e30bce3051da6d0c -eo pid,comm [Pipeline] { [Pipeline] echo 10:13:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 10:13:54 + set -o pipefail 10:13:54 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 10:14:00 10:14:00 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 10:14:00 10:14:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/5a62cf44-6907-42e4-9646-8942c936f7c6 10:14:00 10:14:00 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 10:14:00 10:14:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:14:00 10:14:00 10:14:00 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:14:00 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:14:00 More details here: https://snyk.co/ue1NS [Pipeline] } 10:14:00 $ docker stop --time=1 1ee79bc725dd1f9d7bc7d914a32db4368a94db1a582925a2e30bce3051da6d0c 10:14:03 $ docker rm -f 1ee79bc725dd1f9d7bc7d914a32db4368a94db1a582925a2e30bce3051da6d0c [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 10:14:04 + git log --format=format:%s -1 dc9c57eb5fcf9d56daa39b489e9deb9211134340 [Pipeline] sh 10:14:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:14:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:04 prd-ubuntu20.04-docker-8c-8g-7499 does not seem to be running inside a container 10:14:04 $ 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 10:14:05 $ docker top 5c838d94809c5d294c76e82744792ed24c55462b03b05b4e98fd8f4ddda4aef0 -eo pid,comm 10:14:05 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). 10:14:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:14:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:14:05 [ssh-agent] Looking for ssh-agent implementation... 10:14:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:14:05 $ docker exec 5c838d94809c5d294c76e82744792ed24c55462b03b05b4e98fd8f4ddda4aef0 ssh-agent 10:14:05 SSH_AUTH_SOCK=/tmp/ssh-a6uviNkozK7c/agent.32 10:14:05 SSH_AGENT_PID=38 10:14:05 Running ssh-add (command line suppressed) 10:14:05 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2967179561866284513.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2967179561866284513.key) 10:14:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:14:05 + git semver tag 10:14:06 2022-10-10 10:14:06,139 [run_tag] DEBUG tag force:False 10:14:06 2022-10-10 10:14:06,139 [check_head_tag] DEBUG check head tag 10:14:06 2022-10-10 10:14:06,140 [execute] INFO git cat-file --batch-check 10:14:06 2022-10-10 10:14:06,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 10:14:06 2022-10-10 10:14:06,143 [execute] INFO git cat-file --batch 10:14:06 2022-10-10 10:14:06,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 10:14:06 2022-10-10 10:14:06,155 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:14:06 2022-10-10 10:14:06,155 [execute] INFO git tag -a v2.3.0-dev.17 -m v2.3.0-dev.17 10:14:06 2022-10-10 10:14:06,155 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.17', '-m', 'v2.3.0-dev.17'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 10:14:06 2022-10-10 10:14:06,161 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:14:06 2.3.0-dev.17 [Pipeline] } 10:14:06 $ docker exec --env ******** --env ******** 5c838d94809c5d294c76e82744792ed24c55462b03b05b4e98fd8f4ddda4aef0 ssh-agent -k 10:14:06 unset SSH_AUTH_SOCK; 10:14:06 unset SSH_AGENT_PID; 10:14:06 echo Agent pid 38 killed; 10:14:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:06 + git semver [Pipeline] } 10:14:06 $ docker stop --time=1 5c838d94809c5d294c76e82744792ed24c55462b03b05b4e98fd8f4ddda4aef0 10:14:08 $ docker rm -f 5c838d94809c5d294c76e82744792ed24c55462b03b05b4e98fd8f4ddda4aef0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:14:08 10:14:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:14:08 0.23.1-centos7: Pulling from edgex-lftools 10:14:08 ab5ef0e58194: Pulling fs layer 10:14:08 9712f1f96733: Pulling fs layer 10:14:08 63f879dbbcfc: Pulling fs layer 10:14:08 0d9ebad4ef96: Pulling fs layer 10:14:08 e9a5061849ea: Pulling fs layer 10:14:08 d747dcd14b5f: Pulling fs layer 10:14:08 2de7ff778b66: Pulling fs layer 10:14:08 d747dcd14b5f: Waiting 10:14:08 e9a5061849ea: Waiting 10:14:08 2de7ff778b66: Waiting 10:14:08 0d9ebad4ef96: Waiting 10:14:08 9712f1f96733: Download complete 10:14:09 63f879dbbcfc: Verifying Checksum 10:14:09 63f879dbbcfc: Download complete 10:14:09 e9a5061849ea: Verifying Checksum 10:14:09 e9a5061849ea: Download complete 10:14:09 d747dcd14b5f: Download complete 10:14:09 ab5ef0e58194: Verifying Checksum 10:14:09 ab5ef0e58194: Download complete 10:14:09 0d9ebad4ef96: Verifying Checksum 10:14:09 0d9ebad4ef96: Download complete 10:14:09 2de7ff778b66: Verifying Checksum 10:14:09 2de7ff778b66: Download complete 10:14:12 ab5ef0e58194: Pull complete 10:14:12 9712f1f96733: Pull complete 10:14:13 63f879dbbcfc: Pull complete 10:14:17 0d9ebad4ef96: Pull complete 10:14:17 e9a5061849ea: Pull complete 10:14:17 d747dcd14b5f: Pull complete 10:14:18 2de7ff778b66: Pull complete 10:14:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:14:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:14:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:18 prd-ubuntu20.04-docker-8c-8g-7499 does not seem to be running inside a container 10:14:18 $ 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 10:14:23 $ docker top 9631ffad77a8139c4c61ec3c4b6aa05330b734ed1f807512cde31a5521045dfa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:14:24 provisioning config files... 10:14:24 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1150827101386055218tmp 10:14:24 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2819927767183202365tmp 10:14:24 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6541721677081701310tmp [Pipeline] { [Pipeline] echo 10:14:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:14:24 ---> sigul-configuration.sh 10:14:24 gpg: directory `/root/.gnupg' created 10:14:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:14:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:14:24 gpg: keyring `/root/.gnupg/secring.gpg' created 10:14:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:14:24 gpg: CAST5 encrypted data 10:14:24 gpg: encrypted with 1 passphrase 10:14:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:14:24 + mkdir /home/jenkins 10:14:24 + mkdir /home/jenkins/sigul [Pipeline] sh 10:14:24 + 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 10:14:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:14:25 ---> sigul-install.sh 10:14:25 Sigul already installed; skipping installation. [Pipeline] sh 10:14:25 + git tag --list 10:14:25 0.7.1 10:14:25 v1.0.0 10:14:25 v1.1.0 10:14:25 v1.1.1 10:14:25 v1.2.2 10:14:25 v1.3.0 10:14:25 v1.3.1 10:14:25 v2.0.0 10:14:25 v2.1.0 10:14:25 v2.1.1 10:14:25 v2.1.1-dev.1 10:14:25 v2.1.1-dev.2 10:14:25 v2.1.1-dev.3 10:14:25 v2.2.0 10:14:25 v2.2.1-dev.1 10:14:25 v2.2.1-dev.2 10:14:25 v2.2.1-dev.3 10:14:25 v2.2.1-dev.4 10:14:25 v2.2.1-dev.5 10:14:25 v2.2.1-dev.6 10:14:25 v2.2.1-dev.7 10:14:25 v2.3.0-dev.10 10:14:25 v2.3.0-dev.11 10:14:25 v2.3.0-dev.12 10:14:25 v2.3.0-dev.13 10:14:25 v2.3.0-dev.14 10:14:25 v2.3.0-dev.15 10:14:25 v2.3.0-dev.16 10:14:25 v2.3.0-dev.17 10:14:25 v2.3.0-dev.7 10:14:25 v2.3.0-dev.8 10:14:25 v2.3.0-dev.9 [Pipeline] sh 10:14:25 + lftools sign git-tag v2.3.0-dev.17 10:14:26 Signing Git tag with Sigul... 10:14:26 Signing v2.3.0-dev.17 [Pipeline] echo 10:14:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:14:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:14:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:14:26 $ docker stop --time=1 9631ffad77a8139c4c61ec3c4b6aa05330b734ed1f807512cde31a5521045dfa 10:14:28 $ docker rm -f 9631ffad77a8139c4c61ec3c4b6aa05330b734ed1f807512cde31a5521045dfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:14:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:14:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:29 prd-ubuntu20.04-docker-8c-8g-7499 does not seem to be running inside a container 10:14:29 $ 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 10:14:29 $ docker top ebd3955997a636aaf12255b619cf5d53803a563882cd84135aeba81029302501 -eo pid,comm 10:14:29 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). 10:14:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:14:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:14:29 [ssh-agent] Looking for ssh-agent implementation... 10:14:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:14:29 $ docker exec ebd3955997a636aaf12255b619cf5d53803a563882cd84135aeba81029302501 ssh-agent 10:14:29 SSH_AUTH_SOCK=/tmp/ssh-XTRL6x9FBelc/agent.32 10:14:29 SSH_AGENT_PID=38 10:14:29 Running ssh-add (command line suppressed) 10:14:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18373744934137883239.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18373744934137883239.key) 10:14:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:14:30 + git semver bump pre 10:14:30 2022-10-10 10:14:30,314 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:14:30 2022-10-10 10:14:30,315 [bump_version] DEBUG bumping version:2.3.0-dev.17 on axis:pre with prefix:dev 10:14:30 2022-10-10 10:14:30,315 [bump_version] DEBUG bumped version:2.3.0-dev.18 10:14:30 2022-10-10 10:14:30,315 [write_version] DEBUG write version:2.3.0-dev.18 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 10:14:30 2022-10-10 10:14:30,315 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:14:30 2022-10-10 10:14:30,315 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:14:30 2022-10-10 10:14:30,317 [execute] INFO git cat-file --batch-check 10:14:30 2022-10-10 10:14:30,318 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:14:30 2022-10-10 10:14:30,323 [execute] INFO git cat-file --batch 10:14:30 2022-10-10 10:14:30,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:14:30 2022-10-10 10:14:30,329 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:14:30 2.3.0-dev.18 [Pipeline] } 10:14:30 $ docker exec --env ******** --env ******** ebd3955997a636aaf12255b619cf5d53803a563882cd84135aeba81029302501 ssh-agent -k 10:14:30 unset SSH_AUTH_SOCK; 10:14:30 unset SSH_AGENT_PID; 10:14:30 echo Agent pid 38 killed; 10:14:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:30 + git semver [Pipeline] } 10:14:31 $ docker stop --time=1 ebd3955997a636aaf12255b619cf5d53803a563882cd84135aeba81029302501 10:14:32 $ docker rm -f ebd3955997a636aaf12255b619cf5d53803a563882cd84135aeba81029302501 [Pipeline] // withDockerContainer [Pipeline] sh 10:14:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:14:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:33 prd-ubuntu20.04-docker-8c-8g-7499 does not seem to be running inside a container 10:14:33 $ 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 10:14:33 $ docker top 8c29b259f5981373c20aa8410b40af2c439651850954293c1177c8b9fa161af5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:14:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:14:33 [ssh-agent] Looking for ssh-agent implementation... 10:14:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:14:33 $ docker exec 8c29b259f5981373c20aa8410b40af2c439651850954293c1177c8b9fa161af5 ssh-agent 10:14:33 SSH_AUTH_SOCK=/tmp/ssh-B80vKUY2JXw7/agent.32 10:14:33 SSH_AGENT_PID=38 10:14:33 Running ssh-add (command line suppressed) 10:14:33 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4408852617949696041.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4408852617949696041.key) 10:14:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:14:34 + git semver push 10:14:34 2022-10-10 10:14:34,352 [run_push] DEBUG push 10:14:34 2022-10-10 10:14:34,353 [execute] INFO git cat-file --batch-check 10:14:34 2022-10-10 10:14:34,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:14:34 2022-10-10 10:14:34,357 [execute] INFO git rev-list 9b7732b5a66713c074b5ef5746f8f2f889cb80e8 -- 10:14:34 2022-10-10 10:14:34,357 [execute] DEBUG Popen(['git', 'rev-list', '9b7732b5a66713c074b5ef5746f8f2f889cb80e8', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:14:34 2022-10-10 10:14:34,365 [execute] INFO git fetch -v origin 10:14:34 2022-10-10 10:14:34,366 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:14:34 2022-10-10 10:14:34,909 [run_push] DEBUG no remote changes detected 10:14:34 2022-10-10 10:14:34,910 [execute] INFO git push origin semver 10:14:34 2022-10-10 10:14:34,911 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:14:35 2022-10-10 10:14:35,879 [run_push] DEBUG push all version tags 10:14:35 2022-10-10 10:14:35,880 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:14:35 2022-10-10 10:14:35,880 [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) 10:14:36 2022-10-10 10:14:36,613 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:14:36 2.3.0-dev.18 [Pipeline] } 10:14:36 $ docker exec --env ******** --env ******** 8c29b259f5981373c20aa8410b40af2c439651850954293c1177c8b9fa161af5 ssh-agent -k 10:14:36 unset SSH_AUTH_SOCK; 10:14:36 unset SSH_AGENT_PID; 10:14:36 echo Agent pid 38 killed; 10:14:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:37 + git semver [Pipeline] } 10:14:37 $ docker stop --time=1 8c29b259f5981373c20aa8410b40af2c439651850954293c1177c8b9fa161af5 10:14:38 $ docker rm -f 8c29b259f5981373c20aa8410b40af2c439651850954293c1177c8b9fa161af5 [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 10:14:39 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 10:14:39 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 10:14:39 total 16 10:14:39 drwxr-xr-x 3 root root 4096 Oct 10 10:04 . 10:14:39 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 10:14 .. 10:14:39 drwxr-xr-x 2 root root 4096 Oct 10 10:04 cost 10:14:39 -rw-r--r-- 1 root root 87 Oct 10 10:04 cost.csv 10:14:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 10:14:39 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 10:14:39 total 16 10:14:39 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 10:04 . 10:14:39 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 10:14 .. 10:14:39 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 10:04 cost 10:14:39 -rw-r--r-- 1 jenkins jenkins 87 Oct 10 10:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:14:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:14:40 ---> package-listing.sh 10:14:40 ++ facter osfamily 10:14:40 ++ tr '[:upper:]' '[:lower:]' 10:14:40 + OS_FAMILY=debian 10:14:40 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 10:14:40 + START_PACKAGES=/tmp/packages_start.txt 10:14:40 + END_PACKAGES=/tmp/packages_end.txt 10:14:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:14:40 + PACKAGES=/tmp/packages_start.txt 10:14:40 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 10:14:40 + PACKAGES=/tmp/packages_end.txt 10:14:40 + case "${OS_FAMILY}" in 10:14:40 + dpkg -l 10:14:40 + grep '^ii' 10:14:40 + '[' -f /tmp/packages_start.txt ']' 10:14:40 + '[' -f /tmp/packages_end.txt ']' 10:14:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:14:40 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 10:14:40 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 10:14:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 10:14:40 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 10:14:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:14:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:41 prd-ubuntu20.04-docker-8c-8g-7499 does not seem to be running inside a container 10:14:41 $ 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 10:14:41 $ docker top 1d6cdadebb27d2164a038ff4fbf26002b591cece2b0eadbe08541e1a30a5b9fe -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:42 + touch /tmp/pre-build-complete [Pipeline] sh 10:14:42 + mkdir -p /var/log/sysstat [Pipeline] sh 10:14:42 + ls /var/log/sa-host 10:14:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:14:42 provisioning config files... 10:14:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2344189060553292163tmp [Pipeline] { [Pipeline] echo 10:14:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:14:43 ---> create-netrc.sh [Pipeline] } 10:14:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:14:43 ---> python-tools-install.sh [Pipeline] echo 10:14:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:14:44 ---> sudo-logs.sh 10:14:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:14:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:14:44 ---> job-cost.sh 10:14:44 lf-activate-venv: SKIPPING 10:14:44 DEBUG: total: 0.2199999988079071 10:14:44 INFO: Retrieving Stack Cost... 10:14:44 INFO: Retrieving Pricing Info for: v3-standard-8 10:14:45 INFO: Archiving Costs [Pipeline] echo 10:14:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:14:45 ---> logs-deploy.sh 10:14:45 lf-activate-venv: SKIPPING 10:14:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/56 10:14:45 INFO: archiving workspace using pattern(s): 10:14:46 Archives upload complete. 10:14:46 INFO: archiving logs to Nexus