Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d8591ecd48deb848f04d859b76795416a9cfa4fb 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-ssh11770454161987980291.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16776601436474067874.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8227269832397396402.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16524936252563116070.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-ssh17423642332453914059.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-centos7-blackbox-4c-2g-117564’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118090’ is offline Running on prd-ubuntu20.04-docker-8c-8g-118091 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 d8591ecd48deb848f04d859b76795416a9cfa4fb (main) Commit message: "Merge pull request #388 from lenny-intel/levski-change-log" > 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 d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 > git rev-list --no-walk aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:38:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:38:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:38:50 ========================================================= 09:38:50 EdgeX Global Pipelines Version Info 09:38:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:38:50 ------------------- 09:38:50 stable info: 09:38:50 ------------------- 09:38:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:38:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:38:50 Message: update stable to v1.0.244 09:38:51 ------------------- 09:38:51 experimental info: 09:38:51 ------------------- 09:38:51 Commited By: **** collab-it+edgex@linuxfoundation.org 09:38:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:38:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8591ec [Pipeline] echo 09:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:38:52 provisioning config files... 09:38:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1046541557935616269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:38:52 ---> docker-login.sh 09:38:52 nexus3.edgexfoundry.org:10001 09:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:52 Configure a credential helper to remove this warning. See 09:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:52 09:38:52 Login Succeeded 09:38:52 nexus3.edgexfoundry.org:10002 09:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:52 Configure a credential helper to remove this warning. See 09:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:52 09:38:52 Login Succeeded 09:38:52 nexus3.edgexfoundry.org:10003 09:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:52 Configure a credential helper to remove this warning. See 09:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:52 09:38:52 Login Succeeded 09:38:52 nexus3.edgexfoundry.org:10004 09:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:52 Configure a credential helper to remove this warning. See 09:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:52 09:38:52 Login Succeeded 09:38:53 docker.io 09:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:53 Configure a credential helper to remove this warning. See 09:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:53 09:38:53 Login Succeeded 09:38:53 ---> docker-login.sh ends [Pipeline] } 09:38:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:38:53 + git rev-list -1 --merges d8591ecd48deb848f04d859b76795416a9cfa4fb~1..d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] echo 09:38:53 -----------> git rev-list -1 --merges d8591ecd48deb848f04d859b76795416a9cfa4fb~1..d8591ecd48deb848f04d859b76795416a9cfa4fb d8591ecd48deb848f04d859b76795416a9cfa4fb 09:38:53 d8591ecd48deb848f04d859b76795416a9cfa4fb [false] [Pipeline] sh 09:38:54 + git log --format=format:%s -1 d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] echo 09:38:54 ========================================================= 09:38:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:38:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:38:54 + git log --format=format:%s -1 d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] echo 09:38:54 [semverPrep] GIT_COMMIT: d8591ecd48deb848f04d859b76795416a9cfa4fb, Commit Message: Merge pull request #388 from lenny-intel/levski-change-log [Pipeline] echo 09:38:54 [semverPrep] This is not a build commit. [Pipeline] sh 09:38:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:38:54 + grep -v github /etc/ssh/ssh_known_hosts 09:38:54 + [ -e /tmp/ssh_known_hosts ] 09:38:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:38:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:38:54 + sudo tee -a /etc/ssh/ssh_known_hosts 09:38:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:38:55 09:38:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:38:55 0.1.4: Pulling from edgex-devops/py-git-semver 09:38:55 b85a868b505f: Pulling fs layer 09:38:55 e2be974225ed: Pulling fs layer 09:38:55 339a4e72a1f5: Pulling fs layer 09:38:55 988bab9f4d93: Pulling fs layer 09:38:55 1469e6f7b9e6: Pulling fs layer 09:38:55 eaf3925da568: Pulling fs layer 09:38:55 bab4dde63d76: Pulling fs layer 09:38:55 bde34c3a00c8: Pulling fs layer 09:38:55 b352a97aabf1: Pulling fs layer 09:38:55 4872d77fe225: Pulling fs layer 09:38:55 5851b861e8e6: Pulling fs layer 09:38:55 eaf3925da568: Waiting 09:38:55 bab4dde63d76: Waiting 09:38:55 bde34c3a00c8: Waiting 09:38:55 b352a97aabf1: Waiting 09:38:55 4872d77fe225: Waiting 09:38:55 5851b861e8e6: Waiting 09:38:55 988bab9f4d93: Waiting 09:38:55 1469e6f7b9e6: Waiting 09:38:55 e2be974225ed: Verifying Checksum 09:38:55 e2be974225ed: Download complete 09:38:55 988bab9f4d93: Verifying Checksum 09:38:55 988bab9f4d93: Download complete 09:38:55 339a4e72a1f5: Verifying Checksum 09:38:55 339a4e72a1f5: Download complete 09:38:55 1469e6f7b9e6: Verifying Checksum 09:38:55 1469e6f7b9e6: Download complete 09:38:55 eaf3925da568: Verifying Checksum 09:38:55 eaf3925da568: Download complete 09:38:55 bde34c3a00c8: Download complete 09:38:55 b352a97aabf1: Download complete 09:38:55 4872d77fe225: Download complete 09:38:55 5851b861e8e6: Download complete 09:38:55 b85a868b505f: Verifying Checksum 09:38:55 b85a868b505f: Download complete 09:38:55 bab4dde63d76: Download complete 09:38:56 b85a868b505f: Pull complete 09:38:57 e2be974225ed: Pull complete 09:38:57 339a4e72a1f5: Pull complete 09:38:57 988bab9f4d93: Pull complete 09:38:58 1469e6f7b9e6: Pull complete 09:38:58 eaf3925da568: Pull complete 09:38:59 bab4dde63d76: Pull complete 09:38:59 bde34c3a00c8: Pull complete 09:38:59 b352a97aabf1: Pull complete 09:38:59 4872d77fe225: Pull complete 09:39:00 5851b861e8e6: Pull complete 09:39:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:39:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:39:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:00 prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container 09:39:00 $ 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 09:39:03 $ docker top 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 -eo pid,comm 09:39:03 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). 09:39:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:39:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:39:03 [ssh-agent] Looking for ssh-agent implementation... 09:39:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:39:03 $ docker exec 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 ssh-agent 09:39:03 SSH_AUTH_SOCK=/tmp/ssh-7zKWi3l78NKK/agent.33 09:39:03 SSH_AGENT_PID=39 09:39:03 Running ssh-add (command line suppressed) 09:39:03 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8287330000229231452.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8287330000229231452.key) 09:39:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:39:03 + git tag --points-at HEAD [Pipeline] } 09:39:03 $ docker exec --env ******** --env ******** 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 ssh-agent -k 09:39:03 unset SSH_AUTH_SOCK; 09:39:03 unset SSH_AGENT_PID; 09:39:03 echo Agent pid 39 killed; 09:39:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:39:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:39:03 [ssh-agent] Looking for ssh-agent implementation... 09:39:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:39:04 $ docker exec 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 ssh-agent 09:39:04 SSH_AUTH_SOCK=/tmp/ssh-MNl3F5Zf7B5W/agent.71 09:39:04 SSH_AGENT_PID=76 09:39:04 Running ssh-add (command line suppressed) 09:39:04 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2554076404334903575.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2554076404334903575.key) 09:39:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:39:04 + git semver init 09:39:04 2022-11-03 09:39:04,721 [run_init] DEBUG init version:0.0.0 force:False 09:39:04 2022-11-03 09:39:04,722 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 09:39:04 2022-11-03 09:39:04,722 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 09:39:04 2022-11-03 09:39:04,722 [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) 09:39:05 2022-11-03 09:39:05,700 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 09:39:05 2022-11-03 09:39:05,700 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 09:39:05 2022-11-03 09:39:05,700 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:39:05 2022-11-03 09:39:05,701 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:39:05 2.3.0-dev.23 [Pipeline] } 09:39:05 $ docker exec --env ******** --env ******** 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 ssh-agent -k 09:39:05 unset SSH_AUTH_SOCK; 09:39:05 unset SSH_AGENT_PID; 09:39:05 echo Agent pid 76 killed; 09:39:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:39:06 + git semver [Pipeline] } 09:39:06 $ docker stop --time=1 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 09:39:07 $ docker rm -f 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 [Pipeline] // withDockerContainer [Pipeline] sh 09:39:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:39:08 Stashed 1 file(s) [Pipeline] echo 09:39:08 [edgeXSemver]: initialized semver on version 2.3.0-dev.23 [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 09:39:08 provisioning config files... 09:39:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8890464085103956982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:39:08 ---> docker-login.sh 09:39:08 nexus3.edgexfoundry.org:10001 09:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:08 Configure a credential helper to remove this warning. See 09:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:08 09:39:08 Login Succeeded 09:39:08 nexus3.edgexfoundry.org:10002 09:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:08 Configure a credential helper to remove this warning. See 09:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:08 09:39:08 Login Succeeded 09:39:08 nexus3.edgexfoundry.org:10003 09:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:09 Configure a credential helper to remove this warning. See 09:39:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:09 09:39:09 Login Succeeded 09:39:09 nexus3.edgexfoundry.org:10004 09:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:09 Configure a credential helper to remove this warning. See 09:39:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:09 09:39:09 Login Succeeded 09:39:09 docker.io 09:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:09 Configure a credential helper to remove this warning. See 09:39:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:09 09:39:09 Login Succeeded 09:39:09 ---> docker-login.sh ends [Pipeline] } 09:39:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:39:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:39:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:39:09 ========================================================= 09:39:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:39:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:10 + 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 . 09:39:10 Sending build context to Docker daemon 6.23MB 09:39:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 09:39:10 Step 2/10 : FROM ${BASE} AS builder 09:39:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:39:10 213ec9aee27d: Pulling fs layer 09:39:10 4583459ba037: Pulling fs layer 09:39:10 93c1e223e6f2: Pulling fs layer 09:39:10 53926ce57604: Pulling fs layer 09:39:10 21b2b0c7a3f4: Pulling fs layer 09:39:10 22ff95d597cd: Pulling fs layer 09:39:10 12d6caf4c0d1: Pulling fs layer 09:39:10 96b7cbca73a9: Pulling fs layer 09:39:10 a7acece74701: Pulling fs layer 09:39:10 53926ce57604: Waiting 09:39:10 21b2b0c7a3f4: Waiting 09:39:10 22ff95d597cd: Waiting 09:39:10 12d6caf4c0d1: Waiting 09:39:10 96b7cbca73a9: Waiting 09:39:10 a7acece74701: Waiting 09:39:10 93c1e223e6f2: Verifying Checksum 09:39:10 93c1e223e6f2: Download complete 09:39:10 4583459ba037: Download complete 09:39:10 21b2b0c7a3f4: Verifying Checksum 09:39:10 21b2b0c7a3f4: Download complete 09:39:10 213ec9aee27d: Verifying Checksum 09:39:10 213ec9aee27d: Download complete 09:39:10 22ff95d597cd: Verifying Checksum 09:39:10 22ff95d597cd: Download complete 09:39:10 12d6caf4c0d1: Verifying Checksum 09:39:10 12d6caf4c0d1: Download complete 09:39:10 213ec9aee27d: Pull complete 09:39:10 4583459ba037: Pull complete 09:39:10 93c1e223e6f2: Pull complete 09:39:11 53926ce57604: Verifying Checksum 09:39:11 53926ce57604: Download complete 09:39:11 a7acece74701: Verifying Checksum 09:39:11 a7acece74701: Download complete 09:39:11 96b7cbca73a9: Verifying Checksum 09:39:11 96b7cbca73a9: Download complete 09:39:15 53926ce57604: Pull complete 09:39:15 21b2b0c7a3f4: Pull complete 09:39:15 22ff95d597cd: Pull complete 09:39:15 12d6caf4c0d1: Pull complete 09:39:17 96b7cbca73a9: Pull complete 09:39:17 a7acece74701: Pull complete 09:39:18 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 09:39:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:39:18 ---> db6d94c90886 09:39:18 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:39:23 ---> Running in a321eec445a2 09:39:23 Removing intermediate container a321eec445a2 09:39:23 ---> 61ffa2c92a09 09:39:23 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:39:23 ---> Running in 25708d88b18d 09:39:23 Still waiting to schedule task 09:39:23 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118088’ 09:39:23 Removing intermediate container 25708d88b18d 09:39:23 ---> 5e83e7487a3d 09:39:23 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:39:23 ---> Running in 9aea8fcd3618 09:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:39:24 (1/8) Installing openssh-keygen (9.0_p1-r2) 09:39:24 (2/8) Installing libedit (20210910.3.1-r0) 09:39:24 (3/8) Installing openssh-client-common (9.0_p1-r2) 09:39:24 (4/8) Installing openssh-client-default (9.0_p1-r2) 09:39:24 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 09:39:24 (6/8) Installing openssh-server-common (9.0_p1-r2) 09:39:24 (7/8) Installing openssh-server (9.0_p1-r2) 09:39:24 (8/8) Installing openssh (9.0_p1-r2) 09:39:24 Executing busybox-1.35.0-r17.trigger 09:39:24 OK: 217 MiB in 59 packages 09:39:24 Removing intermediate container 9aea8fcd3618 09:39:24 ---> a0832017bf00 09:39:24 Step 6/10 : WORKDIR /device-modbus-go 09:39:24 ---> Running in 02ff342fbed8 09:39:24 Removing intermediate container 02ff342fbed8 09:39:24 ---> 0702a9f6969a 09:39:24 Step 7/10 : COPY go.mod vendor* ./ 09:39:24 ---> 620a043ff1b5 09:39:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:39:24 ---> Running in 76ef7c406beb 09:39:46 Removing intermediate container 76ef7c406beb 09:39:46 ---> 03770b31f433 09:39:46 Step 9/10 : COPY . . 09:39:46 ---> e2864abee550 09:39:46 Step 10/10 : RUN ${MAKE} 09:39:46 ---> Running in 7959c6b6b029 09:39:47 noop 09:39:47 Removing intermediate container 7959c6b6b029 09:39:47 ---> b7bcc93038d4 09:39:47 Successfully built b7bcc93038d4 09:39:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:47 + docker inspect -f . ci-base-image-x86_64 09:39:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:47 prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container 09:39:47 $ 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 09:39:48 $ docker top 5f42f8be689eec29908e1477f6315795f6051662af08bb6cd69e38aa40c3c33d -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:48 + go version 09:39:48 go version go1.18.7 linux/amd64 [Pipeline] } 09:39:48 $ docker stop --time=1 5f42f8be689eec29908e1477f6315795f6051662af08bb6cd69e38aa40c3c33d 09:39:49 $ docker rm -f 5f42f8be689eec29908e1477f6315795f6051662af08bb6cd69e38aa40c3c33d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:50 + docker inspect -f . ci-base-image-x86_64 09:39:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:50 prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container 09:39:50 $ 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 09:39:50 $ docker top a158f0c5e21ba80738b55d89f7bd5c4326740d4459449b76ea354b6256fc267c -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:50 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 09:39:51 + make test 09:39:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:39:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:40:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:40:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements 09:40:08 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." 09:40:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:40:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:40:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:40:11 ./bin/test-attribution-txt.sh [Pipeline] echo 09:40:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:40:11 $ docker stop --time=1 a158f0c5e21ba80738b55d89f7bd5c4326740d4459449b76ea354b6256fc267c 09:40:14 $ docker rm -f a158f0c5e21ba80738b55d89f7bd5c4326740d4459449b76ea354b6256fc267c [Pipeline] // withDockerContainer [Pipeline] sh 09:40:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:40:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:40:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:40:15 + ls -al . 09:40:15 total 196 09:40:15 drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:39 . 09:40:15 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:38 .. 09:40:15 -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 09:38 .dockerignore 09:40:15 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:40 .git 09:40:15 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:38 .github 09:40:15 -rw-rw-r-- 1 jenkins jenkins 331 Nov 3 09:38 .gitignore 09:40:15 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:38 .golangci.yml 09:40:15 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:39 .semver 09:40:15 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 3 09:38 Attribution.txt 09:40:15 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 3 09:38 CHANGELOG.md 09:40:15 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 3 09:38 Dockerfile 09:40:15 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:38 GOVERNANCE.md 09:40:15 -rw-rw-r-- 1 jenkins jenkins 680 Nov 3 09:38 Jenkinsfile 09:40:15 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:38 LICENSE 09:40:15 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 3 09:38 Makefile 09:40:15 -rw-rw-r-- 1 jenkins jenkins 622 Nov 3 09:38 OWNERS.md 09:40:15 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 3 09:38 README.md 09:40:15 -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:39 VERSION 09:40:15 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:38 bin 09:40:15 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:38 cmd 09:40:15 -rw-r--r-- 1 jenkins jenkins 23241 Nov 3 09:40 coverage.out 09:40:15 -rw-rw-r-- 1 jenkins jenkins 3632 Nov 3 09:38 go.mod 09:40:15 -rw-rw-r-- 1 jenkins jenkins 45309 Nov 3 09:38 go.sum 09:40:15 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:38 internal 09:40:15 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:38 simulator 09:40:15 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:38 snap 09:40:15 -rw-rw-r-- 1 jenkins jenkins 229 Nov 3 09:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:15 + 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=d8591ecd48deb848f04d859b76795416a9cfa4fb --label arch=amd64 --label version=2.3.0-dev.23 . 09:40:15 Sending build context to Docker daemon 6.254MB 09:40:15 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 09:40:15 Step 2/22 : FROM ${BASE} AS builder 09:40:15 ---> b7bcc93038d4 09:40:15 Step 3/22 : ARG ADD_BUILD_TAGS="" 09:40:15 ---> Running in dd4709fbc4ff 09:40:15 Removing intermediate container dd4709fbc4ff 09:40:15 ---> 910b5e45c250 09:40:15 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:40:15 ---> Running in 319bbc544d0b 09:40:15 Removing intermediate container 319bbc544d0b 09:40:15 ---> 6cac76684961 09:40:15 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:40:16 ---> Running in 8accdb87fbd4 09:40:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:40:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:40:16 OK: 217 MiB in 59 packages 09:40:16 Removing intermediate container 8accdb87fbd4 09:40:16 ---> 43ac55d598b3 09:40:16 Step 6/22 : WORKDIR /device-modbus-go 09:40:16 ---> Running in 2923656f1fe5 09:40:16 Removing intermediate container 2923656f1fe5 09:40:16 ---> aafabe49d143 09:40:16 Step 7/22 : COPY go.mod vendor* ./ 09:40:17 ---> 2de500bbeb7b 09:40:17 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:40:17 ---> Running in edc1919607e3 09:40:17 Removing intermediate container edc1919607e3 09:40:17 ---> aaef4d95d092 09:40:17 Step 9/22 : COPY . . 09:40:18 ---> 21d8d7177f0d 09:40:18 Step 10/22 : RUN ${MAKE} 09:40:18 ---> Running in 895af391cf50 09:40:18 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 09:40:40 Removing intermediate container 895af391cf50 09:40:40 ---> 696477308d0a 09:40:40 Step 11/22 : FROM alpine:3.14 09:40:40 3.14: Pulling from library/alpine 09:40:40 c7ed990a2339: Pulling fs layer 09:40:40 c7ed990a2339: Verifying Checksum 09:40:40 c7ed990a2339: Download complete 09:40:41 c7ed990a2339: Pull complete 09:40:41 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 09:40:41 Status: Downloaded newer image for alpine:3.14 09:40:41 ---> dd53f409bf0b 09:40:41 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:40:41 ---> Running in 47289f4c9e3b 09:40:41 Removing intermediate container 47289f4c9e3b 09:40:41 ---> c5d9a3320c58 09:40:41 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 09:40:41 ---> Running in eea0003f03e3 09:40:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:40:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:40:41 (1/6) Installing dumb-init (1.2.5-r1) 09:40:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:40:41 (3/6) Installing libsodium (1.0.18-r0) 09:40:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:40:41 (5/6) Installing libzmq (4.3.4-r0) 09:40:41 (6/6) Installing zeromq (4.3.4-r0) 09:40:41 Executing busybox-1.33.1-r8.trigger 09:40:41 OK: 8 MiB in 20 packages 09:40:42 Removing intermediate container eea0003f03e3 09:40:42 ---> b141c54865e3 09:40:42 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 09:40:43 ---> a803a63cc43a 09:40:43 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 09:40:43 ---> 46012b895f1d 09:40:43 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:40:43 ---> c9b0bdccbf10 09:40:43 Step 17/22 : EXPOSE 59901 09:40:43 ---> Running in 81746ea86117 09:40:43 Removing intermediate container 81746ea86117 09:40:43 ---> 28312e819527 09:40:43 Step 18/22 : ENTRYPOINT ["/device-modbus"] 09:40:43 ---> Running in fc55d6bfe16e 09:40:43 Removing intermediate container fc55d6bfe16e 09:40:43 ---> 0265c3b09108 09:40:43 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:40:43 ---> Running in 3b6f2a9fb693 09:40:43 Removing intermediate container 3b6f2a9fb693 09:40:43 ---> f679d7c94d88 09:40:43 Step 20/22 : LABEL arch=amd64 09:40:43 ---> Running in 12ae2aed69a5 09:40:43 Removing intermediate container 12ae2aed69a5 09:40:43 ---> ba7d109520eb 09:40:43 Step 21/22 : LABEL git_sha=d8591ecd48deb848f04d859b76795416a9cfa4fb 09:40:43 ---> Running in 37f867687666 09:40:43 Removing intermediate container 37f867687666 09:40:43 ---> 4c4f83bae7e6 09:40:43 Step 22/22 : LABEL version=2.3.0-dev.23 09:40:43 ---> Running in c670e4f71b2d 09:40:43 Removing intermediate container c670e4f71b2d 09:40:43 ---> a6686db910ea 09:40:43 [Warning] One or more build-args [ARCH] were not consumed 09:40:43 Successfully built a6686db910ea 09:40:43 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:40:43 provisioning config files... 09:40:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7101085519316168683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:44 ---> docker-login.sh 09:40:44 nexus3.edgexfoundry.org:10001 09:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:44 Configure a credential helper to remove this warning. See 09:40:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:44 09:40:44 Login Succeeded 09:40:44 nexus3.edgexfoundry.org:10002 09:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:44 Configure a credential helper to remove this warning. See 09:40:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:44 09:40:44 Login Succeeded 09:40:44 nexus3.edgexfoundry.org:10003 09:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:44 Configure a credential helper to remove this warning. See 09:40:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:44 09:40:44 Login Succeeded 09:40:44 nexus3.edgexfoundry.org:10004 09:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:44 Configure a credential helper to remove this warning. See 09:40:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:44 09:40:44 Login Succeeded 09:40:44 docker.io 09:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:45 Configure a credential helper to remove this warning. See 09:40:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:45 09:40:45 Login Succeeded 09:40:45 ---> docker-login.sh ends [Pipeline] } 09:40:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:40:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:40:45 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 09:40:45 d8591ecd48deb848f04d859b76795416a9cfa4fb 09:40:45 latest 09:40:45 2.3.0-dev.23 09:40:45 d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 09:40:45 main 09:40:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb 09:40:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:40:45 33ae17ff7c60: Preparing 09:40:45 99d32855282f: Preparing 09:40:45 dbbe28e7919c: Preparing 09:40:45 9a6af98030f3: Preparing 09:40:45 63493a9ab2d4: Preparing 09:40:45 63493a9ab2d4: Layer already exists 09:40:45 99d32855282f: Pushed 09:40:45 33ae17ff7c60: Pushed 09:40:45 9a6af98030f3: Pushed 09:40:48 dbbe28e7919c: Pushed 09:40:48 d8591ecd48deb848f04d859b76795416a9cfa4fb: digest: sha256:0846e3a6db84737bf658cc28517b96e7fcaa7870f062e5f3f79f9f734b56a176 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 09:40:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:40:49 33ae17ff7c60: Preparing 09:40:49 99d32855282f: Preparing 09:40:49 dbbe28e7919c: Preparing 09:40:49 9a6af98030f3: Preparing 09:40:49 63493a9ab2d4: Preparing 09:40:49 9a6af98030f3: Layer already exists 09:40:49 99d32855282f: Layer already exists 09:40:49 dbbe28e7919c: Layer already exists 09:40:49 33ae17ff7c60: Layer already exists 09:40:49 63493a9ab2d4: Layer already exists 09:40:49 latest: digest: sha256:0846e3a6db84737bf658cc28517b96e7fcaa7870f062e5f3f79f9f734b56a176 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.23 09:40:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:40:49 33ae17ff7c60: Preparing 09:40:49 99d32855282f: Preparing 09:40:49 dbbe28e7919c: Preparing 09:40:49 9a6af98030f3: Preparing 09:40:49 63493a9ab2d4: Preparing 09:40:49 63493a9ab2d4: Layer already exists 09:40:49 dbbe28e7919c: Layer already exists 09:40:49 9a6af98030f3: Layer already exists 09:40:49 33ae17ff7c60: Layer already exists 09:40:49 99d32855282f: Layer already exists 09:40:49 2.3.0-dev.23: digest: sha256:0846e3a6db84737bf658cc28517b96e7fcaa7870f062e5f3f79f9f734b56a176 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:50 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 09:40:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:40:50 33ae17ff7c60: Preparing 09:40:50 99d32855282f: Preparing 09:40:50 dbbe28e7919c: Preparing 09:40:50 9a6af98030f3: Preparing 09:40:50 63493a9ab2d4: Preparing 09:40:50 dbbe28e7919c: Layer already exists 09:40:50 9a6af98030f3: Layer already exists 09:40:50 99d32855282f: Layer already exists 09:40:50 33ae17ff7c60: Layer already exists 09:40:50 63493a9ab2d4: Layer already exists 09:40:50 d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23: digest: sha256:0846e3a6db84737bf658cc28517b96e7fcaa7870f062e5f3f79f9f734b56a176 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:50 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 09:40:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:40:50 33ae17ff7c60: Preparing 09:40:50 99d32855282f: Preparing 09:40:50 dbbe28e7919c: Preparing 09:40:50 9a6af98030f3: Preparing 09:40:50 63493a9ab2d4: Preparing 09:40:50 63493a9ab2d4: Layer already exists 09:40:50 dbbe28e7919c: Layer already exists 09:40:50 99d32855282f: Layer already exists 09:40:50 9a6af98030f3: Layer already exists 09:40:50 33ae17ff7c60: Layer already exists 09:40:50 main: digest: sha256:0846e3a6db84737bf658cc28517b96e7fcaa7870f062e5f3f79f9f734b56a176 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:40:51 ===================================================== [Pipeline] echo 09:40:51 taggedImages: 09:40:51 - nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb 09:40:51 - nexus3.edgexfoundry.org:10004/device-modbus:latest 09:40:51 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.23 09:40:51 - nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 09:40:51 - 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 09:40:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:40:51 09:40:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:40:51 latest: Pulling from edgex-lftools-log-publisher 09:40:51 5eb5b503b376: Pulling fs layer 09:40:51 5c69ac0246d0: Pulling fs layer 09:40:51 ec43610c2a17: Pulling fs layer 09:40:51 3a2ae6a8a46f: Pulling fs layer 09:40:51 33b1e0a273af: Pulling fs layer 09:40:51 5d3b04190fa2: Pulling fs layer 09:40:51 2f39f015ded8: Pulling fs layer 09:40:51 33b1e0a273af: Waiting 09:40:51 5d3b04190fa2: Waiting 09:40:51 2f39f015ded8: Waiting 09:40:51 3a2ae6a8a46f: Waiting 09:40:51 5c69ac0246d0: Download complete 09:40:51 3a2ae6a8a46f: Download complete 09:40:51 33b1e0a273af: Verifying Checksum 09:40:51 33b1e0a273af: Download complete 09:40:51 5d3b04190fa2: Download complete 09:40:51 ec43610c2a17: Verifying Checksum 09:40:51 ec43610c2a17: Download complete 09:40:51 5eb5b503b376: Verifying Checksum 09:40:51 5eb5b503b376: Download complete 09:40:52 2f39f015ded8: Download complete 09:40:53 5eb5b503b376: Pull complete 09:40:53 5c69ac0246d0: Pull complete 09:40:53 ec43610c2a17: Pull complete 09:40:53 3a2ae6a8a46f: Pull complete 09:40:53 33b1e0a273af: Pull complete 09:40:53 5d3b04190fa2: Pull complete 09:40:58 2f39f015ded8: Pull complete 09:40:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:40:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:40:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:40:58 prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container 09:40:58 $ 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 09:41:02 $ docker top 560fe8d9516b1b72163e513b3641d500c1870743dfcfc196a1b60d28a06d2fbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:02 ---> job-cost.sh 09:41:02 lf-activate-venv: SKIPPING 09:41:02 INFO: No Stack... 09:41:02 INFO: Retrieving Pricing Info for: v3-standard-8 09:41:03 INFO: Archiving Costs [Pipeline] sh 09:41:03 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 09:41:03 + cut -d, -f6 [Pipeline] lock 09:41:03 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] 09:41:03 Resource [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] did not exist. Created. 09:41:03 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:41:03 + echo total: 0.2199999988079071 [Pipeline] stash 09:41:03 Stashed 1 file(s) [Pipeline] } 09:41:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 09:41:03 $ docker stop --time=1 560fe8d9516b1b72163e513b3641d500c1870743dfcfc196a1b60d28a06d2fbc 09:41:04 $ docker rm -f 560fe8d9516b1b72163e513b3641d500c1870743dfcfc196a1b60d28a06d2fbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:41:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118094 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 09:41:57 Running in /w/workspace/device-modbus-go/63 [Pipeline] { [Pipeline] checkout 09:41:57 Selected Git installation does not exist. Using Default 09:41:57 The recommended git tool is: NONE 09:42:03 using credential edgex-jenkins-ssh 09:42:03 Cloning the remote Git repository 09:42:03 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:42:03 > git init /w/workspace/device-modbus-go/63 # timeout=10 09:42:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:42:03 > git --version # timeout=10 09:42:04 > git --version # 'git version 2.25.1' 09:42:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:42:04 Verifying host key using known hosts file 09:42:04 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. 09:42:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:42:06 Avoid second fetch 09:42:06 Checking out Revision d8591ecd48deb848f04d859b76795416a9cfa4fb (main) 09:42:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:42:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:42:06 > git config core.sparsecheckout # timeout=10 09:42:06 > git checkout -f d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 09:42:06 Commit message: "Merge pull request #388 from lenny-intel/levski-change-log" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:42:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:42:07 % Total % Received % Xferd Average Speed Time Time Time Current 09:42:07 Dload Upload Total Spent Left Speed 09:42:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 09:42:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:42:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:42:08 + sudo tee /etc/docker/daemon.new 09:42:08 { 09:42:08 "registry-mirrors": [ 09:42:08 "https://nexus3.edgexfoundry.org:10001" 09:42:08 ], 09:42:08 "bip": "10.250.0.254/24", 09:42:08 "hosts": [ 09:42:08 "tcp://0.0.0.0:5555", 09:42:08 "unix:///var/run/docker.sock" 09:42:08 ], 09:42:08 "mtu": 1458, 09:42:08 "selinux-enabled": true, 09:42:08 "seccomp-profile": "/etc/docker/seccomp.json" 09:42:08 } [Pipeline] sh 09:42:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:42:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:42:27 provisioning config files... 09:42:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/63@tmp/config15009663471141929840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:28 ---> docker-login.sh 09:42:28 nexus3.edgexfoundry.org:10001 09:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:29 Configure a credential helper to remove this warning. See 09:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:29 09:42:29 Login Succeeded 09:42:29 nexus3.edgexfoundry.org:10002 09:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:29 Configure a credential helper to remove this warning. See 09:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:29 09:42:29 Login Succeeded 09:42:29 nexus3.edgexfoundry.org:10003 09:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:30 Configure a credential helper to remove this warning. See 09:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:30 09:42:30 Login Succeeded 09:42:30 nexus3.edgexfoundry.org:10004 09:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:30 Configure a credential helper to remove this warning. See 09:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:30 09:42:30 Login Succeeded 09:42:30 docker.io 09:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:31 Configure a credential helper to remove this warning. See 09:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:31 09:42:31 Login Succeeded 09:42:31 ---> docker-login.sh ends [Pipeline] } 09:42:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:42:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:42:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:42:31 ========================================================= 09:42:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:42:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:31 + 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 . 09:42:31 Sending build context to Docker daemon 3.244MB 09:42:31 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 09:42:31 Step 2/10 : FROM ${BASE} AS builder 09:42:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:42:33 9b18e9b68314: Pulling fs layer 09:42:33 35d82f9e3411: Pulling fs layer 09:42:33 e16973657156: Pulling fs layer 09:42:33 fc693d55d65f: Pulling fs layer 09:42:33 7e9fc2657dce: Pulling fs layer 09:42:33 dda99020689f: Pulling fs layer 09:42:33 db1c61fa0a46: Pulling fs layer 09:42:33 891c053d2c06: Pulling fs layer 09:42:33 fc693d55d65f: Waiting 09:42:33 7e9fc2657dce: Waiting 09:42:33 dda99020689f: Waiting 09:42:33 db1c61fa0a46: Waiting 09:42:33 891c053d2c06: Waiting 09:42:34 e16973657156: Verifying Checksum 09:42:34 e16973657156: Download complete 09:42:34 35d82f9e3411: Verifying Checksum 09:42:34 35d82f9e3411: Download complete 09:42:34 7e9fc2657dce: Download complete 09:42:34 dda99020689f: Verifying Checksum 09:42:34 dda99020689f: Download complete 09:42:34 9b18e9b68314: Verifying Checksum 09:42:34 9b18e9b68314: Download complete 09:42:35 9b18e9b68314: Pull complete 09:42:35 891c053d2c06: Verifying Checksum 09:42:35 891c053d2c06: Download complete 09:42:35 35d82f9e3411: Pull complete 09:42:36 e16973657156: Pull complete 09:42:36 db1c61fa0a46: Verifying Checksum 09:42:36 db1c61fa0a46: Download complete 09:42:37 fc693d55d65f: Verifying Checksum 09:42:37 fc693d55d65f: Download complete 09:42:49 fc693d55d65f: Pull complete 09:42:49 7e9fc2657dce: Pull complete 09:42:49 dda99020689f: Pull complete 09:42:54 db1c61fa0a46: Pull complete 09:42:56 891c053d2c06: Pull complete 09:42:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 09:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:42:56 ---> f96f9c87975a 09:42:56 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:42:57 ---> Running in ec07adcfbfd8 09:42:57 Removing intermediate container ec07adcfbfd8 09:42:57 ---> a5e34ce39817 09:42:57 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:42:58 ---> Running in 67ac81dab041 09:42:58 Removing intermediate container 67ac81dab041 09:42:58 ---> e24072dac83a 09:42:58 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:42:58 ---> Running in 54ba449cab17 09:42:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:42:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:43:01 (1/8) Installing openssh-keygen (9.0_p1-r2) 09:43:01 (2/8) Installing libedit (20210910.3.1-r0) 09:43:01 (3/8) Installing openssh-client-common (9.0_p1-r2) 09:43:01 (4/8) Installing openssh-client-default (9.0_p1-r2) 09:43:01 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 09:43:01 (6/8) Installing openssh-server-common (9.0_p1-r2) 09:43:01 (7/8) Installing openssh-server (9.0_p1-r2) 09:43:01 (8/8) Installing openssh (9.0_p1-r2) 09:43:01 Executing busybox-1.35.0-r17.trigger 09:43:01 OK: 228 MiB in 59 packages 09:43:02 Removing intermediate container 54ba449cab17 09:43:02 ---> eebcd19afcf3 09:43:02 Step 6/10 : WORKDIR /device-modbus-go 09:43:02 ---> Running in 15981e92cc8b 09:43:02 Removing intermediate container 15981e92cc8b 09:43:02 ---> 84041eafee4d 09:43:02 Step 7/10 : COPY go.mod vendor* ./ 09:43:03 ---> 35b8d9caa513 09:43:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:43:03 ---> Running in 614795e1a2e7 09:43:59 Removing intermediate container 614795e1a2e7 09:43:59 ---> 4db5f13863af 09:43:59 Step 9/10 : COPY . . 09:43:59 ---> 345727a071b9 09:43:59 Step 10/10 : RUN ${MAKE} 09:43:59 ---> Running in d648a657562b 09:44:00 noop 09:44:01 Removing intermediate container d648a657562b 09:44:01 ---> 4362de16ac66 09:44:01 Successfully built 4362de16ac66 09:44:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:01 + docker inspect -f . ci-base-image-arm64 09:44:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:01 prd-ubuntu20.04-docker-arm64-4c-16g-118094 does not seem to be running inside a container 09:44:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/63 -v /w/workspace/device-modbus-go/63:/w/workspace/device-modbus-go/63:rw,z -v /w/workspace/device-modbus-go/63@tmp:/w/workspace/device-modbus-go/63@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 09:44:02 $ docker top 769265e2d4564db5ed7ea98b46ec8d2df7a9d1b8bf4079fd22b393e5cc0856ff -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:03 + go version 09:44:03 go version go1.18.7 linux/arm64 [Pipeline] } 09:44:03 $ docker stop --time=1 769265e2d4564db5ed7ea98b46ec8d2df7a9d1b8bf4079fd22b393e5cc0856ff 09:44:05 $ docker rm -f 769265e2d4564db5ed7ea98b46ec8d2df7a9d1b8bf4079fd22b393e5cc0856ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:06 + docker inspect -f . ci-base-image-arm64 09:44:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:06 prd-ubuntu20.04-docker-arm64-4c-16g-118094 does not seem to be running inside a container 09:44:06 $ 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/63 -v /w/workspace/device-modbus-go/63:/w/workspace/device-modbus-go/63:rw,z -v /w/workspace/device-modbus-go/63@tmp:/w/workspace/device-modbus-go/63@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 09:44:07 $ docker top d35e218efa873b7afae4d6822c4b96735fa30028bfaace7fe9cb8949300c2501 -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:08 + git config --global --add safe.directory /w/workspace/device-modbus-go/63 [Pipeline] fileExists [Pipeline] sh 09:44:09 + make test 09:44:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:44:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:45:47 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:45:47 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements 09:45:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:45:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:46:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:46:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:46:09 ./bin/test-attribution-txt.sh [Pipeline] echo 09:46:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:46:09 $ docker stop --time=1 d35e218efa873b7afae4d6822c4b96735fa30028bfaace7fe9cb8949300c2501 09:46:11 $ docker rm -f d35e218efa873b7afae4d6822c4b96735fa30028bfaace7fe9cb8949300c2501 [Pipeline] // withDockerContainer [Pipeline] sh 09:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:46:12 Warning: overwriting stash ‘coverage-report’ 09:46:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:46:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:46:14 + ls -al . 09:46:14 total 192 09:46:14 drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 09:44 . 09:46:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:42 .. 09:46:14 -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 09:42 .dockerignore 09:46:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:42 .git 09:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 .github 09:46:14 -rw-rw-r-- 1 jenkins jenkins 331 Nov 3 09:42 .gitignore 09:46:14 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:42 .golangci.yml 09:46:14 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 3 09:42 Attribution.txt 09:46:14 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 3 09:42 CHANGELOG.md 09:46:14 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 3 09:42 Dockerfile 09:46:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:42 GOVERNANCE.md 09:46:14 -rw-rw-r-- 1 jenkins jenkins 680 Nov 3 09:42 Jenkinsfile 09:46:14 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:42 LICENSE 09:46:14 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 3 09:42 Makefile 09:46:14 -rw-rw-r-- 1 jenkins jenkins 622 Nov 3 09:42 OWNERS.md 09:46:14 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 3 09:42 README.md 09:46:14 -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:39 VERSION 09:46:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:42 bin 09:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 cmd 09:46:14 -rw-r--r-- 1 jenkins jenkins 23241 Nov 3 09:45 coverage.out 09:46:14 -rw-rw-r-- 1 jenkins jenkins 3632 Nov 3 09:42 go.mod 09:46:14 -rw-rw-r-- 1 jenkins jenkins 45309 Nov 3 09:42 go.sum 09:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 internal 09:46:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:42 simulator 09:46:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:42 snap 09:46:14 -rw-rw-r-- 1 jenkins jenkins 229 Nov 3 09:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:14 + 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=d8591ecd48deb848f04d859b76795416a9cfa4fb --label arch=arm64 --label version=2.3.0-dev.23 . 09:46:14 Sending build context to Docker daemon 3.268MB 09:46:14 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 09:46:14 Step 2/22 : FROM ${BASE} AS builder 09:46:14 ---> 4362de16ac66 09:46:14 Step 3/22 : ARG ADD_BUILD_TAGS="" 09:46:15 ---> Running in ac29a7315dea 09:46:15 Removing intermediate container ac29a7315dea 09:46:15 ---> 74ac55e14957 09:46:15 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:46:15 ---> Running in b342c06de81b 09:46:15 Removing intermediate container b342c06de81b 09:46:15 ---> 0aab6cc81b9c 09:46:15 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:46:15 ---> Running in d6c50fb8ffe8 09:46:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:46:18 OK: 228 MiB in 59 packages 09:46:19 Removing intermediate container d6c50fb8ffe8 09:46:19 ---> 6fce0f7bc129 09:46:19 Step 6/22 : WORKDIR /device-modbus-go 09:46:19 ---> Running in 4e983b7e8d76 09:46:19 Removing intermediate container 4e983b7e8d76 09:46:19 ---> 97a07d599da1 09:46:19 Step 7/22 : COPY go.mod vendor* ./ 09:46:20 ---> efb6a0ab5a50 09:46:20 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:46:20 ---> Running in 30882a7cdd71 09:46:23 Removing intermediate container 30882a7cdd71 09:46:23 ---> d81315c1399b 09:46:23 Step 9/22 : COPY . . 09:46:24 ---> da795782fc87 09:46:24 Step 10/22 : RUN ${MAKE} 09:46:24 ---> Running in fb8f9390c34d 09:46:25 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 09:49:17 Removing intermediate container fb8f9390c34d 09:49:17 ---> 659162c4c5af 09:49:17 Step 11/22 : FROM alpine:3.14 09:49:17 3.14: Pulling from library/alpine 09:49:17 90cda3b7c325: Pulling fs layer 09:49:17 90cda3b7c325: Verifying Checksum 09:49:17 90cda3b7c325: Download complete 09:49:17 90cda3b7c325: Pull complete 09:49:17 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 09:49:17 Status: Downloaded newer image for alpine:3.14 09:49:17 ---> 376ba31ae3da 09:49:17 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:49:17 ---> Running in eb300075c58b 09:49:17 Removing intermediate container eb300075c58b 09:49:17 ---> 004953c9412a 09:49:17 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 09:49:17 ---> Running in 9382ad1ceae9 09:49:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:49:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:49:17 (1/6) Installing dumb-init (1.2.5-r1) 09:49:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:49:17 (3/6) Installing libsodium (1.0.18-r0) 09:49:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:49:17 (5/6) Installing libzmq (4.3.4-r0) 09:49:17 (6/6) Installing zeromq (4.3.4-r0) 09:49:17 Executing busybox-1.33.1-r8.trigger 09:49:17 OK: 8 MiB in 20 packages 09:49:17 Removing intermediate container 9382ad1ceae9 09:49:17 ---> 2ec8a2529405 09:49:17 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 09:49:17 ---> a5621fbfab35 09:49:17 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 09:49:17 ---> 8cc6fb898a0b 09:49:17 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:49:17 ---> 5cf7fcd69c66 09:49:17 Step 17/22 : EXPOSE 59901 09:49:17 ---> Running in f324e12419e0 09:49:17 Removing intermediate container f324e12419e0 09:49:17 ---> d5cd06ab255d 09:49:17 Step 18/22 : ENTRYPOINT ["/device-modbus"] 09:49:17 ---> Running in 1b8b38af1849 09:49:18 Removing intermediate container 1b8b38af1849 09:49:18 ---> 6a1a715c7876 09:49:18 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:49:18 ---> Running in efca5f31cf80 09:49:18 Removing intermediate container efca5f31cf80 09:49:18 ---> edbbf18d97a7 09:49:18 Step 20/22 : LABEL arch=arm64 09:49:18 ---> Running in 9c8340d73031 09:49:18 Removing intermediate container 9c8340d73031 09:49:18 ---> 520102c04519 09:49:18 Step 21/22 : LABEL git_sha=d8591ecd48deb848f04d859b76795416a9cfa4fb 09:49:18 ---> Running in 3a3e70936356 09:49:19 Removing intermediate container 3a3e70936356 09:49:19 ---> dce89c860245 09:49:19 Step 22/22 : LABEL version=2.3.0-dev.23 09:49:19 ---> Running in b516926a6486 09:49:19 Removing intermediate container b516926a6486 09:49:19 ---> d86887853bfb 09:49:19 [Warning] One or more build-args [ARCH] were not consumed 09:49:19 Successfully built d86887853bfb 09:49:19 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 09:49:19 provisioning config files... 09:49:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/63@tmp/config9175834592206385598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:20 ---> docker-login.sh 09:49:20 nexus3.edgexfoundry.org:10001 09:49:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:20 Configure a credential helper to remove this warning. See 09:49:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:20 09:49:20 Login Succeeded 09:49:20 nexus3.edgexfoundry.org:10002 09:49:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:20 Configure a credential helper to remove this warning. See 09:49:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:20 09:49:20 Login Succeeded 09:49:20 nexus3.edgexfoundry.org:10003 09:49:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:21 Configure a credential helper to remove this warning. See 09:49:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:21 09:49:21 Login Succeeded 09:49:21 nexus3.edgexfoundry.org:10004 09:49:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:21 Configure a credential helper to remove this warning. See 09:49:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:21 09:49:21 Login Succeeded 09:49:21 docker.io 09:49:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:22 Configure a credential helper to remove this warning. See 09:49:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:22 09:49:22 Login Succeeded 09:49:22 ---> docker-login.sh ends [Pipeline] } 09:49:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:49:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:49:22 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 09:49:22 d8591ecd48deb848f04d859b76795416a9cfa4fb 09:49:22 latest 09:49:22 2.3.0-dev.23 09:49:22 d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 09:49:22 main 09:49:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:22 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb 09:49:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:49:23 06fd1478325b: Preparing 09:49:23 bb3cb7b12285: Preparing 09:49:23 ec270595136a: Preparing 09:49:23 41c38d7bf769: Preparing 09:49:23 28c3ef001483: Preparing 09:49:23 28c3ef001483: Layer already exists 09:49:23 06fd1478325b: Pushed 09:49:23 bb3cb7b12285: Pushed 09:49:23 41c38d7bf769: Pushed 09:49:29 ec270595136a: Pushed 09:49:29 d8591ecd48deb848f04d859b76795416a9cfa4fb: digest: sha256:dbaae881e0cb02c6de8cecb95129922495ee337a7f70963eb4efc352a92d86db size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:29 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:49:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:49:30 06fd1478325b: Preparing 09:49:30 bb3cb7b12285: Preparing 09:49:30 ec270595136a: Preparing 09:49:30 41c38d7bf769: Preparing 09:49:30 28c3ef001483: Preparing 09:49:30 28c3ef001483: Layer already exists 09:49:30 ec270595136a: Layer already exists 09:49:30 06fd1478325b: Layer already exists 09:49:30 41c38d7bf769: Layer already exists 09:49:30 bb3cb7b12285: Layer already exists 09:49:30 latest: digest: sha256:dbaae881e0cb02c6de8cecb95129922495ee337a7f70963eb4efc352a92d86db size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:30 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.23 09:49:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:49:31 06fd1478325b: Preparing 09:49:31 bb3cb7b12285: Preparing 09:49:31 ec270595136a: Preparing 09:49:31 41c38d7bf769: Preparing 09:49:31 28c3ef001483: Preparing 09:49:31 ec270595136a: Layer already exists 09:49:31 41c38d7bf769: Layer already exists 09:49:31 06fd1478325b: Layer already exists 09:49:31 bb3cb7b12285: Layer already exists 09:49:31 28c3ef001483: Layer already exists 09:49:31 2.3.0-dev.23: digest: sha256:dbaae881e0cb02c6de8cecb95129922495ee337a7f70963eb4efc352a92d86db size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 09:49:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:49:32 06fd1478325b: Preparing 09:49:32 bb3cb7b12285: Preparing 09:49:32 ec270595136a: Preparing 09:49:32 41c38d7bf769: Preparing 09:49:32 28c3ef001483: Preparing 09:49:32 bb3cb7b12285: Layer already exists 09:49:32 28c3ef001483: Layer already exists 09:49:32 06fd1478325b: Layer already exists 09:49:32 41c38d7bf769: Layer already exists 09:49:32 ec270595136a: Layer already exists 09:49:32 d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23: digest: sha256:dbaae881e0cb02c6de8cecb95129922495ee337a7f70963eb4efc352a92d86db size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 09:49:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:49:32 06fd1478325b: Preparing 09:49:32 bb3cb7b12285: Preparing 09:49:32 ec270595136a: Preparing 09:49:32 41c38d7bf769: Preparing 09:49:32 28c3ef001483: Preparing 09:49:32 28c3ef001483: Layer already exists 09:49:32 bb3cb7b12285: Layer already exists 09:49:32 41c38d7bf769: Layer already exists 09:49:32 ec270595136a: Layer already exists 09:49:32 06fd1478325b: Layer already exists 09:49:33 main: digest: sha256:dbaae881e0cb02c6de8cecb95129922495ee337a7f70963eb4efc352a92d86db size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:49:33 ===================================================== [Pipeline] echo 09:49:33 taggedImages: 09:49:33 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb 09:49:33 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:49:33 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.23 09:49:33 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 09:49:33 - 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 09:49:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:49:33 09:49:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:49:33 arm64: Pulling from edgex-lftools-log-publisher 09:49:33 8998bd30e6a1: Pulling fs layer 09:49:33 04944245beec: Pulling fs layer 09:49:33 699f458cf7ca: Pulling fs layer 09:49:33 765212b225bb: Pulling fs layer 09:49:33 f23df028b6ca: Pulling fs layer 09:49:33 d65c8cfc05b1: Pulling fs layer 09:49:33 2437ff75d9bd: Pulling fs layer 09:49:33 f23df028b6ca: Waiting 09:49:33 d65c8cfc05b1: Waiting 09:49:33 2437ff75d9bd: Waiting 09:49:33 765212b225bb: Waiting 09:49:34 04944245beec: Verifying Checksum 09:49:34 04944245beec: Download complete 09:49:34 765212b225bb: Verifying Checksum 09:49:34 765212b225bb: Download complete 09:49:34 f23df028b6ca: Verifying Checksum 09:49:34 f23df028b6ca: Download complete 09:49:34 d65c8cfc05b1: Verifying Checksum 09:49:34 d65c8cfc05b1: Download complete 09:49:34 699f458cf7ca: Verifying Checksum 09:49:34 699f458cf7ca: Download complete 09:49:34 8998bd30e6a1: Verifying Checksum 09:49:34 8998bd30e6a1: Download complete 09:49:37 2437ff75d9bd: Verifying Checksum 09:49:37 2437ff75d9bd: Download complete 09:49:38 8998bd30e6a1: Pull complete 09:49:39 04944245beec: Pull complete 09:49:40 699f458cf7ca: Pull complete 09:49:40 765212b225bb: Pull complete 09:49:41 f23df028b6ca: Pull complete 09:49:41 d65c8cfc05b1: Pull complete 09:49:56 2437ff75d9bd: Pull complete 09:49:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:49:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:49:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:49:57 prd-ubuntu20.04-docker-arm64-4c-16g-118094 does not seem to be running inside a container 09:49:57 $ 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/63 -v /w/workspace/device-modbus-go/63:/w/workspace/device-modbus-go/63:rw,z -v /w/workspace/device-modbus-go/63@tmp:/w/workspace/device-modbus-go/63@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 09:49:59 $ docker top 289b63faaefe34873247bc9dc9b3be2c63bf792a400dadb160f704cc0c161647 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:50:00 ---> job-cost.sh 09:50:00 lf-activate-venv: SKIPPING 09:50:00 INFO: No Stack... 09:50:00 INFO: Retrieving Pricing Info for: v3-standard-4 09:50:01 INFO: Archiving Costs [Pipeline] sh 09:50:02 + + catcut /w/workspace/device-modbus-go/63/archives/cost.csv -d, 09:50:02 -f6 [Pipeline] lock 09:50:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] 09:50:02 Resource [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] did not exist. Created. 09:50:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:50:02 /w/workspace/device-modbus-go/63@tmp/durable-4060d5b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:50:03 + echo total: 0.10999999940395355 [Pipeline] stash 09:50:03 Warning: overwriting stash ‘stack-cost’ 09:50:03 Stashed 1 file(s) [Pipeline] } 09:50:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 09:50:03 $ docker stop --time=1 289b63faaefe34873247bc9dc9b3be2c63bf792a400dadb160f704cc0c161647 09:50:05 $ docker rm -f 289b63faaefe34873247bc9dc9b3be2c63bf792a400dadb160f704cc0c161647 [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 09:50:05 provisioning config files... 09:50:05 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10499853819371029483tmp [Pipeline] { [Pipeline] sh 09:50:05 + set +x 09:50:05 + curl -s https://codecov.io/bash 09:50:05 + bash -s -- 09:50:05 09:50:05 _____ _ 09:50:05 / ____| | | 09:50:05 | | ___ __| | ___ ___ _____ __ 09:50:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:50:05 | |___| (_) | (_| | __/ (_| (_) \ V / 09:50:05 \_____\___/ \__,_|\___|\___\___/ \_/ 09:50:05 Bash-1.0.6 09:50:05 09:50:05 09:50:05 ==> git version 2.25.1 found 09:50:05 ==> 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 09:50:05 Release-Date: 2020-01-08 09:50:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:50:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:50:05 ==> Jenkins CI detected. 09:50:05 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 09:50:05 project root: . 09:50:05 --> token set from env 09:50:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:50:05 ==> Running gcov in . (disable via -X gcov) 09:50:06 ==> Python coveragepy not found 09:50:06 ==> Searching for coverage reports in: 09:50:06 + . 09:50:06 -> Found 1 reports 09:50:06 ==> Detecting git/mercurial file structure 09:50:06 ==> Reading reports 09:50:06 + ./coverage.out bytes=23241 09:50:06 ==> Appending adjustments 09:50:06 https://docs.codecov.io/docs/fixing-reports 09:50:06 + Found adjustments 09:50:06 ==> Gzipping contents 09:50:06 4.0K /tmp/codecov.8WyXRN.gz 09:50:06 ==> Uploading reports 09:50:06 url: https://codecov.io 09:50:06 query: branch=main&commit=d8591ecd48deb848f04d859b76795416a9cfa4fb&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:50:06 -> Pinging Codecov 09:50:06 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=d8591ecd48deb848f04d859b76795416a9cfa4fb&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:50:06 -> Uploading to 09:50:06 https://storage.googleapis.com/codecov/v4/raw/2022-11-03/55DBCA73C666E3227836607328DD7E49/d8591ecd48deb848f04d859b76795416a9cfa4fb/13069c5d-c77b-42e4-8f05-bbb4265a8567.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T095006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1115c29d12b86460fefb65a4ffd550c2729fc1ae05d2056da6cde2d13eb59505 09:50:06 % Total % Received % Xferd Average Speed Time Time Time Current 09:50:06 Dload Upload Total Spent Left Speed 09:50:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3923 0 0 100 3923 0 18246 --:--:-- --:--:-- --:--:-- 18246 09:50:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] } 09:50:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:50:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:50:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:50:07 09:50:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:50:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:50:07 df9b9388f04a: Pulling fs layer 09:50:07 52dc419b0ee2: Pulling fs layer 09:50:07 25bc292e5bac: Pulling fs layer 09:50:07 114826534d7a: Pulling fs layer 09:50:07 4657fd5d0bcf: Pulling fs layer 09:50:07 6ad1cebc031e: Pulling fs layer 09:50:07 8a3aa393b2d8: Pulling fs layer 09:50:07 6ad1cebc031e: Waiting 09:50:07 8a3aa393b2d8: Waiting 09:50:07 114826534d7a: Waiting 09:50:07 25bc292e5bac: Verifying Checksum 09:50:07 25bc292e5bac: Download complete 09:50:07 52dc419b0ee2: Download complete 09:50:07 4657fd5d0bcf: Download complete 09:50:07 df9b9388f04a: Verifying Checksum 09:50:07 df9b9388f04a: Download complete 09:50:07 df9b9388f04a: Pull complete 09:50:07 6ad1cebc031e: Verifying Checksum 09:50:07 6ad1cebc031e: Download complete 09:50:07 52dc419b0ee2: Pull complete 09:50:07 25bc292e5bac: Pull complete 09:50:08 114826534d7a: Verifying Checksum 09:50:08 114826534d7a: Download complete 09:50:08 8a3aa393b2d8: Verifying Checksum 09:50:08 8a3aa393b2d8: Download complete 09:50:11 114826534d7a: Pull complete 09:50:11 4657fd5d0bcf: Pull complete 09:50:11 6ad1cebc031e: Pull complete 09:50:14 8a3aa393b2d8: Pull complete 09:50:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:50:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:50:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:14 prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container 09:50:14 $ 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 09:50:18 $ docker top c688444e023918fae6085d90335aaca42e08458aca1bd97bc927e403113f4f64 -eo pid,comm [Pipeline] { [Pipeline] echo 09:50:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 09:50:18 + set -o pipefail 09:50:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 09:50:23 09:50:23 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 09:50:23 09:50:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/fd775677-3f47-4367-b7ae-6b69163f445f 09:50:23 09:50:23 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 09:50:23 09:50:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:50:23 09:50:23 09:50:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:50:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:50:23 More details here: https://snyk.co/ue1NS [Pipeline] } 09:50:23 $ docker stop --time=1 c688444e023918fae6085d90335aaca42e08458aca1bd97bc927e403113f4f64 09:50:27 $ docker rm -f c688444e023918fae6085d90335aaca42e08458aca1bd97bc927e403113f4f64 [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 09:50:27 + git log --format=format:%s -1 d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] sh 09:50:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:50:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:50:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:28 prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container 09:50:28 $ 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 09:50:28 $ docker top a2fb6d9b26cdbd109faa20349a88958b1dbbf43824b1f5dc3d242e5254d72b43 -eo pid,comm 09:50:28 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). 09:50:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:50:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:50:28 [ssh-agent] Looking for ssh-agent implementation... 09:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:50:29 $ docker exec a2fb6d9b26cdbd109faa20349a88958b1dbbf43824b1f5dc3d242e5254d72b43 ssh-agent 09:50:29 SSH_AUTH_SOCK=/tmp/ssh-RsZmMQLYPnkS/agent.31 09:50:29 SSH_AGENT_PID=37 09:50:29 Running ssh-add (command line suppressed) 09:50:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15085230138266304546.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15085230138266304546.key) 09:50:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:50:29 + git semver tag 09:50:29 2022-11-03 09:50:29,695 [run_tag] DEBUG tag force:False 09:50:29 2022-11-03 09:50:29,696 [check_head_tag] DEBUG check head tag 09:50:29 2022-11-03 09:50:29,696 [execute] INFO git cat-file --batch-check 09:50:29 2022-11-03 09:50:29,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 09:50:29 2022-11-03 09:50:29,700 [execute] INFO git cat-file --batch 09:50:29 2022-11-03 09:50:29,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 09:50:29 2022-11-03 09:50:29,715 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:50:29 2022-11-03 09:50:29,716 [execute] INFO git tag -a v2.3.0-dev.23 -m v2.3.0-dev.23 09:50:29 2022-11-03 09:50:29,716 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.23', '-m', 'v2.3.0-dev.23'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 09:50:29 2022-11-03 09:50:29,720 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:50:29 2.3.0-dev.23 [Pipeline] } 09:50:29 $ docker exec --env ******** --env ******** a2fb6d9b26cdbd109faa20349a88958b1dbbf43824b1f5dc3d242e5254d72b43 ssh-agent -k 09:50:29 unset SSH_AUTH_SOCK; 09:50:29 unset SSH_AGENT_PID; 09:50:29 echo Agent pid 37 killed; 09:50:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:50:30 + git semver [Pipeline] } 09:50:30 $ docker stop --time=1 a2fb6d9b26cdbd109faa20349a88958b1dbbf43824b1f5dc3d242e5254d72b43 09:50:31 $ docker rm -f a2fb6d9b26cdbd109faa20349a88958b1dbbf43824b1f5dc3d242e5254d72b43 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:50:32 09:50:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:50:32 0.23.1-centos7: Pulling from edgex-lftools 09:50:32 ab5ef0e58194: Pulling fs layer 09:50:32 9712f1f96733: Pulling fs layer 09:50:32 63f879dbbcfc: Pulling fs layer 09:50:32 0d9ebad4ef96: Pulling fs layer 09:50:32 e9a5061849ea: Pulling fs layer 09:50:32 0d9ebad4ef96: Waiting 09:50:32 e9a5061849ea: Waiting 09:50:32 d747dcd14b5f: Pulling fs layer 09:50:32 2de7ff778b66: Pulling fs layer 09:50:32 2de7ff778b66: Waiting 09:50:32 d747dcd14b5f: Waiting 09:50:32 9712f1f96733: Verifying Checksum 09:50:32 9712f1f96733: Download complete 09:50:32 63f879dbbcfc: Verifying Checksum 09:50:32 63f879dbbcfc: Download complete 09:50:32 0d9ebad4ef96: Verifying Checksum 09:50:32 0d9ebad4ef96: Download complete 09:50:32 e9a5061849ea: Verifying Checksum 09:50:32 e9a5061849ea: Download complete 09:50:32 d747dcd14b5f: Download complete 09:50:32 ab5ef0e58194: Verifying Checksum 09:50:32 ab5ef0e58194: Download complete 09:50:32 2de7ff778b66: Verifying Checksum 09:50:32 2de7ff778b66: Download complete 09:50:35 ab5ef0e58194: Pull complete 09:50:35 9712f1f96733: Pull complete 09:50:36 63f879dbbcfc: Pull complete 09:50:40 0d9ebad4ef96: Pull complete 09:50:40 e9a5061849ea: Pull complete 09:50:40 d747dcd14b5f: Pull complete 09:50:41 2de7ff778b66: Pull complete 09:50:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:50:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:50:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:41 prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container 09:50:41 $ 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 09:50:45 $ docker top e1793c4a7c822b1bd9e0258e5eab34c786779fa0406d376c6ad289c21f83b909 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:50:45 provisioning config files... 09:50:45 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14568663996568174446tmp 09:50:45 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16108630249466553596tmp 09:50:45 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10543179740692114989tmp [Pipeline] { [Pipeline] echo 09:50:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:50:45 ---> sigul-configuration.sh 09:50:45 gpg: directory `/root/.gnupg' created 09:50:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:50:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:50:45 gpg: keyring `/root/.gnupg/secring.gpg' created 09:50:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:50:45 gpg: CAST5 encrypted data 09:50:45 gpg: encrypted with 1 passphrase 09:50:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:50:46 + mkdir /home/jenkins 09:50:46 + mkdir /home/jenkins/sigul [Pipeline] sh 09:50:46 + 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 09:50:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:50:46 ---> sigul-install.sh 09:50:46 Sigul already installed; skipping installation. [Pipeline] sh 09:50:46 + git tag --list 09:50:46 0.7.1 09:50:46 v1.0.0 09:50:46 v1.1.0 09:50:46 v1.1.1 09:50:46 v1.2.2 09:50:46 v1.3.0 09:50:46 v1.3.1 09:50:46 v2.0.0 09:50:46 v2.1.0 09:50:46 v2.1.1 09:50:46 v2.1.1-dev.1 09:50:46 v2.1.1-dev.2 09:50:46 v2.1.1-dev.3 09:50:46 v2.2.0 09:50:46 v2.2.1-dev.1 09:50:46 v2.2.1-dev.2 09:50:46 v2.2.1-dev.3 09:50:46 v2.2.1-dev.4 09:50:46 v2.2.1-dev.5 09:50:46 v2.2.1-dev.6 09:50:46 v2.2.1-dev.7 09:50:46 v2.3.0-dev.10 09:50:46 v2.3.0-dev.11 09:50:46 v2.3.0-dev.12 09:50:46 v2.3.0-dev.13 09:50:46 v2.3.0-dev.14 09:50:46 v2.3.0-dev.15 09:50:46 v2.3.0-dev.16 09:50:46 v2.3.0-dev.17 09:50:46 v2.3.0-dev.18 09:50:46 v2.3.0-dev.19 09:50:46 v2.3.0-dev.20 09:50:46 v2.3.0-dev.21 09:50:46 v2.3.0-dev.22 09:50:46 v2.3.0-dev.23 09:50:46 v2.3.0-dev.7 09:50:46 v2.3.0-dev.8 09:50:46 v2.3.0-dev.9 [Pipeline] sh 09:50:47 + lftools sign git-tag v2.3.0-dev.23 09:50:47 Signing Git tag with Sigul... 09:50:47 Signing v2.3.0-dev.23 [Pipeline] echo 09:50:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:50:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:50:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:50:48 $ docker stop --time=1 e1793c4a7c822b1bd9e0258e5eab34c786779fa0406d376c6ad289c21f83b909 09:50:49 $ docker rm -f e1793c4a7c822b1bd9e0258e5eab34c786779fa0406d376c6ad289c21f83b909 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:50:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:50:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:50:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:50 prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container 09:50:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:50:50 $ docker top 2c12f1e4a126d2655aae9b3dc12f5d13ce7e612a9d1df6bb60c67cb1f7bf779c -eo pid,comm 09:50:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:50:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:50:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:50:50 [ssh-agent] Looking for ssh-agent implementation... 09:50:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:50:51 $ docker exec 2c12f1e4a126d2655aae9b3dc12f5d13ce7e612a9d1df6bb60c67cb1f7bf779c ssh-agent 09:50:51 SSH_AUTH_SOCK=/tmp/ssh-xkato5npEV03/agent.32 09:50:51 SSH_AGENT_PID=38 09:50:51 Running ssh-add (command line suppressed) 09:50:51 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14911981612865434066.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14911981612865434066.key) 09:50:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:50:51 + git semver bump pre 09:50:51 2022-11-03 09:50:51,788 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:50:51 2022-11-03 09:50:51,788 [bump_version] DEBUG bumping version:2.3.0-dev.23 on axis:pre with prefix:dev 09:50:51 2022-11-03 09:50:51,788 [bump_version] DEBUG bumped version:2.3.0-dev.24 09:50:51 2022-11-03 09:50:51,788 [write_version] DEBUG write version:2.3.0-dev.24 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 09:50:51 2022-11-03 09:50:51,788 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:50:51 2022-11-03 09:50:51,788 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:50:51 2022-11-03 09:50:51,791 [execute] INFO git cat-file --batch-check 09:50:51 2022-11-03 09:50:51,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:50:51 2022-11-03 09:50:51,797 [execute] INFO git cat-file --batch 09:50:51 2022-11-03 09:50:51,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:50:51 2022-11-03 09:50:51,802 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:50:51 2.3.0-dev.24 [Pipeline] } 09:50:51 $ docker exec --env ******** --env ******** 2c12f1e4a126d2655aae9b3dc12f5d13ce7e612a9d1df6bb60c67cb1f7bf779c ssh-agent -k 09:50:51 unset SSH_AUTH_SOCK; 09:50:51 unset SSH_AGENT_PID; 09:50:51 echo Agent pid 38 killed; 09:50:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:50:52 + git semver [Pipeline] } 09:50:52 $ docker stop --time=1 2c12f1e4a126d2655aae9b3dc12f5d13ce7e612a9d1df6bb60c67cb1f7bf779c 09:50:53 $ docker rm -f 2c12f1e4a126d2655aae9b3dc12f5d13ce7e612a9d1df6bb60c67cb1f7bf779c [Pipeline] // withDockerContainer [Pipeline] sh 09:50:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:50:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:50:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:54 prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container 09:50:54 $ 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 09:50:54 $ docker top 48b885bc07a359f9392f6864251ce5035f7cdf7e9ed6b82da9438f183f17e487 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:50:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:50:55 [ssh-agent] Looking for ssh-agent implementation... 09:50:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:50:55 $ docker exec 48b885bc07a359f9392f6864251ce5035f7cdf7e9ed6b82da9438f183f17e487 ssh-agent 09:50:55 SSH_AUTH_SOCK=/tmp/ssh-esLwZeFVJq0K/agent.32 09:50:55 SSH_AGENT_PID=38 09:50:55 Running ssh-add (command line suppressed) 09:50:55 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16835614325192995438.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16835614325192995438.key) 09:50:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:50:55 + git semver push 09:50:55 2022-11-03 09:50:55,815 [run_push] DEBUG push 09:50:55 2022-11-03 09:50:55,816 [execute] INFO git cat-file --batch-check 09:50:55 2022-11-03 09:50:55,816 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:50:55 2022-11-03 09:50:55,819 [execute] INFO git rev-list 1a9b89bdd3f5d31dbc78dbb1d9fb67fc4f759f0d -- 09:50:55 2022-11-03 09:50:55,819 [execute] DEBUG Popen(['git', 'rev-list', '1a9b89bdd3f5d31dbc78dbb1d9fb67fc4f759f0d', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:50:55 2022-11-03 09:50:55,827 [execute] INFO git fetch -v origin 09:50:55 2022-11-03 09:50:55,827 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:50:56 2022-11-03 09:50:56,442 [run_push] DEBUG no remote changes detected 09:50:56 2022-11-03 09:50:56,442 [execute] INFO git push origin semver 09:50:56 2022-11-03 09:50:56,442 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:50:57 2022-11-03 09:50:57,272 [run_push] DEBUG push all version tags 09:50:57 2022-11-03 09:50:57,272 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:50:57 2022-11-03 09:50:57,273 [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) 09:50:58 2022-11-03 09:50:58,265 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:50:58 2.3.0-dev.24 [Pipeline] } 09:50:58 $ docker exec --env ******** --env ******** 48b885bc07a359f9392f6864251ce5035f7cdf7e9ed6b82da9438f183f17e487 ssh-agent -k 09:50:58 unset SSH_AUTH_SOCK; 09:50:58 unset SSH_AGENT_PID; 09:50:58 echo Agent pid 38 killed; 09:50:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:50:58 + git semver [Pipeline] } 09:50:59 $ docker stop --time=1 48b885bc07a359f9392f6864251ce5035f7cdf7e9ed6b82da9438f183f17e487 09:51:00 $ docker rm -f 48b885bc07a359f9392f6864251ce5035f7cdf7e9ed6b82da9438f183f17e487 [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 09:51:00 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 09:51:00 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 09:51:00 total 16 09:51:00 drwxr-xr-x 3 root root 4096 Nov 3 09:41 . 09:51:00 drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 09:50 .. 09:51:00 drwxr-xr-x 2 root root 4096 Nov 3 09:41 cost 09:51:00 -rw-r--r-- 1 root root 87 Nov 3 09:41 cost.csv 09:51:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 09:51:00 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 09:51:00 total 16 09:51:00 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:41 . 09:51:00 drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 09:50 .. 09:51:00 drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 09:41 cost 09:51:00 -rw-r--r-- 1 jenkins jenkins 87 Nov 3 09:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:51:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:51:01 ---> package-listing.sh 09:51:01 ++ facter osfamily 09:51:01 ++ tr '[:upper:]' '[:lower:]' 09:51:02 + OS_FAMILY=debian 09:51:02 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 09:51:02 + START_PACKAGES=/tmp/packages_start.txt 09:51:02 + END_PACKAGES=/tmp/packages_end.txt 09:51:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:51:02 + PACKAGES=/tmp/packages_start.txt 09:51:02 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:51:02 + PACKAGES=/tmp/packages_end.txt 09:51:02 + case "${OS_FAMILY}" in 09:51:02 + dpkg -l 09:51:02 + grep '^ii' 09:51:02 + '[' -f /tmp/packages_start.txt ']' 09:51:02 + '[' -f /tmp/packages_end.txt ']' 09:51:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:51:02 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:51:02 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 09:51:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 09:51:02 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 09:51:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:51:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:51:03 prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container 09:51:03 $ 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 09:51:03 $ docker top 8164ccab61f3ed60af9db5e3f4ead1f97355b49ca58eb2bfb365d6e57a510228 -eo pid,comm [Pipeline] { [Pipeline] sh 09:51:03 + touch /tmp/pre-build-complete [Pipeline] sh 09:51:04 + mkdir -p /var/log/sysstat [Pipeline] sh 09:51:04 + ls /var/log/sa-host 09:51:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:51:04 provisioning config files... 09:51:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13304610318771613522tmp [Pipeline] { [Pipeline] echo 09:51:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:51:04 ---> create-netrc.sh [Pipeline] } 09:51:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:51:05 ---> python-tools-install.sh [Pipeline] echo 09:51:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:51:05 ---> sudo-logs.sh 09:51:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:51:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:51:05 ---> job-cost.sh 09:51:05 lf-activate-venv: SKIPPING 09:51:05 DEBUG: total: 0.2199999988079071 09:51:05 INFO: Retrieving Stack Cost... 09:51:05 INFO: Retrieving Pricing Info for: v3-standard-8 09:51:06 INFO: Archiving Costs [Pipeline] echo 09:51:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:51:06 ---> logs-deploy.sh 09:51:06 lf-activate-venv: SKIPPING 09:51:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/63 09:51:06 INFO: archiving workspace using pattern(s): 09:51:08 Archives upload complete. 09:51:08 INFO: archiving logs to Nexus