Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d7835794e341370cec95aed23fbbbaeab5e4af25 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-ssh8532048227927490405.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-ssh6665279473430911290.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-ssh11229892245357086642.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-ssh15751158950186462492.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-ssh6553675199887106049.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118472 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 d7835794e341370cec95aed23fbbbaeab5e4af25 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#389)" > 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 d7835794e341370cec95aed23fbbbaeab5e4af25 # timeout=10 > git rev-list --no-walk d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:29:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:29:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:29:38 ========================================================= 17:29:38 EdgeX Global Pipelines Version Info 17:29:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:29:38 ------------------- 17:29:38 stable info: 17:29:38 ------------------- 17:29:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:29:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:29:38 Message: update stable to v1.0.244 17:29:39 ------------------- 17:29:39 experimental info: 17:29:39 ------------------- 17:29:39 Commited By: **** collab-it+edgex@linuxfoundation.org 17:29:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:29:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7835794e341370cec95aed23fbbbaeab5e4af25 [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d783579 [Pipeline] echo 17:29:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:40 provisioning config files... 17:29:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11120792432576394915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:40 ---> docker-login.sh 17:29:40 nexus3.edgexfoundry.org:10001 17:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:40 Configure a credential helper to remove this warning. See 17:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:40 17:29:40 Login Succeeded 17:29:40 nexus3.edgexfoundry.org:10002 17:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:40 Configure a credential helper to remove this warning. See 17:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:40 17:29:40 Login Succeeded 17:29:40 nexus3.edgexfoundry.org:10003 17:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:40 Configure a credential helper to remove this warning. See 17:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:40 17:29:40 Login Succeeded 17:29:40 nexus3.edgexfoundry.org:10004 17:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:40 Configure a credential helper to remove this warning. See 17:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:40 17:29:40 Login Succeeded 17:29:40 docker.io 17:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:41 Configure a credential helper to remove this warning. See 17:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:41 17:29:41 Login Succeeded 17:29:41 ---> docker-login.sh ends [Pipeline] } 17:29:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:29:41 + git rev-list -1 --merges d7835794e341370cec95aed23fbbbaeab5e4af25~1..d7835794e341370cec95aed23fbbbaeab5e4af25 [Pipeline] echo 17:29:41 -----------> git rev-list -1 --merges d7835794e341370cec95aed23fbbbaeab5e4af25~1..d7835794e341370cec95aed23fbbbaeab5e4af25 d7835794e341370cec95aed23fbbbaeab5e4af25 [false] [Pipeline] sh 17:29:42 + git log --format=format:%s -1 d7835794e341370cec95aed23fbbbaeab5e4af25 [Pipeline] echo 17:29:42 ========================================================= 17:29:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:29:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:42 + git log --format=format:%s -1 d7835794e341370cec95aed23fbbbaeab5e4af25 [Pipeline] echo 17:29:42 [semverPrep] GIT_COMMIT: d7835794e341370cec95aed23fbbbaeab5e4af25, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#389) [Pipeline] echo 17:29:42 [semverPrep] This is not a build commit. [Pipeline] sh 17:29:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:29:42 + grep -v github /etc/ssh/ssh_known_hosts 17:29:42 + [ -e /tmp/ssh_known_hosts ] 17:29:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:29:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:29:42 + sudo tee -a /etc/ssh/ssh_known_hosts 17:29:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:43 17:29:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:43 0.1.4: Pulling from edgex-devops/py-git-semver 17:29:43 b85a868b505f: Pulling fs layer 17:29:43 e2be974225ed: Pulling fs layer 17:29:43 339a4e72a1f5: Pulling fs layer 17:29:43 988bab9f4d93: Pulling fs layer 17:29:43 1469e6f7b9e6: Pulling fs layer 17:29:43 eaf3925da568: Pulling fs layer 17:29:43 bab4dde63d76: Pulling fs layer 17:29:43 bde34c3a00c8: Pulling fs layer 17:29:43 b352a97aabf1: Pulling fs layer 17:29:43 4872d77fe225: Pulling fs layer 17:29:43 5851b861e8e6: Pulling fs layer 17:29:43 4872d77fe225: Waiting 17:29:43 988bab9f4d93: Waiting 17:29:43 1469e6f7b9e6: Waiting 17:29:43 eaf3925da568: Waiting 17:29:43 bab4dde63d76: Waiting 17:29:43 bde34c3a00c8: Waiting 17:29:43 b352a97aabf1: Waiting 17:29:43 e2be974225ed: Download complete 17:29:43 988bab9f4d93: Verifying Checksum 17:29:43 988bab9f4d93: Download complete 17:29:43 1469e6f7b9e6: Verifying Checksum 17:29:43 1469e6f7b9e6: Download complete 17:29:43 eaf3925da568: Verifying Checksum 17:29:43 eaf3925da568: Download complete 17:29:43 339a4e72a1f5: Verifying Checksum 17:29:43 339a4e72a1f5: Download complete 17:29:43 bde34c3a00c8: Verifying Checksum 17:29:43 bde34c3a00c8: Download complete 17:29:43 b352a97aabf1: Download complete 17:29:43 4872d77fe225: Download complete 17:29:43 5851b861e8e6: Verifying Checksum 17:29:43 5851b861e8e6: Download complete 17:29:44 b85a868b505f: Verifying Checksum 17:29:44 b85a868b505f: Download complete 17:29:44 bab4dde63d76: Verifying Checksum 17:29:44 bab4dde63d76: Download complete 17:29:45 b85a868b505f: Pull complete 17:29:45 e2be974225ed: Pull complete 17:29:45 339a4e72a1f5: Pull complete 17:29:45 988bab9f4d93: Pull complete 17:29:46 1469e6f7b9e6: Pull complete 17:29:46 eaf3925da568: Pull complete 17:29:47 bab4dde63d76: Pull complete 17:29:47 bde34c3a00c8: Pull complete 17:29:47 b352a97aabf1: Pull complete 17:29:47 4872d77fe225: Pull complete 17:29:48 5851b861e8e6: Pull complete 17:29:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:29:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:48 prd-ubuntu20.04-docker-8c-8g-118472 does not seem to be running inside a container 17:29:48 $ 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 17:29:49 $ docker top 9f55acc8866a29a69dba9020b356abc2283f72912830c8446137a4d30157d672 -eo pid,comm 17:29:49 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). 17:29:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:29:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:49 [ssh-agent] Looking for ssh-agent implementation... 17:29:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:49 $ docker exec 9f55acc8866a29a69dba9020b356abc2283f72912830c8446137a4d30157d672 ssh-agent 17:29:49 SSH_AUTH_SOCK=/tmp/ssh-72tTwdYRyBrn/agent.32 17:29:49 SSH_AGENT_PID=39 17:29:49 Running ssh-add (command line suppressed) 17:29:49 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11972197283327475585.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11972197283327475585.key) 17:29:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:50 + git tag --points-at HEAD [Pipeline] } 17:29:50 $ docker exec --env ******** --env ******** 9f55acc8866a29a69dba9020b356abc2283f72912830c8446137a4d30157d672 ssh-agent -k 17:29:50 unset SSH_AUTH_SOCK; 17:29:50 unset SSH_AGENT_PID; 17:29:50 echo Agent pid 39 killed; 17:29:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:29:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:50 [ssh-agent] Looking for ssh-agent implementation... 17:29:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:50 $ docker exec 9f55acc8866a29a69dba9020b356abc2283f72912830c8446137a4d30157d672 ssh-agent 17:29:50 SSH_AUTH_SOCK=/tmp/ssh-v8OR4Lx6RBFV/agent.71 17:29:50 SSH_AGENT_PID=78 17:29:50 Running ssh-add (command line suppressed) 17:29:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2416378764309068764.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2416378764309068764.key) 17:29:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:51 + git semver init 17:29:51 2022-11-07 17:29:51,267 [run_init] DEBUG init version:0.0.0 force:False 17:29:51 2022-11-07 17:29:51,268 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 17:29:51 2022-11-07 17:29:51,268 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 17:29:51 2022-11-07 17:29:51,268 [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) 17:29:52 2022-11-07 17:29:52,183 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 17:29:52 2022-11-07 17:29:52,183 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 17:29:52 2022-11-07 17:29:52,183 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:29:52 2022-11-07 17:29:52,184 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:29:52 2.3.0-dev.24 [Pipeline] } 17:29:52 $ docker exec --env ******** --env ******** 9f55acc8866a29a69dba9020b356abc2283f72912830c8446137a4d30157d672 ssh-agent -k 17:29:52 unset SSH_AUTH_SOCK; 17:29:52 unset SSH_AGENT_PID; 17:29:52 echo Agent pid 78 killed; 17:29:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:29:52 + git semver [Pipeline] } 17:29:52 $ docker stop --time=1 9f55acc8866a29a69dba9020b356abc2283f72912830c8446137a4d30157d672 17:29:54 $ docker rm -f 9f55acc8866a29a69dba9020b356abc2283f72912830c8446137a4d30157d672 [Pipeline] // withDockerContainer [Pipeline] sh 17:29:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:29:54 Stashed 1 file(s) [Pipeline] echo 17:29:54 [edgeXSemver]: initialized semver on version 2.3.0-dev.24 [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 17:29:54 provisioning config files... 17:29:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config758357734600391962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:55 ---> docker-login.sh 17:29:55 nexus3.edgexfoundry.org:10001 17:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:55 Configure a credential helper to remove this warning. See 17:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:55 17:29:55 Login Succeeded 17:29:55 nexus3.edgexfoundry.org:10002 17:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:55 Configure a credential helper to remove this warning. See 17:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:55 17:29:55 Login Succeeded 17:29:55 nexus3.edgexfoundry.org:10003 17:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:55 Configure a credential helper to remove this warning. See 17:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:55 17:29:55 Login Succeeded 17:29:55 nexus3.edgexfoundry.org:10004 17:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:55 Configure a credential helper to remove this warning. See 17:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:55 17:29:55 Login Succeeded 17:29:55 docker.io 17:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:56 Configure a credential helper to remove this warning. See 17:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:56 17:29:56 Login Succeeded 17:29:56 ---> docker-login.sh ends [Pipeline] } 17:29:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:56 ========================================================= 17:29:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:29:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:56 + 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 . 17:29:56 Sending build context to Docker daemon 6.237MB 17:29:56 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:29:56 Step 2/10 : FROM ${BASE} AS builder 17:29:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:29:56 213ec9aee27d: Pulling fs layer 17:29:56 4583459ba037: Pulling fs layer 17:29:56 93c1e223e6f2: Pulling fs layer 17:29:56 53926ce57604: Pulling fs layer 17:29:56 21b2b0c7a3f4: Pulling fs layer 17:29:56 22ff95d597cd: Pulling fs layer 17:29:56 12d6caf4c0d1: Pulling fs layer 17:29:56 96b7cbca73a9: Pulling fs layer 17:29:56 a7acece74701: Pulling fs layer 17:29:56 22ff95d597cd: Waiting 17:29:56 12d6caf4c0d1: Waiting 17:29:56 96b7cbca73a9: Waiting 17:29:56 a7acece74701: Waiting 17:29:56 53926ce57604: Waiting 17:29:56 21b2b0c7a3f4: Waiting 17:29:56 93c1e223e6f2: Verifying Checksum 17:29:56 93c1e223e6f2: Download complete 17:29:56 4583459ba037: Verifying Checksum 17:29:56 4583459ba037: Download complete 17:29:56 21b2b0c7a3f4: Verifying Checksum 17:29:56 21b2b0c7a3f4: Download complete 17:29:56 22ff95d597cd: Verifying Checksum 17:29:56 22ff95d597cd: Download complete 17:29:56 213ec9aee27d: Verifying Checksum 17:29:56 12d6caf4c0d1: Verifying Checksum 17:29:56 12d6caf4c0d1: Download complete 17:29:56 213ec9aee27d: Pull complete 17:29:56 4583459ba037: Pull complete 17:29:56 93c1e223e6f2: Pull complete 17:29:57 a7acece74701: Verifying Checksum 17:29:57 a7acece74701: Download complete 17:29:57 53926ce57604: Verifying Checksum 17:29:57 53926ce57604: Download complete 17:29:57 96b7cbca73a9: Verifying Checksum 17:29:57 96b7cbca73a9: Download complete 17:30:01 53926ce57604: Pull complete 17:30:01 21b2b0c7a3f4: Pull complete 17:30:01 22ff95d597cd: Pull complete 17:30:01 12d6caf4c0d1: Pull complete 17:30:03 96b7cbca73a9: Pull complete 17:30:04 a7acece74701: Pull complete 17:30:04 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:30:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:30:04 ---> db6d94c90886 17:30:04 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:30:05 ---> Running in a00c3f50c477 17:30:05 Removing intermediate container a00c3f50c477 17:30:05 ---> 5530c44585e0 17:30:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:06 ---> Running in 3d8b85b69cbe 17:30:06 Removing intermediate container 3d8b85b69cbe 17:30:06 ---> 5ed4a547a789 17:30:06 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:30:06 ---> Running in 887d96ba4d2e 17:30:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:30:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:30:06 (1/8) Installing openssh-keygen (9.0_p1-r2) 17:30:06 (2/8) Installing libedit (20210910.3.1-r0) 17:30:06 (3/8) Installing openssh-client-common (9.0_p1-r2) 17:30:06 (4/8) Installing openssh-client-default (9.0_p1-r2) 17:30:06 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 17:30:06 (6/8) Installing openssh-server-common (9.0_p1-r2) 17:30:06 (7/8) Installing openssh-server (9.0_p1-r2) 17:30:06 (8/8) Installing openssh (9.0_p1-r2) 17:30:06 Executing busybox-1.35.0-r17.trigger 17:30:06 OK: 217 MiB in 59 packages 17:30:07 Removing intermediate container 887d96ba4d2e 17:30:07 ---> 20aad1a3ad44 17:30:07 Step 6/10 : WORKDIR /device-modbus-go 17:30:07 ---> Running in 07af96d05d5b 17:30:07 Removing intermediate container 07af96d05d5b 17:30:07 ---> 4f19dd3d08fc 17:30:07 Step 7/10 : COPY go.mod vendor* ./ 17:30:07 ---> 673ca8363305 17:30:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:07 ---> Running in 98c9c063f0f1 17:30:09 Still waiting to schedule task 17:30:09 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:30:25 Removing intermediate container 98c9c063f0f1 17:30:25 ---> 15c195ae122b 17:30:25 Step 9/10 : COPY . . 17:30:25 ---> 612805f7cb8f 17:30:25 Step 10/10 : RUN ${MAKE} 17:30:25 ---> Running in 2b4aa61bdb4c 17:30:25 noop 17:30:25 Removing intermediate container 2b4aa61bdb4c 17:30:25 ---> 6e3703606dcf 17:30:25 Successfully built 6e3703606dcf 17:30:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:26 + docker inspect -f . ci-base-image-x86_64 17:30:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:26 prd-ubuntu20.04-docker-8c-8g-118472 does not seem to be running inside a container 17:30:26 $ 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 17:30:26 $ docker top 23773cb145ebf1903c0b00f7f59945c4d5a615a5c55ba3f2196b3af02746bf3f -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:26 + go version 17:30:26 go version go1.18.7 linux/amd64 [Pipeline] } 17:30:26 $ docker stop --time=1 23773cb145ebf1903c0b00f7f59945c4d5a615a5c55ba3f2196b3af02746bf3f 17:30:28 $ docker rm -f 23773cb145ebf1903c0b00f7f59945c4d5a615a5c55ba3f2196b3af02746bf3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:28 + docker inspect -f . ci-base-image-x86_64 17:30:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:28 prd-ubuntu20.04-docker-8c-8g-118472 does not seem to be running inside a container 17:30:28 $ 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 17:30:29 $ docker top e8efd35adf250c3cd4ba51296fb01c359312e99081ed57b04d31235a238fc873 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 17:30:29 + make test 17:30:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:30:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:30:39 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:30:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements 17:30:45 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." 17:30:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:30:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:30:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:30:48 ./bin/test-attribution-txt.sh [Pipeline] echo 17:30:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:30:48 $ docker stop --time=1 e8efd35adf250c3cd4ba51296fb01c359312e99081ed57b04d31235a238fc873 17:30:50 $ docker rm -f e8efd35adf250c3cd4ba51296fb01c359312e99081ed57b04d31235a238fc873 [Pipeline] // withDockerContainer [Pipeline] sh 17:30:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:30:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:30:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:51 + ls -al . 17:30:51 total 196 17:30:51 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 17:30 . 17:30:51 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:29 .. 17:30:51 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:29 .dockerignore 17:30:51 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:30 .git 17:30:51 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:29 .github 17:30:51 -rw-rw-r-- 1 jenkins jenkins 331 Nov 7 17:29 .gitignore 17:30:51 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:29 .golangci.yml 17:30:51 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:29 .semver 17:30:51 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 7 17:29 Attribution.txt 17:30:51 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 7 17:29 CHANGELOG.md 17:30:51 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 7 17:29 Dockerfile 17:30:51 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:29 GOVERNANCE.md 17:30:51 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 17:29 Jenkinsfile 17:30:51 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:29 LICENSE 17:30:51 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 7 17:29 Makefile 17:30:51 -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 17:29 OWNERS.md 17:30:51 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 7 17:29 README.md 17:30:51 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 17:29 VERSION 17:30:51 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:29 bin 17:30:51 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:29 cmd 17:30:51 -rw-r--r-- 1 jenkins jenkins 23241 Nov 7 17:30 coverage.out 17:30:51 -rw-rw-r-- 1 jenkins jenkins 3625 Nov 7 17:29 go.mod 17:30:51 -rw-rw-r-- 1 jenkins jenkins 45295 Nov 7 17:29 go.sum 17:30:51 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:29 internal 17:30:51 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:29 simulator 17:30:51 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:29 snap 17:30:51 -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:51 + 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=d7835794e341370cec95aed23fbbbaeab5e4af25 --label arch=amd64 --label version=2.3.0-dev.24 . 17:30:51 Sending build context to Docker daemon 6.261MB 17:30:51 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 17:30:51 Step 2/22 : FROM ${BASE} AS builder 17:30:51 ---> 6e3703606dcf 17:30:51 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:30:51 ---> Running in 07428086b4d9 17:30:52 Removing intermediate container 07428086b4d9 17:30:52 ---> c589ba1203bb 17:30:52 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:52 ---> Running in b062b2524251 17:30:52 Removing intermediate container b062b2524251 17:30:52 ---> 81c15f182707 17:30:52 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:30:52 ---> Running in 57e2ebd2ddf4 17:30:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:30:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:30:53 OK: 217 MiB in 59 packages 17:30:53 Removing intermediate container 57e2ebd2ddf4 17:30:53 ---> 90e19cb0ce1b 17:30:53 Step 6/22 : WORKDIR /device-modbus-go 17:30:53 ---> Running in 4c253ed649fe 17:30:53 Removing intermediate container 4c253ed649fe 17:30:53 ---> 6b77080d1c9e 17:30:53 Step 7/22 : COPY go.mod vendor* ./ 17:30:53 ---> 40df411444ed 17:30:53 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:53 ---> Running in 1515482a788f 17:30:54 Removing intermediate container 1515482a788f 17:30:54 ---> 152298cfac32 17:30:54 Step 9/22 : COPY . . 17:30:54 ---> 707803ad69de 17:30:54 Step 10/22 : RUN ${MAKE} 17:30:54 ---> Running in e6b09c7cb56f 17:30:55 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 17:31:17 Removing intermediate container e6b09c7cb56f 17:31:17 ---> 28c6b7747416 17:31:17 Step 11/22 : FROM alpine:3.14 17:31:17 3.14: Pulling from library/alpine 17:31:17 c7ed990a2339: Pulling fs layer 17:31:17 c7ed990a2339: Verifying Checksum 17:31:17 c7ed990a2339: Download complete 17:31:17 c7ed990a2339: Pull complete 17:31:17 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 17:31:17 Status: Downloaded newer image for alpine:3.14 17:31:17 ---> dd53f409bf0b 17:31:17 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:31:17 ---> Running in 675d14a9752e 17:31:17 Removing intermediate container 675d14a9752e 17:31:17 ---> ffd19839f397 17:31:17 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 17:31:17 ---> Running in 63de19c6922d 17:31:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:31:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:31:17 (1/6) Installing dumb-init (1.2.5-r1) 17:31:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:31:17 (3/6) Installing libsodium (1.0.18-r0) 17:31:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:31:17 (5/6) Installing libzmq (4.3.4-r0) 17:31:17 (6/6) Installing zeromq (4.3.4-r0) 17:31:17 Executing busybox-1.33.1-r8.trigger 17:31:17 OK: 8 MiB in 20 packages 17:31:17 Removing intermediate container 63de19c6922d 17:31:17 ---> ffc4718e79f3 17:31:17 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:31:17 ---> 63c6269b2f7c 17:31:17 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:31:17 ---> 5eaa6602134f 17:31:17 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:31:18 ---> 6dac4ae60a87 17:31:18 Step 17/22 : EXPOSE 59901 17:31:18 ---> Running in 862f2fe6b2da 17:31:18 Removing intermediate container 862f2fe6b2da 17:31:18 ---> f07552536a1a 17:31:18 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:31:18 ---> Running in fe161502fc1e 17:31:18 Removing intermediate container fe161502fc1e 17:31:18 ---> f4b46711ba60 17:31:18 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:31:18 ---> Running in 3715dcb29f4c 17:31:18 Removing intermediate container 3715dcb29f4c 17:31:18 ---> dd2b682adf54 17:31:18 Step 20/22 : LABEL arch=amd64 17:31:18 ---> Running in 657d43ccab31 17:31:18 Removing intermediate container 657d43ccab31 17:31:18 ---> 1f8cd22e6a0d 17:31:18 Step 21/22 : LABEL git_sha=d7835794e341370cec95aed23fbbbaeab5e4af25 17:31:18 ---> Running in 64ad2329592c 17:31:18 Removing intermediate container 64ad2329592c 17:31:18 ---> 76c1fbec7cf6 17:31:18 Step 22/22 : LABEL version=2.3.0-dev.24 17:31:18 ---> Running in c4dd85317cf5 17:31:18 Removing intermediate container c4dd85317cf5 17:31:18 ---> 8ee5909293f5 17:31:18 [Warning] One or more build-args [ARCH] were not consumed 17:31:18 Successfully built 8ee5909293f5 17:31:18 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:19 provisioning config files... 17:31:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11724846159660656403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:19 ---> docker-login.sh 17:31:19 nexus3.edgexfoundry.org:10001 17:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:19 Configure a credential helper to remove this warning. See 17:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:19 17:31:19 Login Succeeded 17:31:19 nexus3.edgexfoundry.org:10002 17:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:19 Configure a credential helper to remove this warning. See 17:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:19 17:31:19 Login Succeeded 17:31:19 nexus3.edgexfoundry.org:10003 17:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:19 Configure a credential helper to remove this warning. See 17:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:19 17:31:19 Login Succeeded 17:31:19 nexus3.edgexfoundry.org:10004 17:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:19 Configure a credential helper to remove this warning. See 17:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:19 17:31:19 Login Succeeded 17:31:19 docker.io 17:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:20 Configure a credential helper to remove this warning. See 17:31:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:20 17:31:20 Login Succeeded 17:31:20 ---> docker-login.sh ends [Pipeline] } 17:31:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:31:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:31:20 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 17:31:20 d7835794e341370cec95aed23fbbbaeab5e4af25 17:31:20 latest 17:31:20 2.3.0-dev.24 17:31:20 d7835794e341370cec95aed23fbbbaeab5e4af25-2.3.0-dev.24 17:31:20 main 17:31:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:20 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d7835794e341370cec95aed23fbbbaeab5e4af25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d7835794e341370cec95aed23fbbbaeab5e4af25 17:31:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:31:20 e0513a338972: Preparing 17:31:20 25b54468a46f: Preparing 17:31:20 634e2d18ee42: Preparing 17:31:20 bb48eb16b334: Preparing 17:31:20 63493a9ab2d4: Preparing 17:31:20 63493a9ab2d4: Layer already exists 17:31:20 e0513a338972: Pushed 17:31:20 25b54468a46f: Pushed 17:31:21 bb48eb16b334: Pushed 17:31:23 634e2d18ee42: Pushed 17:31:23 d7835794e341370cec95aed23fbbbaeab5e4af25: digest: sha256:2916a2eb0096dbf310f0567c292285bbd8af8c28a095b3e61224e9d211256894 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:23 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 17:31:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:31:24 e0513a338972: Preparing 17:31:24 25b54468a46f: Preparing 17:31:24 634e2d18ee42: Preparing 17:31:24 bb48eb16b334: Preparing 17:31:24 63493a9ab2d4: Preparing 17:31:24 bb48eb16b334: Layer already exists 17:31:24 63493a9ab2d4: Layer already exists 17:31:24 25b54468a46f: Layer already exists 17:31:24 e0513a338972: Layer already exists 17:31:24 634e2d18ee42: Layer already exists 17:31:24 latest: digest: sha256:2916a2eb0096dbf310f0567c292285bbd8af8c28a095b3e61224e9d211256894 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:24 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.24 17:31:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:31:24 e0513a338972: Preparing 17:31:24 25b54468a46f: Preparing 17:31:24 634e2d18ee42: Preparing 17:31:24 bb48eb16b334: Preparing 17:31:24 63493a9ab2d4: Preparing 17:31:24 634e2d18ee42: Layer already exists 17:31:24 63493a9ab2d4: Layer already exists 17:31:24 e0513a338972: Layer already exists 17:31:24 25b54468a46f: Layer already exists 17:31:24 bb48eb16b334: Layer already exists 17:31:24 2.3.0-dev.24: digest: sha256:2916a2eb0096dbf310f0567c292285bbd8af8c28a095b3e61224e9d211256894 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d7835794e341370cec95aed23fbbbaeab5e4af25-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d7835794e341370cec95aed23fbbbaeab5e4af25-2.3.0-dev.24 17:31:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:31:25 e0513a338972: Preparing 17:31:25 25b54468a46f: Preparing 17:31:25 634e2d18ee42: Preparing 17:31:25 bb48eb16b334: Preparing 17:31:25 63493a9ab2d4: Preparing 17:31:25 63493a9ab2d4: Layer already exists 17:31:25 634e2d18ee42: Layer already exists 17:31:25 25b54468a46f: Layer already exists 17:31:25 bb48eb16b334: Layer already exists 17:31:25 e0513a338972: Layer already exists 17:31:25 d7835794e341370cec95aed23fbbbaeab5e4af25-2.3.0-dev.24: digest: sha256:2916a2eb0096dbf310f0567c292285bbd8af8c28a095b3e61224e9d211256894 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 17:31:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:31:26 e0513a338972: Preparing 17:31:26 25b54468a46f: Preparing 17:31:26 634e2d18ee42: Preparing 17:31:26 bb48eb16b334: Preparing 17:31:26 63493a9ab2d4: Preparing 17:31:26 e0513a338972: Layer already exists 17:31:26 25b54468a46f: Layer already exists 17:31:26 63493a9ab2d4: Layer already exists 17:31:26 634e2d18ee42: Layer already exists 17:31:26 bb48eb16b334: Layer already exists 17:31:26 main: digest: sha256:2916a2eb0096dbf310f0567c292285bbd8af8c28a095b3e61224e9d211256894 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:31:26 ===================================================== [Pipeline] echo 17:31:26 taggedImages: 17:31:26 - nexus3.edgexfoundry.org:10004/device-modbus:d7835794e341370cec95aed23fbbbaeab5e4af25 17:31:26 - nexus3.edgexfoundry.org:10004/device-modbus:latest 17:31:26 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.24 17:31:26 - nexus3.edgexfoundry.org:10004/device-modbus:d7835794e341370cec95aed23fbbbaeab5e4af25-2.3.0-dev.24 17:31:26 - 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 17:31:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:26 17:31:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:26 latest: Pulling from edgex-lftools-log-publisher 17:31:26 5eb5b503b376: Pulling fs layer 17:31:26 5c69ac0246d0: Pulling fs layer 17:31:26 ec43610c2a17: Pulling fs layer 17:31:26 3a2ae6a8a46f: Pulling fs layer 17:31:26 33b1e0a273af: Pulling fs layer 17:31:26 5d3b04190fa2: Pulling fs layer 17:31:26 3a2ae6a8a46f: Waiting 17:31:26 33b1e0a273af: Waiting 17:31:26 2f39f015ded8: Pulling fs layer 17:31:26 5d3b04190fa2: Waiting 17:31:26 2f39f015ded8: Waiting 17:31:26 5c69ac0246d0: Verifying Checksum 17:31:26 5c69ac0246d0: Download complete 17:31:26 3a2ae6a8a46f: Download complete 17:31:27 33b1e0a273af: Verifying Checksum 17:31:27 33b1e0a273af: Download complete 17:31:27 5d3b04190fa2: Download complete 17:31:27 ec43610c2a17: Verifying Checksum 17:31:27 ec43610c2a17: Download complete 17:31:27 5eb5b503b376: Verifying Checksum 17:31:27 5eb5b503b376: Download complete 17:31:27 2f39f015ded8: Download complete 17:31:28 5eb5b503b376: Pull complete 17:31:28 5c69ac0246d0: Pull complete 17:31:29 ec43610c2a17: Pull complete 17:31:29 3a2ae6a8a46f: Pull complete 17:31:29 33b1e0a273af: Pull complete 17:31:29 5d3b04190fa2: Pull complete 17:31:34 2f39f015ded8: Pull complete 17:31:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:34 prd-ubuntu20.04-docker-8c-8g-118472 does not seem to be running inside a container 17:31:34 $ 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 17:31:36 $ docker top a3a9f1fb3d83f4570d414559763a6c06d2963e29b3a95083fb1a8b59bd8bb73e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:36 ---> job-cost.sh 17:31:36 lf-activate-venv: SKIPPING 17:31:36 INFO: No Stack... 17:31:37 INFO: Retrieving Pricing Info for: v3-standard-8 17:31:37 INFO: Archiving Costs [Pipeline] sh 17:31:37 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 17:31:37 + cut -d, -f6 [Pipeline] lock 17:31:37 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-64-stack-cost] 17:31:37 Resource [jenkins-edgexfoundry-device-modbus-go-main-64-stack-cost] did not exist. Created. 17:31:37 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:31:38 + echo total: 0.2199999988079071 [Pipeline] stash 17:31:38 Stashed 1 file(s) [Pipeline] } 17:31:38 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } 17:31:38 $ docker stop --time=1 a3a9f1fb3d83f4570d414559763a6c06d2963e29b3a95083fb1a8b59bd8bb73e 17:31:39 $ docker rm -f a3a9f1fb3d83f4570d414559763a6c06d2963e29b3a95083fb1a8b59bd8bb73e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:32:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118475 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 17:32:10 Running in /w/workspace/device-modbus-go/64 [Pipeline] { [Pipeline] checkout 17:32:10 Selected Git installation does not exist. Using Default 17:32:10 The recommended git tool is: NONE 17:32:17 using credential edgex-jenkins-ssh 17:32:18 Cloning the remote Git repository 17:32:18 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:32:18 > git init /w/workspace/device-modbus-go/64 # timeout=10 17:32:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:32:18 > git --version # timeout=10 17:32:18 > git --version # 'git version 2.25.1' 17:32:18 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:18 Verifying host key using known hosts file 17:32:18 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. 17:32:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:32:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:21 Avoid second fetch 17:32:21 Checking out Revision d7835794e341370cec95aed23fbbbaeab5e4af25 (main) 17:32:21 > git config core.sparsecheckout # timeout=10 17:32:21 > git checkout -f d7835794e341370cec95aed23fbbbaeab5e4af25 # timeout=10 17:32:22 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#389)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:32:23 % Total % Received % Xferd Average Speed Time Time Time Current 17:32:23 Dload Upload Total Spent Left Speed 17:32:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 82366 0 --:--:-- --:--:-- --:--:-- 82366 [Pipeline] sh 17:32:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:32:24 + sudo tee /etc/docker/daemon.new 17:32:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:32:24 { 17:32:24 "registry-mirrors": [ 17:32:24 "https://nexus3.edgexfoundry.org:10001" 17:32:24 ], 17:32:24 "bip": "10.250.0.254/24", 17:32:24 "hosts": [ 17:32:24 "tcp://0.0.0.0:5555", 17:32:24 "unix:///var/run/docker.sock" 17:32:24 ], 17:32:24 "mtu": 1458, 17:32:24 "selinux-enabled": true, 17:32:24 "seccomp-profile": "/etc/docker/seccomp.json" 17:32:24 } [Pipeline] sh 17:32:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:32:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:47 provisioning config files... 17:32:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/64@tmp/config8189825544515606537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:47 ---> docker-login.sh 17:32:47 nexus3.edgexfoundry.org:10001 17:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:48 Configure a credential helper to remove this warning. See 17:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:48 17:32:48 Login Succeeded 17:32:48 nexus3.edgexfoundry.org:10002 17:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:49 Configure a credential helper to remove this warning. See 17:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:49 17:32:49 Login Succeeded 17:32:49 nexus3.edgexfoundry.org:10003 17:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:49 Configure a credential helper to remove this warning. See 17:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:49 17:32:49 Login Succeeded 17:32:49 nexus3.edgexfoundry.org:10004 17:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:49 Configure a credential helper to remove this warning. See 17:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:49 17:32:49 Login Succeeded 17:32:50 docker.io 17:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:50 Configure a credential helper to remove this warning. See 17:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:50 17:32:50 Login Succeeded 17:32:50 ---> docker-login.sh ends [Pipeline] } 17:32:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:50 ========================================================= 17:32:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:32:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:51 + 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 . 17:32:51 Sending build context to Docker daemon 3.248MB 17:32:51 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:32:51 Step 2/10 : FROM ${BASE} AS builder 17:32:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:32:51 9b18e9b68314: Pulling fs layer 17:32:51 35d82f9e3411: Pulling fs layer 17:32:51 e16973657156: Pulling fs layer 17:32:51 fc693d55d65f: Pulling fs layer 17:32:51 7e9fc2657dce: Pulling fs layer 17:32:51 dda99020689f: Pulling fs layer 17:32:51 db1c61fa0a46: Pulling fs layer 17:32:51 891c053d2c06: Pulling fs layer 17:32:51 fc693d55d65f: Waiting 17:32:51 7e9fc2657dce: Waiting 17:32:51 dda99020689f: Waiting 17:32:51 db1c61fa0a46: Waiting 17:32:51 891c053d2c06: Waiting 17:32:51 e16973657156: Verifying Checksum 17:32:51 e16973657156: Download complete 17:32:51 35d82f9e3411: Verifying Checksum 17:32:51 35d82f9e3411: Download complete 17:32:51 7e9fc2657dce: Verifying Checksum 17:32:51 7e9fc2657dce: Download complete 17:32:51 dda99020689f: Verifying Checksum 17:32:51 dda99020689f: Download complete 17:32:52 9b18e9b68314: Verifying Checksum 17:32:52 9b18e9b68314: Download complete 17:32:53 9b18e9b68314: Pull complete 17:32:53 891c053d2c06: Verifying Checksum 17:32:53 891c053d2c06: Download complete 17:32:53 35d82f9e3411: Pull complete 17:32:54 e16973657156: Pull complete 17:32:54 db1c61fa0a46: Verifying Checksum 17:32:54 db1c61fa0a46: Download complete 17:32:55 fc693d55d65f: Verifying Checksum 17:33:10 fc693d55d65f: Pull complete 17:33:10 7e9fc2657dce: Pull complete 17:33:10 dda99020689f: Pull complete 17:33:16 db1c61fa0a46: Pull complete 17:33:18 891c053d2c06: Pull complete 17:33:18 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:33:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:33:18 ---> f96f9c87975a 17:33:18 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:33:19 ---> Running in e33ec3b3372d 17:33:19 Removing intermediate container e33ec3b3372d 17:33:19 ---> 6d5a976ae98b 17:33:19 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:19 ---> Running in fa248faa7623 17:33:20 Removing intermediate container fa248faa7623 17:33:20 ---> 833acbf83192 17:33:20 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:33:20 ---> Running in 4ff5aeafddca 17:33:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:33:23 (1/8) Installing openssh-keygen (9.0_p1-r2) 17:33:23 (2/8) Installing libedit (20210910.3.1-r0) 17:33:23 (3/8) Installing openssh-client-common (9.0_p1-r2) 17:33:23 (4/8) Installing openssh-client-default (9.0_p1-r2) 17:33:23 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 17:33:23 (6/8) Installing openssh-server-common (9.0_p1-r2) 17:33:23 (7/8) Installing openssh-server (9.0_p1-r2) 17:33:23 (8/8) Installing openssh (9.0_p1-r2) 17:33:23 Executing busybox-1.35.0-r17.trigger 17:33:24 OK: 228 MiB in 59 packages 17:33:25 Removing intermediate container 4ff5aeafddca 17:33:25 ---> 5eb5f3050d07 17:33:25 Step 6/10 : WORKDIR /device-modbus-go 17:33:25 ---> Running in 453efac625b3 17:33:25 Removing intermediate container 453efac625b3 17:33:25 ---> 9021568f0a4c 17:33:25 Step 7/10 : COPY go.mod vendor* ./ 17:33:26 ---> 614d2c6733b6 17:33:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:26 ---> Running in 2d76a721e0cf 17:34:34 Removing intermediate container 2d76a721e0cf 17:34:34 ---> 5aec3b3f5923 17:34:34 Step 9/10 : COPY . . 17:34:34 ---> 34a85464da75 17:34:34 Step 10/10 : RUN ${MAKE} 17:34:34 ---> Running in ebdffbbd6cf2 17:34:34 noop 17:34:34 Removing intermediate container ebdffbbd6cf2 17:34:34 ---> 622b1a4b54e4 17:34:34 Successfully built 622b1a4b54e4 17:34:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:35 + docker inspect -f . ci-base-image-arm64 17:34:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:35 prd-ubuntu20.04-docker-arm64-4c-16g-118475 does not seem to be running inside a container 17:34:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/64 -v /w/workspace/device-modbus-go/64:/w/workspace/device-modbus-go/64:rw,z -v /w/workspace/device-modbus-go/64@tmp:/w/workspace/device-modbus-go/64@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 17:34:37 $ docker top 8e777d80d4f1ca89ae83ba3a3eeafad859d015132d2e732ded50f370695a6983 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:37 + go version 17:34:37 go version go1.18.7 linux/arm64 [Pipeline] } 17:34:37 $ docker stop --time=1 8e777d80d4f1ca89ae83ba3a3eeafad859d015132d2e732ded50f370695a6983 17:34:39 $ docker rm -f 8e777d80d4f1ca89ae83ba3a3eeafad859d015132d2e732ded50f370695a6983 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:40 + docker inspect -f . ci-base-image-arm64 17:34:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:40 prd-ubuntu20.04-docker-arm64-4c-16g-118475 does not seem to be running inside a container 17:34:40 $ 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/64 -v /w/workspace/device-modbus-go/64:/w/workspace/device-modbus-go/64:rw,z -v /w/workspace/device-modbus-go/64@tmp:/w/workspace/device-modbus-go/64@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 17:34:42 $ docker top 0704e94be02edc38f0e68a93d597047adc8f8dfbfcec5baf0339294bb7afcf72 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:43 + git config --global --add safe.directory /w/workspace/device-modbus-go/64 [Pipeline] fileExists [Pipeline] sh 17:34:43 + make test 17:34:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:34:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:36:52 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:36:52 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 47.7% of statements 17:36:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:36:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:37:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:37:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:37:24 ./bin/test-attribution-txt.sh [Pipeline] echo 17:37:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:37:24 $ docker stop --time=1 0704e94be02edc38f0e68a93d597047adc8f8dfbfcec5baf0339294bb7afcf72 17:37:27 $ docker rm -f 0704e94be02edc38f0e68a93d597047adc8f8dfbfcec5baf0339294bb7afcf72 [Pipeline] // withDockerContainer [Pipeline] sh 17:37:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:37:28 Warning: overwriting stash ‘coverage-report’ 17:37:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:37:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:37:29 + ls -al . 17:37:29 total 192 17:37:29 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 17:34 . 17:37:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:32 .. 17:37:29 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:32 .dockerignore 17:37:29 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:32 .git 17:37:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:32 .github 17:37:29 -rw-rw-r-- 1 jenkins jenkins 331 Nov 7 17:32 .gitignore 17:37:29 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:32 .golangci.yml 17:37:29 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 7 17:32 Attribution.txt 17:37:29 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 7 17:32 CHANGELOG.md 17:37:29 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 7 17:32 Dockerfile 17:37:29 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:32 GOVERNANCE.md 17:37:29 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 17:32 Jenkinsfile 17:37:29 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:32 LICENSE 17:37:29 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 7 17:32 Makefile 17:37:29 -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 17:32 OWNERS.md 17:37:29 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 7 17:32 README.md 17:37:29 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 17:29 VERSION 17:37:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:32 bin 17:37:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:32 cmd 17:37:29 -rw-r--r-- 1 jenkins jenkins 23241 Nov 7 17:36 coverage.out 17:37:29 -rw-rw-r-- 1 jenkins jenkins 3625 Nov 7 17:32 go.mod 17:37:29 -rw-rw-r-- 1 jenkins jenkins 45295 Nov 7 17:32 go.sum 17:37:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:32 internal 17:37:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:32 simulator 17:37:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:32 snap 17:37:29 -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:30 + 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=d7835794e341370cec95aed23fbbbaeab5e4af25 --label arch=arm64 --label version=2.3.0-dev.24 . 17:37:30 Sending build context to Docker daemon 3.272MB 17:37:30 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 17:37:30 Step 2/22 : FROM ${BASE} AS builder 17:37:30 ---> 622b1a4b54e4 17:37:30 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:37:31 ---> Running in 8bdf63c14591 17:37:32 Removing intermediate container 8bdf63c14591 17:37:32 ---> df43cb4f08b3 17:37:32 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:37:32 ---> Running in 569e44588a08 17:37:32 Removing intermediate container 569e44588a08 17:37:32 ---> 171a368d10b9 17:37:32 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:37:32 ---> Running in 77ef52ecf1d5 17:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:37:37 OK: 228 MiB in 59 packages 17:37:38 Removing intermediate container 77ef52ecf1d5 17:37:38 ---> 28b2871f201d 17:37:38 Step 6/22 : WORKDIR /device-modbus-go 17:37:38 ---> Running in 60dcc54f09c7 17:37:38 Removing intermediate container 60dcc54f09c7 17:37:38 ---> a29dbe388178 17:37:38 Step 7/22 : COPY go.mod vendor* ./ 17:37:39 ---> 4bbf0e764c9f 17:37:39 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:39 ---> Running in d90e5621d9e9 17:37:42 Removing intermediate container d90e5621d9e9 17:37:42 ---> a9455d3b9a0a 17:37:42 Step 9/22 : COPY . . 17:37:43 ---> 53598e4055ed 17:37:43 Step 10/22 : RUN ${MAKE} 17:37:43 ---> Running in cd62c8b063a1 17:37:44 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 17:40:36 Removing intermediate container cd62c8b063a1 17:40:36 ---> 47a1b762043c 17:40:36 Step 11/22 : FROM alpine:3.14 17:40:36 3.14: Pulling from library/alpine 17:40:36 90cda3b7c325: Pulling fs layer 17:40:36 90cda3b7c325: Download complete 17:40:36 90cda3b7c325: Pull complete 17:40:36 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 17:40:36 Status: Downloaded newer image for alpine:3.14 17:40:36 ---> 376ba31ae3da 17:40:36 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:40:36 ---> Running in 970210f841c7 17:40:36 Removing intermediate container 970210f841c7 17:40:36 ---> 937c728af41c 17:40:36 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 17:40:36 ---> Running in 21ac4ed03e3b 17:40:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:40:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:40:36 (1/6) Installing dumb-init (1.2.5-r1) 17:40:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:40:36 (3/6) Installing libsodium (1.0.18-r0) 17:40:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:40:36 (5/6) Installing libzmq (4.3.4-r0) 17:40:36 (6/6) Installing zeromq (4.3.4-r0) 17:40:36 Executing busybox-1.33.1-r8.trigger 17:40:36 OK: 8 MiB in 20 packages 17:40:36 Removing intermediate container 21ac4ed03e3b 17:40:36 ---> b96cdfe55822 17:40:36 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:40:36 ---> d9ca08cc0de6 17:40:36 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:40:36 ---> fd1a026d10cf 17:40:36 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:40:36 ---> 788641893346 17:40:36 Step 17/22 : EXPOSE 59901 17:40:36 ---> Running in 37f10d6f8c58 17:40:36 Removing intermediate container 37f10d6f8c58 17:40:36 ---> 4fe7109f3ba0 17:40:36 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:40:36 ---> Running in 45050bb5f081 17:40:36 Removing intermediate container 45050bb5f081 17:40:36 ---> d12ec27b172f 17:40:36 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:40:36 ---> Running in 660e182ba1e7 17:40:36 Removing intermediate container 660e182ba1e7 17:40:36 ---> b4b8d8e2ba5e 17:40:36 Step 20/22 : LABEL arch=arm64 17:40:36 ---> Running in 17d36f03ab81 17:40:36 Removing intermediate container 17d36f03ab81 17:40:36 ---> fc9fe98f918f 17:40:36 Step 21/22 : LABEL git_sha=d7835794e341370cec95aed23fbbbaeab5e4af25 17:40:36 ---> Running in 7aae040ffdcb 17:40:36 Removing intermediate container 7aae040ffdcb 17:40:36 ---> d42a2baad30d 17:40:36 Step 22/22 : LABEL version=2.3.0-dev.24 17:40:36 ---> Running in 0810de147d4d 17:40:37 Removing intermediate container 0810de147d4d 17:40:37 ---> b27747c24aec 17:40:37 [Warning] One or more build-args [ARCH] were not consumed 17:40:37 Successfully built b27747c24aec 17:40:37 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 17:40:37 provisioning config files... 17:40:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/64@tmp/config11760924903267305264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:40:37 ---> docker-login.sh 17:40:37 nexus3.edgexfoundry.org:10001 17:40:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:38 Configure a credential helper to remove this warning. See 17:40:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:38 17:40:38 Login Succeeded 17:40:38 nexus3.edgexfoundry.org:10002 17:40:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:38 Configure a credential helper to remove this warning. See 17:40:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:38 17:40:38 Login Succeeded 17:40:38 nexus3.edgexfoundry.org:10003 17:40:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:38 Configure a credential helper to remove this warning. See 17:40:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:38 17:40:38 Login Succeeded 17:40:38 nexus3.edgexfoundry.org:10004 17:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:39 Configure a credential helper to remove this warning. See 17:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:39 17:40:39 Login Succeeded 17:40:39 docker.io 17:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:40 Configure a credential helper to remove this warning. See 17:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:40 17:40:40 Login Succeeded 17:40:40 ---> docker-login.sh ends [Pipeline] } 17:40:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:40:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:40:40 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 17:40:40 d7835794e341370cec95aed23fbbbaeab5e4af25 17:40:40 latest 17:40:40 2.3.0-dev.24 17:40:40 d7835794e341370cec95aed23fbbbaeab5e4af25-2.3.0-dev.24 17:40:40 main 17:40:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7835794e341370cec95aed23fbbbaeab5e4af25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7835794e341370cec95aed23fbbbaeab5e4af25 17:40:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:40:41 af343d465f6e: Preparing 17:40:41 80598624de94: Preparing 17:40:41 b88dc9d1a5c8: Preparing 17:40:41 a89ac3086d5a: Preparing 17:40:41 28c3ef001483: Preparing 17:40:41 28c3ef001483: Layer already exists 17:40:41 af343d465f6e: Pushed 17:40:41 80598624de94: Pushed 17:40:41 a89ac3086d5a: Pushed 17:40:47 b88dc9d1a5c8: Pushed 17:40:47 d7835794e341370cec95aed23fbbbaeab5e4af25: digest: sha256:13d06bb58dd807bb5cbd6d47665c7eb90992445542cdbf3354f07e7d53a96fb7 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:47 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 17:40:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:40:47 af343d465f6e: Preparing 17:40:47 80598624de94: Preparing 17:40:47 b88dc9d1a5c8: Preparing 17:40:47 a89ac3086d5a: Preparing 17:40:47 28c3ef001483: Preparing 17:40:47 28c3ef001483: Layer already exists 17:40:47 af343d465f6e: Layer already exists 17:40:47 b88dc9d1a5c8: Layer already exists 17:40:47 a89ac3086d5a: Layer already exists 17:40:47 80598624de94: Layer already exists 17:40:48 latest: digest: sha256:13d06bb58dd807bb5cbd6d47665c7eb90992445542cdbf3354f07e7d53a96fb7 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:48 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.24 17:40:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:40:48 af343d465f6e: Preparing 17:40:48 80598624de94: Preparing 17:40:48 b88dc9d1a5c8: Preparing 17:40:48 a89ac3086d5a: Preparing 17:40:48 28c3ef001483: Preparing 17:40:48 28c3ef001483: Layer already exists 17:40:48 a89ac3086d5a: Layer already exists 17:40:48 b88dc9d1a5c8: Layer already exists 17:40:48 af343d465f6e: Layer already exists 17:40:48 80598624de94: Layer already exists 17:40:49 2.3.0-dev.24: digest: sha256:13d06bb58dd807bb5cbd6d47665c7eb90992445542cdbf3354f07e7d53a96fb7 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:49 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7835794e341370cec95aed23fbbbaeab5e4af25-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7835794e341370cec95aed23fbbbaeab5e4af25-2.3.0-dev.24 17:40:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:40:50 af343d465f6e: Preparing 17:40:50 80598624de94: Preparing 17:40:50 b88dc9d1a5c8: Preparing 17:40:50 a89ac3086d5a: Preparing 17:40:50 28c3ef001483: Preparing 17:40:50 a89ac3086d5a: Layer already exists 17:40:50 af343d465f6e: Layer already exists 17:40:50 b88dc9d1a5c8: Layer already exists 17:40:50 28c3ef001483: Layer already exists 17:40:50 80598624de94: Layer already exists 17:40:50 d7835794e341370cec95aed23fbbbaeab5e4af25-2.3.0-dev.24: digest: sha256:13d06bb58dd807bb5cbd6d47665c7eb90992445542cdbf3354f07e7d53a96fb7 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:50 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 17:40:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:40:50 af343d465f6e: Preparing 17:40:50 80598624de94: Preparing 17:40:50 b88dc9d1a5c8: Preparing 17:40:50 a89ac3086d5a: Preparing 17:40:50 28c3ef001483: Preparing 17:40:50 28c3ef001483: Layer already exists 17:40:50 a89ac3086d5a: Layer already exists 17:40:50 80598624de94: Layer already exists 17:40:50 af343d465f6e: Layer already exists 17:40:50 b88dc9d1a5c8: Layer already exists 17:40:51 main: digest: sha256:13d06bb58dd807bb5cbd6d47665c7eb90992445542cdbf3354f07e7d53a96fb7 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:40:51 ===================================================== [Pipeline] echo 17:40:51 taggedImages: 17:40:51 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7835794e341370cec95aed23fbbbaeab5e4af25 17:40:51 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 17:40:51 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.24 17:40:51 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7835794e341370cec95aed23fbbbaeab5e4af25-2.3.0-dev.24 17:40:51 - 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 17:40:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:51 17:40:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:51 arm64: Pulling from edgex-lftools-log-publisher 17:40:51 8998bd30e6a1: Pulling fs layer 17:40:51 04944245beec: Pulling fs layer 17:40:51 699f458cf7ca: Pulling fs layer 17:40:51 765212b225bb: Pulling fs layer 17:40:51 f23df028b6ca: Pulling fs layer 17:40:51 d65c8cfc05b1: Pulling fs layer 17:40:51 2437ff75d9bd: Pulling fs layer 17:40:51 765212b225bb: Waiting 17:40:51 d65c8cfc05b1: Waiting 17:40:51 f23df028b6ca: Waiting 17:40:51 2437ff75d9bd: Waiting 17:40:52 04944245beec: Verifying Checksum 17:40:52 04944245beec: Download complete 17:40:52 765212b225bb: Verifying Checksum 17:40:52 765212b225bb: Download complete 17:40:52 f23df028b6ca: Verifying Checksum 17:40:52 f23df028b6ca: Download complete 17:40:52 d65c8cfc05b1: Download complete 17:40:52 699f458cf7ca: Verifying Checksum 17:40:52 699f458cf7ca: Download complete 17:40:52 8998bd30e6a1: Verifying Checksum 17:40:52 8998bd30e6a1: Download complete 17:40:55 2437ff75d9bd: Verifying Checksum 17:40:55 2437ff75d9bd: Download complete 17:40:57 8998bd30e6a1: Pull complete 17:40:57 04944245beec: Pull complete 17:40:59 699f458cf7ca: Pull complete 17:40:59 765212b225bb: Pull complete 17:41:00 f23df028b6ca: Pull complete 17:41:00 d65c8cfc05b1: Pull complete 17:41:15 2437ff75d9bd: Pull complete 17:41:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:41:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:41:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:15 prd-ubuntu20.04-docker-arm64-4c-16g-118475 does not seem to be running inside a container 17:41:15 $ 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/64 -v /w/workspace/device-modbus-go/64:/w/workspace/device-modbus-go/64:rw,z -v /w/workspace/device-modbus-go/64@tmp:/w/workspace/device-modbus-go/64@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 17:41:18 $ docker top 3924b16cc370e0663a9e009fccb9b3d75eaa7e6c9011036e07c31c5ace484b1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:41:19 ---> job-cost.sh 17:41:19 lf-activate-venv: SKIPPING 17:41:19 INFO: No Stack... 17:41:21 INFO: Retrieving Pricing Info for: v3-standard-4 17:41:21 INFO: Archiving Costs [Pipeline] sh 17:41:22 + cat /w/workspace/device-modbus-go/64/archives/cost.csv 17:41:22 + cut -d, -f6 [Pipeline] lock 17:41:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-64-stack-cost] 17:41:22 Resource [jenkins-edgexfoundry-device-modbus-go-main-64-stack-cost] did not exist. Created. 17:41:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:41:22 /w/workspace/device-modbus-go/64@tmp/durable-97a27c86/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:41:23 + echo total: 0.10999999940395355 [Pipeline] stash 17:41:23 Warning: overwriting stash ‘stack-cost’ 17:41:23 Stashed 1 file(s) [Pipeline] } 17:41:23 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } 17:41:23 $ docker stop --time=1 3924b16cc370e0663a9e009fccb9b3d75eaa7e6c9011036e07c31c5ace484b1c 17:41:25 $ docker rm -f 3924b16cc370e0663a9e009fccb9b3d75eaa7e6c9011036e07c31c5ace484b1c [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 17:41:25 provisioning config files... 17:41:25 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18040108573553982267tmp [Pipeline] { [Pipeline] sh 17:41:25 + set +x 17:41:25 + + curl -s https://codecov.io/bash 17:41:25 bash -s -- 17:41:25 17:41:25 _____ _ 17:41:25 / ____| | | 17:41:25 | | ___ __| | ___ ___ _____ __ 17:41:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:41:25 | |___| (_) | (_| | __/ (_| (_) \ V / 17:41:25 \_____\___/ \__,_|\___|\___\___/ \_/ 17:41:25 Bash-1.0.6 17:41:25 17:41:25 17:41:25 ==> git version 2.25.1 found 17:41:25 ==> 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 17:41:25 Release-Date: 2020-01-08 17:41:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:41:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:41:25 ==> Jenkins CI detected. 17:41:25 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 17:41:25 project root: . 17:41:25 --> token set from env 17:41:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:41:25 ==> Running gcov in . (disable via -X gcov) 17:41:25 ==> Python coveragepy not found 17:41:25 ==> Searching for coverage reports in: 17:41:25 + . 17:41:25 -> Found 1 reports 17:41:25 ==> Detecting git/mercurial file structure 17:41:25 ==> Reading reports 17:41:25 + ./coverage.out bytes=23241 17:41:25 ==> Appending adjustments 17:41:25 https://docs.codecov.io/docs/fixing-reports 17:41:26 + Found adjustments 17:41:26 ==> Gzipping contents 17:41:26 4.0K /tmp/codecov.8ufyBu.gz 17:41:26 ==> Uploading reports 17:41:26 url: https://codecov.io 17:41:26 query: branch=main&commit=d7835794e341370cec95aed23fbbbaeab5e4af25&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:41:26 -> Pinging Codecov 17:41:26 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=d7835794e341370cec95aed23fbbbaeab5e4af25&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:41:26 -> Uploading to 17:41:26 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/55DBCA73C666E3227836607328DD7E49/d7835794e341370cec95aed23fbbbaeab5e4af25/cc01d9b8-5aa2-4249-8e73-e2b8c58b16f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T174126Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e366448e2a826dcb28aa547503db77e2b49137e8a2a78c0bea341760bf9a5c71 17:41:26 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:26 Dload Upload Total Spent Left Speed 17:41:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 5392 --:--:-- --:--:-- --:--:-- 5384 100 3904 0 0 100 3904 0 5392 --:--:-- --:--:-- --:--:-- 5384 17:41:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d7835794e341370cec95aed23fbbbaeab5e4af25 [Pipeline] } 17:41:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:41:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:41:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:41:27 17:41:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:41:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:41:28 df9b9388f04a: Pulling fs layer 17:41:28 52dc419b0ee2: Pulling fs layer 17:41:28 25bc292e5bac: Pulling fs layer 17:41:28 114826534d7a: Pulling fs layer 17:41:28 4657fd5d0bcf: Pulling fs layer 17:41:28 6ad1cebc031e: Pulling fs layer 17:41:28 8a3aa393b2d8: Pulling fs layer 17:41:28 4657fd5d0bcf: Waiting 17:41:28 6ad1cebc031e: Waiting 17:41:28 8a3aa393b2d8: Waiting 17:41:28 114826534d7a: Waiting 17:41:28 25bc292e5bac: Download complete 17:41:28 52dc419b0ee2: Verifying Checksum 17:41:28 52dc419b0ee2: Download complete 17:41:28 4657fd5d0bcf: Verifying Checksum 17:41:28 4657fd5d0bcf: Download complete 17:41:28 df9b9388f04a: Verifying Checksum 17:41:28 df9b9388f04a: Download complete 17:41:28 df9b9388f04a: Pull complete 17:41:28 6ad1cebc031e: Verifying Checksum 17:41:28 6ad1cebc031e: Download complete 17:41:28 52dc419b0ee2: Pull complete 17:41:28 25bc292e5bac: Pull complete 17:41:28 114826534d7a: Download complete 17:41:29 8a3aa393b2d8: Verifying Checksum 17:41:29 8a3aa393b2d8: Download complete 17:41:32 114826534d7a: Pull complete 17:41:32 4657fd5d0bcf: Pull complete 17:41:33 6ad1cebc031e: Pull complete 17:41:36 8a3aa393b2d8: Pull complete 17:41:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:41:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:41:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:36 prd-ubuntu20.04-docker-8c-8g-118472 does not seem to be running inside a container 17:41:36 $ 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 17:41:38 $ docker top af360f66aeef35097c91d1b52b2ce9955ff529c716d935f3fc427fc66bc58c87 -eo pid,comm [Pipeline] { [Pipeline] echo 17:41:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 17:41:38 + set -o pipefail 17:41:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 17:41:44 17:41:44 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 17:41:44 17:41:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/b6b6ae4c-16bf-48ad-8527-48a2a37ae30c 17:41:44 17:41:44 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:41:44 17:41:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:41:44 17:41:44 17:41:44 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:41:44 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:41:44 More details here: https://snyk.co/ue1NS [Pipeline] } 17:41:44 $ docker stop --time=1 af360f66aeef35097c91d1b52b2ce9955ff529c716d935f3fc427fc66bc58c87 17:41:46 $ docker rm -f af360f66aeef35097c91d1b52b2ce9955ff529c716d935f3fc427fc66bc58c87 [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 17:41:46 + git log --format=format:%s -1 d7835794e341370cec95aed23fbbbaeab5e4af25 [Pipeline] sh 17:41:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:41:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:41:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:47 prd-ubuntu20.04-docker-8c-8g-118472 does not seem to be running inside a container 17:41:47 $ 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 17:41:47 $ docker top 58b3c69f657b891014c57614d060ecdc322e5e6e926c0a7d38e4a11a1636f1c4 -eo pid,comm 17:41:48 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). 17:41:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:41:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:41:48 [ssh-agent] Looking for ssh-agent implementation... 17:41:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:41:48 $ docker exec 58b3c69f657b891014c57614d060ecdc322e5e6e926c0a7d38e4a11a1636f1c4 ssh-agent 17:41:48 SSH_AUTH_SOCK=/tmp/ssh-EovAvxM2nAUs/agent.33 17:41:48 SSH_AGENT_PID=39 17:41:48 Running ssh-add (command line suppressed) 17:41:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11910406285856534051.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11910406285856534051.key) 17:41:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:41:48 + git semver tag 17:41:49 2022-11-07 17:41:48,945 [run_tag] DEBUG tag force:False 17:41:49 2022-11-07 17:41:48,945 [check_head_tag] DEBUG check head tag 17:41:49 2022-11-07 17:41:48,946 [execute] INFO git cat-file --batch-check 17:41:49 2022-11-07 17:41:48,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 17:41:49 2022-11-07 17:41:48,950 [execute] INFO git cat-file --batch 17:41:49 2022-11-07 17:41:48,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 17:41:49 2022-11-07 17:41:48,966 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:41:49 2022-11-07 17:41:48,966 [execute] INFO git tag -a v2.3.0-dev.24 -m v2.3.0-dev.24 17:41:49 2022-11-07 17:41:48,966 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.24', '-m', 'v2.3.0-dev.24'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 17:41:49 2022-11-07 17:41:48,970 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:41:49 2.3.0-dev.24 [Pipeline] } 17:41:49 $ docker exec --env ******** --env ******** 58b3c69f657b891014c57614d060ecdc322e5e6e926c0a7d38e4a11a1636f1c4 ssh-agent -k 17:41:49 unset SSH_AUTH_SOCK; 17:41:49 unset SSH_AGENT_PID; 17:41:49 echo Agent pid 39 killed; 17:41:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:41:49 + git semver [Pipeline] } 17:41:49 $ docker stop --time=1 58b3c69f657b891014c57614d060ecdc322e5e6e926c0a7d38e4a11a1636f1c4 17:41:51 $ docker rm -f 58b3c69f657b891014c57614d060ecdc322e5e6e926c0a7d38e4a11a1636f1c4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:41:51 17:41:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:41:51 0.23.1-centos7: Pulling from edgex-lftools 17:41:51 ab5ef0e58194: Pulling fs layer 17:41:51 9712f1f96733: Pulling fs layer 17:41:51 63f879dbbcfc: Pulling fs layer 17:41:51 0d9ebad4ef96: Pulling fs layer 17:41:51 e9a5061849ea: Pulling fs layer 17:41:51 d747dcd14b5f: Pulling fs layer 17:41:51 2de7ff778b66: Pulling fs layer 17:41:51 e9a5061849ea: Waiting 17:41:51 d747dcd14b5f: Waiting 17:41:51 2de7ff778b66: Waiting 17:41:51 0d9ebad4ef96: Waiting 17:41:51 9712f1f96733: Verifying Checksum 17:41:51 9712f1f96733: Download complete 17:41:52 63f879dbbcfc: Verifying Checksum 17:41:52 63f879dbbcfc: Download complete 17:41:52 e9a5061849ea: Verifying Checksum 17:41:52 ab5ef0e58194: Verifying Checksum 17:41:52 ab5ef0e58194: Download complete 17:41:52 0d9ebad4ef96: Verifying Checksum 17:41:52 0d9ebad4ef96: Download complete 17:41:52 2de7ff778b66: Verifying Checksum 17:41:52 2de7ff778b66: Download complete 17:41:56 ab5ef0e58194: Pull complete 17:41:56 9712f1f96733: Pull complete 17:41:56 63f879dbbcfc: Pull complete 17:42:00 0d9ebad4ef96: Pull complete 17:42:00 e9a5061849ea: Pull complete 17:42:00 d747dcd14b5f: Pull complete 17:42:01 2de7ff778b66: Pull complete 17:42:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:42:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:42:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:42:01 prd-ubuntu20.04-docker-8c-8g-118472 does not seem to be running inside a container 17:42:02 $ 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 17:42:03 $ docker top 9a62cb8c9bfd24ead0fbf36b9ccf3fe9bf7ba8d11d83dcf58c403dc8427b3c00 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:42:04 provisioning config files... 17:42:04 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5238928948790195539tmp 17:42:04 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18190159389507259354tmp 17:42:04 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config425234228794505659tmp [Pipeline] { [Pipeline] echo 17:42:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:42:04 ---> sigul-configuration.sh 17:42:04 gpg: directory `/root/.gnupg' created 17:42:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:42:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:42:04 gpg: keyring `/root/.gnupg/secring.gpg' created 17:42:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:42:04 gpg: CAST5 encrypted data 17:42:04 gpg: encrypted with 1 passphrase 17:42:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:42:04 + mkdir /home/jenkins 17:42:04 + mkdir /home/jenkins/sigul [Pipeline] sh 17:42:04 + 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 17:42:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:42:05 ---> sigul-install.sh 17:42:05 Sigul already installed; skipping installation. [Pipeline] sh 17:42:05 + git tag --list 17:42:05 0.7.1 17:42:05 v1.0.0 17:42:05 v1.1.0 17:42:05 v1.1.1 17:42:05 v1.2.2 17:42:05 v1.3.0 17:42:05 v1.3.1 17:42:05 v2.0.0 17:42:05 v2.1.0 17:42:05 v2.1.1 17:42:05 v2.1.1-dev.1 17:42:05 v2.1.1-dev.2 17:42:05 v2.1.1-dev.3 17:42:05 v2.2.0 17:42:05 v2.2.1-dev.1 17:42:05 v2.2.1-dev.2 17:42:05 v2.2.1-dev.3 17:42:05 v2.2.1-dev.4 17:42:05 v2.2.1-dev.5 17:42:05 v2.2.1-dev.6 17:42:05 v2.2.1-dev.7 17:42:05 v2.3.0-dev.10 17:42:05 v2.3.0-dev.11 17:42:05 v2.3.0-dev.12 17:42:05 v2.3.0-dev.13 17:42:05 v2.3.0-dev.14 17:42:05 v2.3.0-dev.15 17:42:05 v2.3.0-dev.16 17:42:05 v2.3.0-dev.17 17:42:05 v2.3.0-dev.18 17:42:05 v2.3.0-dev.19 17:42:05 v2.3.0-dev.20 17:42:05 v2.3.0-dev.21 17:42:05 v2.3.0-dev.22 17:42:05 v2.3.0-dev.23 17:42:05 v2.3.0-dev.24 17:42:05 v2.3.0-dev.7 17:42:05 v2.3.0-dev.8 17:42:05 v2.3.0-dev.9 [Pipeline] sh 17:42:05 + lftools sign git-tag v2.3.0-dev.24 17:42:06 Signing Git tag with Sigul... 17:42:06 Signing v2.3.0-dev.24 [Pipeline] echo 17:42:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:42:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:42:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:42:06 $ docker stop --time=1 9a62cb8c9bfd24ead0fbf36b9ccf3fe9bf7ba8d11d83dcf58c403dc8427b3c00 17:42:08 $ docker rm -f 9a62cb8c9bfd24ead0fbf36b9ccf3fe9bf7ba8d11d83dcf58c403dc8427b3c00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:42:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:42:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:42:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:42:09 prd-ubuntu20.04-docker-8c-8g-118472 does not seem to be running inside a container 17:42:09 $ 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 17:42:09 $ docker top 8d70918ee3220c7430f58a79ba3ff0da4cfc388a7ee3e63512198e344bf498fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:42:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:42:09 [ssh-agent] Looking for ssh-agent implementation... 17:42:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:42:09 $ docker exec 8d70918ee3220c7430f58a79ba3ff0da4cfc388a7ee3e63512198e344bf498fe ssh-agent 17:42:09 SSH_AUTH_SOCK=/tmp/ssh-pwzWZEFAsbBc/agent.33 17:42:09 SSH_AGENT_PID=39 17:42:09 Running ssh-add (command line suppressed) 17:42:09 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17952255183097284780.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17952255183097284780.key) 17:42:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:42:10 + git semver bump pre 17:42:10 2022-11-07 17:42:10,362 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:42:10 2022-11-07 17:42:10,362 [bump_version] DEBUG bumping version:2.3.0-dev.24 on axis:pre with prefix:dev 17:42:10 2022-11-07 17:42:10,362 [bump_version] DEBUG bumped version:2.3.0-dev.25 17:42:10 2022-11-07 17:42:10,362 [write_version] DEBUG write version:2.3.0-dev.25 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 17:42:10 2022-11-07 17:42:10,362 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:42:10 2022-11-07 17:42:10,362 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:42:10 2022-11-07 17:42:10,364 [execute] INFO git cat-file --batch-check 17:42:10 2022-11-07 17:42:10,364 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:42:10 2022-11-07 17:42:10,370 [execute] INFO git cat-file --batch 17:42:10 2022-11-07 17:42:10,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:42:10 2022-11-07 17:42:10,377 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:42:10 2.3.0-dev.25 [Pipeline] } 17:42:10 $ docker exec --env ******** --env ******** 8d70918ee3220c7430f58a79ba3ff0da4cfc388a7ee3e63512198e344bf498fe ssh-agent -k 17:42:10 unset SSH_AUTH_SOCK; 17:42:10 unset SSH_AGENT_PID; 17:42:10 echo Agent pid 39 killed; 17:42:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:42:10 + git semver [Pipeline] } 17:42:11 $ docker stop --time=1 8d70918ee3220c7430f58a79ba3ff0da4cfc388a7ee3e63512198e344bf498fe 17:42:12 $ docker rm -f 8d70918ee3220c7430f58a79ba3ff0da4cfc388a7ee3e63512198e344bf498fe [Pipeline] // withDockerContainer [Pipeline] sh 17:42:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:42:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:42:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:42:13 prd-ubuntu20.04-docker-8c-8g-118472 does not seem to be running inside a container 17:42:13 $ 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 17:42:13 $ docker top 55ba4176d5ece7c6b972964e445a3a280ae6b9d73248a5ee20188afd2d692705 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:42:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:42:13 [ssh-agent] Looking for ssh-agent implementation... 17:42:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:42:13 $ docker exec 55ba4176d5ece7c6b972964e445a3a280ae6b9d73248a5ee20188afd2d692705 ssh-agent 17:42:13 SSH_AUTH_SOCK=/tmp/ssh-7vv4guOYa0uM/agent.32 17:42:13 SSH_AGENT_PID=39 17:42:13 Running ssh-add (command line suppressed) 17:42:14 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15945775397045778862.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15945775397045778862.key) 17:42:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:42:14 + git semver push 17:42:14 2022-11-07 17:42:14,612 [run_push] DEBUG push 17:42:14 2022-11-07 17:42:14,613 [execute] INFO git cat-file --batch-check 17:42:14 2022-11-07 17:42:14,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:42:14 2022-11-07 17:42:14,618 [execute] INFO git rev-list 14c763e6b340eaa10b66227f3e2510b99bb39456 -- 17:42:14 2022-11-07 17:42:14,619 [execute] DEBUG Popen(['git', 'rev-list', '14c763e6b340eaa10b66227f3e2510b99bb39456', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:42:14 2022-11-07 17:42:14,628 [execute] INFO git fetch -v origin 17:42:14 2022-11-07 17:42:14,628 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:42:15 2022-11-07 17:42:15,261 [run_push] DEBUG no remote changes detected 17:42:15 2022-11-07 17:42:15,261 [execute] INFO git push origin semver 17:42:15 2022-11-07 17:42:15,261 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:42:16 2022-11-07 17:42:16,100 [run_push] DEBUG push all version tags 17:42:16 2022-11-07 17:42:16,101 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:42:16 2022-11-07 17:42:16,101 [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) 17:42:17 2022-11-07 17:42:16,930 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:42:17 2.3.0-dev.25 [Pipeline] } 17:42:17 $ docker exec --env ******** --env ******** 55ba4176d5ece7c6b972964e445a3a280ae6b9d73248a5ee20188afd2d692705 ssh-agent -k 17:42:17 unset SSH_AUTH_SOCK; 17:42:17 unset SSH_AGENT_PID; 17:42:17 echo Agent pid 39 killed; 17:42:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:42:17 + git semver [Pipeline] } 17:42:17 $ docker stop --time=1 55ba4176d5ece7c6b972964e445a3a280ae6b9d73248a5ee20188afd2d692705 17:42:19 $ docker rm -f 55ba4176d5ece7c6b972964e445a3a280ae6b9d73248a5ee20188afd2d692705 [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 17:42:19 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 17:42:19 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 17:42:19 total 16 17:42:19 drwxr-xr-x 3 root root 4096 Nov 7 17:31 . 17:42:19 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:42 .. 17:42:19 drwxr-xr-x 2 root root 4096 Nov 7 17:31 cost 17:42:19 -rw-r--r-- 1 root root 87 Nov 7 17:31 cost.csv 17:42:19 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 17:42:19 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 17:42:19 total 16 17:42:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:31 . 17:42:19 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:42 .. 17:42:19 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:31 cost 17:42:19 -rw-r--r-- 1 jenkins jenkins 87 Nov 7 17:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:42:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:42:20 ---> package-listing.sh 17:42:20 ++ tr '[:upper:]' '[:lower:]' 17:42:20 ++ facter osfamily 17:42:21 + OS_FAMILY=debian 17:42:21 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 17:42:21 + START_PACKAGES=/tmp/packages_start.txt 17:42:21 + END_PACKAGES=/tmp/packages_end.txt 17:42:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:42:21 + PACKAGES=/tmp/packages_start.txt 17:42:21 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 17:42:21 + PACKAGES=/tmp/packages_end.txt 17:42:21 + case "${OS_FAMILY}" in 17:42:21 + dpkg -l 17:42:21 + grep '^ii' 17:42:21 + '[' -f /tmp/packages_start.txt ']' 17:42:21 + '[' -f /tmp/packages_end.txt ']' 17:42:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:42:21 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 17:42:21 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 17:42:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 17:42:21 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 17:42:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:42:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:42:22 prd-ubuntu20.04-docker-8c-8g-118472 does not seem to be running inside a container 17:42:22 $ 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 17:42:22 $ docker top 8defe5cb2ed6395949159592b4f8a3f3ffb6b55deeaad187f4d5456d6dacf8d6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:42:22 + touch /tmp/pre-build-complete [Pipeline] sh 17:42:23 + mkdir -p /var/log/sysstat [Pipeline] sh 17:42:23 + ls /var/log/sa-host 17:42:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:42:23 provisioning config files... 17:42:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6726859376093148360tmp [Pipeline] { [Pipeline] echo 17:42:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:42:23 ---> create-netrc.sh [Pipeline] } 17:42:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:42:24 ---> python-tools-install.sh [Pipeline] echo 17:42:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:42:24 ---> sudo-logs.sh 17:42:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:42:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:42:24 ---> job-cost.sh 17:42:24 lf-activate-venv: SKIPPING 17:42:24 DEBUG: total: 0.2199999988079071 17:42:24 INFO: Retrieving Stack Cost... 17:42:25 INFO: Retrieving Pricing Info for: v3-standard-8 17:42:25 INFO: Archiving Costs [Pipeline] echo 17:42:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:42:25 ---> logs-deploy.sh 17:42:25 lf-activate-venv: SKIPPING 17:42:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/64 17:42:25 INFO: archiving workspace using pattern(s): 17:42:26 Archives upload complete. 17:42:26 INFO: archiving logs to Nexus 17:42:27 ---> uname -a: 17:42:27 Linux prd-ubuntu20-04-docker-8c-8g-118472 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:42:27 17:42:27 17:42:27 ---> lscpu: 17:42:27 Architecture: x86_64 17:42:27 CPU op-mode(s): 32-bit, 64-bit 17:42:27 Byte Order: Little Endian 17:42:27 Address sizes: 40 bits physical, 48 bits virtual 17:42:27 CPU(s): 8 17:42:27 On-line CPU(s) list: 0-7 17:42:27 Thread(s) per core: 1 17:42:27 Core(s) per socket: 1 17:42:27 Socket(s): 8 17:42:27 NUMA node(s): 1 17:42:27 Vendor ID: AuthenticAMD 17:42:27 CPU family: 23 17:42:27 Model: 49 17:42:27 Model name: AMD EPYC-Rome Processor 17:42:27 Stepping: 0 17:42:27 CPU MHz: 2799.998 17:42:27 BogoMIPS: 5599.99 17:42:27 Virtualization: AMD-V 17:42:27 Hypervisor vendor: KVM 17:42:27 Virtualization type: full 17:42:27 L1d cache: 256 KiB 17:42:27 L1i cache: 256 KiB 17:42:27 L2 cache: 4 MiB 17:42:27 L3 cache: 128 MiB 17:42:27 NUMA node0 CPU(s): 0-7 17:42:27 Vulnerability Itlb multihit: Not affected 17:42:27 Vulnerability L1tf: Not affected 17:42:27 Vulnerability Mds: Not affected 17:42:27 Vulnerability Meltdown: Not affected 17:42:27 Vulnerability Mmio stale data: Not affected 17:42:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:42:27 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:42:27 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:42:27 Vulnerability Srbds: Not affected 17:42:27 Vulnerability Tsx async abort: Not affected 17:42:27 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:42:27 17:42:27 17:42:27 ---> nproc: 17:42:27 8 17:42:27 17:42:27 17:42:27 ---> df -h: 17:42:27 Filesystem Size Used Avail Use% Mounted on 17:42:27 overlay 155G 13G 143G 9% / 17:42:27 tmpfs 64M 0 64M 0% /dev 17:42:27 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:42:27 shm 64M 0 64M 0% /dev/shm 17:42:27 /dev/vda1 155G 13G 143G 9% /facter-os 17:42:27 17:42:27