Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aaadd7fbda2364c2efb57d494d7ebea4b574ed12 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-ssh12429950248198247942.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh733787478670445139.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh12688765806665802332.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh117581638476263055.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-ssh17719172758379422189.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-117322 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 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 (main) Commit message: "build: Latest go-mods, config and Dockerfile fix (#387)" > 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 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 > git rev-list --no-walk fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:41:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:41:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:41:16 ========================================================= 20:41:16 EdgeX Global Pipelines Version Info 20:41:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:41:17 ------------------- 20:41:17 stable info: 20:41:17 ------------------- 20:41:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:41:17 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:41:17 Message: update stable to v1.0.243 20:41:17 ------------------- 20:41:17 experimental info: 20:41:17 ------------------- 20:41:17 Commited By: **** collab-it+edgex@linuxfoundation.org 20:41:17 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:41:17 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aaadd7f [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:18 provisioning config files... 20:41:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17539727104442545152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:18 ---> docker-login.sh 20:41:18 nexus3.edgexfoundry.org:10001 20:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:19 Configure a credential helper to remove this warning. See 20:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:19 20:41:19 Login Succeeded 20:41:19 nexus3.edgexfoundry.org:10002 20:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:19 Configure a credential helper to remove this warning. See 20:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:19 20:41:19 Login Succeeded 20:41:19 nexus3.edgexfoundry.org:10003 20:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:19 Configure a credential helper to remove this warning. See 20:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:19 20:41:19 Login Succeeded 20:41:19 nexus3.edgexfoundry.org:10004 20:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:19 Configure a credential helper to remove this warning. See 20:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:19 20:41:19 Login Succeeded 20:41:19 docker.io 20:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:19 Configure a credential helper to remove this warning. See 20:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:19 20:41:19 Login Succeeded 20:41:19 ---> docker-login.sh ends [Pipeline] } 20:41:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:41:20 + git rev-list -1 --merges aaadd7fbda2364c2efb57d494d7ebea4b574ed12~1..aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] echo 20:41:20 -----------> git rev-list -1 --merges aaadd7fbda2364c2efb57d494d7ebea4b574ed12~1..aaadd7fbda2364c2efb57d494d7ebea4b574ed12 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [false] [Pipeline] sh 20:41:20 + git log --format=format:%s -1 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] echo 20:41:20 ========================================================= 20:41:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:41:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:20 + git log --format=format:%s -1 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] echo 20:41:21 [semverPrep] GIT_COMMIT: aaadd7fbda2364c2efb57d494d7ebea4b574ed12, Commit Message: build: Latest go-mods, config and Dockerfile fix (#387) [Pipeline] echo 20:41:21 [semverPrep] This is not a build commit. [Pipeline] sh 20:41:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:41:21 + grep -v github /etc/ssh/ssh_known_hosts 20:41:21 + [ -e /tmp/ssh_known_hosts ] 20:41:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:41:21 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:41:21 sudo tee -a /etc/ssh/ssh_known_hosts 20:41:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:21 20:41:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:22 0.1.4: Pulling from edgex-devops/py-git-semver 20:41:22 b85a868b505f: Pulling fs layer 20:41:22 e2be974225ed: Pulling fs layer 20:41:22 339a4e72a1f5: Pulling fs layer 20:41:22 988bab9f4d93: Pulling fs layer 20:41:22 1469e6f7b9e6: Pulling fs layer 20:41:22 eaf3925da568: Pulling fs layer 20:41:22 bab4dde63d76: Pulling fs layer 20:41:22 bde34c3a00c8: Pulling fs layer 20:41:22 b352a97aabf1: Pulling fs layer 20:41:22 988bab9f4d93: Waiting 20:41:22 bab4dde63d76: Waiting 20:41:22 eaf3925da568: Waiting 20:41:22 bde34c3a00c8: Waiting 20:41:22 1469e6f7b9e6: Waiting 20:41:22 b352a97aabf1: Waiting 20:41:22 4872d77fe225: Pulling fs layer 20:41:22 5851b861e8e6: Pulling fs layer 20:41:22 4872d77fe225: Waiting 20:41:22 5851b861e8e6: Waiting 20:41:22 e2be974225ed: Download complete 20:41:22 988bab9f4d93: Verifying Checksum 20:41:22 988bab9f4d93: Download complete 20:41:22 1469e6f7b9e6: Verifying Checksum 20:41:22 1469e6f7b9e6: Download complete 20:41:22 339a4e72a1f5: Verifying Checksum 20:41:22 339a4e72a1f5: Download complete 20:41:22 eaf3925da568: Verifying Checksum 20:41:22 eaf3925da568: Download complete 20:41:22 bde34c3a00c8: Verifying Checksum 20:41:22 bde34c3a00c8: Download complete 20:41:22 b352a97aabf1: Download complete 20:41:22 4872d77fe225: Download complete 20:41:22 5851b861e8e6: Verifying Checksum 20:41:22 5851b861e8e6: Download complete 20:41:22 b85a868b505f: Verifying Checksum 20:41:22 b85a868b505f: Download complete 20:41:22 bab4dde63d76: Verifying Checksum 20:41:22 bab4dde63d76: Download complete 20:41:23 b85a868b505f: Pull complete 20:41:23 e2be974225ed: Pull complete 20:41:24 339a4e72a1f5: Pull complete 20:41:24 988bab9f4d93: Pull complete 20:41:24 1469e6f7b9e6: Pull complete 20:41:24 eaf3925da568: Pull complete 20:41:26 bab4dde63d76: Pull complete 20:41:26 bde34c3a00c8: Pull complete 20:41:26 b352a97aabf1: Pull complete 20:41:26 4872d77fe225: Pull complete 20:41:26 5851b861e8e6: Pull complete 20:41:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:41:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:26 prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container 20:41:26 $ 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 20:41:27 $ docker top 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 -eo pid,comm 20:41:27 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). 20:41:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:41:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:41:27 [ssh-agent] Looking for ssh-agent implementation... 20:41:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:41:28 $ docker exec 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 ssh-agent 20:41:28 SSH_AUTH_SOCK=/tmp/ssh-OiqS3BO18Rhu/agent.33 20:41:28 SSH_AGENT_PID=39 20:41:28 Running ssh-add (command line suppressed) 20:41:28 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3714474360951127379.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3714474360951127379.key) 20:41:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:41:28 + git tag --points-at HEAD [Pipeline] } 20:41:28 $ docker exec --env ******** --env ******** 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 ssh-agent -k 20:41:28 unset SSH_AUTH_SOCK; 20:41:28 unset SSH_AGENT_PID; 20:41:28 echo Agent pid 39 killed; 20:41:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:41:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:41:28 [ssh-agent] Looking for ssh-agent implementation... 20:41:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:41:28 $ docker exec 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 ssh-agent 20:41:29 SSH_AUTH_SOCK=/tmp/ssh-E4oluekHJWw2/agent.71 20:41:29 SSH_AGENT_PID=77 20:41:29 Running ssh-add (command line suppressed) 20:41:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5490675882789786382.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5490675882789786382.key) 20:41:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:41:29 + git semver init 20:41:29 2022-10-26 20:41:29,622 [run_init] DEBUG init version:0.0.0 force:False 20:41:29 2022-10-26 20:41:29,623 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 20:41:29 2022-10-26 20:41:29,623 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 20:41:29 2022-10-26 20:41:29,623 [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) 20:41:30 2022-10-26 20:41:30,524 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 20:41:30 2022-10-26 20:41:30,524 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 20:41:30 2022-10-26 20:41:30,525 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:41:30 2022-10-26 20:41:30,525 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:41:30 2.3.0-dev.22 [Pipeline] } 20:41:30 $ docker exec --env ******** --env ******** 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 ssh-agent -k 20:41:30 unset SSH_AUTH_SOCK; 20:41:30 unset SSH_AGENT_PID; 20:41:30 echo Agent pid 77 killed; 20:41:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:41:31 + git semver [Pipeline] } 20:41:31 $ docker stop --time=1 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 20:41:32 $ docker rm -f 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:41:33 Stashed 1 file(s) [Pipeline] echo 20:41:33 [edgeXSemver]: initialized semver on version 2.3.0-dev.22 [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 20:41:33 provisioning config files... 20:41:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8248021703942970019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:33 ---> docker-login.sh 20:41:33 nexus3.edgexfoundry.org:10001 20:41:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:33 Configure a credential helper to remove this warning. See 20:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:33 20:41:33 Login Succeeded 20:41:33 nexus3.edgexfoundry.org:10002 20:41:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:33 Configure a credential helper to remove this warning. See 20:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:33 20:41:33 Login Succeeded 20:41:33 nexus3.edgexfoundry.org:10003 20:41:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:33 Configure a credential helper to remove this warning. See 20:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:33 20:41:33 Login Succeeded 20:41:33 nexus3.edgexfoundry.org:10004 20:41:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:33 Configure a credential helper to remove this warning. See 20:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:33 20:41:33 Login Succeeded 20:41:33 docker.io 20:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:34 Configure a credential helper to remove this warning. See 20:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:34 20:41:34 Login Succeeded 20:41:34 ---> docker-login.sh ends [Pipeline] } 20:41:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:34 ========================================================= 20:41:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:41:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:34 + 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 . 20:41:34 Sending build context to Docker daemon 6.218MB 20:41:34 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:41:34 Step 2/10 : FROM ${BASE} AS builder 20:41:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:41:34 213ec9aee27d: Pulling fs layer 20:41:34 4583459ba037: Pulling fs layer 20:41:34 93c1e223e6f2: Pulling fs layer 20:41:34 53926ce57604: Pulling fs layer 20:41:34 21b2b0c7a3f4: Pulling fs layer 20:41:34 30f14e443154: Pulling fs layer 20:41:34 801331c1e519: Pulling fs layer 20:41:34 99cc6dd402b0: Pulling fs layer 20:41:34 7d9ed39f4882: Pulling fs layer 20:41:34 53926ce57604: Waiting 20:41:34 99cc6dd402b0: Waiting 20:41:34 21b2b0c7a3f4: Waiting 20:41:34 7d9ed39f4882: Waiting 20:41:34 801331c1e519: Waiting 20:41:34 93c1e223e6f2: Verifying Checksum 20:41:34 93c1e223e6f2: Download complete 20:41:34 4583459ba037: Download complete 20:41:34 21b2b0c7a3f4: Verifying Checksum 20:41:34 21b2b0c7a3f4: Download complete 20:41:34 30f14e443154: Verifying Checksum 20:41:34 30f14e443154: Download complete 20:41:35 213ec9aee27d: Verifying Checksum 20:41:35 213ec9aee27d: Download complete 20:41:35 801331c1e519: Download complete 20:41:35 213ec9aee27d: Pull complete 20:41:35 4583459ba037: Pull complete 20:41:35 93c1e223e6f2: Pull complete 20:41:35 7d9ed39f4882: Verifying Checksum 20:41:35 7d9ed39f4882: Download complete 20:41:35 99cc6dd402b0: Verifying Checksum 20:41:35 99cc6dd402b0: Download complete 20:41:35 53926ce57604: Verifying Checksum 20:41:35 53926ce57604: Download complete 20:41:39 53926ce57604: Pull complete 20:41:39 21b2b0c7a3f4: Pull complete 20:41:39 30f14e443154: Pull complete 20:41:39 801331c1e519: Pull complete 20:41:41 99cc6dd402b0: Pull complete 20:41:42 7d9ed39f4882: Pull complete 20:41:42 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:41:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:41:42 ---> 1dedd983c030 20:41:42 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:41:43 ---> Running in bf48e409e179 20:41:43 Removing intermediate container bf48e409e179 20:41:43 ---> 6f11dec13323 20:41:43 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:43 ---> Running in 369e1b6fa1fa 20:41:43 Removing intermediate container 369e1b6fa1fa 20:41:43 ---> fec466fde1ce 20:41:43 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:41:43 ---> Running in 22a92b48788d 20:41:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:41:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:41:43 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:41:44 (2/8) Installing libedit (20210910.3.1-r0) 20:41:44 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:41:44 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:41:44 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:41:44 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:41:44 (7/8) Installing openssh-server (9.0_p1-r2) 20:41:44 (8/8) Installing openssh (9.0_p1-r2) 20:41:44 Executing busybox-1.35.0-r17.trigger 20:41:44 OK: 217 MiB in 59 packages 20:41:44 Removing intermediate container 22a92b48788d 20:41:44 ---> e42750aa3113 20:41:44 Step 6/10 : WORKDIR /device-modbus-go 20:41:44 ---> Running in 31f52feb3cc3 20:41:44 Removing intermediate container 31f52feb3cc3 20:41:44 ---> 37e9ae755001 20:41:44 Step 7/10 : COPY go.mod vendor* ./ 20:41:44 ---> 92bee379210f 20:41:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:44 ---> Running in 63abd0ddd58b 20:41:48 Still waiting to schedule task 20:41:48 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:42:02 Removing intermediate container 63abd0ddd58b 20:42:02 ---> 506a17ba9e80 20:42:02 Step 9/10 : COPY . . 20:42:02 ---> 08d532787f02 20:42:02 Step 10/10 : RUN ${MAKE} 20:42:02 ---> Running in d14bdfa1686b 20:42:02 noop 20:42:02 Removing intermediate container d14bdfa1686b 20:42:02 ---> 7abc695458ca 20:42:02 Successfully built 7abc695458ca 20:42:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:03 + docker inspect -f . ci-base-image-x86_64 20:42:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:03 prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container 20:42:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:42:03 $ docker top 394f1a31088776e977c42ff70d2c05d786d53c36608307d11c710ceaa4f6af8f -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:03 + go version 20:42:03 go version go1.18.7 linux/amd64 [Pipeline] } 20:42:03 $ docker stop --time=1 394f1a31088776e977c42ff70d2c05d786d53c36608307d11c710ceaa4f6af8f 20:42:05 $ docker rm -f 394f1a31088776e977c42ff70d2c05d786d53c36608307d11c710ceaa4f6af8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:05 + docker inspect -f . ci-base-image-x86_64 20:42:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:05 prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container 20:42:05 $ 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 20:42:05 $ docker top aac895b65775d1644c9319b977897ae6cb23bd3a76b065e8b4d7767e4762eb00 -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 20:42:06 + make test 20:42:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:42:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:42:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:42:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements 20:42:22 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." 20:42:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:42:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:42:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:42:25 ./bin/test-attribution-txt.sh [Pipeline] echo 20:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:42:25 $ docker stop --time=1 aac895b65775d1644c9319b977897ae6cb23bd3a76b065e8b4d7767e4762eb00 20:42:26 $ docker rm -f aac895b65775d1644c9319b977897ae6cb23bd3a76b065e8b4d7767e4762eb00 [Pipeline] // withDockerContainer [Pipeline] sh 20:42:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:42:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:42:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:42:28 + ls -al . 20:42:28 total 196 20:42:28 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:42 . 20:42:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:41 .. 20:42:28 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 20:41 .dockerignore 20:42:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:42 .git 20:42:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 .github 20:42:28 -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 20:41 .gitignore 20:42:28 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:41 .golangci.yml 20:42:28 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:41 .semver 20:42:28 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 20:41 Attribution.txt 20:42:28 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 20:41 CHANGELOG.md 20:42:28 -rw-rw-r-- 1 jenkins jenkins 1428 Oct 26 20:41 Dockerfile 20:42:28 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:41 GOVERNANCE.md 20:42:28 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:41 Jenkinsfile 20:42:28 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:41 LICENSE 20:42:28 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 20:41 Makefile 20:42:28 -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:41 OWNERS.md 20:42:28 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 20:41 README.md 20:42:28 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:41 VERSION 20:42:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:41 bin 20:42:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 cmd 20:42:28 -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 20:42 coverage.out 20:42:28 -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 20:41 go.mod 20:42:28 -rw-rw-r-- 1 jenkins jenkins 45309 Oct 26 20:41 go.sum 20:42:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 internal 20:42:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:41 simulator 20:42:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:41 snap 20:42:28 -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 20:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:28 + 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=aaadd7fbda2364c2efb57d494d7ebea4b574ed12 --label arch=amd64 --label version=2.3.0-dev.22 . 20:42:28 Sending build context to Docker daemon 6.242MB 20:42:28 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:42:28 Step 2/22 : FROM ${BASE} AS builder 20:42:28 ---> 7abc695458ca 20:42:28 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:42:28 ---> Running in a36e2e81c6a8 20:42:28 Removing intermediate container a36e2e81c6a8 20:42:28 ---> 5fab29d2a939 20:42:28 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:28 ---> Running in dfa32eb89690 20:42:28 Removing intermediate container dfa32eb89690 20:42:28 ---> 85e03601167e 20:42:28 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:42:28 ---> Running in 8a4535d9229d 20:42:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:42:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:42:29 OK: 217 MiB in 59 packages 20:42:29 Removing intermediate container 8a4535d9229d 20:42:29 ---> 375d6bf13ae5 20:42:29 Step 6/22 : WORKDIR /device-modbus-go 20:42:29 ---> Running in c9014ac738a2 20:42:29 Removing intermediate container c9014ac738a2 20:42:29 ---> 38d1d1c77dd1 20:42:29 Step 7/22 : COPY go.mod vendor* ./ 20:42:29 ---> c7ae1f86505b 20:42:29 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:29 ---> Running in 13c4eae80588 20:42:30 Removing intermediate container 13c4eae80588 20:42:30 ---> e963d327475e 20:42:30 Step 9/22 : COPY . . 20:42:30 ---> 65f7a3e7ef5b 20:42:30 Step 10/22 : RUN ${MAKE} 20:42:30 ---> Running in 6d74ac9d1cd2 20:42:30 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 20:42:52 Removing intermediate container 6d74ac9d1cd2 20:42:52 ---> 7a94aa668e3c 20:42:52 Step 11/22 : FROM alpine:3.14 20:42:52 3.14: Pulling from library/alpine 20:42:52 c7ed990a2339: Pulling fs layer 20:42:52 c7ed990a2339: Verifying Checksum 20:42:52 c7ed990a2339: Download complete 20:42:52 c7ed990a2339: Pull complete 20:42:52 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:42:52 Status: Downloaded newer image for alpine:3.14 20:42:52 ---> dd53f409bf0b 20:42:52 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:42:52 ---> Running in 992f6e98f411 20:42:52 Removing intermediate container 992f6e98f411 20:42:52 ---> 83c446b65242 20:42:52 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 20:42:52 ---> Running in 151f230bae3d 20:42:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:42:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:42:52 (1/6) Installing dumb-init (1.2.5-r1) 20:42:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:42:52 (3/6) Installing libsodium (1.0.18-r0) 20:42:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:42:52 (5/6) Installing libzmq (4.3.4-r0) 20:42:52 (6/6) Installing zeromq (4.3.4-r0) 20:42:52 Executing busybox-1.33.1-r8.trigger 20:42:52 OK: 8 MiB in 20 packages 20:42:52 Removing intermediate container 151f230bae3d 20:42:52 ---> 0e63b42aba0a 20:42:52 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:42:52 ---> 2f7e2f3038fa 20:42:52 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:42:52 ---> 58b8a804af25 20:42:52 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:42:52 ---> e154922ab576 20:42:52 Step 17/22 : EXPOSE 59901 20:42:52 ---> Running in b414ada8b086 20:42:52 Removing intermediate container b414ada8b086 20:42:52 ---> c03ff775fca6 20:42:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:42:52 ---> Running in e18b684334c7 20:42:52 Removing intermediate container e18b684334c7 20:42:52 ---> 70ba504fdbaa 20:42:52 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:42:52 ---> Running in f9afa6a27114 20:42:52 Removing intermediate container f9afa6a27114 20:42:52 ---> 1c1458bc6fa8 20:42:52 Step 20/22 : LABEL arch=amd64 20:42:52 ---> Running in 4ed0f7625a37 20:42:52 Removing intermediate container 4ed0f7625a37 20:42:52 ---> 2076705d5c45 20:42:52 Step 21/22 : LABEL git_sha=aaadd7fbda2364c2efb57d494d7ebea4b574ed12 20:42:52 ---> Running in cd0c41b9f156 20:42:52 Removing intermediate container cd0c41b9f156 20:42:52 ---> e9ede103ced3 20:42:52 Step 22/22 : LABEL version=2.3.0-dev.22 20:42:52 ---> Running in 2cfc1369aa69 20:42:53 Removing intermediate container 2cfc1369aa69 20:42:53 ---> faa24fad15e1 20:42:53 [Warning] One or more build-args [ARCH] were not consumed 20:42:53 Successfully built faa24fad15e1 20:42:53 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:53 provisioning config files... 20:42:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3951915981002705873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:53 ---> docker-login.sh 20:42:53 nexus3.edgexfoundry.org:10001 20:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:53 Configure a credential helper to remove this warning. See 20:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:53 20:42:53 Login Succeeded 20:42:53 nexus3.edgexfoundry.org:10002 20:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:53 Configure a credential helper to remove this warning. See 20:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:53 20:42:53 Login Succeeded 20:42:53 nexus3.edgexfoundry.org:10003 20:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:53 Configure a credential helper to remove this warning. See 20:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:53 20:42:53 Login Succeeded 20:42:53 nexus3.edgexfoundry.org:10004 20:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:53 Configure a credential helper to remove this warning. See 20:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:53 20:42:53 Login Succeeded 20:42:53 docker.io 20:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:54 Configure a credential helper to remove this warning. See 20:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:54 20:42:54 Login Succeeded 20:42:54 ---> docker-login.sh ends [Pipeline] } 20:42:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:42:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:42:54 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 20:42:54 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 20:42:54 latest 20:42:54 2.3.0-dev.22 20:42:54 aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 20:42:54 main 20:42:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 20:42:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:42:55 a6b2bbb25794: Preparing 20:42:55 9c50ce5e02fd: Preparing 20:42:55 098b788379f5: Preparing 20:42:55 4f4899e50f93: Preparing 20:42:55 63493a9ab2d4: Preparing 20:42:55 63493a9ab2d4: Layer already exists 20:42:55 a6b2bbb25794: Pushed 20:42:55 9c50ce5e02fd: Pushed 20:42:55 4f4899e50f93: Pushed 20:42:57 098b788379f5: Pushed 20:42:57 aaadd7fbda2364c2efb57d494d7ebea4b574ed12: digest: sha256:9b7d41205b1309dd90e959f9c8aff7ff4561db1b5721281cb7b3d4e4721dd9d1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:57 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 20:42:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:42:58 a6b2bbb25794: Preparing 20:42:58 9c50ce5e02fd: Preparing 20:42:58 098b788379f5: Preparing 20:42:58 4f4899e50f93: Preparing 20:42:58 63493a9ab2d4: Preparing 20:42:58 9c50ce5e02fd: Layer already exists 20:42:58 63493a9ab2d4: Layer already exists 20:42:58 098b788379f5: Layer already exists 20:42:58 a6b2bbb25794: Layer already exists 20:42:58 4f4899e50f93: Layer already exists 20:42:58 latest: digest: sha256:9b7d41205b1309dd90e959f9c8aff7ff4561db1b5721281cb7b3d4e4721dd9d1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.22 20:42:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:42:58 a6b2bbb25794: Preparing 20:42:58 9c50ce5e02fd: Preparing 20:42:58 098b788379f5: Preparing 20:42:58 4f4899e50f93: Preparing 20:42:58 63493a9ab2d4: Preparing 20:42:58 9c50ce5e02fd: Layer already exists 20:42:58 4f4899e50f93: Layer already exists 20:42:58 63493a9ab2d4: Layer already exists 20:42:58 098b788379f5: Layer already exists 20:42:58 a6b2bbb25794: Layer already exists 20:42:58 2.3.0-dev.22: digest: sha256:9b7d41205b1309dd90e959f9c8aff7ff4561db1b5721281cb7b3d4e4721dd9d1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 20:42:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:42:59 a6b2bbb25794: Preparing 20:42:59 9c50ce5e02fd: Preparing 20:42:59 098b788379f5: Preparing 20:42:59 4f4899e50f93: Preparing 20:42:59 63493a9ab2d4: Preparing 20:42:59 098b788379f5: Layer already exists 20:42:59 a6b2bbb25794: Layer already exists 20:42:59 63493a9ab2d4: Layer already exists 20:42:59 4f4899e50f93: Layer already exists 20:42:59 9c50ce5e02fd: Layer already exists 20:42:59 aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22: digest: sha256:9b7d41205b1309dd90e959f9c8aff7ff4561db1b5721281cb7b3d4e4721dd9d1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 20:42:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:42:59 a6b2bbb25794: Preparing 20:42:59 9c50ce5e02fd: Preparing 20:42:59 098b788379f5: Preparing 20:42:59 4f4899e50f93: Preparing 20:42:59 63493a9ab2d4: Preparing 20:42:59 a6b2bbb25794: Layer already exists 20:42:59 63493a9ab2d4: Layer already exists 20:42:59 098b788379f5: Layer already exists 20:42:59 4f4899e50f93: Layer already exists 20:42:59 9c50ce5e02fd: Layer already exists 20:42:59 main: digest: sha256:9b7d41205b1309dd90e959f9c8aff7ff4561db1b5721281cb7b3d4e4721dd9d1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:42:59 ===================================================== [Pipeline] echo 20:43:00 taggedImages: 20:43:00 - nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 20:43:00 - nexus3.edgexfoundry.org:10004/device-modbus:latest 20:43:00 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.22 20:43:00 - nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 20:43:00 - 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 20:43:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:00 20:43:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:00 latest: Pulling from edgex-lftools-log-publisher 20:43:00 5eb5b503b376: Pulling fs layer 20:43:00 5c69ac0246d0: Pulling fs layer 20:43:00 ec43610c2a17: Pulling fs layer 20:43:00 3a2ae6a8a46f: Pulling fs layer 20:43:00 33b1e0a273af: Pulling fs layer 20:43:00 5d3b04190fa2: Pulling fs layer 20:43:00 2f39f015ded8: Pulling fs layer 20:43:00 3a2ae6a8a46f: Waiting 20:43:00 33b1e0a273af: Waiting 20:43:00 5d3b04190fa2: Waiting 20:43:00 2f39f015ded8: Waiting 20:43:00 5c69ac0246d0: Verifying Checksum 20:43:00 5c69ac0246d0: Download complete 20:43:00 3a2ae6a8a46f: Verifying Checksum 20:43:00 3a2ae6a8a46f: Download complete 20:43:00 33b1e0a273af: Verifying Checksum 20:43:00 33b1e0a273af: Download complete 20:43:00 ec43610c2a17: Verifying Checksum 20:43:00 ec43610c2a17: Download complete 20:43:00 5d3b04190fa2: Verifying Checksum 20:43:00 5d3b04190fa2: Download complete 20:43:00 5eb5b503b376: Verifying Checksum 20:43:00 5eb5b503b376: Download complete 20:43:01 2f39f015ded8: Download complete 20:43:02 5eb5b503b376: Pull complete 20:43:02 5c69ac0246d0: Pull complete 20:43:02 ec43610c2a17: Pull complete 20:43:02 3a2ae6a8a46f: Pull complete 20:43:02 33b1e0a273af: Pull complete 20:43:03 5d3b04190fa2: Pull complete 20:43:07 2f39f015ded8: Pull complete 20:43:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:43:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:07 prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container 20:43:07 $ 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 20:43:08 $ docker top 9555312291a960b7200ee943928ae31a7b9b95035846085e6363826e37f2fd9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:08 ---> job-cost.sh 20:43:08 lf-activate-venv: SKIPPING 20:43:08 INFO: No Stack... 20:43:09 INFO: Retrieving Pricing Info for: v3-standard-8 20:43:09 INFO: Archiving Costs [Pipeline] sh 20:43:09 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 20:43:09 + cut -d, -f6 [Pipeline] lock 20:43:09 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] 20:43:09 Resource [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] did not exist. Created. 20:43:09 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:43:10 + echo total: 0.2199999988079071 [Pipeline] stash 20:43:10 Stashed 1 file(s) [Pipeline] } 20:43:10 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 20:43:10 $ docker stop --time=1 9555312291a960b7200ee943928ae31a7b9b95035846085e6363826e37f2fd9e 20:43:11 $ docker rm -f 9555312291a960b7200ee943928ae31a7b9b95035846085e6363826e37f2fd9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:44:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117327 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 20:44:56 Running in /w/workspace/device-modbus-go/62 [Pipeline] { [Pipeline] checkout 20:44:56 Selected Git installation does not exist. Using Default 20:44:56 The recommended git tool is: NONE 20:45:05 using credential edgex-jenkins-ssh 20:45:05 Cloning the remote Git repository 20:45:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:45:05 > git init /w/workspace/device-modbus-go/62 # timeout=10 20:45:06 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:45:06 > git --version # timeout=10 20:45:06 > git --version # 'git version 2.25.1' 20:45:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:06 Verifying host key using known hosts file 20:45:06 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. 20:45:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:10 Avoid second fetch 20:45:10 Checking out Revision aaadd7fbda2364c2efb57d494d7ebea4b574ed12 (main) 20:45:08 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:45:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:10 Commit message: "build: Latest go-mods, config and Dockerfile fix (#387)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:10 > git config core.sparsecheckout # timeout=10 20:45:10 > git checkout -f aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 20:45:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:11 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:11 Dload Upload Total Spent Left Speed 20:45:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 20:45:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:12 + + sudo tee /etc/docker/daemon.newsudo 20:45:12 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:12 { 20:45:12 "registry-mirrors": [ 20:45:12 "https://nexus3.edgexfoundry.org:10001" 20:45:12 ], 20:45:12 "bip": "10.250.0.254/24", 20:45:12 "hosts": [ 20:45:12 "tcp://0.0.0.0:5555", 20:45:12 "unix:///var/run/docker.sock" 20:45:12 ], 20:45:12 "mtu": 1458, 20:45:12 "selinux-enabled": true, 20:45:12 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:12 } [Pipeline] sh 20:45:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:31 provisioning config files... 20:45:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/62@tmp/config13619585456150599641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:32 ---> docker-login.sh 20:45:32 nexus3.edgexfoundry.org:10001 20:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:32 Configure a credential helper to remove this warning. See 20:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:32 20:45:32 Login Succeeded 20:45:32 nexus3.edgexfoundry.org:10002 20:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:33 Configure a credential helper to remove this warning. See 20:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:33 20:45:33 Login Succeeded 20:45:33 nexus3.edgexfoundry.org:10003 20:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:33 Configure a credential helper to remove this warning. See 20:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:33 20:45:33 Login Succeeded 20:45:33 nexus3.edgexfoundry.org:10004 20:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:33 Configure a credential helper to remove this warning. See 20:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:33 20:45:33 Login Succeeded 20:45:34 docker.io 20:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:34 Configure a credential helper to remove this warning. See 20:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:34 20:45:34 Login Succeeded 20:45:34 ---> docker-login.sh ends [Pipeline] } 20:45:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:35 ========================================================= 20:45:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:45:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:35 + 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 . 20:45:35 Sending build context to Docker daemon 3.237MB 20:45:35 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:45:35 Step 2/10 : FROM ${BASE} AS builder 20:45:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:35 9b18e9b68314: Pulling fs layer 20:45:35 d32db5db7311: Pulling fs layer 20:45:35 d0c4b47475fc: Pulling fs layer 20:45:35 5831b945b038: Pulling fs layer 20:45:35 86bbec2aaacd: Pulling fs layer 20:45:35 e10730c5d714: Pulling fs layer 20:45:35 5dd5c2283517: Pulling fs layer 20:45:35 d5ac0230b979: Pulling fs layer 20:45:35 5831b945b038: Waiting 20:45:35 86bbec2aaacd: Waiting 20:45:35 e10730c5d714: Waiting 20:45:35 d5ac0230b979: Waiting 20:45:35 5dd5c2283517: Waiting 20:45:35 d0c4b47475fc: Download complete 20:45:35 d32db5db7311: Verifying Checksum 20:45:35 d32db5db7311: Download complete 20:45:35 86bbec2aaacd: Verifying Checksum 20:45:35 86bbec2aaacd: Download complete 20:45:35 e10730c5d714: Verifying Checksum 20:45:35 e10730c5d714: Download complete 20:45:35 9b18e9b68314: Verifying Checksum 20:45:35 9b18e9b68314: Download complete 20:45:36 9b18e9b68314: Pull complete 20:45:37 d5ac0230b979: Verifying Checksum 20:45:37 d5ac0230b979: Download complete 20:45:37 d32db5db7311: Pull complete 20:45:38 d0c4b47475fc: Pull complete 20:45:38 5dd5c2283517: Verifying Checksum 20:45:38 5dd5c2283517: Download complete 20:45:39 5831b945b038: Verifying Checksum 20:45:39 5831b945b038: Download complete 20:45:51 5831b945b038: Pull complete 20:45:52 86bbec2aaacd: Pull complete 20:45:52 e10730c5d714: Pull complete 20:45:59 5dd5c2283517: Pull complete 20:46:00 d5ac0230b979: Pull complete 20:46:00 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:46:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:46:00 ---> 59b3b1a385d4 20:46:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:46:01 ---> Running in 420b6d39f0d7 20:46:02 Removing intermediate container 420b6d39f0d7 20:46:02 ---> 2293ce247970 20:46:02 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:46:02 ---> Running in 3b7a88a9aaa6 20:46:02 Removing intermediate container 3b7a88a9aaa6 20:46:02 ---> 33e839f6530c 20:46:02 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:46:02 ---> Running in 940ecbb26ecd 20:46:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:46:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:46:06 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:46:06 (2/8) Installing libedit (20210910.3.1-r0) 20:46:06 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:46:06 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:46:06 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:46:06 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:46:06 (7/8) Installing openssh-server (9.0_p1-r2) 20:46:06 (8/8) Installing openssh (9.0_p1-r2) 20:46:06 Executing busybox-1.35.0-r17.trigger 20:46:06 OK: 228 MiB in 59 packages 20:46:08 Removing intermediate container 940ecbb26ecd 20:46:08 ---> 9e06b7102d7b 20:46:08 Step 6/10 : WORKDIR /device-modbus-go 20:46:08 ---> Running in affab908119c 20:46:08 Removing intermediate container affab908119c 20:46:08 ---> 5a82e39c0b4b 20:46:08 Step 7/10 : COPY go.mod vendor* ./ 20:46:08 ---> c6a42d19ec67 20:46:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:09 ---> Running in 04e547af0399 20:47:05 Removing intermediate container 04e547af0399 20:47:05 ---> 084f6dc771ed 20:47:05 Step 9/10 : COPY . . 20:47:05 ---> 91c1598939bb 20:47:05 Step 10/10 : RUN ${MAKE} 20:47:05 ---> Running in c72024ee9c10 20:47:05 noop 20:47:06 Removing intermediate container c72024ee9c10 20:47:06 ---> 9526d4e759df 20:47:06 Successfully built 9526d4e759df 20:47:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:06 + docker inspect -f . ci-base-image-arm64 20:47:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:06 prd-ubuntu20.04-docker-arm64-4c-16g-117327 does not seem to be running inside a container 20:47:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/62 -v /w/workspace/device-modbus-go/62:/w/workspace/device-modbus-go/62:rw,z -v /w/workspace/device-modbus-go/62@tmp:/w/workspace/device-modbus-go/62@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 20:47:07 $ docker top 7426c242ddb2d9f03e8de419092d615b97ad48f42b723babf00364040c42c65c -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:08 + go version 20:47:08 go version go1.18.7 linux/arm64 [Pipeline] } 20:47:08 $ docker stop --time=1 7426c242ddb2d9f03e8de419092d615b97ad48f42b723babf00364040c42c65c 20:47:10 $ docker rm -f 7426c242ddb2d9f03e8de419092d615b97ad48f42b723babf00364040c42c65c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:11 + docker inspect -f . ci-base-image-arm64 20:47:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:11 prd-ubuntu20.04-docker-arm64-4c-16g-117327 does not seem to be running inside a container 20:47:11 $ 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/62 -v /w/workspace/device-modbus-go/62:/w/workspace/device-modbus-go/62:rw,z -v /w/workspace/device-modbus-go/62@tmp:/w/workspace/device-modbus-go/62@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 20:47:12 $ docker top 73c50eca8003e9baf152bd7ce3c9f68ad714d62d3e4caa45220cf53f1484b17e -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:13 + git config --global --add safe.directory /w/workspace/device-modbus-go/62 [Pipeline] fileExists [Pipeline] sh 20:47:14 + make test 20:47:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:47:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:48:53 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:48:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements 20:48:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:48:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:49:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:49:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:49:15 ./bin/test-attribution-txt.sh [Pipeline] echo 20:49:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:49:15 $ docker stop --time=1 73c50eca8003e9baf152bd7ce3c9f68ad714d62d3e4caa45220cf53f1484b17e 20:49:17 $ docker rm -f 73c50eca8003e9baf152bd7ce3c9f68ad714d62d3e4caa45220cf53f1484b17e [Pipeline] // withDockerContainer [Pipeline] sh 20:49:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:18 Warning: overwriting stash ‘coverage-report’ 20:49:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:19 + ls -al . 20:49:19 total 192 20:49:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:47 . 20:49:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:45 .. 20:49:19 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 20:45 .dockerignore 20:49:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:45 .git 20:49:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 .github 20:49:19 -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 20:45 .gitignore 20:49:19 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:45 .golangci.yml 20:49:19 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 20:45 Attribution.txt 20:49:19 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 20:45 CHANGELOG.md 20:49:19 -rw-rw-r-- 1 jenkins jenkins 1428 Oct 26 20:45 Dockerfile 20:49:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:45 GOVERNANCE.md 20:49:19 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:45 Jenkinsfile 20:49:19 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:45 LICENSE 20:49:19 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 20:45 Makefile 20:49:19 -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:45 OWNERS.md 20:49:19 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 20:45 README.md 20:49:19 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:41 VERSION 20:49:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:45 bin 20:49:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 cmd 20:49:19 -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 20:48 coverage.out 20:49:19 -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 20:45 go.mod 20:49:19 -rw-rw-r-- 1 jenkins jenkins 45309 Oct 26 20:45 go.sum 20:49:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 internal 20:49:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:45 simulator 20:49:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:45 snap 20:49:19 -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:20 + 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=aaadd7fbda2364c2efb57d494d7ebea4b574ed12 --label arch=arm64 --label version=2.3.0-dev.22 . 20:49:20 Sending build context to Docker daemon 3.261MB 20:49:20 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:49:20 Step 2/22 : FROM ${BASE} AS builder 20:49:20 ---> 9526d4e759df 20:49:20 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:49:20 ---> Running in 10ee7d5580a9 20:49:20 Removing intermediate container 10ee7d5580a9 20:49:20 ---> 56aed17e39f7 20:49:20 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:20 ---> Running in 3e252b15c1f5 20:49:21 Removing intermediate container 3e252b15c1f5 20:49:21 ---> 238a958768c1 20:49:21 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:49:21 ---> Running in 0b7479a145fa 20:49:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:49:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:49:23 OK: 228 MiB in 59 packages 20:49:25 Removing intermediate container 0b7479a145fa 20:49:25 ---> b4350afa0861 20:49:25 Step 6/22 : WORKDIR /device-modbus-go 20:49:25 ---> Running in 7a03dd8cbbdc 20:49:25 Removing intermediate container 7a03dd8cbbdc 20:49:25 ---> b2036299a413 20:49:25 Step 7/22 : COPY go.mod vendor* ./ 20:49:26 ---> 8d22bd3bd89a 20:49:26 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:26 ---> Running in 4a0a38b9a4f4 20:49:28 Removing intermediate container 4a0a38b9a4f4 20:49:28 ---> f690a82ff262 20:49:28 Step 9/22 : COPY . . 20:49:29 ---> d988fc1973c4 20:49:29 Step 10/22 : RUN ${MAKE} 20:49:29 ---> Running in 0c90a9d8218d 20:49:30 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 20:52:07 Removing intermediate container 0c90a9d8218d 20:52:07 ---> 523dd744851a 20:52:07 Step 11/22 : FROM alpine:3.14 20:52:07 3.14: Pulling from library/alpine 20:52:07 90cda3b7c325: Pulling fs layer 20:52:07 90cda3b7c325: Verifying Checksum 20:52:07 90cda3b7c325: Download complete 20:52:07 90cda3b7c325: Pull complete 20:52:07 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:52:07 Status: Downloaded newer image for alpine:3.14 20:52:07 ---> 376ba31ae3da 20:52:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:52:07 ---> Running in bc15bf1a3e79 20:52:07 Removing intermediate container bc15bf1a3e79 20:52:07 ---> 5dba3fdcc507 20:52:07 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 20:52:07 ---> Running in a5d0fbff54e1 20:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:52:07 (1/6) Installing dumb-init (1.2.5-r1) 20:52:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:52:07 (3/6) Installing libsodium (1.0.18-r0) 20:52:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:52:07 (5/6) Installing libzmq (4.3.4-r0) 20:52:07 (6/6) Installing zeromq (4.3.4-r0) 20:52:07 Executing busybox-1.33.1-r8.trigger 20:52:07 OK: 8 MiB in 20 packages 20:52:07 Removing intermediate container a5d0fbff54e1 20:52:07 ---> 8c603497cf4a 20:52:07 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:52:09 ---> ad914b3588ac 20:52:09 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:52:09 ---> ee8cee0318ef 20:52:09 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:52:10 ---> e59acedb79cf 20:52:10 Step 17/22 : EXPOSE 59901 20:52:10 ---> Running in e50817a39354 20:52:10 Removing intermediate container e50817a39354 20:52:10 ---> 094ff2579abd 20:52:10 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:52:10 ---> Running in 7b016819b6b6 20:52:11 Removing intermediate container 7b016819b6b6 20:52:11 ---> 6cc04c4ea6dd 20:52:11 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:52:11 ---> Running in 1bcfa1f325e0 20:52:11 Removing intermediate container 1bcfa1f325e0 20:52:11 ---> 7f4cd043003b 20:52:11 Step 20/22 : LABEL arch=arm64 20:52:11 ---> Running in f4e79f66be35 20:52:11 Removing intermediate container f4e79f66be35 20:52:11 ---> 029527cf467c 20:52:11 Step 21/22 : LABEL git_sha=aaadd7fbda2364c2efb57d494d7ebea4b574ed12 20:52:12 ---> Running in b25e21bb1ffc 20:52:12 Removing intermediate container b25e21bb1ffc 20:52:12 ---> fef9e8952e2c 20:52:12 Step 22/22 : LABEL version=2.3.0-dev.22 20:52:12 ---> Running in 5b3b220c1bb1 20:52:12 Removing intermediate container 5b3b220c1bb1 20:52:12 ---> a4325079d556 20:52:12 [Warning] One or more build-args [ARCH] were not consumed 20:52:12 Successfully built a4325079d556 20:52:12 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 20:52:12 provisioning config files... 20:52:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/62@tmp/config14651759790067242097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:13 ---> docker-login.sh 20:52:13 nexus3.edgexfoundry.org:10001 20:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:13 Configure a credential helper to remove this warning. See 20:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:13 20:52:13 Login Succeeded 20:52:13 nexus3.edgexfoundry.org:10002 20:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:13 Configure a credential helper to remove this warning. See 20:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:13 20:52:13 Login Succeeded 20:52:13 nexus3.edgexfoundry.org:10003 20:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:14 Configure a credential helper to remove this warning. See 20:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:14 20:52:14 Login Succeeded 20:52:14 nexus3.edgexfoundry.org:10004 20:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:14 Configure a credential helper to remove this warning. See 20:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:14 20:52:14 Login Succeeded 20:52:14 docker.io 20:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:15 Configure a credential helper to remove this warning. See 20:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:15 20:52:15 Login Succeeded 20:52:15 ---> docker-login.sh ends [Pipeline] } 20:52:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:15 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 20:52:15 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 20:52:15 latest 20:52:15 2.3.0-dev.22 20:52:15 aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 20:52:15 main 20:52:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 20:52:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:52:16 06175edd7721: Preparing 20:52:16 e3c06e25de9e: Preparing 20:52:16 0c0c397b1390: Preparing 20:52:16 b957b7be72b5: Preparing 20:52:16 28c3ef001483: Preparing 20:52:16 28c3ef001483: Layer already exists 20:52:16 e3c06e25de9e: Pushed 20:52:16 06175edd7721: Pushed 20:52:17 b957b7be72b5: Pushed 20:52:22 0c0c397b1390: Pushed 20:52:22 aaadd7fbda2364c2efb57d494d7ebea4b574ed12: digest: sha256:c22a20d7d25af97a56870bb5380f4a1e00cff71cbf1fda01e890ee423de7053c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:52:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:52:23 06175edd7721: Preparing 20:52:23 e3c06e25de9e: Preparing 20:52:23 0c0c397b1390: Preparing 20:52:23 b957b7be72b5: Preparing 20:52:23 28c3ef001483: Preparing 20:52:23 e3c06e25de9e: Layer already exists 20:52:23 06175edd7721: Layer already exists 20:52:23 b957b7be72b5: Layer already exists 20:52:23 28c3ef001483: Layer already exists 20:52:23 0c0c397b1390: Layer already exists 20:52:23 latest: digest: sha256:c22a20d7d25af97a56870bb5380f4a1e00cff71cbf1fda01e890ee423de7053c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.22 20:52:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:52:24 06175edd7721: Preparing 20:52:24 e3c06e25de9e: Preparing 20:52:24 0c0c397b1390: Preparing 20:52:24 b957b7be72b5: Preparing 20:52:24 28c3ef001483: Preparing 20:52:24 0c0c397b1390: Layer already exists 20:52:24 06175edd7721: Layer already exists 20:52:24 e3c06e25de9e: Layer already exists 20:52:24 28c3ef001483: Layer already exists 20:52:24 b957b7be72b5: Layer already exists 20:52:24 2.3.0-dev.22: digest: sha256:c22a20d7d25af97a56870bb5380f4a1e00cff71cbf1fda01e890ee423de7053c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 20:52:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:52:25 06175edd7721: Preparing 20:52:25 e3c06e25de9e: Preparing 20:52:25 0c0c397b1390: Preparing 20:52:25 b957b7be72b5: Preparing 20:52:25 28c3ef001483: Preparing 20:52:25 0c0c397b1390: Layer already exists 20:52:25 b957b7be72b5: Layer already exists 20:52:25 28c3ef001483: Layer already exists 20:52:25 06175edd7721: Layer already exists 20:52:25 e3c06e25de9e: Layer already exists 20:52:25 aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22: digest: sha256:c22a20d7d25af97a56870bb5380f4a1e00cff71cbf1fda01e890ee423de7053c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 20:52:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:52:26 06175edd7721: Preparing 20:52:26 e3c06e25de9e: Preparing 20:52:26 0c0c397b1390: Preparing 20:52:26 b957b7be72b5: Preparing 20:52:26 28c3ef001483: Preparing 20:52:26 28c3ef001483: Layer already exists 20:52:26 0c0c397b1390: Layer already exists 20:52:26 b957b7be72b5: Layer already exists 20:52:26 06175edd7721: Layer already exists 20:52:26 e3c06e25de9e: Layer already exists 20:52:26 main: digest: sha256:c22a20d7d25af97a56870bb5380f4a1e00cff71cbf1fda01e890ee423de7053c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:26 ===================================================== [Pipeline] echo 20:52:26 taggedImages: 20:52:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 20:52:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:52:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.22 20:52:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 20:52:26 - 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 20:52:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:27 20:52:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:27 arm64: Pulling from edgex-lftools-log-publisher 20:52:27 8998bd30e6a1: Pulling fs layer 20:52:27 04944245beec: Pulling fs layer 20:52:27 699f458cf7ca: Pulling fs layer 20:52:27 765212b225bb: Pulling fs layer 20:52:27 f23df028b6ca: Pulling fs layer 20:52:27 d65c8cfc05b1: Pulling fs layer 20:52:27 2437ff75d9bd: Pulling fs layer 20:52:27 765212b225bb: Waiting 20:52:27 f23df028b6ca: Waiting 20:52:27 d65c8cfc05b1: Waiting 20:52:27 2437ff75d9bd: Waiting 20:52:27 04944245beec: Verifying Checksum 20:52:27 04944245beec: Download complete 20:52:27 765212b225bb: Verifying Checksum 20:52:27 765212b225bb: Download complete 20:52:28 f23df028b6ca: Verifying Checksum 20:52:28 f23df028b6ca: Download complete 20:52:28 d65c8cfc05b1: Verifying Checksum 20:52:28 d65c8cfc05b1: Download complete 20:52:28 699f458cf7ca: Verifying Checksum 20:52:28 699f458cf7ca: Download complete 20:52:28 8998bd30e6a1: Verifying Checksum 20:52:28 8998bd30e6a1: Download complete 20:52:31 2437ff75d9bd: Verifying Checksum 20:52:31 2437ff75d9bd: Download complete 20:52:32 8998bd30e6a1: Pull complete 20:52:32 04944245beec: Pull complete 20:52:34 699f458cf7ca: Pull complete 20:52:34 765212b225bb: Pull complete 20:52:35 f23df028b6ca: Pull complete 20:52:35 d65c8cfc05b1: Pull complete 20:52:50 2437ff75d9bd: Pull complete 20:52:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:50 prd-ubuntu20.04-docker-arm64-4c-16g-117327 does not seem to be running inside a container 20:52:50 $ 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/62 -v /w/workspace/device-modbus-go/62:/w/workspace/device-modbus-go/62:rw,z -v /w/workspace/device-modbus-go/62@tmp:/w/workspace/device-modbus-go/62@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 20:52:53 $ docker top 7d57b3e338bb0a53f829be69f56de5698c47aeb0d7fab320ec67eb69a97dde96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:54 ---> job-cost.sh 20:52:54 lf-activate-venv: SKIPPING 20:52:54 INFO: No Stack... 20:52:55 INFO: Retrieving Pricing Info for: v3-standard-4 20:52:55 INFO: Archiving Costs [Pipeline] sh 20:52:56 + cat /w/workspace/device-modbus-go/62/archives/cost.csv 20:52:56 + cut -d, -f6 [Pipeline] lock 20:52:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] 20:52:56 Resource [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] did not exist. Created. 20:52:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:57 /w/workspace/device-modbus-go/62@tmp/durable-4ab85d62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:52:57 + echo total: 0.10999999940395355 [Pipeline] stash 20:52:57 Warning: overwriting stash ‘stack-cost’ 20:52:57 Stashed 1 file(s) [Pipeline] } 20:52:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:57 $ docker stop --time=1 7d57b3e338bb0a53f829be69f56de5698c47aeb0d7fab320ec67eb69a97dde96 20:52:59 $ docker rm -f 7d57b3e338bb0a53f829be69f56de5698c47aeb0d7fab320ec67eb69a97dde96 [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 20:52:59 provisioning config files... 20:52:59 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4406636068765338431tmp [Pipeline] { [Pipeline] sh 20:53:00 + set +x 20:53:00 + bash -s -- 20:53:00 + curl -s https://codecov.io/bash 20:53:00 20:53:00 _____ _ 20:53:00 / ____| | | 20:53:00 | | ___ __| | ___ ___ _____ __ 20:53:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:53:00 | |___| (_) | (_| | __/ (_| (_) \ V / 20:53:00 \_____\___/ \__,_|\___|\___\___/ \_/ 20:53:00 Bash-1.0.6 20:53:00 20:53:00 20:53:00 ==> git version 2.25.1 found 20:53:00 ==> 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 20:53:00 Release-Date: 2020-01-08 20:53:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:53:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:53:00 ==> Jenkins CI detected. 20:53:00 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 20:53:00 project root: . 20:53:00 --> token set from env 20:53:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:53:00 ==> Running gcov in . (disable via -X gcov) 20:53:00 ==> Python coveragepy not found 20:53:00 ==> Searching for coverage reports in: 20:53:00 + . 20:53:00 -> Found 1 reports 20:53:00 ==> Detecting git/mercurial file structure 20:53:00 ==> Reading reports 20:53:00 + ./coverage.out bytes=23241 20:53:00 ==> Appending adjustments 20:53:00 https://docs.codecov.io/docs/fixing-reports 20:53:00 + Found adjustments 20:53:00 ==> Gzipping contents 20:53:00 4.0K /tmp/codecov.9kvmZE.gz 20:53:00 ==> Uploading reports 20:53:00 url: https://codecov.io 20:53:00 query: branch=main&commit=aaadd7fbda2364c2efb57d494d7ebea4b574ed12&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:53:00 -> Pinging Codecov 20:53:00 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=aaadd7fbda2364c2efb57d494d7ebea4b574ed12&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:53:00 -> Uploading to 20:53:00 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/55DBCA73C666E3227836607328DD7E49/aaadd7fbda2364c2efb57d494d7ebea4b574ed12/fc3f52c1-3f9b-4743-846a-f0e87bfc2ee9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T205300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c4f0e083a722be968a416cd8ce5d3c4428208e44c13496767c59115a2652281 20:53:00 % Total % Received % Xferd Average Speed Time Time Time Current 20:53:00 Dload Upload Total Spent Left Speed 20:53:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 19077 --:--:-- --:--:-- --:--:-- 18985 100 3930 0 0 100 3930 0 15000 --:--:-- --:--:-- --:--:-- 14942 20:53:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] } 20:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:53:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:53:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:53:01 20:53:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:53:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:53:01 df9b9388f04a: Pulling fs layer 20:53:01 52dc419b0ee2: Pulling fs layer 20:53:01 25bc292e5bac: Pulling fs layer 20:53:01 114826534d7a: Pulling fs layer 20:53:01 4657fd5d0bcf: Pulling fs layer 20:53:01 6ad1cebc031e: Pulling fs layer 20:53:01 8a3aa393b2d8: Pulling fs layer 20:53:01 4657fd5d0bcf: Waiting 20:53:01 6ad1cebc031e: Waiting 20:53:01 114826534d7a: Waiting 20:53:01 8a3aa393b2d8: Waiting 20:53:01 25bc292e5bac: Download complete 20:53:01 52dc419b0ee2: Download complete 20:53:01 4657fd5d0bcf: Verifying Checksum 20:53:01 4657fd5d0bcf: Download complete 20:53:01 df9b9388f04a: Verifying Checksum 20:53:01 df9b9388f04a: Download complete 20:53:01 df9b9388f04a: Pull complete 20:53:01 52dc419b0ee2: Pull complete 20:53:01 25bc292e5bac: Pull complete 20:53:01 6ad1cebc031e: Verifying Checksum 20:53:01 6ad1cebc031e: Download complete 20:53:03 114826534d7a: Verifying Checksum 20:53:03 114826534d7a: Download complete 20:53:04 8a3aa393b2d8: Verifying Checksum 20:53:04 8a3aa393b2d8: Download complete 20:53:06 114826534d7a: Pull complete 20:53:06 4657fd5d0bcf: Pull complete 20:53:06 6ad1cebc031e: Pull complete 20:53:09 8a3aa393b2d8: Pull complete 20:53:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:53:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:53:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:09 prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container 20:53:09 $ 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 20:53:10 $ docker top f8d975a893d92d70467a20a501e2c7289308f731c4169c0face5a7eea76249e2 -eo pid,comm [Pipeline] { [Pipeline] echo 20:53:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 20:53:11 + set -o pipefail 20:53:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 20:53:19 20:53:19 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 20:53:19 20:53:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/9a65870a-22d7-4e03-bdb6-e6797cd6e61b 20:53:19 20:53:19 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 20:53:19 20:53:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:53:19 20:53:19 20:53:19 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:53:19 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:53:19 More details here: https://snyk.co/ue1NS [Pipeline] } 20:53:19 $ docker stop --time=1 f8d975a893d92d70467a20a501e2c7289308f731c4169c0face5a7eea76249e2 20:53:21 $ docker rm -f f8d975a893d92d70467a20a501e2c7289308f731c4169c0face5a7eea76249e2 [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 20:53:21 + git log --format=format:%s -1 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] sh 20:53:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:22 prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container 20:53:22 $ 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 20:53:23 $ docker top 612ef89224500957cc21bce85f3d7b2bd4a1e2eee66f7d320bb881c1fe1584d2 -eo pid,comm 20:53:23 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). 20:53:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:23 [ssh-agent] Looking for ssh-agent implementation... 20:53:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:23 $ docker exec 612ef89224500957cc21bce85f3d7b2bd4a1e2eee66f7d320bb881c1fe1584d2 ssh-agent 20:53:23 SSH_AUTH_SOCK=/tmp/ssh-xD1IOy9U1w5M/agent.33 20:53:23 SSH_AGENT_PID=39 20:53:23 Running ssh-add (command line suppressed) 20:53:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7948391972364290793.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7948391972364290793.key) 20:53:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:23 + git semver tag 20:53:23 2022-10-26 20:53:23,873 [run_tag] DEBUG tag force:False 20:53:23 2022-10-26 20:53:23,873 [check_head_tag] DEBUG check head tag 20:53:23 2022-10-26 20:53:23,874 [execute] INFO git cat-file --batch-check 20:53:23 2022-10-26 20:53:23,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 20:53:23 2022-10-26 20:53:23,877 [execute] INFO git cat-file --batch 20:53:23 2022-10-26 20:53:23,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 20:53:23 2022-10-26 20:53:23,890 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:53:23 2022-10-26 20:53:23,890 [execute] INFO git tag -a v2.3.0-dev.22 -m v2.3.0-dev.22 20:53:23 2022-10-26 20:53:23,890 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.22', '-m', 'v2.3.0-dev.22'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 20:53:23 2022-10-26 20:53:23,894 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:53:23 2.3.0-dev.22 [Pipeline] } 20:53:23 $ docker exec --env ******** --env ******** 612ef89224500957cc21bce85f3d7b2bd4a1e2eee66f7d320bb881c1fe1584d2 ssh-agent -k 20:53:24 unset SSH_AUTH_SOCK; 20:53:24 unset SSH_AGENT_PID; 20:53:24 echo Agent pid 39 killed; 20:53:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:24 + git semver [Pipeline] } 20:53:24 $ docker stop --time=1 612ef89224500957cc21bce85f3d7b2bd4a1e2eee66f7d320bb881c1fe1584d2 20:53:25 $ docker rm -f 612ef89224500957cc21bce85f3d7b2bd4a1e2eee66f7d320bb881c1fe1584d2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:26 20:53:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:26 0.23.1-centos7: Pulling from edgex-lftools 20:53:26 ab5ef0e58194: Pulling fs layer 20:53:26 9712f1f96733: Pulling fs layer 20:53:26 63f879dbbcfc: Pulling fs layer 20:53:26 0d9ebad4ef96: Pulling fs layer 20:53:26 e9a5061849ea: Pulling fs layer 20:53:26 d747dcd14b5f: Pulling fs layer 20:53:26 2de7ff778b66: Pulling fs layer 20:53:26 d747dcd14b5f: Waiting 20:53:26 0d9ebad4ef96: Waiting 20:53:26 e9a5061849ea: Waiting 20:53:26 2de7ff778b66: Waiting 20:53:26 9712f1f96733: Verifying Checksum 20:53:26 9712f1f96733: Download complete 20:53:26 63f879dbbcfc: Verifying Checksum 20:53:26 63f879dbbcfc: Download complete 20:53:27 e9a5061849ea: Verifying Checksum 20:53:27 e9a5061849ea: Download complete 20:53:27 d747dcd14b5f: Verifying Checksum 20:53:27 d747dcd14b5f: Download complete 20:53:27 ab5ef0e58194: Verifying Checksum 20:53:27 ab5ef0e58194: Download complete 20:53:27 2de7ff778b66: Verifying Checksum 20:53:27 2de7ff778b66: Download complete 20:53:27 0d9ebad4ef96: Verifying Checksum 20:53:27 0d9ebad4ef96: Download complete 20:53:29 ab5ef0e58194: Pull complete 20:53:29 9712f1f96733: Pull complete 20:53:30 63f879dbbcfc: Pull complete 20:53:33 0d9ebad4ef96: Pull complete 20:53:33 e9a5061849ea: Pull complete 20:53:33 d747dcd14b5f: Pull complete 20:53:34 2de7ff778b66: Pull complete 20:53:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:53:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:34 prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container 20:53:34 $ 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 20:53:35 $ docker top 17fac79a9001443272272c18d2309a0b1c88f8f0ad47dd59d0ad66548c1075fc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:53:35 provisioning config files... 20:53:35 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10166993721328079916tmp 20:53:35 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15935025775949971559tmp 20:53:35 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8957248874881833025tmp [Pipeline] { [Pipeline] echo 20:53:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:53:36 ---> sigul-configuration.sh 20:53:36 gpg: directory `/root/.gnupg' created 20:53:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:53:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:53:36 gpg: keyring `/root/.gnupg/secring.gpg' created 20:53:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:53:36 gpg: CAST5 encrypted data 20:53:36 gpg: encrypted with 1 passphrase 20:53:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:53:36 + mkdir /home/jenkins 20:53:36 + mkdir /home/jenkins/sigul [Pipeline] sh 20:53:36 + 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 20:53:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:53:37 ---> sigul-install.sh 20:53:37 Sigul already installed; skipping installation. [Pipeline] sh 20:53:37 + git tag --list 20:53:37 0.7.1 20:53:37 v1.0.0 20:53:37 v1.1.0 20:53:37 v1.1.1 20:53:37 v1.2.2 20:53:37 v1.3.0 20:53:37 v1.3.1 20:53:37 v2.0.0 20:53:37 v2.1.0 20:53:37 v2.1.1 20:53:37 v2.1.1-dev.1 20:53:37 v2.1.1-dev.2 20:53:37 v2.1.1-dev.3 20:53:37 v2.2.0 20:53:37 v2.2.1-dev.1 20:53:37 v2.2.1-dev.2 20:53:37 v2.2.1-dev.3 20:53:37 v2.2.1-dev.4 20:53:37 v2.2.1-dev.5 20:53:37 v2.2.1-dev.6 20:53:37 v2.2.1-dev.7 20:53:37 v2.3.0-dev.10 20:53:37 v2.3.0-dev.11 20:53:37 v2.3.0-dev.12 20:53:37 v2.3.0-dev.13 20:53:37 v2.3.0-dev.14 20:53:37 v2.3.0-dev.15 20:53:37 v2.3.0-dev.16 20:53:37 v2.3.0-dev.17 20:53:37 v2.3.0-dev.18 20:53:37 v2.3.0-dev.19 20:53:37 v2.3.0-dev.20 20:53:37 v2.3.0-dev.21 20:53:37 v2.3.0-dev.22 20:53:37 v2.3.0-dev.7 20:53:37 v2.3.0-dev.8 20:53:37 v2.3.0-dev.9 [Pipeline] sh 20:53:37 + lftools sign git-tag v2.3.0-dev.22 20:53:38 Signing Git tag with Sigul... 20:53:38 Signing v2.3.0-dev.22 [Pipeline] echo 20:53:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:53:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:53:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:53:38 $ docker stop --time=1 17fac79a9001443272272c18d2309a0b1c88f8f0ad47dd59d0ad66548c1075fc 20:53:40 $ docker rm -f 17fac79a9001443272272c18d2309a0b1c88f8f0ad47dd59d0ad66548c1075fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:53:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:40 prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container 20:53:40 $ 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 20:53:41 $ docker top 2d575da2a4011e29b6396de57bccee7341095f5b57fbfa152c6245cff9c1a7c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:41 [ssh-agent] Looking for ssh-agent implementation... 20:53:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:41 $ docker exec 2d575da2a4011e29b6396de57bccee7341095f5b57fbfa152c6245cff9c1a7c2 ssh-agent 20:53:41 SSH_AUTH_SOCK=/tmp/ssh-xOVf8RNFlWON/agent.33 20:53:41 SSH_AGENT_PID=39 20:53:41 Running ssh-add (command line suppressed) 20:53:41 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7481613223825347074.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7481613223825347074.key) 20:53:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:41 + git semver bump pre 20:53:42 2022-10-26 20:53:42,060 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:53:42 2022-10-26 20:53:42,060 [bump_version] DEBUG bumping version:2.3.0-dev.22 on axis:pre with prefix:dev 20:53:42 2022-10-26 20:53:42,060 [bump_version] DEBUG bumped version:2.3.0-dev.23 20:53:42 2022-10-26 20:53:42,060 [write_version] DEBUG write version:2.3.0-dev.23 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 20:53:42 2022-10-26 20:53:42,060 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:53:42 2022-10-26 20:53:42,061 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:53:42 2022-10-26 20:53:42,063 [execute] INFO git cat-file --batch-check 20:53:42 2022-10-26 20:53:42,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:53:42 2022-10-26 20:53:42,069 [execute] INFO git cat-file --batch 20:53:42 2022-10-26 20:53:42,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:53:42 2022-10-26 20:53:42,075 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:53:42 2.3.0-dev.23 [Pipeline] } 20:53:42 $ docker exec --env ******** --env ******** 2d575da2a4011e29b6396de57bccee7341095f5b57fbfa152c6245cff9c1a7c2 ssh-agent -k 20:53:42 unset SSH_AUTH_SOCK; 20:53:42 unset SSH_AGENT_PID; 20:53:42 echo Agent pid 39 killed; 20:53:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:42 + git semver [Pipeline] } 20:53:42 $ docker stop --time=1 2d575da2a4011e29b6396de57bccee7341095f5b57fbfa152c6245cff9c1a7c2 20:53:44 $ docker rm -f 2d575da2a4011e29b6396de57bccee7341095f5b57fbfa152c6245cff9c1a7c2 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:44 prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container 20:53:44 $ 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 20:53:45 $ docker top ae5df5c28014eea1d462753e9ea8c8ffbbf5f0e22049e4fcc489cc3fa742e141 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:45 [ssh-agent] Looking for ssh-agent implementation... 20:53:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:45 $ docker exec ae5df5c28014eea1d462753e9ea8c8ffbbf5f0e22049e4fcc489cc3fa742e141 ssh-agent 20:53:45 SSH_AUTH_SOCK=/tmp/ssh-0ITAK1jHolDI/agent.32 20:53:45 SSH_AGENT_PID=38 20:53:45 Running ssh-add (command line suppressed) 20:53:45 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10955490046691599332.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10955490046691599332.key) 20:53:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:45 + git semver push 20:53:46 2022-10-26 20:53:46,072 [run_push] DEBUG push 20:53:46 2022-10-26 20:53:46,072 [execute] INFO git cat-file --batch-check 20:53:46 2022-10-26 20:53:46,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:53:46 2022-10-26 20:53:46,076 [execute] INFO git rev-list 41d6eb2facf0f711b3e878ac322d2e949a9bc99c -- 20:53:46 2022-10-26 20:53:46,076 [execute] DEBUG Popen(['git', 'rev-list', '41d6eb2facf0f711b3e878ac322d2e949a9bc99c', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:53:46 2022-10-26 20:53:46,083 [execute] INFO git fetch -v origin 20:53:46 2022-10-26 20:53:46,083 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:53:46 2022-10-26 20:53:46,676 [run_push] DEBUG no remote changes detected 20:53:46 2022-10-26 20:53:46,676 [execute] INFO git push origin semver 20:53:46 2022-10-26 20:53:46,677 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:53:47 2022-10-26 20:53:47,487 [run_push] DEBUG push all version tags 20:53:47 2022-10-26 20:53:47,488 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:53:47 2022-10-26 20:53:47,488 [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) 20:53:48 2022-10-26 20:53:48,293 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:53:48 2.3.0-dev.23 [Pipeline] } 20:53:48 $ docker exec --env ******** --env ******** ae5df5c28014eea1d462753e9ea8c8ffbbf5f0e22049e4fcc489cc3fa742e141 ssh-agent -k 20:53:48 unset SSH_AUTH_SOCK; 20:53:48 unset SSH_AGENT_PID; 20:53:48 echo Agent pid 38 killed; 20:53:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:48 + git semver [Pipeline] } 20:53:49 $ docker stop --time=1 ae5df5c28014eea1d462753e9ea8c8ffbbf5f0e22049e4fcc489cc3fa742e141 20:53:50 $ docker rm -f ae5df5c28014eea1d462753e9ea8c8ffbbf5f0e22049e4fcc489cc3fa742e141 [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 20:53:51 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 20:53:51 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 20:53:51 total 16 20:53:51 drwxr-xr-x 3 root root 4096 Oct 26 20:43 . 20:53:51 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:53 .. 20:53:51 drwxr-xr-x 2 root root 4096 Oct 26 20:43 cost 20:53:51 -rw-r--r-- 1 root root 87 Oct 26 20:43 cost.csv 20:53:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 20:53:51 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 20:53:51 total 16 20:53:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:43 . 20:53:51 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:53 .. 20:53:51 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:43 cost 20:53:51 -rw-r--r-- 1 jenkins jenkins 87 Oct 26 20:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:53:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:53:52 ---> package-listing.sh 20:53:52 ++ facter osfamily 20:53:52 ++ tr '[:upper:]' '[:lower:]' 20:53:52 + OS_FAMILY=debian 20:53:52 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 20:53:52 + START_PACKAGES=/tmp/packages_start.txt 20:53:52 + END_PACKAGES=/tmp/packages_end.txt 20:53:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:53:52 + PACKAGES=/tmp/packages_start.txt 20:53:52 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:53:52 + PACKAGES=/tmp/packages_end.txt 20:53:52 + case "${OS_FAMILY}" in 20:53:52 + dpkg -l 20:53:52 + grep '^ii' 20:53:52 + '[' -f /tmp/packages_start.txt ']' 20:53:52 + '[' -f /tmp/packages_end.txt ']' 20:53:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:53:52 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:53:52 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 20:53:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 20:53:52 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 20:53:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:53 prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container 20:53:53 $ 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 20:53:53 $ docker top bf2ea28bec22394a2e955b92b783a1fb53a28f04d238d8c2f687be9e38ce9649 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:53 + touch /tmp/pre-build-complete [Pipeline] sh 20:53:54 + mkdir -p /var/log/sysstat [Pipeline] sh 20:53:54 + ls /var/log/sa-host 20:53:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:54 provisioning config files... 20:53:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1148019588148786969tmp [Pipeline] { [Pipeline] echo 20:53:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:53:55 ---> create-netrc.sh [Pipeline] } 20:53:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:53:55 ---> python-tools-install.sh [Pipeline] echo 20:53:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:53:55 ---> sudo-logs.sh 20:53:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:53:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:53:56 ---> job-cost.sh 20:53:56 lf-activate-venv: SKIPPING 20:53:56 DEBUG: total: 0.2199999988079071 20:53:56 INFO: Retrieving Stack Cost... 20:53:56 INFO: Retrieving Pricing Info for: v3-standard-8 20:53:56 INFO: Archiving Costs [Pipeline] echo 20:53:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:53:57 ---> logs-deploy.sh 20:53:57 lf-activate-venv: SKIPPING 20:53:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/62 20:53:57 INFO: archiving workspace using pattern(s): 20:53:58 Archives upload complete. 20:53:58 INFO: archiving logs to Nexus