Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e06bb49e1a76cfe96378d9ace2c77329ab7864d7 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-ssh16358280170020987907.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6280412941880805501.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2526697653805077507.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6607611380050993908.key > 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-ssh9977831835555287084.key > 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-121216 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 > 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 e06bb49e1a76cfe96378d9ace2c77329ab7864d7 (main) Commit message: "refactor!: use latest SDK for flattened config stem (#392)" > 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 e06bb49e1a76cfe96378d9ace2c77329ab7864d7 # timeout=10 > git rev-list --no-walk 251be81c94d6bf2c69d06494166ea5d98cfe24ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:37:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:37:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:37:31 ========================================================= 16:37:31 EdgeX Global Pipelines Version Info 16:37:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:37:31 ------------------- 16:37:31 stable info: 16:37:31 ------------------- 16:37:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:37:31 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:37:31 Message: update stable to v1.0.244 16:37:32 ------------------- 16:37:32 experimental info: 16:37:32 ------------------- 16:37:32 Commited By: **** collab-it+edgex@linuxfoundation.org 16:37:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:37:32 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e06bb49e1a76cfe96378d9ace2c77329ab7864d7 [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e06bb49 [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:37:33 provisioning config files... 16:37:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3899576721650884334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:33 ---> docker-login.sh 16:37:33 nexus3.edgexfoundry.org:10001 16:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:33 Configure a credential helper to remove this warning. See 16:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:33 16:37:33 Login Succeeded 16:37:33 nexus3.edgexfoundry.org:10002 16:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:33 Configure a credential helper to remove this warning. See 16:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:33 16:37:33 Login Succeeded 16:37:33 nexus3.edgexfoundry.org:10003 16:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:33 Configure a credential helper to remove this warning. See 16:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:33 16:37:33 Login Succeeded 16:37:33 nexus3.edgexfoundry.org:10004 16:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:33 Configure a credential helper to remove this warning. See 16:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:33 16:37:33 Login Succeeded 16:37:33 docker.io 16:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:34 Configure a credential helper to remove this warning. See 16:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:34 16:37:34 Login Succeeded 16:37:34 ---> docker-login.sh ends [Pipeline] } 16:37:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:37:34 + git rev-list -1 --merges e06bb49e1a76cfe96378d9ace2c77329ab7864d7~1..e06bb49e1a76cfe96378d9ace2c77329ab7864d7 [Pipeline] echo 16:37:34 -----------> git rev-list -1 --merges e06bb49e1a76cfe96378d9ace2c77329ab7864d7~1..e06bb49e1a76cfe96378d9ace2c77329ab7864d7 e06bb49e1a76cfe96378d9ace2c77329ab7864d7 [false] [Pipeline] sh 16:37:34 + git log --format=format:%s -1 e06bb49e1a76cfe96378d9ace2c77329ab7864d7 [Pipeline] echo 16:37:34 ========================================================= 16:37:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:37:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:37:35 + git log --format=format:%s -1 e06bb49e1a76cfe96378d9ace2c77329ab7864d7 [Pipeline] echo 16:37:35 [semverPrep] GIT_COMMIT: e06bb49e1a76cfe96378d9ace2c77329ab7864d7, Commit Message: refactor!: use latest SDK for flattened config stem (#392) [Pipeline] echo 16:37:35 [semverPrep] This is not a build commit. [Pipeline] sh 16:37:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:37:35 + grep -v github /etc/ssh/ssh_known_hosts 16:37:35 + [ -e /tmp/ssh_known_hosts ] 16:37:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:37:35 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:37:35 sudo tee -a /etc/ssh/ssh_known_hosts 16:37:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:37:36 16:37:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:37:36 0.1.4: Pulling from edgex-devops/py-git-semver 16:37:36 b85a868b505f: Pulling fs layer 16:37:36 e2be974225ed: Pulling fs layer 16:37:36 339a4e72a1f5: Pulling fs layer 16:37:36 988bab9f4d93: Pulling fs layer 16:37:36 1469e6f7b9e6: Pulling fs layer 16:37:36 988bab9f4d93: Waiting 16:37:36 eaf3925da568: Pulling fs layer 16:37:36 bab4dde63d76: Pulling fs layer 16:37:36 bde34c3a00c8: Pulling fs layer 16:37:36 b352a97aabf1: Pulling fs layer 16:37:36 1469e6f7b9e6: Waiting 16:37:36 4872d77fe225: Pulling fs layer 16:37:36 5851b861e8e6: Pulling fs layer 16:37:36 eaf3925da568: Waiting 16:37:36 b352a97aabf1: Waiting 16:37:36 4872d77fe225: Waiting 16:37:36 bde34c3a00c8: Waiting 16:37:36 bab4dde63d76: Waiting 16:37:36 5851b861e8e6: Waiting 16:37:36 e2be974225ed: Download complete 16:37:36 988bab9f4d93: Download complete 16:37:36 1469e6f7b9e6: Verifying Checksum 16:37:36 1469e6f7b9e6: Download complete 16:37:36 eaf3925da568: Download complete 16:37:36 339a4e72a1f5: Verifying Checksum 16:37:36 339a4e72a1f5: Download complete 16:37:36 bde34c3a00c8: Verifying Checksum 16:37:36 bde34c3a00c8: Download complete 16:37:36 b352a97aabf1: Download complete 16:37:36 4872d77fe225: Verifying Checksum 16:37:36 4872d77fe225: Download complete 16:37:36 5851b861e8e6: Download complete 16:37:36 b85a868b505f: Download complete 16:37:36 bab4dde63d76: Verifying Checksum 16:37:36 bab4dde63d76: Download complete 16:37:37 b85a868b505f: Pull complete 16:37:38 e2be974225ed: Pull complete 16:37:38 339a4e72a1f5: Pull complete 16:37:38 988bab9f4d93: Pull complete 16:37:38 1469e6f7b9e6: Pull complete 16:37:38 eaf3925da568: Pull complete 16:37:40 bab4dde63d76: Pull complete 16:37:40 bde34c3a00c8: Pull complete 16:37:40 b352a97aabf1: Pull complete 16:37:40 4872d77fe225: Pull complete 16:37:40 5851b861e8e6: Pull complete 16:37:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:37:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:37:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:41 prd-ubuntu20.04-docker-8c-8g-121216 does not seem to be running inside a container 16:37:41 $ 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 16:37:42 $ docker top 4e4a652e02b742c892caf251960d064037815483d4d36cfa0496956449ec6765 -eo pid,comm 16:37:42 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). 16:37:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:37:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:37:42 [ssh-agent] Looking for ssh-agent implementation... 16:37:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:37:43 $ docker exec 4e4a652e02b742c892caf251960d064037815483d4d36cfa0496956449ec6765 ssh-agent 16:37:43 SSH_AUTH_SOCK=/tmp/ssh-fZvQnc26vGP2/agent.32 16:37:43 SSH_AGENT_PID=38 16:37:43 Running ssh-add (command line suppressed) 16:37:43 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5896568691361775758.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5896568691361775758.key) 16:37:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:37:43 + git tag --points-at HEAD [Pipeline] } 16:37:43 $ docker exec --env ******** --env ******** 4e4a652e02b742c892caf251960d064037815483d4d36cfa0496956449ec6765 ssh-agent -k 16:37:43 unset SSH_AUTH_SOCK; 16:37:43 unset SSH_AGENT_PID; 16:37:43 echo Agent pid 38 killed; 16:37:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:37:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:37:43 [ssh-agent] Looking for ssh-agent implementation... 16:37:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:37:43 $ docker exec 4e4a652e02b742c892caf251960d064037815483d4d36cfa0496956449ec6765 ssh-agent 16:37:43 SSH_AUTH_SOCK=/tmp/ssh-gIsJjpQadl9S/agent.70 16:37:43 SSH_AGENT_PID=76 16:37:43 Running ssh-add (command line suppressed) 16:37:44 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15025479113387775744.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15025479113387775744.key) 16:37:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:37:44 + git semver init 16:37:44 2022-12-14 16:37:44,593 [run_init] DEBUG init version:0.0.0 force:False 16:37:44 2022-12-14 16:37:44,593 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 16:37:44 2022-12-14 16:37:44,594 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 16:37:44 2022-12-14 16:37:44,594 [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) 16:37:45 2022-12-14 16:37:45,376 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 16:37:45 2022-12-14 16:37:45,376 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 16:37:45 2022-12-14 16:37:45,376 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:37:45 2022-12-14 16:37:45,377 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:37:45 3.0.0-dev.1 [Pipeline] } 16:37:45 $ docker exec --env ******** --env ******** 4e4a652e02b742c892caf251960d064037815483d4d36cfa0496956449ec6765 ssh-agent -k 16:37:45 unset SSH_AUTH_SOCK; 16:37:45 unset SSH_AGENT_PID; 16:37:45 echo Agent pid 76 killed; 16:37:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:37:46 + git semver [Pipeline] } 16:37:46 $ docker stop --time=1 4e4a652e02b742c892caf251960d064037815483d4d36cfa0496956449ec6765 16:37:47 $ docker rm -f 4e4a652e02b742c892caf251960d064037815483d4d36cfa0496956449ec6765 [Pipeline] // withDockerContainer [Pipeline] sh 16:37:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:37:48 Stashed 1 file(s) [Pipeline] echo 16:37:48 [edgeXSemver]: initialized semver on version 3.0.0-dev.1 [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 16:37:48 provisioning config files... 16:37:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3392604357981113845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:48 ---> docker-login.sh 16:37:48 nexus3.edgexfoundry.org:10001 16:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:48 Configure a credential helper to remove this warning. See 16:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:48 16:37:48 Login Succeeded 16:37:48 nexus3.edgexfoundry.org:10002 16:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:48 Configure a credential helper to remove this warning. See 16:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:48 16:37:48 Login Succeeded 16:37:48 nexus3.edgexfoundry.org:10003 16:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:48 Configure a credential helper to remove this warning. See 16:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:48 16:37:48 Login Succeeded 16:37:48 nexus3.edgexfoundry.org:10004 16:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:48 Configure a credential helper to remove this warning. See 16:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:48 16:37:48 Login Succeeded 16:37:48 docker.io 16:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:49 Configure a credential helper to remove this warning. See 16:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:49 16:37:49 Login Succeeded 16:37:49 ---> docker-login.sh ends [Pipeline] } 16:37:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:37:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:37:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:37:49 ========================================================= 16:37:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:37:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:49 + 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 . 16:37:49 Sending build context to Docker daemon 6.316MB 16:37:49 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:37:49 Step 2/10 : FROM ${BASE} AS builder 16:37:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:37:49 213ec9aee27d: Pulling fs layer 16:37:49 4583459ba037: Pulling fs layer 16:37:49 93c1e223e6f2: Pulling fs layer 16:37:49 53926ce57604: Pulling fs layer 16:37:49 21b2b0c7a3f4: Pulling fs layer 16:37:49 22ff95d597cd: Pulling fs layer 16:37:49 12d6caf4c0d1: Pulling fs layer 16:37:49 96b7cbca73a9: Pulling fs layer 16:37:49 a7acece74701: Pulling fs layer 16:37:49 12d6caf4c0d1: Waiting 16:37:49 96b7cbca73a9: Waiting 16:37:49 a7acece74701: Waiting 16:37:49 53926ce57604: Waiting 16:37:49 21b2b0c7a3f4: Waiting 16:37:49 93c1e223e6f2: Download complete 16:37:49 4583459ba037: Verifying Checksum 16:37:49 4583459ba037: Download complete 16:37:49 21b2b0c7a3f4: Verifying Checksum 16:37:49 21b2b0c7a3f4: Download complete 16:37:49 22ff95d597cd: Verifying Checksum 16:37:49 22ff95d597cd: Download complete 16:37:49 213ec9aee27d: Verifying Checksum 16:37:49 213ec9aee27d: Download complete 16:37:49 12d6caf4c0d1: Verifying Checksum 16:37:49 12d6caf4c0d1: Download complete 16:37:49 213ec9aee27d: Pull complete 16:37:50 4583459ba037: Pull complete 16:37:50 93c1e223e6f2: Pull complete 16:37:50 a7acece74701: Download complete 16:37:50 96b7cbca73a9: Verifying Checksum 16:37:50 96b7cbca73a9: Download complete 16:37:50 53926ce57604: Verifying Checksum 16:37:50 53926ce57604: Download complete 16:37:54 53926ce57604: Pull complete 16:37:54 21b2b0c7a3f4: Pull complete 16:37:54 22ff95d597cd: Pull complete 16:37:54 12d6caf4c0d1: Pull complete 16:37:56 96b7cbca73a9: Pull complete 16:37:57 a7acece74701: Pull complete 16:37:57 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:37:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:37:57 ---> db6d94c90886 16:37:57 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:37:59 ---> Running in 4e71909c6cb1 16:37:59 Removing intermediate container 4e71909c6cb1 16:37:59 ---> fbfded3b3cc3 16:37:59 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:37:59 ---> Running in 9174eb9fb6fb 16:37:59 Removing intermediate container 9174eb9fb6fb 16:37:59 ---> cc80af39c451 16:37:59 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:37:59 ---> Running in 04bf4f3ec21a 16:37:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:38:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:38:00 (1/8) Installing openssh-keygen (9.0_p1-r2) 16:38:00 (2/8) Installing libedit (20210910.3.1-r0) 16:38:00 (3/8) Installing openssh-client-common (9.0_p1-r2) 16:38:00 (4/8) Installing openssh-client-default (9.0_p1-r2) 16:38:00 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 16:38:00 (6/8) Installing openssh-server-common (9.0_p1-r2) 16:38:00 (7/8) Installing openssh-server (9.0_p1-r2) 16:38:00 (8/8) Installing openssh (9.0_p1-r2) 16:38:00 Executing busybox-1.35.0-r17.trigger 16:38:00 OK: 217 MiB in 59 packages 16:38:00 Removing intermediate container 04bf4f3ec21a 16:38:00 ---> e64bda450215 16:38:00 Step 6/10 : WORKDIR /device-modbus-go 16:38:00 ---> Running in 1d04198b1002 16:38:01 Removing intermediate container 1d04198b1002 16:38:01 ---> 400d709e54e9 16:38:01 Step 7/10 : COPY go.mod vendor* ./ 16:38:01 ---> 628e0fdfba83 16:38:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:38:01 ---> Running in 67b991b2bbf4 16:38:03 Still waiting to schedule task 16:38:03 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:38:23 Removing intermediate container 67b991b2bbf4 16:38:23 ---> 4cdb97a27393 16:38:23 Step 9/10 : COPY . . 16:38:23 ---> 6f8b6c727c70 16:38:23 Step 10/10 : RUN ${MAKE} 16:38:23 ---> Running in 98057ea034a7 16:38:23 noop 16:38:23 Removing intermediate container 98057ea034a7 16:38:23 ---> 7dd53b1dae5b 16:38:23 Successfully built 7dd53b1dae5b 16:38:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:23 + docker inspect -f . ci-base-image-x86_64 16:38:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:38:23 prd-ubuntu20.04-docker-8c-8g-121216 does not seem to be running inside a container 16:38:23 $ 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 16:38:23 $ docker top d37de0088ed622175e4d97738f584dfb067ac890536b859f8d0cb6b67628cac7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:38:24 + go version 16:38:24 go version go1.18.7 linux/amd64 [Pipeline] } 16:38:24 $ docker stop --time=1 d37de0088ed622175e4d97738f584dfb067ac890536b859f8d0cb6b67628cac7 16:38:25 $ docker rm -f d37de0088ed622175e4d97738f584dfb067ac890536b859f8d0cb6b67628cac7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:26 + docker inspect -f . ci-base-image-x86_64 16:38:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:38:26 prd-ubuntu20.04-docker-8c-8g-121216 does not seem to be running inside a container 16:38:26 $ 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 16:38:26 $ docker top 84f004e723e7c96ae73fbe1dbcca30b9962b4b5555398aeb2f9a09cc30907f78 -eo pid,comm [Pipeline] { [Pipeline] sh 16:38:26 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 16:38:27 + make test 16:38:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:38:27 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:38:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:38:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements 16:38:42 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." 16:38:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:38:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:38:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:38:45 ./bin/test-attribution-txt.sh [Pipeline] echo 16:38:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:38:45 $ docker stop --time=1 84f004e723e7c96ae73fbe1dbcca30b9962b4b5555398aeb2f9a09cc30907f78 16:38:48 $ docker rm -f 84f004e723e7c96ae73fbe1dbcca30b9962b4b5555398aeb2f9a09cc30907f78 [Pipeline] // withDockerContainer [Pipeline] sh 16:38:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:38:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:38:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:38:49 + ls -al . 16:38:49 total 196 16:38:49 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 16:38 . 16:38:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:37 .. 16:38:49 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 16:37 .dockerignore 16:38:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:38 .git 16:38:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:37 .github 16:38:49 -rw-rw-r-- 1 jenkins jenkins 331 Dec 14 16:37 .gitignore 16:38:49 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 16:37 .golangci.yml 16:38:49 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 16:37 .semver 16:38:49 -rw-rw-r-- 1 jenkins jenkins 10121 Dec 14 16:37 Attribution.txt 16:38:49 -rw-rw-r-- 1 jenkins jenkins 11576 Dec 14 16:37 CHANGELOG.md 16:38:49 -rw-rw-r-- 1 jenkins jenkins 1428 Dec 14 16:37 Dockerfile 16:38:49 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 16:37 GOVERNANCE.md 16:38:49 -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 16:37 Jenkinsfile 16:38:49 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 16:37 LICENSE 16:38:49 -rw-rw-r-- 1 jenkins jenkins 2101 Dec 14 16:37 Makefile 16:38:49 -rw-rw-r-- 1 jenkins jenkins 622 Dec 14 16:37 OWNERS.md 16:38:49 -rw-rw-r-- 1 jenkins jenkins 4061 Dec 14 16:37 README.md 16:38:49 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 16:37 VERSION 16:38:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:37 bin 16:38:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:37 cmd 16:38:49 -rw-r--r-- 1 jenkins jenkins 23241 Dec 14 16:38 coverage.out 16:38:49 -rw-rw-r-- 1 jenkins jenkins 3584 Dec 14 16:37 go.mod 16:38:49 -rw-rw-r-- 1 jenkins jenkins 45355 Dec 14 16:37 go.sum 16:38:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:37 internal 16:38:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:37 simulator 16:38:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:37 snap 16:38:49 -rw-rw-r-- 1 jenkins jenkins 229 Dec 14 16:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:49 + 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=e06bb49e1a76cfe96378d9ace2c77329ab7864d7 --label arch=amd64 --label version=3.0.0-dev.1 . 16:38:49 Sending build context to Docker daemon 6.34MB 16:38:49 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 16:38:49 Step 2/22 : FROM ${BASE} AS builder 16:38:49 ---> 7dd53b1dae5b 16:38:49 Step 3/22 : ARG ADD_BUILD_TAGS="" 16:38:49 ---> Running in c5e4e752e904 16:38:49 Removing intermediate container c5e4e752e904 16:38:49 ---> 808c981d876a 16:38:49 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:38:49 ---> Running in fce0ba38cbc5 16:38:49 Removing intermediate container fce0ba38cbc5 16:38:49 ---> 64c077080b4a 16:38:49 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:38:49 ---> Running in ea1f3b0385f8 16:38:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:38:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:38:50 OK: 217 MiB in 59 packages 16:38:50 Removing intermediate container ea1f3b0385f8 16:38:50 ---> d42ca0852a44 16:38:50 Step 6/22 : WORKDIR /device-modbus-go 16:38:50 ---> Running in 187ba2e662f5 16:38:51 Removing intermediate container 187ba2e662f5 16:38:51 ---> 2a097c494663 16:38:51 Step 7/22 : COPY go.mod vendor* ./ 16:38:51 ---> 43c8cb3efd90 16:38:51 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:38:51 ---> Running in 674abe663fc1 16:38:52 Removing intermediate container 674abe663fc1 16:38:52 ---> e8419e7c1020 16:38:52 Step 9/22 : COPY . . 16:38:52 ---> d0eb651c9abd 16:38:52 Step 10/22 : RUN ${MAKE} 16:38:52 ---> Running in dc34254797a6 16:38:52 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 16:39:10 Removing intermediate container dc34254797a6 16:39:10 ---> 0985acd894e1 16:39:10 Step 11/22 : FROM alpine:3.14 16:39:10 3.14: Pulling from library/alpine 16:39:10 c7ed990a2339: Pulling fs layer 16:39:11 c7ed990a2339: Verifying Checksum 16:39:11 c7ed990a2339: Download complete 16:39:11 c7ed990a2339: Pull complete 16:39:11 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 16:39:11 Status: Downloaded newer image for alpine:3.14 16:39:11 ---> dd53f409bf0b 16:39:11 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:39:11 ---> Running in b1f953d4c2ed 16:39:11 Removing intermediate container b1f953d4c2ed 16:39:11 ---> cf60e4491e65 16:39:11 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 16:39:11 ---> Running in ec4672549d65 16:39:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:39:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:39:12 (1/6) Installing dumb-init (1.2.5-r1) 16:39:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:39:12 (3/6) Installing libsodium (1.0.18-r0) 16:39:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:39:12 (5/6) Installing libzmq (4.3.4-r0) 16:39:12 (6/6) Installing zeromq (4.3.4-r0) 16:39:12 Executing busybox-1.33.1-r8.trigger 16:39:12 OK: 8 MiB in 20 packages 16:39:12 Removing intermediate container ec4672549d65 16:39:12 ---> cd27d5181e8f 16:39:12 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:39:13 ---> 6de1083e9f46 16:39:13 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:39:13 ---> eee4d3a3f2b4 16:39:13 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:39:13 ---> 4abbb35f7da5 16:39:13 Step 17/22 : EXPOSE 59901 16:39:13 ---> Running in 7e980e83c71b 16:39:13 Removing intermediate container 7e980e83c71b 16:39:13 ---> 9991d731becd 16:39:13 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:39:13 ---> Running in e2c42c0780d9 16:39:13 Removing intermediate container e2c42c0780d9 16:39:13 ---> 80f06c36e361 16:39:13 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:39:13 ---> Running in 7ca43db1d98a 16:39:13 Removing intermediate container 7ca43db1d98a 16:39:13 ---> 04464670acff 16:39:13 Step 20/22 : LABEL arch=amd64 16:39:13 ---> Running in 53a281f3acd1 16:39:14 Removing intermediate container 53a281f3acd1 16:39:14 ---> 8203efa4f558 16:39:14 Step 21/22 : LABEL git_sha=e06bb49e1a76cfe96378d9ace2c77329ab7864d7 16:39:14 ---> Running in f992316be335 16:39:14 Removing intermediate container f992316be335 16:39:14 ---> 1bab4d0cf953 16:39:14 Step 22/22 : LABEL version=3.0.0-dev.1 16:39:14 ---> Running in 4187a57dc805 16:39:14 Removing intermediate container 4187a57dc805 16:39:14 ---> d8a01eaf2d77 16:39:14 [Warning] One or more build-args [ARCH] were not consumed 16:39:14 Successfully built d8a01eaf2d77 16:39:14 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:39:14 provisioning config files... 16:39:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13593759770794912084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:39:14 ---> docker-login.sh 16:39:14 nexus3.edgexfoundry.org:10001 16:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:14 Configure a credential helper to remove this warning. See 16:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:14 16:39:14 Login Succeeded 16:39:14 nexus3.edgexfoundry.org:10002 16:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:14 Configure a credential helper to remove this warning. See 16:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:14 16:39:14 Login Succeeded 16:39:14 nexus3.edgexfoundry.org:10003 16:39:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:15 Configure a credential helper to remove this warning. See 16:39:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:15 16:39:15 Login Succeeded 16:39:15 nexus3.edgexfoundry.org:10004 16:39:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:15 Configure a credential helper to remove this warning. See 16:39:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:15 16:39:15 Login Succeeded 16:39:15 docker.io 16:39:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:15 Configure a credential helper to remove this warning. See 16:39:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:15 16:39:15 Login Succeeded 16:39:15 ---> docker-login.sh ends [Pipeline] } 16:39:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:39:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:39:15 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 16:39:15 e06bb49e1a76cfe96378d9ace2c77329ab7864d7 16:39:15 latest 16:39:15 3.0.0-dev.1 16:39:15 e06bb49e1a76cfe96378d9ace2c77329ab7864d7-3.0.0-dev.1 16:39:15 main 16:39:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e06bb49e1a76cfe96378d9ace2c77329ab7864d7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e06bb49e1a76cfe96378d9ace2c77329ab7864d7 16:39:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:39:16 7764c0e14330: Preparing 16:39:16 35d6703a6e70: Preparing 16:39:16 56ce9b3f1cf8: Preparing 16:39:16 5958ed71c70f: Preparing 16:39:16 63493a9ab2d4: Preparing 16:39:16 63493a9ab2d4: Layer already exists 16:39:16 7764c0e14330: Pushed 16:39:16 35d6703a6e70: Pushed 16:39:16 5958ed71c70f: Pushed 16:39:18 56ce9b3f1cf8: Pushed 16:39:18 e06bb49e1a76cfe96378d9ace2c77329ab7864d7: digest: sha256:dd61e2ba3ea4e60a3def93169a9fd858096cdf978f4b019f1c732b3d4f5a8662 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 16:39:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:39:19 7764c0e14330: Preparing 16:39:19 35d6703a6e70: Preparing 16:39:19 56ce9b3f1cf8: Preparing 16:39:19 5958ed71c70f: Preparing 16:39:19 63493a9ab2d4: Preparing 16:39:19 63493a9ab2d4: Layer already exists 16:39:19 35d6703a6e70: Layer already exists 16:39:19 56ce9b3f1cf8: Layer already exists 16:39:19 5958ed71c70f: Layer already exists 16:39:19 7764c0e14330: Layer already exists 16:39:19 latest: digest: sha256:dd61e2ba3ea4e60a3def93169a9fd858096cdf978f4b019f1c732b3d4f5a8662 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.1 16:39:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:39:20 7764c0e14330: Preparing 16:39:20 35d6703a6e70: Preparing 16:39:20 56ce9b3f1cf8: Preparing 16:39:20 5958ed71c70f: Preparing 16:39:20 63493a9ab2d4: Preparing 16:39:20 63493a9ab2d4: Layer already exists 16:39:20 5958ed71c70f: Layer already exists 16:39:20 7764c0e14330: Layer already exists 16:39:20 35d6703a6e70: Layer already exists 16:39:20 56ce9b3f1cf8: Layer already exists 16:39:20 3.0.0-dev.1: digest: sha256:dd61e2ba3ea4e60a3def93169a9fd858096cdf978f4b019f1c732b3d4f5a8662 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:20 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e06bb49e1a76cfe96378d9ace2c77329ab7864d7-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e06bb49e1a76cfe96378d9ace2c77329ab7864d7-3.0.0-dev.1 16:39:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:39:20 7764c0e14330: Preparing 16:39:20 35d6703a6e70: Preparing 16:39:20 56ce9b3f1cf8: Preparing 16:39:20 5958ed71c70f: Preparing 16:39:20 63493a9ab2d4: Preparing 16:39:20 63493a9ab2d4: Layer already exists 16:39:20 7764c0e14330: Layer already exists 16:39:20 56ce9b3f1cf8: Layer already exists 16:39:20 5958ed71c70f: Layer already exists 16:39:20 35d6703a6e70: Layer already exists 16:39:20 e06bb49e1a76cfe96378d9ace2c77329ab7864d7-3.0.0-dev.1: digest: sha256:dd61e2ba3ea4e60a3def93169a9fd858096cdf978f4b019f1c732b3d4f5a8662 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:21 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 16:39:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:39:21 7764c0e14330: Preparing 16:39:21 35d6703a6e70: Preparing 16:39:21 56ce9b3f1cf8: Preparing 16:39:21 5958ed71c70f: Preparing 16:39:21 63493a9ab2d4: Preparing 16:39:21 63493a9ab2d4: Layer already exists 16:39:21 56ce9b3f1cf8: Layer already exists 16:39:21 35d6703a6e70: Layer already exists 16:39:21 5958ed71c70f: Layer already exists 16:39:21 7764c0e14330: Layer already exists 16:39:21 main: digest: sha256:dd61e2ba3ea4e60a3def93169a9fd858096cdf978f4b019f1c732b3d4f5a8662 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:39:21 ===================================================== [Pipeline] echo 16:39:21 taggedImages: 16:39:21 - nexus3.edgexfoundry.org:10004/device-modbus:e06bb49e1a76cfe96378d9ace2c77329ab7864d7 16:39:21 - nexus3.edgexfoundry.org:10004/device-modbus:latest 16:39:21 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.1 16:39:21 - nexus3.edgexfoundry.org:10004/device-modbus:e06bb49e1a76cfe96378d9ace2c77329ab7864d7-3.0.0-dev.1 16:39:21 - 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 16:39:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:21 16:39:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:22 latest: Pulling from edgex-lftools-log-publisher 16:39:22 5eb5b503b376: Pulling fs layer 16:39:22 5c69ac0246d0: Pulling fs layer 16:39:22 ec43610c2a17: Pulling fs layer 16:39:22 3a2ae6a8a46f: Pulling fs layer 16:39:22 33b1e0a273af: Pulling fs layer 16:39:22 5d3b04190fa2: Pulling fs layer 16:39:22 2f39f015ded8: Pulling fs layer 16:39:22 33b1e0a273af: Waiting 16:39:22 3a2ae6a8a46f: Waiting 16:39:22 5d3b04190fa2: Waiting 16:39:22 2f39f015ded8: Waiting 16:39:22 5c69ac0246d0: Verifying Checksum 16:39:22 5c69ac0246d0: Download complete 16:39:22 3a2ae6a8a46f: Verifying Checksum 16:39:22 3a2ae6a8a46f: Download complete 16:39:22 33b1e0a273af: Verifying Checksum 16:39:22 33b1e0a273af: Download complete 16:39:22 5d3b04190fa2: Verifying Checksum 16:39:22 5d3b04190fa2: Download complete 16:39:22 ec43610c2a17: Verifying Checksum 16:39:22 ec43610c2a17: Download complete 16:39:22 5eb5b503b376: Verifying Checksum 16:39:22 5eb5b503b376: Download complete 16:39:22 2f39f015ded8: Download complete 16:39:23 5eb5b503b376: Pull complete 16:39:23 5c69ac0246d0: Pull complete 16:39:24 ec43610c2a17: Pull complete 16:39:24 3a2ae6a8a46f: Pull complete 16:39:24 33b1e0a273af: Pull complete 16:39:24 5d3b04190fa2: Pull complete 16:39:28 2f39f015ded8: Pull complete 16:39:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:39:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:28 prd-ubuntu20.04-docker-8c-8g-121216 does not seem to be running inside a container 16:39:28 $ 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 16:39:31 $ docker top 65d194d2b040b6c113a5a12c4d02dae736d8e088cd2d20018cfead88b7feb767 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:39:31 ---> job-cost.sh 16:39:31 lf-activate-venv: SKIPPING 16:39:31 INFO: No Stack... 16:39:31 INFO: Retrieving Pricing Info for: v3-standard-8 16:39:31 INFO: Archiving Costs [Pipeline] sh 16:39:32 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 16:39:32 + cut -d, -f6 [Pipeline] lock 16:39:32 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-67-stack-cost] 16:39:32 Resource [jenkins-edgexfoundry-device-modbus-go-main-67-stack-cost] did not exist. Created. 16:39:32 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:39:32 + echo total: 0.2199999988079071 [Pipeline] stash 16:39:32 Stashed 1 file(s) [Pipeline] } 16:39:32 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-67-stack-cost] [Pipeline] // lock [Pipeline] } 16:39:32 $ docker stop --time=1 65d194d2b040b6c113a5a12c4d02dae736d8e088cd2d20018cfead88b7feb767 16:39:33 $ docker rm -f 65d194d2b040b6c113a5a12c4d02dae736d8e088cd2d20018cfead88b7feb767 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:40:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121218 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 16:40:27 Running in /w/workspace/device-modbus-go/67 [Pipeline] { [Pipeline] checkout 16:40:27 Selected Git installation does not exist. Using Default 16:40:27 The recommended git tool is: NONE 16:40:33 using credential edgex-jenkins-ssh 16:40:33 Cloning the remote Git repository 16:40:33 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:40:33 > git init /w/workspace/device-modbus-go/67 # timeout=10 16:40:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:40:33 > git --version # timeout=10 16:40:33 > git --version # 'git version 2.25.1' 16:40:33 using GIT_SSH to set credentials SSH Credentials for GitHub 16:40:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:40:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:40:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:40:35 Avoid second fetch 16:40:35 Checking out Revision e06bb49e1a76cfe96378d9ace2c77329ab7864d7 (main) 16:40:35 Commit message: "refactor!: use latest SDK for flattened config stem (#392)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:40:35 > git config core.sparsecheckout # timeout=10 16:40:35 > git checkout -f e06bb49e1a76cfe96378d9ace2c77329ab7864d7 # timeout=10 16:40:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:40:36 % Total % Received % Xferd Average Speed Time Time Time Current 16:40:36 Dload Upload Total Spent Left Speed 16:40:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 16:40:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:40:37 + sudo tee /etc/docker/daemon.new 16:40:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:40:37 { 16:40:37 "registry-mirrors": [ 16:40:37 "https://nexus3.edgexfoundry.org:10001" 16:40:37 ], 16:40:37 "bip": "10.250.0.254/24", 16:40:37 "hosts": [ 16:40:37 "tcp://0.0.0.0:5555", 16:40:37 "unix:///var/run/docker.sock" 16:40:37 ], 16:40:37 "mtu": 1458, 16:40:37 "selinux-enabled": true, 16:40:37 "seccomp-profile": "/etc/docker/seccomp.json" 16:40:37 } [Pipeline] sh 16:40:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:40:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:40:56 provisioning config files... 16:40:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/67@tmp/config17178121944081780695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:40:56 ---> docker-login.sh 16:40:56 nexus3.edgexfoundry.org:10001 16:40:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:57 Configure a credential helper to remove this warning. See 16:40:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:57 16:40:57 Login Succeeded 16:40:57 nexus3.edgexfoundry.org:10002 16:40:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:58 Configure a credential helper to remove this warning. See 16:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:58 16:40:58 Login Succeeded 16:40:58 nexus3.edgexfoundry.org:10003 16:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:58 Configure a credential helper to remove this warning. See 16:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:58 16:40:58 Login Succeeded 16:40:58 nexus3.edgexfoundry.org:10004 16:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:58 Configure a credential helper to remove this warning. See 16:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:58 16:40:58 Login Succeeded 16:40:58 docker.io 16:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:59 Configure a credential helper to remove this warning. See 16:40:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:59 16:40:59 Login Succeeded 16:40:59 ---> docker-login.sh ends [Pipeline] } 16:40:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:40:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:40:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:40:59 ========================================================= 16:40:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:40:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:59 + 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 . 16:41:00 Sending build context to Docker daemon 3.286MB 16:41:00 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:41:00 Step 2/10 : FROM ${BASE} AS builder 16:41:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:41:02 9b18e9b68314: Pulling fs layer 16:41:02 35d82f9e3411: Pulling fs layer 16:41:02 e16973657156: Pulling fs layer 16:41:02 fc693d55d65f: Pulling fs layer 16:41:02 7e9fc2657dce: Pulling fs layer 16:41:02 dda99020689f: Pulling fs layer 16:41:02 db1c61fa0a46: Pulling fs layer 16:41:02 891c053d2c06: Pulling fs layer 16:41:02 dda99020689f: Waiting 16:41:02 db1c61fa0a46: Waiting 16:41:02 891c053d2c06: Waiting 16:41:02 fc693d55d65f: Waiting 16:41:02 7e9fc2657dce: Waiting 16:41:02 e16973657156: Verifying Checksum 16:41:02 e16973657156: Download complete 16:41:02 35d82f9e3411: Verifying Checksum 16:41:02 35d82f9e3411: Download complete 16:41:02 7e9fc2657dce: Verifying Checksum 16:41:02 7e9fc2657dce: Download complete 16:41:02 dda99020689f: Verifying Checksum 16:41:02 dda99020689f: Download complete 16:41:02 9b18e9b68314: Verifying Checksum 16:41:02 9b18e9b68314: Download complete 16:41:03 9b18e9b68314: Pull complete 16:41:03 891c053d2c06: Verifying Checksum 16:41:03 891c053d2c06: Download complete 16:41:04 35d82f9e3411: Pull complete 16:41:04 e16973657156: Pull complete 16:41:05 db1c61fa0a46: Verifying Checksum 16:41:05 db1c61fa0a46: Download complete 16:41:05 fc693d55d65f: Verifying Checksum 16:41:05 fc693d55d65f: Download complete 16:41:18 fc693d55d65f: Pull complete 16:41:18 7e9fc2657dce: Pull complete 16:41:18 dda99020689f: Pull complete 16:41:24 db1c61fa0a46: Pull complete 16:41:26 891c053d2c06: Pull complete 16:41:26 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:41:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:41:26 ---> f96f9c87975a 16:41:26 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:41:28 ---> Running in 2c715392511d 16:41:28 Removing intermediate container 2c715392511d 16:41:28 ---> 25150590baf2 16:41:28 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:41:28 ---> Running in 24a428043603 16:41:28 Removing intermediate container 24a428043603 16:41:28 ---> fca52147de17 16:41:28 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:41:28 ---> Running in 028892ffca0c 16:41:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:41:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:41:30 (1/8) Installing openssh-keygen (9.0_p1-r2) 16:41:30 (2/8) Installing libedit (20210910.3.1-r0) 16:41:30 (3/8) Installing openssh-client-common (9.0_p1-r2) 16:41:30 (4/8) Installing openssh-client-default (9.0_p1-r2) 16:41:30 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 16:41:30 (6/8) Installing openssh-server-common (9.0_p1-r2) 16:41:30 (7/8) Installing openssh-server (9.0_p1-r2) 16:41:30 (8/8) Installing openssh (9.0_p1-r2) 16:41:30 Executing busybox-1.35.0-r17.trigger 16:41:30 OK: 228 MiB in 59 packages 16:41:31 Removing intermediate container 028892ffca0c 16:41:31 ---> 72ae8207bc9b 16:41:31 Step 6/10 : WORKDIR /device-modbus-go 16:41:31 ---> Running in 3f1b9deb3720 16:41:32 Removing intermediate container 3f1b9deb3720 16:41:32 ---> eae023aec5f9 16:41:32 Step 7/10 : COPY go.mod vendor* ./ 16:41:32 ---> 58c3fa1a9f3b 16:41:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:41:32 ---> Running in fcd8671279ab 16:42:29 Removing intermediate container fcd8671279ab 16:42:29 ---> 3f755e31d1c1 16:42:29 Step 9/10 : COPY . . 16:42:29 ---> 3390869f63b6 16:42:29 Step 10/10 : RUN ${MAKE} 16:42:29 ---> Running in e98dbf907430 16:42:29 noop 16:42:29 Removing intermediate container e98dbf907430 16:42:29 ---> c54146b6801b 16:42:29 Successfully built c54146b6801b 16:42:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:29 + docker inspect -f . ci-base-image-arm64 16:42:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:29 prd-ubuntu20.04-docker-arm64-4c-16g-121218 does not seem to be running inside a container 16:42:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/67 -v /w/workspace/device-modbus-go/67:/w/workspace/device-modbus-go/67:rw,z -v /w/workspace/device-modbus-go/67@tmp:/w/workspace/device-modbus-go/67@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 16:42:31 $ docker top d904ef32c35341f24e54d502eb22b09834116ca54bee74223d8d79cb00a2ac0f -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:31 + go version 16:42:31 go version go1.18.7 linux/arm64 [Pipeline] } 16:42:31 $ docker stop --time=1 d904ef32c35341f24e54d502eb22b09834116ca54bee74223d8d79cb00a2ac0f 16:42:33 $ docker rm -f d904ef32c35341f24e54d502eb22b09834116ca54bee74223d8d79cb00a2ac0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:33 + docker inspect -f . ci-base-image-arm64 16:42:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:34 prd-ubuntu20.04-docker-arm64-4c-16g-121218 does not seem to be running inside a container 16:42:34 $ 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/67 -v /w/workspace/device-modbus-go/67:/w/workspace/device-modbus-go/67:rw,z -v /w/workspace/device-modbus-go/67@tmp:/w/workspace/device-modbus-go/67@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 16:42:35 $ docker top fc3649a4e7702cba31e85ef8a5ce8c1f9aedb0bb3d0e14405c91c8d13742d43d -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:36 + git config --global --add safe.directory /w/workspace/device-modbus-go/67 [Pipeline] fileExists [Pipeline] sh 16:42:36 + make test 16:42:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:42:38 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:44:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:44:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.7% of statements 16:44:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:44:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:44:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:44:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:44:14 ./bin/test-attribution-txt.sh [Pipeline] echo 16:44:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:44:15 $ docker stop --time=1 fc3649a4e7702cba31e85ef8a5ce8c1f9aedb0bb3d0e14405c91c8d13742d43d 16:44:17 $ docker rm -f fc3649a4e7702cba31e85ef8a5ce8c1f9aedb0bb3d0e14405c91c8d13742d43d [Pipeline] // withDockerContainer [Pipeline] sh 16:44:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:44:18 Warning: overwriting stash ‘coverage-report’ 16:44:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:44:19 + ls -al . 16:44:19 total 192 16:44:19 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 16:42 . 16:44:19 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:40 .. 16:44:19 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 16:40 .dockerignore 16:44:19 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:40 .git 16:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:40 .github 16:44:19 -rw-rw-r-- 1 jenkins jenkins 331 Dec 14 16:40 .gitignore 16:44:19 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 16:40 .golangci.yml 16:44:19 -rw-rw-r-- 1 jenkins jenkins 10121 Dec 14 16:40 Attribution.txt 16:44:19 -rw-rw-r-- 1 jenkins jenkins 11576 Dec 14 16:40 CHANGELOG.md 16:44:19 -rw-rw-r-- 1 jenkins jenkins 1428 Dec 14 16:40 Dockerfile 16:44:19 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 16:40 GOVERNANCE.md 16:44:19 -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 16:40 Jenkinsfile 16:44:19 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 16:40 LICENSE 16:44:19 -rw-rw-r-- 1 jenkins jenkins 2101 Dec 14 16:40 Makefile 16:44:19 -rw-rw-r-- 1 jenkins jenkins 622 Dec 14 16:40 OWNERS.md 16:44:19 -rw-rw-r-- 1 jenkins jenkins 4061 Dec 14 16:40 README.md 16:44:19 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 16:37 VERSION 16:44:19 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:40 bin 16:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:40 cmd 16:44:19 -rw-r--r-- 1 jenkins jenkins 23241 Dec 14 16:43 coverage.out 16:44:19 -rw-rw-r-- 1 jenkins jenkins 3584 Dec 14 16:40 go.mod 16:44:19 -rw-rw-r-- 1 jenkins jenkins 45355 Dec 14 16:40 go.sum 16:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:40 internal 16:44:19 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:40 simulator 16:44:19 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:40 snap 16:44:19 -rw-rw-r-- 1 jenkins jenkins 229 Dec 14 16:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:19 + 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=e06bb49e1a76cfe96378d9ace2c77329ab7864d7 --label arch=arm64 --label version=3.0.0-dev.1 . 16:44:19 Sending build context to Docker daemon 3.31MB 16:44:19 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 16:44:19 Step 2/22 : FROM ${BASE} AS builder 16:44:19 ---> c54146b6801b 16:44:19 Step 3/22 : ARG ADD_BUILD_TAGS="" 16:44:20 ---> Running in ae6f70363b74 16:44:20 Removing intermediate container ae6f70363b74 16:44:20 ---> 57d75cb5bb49 16:44:20 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:44:20 ---> Running in 1439ca084fd1 16:44:20 Removing intermediate container 1439ca084fd1 16:44:20 ---> 1019dcae79a8 16:44:20 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:44:20 ---> Running in 9580edfcdf60 16:44:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:44:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:44:23 OK: 228 MiB in 59 packages 16:44:24 Removing intermediate container 9580edfcdf60 16:44:24 ---> 96b358ea1aa7 16:44:24 Step 6/22 : WORKDIR /device-modbus-go 16:44:24 ---> Running in 1dbb2c5af9f1 16:44:24 Removing intermediate container 1dbb2c5af9f1 16:44:24 ---> e041b43e3ae9 16:44:24 Step 7/22 : COPY go.mod vendor* ./ 16:44:25 ---> e4f45e9cfd69 16:44:25 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:44:25 ---> Running in 79d4b4c3726a 16:44:26 Removing intermediate container 79d4b4c3726a 16:44:26 ---> 21e4db5742c3 16:44:26 Step 9/22 : COPY . . 16:44:27 ---> be45f05ae873 16:44:27 Step 10/22 : RUN ${MAKE} 16:44:27 ---> Running in 83ac1c209219 16:44:28 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 16:47:05 Removing intermediate container 83ac1c209219 16:47:05 ---> 7a75e39cbb86 16:47:05 Step 11/22 : FROM alpine:3.14 16:47:05 3.14: Pulling from library/alpine 16:47:05 90cda3b7c325: Pulling fs layer 16:47:05 90cda3b7c325: Verifying Checksum 16:47:05 90cda3b7c325: Download complete 16:47:05 90cda3b7c325: Pull complete 16:47:05 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 16:47:05 Status: Downloaded newer image for alpine:3.14 16:47:05 ---> 275902a1839d 16:47:05 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:47:05 ---> Running in 2aafd47941eb 16:47:05 Removing intermediate container 2aafd47941eb 16:47:05 ---> 21d0dc078f04 16:47:05 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 16:47:05 ---> Running in ffded45de6e6 16:47:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:47:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:47:05 (1/6) Installing dumb-init (1.2.5-r1) 16:47:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:47:05 (3/6) Installing libsodium (1.0.18-r0) 16:47:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:47:05 (5/6) Installing libzmq (4.3.4-r0) 16:47:05 (6/6) Installing zeromq (4.3.4-r0) 16:47:05 Executing busybox-1.33.1-r8.trigger 16:47:05 OK: 8 MiB in 20 packages 16:47:05 Removing intermediate container ffded45de6e6 16:47:05 ---> 03cb6f87a824 16:47:05 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:47:05 ---> 906c17c46c75 16:47:05 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:47:05 ---> 7ffc79d8fa3e 16:47:05 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:47:05 ---> 2ebeaf9debef 16:47:05 Step 17/22 : EXPOSE 59901 16:47:05 ---> Running in 956fdc5f59f4 16:47:05 Removing intermediate container 956fdc5f59f4 16:47:05 ---> 63cc5a53ab05 16:47:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:47:05 ---> Running in 2f727a7481df 16:47:05 Removing intermediate container 2f727a7481df 16:47:05 ---> a94d946a9de2 16:47:05 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:47:05 ---> Running in 9d10c6ef088e 16:47:05 Removing intermediate container 9d10c6ef088e 16:47:05 ---> 4f082479d343 16:47:05 Step 20/22 : LABEL arch=arm64 16:47:05 ---> Running in 4cb2bc046fcd 16:47:06 Removing intermediate container 4cb2bc046fcd 16:47:06 ---> 5ee425341f96 16:47:06 Step 21/22 : LABEL git_sha=e06bb49e1a76cfe96378d9ace2c77329ab7864d7 16:47:06 ---> Running in 10901a0a927f 16:47:06 Removing intermediate container 10901a0a927f 16:47:06 ---> 32f96d84f8c9 16:47:06 Step 22/22 : LABEL version=3.0.0-dev.1 16:47:06 ---> Running in 530478e442dd 16:47:06 Removing intermediate container 530478e442dd 16:47:06 ---> 60f87782598a 16:47:06 [Warning] One or more build-args [ARCH] were not consumed 16:47:06 Successfully built 60f87782598a 16:47:06 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 16:47:07 provisioning config files... 16:47:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/67@tmp/config8375279540611811153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:47:07 ---> docker-login.sh 16:47:07 nexus3.edgexfoundry.org:10001 16:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:07 Configure a credential helper to remove this warning. See 16:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:07 16:47:07 Login Succeeded 16:47:07 nexus3.edgexfoundry.org:10002 16:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:07 Configure a credential helper to remove this warning. See 16:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:07 16:47:07 Login Succeeded 16:47:07 nexus3.edgexfoundry.org:10003 16:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:08 Configure a credential helper to remove this warning. See 16:47:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:08 16:47:08 Login Succeeded 16:47:08 nexus3.edgexfoundry.org:10004 16:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:08 Configure a credential helper to remove this warning. See 16:47:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:08 16:47:08 Login Succeeded 16:47:08 docker.io 16:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:09 Configure a credential helper to remove this warning. See 16:47:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:09 16:47:09 Login Succeeded 16:47:09 ---> docker-login.sh ends [Pipeline] } 16:47:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:47:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:47:09 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 16:47:09 e06bb49e1a76cfe96378d9ace2c77329ab7864d7 16:47:09 latest 16:47:09 3.0.0-dev.1 16:47:09 e06bb49e1a76cfe96378d9ace2c77329ab7864d7-3.0.0-dev.1 16:47:09 main 16:47:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:09 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06bb49e1a76cfe96378d9ace2c77329ab7864d7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06bb49e1a76cfe96378d9ace2c77329ab7864d7 16:47:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:47:10 2e06f212f116: Preparing 16:47:10 b7a26c93c08c: Preparing 16:47:10 9a68e12f5362: Preparing 16:47:10 cef4d16eec78: Preparing 16:47:10 28c3ef001483: Preparing 16:47:10 28c3ef001483: Layer already exists 16:47:10 2e06f212f116: Pushed 16:47:10 b7a26c93c08c: Pushed 16:47:10 cef4d16eec78: Pushed 16:47:16 9a68e12f5362: Pushed 16:47:16 e06bb49e1a76cfe96378d9ace2c77329ab7864d7: digest: sha256:7847a73c781acf6546e8924f0b37ca569feb2f3c1ab29e87a3c54c533e7386ad size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 16:47:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:47:16 2e06f212f116: Preparing 16:47:16 b7a26c93c08c: Preparing 16:47:16 9a68e12f5362: Preparing 16:47:16 cef4d16eec78: Preparing 16:47:16 28c3ef001483: Preparing 16:47:16 b7a26c93c08c: Layer already exists 16:47:16 28c3ef001483: Layer already exists 16:47:16 9a68e12f5362: Layer already exists 16:47:16 cef4d16eec78: Layer already exists 16:47:16 2e06f212f116: Layer already exists 16:47:17 latest: digest: sha256:7847a73c781acf6546e8924f0b37ca569feb2f3c1ab29e87a3c54c533e7386ad size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.1 16:47:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:47:17 2e06f212f116: Preparing 16:47:17 b7a26c93c08c: Preparing 16:47:17 9a68e12f5362: Preparing 16:47:17 cef4d16eec78: Preparing 16:47:17 28c3ef001483: Preparing 16:47:17 28c3ef001483: Layer already exists 16:47:17 b7a26c93c08c: Layer already exists 16:47:17 9a68e12f5362: Layer already exists 16:47:17 cef4d16eec78: Layer already exists 16:47:17 2e06f212f116: Layer already exists 16:47:17 3.0.0-dev.1: digest: sha256:7847a73c781acf6546e8924f0b37ca569feb2f3c1ab29e87a3c54c533e7386ad size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06bb49e1a76cfe96378d9ace2c77329ab7864d7-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06bb49e1a76cfe96378d9ace2c77329ab7864d7-3.0.0-dev.1 16:47:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:47:18 2e06f212f116: Preparing 16:47:18 b7a26c93c08c: Preparing 16:47:18 9a68e12f5362: Preparing 16:47:18 cef4d16eec78: Preparing 16:47:18 28c3ef001483: Preparing 16:47:18 b7a26c93c08c: Layer already exists 16:47:18 cef4d16eec78: Layer already exists 16:47:18 9a68e12f5362: Layer already exists 16:47:18 2e06f212f116: Layer already exists 16:47:18 28c3ef001483: Layer already exists 16:47:18 e06bb49e1a76cfe96378d9ace2c77329ab7864d7-3.0.0-dev.1: digest: sha256:7847a73c781acf6546e8924f0b37ca569feb2f3c1ab29e87a3c54c533e7386ad size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 16:47:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:47:19 2e06f212f116: Preparing 16:47:19 b7a26c93c08c: Preparing 16:47:19 9a68e12f5362: Preparing 16:47:19 cef4d16eec78: Preparing 16:47:19 28c3ef001483: Preparing 16:47:19 28c3ef001483: Layer already exists 16:47:19 2e06f212f116: Layer already exists 16:47:19 9a68e12f5362: Layer already exists 16:47:19 b7a26c93c08c: Layer already exists 16:47:19 cef4d16eec78: Layer already exists 16:47:19 main: digest: sha256:7847a73c781acf6546e8924f0b37ca569feb2f3c1ab29e87a3c54c533e7386ad size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:47:19 ===================================================== [Pipeline] echo 16:47:19 taggedImages: 16:47:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06bb49e1a76cfe96378d9ace2c77329ab7864d7 16:47:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 16:47:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.1 16:47:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06bb49e1a76cfe96378d9ace2c77329ab7864d7-3.0.0-dev.1 16:47:19 - 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 16:47:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:47:19 16:47:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:47:20 arm64: Pulling from edgex-lftools-log-publisher 16:47:20 8998bd30e6a1: Pulling fs layer 16:47:20 04944245beec: Pulling fs layer 16:47:20 699f458cf7ca: Pulling fs layer 16:47:20 765212b225bb: Pulling fs layer 16:47:20 f23df028b6ca: Pulling fs layer 16:47:20 d65c8cfc05b1: Pulling fs layer 16:47:20 2437ff75d9bd: Pulling fs layer 16:47:20 f23df028b6ca: Waiting 16:47:20 d65c8cfc05b1: Waiting 16:47:20 2437ff75d9bd: Waiting 16:47:20 765212b225bb: Waiting 16:47:20 04944245beec: Verifying Checksum 16:47:20 04944245beec: Download complete 16:47:20 765212b225bb: Verifying Checksum 16:47:20 765212b225bb: Download complete 16:47:20 f23df028b6ca: Verifying Checksum 16:47:20 f23df028b6ca: Download complete 16:47:20 d65c8cfc05b1: Verifying Checksum 16:47:20 d65c8cfc05b1: Download complete 16:47:20 699f458cf7ca: Verifying Checksum 16:47:20 699f458cf7ca: Download complete 16:47:20 8998bd30e6a1: Verifying Checksum 16:47:20 8998bd30e6a1: Download complete 16:47:22 2437ff75d9bd: Verifying Checksum 16:47:22 2437ff75d9bd: Download complete 16:47:24 8998bd30e6a1: Pull complete 16:47:25 04944245beec: Pull complete 16:47:26 699f458cf7ca: Pull complete 16:47:26 765212b225bb: Pull complete 16:47:27 f23df028b6ca: Pull complete 16:47:27 d65c8cfc05b1: Pull complete 16:47:39 2437ff75d9bd: Pull complete 16:47:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:47:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:47:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:47:39 prd-ubuntu20.04-docker-arm64-4c-16g-121218 does not seem to be running inside a container 16:47:39 $ 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/67 -v /w/workspace/device-modbus-go/67:/w/workspace/device-modbus-go/67:rw,z -v /w/workspace/device-modbus-go/67@tmp:/w/workspace/device-modbus-go/67@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 16:47:42 $ docker top 573442a5d98a475e75b0bbd43b03238cc2a7a83d2513a358f7e457cba854569c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:47:43 ---> job-cost.sh 16:47:43 lf-activate-venv: SKIPPING 16:47:43 INFO: No Stack... 16:47:43 INFO: Retrieving Pricing Info for: v3-standard-4 16:47:44 INFO: Archiving Costs [Pipeline] sh 16:47:44 + cat /w/workspace/device-modbus-go/67/archives/cost.csv 16:47:45 + cut -d, -f6 [Pipeline] lock 16:47:45 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-67-stack-cost] 16:47:45 Resource [jenkins-edgexfoundry-device-modbus-go-main-67-stack-cost] did not exist. Created. 16:47:45 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:47:45 /w/workspace/device-modbus-go/67@tmp/durable-73d3914c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:47:45 + echo total: 0.10999999940395355 [Pipeline] stash 16:47:45 Warning: overwriting stash ‘stack-cost’ 16:47:46 Stashed 1 file(s) [Pipeline] } 16:47:46 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-67-stack-cost] [Pipeline] // lock [Pipeline] } 16:47:46 $ docker stop --time=1 573442a5d98a475e75b0bbd43b03238cc2a7a83d2513a358f7e457cba854569c 16:47:47 $ docker rm -f 573442a5d98a475e75b0bbd43b03238cc2a7a83d2513a358f7e457cba854569c [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 16:47:47 provisioning config files... 16:47:47 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6719934918696788143tmp [Pipeline] { [Pipeline] sh 16:47:48 + set +x 16:47:48 + curl -s https://codecov.io/bash 16:47:48 + bash -s -- 16:47:48 16:47:48 _____ _ 16:47:48 / ____| | | 16:47:48 | | ___ __| | ___ ___ _____ __ 16:47:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:47:48 | |___| (_) | (_| | __/ (_| (_) \ V / 16:47:48 \_____\___/ \__,_|\___|\___\___/ \_/ 16:47:48 Bash-1.0.6 16:47:48 16:47:48 16:47:48 ==> git version 2.25.1 found 16:47:48 ==> 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 16:47:48 Release-Date: 2020-01-08 16:47:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:47:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:47:48 ==> Jenkins CI detected. 16:47:48 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 16:47:48 project root: . 16:47:48 --> token set from env 16:47:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:47:48 ==> Running gcov in . (disable via -X gcov) 16:47:48 ==> Python coveragepy not found 16:47:48 ==> Searching for coverage reports in: 16:47:48 + . 16:47:48 -> Found 1 reports 16:47:48 ==> Detecting git/mercurial file structure 16:47:48 ==> Reading reports 16:47:48 + ./coverage.out bytes=23241 16:47:48 ==> Appending adjustments 16:47:48 https://docs.codecov.io/docs/fixing-reports 16:47:48 + Found adjustments 16:47:48 ==> Gzipping contents 16:47:48 4.0K /tmp/codecov.bERRTT.gz 16:47:48 ==> Uploading reports 16:47:48 url: https://codecov.io 16:47:48 query: branch=main&commit=e06bb49e1a76cfe96378d9ace2c77329ab7864d7&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F67%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:47:48 -> Pinging Codecov 16:47:48 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=e06bb49e1a76cfe96378d9ace2c77329ab7864d7&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F67%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:47:48 -> Uploading to 16:47:48 https://storage.googleapis.com/codecov/v4/raw/2022-12-14/55DBCA73C666E3227836607328DD7E49/e06bb49e1a76cfe96378d9ace2c77329ab7864d7/1f2fcc97-2ff4-47dd-8ba7-f7e727d127ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221214T164748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7686f2713fc0de83889c01545e45e3086567cf106b2f0f5ef8899e54529cad2b 16:47:48 % Total % Received % Xferd Average Speed Time Time Time Current 16:47:48 Dload Upload Total Spent Left Speed 16:47:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3920 0 0 100 3920 0 18490 --:--:-- --:--:-- --:--:-- 18490 16:47:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e06bb49e1a76cfe96378d9ace2c77329ab7864d7 [Pipeline] } 16:47:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:47:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:47:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:47:49 16:47:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:47:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:47:49 df9b9388f04a: Pulling fs layer 16:47:49 52dc419b0ee2: Pulling fs layer 16:47:49 25bc292e5bac: Pulling fs layer 16:47:49 114826534d7a: Pulling fs layer 16:47:49 4657fd5d0bcf: Pulling fs layer 16:47:49 6ad1cebc031e: Pulling fs layer 16:47:49 8a3aa393b2d8: Pulling fs layer 16:47:49 114826534d7a: Waiting 16:47:49 4657fd5d0bcf: Waiting 16:47:49 8a3aa393b2d8: Waiting 16:47:49 6ad1cebc031e: Waiting 16:47:49 25bc292e5bac: Verifying Checksum 16:47:49 25bc292e5bac: Download complete 16:47:49 52dc419b0ee2: Download complete 16:47:49 4657fd5d0bcf: Verifying Checksum 16:47:49 4657fd5d0bcf: Download complete 16:47:49 df9b9388f04a: Verifying Checksum 16:47:49 df9b9388f04a: Download complete 16:47:50 df9b9388f04a: Pull complete 16:47:50 6ad1cebc031e: Verifying Checksum 16:47:50 6ad1cebc031e: Download complete 16:47:50 52dc419b0ee2: Pull complete 16:47:50 25bc292e5bac: Pull complete 16:47:51 114826534d7a: Verifying Checksum 16:47:51 114826534d7a: Download complete 16:47:51 8a3aa393b2d8: Verifying Checksum 16:47:51 8a3aa393b2d8: Download complete 16:47:54 114826534d7a: Pull complete 16:47:54 4657fd5d0bcf: Pull complete 16:47:54 6ad1cebc031e: Pull complete 16:47:57 8a3aa393b2d8: Pull complete 16:47:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:47:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:47:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:47:57 prd-ubuntu20.04-docker-8c-8g-121216 does not seem to be running inside a container 16:47:57 $ 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 16:47:59 $ docker top 4b1d0dfed82909ac27d18c8147454f6f234d3cc5feb6dd442198b8c3a9c4967a -eo pid,comm [Pipeline] { [Pipeline] echo 16:47:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 16:47:59 + set -o pipefail 16:47:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 16:48:06 16:48:06 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 16:48:06 16:48:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/e32dd963-a2ee-444d-8d6f-6b0b7fc4f8f4 16:48:06 16:48:06 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 16:48:06 16:48:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:48:06 16:48:06 16:48:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:48:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:48:06 More details here: https://snyk.co/ue1NS [Pipeline] } 16:48:06 $ docker stop --time=1 4b1d0dfed82909ac27d18c8147454f6f234d3cc5feb6dd442198b8c3a9c4967a 16:48:08 $ docker rm -f 4b1d0dfed82909ac27d18c8147454f6f234d3cc5feb6dd442198b8c3a9c4967a [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 16:48:09 + git log --format=format:%s -1 e06bb49e1a76cfe96378d9ace2c77329ab7864d7 [Pipeline] sh 16:48:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:48:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:09 prd-ubuntu20.04-docker-8c-8g-121216 does not seem to be running inside a container 16:48:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:48:10 $ docker top d649360d95eacdd2ba28c3607252e24b0f62cd105d51a93ceafd3cdb64a9cfac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:48:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:10 [ssh-agent] Looking for ssh-agent implementation... 16:48:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:10 $ docker exec d649360d95eacdd2ba28c3607252e24b0f62cd105d51a93ceafd3cdb64a9cfac ssh-agent 16:48:10 SSH_AUTH_SOCK=/tmp/ssh-N4tl0osGAkxm/agent.34 16:48:10 SSH_AGENT_PID=41 16:48:10 Running ssh-add (command line suppressed) 16:48:10 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5251929513193961609.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5251929513193961609.key) 16:48:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:11 + git semver tag 16:48:11 2022-12-14 16:48:11,204 [run_tag] DEBUG tag force:False 16:48:11 2022-12-14 16:48:11,204 [check_head_tag] DEBUG check head tag 16:48:11 2022-12-14 16:48:11,205 [execute] INFO git cat-file --batch-check 16:48:11 2022-12-14 16:48:11,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 16:48:11 2022-12-14 16:48:11,209 [execute] INFO git cat-file --batch 16:48:11 2022-12-14 16:48:11,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 16:48:11 2022-12-14 16:48:11,227 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:48:11 2022-12-14 16:48:11,227 [execute] INFO git tag -a v3.0.0-dev.1 -m v3.0.0-dev.1 16:48:11 2022-12-14 16:48:11,228 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.1', '-m', 'v3.0.0-dev.1'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 16:48:11 2022-12-14 16:48:11,232 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:48:11 3.0.0-dev.1 [Pipeline] } 16:48:11 $ docker exec --env ******** --env ******** d649360d95eacdd2ba28c3607252e24b0f62cd105d51a93ceafd3cdb64a9cfac ssh-agent -k 16:48:11 unset SSH_AUTH_SOCK; 16:48:11 unset SSH_AGENT_PID; 16:48:11 echo Agent pid 41 killed; 16:48:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:11 + git semver [Pipeline] } 16:48:11 $ docker stop --time=1 d649360d95eacdd2ba28c3607252e24b0f62cd105d51a93ceafd3cdb64a9cfac 16:48:13 $ docker rm -f d649360d95eacdd2ba28c3607252e24b0f62cd105d51a93ceafd3cdb64a9cfac [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:48:13 16:48:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:48:14 0.23.1-centos7: Pulling from edgex-lftools 16:48:14 ab5ef0e58194: Pulling fs layer 16:48:14 9712f1f96733: Pulling fs layer 16:48:14 63f879dbbcfc: Pulling fs layer 16:48:14 0d9ebad4ef96: Pulling fs layer 16:48:14 e9a5061849ea: Pulling fs layer 16:48:14 d747dcd14b5f: Pulling fs layer 16:48:14 2de7ff778b66: Pulling fs layer 16:48:14 e9a5061849ea: Waiting 16:48:14 d747dcd14b5f: Waiting 16:48:14 2de7ff778b66: Waiting 16:48:14 0d9ebad4ef96: Waiting 16:48:14 9712f1f96733: Download complete 16:48:14 63f879dbbcfc: Verifying Checksum 16:48:14 63f879dbbcfc: Download complete 16:48:14 0d9ebad4ef96: Verifying Checksum 16:48:14 0d9ebad4ef96: Download complete 16:48:14 d747dcd14b5f: Verifying Checksum 16:48:14 d747dcd14b5f: Download complete 16:48:14 e9a5061849ea: Verifying Checksum 16:48:14 e9a5061849ea: Download complete 16:48:14 ab5ef0e58194: Download complete 16:48:14 2de7ff778b66: Verifying Checksum 16:48:14 2de7ff778b66: Download complete 16:48:17 ab5ef0e58194: Pull complete 16:48:17 9712f1f96733: Pull complete 16:48:17 63f879dbbcfc: Pull complete 16:48:21 0d9ebad4ef96: Pull complete 16:48:21 e9a5061849ea: Pull complete 16:48:21 d747dcd14b5f: Pull complete 16:48:22 2de7ff778b66: Pull complete 16:48:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:48:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:48:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:22 prd-ubuntu20.04-docker-8c-8g-121216 does not seem to be running inside a container 16:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:48:24 $ docker top b412d868048f13d122c771fdad0ca80c6e0944050ac9f0a6483f1f3982eb5032 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:48:24 provisioning config files... 16:48:24 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config399730206791209483tmp 16:48:24 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5913939997628439741tmp 16:48:24 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config561464489154862893tmp [Pipeline] { [Pipeline] echo 16:48:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:48:24 ---> sigul-configuration.sh 16:48:24 gpg: directory `/root/.gnupg' created 16:48:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:48:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:48:24 gpg: keyring `/root/.gnupg/secring.gpg' created 16:48:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:48:24 gpg: CAST5 encrypted data 16:48:24 gpg: encrypted with 1 passphrase 16:48:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:48:25 + mkdir /home/jenkins 16:48:25 + mkdir /home/jenkins/sigul [Pipeline] sh 16:48:25 + 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 16:48:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:48:25 ---> sigul-install.sh 16:48:25 Sigul already installed; skipping installation. [Pipeline] sh 16:48:26 + git tag --list 16:48:26 0.7.1 16:48:26 v1.0.0 16:48:26 v1.1.0 16:48:26 v1.1.1 16:48:26 v1.2.2 16:48:26 v1.3.0 16:48:26 v1.3.1 16:48:26 v2.0.0 16:48:26 v2.1.0 16:48:26 v2.1.1 16:48:26 v2.1.1-dev.1 16:48:26 v2.1.1-dev.2 16:48:26 v2.1.1-dev.3 16:48:26 v2.2.0 16:48:26 v2.2.1-dev.1 16:48:26 v2.2.1-dev.2 16:48:26 v2.2.1-dev.3 16:48:26 v2.2.1-dev.4 16:48:26 v2.2.1-dev.5 16:48:26 v2.2.1-dev.6 16:48:26 v2.2.1-dev.7 16:48:26 v2.3.0 16:48:26 v2.3.0-dev.10 16:48:26 v2.3.0-dev.11 16:48:26 v2.3.0-dev.12 16:48:26 v2.3.0-dev.13 16:48:26 v2.3.0-dev.14 16:48:26 v2.3.0-dev.15 16:48:26 v2.3.0-dev.16 16:48:26 v2.3.0-dev.17 16:48:26 v2.3.0-dev.18 16:48:26 v2.3.0-dev.19 16:48:26 v2.3.0-dev.20 16:48:26 v2.3.0-dev.21 16:48:26 v2.3.0-dev.22 16:48:26 v2.3.0-dev.23 16:48:26 v2.3.0-dev.24 16:48:26 v2.3.0-dev.25 16:48:26 v2.3.0-dev.7 16:48:26 v2.3.0-dev.8 16:48:26 v2.3.0-dev.9 16:48:26 v3.0.0-dev.1 [Pipeline] sh 16:48:26 + lftools sign git-tag v3.0.0-dev.1 16:48:26 Signing Git tag with Sigul... 16:48:26 Signing v3.0.0-dev.1 [Pipeline] echo 16:48:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:48:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:48:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:48:27 $ docker stop --time=1 b412d868048f13d122c771fdad0ca80c6e0944050ac9f0a6483f1f3982eb5032 16:48:28 $ docker rm -f b412d868048f13d122c771fdad0ca80c6e0944050ac9f0a6483f1f3982eb5032 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:48:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:48:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:29 prd-ubuntu20.04-docker-8c-8g-121216 does not seem to be running inside a container 16:48:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:48:29 $ docker top bc6e229ac8f5ad852adfcf8bffb025e1703bdfe8c7a359e808aa1b6ca5972dec -eo pid,comm 16:48:30 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). 16:48:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:48:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:30 [ssh-agent] Looking for ssh-agent implementation... 16:48:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:30 $ docker exec bc6e229ac8f5ad852adfcf8bffb025e1703bdfe8c7a359e808aa1b6ca5972dec ssh-agent 16:48:30 SSH_AUTH_SOCK=/tmp/ssh-jrE6LN2KKNmQ/agent.32 16:48:30 SSH_AGENT_PID=38 16:48:30 Running ssh-add (command line suppressed) 16:48:30 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7667126540527475600.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7667126540527475600.key) 16:48:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:30 + git semver bump pre 16:48:30 2022-12-14 16:48:30,836 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:48:30 2022-12-14 16:48:30,837 [bump_version] DEBUG bumping version:3.0.0-dev.1 on axis:pre with prefix:dev 16:48:30 2022-12-14 16:48:30,837 [bump_version] DEBUG bumped version:3.0.0-dev.2 16:48:30 2022-12-14 16:48:30,837 [write_version] DEBUG write version:3.0.0-dev.2 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 16:48:30 2022-12-14 16:48:30,837 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:48:30 2022-12-14 16:48:30,837 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:48:30 2022-12-14 16:48:30,839 [execute] INFO git cat-file --batch-check 16:48:30 2022-12-14 16:48:30,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:48:30 2022-12-14 16:48:30,845 [execute] INFO git cat-file --batch 16:48:30 2022-12-14 16:48:30,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:48:30 2022-12-14 16:48:30,850 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:48:30 3.0.0-dev.2 [Pipeline] } 16:48:30 $ docker exec --env ******** --env ******** bc6e229ac8f5ad852adfcf8bffb025e1703bdfe8c7a359e808aa1b6ca5972dec ssh-agent -k 16:48:31 unset SSH_AUTH_SOCK; 16:48:31 unset SSH_AGENT_PID; 16:48:31 echo Agent pid 38 killed; 16:48:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:31 + git semver [Pipeline] } 16:48:31 $ docker stop --time=1 bc6e229ac8f5ad852adfcf8bffb025e1703bdfe8c7a359e808aa1b6ca5972dec 16:48:32 $ docker rm -f bc6e229ac8f5ad852adfcf8bffb025e1703bdfe8c7a359e808aa1b6ca5972dec [Pipeline] // withDockerContainer [Pipeline] sh 16:48:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:48:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:33 prd-ubuntu20.04-docker-8c-8g-121216 does not seem to be running inside a container 16:48:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:48:34 $ docker top 5e119850401d61e69ab6a657e1f350564ca21fb54977f27d781d2560be0b6c1c -eo pid,comm 16:48:34 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). 16:48:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:48:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:34 [ssh-agent] Looking for ssh-agent implementation... 16:48:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:34 $ docker exec 5e119850401d61e69ab6a657e1f350564ca21fb54977f27d781d2560be0b6c1c ssh-agent 16:48:34 SSH_AUTH_SOCK=/tmp/ssh-lvGtPEaPbg1P/agent.32 16:48:34 SSH_AGENT_PID=38 16:48:34 Running ssh-add (command line suppressed) 16:48:34 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2675560362531347954.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2675560362531347954.key) 16:48:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:34 + git semver push 16:48:35 2022-12-14 16:48:35,057 [run_push] DEBUG push 16:48:35 2022-12-14 16:48:35,059 [execute] INFO git cat-file --batch-check 16:48:35 2022-12-14 16:48:35,059 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:48:35 2022-12-14 16:48:35,063 [execute] INFO git rev-list 85a95f2575560f4285550fba2cbf4d405740ae6b -- 16:48:35 2022-12-14 16:48:35,064 [execute] DEBUG Popen(['git', 'rev-list', '85a95f2575560f4285550fba2cbf4d405740ae6b', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:48:35 2022-12-14 16:48:35,073 [execute] INFO git fetch -v origin 16:48:35 2022-12-14 16:48:35,074 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:48:35 2022-12-14 16:48:35,591 [run_push] DEBUG no remote changes detected 16:48:35 2022-12-14 16:48:35,591 [execute] INFO git push origin semver 16:48:35 2022-12-14 16:48:35,591 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:48:36 2022-12-14 16:48:36,426 [run_push] DEBUG push all version tags 16:48:36 2022-12-14 16:48:36,427 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:48:36 2022-12-14 16:48:36,427 [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) 16:48:37 2022-12-14 16:48:37,145 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:48:37 3.0.0-dev.2 [Pipeline] } 16:48:37 $ docker exec --env ******** --env ******** 5e119850401d61e69ab6a657e1f350564ca21fb54977f27d781d2560be0b6c1c ssh-agent -k 16:48:37 unset SSH_AUTH_SOCK; 16:48:37 unset SSH_AGENT_PID; 16:48:37 echo Agent pid 38 killed; 16:48:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:37 + git semver [Pipeline] } 16:48:38 $ docker stop --time=1 5e119850401d61e69ab6a657e1f350564ca21fb54977f27d781d2560be0b6c1c 16:48:39 $ docker rm -f 5e119850401d61e69ab6a657e1f350564ca21fb54977f27d781d2560be0b6c1c [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 16:48:39 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 16:48:39 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 16:48:39 total 16 16:48:39 drwxr-xr-x 3 root root 4096 Dec 14 16:39 . 16:48:39 drwxrwxr-x 11 jenkins jenkins 4096 Dec 14 16:48 .. 16:48:39 drwxr-xr-x 2 root root 4096 Dec 14 16:39 cost 16:48:39 -rw-r--r-- 1 root root 87 Dec 14 16:39 cost.csv 16:48:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 16:48:39 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 16:48:39 total 16 16:48:39 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 16:39 . 16:48:39 drwxrwxr-x 11 jenkins jenkins 4096 Dec 14 16:48 .. 16:48:39 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 16:39 cost 16:48:39 -rw-r--r-- 1 jenkins jenkins 87 Dec 14 16:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:48:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:48:41 ---> package-listing.sh 16:48:41 ++ facter osfamily 16:48:41 ++ tr '[:upper:]' '[:lower:]' 16:48:41 + OS_FAMILY=debian 16:48:41 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 16:48:41 + START_PACKAGES=/tmp/packages_start.txt 16:48:41 + END_PACKAGES=/tmp/packages_end.txt 16:48:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:48:41 + PACKAGES=/tmp/packages_start.txt 16:48:41 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 16:48:41 + PACKAGES=/tmp/packages_end.txt 16:48:41 + case "${OS_FAMILY}" in 16:48:41 + dpkg -l 16:48:41 + grep '^ii' 16:48:41 + '[' -f /tmp/packages_start.txt ']' 16:48:41 + '[' -f /tmp/packages_end.txt ']' 16:48:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:48:41 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 16:48:41 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 16:48:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 16:48:41 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 16:48:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:48:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:42 prd-ubuntu20.04-docker-8c-8g-121216 does not seem to be running inside a container 16:48:42 $ 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 16:48:42 $ docker top 88312c8f176b83eddc48cde3e2235bc275bf3752c9dbea45ec1012161b943560 -eo pid,comm [Pipeline] { [Pipeline] sh 16:48:42 + touch /tmp/pre-build-complete [Pipeline] sh 16:48:43 + mkdir -p /var/log/sysstat [Pipeline] sh 16:48:43 + ls /var/log/sa-host 16:48:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:43 provisioning config files... 16:48:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10064400804037283752tmp [Pipeline] { [Pipeline] echo 16:48:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:48:43 ---> create-netrc.sh [Pipeline] } 16:48:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:48:44 ---> python-tools-install.sh [Pipeline] echo 16:48:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:48:44 ---> sudo-logs.sh 16:48:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:48:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:48:45 ---> job-cost.sh 16:48:45 lf-activate-venv: SKIPPING 16:48:45 DEBUG: total: 0.2199999988079071 16:48:45 INFO: Retrieving Stack Cost... 16:48:45 INFO: Retrieving Pricing Info for: v3-standard-8 16:48:45 INFO: Archiving Costs [Pipeline] echo 16:48:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:48:46 ---> logs-deploy.sh 16:48:46 lf-activate-venv: SKIPPING 16:48:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/67 16:48:46 INFO: archiving workspace using pattern(s): 16:48:48 Archives upload complete. 16:48:48 INFO: archiving logs to Nexus 16:48:48 ---> uname -a: 16:48:48 Linux prd-ubuntu20-04-docker-8c-8g-121216 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:48:48 16:48:48 16:48:48 ---> lscpu: 16:48:48 Architecture: x86_64 16:48:48 CPU op-mode(s): 32-bit, 64-bit 16:48:48 Byte Order: Little Endian 16:48:48 Address sizes: 40 bits physical, 48 bits virtual 16:48:48 CPU(s): 8 16:48:48 On-line CPU(s) list: 0-7 16:48:48 Thread(s) per core: 1 16:48:48 Core(s) per socket: 1 16:48:48 Socket(s): 8 16:48:48 NUMA node(s): 1 16:48:48 Vendor ID: AuthenticAMD 16:48:48 CPU family: 23 16:48:48 Model: 49 16:48:48 Model name: AMD EPYC-Rome Processor 16:48:48 Stepping: 0 16:48:48 CPU MHz: 2800.000 16:48:48 BogoMIPS: 5600.00 16:48:48 Virtualization: AMD-V 16:48:48 Hypervisor vendor: KVM 16:48:48 Virtualization type: full 16:48:48 L1d cache: 256 KiB 16:48:48 L1i cache: 256 KiB 16:48:48 L2 cache: 4 MiB 16:48:48 L3 cache: 128 MiB 16:48:48 NUMA node0 CPU(s): 0-7 16:48:48 Vulnerability Itlb multihit: Not affected 16:48:48 Vulnerability L1tf: Not affected 16:48:48 Vulnerability Mds: Not affected 16:48:48 Vulnerability Meltdown: Not affected 16:48:48 Vulnerability Mmio stale data: Not affected 16:48:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:48:48 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:48:48 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:48:48 Vulnerability Srbds: Not affected 16:48:48 Vulnerability Tsx async abort: Not affected 16:48:48 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:48:48 16:48:48 16:48:48 ---> nproc: 16:48:48 8 16:48:48 16:48:48 16:48:48 ---> df -h: 16:48:48 Filesystem Size Used Avail Use% Mounted on 16:48:48 overlay 155G 13G 143G 9% / 16:48:48 tmpfs 64M 0 64M 0% /dev 16:48:48 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:48:48 shm 64M 0 64M 0% /dev/shm 16:48:48 /dev/vda1 155G 13G 143G 9% /facter-os 16:48:48 16:48:48