Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 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-ssh7192075206754971652.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh17687288667807924182.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh781439667057004913.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh6851746392551352108.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh15279001620152221505.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-19767’ is offline Running on prd-ubuntu20.04-docker-8c-8g-19769 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 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 (main) > 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 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and optimize attribution script (#361)" > git rev-list --no-walk b3a201471f88f806ab320431fdd3bd4e90f5c29c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T21:39:20.607Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T21:39:20.649Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T21:39:20.662Z] ========================================================= [2022-07-12T21:39:20.662Z] EdgeX Global Pipelines Version Info [2022-07-12T21:39:20.662Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:39:21.436Z] ------------------- [2022-07-12T21:39:21.436Z] stable info: [2022-07-12T21:39:21.436Z] ------------------- [2022-07-12T21:39:21.436Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T21:39:21.436Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T21:39:21.436Z] Message: update stable to v1.0.237 [2022-07-12T21:39:22.008Z] ------------------- [2022-07-12T21:39:22.008Z] experimental info: [2022-07-12T21:39:22.008Z] ------------------- [2022-07-12T21:39:22.008Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T21:39:22.008Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T21:39:22.008Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T21:39:22.314Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-07-12T21:39:22.328Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-07-12T21:39:22.342Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T21:39:22.359Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T21:39:22.372Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T21:39:22.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T21:39:22.399Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T21:39:22.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T21:39:22.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T21:39:22.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T21:39:22.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T21:39:22.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-07-12T21:39:22.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T21:39:22.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T21:39:22.499Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T21:39:22.513Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T21:39:22.526Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T21:39:22.539Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T21:39:22.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T21:39:22.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T21:39:22.579Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T21:39:22.596Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T21:39:22.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T21:39:22.617Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T21:39:22.631Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T21:39:22.642Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T21:39:22.654Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T21:39:22.668Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-12T21:39:22.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-12T21:39:22.694Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-12T21:39:22.705Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [Pipeline] echo [2022-07-12T21:39:22.718Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9739056 [Pipeline] echo [2022-07-12T21:39:22.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:39:22.777Z] provisioning config files... [2022-07-12T21:39:22.790Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6187400699584019914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:39:23.091Z] ---> docker-login.sh [2022-07-12T21:39:23.091Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:39:23.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:39:23.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:39:23.613Z] Configure a credential helper to remove this warning. See [2022-07-12T21:39:23.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:39:23.613Z] [2022-07-12T21:39:23.613Z] Login Succeeded [2022-07-12T21:39:23.613Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:39:23.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:39:23.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:39:23.613Z] Configure a credential helper to remove this warning. See [2022-07-12T21:39:23.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:39:23.613Z] [2022-07-12T21:39:23.613Z] Login Succeeded [2022-07-12T21:39:23.613Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:39:23.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:39:23.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:39:23.875Z] Configure a credential helper to remove this warning. See [2022-07-12T21:39:23.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:39:23.875Z] [2022-07-12T21:39:23.875Z] Login Succeeded [2022-07-12T21:39:23.875Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:39:23.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:39:23.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:39:23.875Z] Configure a credential helper to remove this warning. See [2022-07-12T21:39:23.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:39:23.875Z] [2022-07-12T21:39:23.875Z] Login Succeeded [2022-07-12T21:39:23.875Z] docker.io [2022-07-12T21:39:24.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:39:24.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:39:24.397Z] Configure a credential helper to remove this warning. See [2022-07-12T21:39:24.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:39:24.397Z] [2022-07-12T21:39:24.397Z] Login Succeeded [2022-07-12T21:39:24.397Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:39:24.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T21:39:24.804Z] + git rev-list -1 --merges 973905656be17c6e9e554d1e17f1b70e8c1dc5a7~1..973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [Pipeline] echo [2022-07-12T21:39:24.838Z] -----------> git rev-list -1 --merges 973905656be17c6e9e554d1e17f1b70e8c1dc5a7~1..973905656be17c6e9e554d1e17f1b70e8c1dc5a7 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [false] [Pipeline] sh [2022-07-12T21:39:25.135Z] + git log --format=format:%s -1 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [Pipeline] echo [2022-07-12T21:39:25.153Z] ========================================================= [2022-07-12T21:39:25.153Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T21:39:25.153Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T21:39:25.501Z] + git log --format=format:%s -1 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [Pipeline] echo [2022-07-12T21:39:25.521Z] [semverPrep] GIT_COMMIT: 973905656be17c6e9e554d1e17f1b70e8c1dc5a7, Commit Message: build: Upgrade to Go 1.18 and optimize attribution script (#361) [Pipeline] echo [2022-07-12T21:39:25.529Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T21:39:25.921Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T21:39:25.921Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T21:39:25.921Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T21:39:25.921Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T21:39:25.921Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T21:39:25.921Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T21:39:25.921Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:39:26.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:39:26.346Z] [2022-07-12T21:39:26.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:39:26.650Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:39:26.650Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T21:39:26.650Z] b85a868b505f: Pulling fs layer [2022-07-12T21:39:26.650Z] e2be974225ed: Pulling fs layer [2022-07-12T21:39:26.650Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T21:39:26.650Z] 988bab9f4d93: Pulling fs layer [2022-07-12T21:39:26.650Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T21:39:26.650Z] eaf3925da568: Pulling fs layer [2022-07-12T21:39:26.650Z] bab4dde63d76: Pulling fs layer [2022-07-12T21:39:26.650Z] 988bab9f4d93: Waiting [2022-07-12T21:39:26.650Z] 1469e6f7b9e6: Waiting [2022-07-12T21:39:26.650Z] eaf3925da568: Waiting [2022-07-12T21:39:26.650Z] bab4dde63d76: Waiting [2022-07-12T21:39:26.650Z] bde34c3a00c8: Pulling fs layer [2022-07-12T21:39:26.650Z] b352a97aabf1: Pulling fs layer [2022-07-12T21:39:26.650Z] bde34c3a00c8: Waiting [2022-07-12T21:39:26.650Z] 4872d77fe225: Pulling fs layer [2022-07-12T21:39:26.650Z] 5851b861e8e6: Pulling fs layer [2022-07-12T21:39:26.650Z] 5851b861e8e6: Waiting [2022-07-12T21:39:26.650Z] 4872d77fe225: Waiting [2022-07-12T21:39:26.650Z] b352a97aabf1: Waiting [2022-07-12T21:39:26.650Z] e2be974225ed: Verifying Checksum [2022-07-12T21:39:26.650Z] e2be974225ed: Download complete [2022-07-12T21:39:26.650Z] 988bab9f4d93: Download complete [2022-07-12T21:39:26.913Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T21:39:26.913Z] 1469e6f7b9e6: Download complete [2022-07-12T21:39:26.913Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T21:39:26.913Z] 339a4e72a1f5: Download complete [2022-07-12T21:39:26.913Z] eaf3925da568: Verifying Checksum [2022-07-12T21:39:26.913Z] eaf3925da568: Download complete [2022-07-12T21:39:26.913Z] bde34c3a00c8: Download complete [2022-07-12T21:39:26.913Z] b352a97aabf1: Verifying Checksum [2022-07-12T21:39:26.913Z] b352a97aabf1: Download complete [2022-07-12T21:39:26.913Z] 4872d77fe225: Verifying Checksum [2022-07-12T21:39:26.913Z] 4872d77fe225: Download complete [2022-07-12T21:39:26.913Z] 5851b861e8e6: Download complete [2022-07-12T21:39:26.913Z] b85a868b505f: Verifying Checksum [2022-07-12T21:39:26.913Z] b85a868b505f: Download complete [2022-07-12T21:39:27.175Z] bab4dde63d76: Verifying Checksum [2022-07-12T21:39:27.175Z] bab4dde63d76: Download complete [2022-07-12T21:39:28.115Z] b85a868b505f: Pull complete [2022-07-12T21:39:28.376Z] e2be974225ed: Pull complete [2022-07-12T21:39:28.953Z] 339a4e72a1f5: Pull complete [2022-07-12T21:39:28.953Z] 988bab9f4d93: Pull complete [2022-07-12T21:39:29.217Z] 1469e6f7b9e6: Pull complete [2022-07-12T21:39:29.217Z] eaf3925da568: Pull complete [2022-07-12T21:39:31.769Z] bab4dde63d76: Pull complete [2022-07-12T21:39:31.769Z] bde34c3a00c8: Pull complete [2022-07-12T21:39:31.769Z] b352a97aabf1: Pull complete [2022-07-12T21:39:31.769Z] 4872d77fe225: Pull complete [2022-07-12T21:39:31.769Z] 5851b861e8e6: Pull complete [2022-07-12T21:39:31.769Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T21:39:31.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:39:31.769Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:39:31.891Z] prd-ubuntu20.04-docker-8c-8g-19769 does not seem to be running inside a container [2022-07-12T21:39:31.933Z] $ 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 [2022-07-12T21:39:33.453Z] $ docker top beb1502f764959988d7b4ff3afcf41823c4223e97221d7dc24522cf9ec5b8256 -eo pid,comm [2022-07-12T21:39:33.546Z] 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). [2022-07-12T21:39:33.546Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T21:39:33.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:39:33.576Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:39:33.737Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:39:33.744Z] $ docker exec beb1502f764959988d7b4ff3afcf41823c4223e97221d7dc24522cf9ec5b8256 ssh-agent [2022-07-12T21:39:33.876Z] SSH_AUTH_SOCK=/tmp/ssh-xKdwQRS5xn0c/agent.34 [2022-07-12T21:39:33.876Z] SSH_AGENT_PID=40 [2022-07-12T21:39:33.883Z] Running ssh-add (command line suppressed) [2022-07-12T21:39:34.026Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4656634078371843154.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4656634078371843154.key) [2022-07-12T21:39:34.040Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:39:34.328Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T21:39:34.344Z] $ docker exec --env ******** --env ******** beb1502f764959988d7b4ff3afcf41823c4223e97221d7dc24522cf9ec5b8256 ssh-agent -k [2022-07-12T21:39:34.479Z] unset SSH_AUTH_SOCK; [2022-07-12T21:39:34.480Z] unset SSH_AGENT_PID; [2022-07-12T21:39:34.480Z] echo Agent pid 40 killed; [2022-07-12T21:39:34.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T21:39:34.513Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:39:34.513Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:39:34.655Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:39:34.663Z] $ docker exec beb1502f764959988d7b4ff3afcf41823c4223e97221d7dc24522cf9ec5b8256 ssh-agent [2022-07-12T21:39:34.813Z] SSH_AUTH_SOCK=/tmp/ssh-uVbLHZhO6YTY/agent.73 [2022-07-12T21:39:34.813Z] SSH_AGENT_PID=80 [2022-07-12T21:39:34.819Z] Running ssh-add (command line suppressed) [2022-07-12T21:39:34.951Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5266791537427456066.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5266791537427456066.key) [2022-07-12T21:39:34.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:39:35.253Z] + git semver init [2022-07-12T21:39:35.523Z] 2022-07-12 21:39:35,474 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T21:39:35.523Z] 2022-07-12 21:39:35,475 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-07-12T21:39:35.523Z] 2022-07-12 21:39:35,475 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-07-12T21:39:35.523Z] 2022-07-12 21:39:35,475 [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) [2022-07-12T21:39:36.466Z] 2022-07-12 21:39:36,172 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-07-12T21:39:36.466Z] 2022-07-12 21:39:36,173 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-07-12T21:39:36.466Z] 2022-07-12 21:39:36,173 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-12T21:39:36.466Z] 2022-07-12 21:39:36,173 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-12T21:39:36.466Z] 2.2.1-dev.6 [Pipeline] } [2022-07-12T21:39:36.483Z] $ docker exec --env ******** --env ******** beb1502f764959988d7b4ff3afcf41823c4223e97221d7dc24522cf9ec5b8256 ssh-agent -k [2022-07-12T21:39:36.595Z] unset SSH_AUTH_SOCK; [2022-07-12T21:39:36.596Z] unset SSH_AGENT_PID; [2022-07-12T21:39:36.596Z] echo Agent pid 80 killed; [2022-07-12T21:39:36.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T21:39:36.913Z] + git semver [Pipeline] } [2022-07-12T21:39:37.193Z] $ docker stop --time=1 beb1502f764959988d7b4ff3afcf41823c4223e97221d7dc24522cf9ec5b8256 [2022-07-12T21:39:38.508Z] $ docker rm -f beb1502f764959988d7b4ff3afcf41823c4223e97221d7dc24522cf9ec5b8256 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:39:38.870Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T21:39:39.130Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T21:39:39.133Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.6 [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 [2022-07-12T21:39:39.286Z] provisioning config files... [2022-07-12T21:39:39.296Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config226751430951488762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:39:39.596Z] ---> docker-login.sh [2022-07-12T21:39:39.596Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:39:39.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:39:39.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:39:39.596Z] Configure a credential helper to remove this warning. See [2022-07-12T21:39:39.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:39:39.596Z] [2022-07-12T21:39:39.596Z] Login Succeeded [2022-07-12T21:39:39.596Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:39:39.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:39:39.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:39:39.858Z] Configure a credential helper to remove this warning. See [2022-07-12T21:39:39.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:39:39.858Z] [2022-07-12T21:39:39.858Z] Login Succeeded [2022-07-12T21:39:39.858Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:39:39.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:39:39.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:39:39.858Z] Configure a credential helper to remove this warning. See [2022-07-12T21:39:39.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:39:39.858Z] [2022-07-12T21:39:39.858Z] Login Succeeded [2022-07-12T21:39:39.858Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:39:40.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:39:40.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:39:40.119Z] Configure a credential helper to remove this warning. See [2022-07-12T21:39:40.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:39:40.119Z] [2022-07-12T21:39:40.119Z] Login Succeeded [2022-07-12T21:39:40.119Z] docker.io [2022-07-12T21:39:40.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:39:40.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:39:40.380Z] Configure a credential helper to remove this warning. See [2022-07-12T21:39:40.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:39:40.380Z] [2022-07-12T21:39:40.380Z] Login Succeeded [2022-07-12T21:39:40.380Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:39:40.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T21:39:40.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:39:40.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:39:40.466Z] ========================================================= [2022-07-12T21:39:40.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T21:39:40.466Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:39:40.785Z] + 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 . [2022-07-12T21:39:40.785Z] Sending build context to Docker daemon 6.053MB [2022-07-12T21:39:40.785Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:39:40.785Z] Step 2/10 : FROM ${BASE} AS builder [2022-07-12T21:39:40.785Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T21:39:40.785Z] 2408cc74d12b: Pulling fs layer [2022-07-12T21:39:40.785Z] ea60b727a1ce: Pulling fs layer [2022-07-12T21:39:40.785Z] 30c4a7721957: Pulling fs layer [2022-07-12T21:39:40.785Z] 370296b7ddb6: Pulling fs layer [2022-07-12T21:39:40.785Z] 7c6cee850709: Pulling fs layer [2022-07-12T21:39:40.785Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T21:39:40.785Z] d94ebbe4e438: Pulling fs layer [2022-07-12T21:39:40.785Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T21:39:40.785Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T21:39:40.785Z] d94ebbe4e438: Waiting [2022-07-12T21:39:40.785Z] 370296b7ddb6: Waiting [2022-07-12T21:39:40.785Z] 39a5fcdaea64: Waiting [2022-07-12T21:39:40.785Z] bcfd1f05c69d: Waiting [2022-07-12T21:39:40.785Z] 59ccb84bbe0f: Waiting [2022-07-12T21:39:40.785Z] 7c6cee850709: Waiting [2022-07-12T21:39:40.785Z] 30c4a7721957: Verifying Checksum [2022-07-12T21:39:40.785Z] 30c4a7721957: Download complete [2022-07-12T21:39:40.785Z] ea60b727a1ce: Verifying Checksum [2022-07-12T21:39:40.785Z] ea60b727a1ce: Download complete [2022-07-12T21:39:40.785Z] 7c6cee850709: Verifying Checksum [2022-07-12T21:39:40.785Z] 7c6cee850709: Download complete [2022-07-12T21:39:41.050Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T21:39:41.050Z] 39a5fcdaea64: Download complete [2022-07-12T21:39:41.050Z] 2408cc74d12b: Verifying Checksum [2022-07-12T21:39:41.050Z] d94ebbe4e438: Verifying Checksum [2022-07-12T21:39:41.050Z] d94ebbe4e438: Download complete [2022-07-12T21:39:41.050Z] 2408cc74d12b: Pull complete [2022-07-12T21:39:41.310Z] ea60b727a1ce: Pull complete [2022-07-12T21:39:41.310Z] 30c4a7721957: Pull complete [2022-07-12T21:39:41.571Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T21:39:41.571Z] bcfd1f05c69d: Download complete [2022-07-12T21:39:41.571Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T21:39:41.571Z] 59ccb84bbe0f: Download complete [2022-07-12T21:39:41.830Z] 370296b7ddb6: Verifying Checksum [2022-07-12T21:39:41.830Z] 370296b7ddb6: Download complete [2022-07-12T21:39:46.029Z] 370296b7ddb6: Pull complete [2022-07-12T21:39:46.290Z] 7c6cee850709: Pull complete [2022-07-12T21:39:46.290Z] 39a5fcdaea64: Pull complete [2022-07-12T21:39:46.290Z] d94ebbe4e438: Pull complete [2022-07-12T21:39:48.839Z] bcfd1f05c69d: Pull complete [2022-07-12T21:39:49.411Z] 59ccb84bbe0f: Pull complete [2022-07-12T21:39:49.411Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T21:39:49.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T21:39:49.411Z] ---> a4fb48ad2a94 [2022-07-12T21:39:49.411Z] Step 3/10 : ARG MAKE='make build' [2022-07-12T21:39:51.331Z] ---> Running in 2e83eb01302d [2022-07-12T21:39:51.331Z] Removing intermediate container 2e83eb01302d [2022-07-12T21:39:51.331Z] ---> de6499f0e829 [2022-07-12T21:39:51.331Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:39:51.331Z] ---> Running in 3b8a305b8559 [2022-07-12T21:39:51.908Z] Removing intermediate container 3b8a305b8559 [2022-07-12T21:39:51.908Z] ---> f30010c14070 [2022-07-12T21:39:51.908Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-12T21:39:52.169Z] ---> Running in fd3af0edd5af [2022-07-12T21:39:52.429Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:39:53.373Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:39:53.632Z] (1/8) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T21:39:53.632Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-07-12T21:39:53.632Z] (3/8) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T21:39:53.892Z] (4/8) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T21:39:53.892Z] (5/8) Installing openssh-sftp-server (9.0_p1-r1) [2022-07-12T21:39:54.153Z] (6/8) Installing openssh-server-common (9.0_p1-r1) [2022-07-12T21:39:54.153Z] (7/8) Installing openssh-server (9.0_p1-r1) [2022-07-12T21:39:54.153Z] (8/8) Installing openssh (9.0_p1-r1) [2022-07-12T21:39:54.246Z] Still waiting to schedule task [2022-07-12T21:39:54.246Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-19768’ is offline [2022-07-12T21:39:54.414Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:39:54.414Z] OK: 217 MiB in 59 packages [2022-07-12T21:39:54.678Z] Removing intermediate container fd3af0edd5af [2022-07-12T21:39:54.678Z] ---> b2f1716f3be7 [2022-07-12T21:39:54.678Z] Step 6/10 : WORKDIR /device-modbus-go [2022-07-12T21:39:54.953Z] ---> Running in ab006f0f875c [2022-07-12T21:39:54.953Z] Removing intermediate container ab006f0f875c [2022-07-12T21:39:54.953Z] ---> ff2163aecced [2022-07-12T21:39:54.953Z] Step 7/10 : COPY go.mod vendor* ./ [2022-07-12T21:39:55.213Z] ---> 0d9d87263c74 [2022-07-12T21:39:55.213Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:39:55.213Z] ---> Running in 1d21ce85c2e7 [2022-07-12T21:40:10.132Z] Removing intermediate container 1d21ce85c2e7 [2022-07-12T21:40:10.132Z] ---> 7e48852c34d5 [2022-07-12T21:40:10.132Z] Step 9/10 : COPY . . [2022-07-12T21:40:10.132Z] ---> aef5abd3831b [2022-07-12T21:40:10.132Z] Step 10/10 : RUN ${MAKE} [2022-07-12T21:40:10.132Z] ---> Running in 290a91096268 [2022-07-12T21:40:10.393Z] noop [2022-07-12T21:40:10.655Z] Removing intermediate container 290a91096268 [2022-07-12T21:40:10.655Z] ---> a029c9f54cd9 [2022-07-12T21:40:10.655Z] Successfully built a029c9f54cd9 [2022-07-12T21:40:10.655Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:40:10.973Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T21:40:10.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:40:11.070Z] prd-ubuntu20.04-docker-8c-8g-19769 does not seem to be running inside a container [2022-07-12T21:40:11.111Z] $ 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 [2022-07-12T21:40:11.544Z] $ docker top f4a480ef2340fa677a662cc4ff9027f3deee1ce329d24ed806c89569e1f59c69 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:40:11.953Z] + go version [2022-07-12T21:40:11.953Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T21:40:11.970Z] $ docker stop --time=1 f4a480ef2340fa677a662cc4ff9027f3deee1ce329d24ed806c89569e1f59c69 [2022-07-12T21:40:13.292Z] $ docker rm -f f4a480ef2340fa677a662cc4ff9027f3deee1ce329d24ed806c89569e1f59c69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:40:13.729Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T21:40:13.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:40:13.812Z] prd-ubuntu20.04-docker-8c-8g-19769 does not seem to be running inside a container [2022-07-12T21:40:13.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 [2022-07-12T21:40:14.270Z] $ docker top 103ea576f46f4761f00604864b1e0640ca9e487b492074d1d22f4793ace2b2ee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:40:14.625Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2022-07-12T21:40:14.923Z] + make test [2022-07-12T21:40:14.923Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-12T21:40:15.181Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-07-12T21:40:25.173Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-07-12T21:40:25.173Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 46.4% of statements [2022-07-12T21:40:31.780Z] 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." [2022-07-12T21:40:31.780Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T21:40:35.095Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T21:40:35.095Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T21:40:35.095Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T21:40:35.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T21:40:35.123Z] $ docker stop --time=1 103ea576f46f4761f00604864b1e0640ca9e487b492074d1d22f4793ace2b2ee [2022-07-12T21:40:36.964Z] $ docker rm -f 103ea576f46f4761f00604864b1e0640ca9e487b492074d1d22f4793ace2b2ee [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:40:37.423Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T21:40:37.465Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T21:40:37.953Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T21:40:38.247Z] + ls -al . [2022-07-12T21:40:38.247Z] total 184 [2022-07-12T21:40:38.247Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 21:40 . [2022-07-12T21:40:38.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:39 .. [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 21:39 .dockerignore [2022-07-12T21:40:38.247Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:40 .git [2022-07-12T21:40:38.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:39 .github [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 331 Jul 12 21:39 .gitignore [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 21:39 .golangci.yml [2022-07-12T21:40:38.247Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:39 .semver [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jul 12 21:39 Attribution.txt [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jul 12 21:39 CHANGELOG.md [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 1550 Jul 12 21:39 Dockerfile [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 21:39 GOVERNANCE.md [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 21:39 Jenkinsfile [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 21:39 LICENSE [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 1892 Jul 12 21:39 Makefile [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 12 21:39 OWNERS.md [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jul 12 21:39 README.md [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 21:39 VERSION [2022-07-12T21:40:38.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:39 bin [2022-07-12T21:40:38.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:39 cmd [2022-07-12T21:40:38.247Z] -rw-r--r-- 1 jenkins jenkins 24065 Jul 12 21:40 coverage.out [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jul 12 21:39 go.mod [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 35446 Jul 12 21:39 go.sum [2022-07-12T21:40:38.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:39 internal [2022-07-12T21:40:38.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:39 simulator [2022-07-12T21:40:38.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:39 snap [2022-07-12T21:40:38.247Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 12 21:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:40:38.566Z] + 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=973905656be17c6e9e554d1e17f1b70e8c1dc5a7 --label arch=amd64 --label version=2.2.1-dev.6 . [2022-07-12T21:40:38.566Z] Sending build context to Docker daemon 6.078MB [2022-07-12T21:40:38.566Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:40:38.566Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-12T21:40:38.566Z] ---> a029c9f54cd9 [2022-07-12T21:40:38.566Z] Step 3/23 : ARG MAKE='make build' [2022-07-12T21:40:38.566Z] ---> Running in 76f9e26c2574 [2022-07-12T21:40:38.826Z] Removing intermediate container 76f9e26c2574 [2022-07-12T21:40:38.826Z] ---> ff60847d33df [2022-07-12T21:40:38.826Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:40:38.826Z] ---> Running in cba3395845d2 [2022-07-12T21:40:39.400Z] Removing intermediate container cba3395845d2 [2022-07-12T21:40:39.400Z] ---> e366f5eec1c7 [2022-07-12T21:40:39.400Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-12T21:40:39.400Z] ---> Running in bc2a04299448 [2022-07-12T21:40:39.661Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:40:40.609Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:40:40.870Z] OK: 217 MiB in 59 packages [2022-07-12T21:40:41.130Z] Removing intermediate container bc2a04299448 [2022-07-12T21:40:41.130Z] ---> 59dc62e008fe [2022-07-12T21:40:41.130Z] Step 6/23 : WORKDIR /device-modbus-go [2022-07-12T21:40:41.130Z] ---> Running in c5199bb98911 [2022-07-12T21:40:41.391Z] Removing intermediate container c5199bb98911 [2022-07-12T21:40:41.391Z] ---> 89cc1ff4b6e8 [2022-07-12T21:40:41.391Z] Step 7/23 : COPY go.mod vendor* ./ [2022-07-12T21:40:41.391Z] ---> f425a057bfe7 [2022-07-12T21:40:41.391Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:40:41.653Z] ---> Running in 1a511901735b [2022-07-12T21:40:42.223Z] Removing intermediate container 1a511901735b [2022-07-12T21:40:42.223Z] ---> 37cca2be1edd [2022-07-12T21:40:42.223Z] Step 9/23 : COPY . . [2022-07-12T21:40:42.483Z] ---> 3c6b88735d2f [2022-07-12T21:40:42.483Z] Step 10/23 : RUN ${MAKE} [2022-07-12T21:40:42.483Z] ---> Running in 7693aecba77d [2022-07-12T21:40:42.742Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-07-12T21:41:04.713Z] Removing intermediate container 7693aecba77d [2022-07-12T21:41:04.713Z] ---> e3d174c74dc6 [2022-07-12T21:41:04.713Z] Step 11/23 : FROM alpine:3.14 [2022-07-12T21:41:04.713Z] 3.14: Pulling from library/alpine [2022-07-12T21:41:04.713Z] 8663204ce13b: Pulling fs layer [2022-07-12T21:41:04.713Z] 8663204ce13b: Verifying Checksum [2022-07-12T21:41:04.713Z] 8663204ce13b: Download complete [2022-07-12T21:41:04.713Z] 8663204ce13b: Pull complete [2022-07-12T21:41:04.713Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-12T21:41:04.713Z] Status: Downloaded newer image for alpine:3.14 [2022-07-12T21:41:04.713Z] ---> e04c818066af [2022-07-12T21:41:04.713Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-07-12T21:41:04.713Z] ---> Running in 5e203baa27c9 [2022-07-12T21:41:04.713Z] Removing intermediate container 5e203baa27c9 [2022-07-12T21:41:04.713Z] ---> 3ddb571d11ac [2022-07-12T21:41:04.713Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:41:04.713Z] ---> Running in 432c0cc0aeab [2022-07-12T21:41:04.713Z] Removing intermediate container 432c0cc0aeab [2022-07-12T21:41:04.713Z] ---> bd0e511313e0 [2022-07-12T21:41:04.713Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T21:41:04.713Z] ---> Running in f7dcb111abb5 [2022-07-12T21:41:04.713Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:41:05.291Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:41:05.557Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T21:41:05.557Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-12T21:41:05.818Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T21:41:05.818Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-12T21:41:05.818Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T21:41:06.079Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T21:41:06.079Z] Executing busybox-1.33.1-r7.trigger [2022-07-12T21:41:06.079Z] OK: 8 MiB in 20 packages [2022-07-12T21:41:06.650Z] Removing intermediate container f7dcb111abb5 [2022-07-12T21:41:06.650Z] ---> 1a370a1d4980 [2022-07-12T21:41:06.650Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-07-12T21:41:06.908Z] ---> 3b8c5d21002f [2022-07-12T21:41:06.908Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-07-12T21:41:07.169Z] ---> 83ce73cb9c45 [2022-07-12T21:41:07.169Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-07-12T21:41:07.427Z] ---> b2a75f039062 [2022-07-12T21:41:07.427Z] Step 18/23 : EXPOSE 59901 [2022-07-12T21:41:07.427Z] ---> Running in f8d2969b96b9 [2022-07-12T21:41:07.427Z] Removing intermediate container f8d2969b96b9 [2022-07-12T21:41:07.427Z] ---> 26853aba245a [2022-07-12T21:41:07.427Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-07-12T21:41:07.427Z] ---> Running in 57febd0a89e5 [2022-07-12T21:41:07.685Z] Removing intermediate container 57febd0a89e5 [2022-07-12T21:41:07.685Z] ---> e8d86b5ae1fb [2022-07-12T21:41:07.685Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T21:41:07.685Z] ---> Running in 8b0e7fd76d6b [2022-07-12T21:41:07.685Z] Removing intermediate container 8b0e7fd76d6b [2022-07-12T21:41:07.685Z] ---> 3cd89e0bc01d [2022-07-12T21:41:07.685Z] Step 21/23 : LABEL arch=amd64 [2022-07-12T21:41:07.685Z] ---> Running in 95be6d02db21 [2022-07-12T21:41:07.944Z] Removing intermediate container 95be6d02db21 [2022-07-12T21:41:07.944Z] ---> c1de31393fb7 [2022-07-12T21:41:07.944Z] Step 22/23 : LABEL git_sha=973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [2022-07-12T21:41:07.944Z] ---> Running in 7cc4783f99fa [2022-07-12T21:41:07.944Z] Removing intermediate container 7cc4783f99fa [2022-07-12T21:41:07.944Z] ---> f37477a036a4 [2022-07-12T21:41:07.944Z] Step 23/23 : LABEL version=2.2.1-dev.6 [2022-07-12T21:41:07.944Z] ---> Running in 2ea2408b983f [2022-07-12T21:41:08.208Z] Removing intermediate container 2ea2408b983f [2022-07-12T21:41:08.208Z] ---> 19c36be63194 [2022-07-12T21:41:08.208Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T21:41:08.208Z] Successfully built 19c36be63194 [2022-07-12T21:41:08.208Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:41:08.296Z] provisioning config files... [2022-07-12T21:41:08.306Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8633823342337983532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:41:08.596Z] ---> docker-login.sh [2022-07-12T21:41:08.596Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:41:08.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:08.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:08.855Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:08.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:08.855Z] [2022-07-12T21:41:08.855Z] Login Succeeded [2022-07-12T21:41:08.855Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:41:08.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:08.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:08.855Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:08.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:08.855Z] [2022-07-12T21:41:08.855Z] Login Succeeded [2022-07-12T21:41:08.855Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:41:09.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:09.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:09.113Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:09.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:09.113Z] [2022-07-12T21:41:09.113Z] Login Succeeded [2022-07-12T21:41:09.113Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:41:09.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:09.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:09.113Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:09.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:09.113Z] [2022-07-12T21:41:09.113Z] Login Succeeded [2022-07-12T21:41:09.113Z] docker.io [2022-07-12T21:41:09.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:09.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:09.628Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:09.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:09.628Z] [2022-07-12T21:41:09.628Z] Login Succeeded [2022-07-12T21:41:09.628Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:41:09.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T21:41:09.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:41:09.693Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-07-12T21:41:09.693Z] 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [2022-07-12T21:41:09.693Z] latest [2022-07-12T21:41:09.693Z] 2.2.1-dev.6 [2022-07-12T21:41:09.693Z] 973905656be17c6e9e554d1e17f1b70e8c1dc5a7-2.2.1-dev.6 [2022-07-12T21:41:09.693Z] main [2022-07-12T21:41:09.693Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:10.009Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:10.315Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [2022-07-12T21:41:10.315Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-07-12T21:41:10.315Z] 612f08577652: Preparing [2022-07-12T21:41:10.315Z] bc719b37f0fc: Preparing [2022-07-12T21:41:10.315Z] d543df9b1e4a: Preparing [2022-07-12T21:41:10.315Z] 8a4dcb81ea9e: Preparing [2022-07-12T21:41:10.315Z] 8d6552140e8b: Preparing [2022-07-12T21:41:10.315Z] b541d28bf3b4: Preparing [2022-07-12T21:41:10.315Z] b541d28bf3b4: Waiting [2022-07-12T21:41:10.315Z] 8d6552140e8b: Pushed [2022-07-12T21:41:10.315Z] 612f08577652: Pushed [2022-07-12T21:41:10.315Z] bc719b37f0fc: Pushed [2022-07-12T21:41:10.315Z] b541d28bf3b4: Layer already exists [2022-07-12T21:41:10.574Z] 8a4dcb81ea9e: Pushed [2022-07-12T21:41:13.111Z] d543df9b1e4a: Pushed [2022-07-12T21:41:13.111Z] 973905656be17c6e9e554d1e17f1b70e8c1dc5a7: digest: sha256:86a7390e82e8b9c3114065c80480fb005bb0d911ad3f4dc44bd4e098dd2f87ca size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:13.454Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:13.832Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-07-12T21:41:13.832Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-07-12T21:41:13.832Z] 612f08577652: Preparing [2022-07-12T21:41:13.832Z] bc719b37f0fc: Preparing [2022-07-12T21:41:13.832Z] d543df9b1e4a: Preparing [2022-07-12T21:41:13.832Z] 8a4dcb81ea9e: Preparing [2022-07-12T21:41:13.832Z] 8d6552140e8b: Preparing [2022-07-12T21:41:13.832Z] b541d28bf3b4: Preparing [2022-07-12T21:41:13.832Z] b541d28bf3b4: Waiting [2022-07-12T21:41:13.832Z] d543df9b1e4a: Layer already exists [2022-07-12T21:41:13.832Z] bc719b37f0fc: Layer already exists [2022-07-12T21:41:13.832Z] 612f08577652: Layer already exists [2022-07-12T21:41:13.832Z] 8d6552140e8b: Layer already exists [2022-07-12T21:41:13.832Z] 8a4dcb81ea9e: Layer already exists [2022-07-12T21:41:13.832Z] b541d28bf3b4: Layer already exists [2022-07-12T21:41:13.832Z] latest: digest: sha256:86a7390e82e8b9c3114065c80480fb005bb0d911ad3f4dc44bd4e098dd2f87ca size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:14.161Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:14.476Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.6 [2022-07-12T21:41:14.476Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-07-12T21:41:14.476Z] 612f08577652: Preparing [2022-07-12T21:41:14.476Z] bc719b37f0fc: Preparing [2022-07-12T21:41:14.476Z] d543df9b1e4a: Preparing [2022-07-12T21:41:14.476Z] 8a4dcb81ea9e: Preparing [2022-07-12T21:41:14.477Z] 8d6552140e8b: Preparing [2022-07-12T21:41:14.477Z] b541d28bf3b4: Preparing [2022-07-12T21:41:14.477Z] b541d28bf3b4: Waiting [2022-07-12T21:41:14.477Z] 8d6552140e8b: Layer already exists [2022-07-12T21:41:14.477Z] d543df9b1e4a: Layer already exists [2022-07-12T21:41:14.477Z] 612f08577652: Layer already exists [2022-07-12T21:41:14.477Z] 8a4dcb81ea9e: Layer already exists [2022-07-12T21:41:14.477Z] bc719b37f0fc: Layer already exists [2022-07-12T21:41:14.477Z] b541d28bf3b4: Layer already exists [2022-07-12T21:41:14.477Z] 2.2.1-dev.6: digest: sha256:86a7390e82e8b9c3114065c80480fb005bb0d911ad3f4dc44bd4e098dd2f87ca size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:14.800Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:973905656be17c6e9e554d1e17f1b70e8c1dc5a7-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:15.117Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:973905656be17c6e9e554d1e17f1b70e8c1dc5a7-2.2.1-dev.6 [2022-07-12T21:41:15.117Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-07-12T21:41:15.117Z] 612f08577652: Preparing [2022-07-12T21:41:15.117Z] bc719b37f0fc: Preparing [2022-07-12T21:41:15.117Z] d543df9b1e4a: Preparing [2022-07-12T21:41:15.117Z] 8a4dcb81ea9e: Preparing [2022-07-12T21:41:15.117Z] 8d6552140e8b: Preparing [2022-07-12T21:41:15.117Z] b541d28bf3b4: Preparing [2022-07-12T21:41:15.117Z] b541d28bf3b4: Waiting [2022-07-12T21:41:15.117Z] d543df9b1e4a: Layer already exists [2022-07-12T21:41:15.117Z] bc719b37f0fc: Layer already exists [2022-07-12T21:41:15.117Z] 612f08577652: Layer already exists [2022-07-12T21:41:15.117Z] 8d6552140e8b: Layer already exists [2022-07-12T21:41:15.117Z] 8a4dcb81ea9e: Layer already exists [2022-07-12T21:41:15.117Z] b541d28bf3b4: Layer already exists [2022-07-12T21:41:15.117Z] 973905656be17c6e9e554d1e17f1b70e8c1dc5a7-2.2.1-dev.6: digest: sha256:86a7390e82e8b9c3114065c80480fb005bb0d911ad3f4dc44bd4e098dd2f87ca size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:15.439Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:15.752Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-07-12T21:41:15.752Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-07-12T21:41:15.752Z] 612f08577652: Preparing [2022-07-12T21:41:15.752Z] bc719b37f0fc: Preparing [2022-07-12T21:41:15.752Z] d543df9b1e4a: Preparing [2022-07-12T21:41:15.752Z] 8a4dcb81ea9e: Preparing [2022-07-12T21:41:15.752Z] 8d6552140e8b: Preparing [2022-07-12T21:41:15.752Z] b541d28bf3b4: Preparing [2022-07-12T21:41:15.752Z] b541d28bf3b4: Waiting [2022-07-12T21:41:15.752Z] 612f08577652: Layer already exists [2022-07-12T21:41:15.752Z] bc719b37f0fc: Layer already exists [2022-07-12T21:41:15.752Z] 8a4dcb81ea9e: Layer already exists [2022-07-12T21:41:15.752Z] 8d6552140e8b: Layer already exists [2022-07-12T21:41:15.752Z] d543df9b1e4a: Layer already exists [2022-07-12T21:41:15.752Z] b541d28bf3b4: Layer already exists [2022-07-12T21:41:15.752Z] main: digest: sha256:86a7390e82e8b9c3114065c80480fb005bb0d911ad3f4dc44bd4e098dd2f87ca size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T21:41:15.807Z] ===================================================== [Pipeline] echo [2022-07-12T21:41:15.814Z] taggedImages: [2022-07-12T21:41:15.814Z] - nexus3.edgexfoundry.org:10004/device-modbus:973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [2022-07-12T21:41:15.814Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-07-12T21:41:15.814Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.6 [2022-07-12T21:41:15.814Z] - nexus3.edgexfoundry.org:10004/device-modbus:973905656be17c6e9e554d1e17f1b70e8c1dc5a7-2.2.1-dev.6 [2022-07-12T21:41:15.814Z] - 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 [2022-07-12T21:41:16.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:41:16.197Z] [2022-07-12T21:41:16.198Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:16.500Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:41:16.500Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T21:41:16.500Z] 5eb5b503b376: Pulling fs layer [2022-07-12T21:41:16.500Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T21:41:16.500Z] ec43610c2a17: Pulling fs layer [2022-07-12T21:41:16.500Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T21:41:16.500Z] 33b1e0a273af: Pulling fs layer [2022-07-12T21:41:16.500Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T21:41:16.500Z] 2f39f015ded8: Pulling fs layer [2022-07-12T21:41:16.500Z] 3a2ae6a8a46f: Waiting [2022-07-12T21:41:16.500Z] 33b1e0a273af: Waiting [2022-07-12T21:41:16.500Z] 2f39f015ded8: Waiting [2022-07-12T21:41:16.500Z] 5d3b04190fa2: Waiting [2022-07-12T21:41:16.500Z] 5c69ac0246d0: Verifying Checksum [2022-07-12T21:41:16.500Z] 5c69ac0246d0: Download complete [2022-07-12T21:41:16.500Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T21:41:16.500Z] 3a2ae6a8a46f: Download complete [2022-07-12T21:41:16.500Z] 33b1e0a273af: Verifying Checksum [2022-07-12T21:41:16.500Z] 33b1e0a273af: Download complete [2022-07-12T21:41:16.500Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T21:41:16.500Z] 5d3b04190fa2: Download complete [2022-07-12T21:41:16.500Z] ec43610c2a17: Verifying Checksum [2022-07-12T21:41:16.500Z] ec43610c2a17: Download complete [2022-07-12T21:41:16.760Z] 5eb5b503b376: Verifying Checksum [2022-07-12T21:41:16.760Z] 5eb5b503b376: Download complete [2022-07-12T21:41:17.327Z] 2f39f015ded8: Download complete [2022-07-12T21:41:18.266Z] 5eb5b503b376: Pull complete [2022-07-12T21:41:18.266Z] 5c69ac0246d0: Pull complete [2022-07-12T21:41:18.836Z] ec43610c2a17: Pull complete [2022-07-12T21:41:18.836Z] 3a2ae6a8a46f: Pull complete [2022-07-12T21:41:19.095Z] 33b1e0a273af: Pull complete [2022-07-12T21:41:19.095Z] 5d3b04190fa2: Pull complete [2022-07-12T21:41:24.377Z] 2f39f015ded8: Pull complete [2022-07-12T21:41:24.377Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T21:41:24.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:41:24.377Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:41:24.467Z] prd-ubuntu20.04-docker-8c-8g-19769 does not seem to be running inside a container [2022-07-12T21:41:24.503Z] $ 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 [2022-07-12T21:41:26.302Z] $ docker top 2f66730876ef2223379462b9c5ee4a79dee013fda0b20c380f1d28817c3c9f2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:41:26.691Z] ---> job-cost.sh [2022-07-12T21:41:26.691Z] lf-activate-venv: SKIPPING [2022-07-12T21:41:26.691Z] INFO: No Stack... [2022-07-12T21:41:26.951Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T21:41:27.521Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T21:41:27.604Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19770 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-07-12T21:41:27.617Z] Running in /w/workspace/device-modbus-go/45 [Pipeline] { [Pipeline] checkout [2022-07-12T21:41:27.671Z] Selected Git installation does not exist. Using Default [2022-07-12T21:41:27.671Z] The recommended git tool is: NONE [2022-07-12T21:41:27.814Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-07-12T21:41:27.814Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T21:41:27.828Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-45-stack-cost] [2022-07-12T21:41:27.839Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-45-stack-cost] did not exist. Created. [2022-07-12T21:41:27.839Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T21:41:28.141Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T21:41:28.169Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T21:41:28.175Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T21:41:28.195Z] $ docker stop --time=1 2f66730876ef2223379462b9c5ee4a79dee013fda0b20c380f1d28817c3c9f2e [2022-07-12T21:41:29.374Z] $ docker rm -f 2f66730876ef2223379462b9c5ee4a79dee013fda0b20c380f1d28817c3c9f2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T21:41:34.466Z] using credential edgex-jenkins-ssh [2022-07-12T21:41:34.487Z] Cloning the remote Git repository [2022-07-12T21:41:34.550Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-07-12T21:41:34.651Z] > git init /w/workspace/device-modbus-go/45 # timeout=10 [2022-07-12T21:41:34.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-07-12T21:41:34.811Z] > git --version # timeout=10 [2022-07-12T21:41:34.842Z] > git --version # 'git version 2.25.1' [2022-07-12T21:41:34.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T21:41:34.917Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T21:41:36.072Z] Avoid second fetch [2022-07-12T21:41:36.073Z] Checking out Revision 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 (main) [2022-07-12T21:41:35.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-07-12T21:41:36.008Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T21:41:36.110Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T21:41:36.135Z] > git checkout -f 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 # timeout=10 [2022-07-12T21:41:40.610Z] Commit message: "build: Upgrade to Go 1.18 and optimize attribution script (#361)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T21:41:41.453Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T21:41:41.454Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T21:41:41.454Z] Dload Upload Total Spent Left Speed [2022-07-12T21:41:41.454Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-07-12T21:41:42.109Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T21:41:42.458Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T21:41:42.458Z] + sudo tee /etc/docker/daemon.new [2022-07-12T21:41:42.458Z] { [2022-07-12T21:41:42.458Z] "registry-mirrors": [ [2022-07-12T21:41:42.458Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T21:41:42.458Z] ], [2022-07-12T21:41:42.458Z] "bip": "10.250.0.254/24", [2022-07-12T21:41:42.458Z] "hosts": [ [2022-07-12T21:41:42.458Z] "tcp://0.0.0.0:5555", [2022-07-12T21:41:42.458Z] "unix:///var/run/docker.sock" [2022-07-12T21:41:42.458Z] ], [2022-07-12T21:41:42.458Z] "mtu": 1458, [2022-07-12T21:41:42.458Z] "selinux-enabled": true, [2022-07-12T21:41:42.458Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T21:41:42.458Z] } [Pipeline] sh [2022-07-12T21:41:42.811Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T21:41:43.235Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:42:01.573Z] provisioning config files... [2022-07-12T21:42:01.595Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/45@tmp/config6834168489641176958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:42:02.132Z] ---> docker-login.sh [2022-07-12T21:42:02.132Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:42:02.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:42:03.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:42:03.016Z] Configure a credential helper to remove this warning. See [2022-07-12T21:42:03.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:42:03.016Z] [2022-07-12T21:42:03.016Z] Login Succeeded [2022-07-12T21:42:03.016Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:42:03.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:42:03.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:42:03.569Z] Configure a credential helper to remove this warning. See [2022-07-12T21:42:03.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:42:03.569Z] [2022-07-12T21:42:03.569Z] Login Succeeded [2022-07-12T21:42:03.569Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:42:03.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:42:03.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:42:03.845Z] Configure a credential helper to remove this warning. See [2022-07-12T21:42:03.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:42:03.845Z] [2022-07-12T21:42:03.845Z] Login Succeeded [2022-07-12T21:42:03.845Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:42:04.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:42:04.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:42:04.453Z] Configure a credential helper to remove this warning. See [2022-07-12T21:42:04.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:42:04.453Z] [2022-07-12T21:42:04.453Z] Login Succeeded [2022-07-12T21:42:04.453Z] docker.io [2022-07-12T21:42:04.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:42:04.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:42:04.998Z] Configure a credential helper to remove this warning. See [2022-07-12T21:42:04.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:42:04.998Z] [2022-07-12T21:42:04.998Z] Login Succeeded [2022-07-12T21:42:04.998Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:42:05.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T21:42:05.256Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:42:05.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:42:05.280Z] ========================================================= [2022-07-12T21:42:05.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T21:42:05.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:42:05.652Z] + 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 . [2022-07-12T21:42:05.926Z] Sending build context to Docker daemon 3.142MB [2022-07-12T21:42:05.926Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:42:05.926Z] Step 2/10 : FROM ${BASE} AS builder [2022-07-12T21:42:06.201Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T21:42:06.201Z] b3c136eddcbf: Pulling fs layer [2022-07-12T21:42:06.201Z] c0a3192eca97: Pulling fs layer [2022-07-12T21:42:06.201Z] a050256f5b6f: Pulling fs layer [2022-07-12T21:42:06.201Z] 656be50a0ddc: Pulling fs layer [2022-07-12T21:42:06.201Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T21:42:06.201Z] 46d945488cbd: Pulling fs layer [2022-07-12T21:42:06.201Z] 8a5474983e97: Pulling fs layer [2022-07-12T21:42:06.201Z] 329c88fbcd65: Pulling fs layer [2022-07-12T21:42:06.201Z] 2bbca73fdf42: Waiting [2022-07-12T21:42:06.201Z] 46d945488cbd: Waiting [2022-07-12T21:42:06.201Z] 8a5474983e97: Waiting [2022-07-12T21:42:06.201Z] 329c88fbcd65: Waiting [2022-07-12T21:42:06.201Z] 656be50a0ddc: Waiting [2022-07-12T21:42:06.201Z] a050256f5b6f: Download complete [2022-07-12T21:42:06.201Z] c0a3192eca97: Verifying Checksum [2022-07-12T21:42:06.201Z] c0a3192eca97: Download complete [2022-07-12T21:42:06.201Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T21:42:06.201Z] 2bbca73fdf42: Download complete [2022-07-12T21:42:06.201Z] 46d945488cbd: Verifying Checksum [2022-07-12T21:42:06.201Z] 46d945488cbd: Download complete [2022-07-12T21:42:06.201Z] b3c136eddcbf: Download complete [2022-07-12T21:42:07.219Z] b3c136eddcbf: Pull complete [2022-07-12T21:42:07.219Z] 329c88fbcd65: Verifying Checksum [2022-07-12T21:42:07.219Z] 329c88fbcd65: Download complete [2022-07-12T21:42:07.836Z] c0a3192eca97: Pull complete [2022-07-12T21:42:08.111Z] a050256f5b6f: Pull complete [2022-07-12T21:42:08.711Z] 8a5474983e97: Verifying Checksum [2022-07-12T21:42:08.711Z] 8a5474983e97: Download complete [2022-07-12T21:42:08.983Z] 656be50a0ddc: Verifying Checksum [2022-07-12T21:42:08.983Z] 656be50a0ddc: Download complete [2022-07-12T21:42:21.387Z] 656be50a0ddc: Pull complete [2022-07-12T21:42:21.387Z] 2bbca73fdf42: Pull complete [2022-07-12T21:42:21.387Z] 46d945488cbd: Pull complete [2022-07-12T21:42:28.122Z] 8a5474983e97: Pull complete [2022-07-12T21:42:29.563Z] 329c88fbcd65: Pull complete [2022-07-12T21:42:29.563Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T21:42:29.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T21:42:29.563Z] ---> ff4287adb874 [2022-07-12T21:42:29.563Z] Step 3/10 : ARG MAKE='make build' [2022-07-12T21:42:31.554Z] ---> Running in 28e50533d06e [2022-07-12T21:42:31.554Z] Removing intermediate container 28e50533d06e [2022-07-12T21:42:31.554Z] ---> ee4656786c6c [2022-07-12T21:42:31.554Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:42:31.827Z] ---> Running in 90f5e16a2f1e [2022-07-12T21:42:33.804Z] Removing intermediate container 90f5e16a2f1e [2022-07-12T21:42:33.804Z] ---> 44ddb4a9036d [2022-07-12T21:42:33.804Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-12T21:42:33.804Z] ---> Running in 848acc701eec [2022-07-12T21:42:34.786Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:42:35.764Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:42:36.362Z] (1/8) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T21:42:36.362Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-07-12T21:42:36.637Z] (3/8) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T21:42:36.637Z] (4/8) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T21:42:36.913Z] (5/8) Installing openssh-sftp-server (9.0_p1-r1) [2022-07-12T21:42:36.913Z] (6/8) Installing openssh-server-common (9.0_p1-r1) [2022-07-12T21:42:37.199Z] (7/8) Installing openssh-server (9.0_p1-r1) [2022-07-12T21:42:37.199Z] (8/8) Installing openssh (9.0_p1-r1) [2022-07-12T21:42:37.199Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:42:37.477Z] OK: 228 MiB in 59 packages [2022-07-12T21:42:38.916Z] Removing intermediate container 848acc701eec [2022-07-12T21:42:38.916Z] ---> bd17ac10947d [2022-07-12T21:42:38.916Z] Step 6/10 : WORKDIR /device-modbus-go [2022-07-12T21:42:38.916Z] ---> Running in 3a0016850683 [2022-07-12T21:42:39.198Z] Removing intermediate container 3a0016850683 [2022-07-12T21:42:39.198Z] ---> 3bd0290773af [2022-07-12T21:42:39.198Z] Step 7/10 : COPY go.mod vendor* ./ [2022-07-12T21:42:39.808Z] ---> 5e375a11776f [2022-07-12T21:42:39.808Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:42:39.808Z] ---> Running in 1b7f0c7dac1d [2022-07-12T21:43:26.819Z] Removing intermediate container 1b7f0c7dac1d [2022-07-12T21:43:26.819Z] ---> ee340f1fd725 [2022-07-12T21:43:26.819Z] Step 9/10 : COPY . . [2022-07-12T21:43:26.819Z] ---> 7d61c1f6b539 [2022-07-12T21:43:26.819Z] Step 10/10 : RUN ${MAKE} [2022-07-12T21:43:26.819Z] ---> Running in 99da55530c5b [2022-07-12T21:43:26.819Z] noop [2022-07-12T21:43:26.819Z] Removing intermediate container 99da55530c5b [2022-07-12T21:43:26.819Z] ---> 6afce536ce76 [2022-07-12T21:43:26.819Z] Successfully built 6afce536ce76 [2022-07-12T21:43:26.819Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:43:27.182Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T21:43:27.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:43:27.431Z] prd-ubuntu20.04-docker-arm64-4c-16g-19770 does not seem to be running inside a container [2022-07-12T21:43:27.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@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 [2022-07-12T21:43:28.842Z] $ docker top f96a960c77def70e01f388e342349c4e2d07552d4b0c3669e8ee3eadb95b8043 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:43:29.743Z] + go version [2022-07-12T21:43:29.743Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T21:43:29.771Z] $ docker stop --time=1 f96a960c77def70e01f388e342349c4e2d07552d4b0c3669e8ee3eadb95b8043 [2022-07-12T21:43:31.385Z] $ docker rm -f f96a960c77def70e01f388e342349c4e2d07552d4b0c3669e8ee3eadb95b8043 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:43:31.964Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T21:43:31.964Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:43:32.189Z] prd-ubuntu20.04-docker-arm64-4c-16g-19770 does not seem to be running inside a container [2022-07-12T21:43:32.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-modbus-go/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@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 [2022-07-12T21:43:33.434Z] $ docker top 1b31d3a7cdbe4590460dc40f89864429a66ffd1869397c7b2537199db9cc2ae5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:43:34.326Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/45 [Pipeline] fileExists [Pipeline] sh [2022-07-12T21:43:34.994Z] + make test [2022-07-12T21:43:34.994Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-12T21:43:36.431Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-07-12T21:45:13.365Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-07-12T21:45:13.366Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 46.4% of statements [2022-07-12T21:45:13.366Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T21:45:13.366Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T21:45:25.818Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T21:45:25.818Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T21:45:25.818Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T21:45:25.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T21:45:25.857Z] $ docker stop --time=1 1b31d3a7cdbe4590460dc40f89864429a66ffd1869397c7b2537199db9cc2ae5 [2022-07-12T21:45:27.717Z] $ docker rm -f 1b31d3a7cdbe4590460dc40f89864429a66ffd1869397c7b2537199db9cc2ae5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:45:28.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T21:45:28.797Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T21:45:29.319Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T21:45:29.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T21:45:30.049Z] + ls -al . [2022-07-12T21:45:30.049Z] total 180 [2022-07-12T21:45:30.049Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 21:43 . [2022-07-12T21:45:30.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:41 .. [2022-07-12T21:45:30.049Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 21:41 .dockerignore [2022-07-12T21:45:30.049Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:41 .git [2022-07-12T21:45:30.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:41 .github [2022-07-12T21:45:30.049Z] -rw-rw-r-- 1 jenkins jenkins 331 Jul 12 21:41 .gitignore [2022-07-12T21:45:30.049Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 21:41 .golangci.yml [2022-07-12T21:45:30.049Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jul 12 21:41 Attribution.txt [2022-07-12T21:45:30.049Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jul 12 21:41 CHANGELOG.md [2022-07-12T21:45:30.049Z] -rw-rw-r-- 1 jenkins jenkins 1550 Jul 12 21:41 Dockerfile [2022-07-12T21:45:30.049Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 21:41 GOVERNANCE.md [2022-07-12T21:45:30.050Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 21:41 Jenkinsfile [2022-07-12T21:45:30.050Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 21:41 LICENSE [2022-07-12T21:45:30.050Z] -rw-rw-r-- 1 jenkins jenkins 1892 Jul 12 21:41 Makefile [2022-07-12T21:45:30.050Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 12 21:41 OWNERS.md [2022-07-12T21:45:30.050Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jul 12 21:41 README.md [2022-07-12T21:45:30.050Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 21:39 VERSION [2022-07-12T21:45:30.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:41 bin [2022-07-12T21:45:30.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:41 cmd [2022-07-12T21:45:30.050Z] -rw-r--r-- 1 jenkins jenkins 24065 Jul 12 21:45 coverage.out [2022-07-12T21:45:30.050Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jul 12 21:41 go.mod [2022-07-12T21:45:30.050Z] -rw-rw-r-- 1 jenkins jenkins 35446 Jul 12 21:41 go.sum [2022-07-12T21:45:30.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:41 internal [2022-07-12T21:45:30.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:41 simulator [2022-07-12T21:45:30.050Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:41 snap [2022-07-12T21:45:30.050Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 12 21:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:45:30.409Z] + 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=973905656be17c6e9e554d1e17f1b70e8c1dc5a7 --label arch=arm64 --label version=2.2.1-dev.6 . [2022-07-12T21:45:30.681Z] Sending build context to Docker daemon 3.167MB [2022-07-12T21:45:30.681Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:45:30.681Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-12T21:45:30.681Z] ---> 6afce536ce76 [2022-07-12T21:45:30.681Z] Step 3/23 : ARG MAKE='make build' [2022-07-12T21:45:30.955Z] ---> Running in 152240ac26e8 [2022-07-12T21:45:31.243Z] Removing intermediate container 152240ac26e8 [2022-07-12T21:45:31.243Z] ---> 2b0a999cb290 [2022-07-12T21:45:31.243Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:45:31.243Z] ---> Running in 294a1066b49d [2022-07-12T21:45:33.227Z] Removing intermediate container 294a1066b49d [2022-07-12T21:45:33.228Z] ---> cbd0243ef58f [2022-07-12T21:45:33.228Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-12T21:45:33.228Z] ---> Running in 59c134d1e51c [2022-07-12T21:45:34.215Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:45:35.205Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:45:36.181Z] OK: 228 MiB in 59 packages [2022-07-12T21:45:36.779Z] Removing intermediate container 59c134d1e51c [2022-07-12T21:45:36.779Z] ---> 0c896638474e [2022-07-12T21:45:36.779Z] Step 6/23 : WORKDIR /device-modbus-go [2022-07-12T21:45:37.051Z] ---> Running in 1205030c172f [2022-07-12T21:45:37.327Z] Removing intermediate container 1205030c172f [2022-07-12T21:45:37.327Z] ---> d4fd53a5d1b0 [2022-07-12T21:45:37.327Z] Step 7/23 : COPY go.mod vendor* ./ [2022-07-12T21:45:37.925Z] ---> 12b90581ffc9 [2022-07-12T21:45:37.925Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:45:37.925Z] ---> Running in ec4f7d3e5aad [2022-07-12T21:45:39.909Z] Removing intermediate container ec4f7d3e5aad [2022-07-12T21:45:39.909Z] ---> 6e85abef1271 [2022-07-12T21:45:39.909Z] Step 9/23 : COPY . . [2022-07-12T21:45:40.896Z] ---> 8ceacb9c965a [2022-07-12T21:45:40.896Z] Step 10/23 : RUN ${MAKE} [2022-07-12T21:45:40.896Z] ---> Running in abcd351fda17 [2022-07-12T21:45:41.884Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-07-12T21:48:03.872Z] Removing intermediate container abcd351fda17 [2022-07-12T21:48:03.872Z] ---> 0974bd5b9a21 [2022-07-12T21:48:03.872Z] Step 11/23 : FROM alpine:3.14 [2022-07-12T21:48:03.872Z] 3.14: Pulling from library/alpine [2022-07-12T21:48:03.872Z] 455c02918c45: Pulling fs layer [2022-07-12T21:48:03.872Z] 455c02918c45: Verifying Checksum [2022-07-12T21:48:03.872Z] 455c02918c45: Download complete [2022-07-12T21:48:03.872Z] 455c02918c45: Pull complete [2022-07-12T21:48:03.872Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-12T21:48:03.872Z] Status: Downloaded newer image for alpine:3.14 [2022-07-12T21:48:03.872Z] ---> ac73e934f311 [2022-07-12T21:48:03.872Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-07-12T21:48:04.156Z] ---> Running in b1d4d9b0a4d1 [2022-07-12T21:48:04.434Z] Removing intermediate container b1d4d9b0a4d1 [2022-07-12T21:48:04.434Z] ---> 6879b83f248b [2022-07-12T21:48:04.434Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:48:04.434Z] ---> Running in bc75f97c295b [2022-07-12T21:48:06.420Z] Removing intermediate container bc75f97c295b [2022-07-12T21:48:06.420Z] ---> 070a7a1f0100 [2022-07-12T21:48:06.420Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T21:48:06.420Z] ---> Running in 1b9751099783 [2022-07-12T21:48:07.406Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:48:08.004Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:48:08.987Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T21:48:08.987Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-12T21:48:09.260Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T21:48:09.260Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-12T21:48:09.537Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T21:48:09.537Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T21:48:09.537Z] Executing busybox-1.33.1-r7.trigger [2022-07-12T21:48:09.537Z] OK: 8 MiB in 20 packages [2022-07-12T21:48:10.530Z] Removing intermediate container 1b9751099783 [2022-07-12T21:48:10.530Z] ---> e248a3bb7482 [2022-07-12T21:48:10.530Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-07-12T21:48:11.979Z] ---> 406d91c7b975 [2022-07-12T21:48:11.979Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-07-12T21:48:12.591Z] ---> 2c074649bc90 [2022-07-12T21:48:12.591Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-07-12T21:48:13.191Z] ---> 839c186d8a68 [2022-07-12T21:48:13.191Z] Step 18/23 : EXPOSE 59901 [2022-07-12T21:48:13.191Z] ---> Running in 9d6eb8c6c9f9 [2022-07-12T21:48:13.467Z] Removing intermediate container 9d6eb8c6c9f9 [2022-07-12T21:48:13.467Z] ---> e6f48ff012c0 [2022-07-12T21:48:13.467Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-07-12T21:48:13.467Z] ---> Running in cf1d9579a74d [2022-07-12T21:48:13.744Z] Removing intermediate container cf1d9579a74d [2022-07-12T21:48:13.744Z] ---> 8cddbe931553 [2022-07-12T21:48:13.744Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T21:48:14.020Z] ---> Running in c5936241e09f [2022-07-12T21:48:14.295Z] Removing intermediate container c5936241e09f [2022-07-12T21:48:14.295Z] ---> 0d37d5624623 [2022-07-12T21:48:14.295Z] Step 21/23 : LABEL arch=arm64 [2022-07-12T21:48:14.295Z] ---> Running in 220930f0abd2 [2022-07-12T21:48:14.580Z] Removing intermediate container 220930f0abd2 [2022-07-12T21:48:14.580Z] ---> 61769a2d204f [2022-07-12T21:48:14.580Z] Step 22/23 : LABEL git_sha=973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [2022-07-12T21:48:14.860Z] ---> Running in 0f4e43e5fe84 [2022-07-12T21:48:15.136Z] Removing intermediate container 0f4e43e5fe84 [2022-07-12T21:48:15.136Z] ---> adc1a6e885cc [2022-07-12T21:48:15.136Z] Step 23/23 : LABEL version=2.2.1-dev.6 [2022-07-12T21:48:15.136Z] ---> Running in 6b9e7b3b6504 [2022-07-12T21:48:15.412Z] Removing intermediate container 6b9e7b3b6504 [2022-07-12T21:48:15.412Z] ---> 75b02dfe14be [2022-07-12T21:48:15.412Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T21:48:15.412Z] Successfully built 75b02dfe14be [2022-07-12T21:48:15.412Z] 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 [2022-07-12T21:48:15.544Z] provisioning config files... [2022-07-12T21:48:15.565Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/45@tmp/config5760448342776107852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:48:15.931Z] ---> docker-login.sh [2022-07-12T21:48:15.931Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:48:16.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:48:16.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:48:16.209Z] Configure a credential helper to remove this warning. See [2022-07-12T21:48:16.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:48:16.209Z] [2022-07-12T21:48:16.209Z] Login Succeeded [2022-07-12T21:48:16.209Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:48:16.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:48:16.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:48:16.813Z] Configure a credential helper to remove this warning. See [2022-07-12T21:48:16.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:48:16.813Z] [2022-07-12T21:48:16.813Z] Login Succeeded [2022-07-12T21:48:16.813Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:48:17.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:48:17.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:48:17.370Z] Configure a credential helper to remove this warning. See [2022-07-12T21:48:17.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:48:17.370Z] [2022-07-12T21:48:17.370Z] Login Succeeded [2022-07-12T21:48:17.370Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:48:17.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:48:17.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:48:17.924Z] Configure a credential helper to remove this warning. See [2022-07-12T21:48:17.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:48:17.924Z] [2022-07-12T21:48:17.924Z] Login Succeeded [2022-07-12T21:48:17.924Z] docker.io [2022-07-12T21:48:18.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:48:18.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:48:18.798Z] Configure a credential helper to remove this warning. See [2022-07-12T21:48:18.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:48:18.798Z] [2022-07-12T21:48:18.798Z] Login Succeeded [2022-07-12T21:48:18.798Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:48:18.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T21:48:18.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:48:18.876Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-07-12T21:48:18.876Z] 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [2022-07-12T21:48:18.876Z] latest [2022-07-12T21:48:18.876Z] 2.2.1-dev.6 [2022-07-12T21:48:18.876Z] 973905656be17c6e9e554d1e17f1b70e8c1dc5a7-2.2.1-dev.6 [2022-07-12T21:48:18.876Z] main [2022-07-12T21:48:18.876Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:19.253Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:19.624Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [2022-07-12T21:48:19.624Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-07-12T21:48:19.624Z] 3f73e0bfd12d: Preparing [2022-07-12T21:48:19.624Z] d1fee47374e6: Preparing [2022-07-12T21:48:19.624Z] 440f38fc2961: Preparing [2022-07-12T21:48:19.624Z] 6a6fd746c416: Preparing [2022-07-12T21:48:19.624Z] 748843ac81be: Preparing [2022-07-12T21:48:19.624Z] f73e7dbfee58: Preparing [2022-07-12T21:48:19.624Z] f73e7dbfee58: Waiting [2022-07-12T21:48:19.900Z] 3f73e0bfd12d: Pushed [2022-07-12T21:48:19.900Z] 748843ac81be: Pushed [2022-07-12T21:48:19.900Z] d1fee47374e6: Pushed [2022-07-12T21:48:19.900Z] f73e7dbfee58: Layer already exists [2022-07-12T21:48:20.500Z] 6a6fd746c416: Pushed [2022-07-12T21:48:25.912Z] 440f38fc2961: Pushed [2022-07-12T21:48:25.912Z] 973905656be17c6e9e554d1e17f1b70e8c1dc5a7: digest: sha256:5137e617b6e1e36386f008d22521da567381f8a1fbad0bbf679d43bf31acd043 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:26.301Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:26.671Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-07-12T21:48:26.671Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-07-12T21:48:26.671Z] 3f73e0bfd12d: Preparing [2022-07-12T21:48:26.671Z] d1fee47374e6: Preparing [2022-07-12T21:48:26.671Z] 440f38fc2961: Preparing [2022-07-12T21:48:26.671Z] 6a6fd746c416: Preparing [2022-07-12T21:48:26.671Z] 748843ac81be: Preparing [2022-07-12T21:48:26.671Z] f73e7dbfee58: Preparing [2022-07-12T21:48:26.671Z] f73e7dbfee58: Waiting [2022-07-12T21:48:26.671Z] d1fee47374e6: Layer already exists [2022-07-12T21:48:26.671Z] 3f73e0bfd12d: Layer already exists [2022-07-12T21:48:26.671Z] 440f38fc2961: Layer already exists [2022-07-12T21:48:26.671Z] 748843ac81be: Layer already exists [2022-07-12T21:48:26.671Z] 6a6fd746c416: Layer already exists [2022-07-12T21:48:26.944Z] f73e7dbfee58: Layer already exists [2022-07-12T21:48:26.944Z] latest: digest: sha256:5137e617b6e1e36386f008d22521da567381f8a1fbad0bbf679d43bf31acd043 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:27.315Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:27.695Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.6 [2022-07-12T21:48:27.695Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-07-12T21:48:27.695Z] 3f73e0bfd12d: Preparing [2022-07-12T21:48:27.695Z] d1fee47374e6: Preparing [2022-07-12T21:48:27.695Z] 440f38fc2961: Preparing [2022-07-12T21:48:27.695Z] 6a6fd746c416: Preparing [2022-07-12T21:48:27.695Z] 748843ac81be: Preparing [2022-07-12T21:48:27.695Z] f73e7dbfee58: Preparing [2022-07-12T21:48:27.695Z] f73e7dbfee58: Waiting [2022-07-12T21:48:27.695Z] 6a6fd746c416: Layer already exists [2022-07-12T21:48:27.695Z] 3f73e0bfd12d: Layer already exists [2022-07-12T21:48:27.695Z] 748843ac81be: Layer already exists [2022-07-12T21:48:27.695Z] d1fee47374e6: Layer already exists [2022-07-12T21:48:27.695Z] 440f38fc2961: Layer already exists [2022-07-12T21:48:27.971Z] f73e7dbfee58: Layer already exists [2022-07-12T21:48:27.971Z] 2.2.1-dev.6: digest: sha256:5137e617b6e1e36386f008d22521da567381f8a1fbad0bbf679d43bf31acd043 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:28.352Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:973905656be17c6e9e554d1e17f1b70e8c1dc5a7-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:28.724Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:973905656be17c6e9e554d1e17f1b70e8c1dc5a7-2.2.1-dev.6 [2022-07-12T21:48:28.724Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-07-12T21:48:28.724Z] 3f73e0bfd12d: Preparing [2022-07-12T21:48:28.724Z] d1fee47374e6: Preparing [2022-07-12T21:48:28.724Z] 440f38fc2961: Preparing [2022-07-12T21:48:28.724Z] 6a6fd746c416: Preparing [2022-07-12T21:48:28.724Z] 748843ac81be: Preparing [2022-07-12T21:48:28.724Z] f73e7dbfee58: Preparing [2022-07-12T21:48:28.724Z] f73e7dbfee58: Waiting [2022-07-12T21:48:28.724Z] d1fee47374e6: Layer already exists [2022-07-12T21:48:28.724Z] 440f38fc2961: Layer already exists [2022-07-12T21:48:28.724Z] 6a6fd746c416: Layer already exists [2022-07-12T21:48:28.724Z] 3f73e0bfd12d: Layer already exists [2022-07-12T21:48:28.724Z] 748843ac81be: Layer already exists [2022-07-12T21:48:28.724Z] f73e7dbfee58: Layer already exists [2022-07-12T21:48:28.998Z] 973905656be17c6e9e554d1e17f1b70e8c1dc5a7-2.2.1-dev.6: digest: sha256:5137e617b6e1e36386f008d22521da567381f8a1fbad0bbf679d43bf31acd043 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:29.379Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:29.758Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-07-12T21:48:29.758Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-07-12T21:48:29.758Z] 3f73e0bfd12d: Preparing [2022-07-12T21:48:29.758Z] d1fee47374e6: Preparing [2022-07-12T21:48:29.758Z] 440f38fc2961: Preparing [2022-07-12T21:48:29.758Z] 6a6fd746c416: Preparing [2022-07-12T21:48:29.758Z] 748843ac81be: Preparing [2022-07-12T21:48:29.758Z] f73e7dbfee58: Preparing [2022-07-12T21:48:29.758Z] f73e7dbfee58: Waiting [2022-07-12T21:48:29.758Z] 3f73e0bfd12d: Layer already exists [2022-07-12T21:48:29.758Z] 6a6fd746c416: Layer already exists [2022-07-12T21:48:29.758Z] d1fee47374e6: Layer already exists [2022-07-12T21:48:29.758Z] 748843ac81be: Layer already exists [2022-07-12T21:48:29.758Z] 440f38fc2961: Layer already exists [2022-07-12T21:48:30.031Z] f73e7dbfee58: Layer already exists [2022-07-12T21:48:30.031Z] main: digest: sha256:5137e617b6e1e36386f008d22521da567381f8a1fbad0bbf679d43bf31acd043 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T21:48:30.099Z] ===================================================== [Pipeline] echo [2022-07-12T21:48:30.112Z] taggedImages: [2022-07-12T21:48:30.112Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [2022-07-12T21:48:30.112Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-07-12T21:48:30.112Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.6 [2022-07-12T21:48:30.112Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:973905656be17c6e9e554d1e17f1b70e8c1dc5a7-2.2.1-dev.6 [2022-07-12T21:48:30.112Z] - 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 [2022-07-12T21:48:30.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:48:30.488Z] [2022-07-12T21:48:30.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:30.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:48:31.120Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T21:48:31.120Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T21:48:31.120Z] 04944245beec: Pulling fs layer [2022-07-12T21:48:31.120Z] 699f458cf7ca: Pulling fs layer [2022-07-12T21:48:31.120Z] 765212b225bb: Pulling fs layer [2022-07-12T21:48:31.120Z] f23df028b6ca: Pulling fs layer [2022-07-12T21:48:31.120Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T21:48:31.120Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T21:48:31.120Z] 765212b225bb: Waiting [2022-07-12T21:48:31.120Z] f23df028b6ca: Waiting [2022-07-12T21:48:31.120Z] 2437ff75d9bd: Waiting [2022-07-12T21:48:31.120Z] d65c8cfc05b1: Waiting [2022-07-12T21:48:31.120Z] 04944245beec: Verifying Checksum [2022-07-12T21:48:31.120Z] 04944245beec: Download complete [2022-07-12T21:48:31.120Z] 765212b225bb: Download complete [2022-07-12T21:48:31.120Z] f23df028b6ca: Download complete [2022-07-12T21:48:31.120Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T21:48:31.120Z] d65c8cfc05b1: Download complete [2022-07-12T21:48:31.398Z] 699f458cf7ca: Download complete [2022-07-12T21:48:31.672Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T21:48:31.672Z] 8998bd30e6a1: Download complete [2022-07-12T21:48:34.312Z] 2437ff75d9bd: Download complete [2022-07-12T21:48:36.288Z] 8998bd30e6a1: Pull complete [2022-07-12T21:48:36.562Z] 04944245beec: Pull complete [2022-07-12T21:48:37.994Z] 699f458cf7ca: Pull complete [2022-07-12T21:48:38.265Z] 765212b225bb: Pull complete [2022-07-12T21:48:39.248Z] f23df028b6ca: Pull complete [2022-07-12T21:48:39.524Z] d65c8cfc05b1: Pull complete [2022-07-12T21:48:54.642Z] 2437ff75d9bd: Pull complete [2022-07-12T21:48:54.642Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T21:48:54.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:48:54.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:48:54.937Z] prd-ubuntu20.04-docker-arm64-4c-16g-19770 does not seem to be running inside a container [2022-07-12T21:48:55.034Z] $ 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/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@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 [2022-07-12T21:48:58.004Z] $ docker top eb8f2f706b1cf9619e3b4ac6ba982d20487cfdfd226b4e6ff884c20067e9713b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:48:58.951Z] ---> job-cost.sh [2022-07-12T21:48:58.951Z] lf-activate-venv: SKIPPING [2022-07-12T21:48:58.951Z] INFO: No Stack... [2022-07-12T21:48:59.550Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T21:49:00.534Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T21:49:01.216Z] + cat /w/workspace/device-modbus-go/45/archives/cost.csv [2022-07-12T21:49:01.216Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T21:49:01.292Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-45-stack-cost] [2022-07-12T21:49:01.298Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-45-stack-cost] did not exist. Created. [2022-07-12T21:49:01.298Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T21:49:01.978Z] /w/workspace/device-modbus-go/45@tmp/durable-06a5a1e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T21:49:02.728Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T21:49:02.764Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T21:49:02.832Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T21:49:02.844Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T21:49:02.874Z] $ docker stop --time=1 eb8f2f706b1cf9619e3b4ac6ba982d20487cfdfd226b4e6ff884c20067e9713b [2022-07-12T21:49:04.472Z] $ docker rm -f eb8f2f706b1cf9619e3b4ac6ba982d20487cfdfd226b4e6ff884c20067e9713b [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 [2022-07-12T21:49:04.961Z] provisioning config files... [2022-07-12T21:49:04.969Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3087059239036132378tmp [Pipeline] { [Pipeline] sh [2022-07-12T21:49:05.261Z] + set +x [2022-07-12T21:49:05.261Z] + + curl -s https://codecov.io/bashbash [2022-07-12T21:49:05.261Z] -s -- [2022-07-12T21:49:05.261Z] [2022-07-12T21:49:05.261Z] _____ _ [2022-07-12T21:49:05.261Z] / ____| | | [2022-07-12T21:49:05.261Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T21:49:05.261Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T21:49:05.261Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T21:49:05.261Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T21:49:05.261Z] Bash-1.0.6 [2022-07-12T21:49:05.261Z] [2022-07-12T21:49:05.261Z] [2022-07-12T21:49:05.261Z] ==> git version 2.25.1 found [2022-07-12T21:49:05.261Z] ==> 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 [2022-07-12T21:49:05.261Z] Release-Date: 2020-01-08 [2022-07-12T21:49:05.261Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-12T21:49:05.261Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T21:49:05.261Z] ==> Jenkins CI detected. [2022-07-12T21:49:05.261Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-07-12T21:49:05.261Z] project root: . [2022-07-12T21:49:05.261Z] --> token set from env [2022-07-12T21:49:05.261Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T21:49:05.261Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T21:49:05.261Z] ==> Python coveragepy not found [2022-07-12T21:49:05.261Z] ==> Searching for coverage reports in: [2022-07-12T21:49:05.261Z] + . [2022-07-12T21:49:05.261Z] -> Found 1 reports [2022-07-12T21:49:05.261Z] ==> Detecting git/mercurial file structure [2022-07-12T21:49:05.261Z] ==> Reading reports [2022-07-12T21:49:05.523Z] + ./coverage.out bytes=24065 [2022-07-12T21:49:05.523Z] ==> Appending adjustments [2022-07-12T21:49:05.523Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T21:49:05.523Z] + Found adjustments [2022-07-12T21:49:05.523Z] ==> Gzipping contents [2022-07-12T21:49:05.523Z] 4.0K /tmp/codecov.guFEKr.gz [2022-07-12T21:49:05.523Z] ==> Uploading reports [2022-07-12T21:49:05.523Z] url: https://codecov.io [2022-07-12T21:49:05.523Z] query: branch=main&commit=973905656be17c6e9e554d1e17f1b70e8c1dc5a7&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-12T21:49:05.523Z] -> Pinging Codecov [2022-07-12T21:49:05.523Z] 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=973905656be17c6e9e554d1e17f1b70e8c1dc5a7&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-12T21:49:05.785Z] -> Uploading to [2022-07-12T21:49:05.785Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/55DBCA73C666E3227836607328DD7E49/973905656be17c6e9e554d1e17f1b70e8c1dc5a7/d54df883-e95e-4b66-820e-23777bbe6306.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T214905Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3865d2464ad093726b1646e8123b60aae423de6767e609f72463992bf699d0d [2022-07-12T21:49:05.785Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T21:49:05.785Z] Dload Upload Total Spent Left Speed [2022-07-12T21:49:06.046Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4012 0 0 100 4012 0 10313 --:--:-- --:--:-- --:--:-- 10313 [2022-07-12T21:49:06.306Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [Pipeline] } [2022-07-12T21:49:06.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-12T21:49:06.501Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-12T21:49:06.510Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:49:06.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T21:49:06.810Z] [2022-07-12T21:49:06.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:49:07.110Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T21:49:07.110Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-12T21:49:07.110Z] df9b9388f04a: Pulling fs layer [2022-07-12T21:49:07.110Z] 52dc419b0ee2: Pulling fs layer [2022-07-12T21:49:07.110Z] 25bc292e5bac: Pulling fs layer [2022-07-12T21:49:07.110Z] 114826534d7a: Pulling fs layer [2022-07-12T21:49:07.110Z] 4657fd5d0bcf: Pulling fs layer [2022-07-12T21:49:07.110Z] 6ad1cebc031e: Pulling fs layer [2022-07-12T21:49:07.110Z] 8a3aa393b2d8: Pulling fs layer [2022-07-12T21:49:07.110Z] 114826534d7a: Waiting [2022-07-12T21:49:07.110Z] 4657fd5d0bcf: Waiting [2022-07-12T21:49:07.110Z] 8a3aa393b2d8: Waiting [2022-07-12T21:49:07.110Z] 6ad1cebc031e: Waiting [2022-07-12T21:49:07.110Z] 25bc292e5bac: Verifying Checksum [2022-07-12T21:49:07.110Z] 25bc292e5bac: Download complete [2022-07-12T21:49:07.110Z] 52dc419b0ee2: Verifying Checksum [2022-07-12T21:49:07.110Z] 52dc419b0ee2: Download complete [2022-07-12T21:49:07.110Z] 4657fd5d0bcf: Download complete [2022-07-12T21:49:07.110Z] df9b9388f04a: Download complete [2022-07-12T21:49:07.370Z] 6ad1cebc031e: Verifying Checksum [2022-07-12T21:49:07.370Z] 6ad1cebc031e: Download complete [2022-07-12T21:49:07.370Z] df9b9388f04a: Pull complete [2022-07-12T21:49:07.370Z] 52dc419b0ee2: Pull complete [2022-07-12T21:49:07.630Z] 25bc292e5bac: Pull complete [2022-07-12T21:49:07.888Z] 114826534d7a: Verifying Checksum [2022-07-12T21:49:07.888Z] 114826534d7a: Download complete [2022-07-12T21:49:07.888Z] 8a3aa393b2d8: Verifying Checksum [2022-07-12T21:49:07.888Z] 8a3aa393b2d8: Download complete [2022-07-12T21:49:12.079Z] 114826534d7a: Pull complete [2022-07-12T21:49:12.079Z] 4657fd5d0bcf: Pull complete [2022-07-12T21:49:12.079Z] 6ad1cebc031e: Pull complete [2022-07-12T21:49:15.364Z] 8a3aa393b2d8: Pull complete [2022-07-12T21:49:15.364Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-12T21:49:15.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T21:49:15.364Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:49:15.458Z] prd-ubuntu20.04-docker-8c-8g-19769 does not seem to be running inside a container [2022-07-12T21:49:15.499Z] $ 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 [2022-07-12T21:49:17.685Z] $ docker top acad3eac9b68e8d2305d0be9ccc3be2dba902d366b0773bfed5ab571f2b80c65 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-12T21:49:17.765Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-07-12T21:49:18.044Z] + set -o pipefail [2022-07-12T21:49:18.044Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-07-12T21:49:23.319Z] [2022-07-12T21:49:23.319Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-07-12T21:49:23.319Z] [2022-07-12T21:49:23.319Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/08234b3d-90b0-4721-ac77-dce98fd812b5 [2022-07-12T21:49:23.319Z] [2022-07-12T21:49:23.319Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-07-12T21:49:23.319Z] [2022-07-12T21:49:23.319Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-12T21:49:23.319Z] [2022-07-12T21:49:23.319Z] [2022-07-12T21:49:23.319Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-07-12T21:49:23.319Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-07-12T21:49:23.334Z] $ docker stop --time=1 acad3eac9b68e8d2305d0be9ccc3be2dba902d366b0773bfed5ab571f2b80c65 [2022-07-12T21:49:25.620Z] $ docker rm -f acad3eac9b68e8d2305d0be9ccc3be2dba902d366b0773bfed5ab571f2b80c65 [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 [2022-07-12T21:49:26.333Z] + git log --format=format:%s -1 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 [Pipeline] sh [2022-07-12T21:49:26.626Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T21:49:26.626Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:49:26.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:49:26.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:49:27.079Z] prd-ubuntu20.04-docker-8c-8g-19769 does not seem to be running inside a container [2022-07-12T21:49:27.109Z] $ 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 [2022-07-12T21:49:27.536Z] $ docker top 04a1df7536f48cbf180401ee461387e033eb38a0b2594244a28bde577f64d010 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T21:49:27.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:49:27.632Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:49:27.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:49:27.773Z] $ docker exec 04a1df7536f48cbf180401ee461387e033eb38a0b2594244a28bde577f64d010 ssh-agent [2022-07-12T21:49:27.899Z] SSH_AUTH_SOCK=/tmp/ssh-bJuQHrsScz1D/agent.32 [2022-07-12T21:49:27.899Z] SSH_AGENT_PID=39 [2022-07-12T21:49:27.904Z] Running ssh-add (command line suppressed) [2022-07-12T21:49:28.014Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3288191510425585034.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3288191510425585034.key) [2022-07-12T21:49:28.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:49:28.319Z] + git semver tag [2022-07-12T21:49:28.580Z] 2022-07-12 21:49:28,518 [run_tag] DEBUG tag force:False [2022-07-12T21:49:28.580Z] 2022-07-12 21:49:28,518 [check_head_tag] DEBUG check head tag [2022-07-12T21:49:28.580Z] 2022-07-12 21:49:28,519 [execute] INFO git cat-file --batch-check [2022-07-12T21:49:28.580Z] 2022-07-12 21:49:28,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-07-12T21:49:28.580Z] 2022-07-12 21:49:28,523 [execute] INFO git cat-file --batch [2022-07-12T21:49:28.580Z] 2022-07-12 21:49:28,524 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-07-12T21:49:28.580Z] 2022-07-12 21:49:28,535 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-12T21:49:28.580Z] 2022-07-12 21:49:28,535 [execute] INFO git tag -a v2.2.1-dev.6 -m v2.2.1-dev.6 [2022-07-12T21:49:28.580Z] 2022-07-12 21:49:28,535 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.6', '-m', 'v2.2.1-dev.6'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T21:49:28.580Z] 2022-07-12 21:49:28,541 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-12T21:49:28.580Z] 2.2.1-dev.6 [Pipeline] } [2022-07-12T21:49:28.593Z] $ docker exec --env ******** --env ******** 04a1df7536f48cbf180401ee461387e033eb38a0b2594244a28bde577f64d010 ssh-agent -k [2022-07-12T21:49:28.711Z] unset SSH_AUTH_SOCK; [2022-07-12T21:49:28.712Z] unset SSH_AGENT_PID; [2022-07-12T21:49:28.712Z] echo Agent pid 39 killed; [2022-07-12T21:49:28.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T21:49:29.035Z] + git semver [Pipeline] } [2022-07-12T21:49:29.313Z] $ docker stop --time=1 04a1df7536f48cbf180401ee461387e033eb38a0b2594244a28bde577f64d010 [2022-07-12T21:49:30.643Z] $ docker rm -f 04a1df7536f48cbf180401ee461387e033eb38a0b2594244a28bde577f64d010 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:49:31.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T21:49:31.047Z] [2022-07-12T21:49:31.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:49:31.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T21:49:31.352Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-12T21:49:31.352Z] ab5ef0e58194: Pulling fs layer [2022-07-12T21:49:31.352Z] 9712f1f96733: Pulling fs layer [2022-07-12T21:49:31.352Z] 63f879dbbcfc: Pulling fs layer [2022-07-12T21:49:31.352Z] 0d9ebad4ef96: Pulling fs layer [2022-07-12T21:49:31.352Z] e9a5061849ea: Pulling fs layer [2022-07-12T21:49:31.352Z] d747dcd14b5f: Pulling fs layer [2022-07-12T21:49:31.352Z] 2de7ff778b66: Pulling fs layer [2022-07-12T21:49:31.352Z] 0d9ebad4ef96: Waiting [2022-07-12T21:49:31.352Z] e9a5061849ea: Waiting [2022-07-12T21:49:31.352Z] d747dcd14b5f: Waiting [2022-07-12T21:49:31.352Z] 2de7ff778b66: Waiting [2022-07-12T21:49:31.352Z] 9712f1f96733: Verifying Checksum [2022-07-12T21:49:31.352Z] 9712f1f96733: Download complete [2022-07-12T21:49:31.622Z] 63f879dbbcfc: Verifying Checksum [2022-07-12T21:49:31.622Z] 63f879dbbcfc: Download complete [2022-07-12T21:49:31.886Z] e9a5061849ea: Verifying Checksum [2022-07-12T21:49:31.886Z] e9a5061849ea: Download complete [2022-07-12T21:49:31.886Z] d747dcd14b5f: Verifying Checksum [2022-07-12T21:49:31.886Z] d747dcd14b5f: Download complete [2022-07-12T21:49:31.886Z] ab5ef0e58194: Verifying Checksum [2022-07-12T21:49:31.886Z] ab5ef0e58194: Download complete [2022-07-12T21:49:31.886Z] 2de7ff778b66: Verifying Checksum [2022-07-12T21:49:31.886Z] 2de7ff778b66: Download complete [2022-07-12T21:49:31.886Z] 0d9ebad4ef96: Verifying Checksum [2022-07-12T21:49:31.886Z] 0d9ebad4ef96: Download complete [2022-07-12T21:49:35.187Z] ab5ef0e58194: Pull complete [2022-07-12T21:49:35.187Z] 9712f1f96733: Pull complete [2022-07-12T21:49:35.756Z] 63f879dbbcfc: Pull complete [2022-07-12T21:49:39.953Z] 0d9ebad4ef96: Pull complete [2022-07-12T21:49:40.213Z] e9a5061849ea: Pull complete [2022-07-12T21:49:40.213Z] d747dcd14b5f: Pull complete [2022-07-12T21:49:41.591Z] 2de7ff778b66: Pull complete [2022-07-12T21:49:41.591Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-12T21:49:41.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T21:49:41.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:49:41.688Z] prd-ubuntu20.04-docker-8c-8g-19769 does not seem to be running inside a container [2022-07-12T21:49:41.721Z] $ 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 [2022-07-12T21:49:44.083Z] $ docker top 9015de58d67062bb0e7d4a85479bf64804f1bd2357e81fa5a5040406be9be15e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:49:44.173Z] provisioning config files... [2022-07-12T21:49:44.181Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3653617154933456226tmp [2022-07-12T21:49:44.193Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3599318960252829579tmp [2022-07-12T21:49:44.206Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4552947028173934730tmp [Pipeline] { [Pipeline] echo [2022-07-12T21:49:44.223Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:49:44.510Z] ---> sigul-configuration.sh [2022-07-12T21:49:44.510Z] gpg: directory `/root/.gnupg' created [2022-07-12T21:49:44.510Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-12T21:49:44.510Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-12T21:49:44.510Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-12T21:49:44.510Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-12T21:49:44.510Z] gpg: CAST5 encrypted data [2022-07-12T21:49:44.510Z] gpg: encrypted with 1 passphrase [2022-07-12T21:49:44.510Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-12T21:49:44.800Z] + mkdir /home/jenkins [2022-07-12T21:49:44.800Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-12T21:49:45.090Z] + 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 [2022-07-12T21:49:45.100Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:49:45.385Z] ---> sigul-install.sh [2022-07-12T21:49:45.385Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-12T21:49:45.675Z] + git tag --list [2022-07-12T21:49:45.675Z] 0.7.1 [2022-07-12T21:49:45.675Z] v1.0.0 [2022-07-12T21:49:45.675Z] v1.1.0 [2022-07-12T21:49:45.675Z] v1.1.1 [2022-07-12T21:49:45.675Z] v1.2.2 [2022-07-12T21:49:45.675Z] v1.3.0 [2022-07-12T21:49:45.675Z] v1.3.1 [2022-07-12T21:49:45.675Z] v2.0.0 [2022-07-12T21:49:45.675Z] v2.1.0 [2022-07-12T21:49:45.675Z] v2.1.1 [2022-07-12T21:49:45.675Z] v2.1.1-dev.1 [2022-07-12T21:49:45.675Z] v2.1.1-dev.2 [2022-07-12T21:49:45.675Z] v2.1.1-dev.3 [2022-07-12T21:49:45.675Z] v2.2.0 [2022-07-12T21:49:45.675Z] v2.2.1-dev.1 [2022-07-12T21:49:45.675Z] v2.2.1-dev.2 [2022-07-12T21:49:45.675Z] v2.2.1-dev.3 [2022-07-12T21:49:45.675Z] v2.2.1-dev.4 [2022-07-12T21:49:45.675Z] v2.2.1-dev.5 [2022-07-12T21:49:45.675Z] v2.2.1-dev.6 [Pipeline] sh [2022-07-12T21:49:45.966Z] + lftools sign git-tag v2.2.1-dev.6 [2022-07-12T21:49:46.537Z] Signing Git tag with Sigul... [2022-07-12T21:49:46.537Z] Signing v2.2.1-dev.6 [Pipeline] echo [2022-07-12T21:49:47.120Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:49:47.408Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-12T21:49:47.415Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-12T21:49:47.434Z] $ docker stop --time=1 9015de58d67062bb0e7d4a85479bf64804f1bd2357e81fa5a5040406be9be15e [2022-07-12T21:49:48.800Z] $ docker rm -f 9015de58d67062bb0e7d4a85479bf64804f1bd2357e81fa5a5040406be9be15e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-12T21:49:49.215Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T21:49:49.215Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:49:49.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:49:49.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:49:49.606Z] prd-ubuntu20.04-docker-8c-8g-19769 does not seem to be running inside a container [2022-07-12T21:49:49.643Z] $ 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 [2022-07-12T21:49:50.080Z] $ docker top 48fd22c7fafabf3c66c2d4edc64777fdfae7ea609af49c109de326c68e8ec652 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T21:49:50.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:49:50.175Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:49:50.306Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:49:50.311Z] $ docker exec 48fd22c7fafabf3c66c2d4edc64777fdfae7ea609af49c109de326c68e8ec652 ssh-agent [2022-07-12T21:49:50.433Z] SSH_AUTH_SOCK=/tmp/ssh-FzNE2BSYRfQn/agent.33 [2022-07-12T21:49:50.433Z] SSH_AGENT_PID=39 [2022-07-12T21:49:50.438Z] Running ssh-add (command line suppressed) [2022-07-12T21:49:50.579Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3276920093850833781.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3276920093850833781.key) [2022-07-12T21:49:50.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:49:50.881Z] + git semver bump pre [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,079 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,079 [bump_version] DEBUG bumping version:2.2.1-dev.6 on axis:pre with prefix:dev [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,079 [bump_version] DEBUG bumped version:2.2.1-dev.7 [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,080 [write_version] DEBUG write version:2.2.1-dev.7 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,080 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,080 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,081 [execute] INFO git cat-file --batch-check [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,088 [execute] INFO git cat-file --batch [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T21:49:51.142Z] 2022-07-12 21:49:51,094 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-12T21:49:51.142Z] 2.2.1-dev.7 [Pipeline] } [2022-07-12T21:49:51.155Z] $ docker exec --env ******** --env ******** 48fd22c7fafabf3c66c2d4edc64777fdfae7ea609af49c109de326c68e8ec652 ssh-agent -k [2022-07-12T21:49:51.263Z] unset SSH_AUTH_SOCK; [2022-07-12T21:49:51.264Z] unset SSH_AGENT_PID; [2022-07-12T21:49:51.265Z] echo Agent pid 39 killed; [2022-07-12T21:49:51.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T21:49:51.583Z] + git semver [Pipeline] } [2022-07-12T21:49:51.861Z] $ docker stop --time=1 48fd22c7fafabf3c66c2d4edc64777fdfae7ea609af49c109de326c68e8ec652 [2022-07-12T21:49:53.167Z] $ docker rm -f 48fd22c7fafabf3c66c2d4edc64777fdfae7ea609af49c109de326c68e8ec652 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:49:53.567Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T21:49:53.567Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:49:53.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:49:53.897Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:49:53.977Z] prd-ubuntu20.04-docker-8c-8g-19769 does not seem to be running inside a container [2022-07-12T21:49:54.014Z] $ 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 [2022-07-12T21:49:54.404Z] $ docker top aa8cec3de1b80f25e39d38727c514f2019a96f8e7c8aeae812f33fc35f975711 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T21:49:54.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:49:54.496Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:49:54.642Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:49:54.647Z] $ docker exec aa8cec3de1b80f25e39d38727c514f2019a96f8e7c8aeae812f33fc35f975711 ssh-agent [2022-07-12T21:49:54.770Z] SSH_AUTH_SOCK=/tmp/ssh-g6AgFomKPhJ9/agent.33 [2022-07-12T21:49:54.770Z] SSH_AGENT_PID=39 [2022-07-12T21:49:54.777Z] Running ssh-add (command line suppressed) [2022-07-12T21:49:54.907Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7078859244615933993.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7078859244615933993.key) [2022-07-12T21:49:54.921Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:49:55.210Z] + git semver push [2022-07-12T21:49:55.471Z] 2022-07-12 21:49:55,407 [run_push] DEBUG push [2022-07-12T21:49:55.471Z] 2022-07-12 21:49:55,408 [execute] INFO git cat-file --batch-check [2022-07-12T21:49:55.471Z] 2022-07-12 21:49:55,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T21:49:55.471Z] 2022-07-12 21:49:55,413 [execute] INFO git rev-list 78e94afc4666ad6756c660a66ee878bb52959be8 -- [2022-07-12T21:49:55.471Z] 2022-07-12 21:49:55,413 [execute] DEBUG Popen(['git', 'rev-list', '78e94afc4666ad6756c660a66ee878bb52959be8', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T21:49:55.471Z] 2022-07-12 21:49:55,420 [execute] INFO git fetch -v origin [2022-07-12T21:49:55.471Z] 2022-07-12 21:49:55,421 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-12T21:49:56.043Z] 2022-07-12 21:49:55,897 [run_push] DEBUG no remote changes detected [2022-07-12T21:49:56.043Z] 2022-07-12 21:49:55,897 [execute] INFO git push origin semver [2022-07-12T21:49:56.043Z] 2022-07-12 21:49:55,898 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T21:49:56.614Z] 2022-07-12 21:49:56,593 [run_push] DEBUG push all version tags [2022-07-12T21:49:56.614Z] 2022-07-12 21:49:56,594 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-12T21:49:56.614Z] 2022-07-12 21:49:56,595 [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) [2022-07-12T21:49:57.561Z] 2022-07-12 21:49:57,260 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-12T21:49:57.561Z] 2.2.1-dev.7 [Pipeline] } [2022-07-12T21:49:57.574Z] $ docker exec --env ******** --env ******** aa8cec3de1b80f25e39d38727c514f2019a96f8e7c8aeae812f33fc35f975711 ssh-agent -k [2022-07-12T21:49:57.693Z] unset SSH_AUTH_SOCK; [2022-07-12T21:49:57.694Z] unset SSH_AGENT_PID; [2022-07-12T21:49:57.694Z] echo Agent pid 39 killed; [2022-07-12T21:49:57.707Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T21:49:58.013Z] + git semver [Pipeline] } [2022-07-12T21:49:58.290Z] $ docker stop --time=1 aa8cec3de1b80f25e39d38727c514f2019a96f8e7c8aeae812f33fc35f975711 [2022-07-12T21:49:59.592Z] $ docker rm -f aa8cec3de1b80f25e39d38727c514f2019a96f8e7c8aeae812f33fc35f975711 [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 [2022-07-12T21:50:00.177Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-07-12T21:50:00.177Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-07-12T21:50:00.177Z] total 16 [2022-07-12T21:50:00.177Z] drwxr-xr-x 3 root root 4096 Jul 12 21:41 . [2022-07-12T21:50:00.177Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 21:49 .. [2022-07-12T21:50:00.177Z] drwxr-xr-x 2 root root 4096 Jul 12 21:41 cost [2022-07-12T21:50:00.177Z] -rw-r--r-- 1 root root 86 Jul 12 21:41 cost.csv [2022-07-12T21:50:00.177Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-07-12T21:50:00.177Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-07-12T21:50:00.177Z] total 16 [2022-07-12T21:50:00.177Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:41 . [2022-07-12T21:50:00.177Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 21:49 .. [2022-07-12T21:50:00.177Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 21:41 cost [2022-07-12T21:50:00.177Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 12 21:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:50:00.472Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:50:01.336Z] ---> package-listing.sh [2022-07-12T21:50:01.336Z] ++ facter osfamily [2022-07-12T21:50:01.336Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T21:50:01.596Z] + OS_FAMILY=debian [2022-07-12T21:50:01.596Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-07-12T21:50:01.596Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T21:50:01.596Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T21:50:01.596Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T21:50:01.596Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T21:50:01.596Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-07-12T21:50:01.596Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T21:50:01.596Z] + case "${OS_FAMILY}" in [2022-07-12T21:50:01.596Z] + dpkg -l [2022-07-12T21:50:01.596Z] + grep '^ii' [2022-07-12T21:50:01.596Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T21:50:01.596Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T21:50:01.596Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T21:50:01.596Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-07-12T21:50:01.596Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-07-12T21:50:01.596Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-07-12T21:50:01.606Z] 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 [2022-07-12T21:50:01.886Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:50:02.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:50:02.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:50:02.543Z] prd-ubuntu20.04-docker-8c-8g-19769 does not seem to be running inside a container [2022-07-12T21:50:02.581Z] $ 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 [2022-07-12T21:50:02.842Z] $ docker top 43fe2a562e7fa76b577095ca578d1ff57ce930ad75d28a88dcab1be33b179086 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:50:03.206Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T21:50:03.502Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T21:50:03.793Z] + ls /var/log/sa-host [2022-07-12T21:50:03.793Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:50:03.943Z] provisioning config files... [2022-07-12T21:50:03.954Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6957476307868098795tmp [Pipeline] { [Pipeline] echo [2022-07-12T21:50:03.967Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:50:04.258Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T21:50:04.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:50:04.611Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T21:50:04.620Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:50:04.902Z] ---> sudo-logs.sh [2022-07-12T21:50:04.902Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T21:50:04.934Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:50:05.225Z] ---> job-cost.sh [2022-07-12T21:50:05.225Z] lf-activate-venv: SKIPPING [2022-07-12T21:50:05.225Z] DEBUG: total: 0.2199999988079071 [2022-07-12T21:50:05.225Z] INFO: Retrieving Stack Cost... [2022-07-12T21:50:05.795Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T21:50:06.365Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T21:50:06.378Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:50:06.663Z] ---> logs-deploy.sh [2022-07-12T21:50:06.663Z] lf-activate-venv: SKIPPING [2022-07-12T21:50:06.663Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/45 [2022-07-12T21:50:06.663Z] INFO: archiving workspace using pattern(s): [2022-07-12T21:50:07.602Z] Archives upload complete. [2022-07-12T21:50:07.861Z] INFO: archiving logs to Nexus