Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 19276090c2e057c4cba34782a88296b78f541de3 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-ssh4667574743841002286.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh8373129914154346704.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh16502267539878228193.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh9050724599010340871.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh6046223711975893407.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22777 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 19276090c2e057c4cba34782a88296b78f541de3 (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 19276090c2e057c4cba34782a88296b78f541de3 # timeout=10 Commit message: "Merge pull request #368 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" > git rev-list --no-walk bb07e7e09273fde4df233cc08be8d273e9c828cd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-15T05:16:28.989Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-15T05:16:29.047Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-15T05:16:29.060Z] ========================================================= [2022-08-15T05:16:29.060Z] EdgeX Global Pipelines Version Info [2022-08-15T05:16:29.060Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:16:29.842Z] ------------------- [2022-08-15T05:16:29.842Z] stable info: [2022-08-15T05:16:29.842Z] ------------------- [2022-08-15T05:16:29.842Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T05:16:29.842Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T05:16:29.842Z] Message: update stable to v1.0.238 [2022-08-15T05:16:30.424Z] ------------------- [2022-08-15T05:16:30.424Z] experimental info: [2022-08-15T05:16:30.424Z] ------------------- [2022-08-15T05:16:30.424Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T05:16:30.424Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T05:16:30.424Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-15T05:16:30.691Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-08-15T05:16:30.703Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-08-15T05:16:30.717Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-15T05:16:30.729Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-15T05:16:30.739Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-15T05:16:30.752Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-15T05:16:30.761Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-15T05:16:30.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-15T05:16:30.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-15T05:16:30.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-15T05:16:30.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-15T05:16:30.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-08-15T05:16:30.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-15T05:16:30.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-15T05:16:30.853Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T05:16:30.863Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T05:16:30.875Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T05:16:30.888Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T05:16:30.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-15T05:16:30.906Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-15T05:16:30.914Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-15T05:16:30.922Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-15T05:16:30.930Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-15T05:16:30.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-15T05:16:30.957Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-15T05:16:30.968Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-15T05:16:30.978Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-15T05:16:30.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-08-15T05:16:31.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-08-15T05:16:31.016Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-08-15T05:16:31.025Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] echo [2022-08-15T05:16:31.039Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1927609 [Pipeline] echo [2022-08-15T05:16:31.050Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:16:31.098Z] provisioning config files... [2022-08-15T05:16:31.122Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config732003773525652933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:16:31.434Z] ---> docker-login.sh [2022-08-15T05:16:31.434Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:16:31.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:16:31.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:16:31.958Z] Configure a credential helper to remove this warning. See [2022-08-15T05:16:31.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:16:31.958Z] [2022-08-15T05:16:31.958Z] Login Succeeded [2022-08-15T05:16:31.958Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:16:31.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:16:31.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:16:31.958Z] Configure a credential helper to remove this warning. See [2022-08-15T05:16:31.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:16:31.958Z] [2022-08-15T05:16:31.958Z] Login Succeeded [2022-08-15T05:16:31.958Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:16:32.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:16:32.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:16:32.219Z] Configure a credential helper to remove this warning. See [2022-08-15T05:16:32.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:16:32.219Z] [2022-08-15T05:16:32.219Z] Login Succeeded [2022-08-15T05:16:32.219Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:16:32.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:16:32.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:16:32.481Z] Configure a credential helper to remove this warning. See [2022-08-15T05:16:32.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:16:32.481Z] [2022-08-15T05:16:32.481Z] Login Succeeded [2022-08-15T05:16:32.481Z] docker.io [2022-08-15T05:16:32.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:16:32.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:16:32.743Z] Configure a credential helper to remove this warning. See [2022-08-15T05:16:32.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:16:32.743Z] [2022-08-15T05:16:32.743Z] Login Succeeded [2022-08-15T05:16:32.743Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:16:32.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-15T05:16:33.112Z] + git rev-list -1 --merges 19276090c2e057c4cba34782a88296b78f541de3~1..19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] echo [2022-08-15T05:16:33.143Z] -----------> git rev-list -1 --merges 19276090c2e057c4cba34782a88296b78f541de3~1..19276090c2e057c4cba34782a88296b78f541de3 19276090c2e057c4cba34782a88296b78f541de3 [2022-08-15T05:16:33.143Z] 19276090c2e057c4cba34782a88296b78f541de3 [false] [Pipeline] sh [2022-08-15T05:16:33.438Z] + git log --format=format:%s -1 19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] echo [2022-08-15T05:16:33.457Z] ========================================================= [2022-08-15T05:16:33.457Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-15T05:16:33.457Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:16:33.794Z] + git log --format=format:%s -1 19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] echo [2022-08-15T05:16:33.810Z] [semverPrep] GIT_COMMIT: 19276090c2e057c4cba34782a88296b78f541de3, Commit Message: Merge pull request #368 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19 [Pipeline] echo [2022-08-15T05:16:33.820Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-15T05:16:34.175Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T05:16:34.175Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-15T05:16:34.175Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-15T05:16:34.175Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-15T05:16:34.175Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-15T05:16:34.175Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-15T05:16:34.175Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:16:34.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:16:34.531Z] [2022-08-15T05:16:34.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:16:34.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:16:34.840Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-15T05:16:34.840Z] b85a868b505f: Pulling fs layer [2022-08-15T05:16:34.840Z] e2be974225ed: Pulling fs layer [2022-08-15T05:16:34.840Z] 339a4e72a1f5: Pulling fs layer [2022-08-15T05:16:34.840Z] 988bab9f4d93: Pulling fs layer [2022-08-15T05:16:34.840Z] 1469e6f7b9e6: Pulling fs layer [2022-08-15T05:16:34.840Z] eaf3925da568: Pulling fs layer [2022-08-15T05:16:34.840Z] bab4dde63d76: Pulling fs layer [2022-08-15T05:16:34.840Z] bde34c3a00c8: Pulling fs layer [2022-08-15T05:16:34.840Z] b352a97aabf1: Pulling fs layer [2022-08-15T05:16:34.840Z] 4872d77fe225: Pulling fs layer [2022-08-15T05:16:34.840Z] 5851b861e8e6: Pulling fs layer [2022-08-15T05:16:34.840Z] 988bab9f4d93: Waiting [2022-08-15T05:16:34.840Z] 1469e6f7b9e6: Waiting [2022-08-15T05:16:34.840Z] eaf3925da568: Waiting [2022-08-15T05:16:34.840Z] bab4dde63d76: Waiting [2022-08-15T05:16:34.840Z] bde34c3a00c8: Waiting [2022-08-15T05:16:34.840Z] 5851b861e8e6: Waiting [2022-08-15T05:16:34.840Z] 4872d77fe225: Waiting [2022-08-15T05:16:34.840Z] b352a97aabf1: Waiting [2022-08-15T05:16:34.840Z] e2be974225ed: Verifying Checksum [2022-08-15T05:16:34.840Z] e2be974225ed: Download complete [2022-08-15T05:16:34.840Z] 988bab9f4d93: Verifying Checksum [2022-08-15T05:16:34.840Z] 988bab9f4d93: Download complete [2022-08-15T05:16:35.101Z] 1469e6f7b9e6: Verifying Checksum [2022-08-15T05:16:35.101Z] 1469e6f7b9e6: Download complete [2022-08-15T05:16:35.101Z] eaf3925da568: Verifying Checksum [2022-08-15T05:16:35.101Z] eaf3925da568: Download complete [2022-08-15T05:16:35.101Z] 339a4e72a1f5: Verifying Checksum [2022-08-15T05:16:35.101Z] 339a4e72a1f5: Download complete [2022-08-15T05:16:35.101Z] bde34c3a00c8: Download complete [2022-08-15T05:16:35.101Z] b352a97aabf1: Verifying Checksum [2022-08-15T05:16:35.101Z] b352a97aabf1: Download complete [2022-08-15T05:16:35.101Z] 4872d77fe225: Verifying Checksum [2022-08-15T05:16:35.101Z] 4872d77fe225: Download complete [2022-08-15T05:16:35.101Z] 5851b861e8e6: Verifying Checksum [2022-08-15T05:16:35.101Z] 5851b861e8e6: Download complete [2022-08-15T05:16:35.101Z] b85a868b505f: Download complete [2022-08-15T05:16:35.361Z] bab4dde63d76: Verifying Checksum [2022-08-15T05:16:35.361Z] bab4dde63d76: Download complete [2022-08-15T05:16:36.744Z] b85a868b505f: Pull complete [2022-08-15T05:16:36.744Z] e2be974225ed: Pull complete [2022-08-15T05:16:37.314Z] 339a4e72a1f5: Pull complete [2022-08-15T05:16:37.314Z] 988bab9f4d93: Pull complete [2022-08-15T05:16:37.576Z] 1469e6f7b9e6: Pull complete [2022-08-15T05:16:37.838Z] eaf3925da568: Pull complete [2022-08-15T05:16:39.753Z] bab4dde63d76: Pull complete [2022-08-15T05:16:39.753Z] bde34c3a00c8: Pull complete [2022-08-15T05:16:40.013Z] b352a97aabf1: Pull complete [2022-08-15T05:16:40.013Z] 4872d77fe225: Pull complete [2022-08-15T05:16:40.275Z] 5851b861e8e6: Pull complete [2022-08-15T05:16:40.275Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-15T05:16:40.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:16:40.275Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:16:40.388Z] prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container [2022-08-15T05:16:40.430Z] $ 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-08-15T05:16:41.896Z] $ docker top dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 -eo pid,comm [2022-08-15T05:16:41.960Z] 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-08-15T05:16:41.960Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T05:16:42.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:16:42.001Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:16:42.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:16:42.145Z] $ docker exec dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 ssh-agent [2022-08-15T05:16:42.274Z] SSH_AUTH_SOCK=/tmp/ssh-3AvLdTkCiMZw/agent.35 [2022-08-15T05:16:42.274Z] SSH_AGENT_PID=42 [2022-08-15T05:16:42.281Z] Running ssh-add (command line suppressed) [2022-08-15T05:16:42.413Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6421054658254018376.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6421054658254018376.key) [2022-08-15T05:16:42.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:16:42.717Z] + git tag --points-at HEAD [Pipeline] } [2022-08-15T05:16:42.744Z] $ docker exec --env ******** --env ******** dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 ssh-agent -k [2022-08-15T05:16:42.868Z] unset SSH_AUTH_SOCK; [2022-08-15T05:16:42.868Z] unset SSH_AGENT_PID; [2022-08-15T05:16:42.868Z] echo Agent pid 42 killed; [2022-08-15T05:16:42.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-15T05:16:42.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:16:42.910Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:16:43.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:16:43.038Z] $ docker exec dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 ssh-agent [2022-08-15T05:16:43.172Z] SSH_AUTH_SOCK=/tmp/ssh-5DoGI9f9oDU5/agent.75 [2022-08-15T05:16:43.172Z] SSH_AGENT_PID=82 [2022-08-15T05:16:43.177Z] Running ssh-add (command line suppressed) [2022-08-15T05:16:43.302Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1864253483870988401.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1864253483870988401.key) [2022-08-15T05:16:43.314Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:16:43.608Z] + git semver init [2022-08-15T05:16:43.868Z] 2022-08-15 05:16:43,845 [run_init] DEBUG init version:0.0.0 force:False [2022-08-15T05:16:43.868Z] 2022-08-15 05:16:43,845 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-08-15T05:16:43.868Z] 2022-08-15 05:16:43,846 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-08-15T05:16:43.868Z] 2022-08-15 05:16:43,846 [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-08-15T05:16:44.813Z] 2022-08-15 05:16:44,584 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-08-15T05:16:44.813Z] 2022-08-15 05:16:44,584 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-08-15T05:16:44.813Z] 2022-08-15 05:16:44,585 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-15T05:16:44.813Z] 2022-08-15 05:16:44,585 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-15T05:16:44.813Z] 2.3.0-dev.11 [Pipeline] } [2022-08-15T05:16:44.828Z] $ docker exec --env ******** --env ******** dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 ssh-agent -k [2022-08-15T05:16:44.953Z] unset SSH_AUTH_SOCK; [2022-08-15T05:16:44.953Z] unset SSH_AGENT_PID; [2022-08-15T05:16:44.953Z] echo Agent pid 82 killed; [2022-08-15T05:16:44.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T05:16:45.275Z] + git semver [Pipeline] } [2022-08-15T05:16:45.556Z] $ docker stop --time=1 dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 [2022-08-15T05:16:46.948Z] $ docker rm -f dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:16:47.305Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-15T05:16:47.581Z] Stashed 1 file(s) [Pipeline] echo [2022-08-15T05:16:47.583Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.11 [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-08-15T05:16:47.681Z] provisioning config files... [2022-08-15T05:16:47.690Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config142950144264309166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:16:47.989Z] ---> docker-login.sh [2022-08-15T05:16:47.989Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:16:47.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:16:47.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:16:47.989Z] Configure a credential helper to remove this warning. See [2022-08-15T05:16:47.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:16:47.989Z] [2022-08-15T05:16:47.989Z] Login Succeeded [2022-08-15T05:16:47.989Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:16:47.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:16:48.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:16:48.252Z] Configure a credential helper to remove this warning. See [2022-08-15T05:16:48.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:16:48.252Z] [2022-08-15T05:16:48.252Z] Login Succeeded [2022-08-15T05:16:48.252Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:16:48.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:16:48.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:16:48.252Z] Configure a credential helper to remove this warning. See [2022-08-15T05:16:48.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:16:48.252Z] [2022-08-15T05:16:48.252Z] Login Succeeded [2022-08-15T05:16:48.252Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:16:48.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:16:48.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:16:48.514Z] Configure a credential helper to remove this warning. See [2022-08-15T05:16:48.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:16:48.514Z] [2022-08-15T05:16:48.514Z] Login Succeeded [2022-08-15T05:16:48.514Z] docker.io [2022-08-15T05:16:48.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:16:48.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:16:48.776Z] Configure a credential helper to remove this warning. See [2022-08-15T05:16:48.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:16:48.776Z] [2022-08-15T05:16:48.776Z] Login Succeeded [2022-08-15T05:16:48.776Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:16:48.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T05:16:48.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:16:48.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:16:48.881Z] ========================================================= [2022-08-15T05:16:48.881Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-15T05:16:48.881Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:16:49.202Z] + 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-08-15T05:16:49.202Z] Sending build context to Docker daemon 6.105MB [2022-08-15T05:16:49.202Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:16:49.202Z] Step 2/10 : FROM ${BASE} AS builder [2022-08-15T05:16:49.202Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-15T05:16:49.202Z] 2408cc74d12b: Pulling fs layer [2022-08-15T05:16:49.202Z] ea60b727a1ce: Pulling fs layer [2022-08-15T05:16:49.202Z] 30c4a7721957: Pulling fs layer [2022-08-15T05:16:49.202Z] 370296b7ddb6: Pulling fs layer [2022-08-15T05:16:49.202Z] 7c6cee850709: Pulling fs layer [2022-08-15T05:16:49.202Z] 39a5fcdaea64: Pulling fs layer [2022-08-15T05:16:49.202Z] d94ebbe4e438: Pulling fs layer [2022-08-15T05:16:49.202Z] bcfd1f05c69d: Pulling fs layer [2022-08-15T05:16:49.202Z] 59ccb84bbe0f: Pulling fs layer [2022-08-15T05:16:49.202Z] 39a5fcdaea64: Waiting [2022-08-15T05:16:49.202Z] d94ebbe4e438: Waiting [2022-08-15T05:16:49.202Z] bcfd1f05c69d: Waiting [2022-08-15T05:16:49.202Z] 59ccb84bbe0f: Waiting [2022-08-15T05:16:49.202Z] 7c6cee850709: Waiting [2022-08-15T05:16:49.202Z] 30c4a7721957: Verifying Checksum [2022-08-15T05:16:49.202Z] 30c4a7721957: Download complete [2022-08-15T05:16:49.202Z] ea60b727a1ce: Download complete [2022-08-15T05:16:49.465Z] 7c6cee850709: Verifying Checksum [2022-08-15T05:16:49.465Z] 7c6cee850709: Download complete [2022-08-15T05:16:49.465Z] 39a5fcdaea64: Download complete [2022-08-15T05:16:49.465Z] 2408cc74d12b: Verifying Checksum [2022-08-15T05:16:49.465Z] 2408cc74d12b: Download complete [2022-08-15T05:16:49.465Z] d94ebbe4e438: Download complete [2022-08-15T05:16:49.465Z] 2408cc74d12b: Pull complete [2022-08-15T05:16:49.725Z] ea60b727a1ce: Pull complete [2022-08-15T05:16:49.725Z] 30c4a7721957: Pull complete [2022-08-15T05:16:49.725Z] 59ccb84bbe0f: Verifying Checksum [2022-08-15T05:16:49.725Z] 59ccb84bbe0f: Download complete [2022-08-15T05:16:49.992Z] bcfd1f05c69d: Verifying Checksum [2022-08-15T05:16:50.251Z] 370296b7ddb6: Verifying Checksum [2022-08-15T05:16:50.251Z] 370296b7ddb6: Download complete [2022-08-15T05:16:54.452Z] 370296b7ddb6: Pull complete [2022-08-15T05:16:54.713Z] 7c6cee850709: Pull complete [2022-08-15T05:16:54.713Z] 39a5fcdaea64: Pull complete [2022-08-15T05:16:54.713Z] d94ebbe4e438: Pull complete [2022-08-15T05:16:57.256Z] bcfd1f05c69d: Pull complete [2022-08-15T05:16:57.825Z] 59ccb84bbe0f: Pull complete [2022-08-15T05:16:57.825Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-15T05:16:57.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-15T05:16:57.825Z] ---> a4fb48ad2a94 [2022-08-15T05:16:57.825Z] Step 3/10 : ARG MAKE='make build' [2022-08-15T05:16:59.740Z] ---> Running in 8b9442831b59 [2022-08-15T05:16:59.740Z] Removing intermediate container 8b9442831b59 [2022-08-15T05:16:59.740Z] ---> ceb020e63463 [2022-08-15T05:16:59.740Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:16:59.740Z] ---> Running in a62054965950 [2022-08-15T05:17:00.001Z] Removing intermediate container a62054965950 [2022-08-15T05:17:00.001Z] ---> a1b9c96e2c90 [2022-08-15T05:17:00.001Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-15T05:17:00.261Z] ---> Running in 0e8944b281d6 [2022-08-15T05:17:00.521Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:17:01.465Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:17:01.725Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T05:17:01.725Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-08-15T05:17:01.725Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T05:17:01.986Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T05:17:01.986Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-08-15T05:17:01.986Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-08-15T05:17:02.247Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-08-15T05:17:02.247Z] (8/8) Installing openssh (9.0_p1-r2) [2022-08-15T05:17:02.247Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T05:17:02.508Z] OK: 217 MiB in 59 packages [2022-08-15T05:17:02.655Z] Still waiting to schedule task [2022-08-15T05:17:02.656Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-15T05:17:02.769Z] Removing intermediate container 0e8944b281d6 [2022-08-15T05:17:02.769Z] ---> d0760d75ae99 [2022-08-15T05:17:02.769Z] Step 6/10 : WORKDIR /device-modbus-go [2022-08-15T05:17:02.769Z] ---> Running in f71feaaabe5d [2022-08-15T05:17:03.029Z] Removing intermediate container f71feaaabe5d [2022-08-15T05:17:03.029Z] ---> f53a26f6bb79 [2022-08-15T05:17:03.029Z] Step 7/10 : COPY go.mod vendor* ./ [2022-08-15T05:17:03.029Z] ---> 358778761a17 [2022-08-15T05:17:03.029Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:17:03.290Z] ---> Running in 446fbcf11cfe [2022-08-15T05:17:21.417Z] Removing intermediate container 446fbcf11cfe [2022-08-15T05:17:21.417Z] ---> 654c976eb04c [2022-08-15T05:17:21.417Z] Step 9/10 : COPY . . [2022-08-15T05:17:21.417Z] ---> 965f4fdfb1b8 [2022-08-15T05:17:21.417Z] Step 10/10 : RUN ${MAKE} [2022-08-15T05:17:21.417Z] ---> Running in 1f4a77545ee3 [2022-08-15T05:17:21.417Z] noop [2022-08-15T05:17:21.417Z] Removing intermediate container 1f4a77545ee3 [2022-08-15T05:17:21.417Z] ---> af888651199a [2022-08-15T05:17:21.417Z] Successfully built af888651199a [2022-08-15T05:17:21.417Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:17:21.738Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T05:17:21.738Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:17:21.830Z] prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container [2022-08-15T05:17:21.871Z] $ 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-08-15T05:17:22.280Z] $ docker top 7ce322e08201c1079a182b9e8350db791890832fee46acc9a6d1f68c24b1a9e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:17:22.647Z] + go version [2022-08-15T05:17:22.647Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-15T05:17:22.663Z] $ docker stop --time=1 7ce322e08201c1079a182b9e8350db791890832fee46acc9a6d1f68c24b1a9e0 [2022-08-15T05:17:23.965Z] $ docker rm -f 7ce322e08201c1079a182b9e8350db791890832fee46acc9a6d1f68c24b1a9e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:17:24.412Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T05:17:24.412Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:17:24.542Z] prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container [2022-08-15T05:17:24.604Z] $ 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-08-15T05:17:24.993Z] $ docker top 6ad0b178af06d75172e5c58e81114047a2ca42dd3f31d23f3f3555b01eeb419c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:17:25.347Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2022-08-15T05:17:25.650Z] + make test [2022-08-15T05:17:25.650Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-15T05:17:26.220Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-08-15T05:17:36.215Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-08-15T05:17:36.215Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.7% of statements [2022-08-15T05:17:42.800Z] 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-08-15T05:17:42.800Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T05:17:46.998Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T05:17:46.998Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T05:17:46.998Z] ./bin/test-attribution-txt.sh [2022-08-15T05:17:46.998Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T05:17:46.998Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T05:17:46.998Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T05:17:47.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T05:17:47.031Z] $ docker stop --time=1 6ad0b178af06d75172e5c58e81114047a2ca42dd3f31d23f3f3555b01eeb419c [2022-08-15T05:17:48.787Z] $ docker rm -f 6ad0b178af06d75172e5c58e81114047a2ca42dd3f31d23f3f3555b01eeb419c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:17:49.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T05:17:49.285Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-15T05:17:49.883Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T05:17:50.175Z] + ls -al . [2022-08-15T05:17:50.175Z] total 188 [2022-08-15T05:17:50.175Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 05:17 . [2022-08-15T05:17:50.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:16 .. [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 05:16 .dockerignore [2022-08-15T05:17:50.175Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:17 .git [2022-08-15T05:17:50.175Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:16 .github [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 15 05:16 .gitignore [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:16 .golangci.yml [2022-08-15T05:17:50.175Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:16 .semver [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 9744 Aug 15 05:16 Attribution.txt [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 10001 Aug 15 05:16 CHANGELOG.md [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 1550 Aug 15 05:16 Dockerfile [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:16 GOVERNANCE.md [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 05:16 Jenkinsfile [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:16 LICENSE [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 1892 Aug 15 05:16 Makefile [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 05:16 OWNERS.md [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 3397 Aug 15 05:16 README.md [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 05:16 VERSION [2022-08-15T05:17:50.175Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:16 bin [2022-08-15T05:17:50.175Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:16 cmd [2022-08-15T05:17:50.175Z] -rw-r--r-- 1 jenkins jenkins 23241 Aug 15 05:17 coverage.out [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 3572 Aug 15 05:16 go.mod [2022-08-15T05:17:50.175Z] -rw-rw-r-- 1 jenkins jenkins 37058 Aug 15 05:16 go.sum [2022-08-15T05:17:50.175Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:16 internal [2022-08-15T05:17:50.176Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:16 simulator [2022-08-15T05:17:50.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:16 snap [2022-08-15T05:17:50.176Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 15 05:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:17:50.490Z] + 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=19276090c2e057c4cba34782a88296b78f541de3 --label arch=amd64 --label version=2.3.0-dev.11 . [2022-08-15T05:17:50.490Z] Sending build context to Docker daemon 6.129MB [2022-08-15T05:17:50.490Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:17:50.490Z] Step 2/23 : FROM ${BASE} AS builder [2022-08-15T05:17:50.490Z] ---> af888651199a [2022-08-15T05:17:50.490Z] Step 3/23 : ARG MAKE='make build' [2022-08-15T05:17:50.490Z] ---> Running in 4195f3e0308f [2022-08-15T05:17:50.750Z] Removing intermediate container 4195f3e0308f [2022-08-15T05:17:50.750Z] ---> cb33e2eb12eb [2022-08-15T05:17:50.750Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:17:50.750Z] ---> Running in d43e1c93b060 [2022-08-15T05:17:51.322Z] Removing intermediate container d43e1c93b060 [2022-08-15T05:17:51.322Z] ---> 7ef9eea12a2c [2022-08-15T05:17:51.322Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-15T05:17:51.322Z] ---> Running in fb9cb57939ea [2022-08-15T05:17:51.584Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:17:52.529Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:17:52.790Z] OK: 217 MiB in 59 packages [2022-08-15T05:17:53.051Z] Removing intermediate container fb9cb57939ea [2022-08-15T05:17:53.051Z] ---> f7cf6fa0e13e [2022-08-15T05:17:53.051Z] Step 6/23 : WORKDIR /device-modbus-go [2022-08-15T05:17:53.051Z] ---> Running in b8728060dc38 [2022-08-15T05:17:53.312Z] Removing intermediate container b8728060dc38 [2022-08-15T05:17:53.312Z] ---> 86cb295e9e68 [2022-08-15T05:17:53.312Z] Step 7/23 : COPY go.mod vendor* ./ [2022-08-15T05:17:53.312Z] ---> f53429dca0ab [2022-08-15T05:17:53.312Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:17:53.574Z] ---> Running in a37d1f1774ef [2022-08-15T05:17:54.145Z] Removing intermediate container a37d1f1774ef [2022-08-15T05:17:54.145Z] ---> 5476b2f6d7f9 [2022-08-15T05:17:54.145Z] Step 9/23 : COPY . . [2022-08-15T05:17:54.405Z] ---> aeaa60989987 [2022-08-15T05:17:54.405Z] Step 10/23 : RUN ${MAKE} [2022-08-15T05:17:54.405Z] ---> Running in 73d02ff04694 [2022-08-15T05:17:54.976Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-08-15T05:18:16.931Z] Removing intermediate container 73d02ff04694 [2022-08-15T05:18:16.931Z] ---> 85a0aa076b37 [2022-08-15T05:18:16.931Z] Step 11/23 : FROM alpine:3.14 [2022-08-15T05:18:16.931Z] 3.14: Pulling from library/alpine [2022-08-15T05:18:16.931Z] c7ed990a2339: Pulling fs layer [2022-08-15T05:18:16.931Z] c7ed990a2339: Verifying Checksum [2022-08-15T05:18:16.931Z] c7ed990a2339: Download complete [2022-08-15T05:18:16.931Z] c7ed990a2339: Pull complete [2022-08-15T05:18:16.931Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-08-15T05:18:16.931Z] Status: Downloaded newer image for alpine:3.14 [2022-08-15T05:18:16.931Z] ---> dd53f409bf0b [2022-08-15T05:18:16.931Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-08-15T05:18:16.931Z] ---> Running in 34504b842393 [2022-08-15T05:18:16.931Z] Removing intermediate container 34504b842393 [2022-08-15T05:18:16.931Z] ---> c4a96eb83ef4 [2022-08-15T05:18:16.931Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:18:16.931Z] ---> Running in 3e9f90a9c0ad [2022-08-15T05:18:17.502Z] Removing intermediate container 3e9f90a9c0ad [2022-08-15T05:18:17.502Z] ---> ac1386900f97 [2022-08-15T05:18:17.502Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T05:18:17.502Z] ---> Running in 35cc00dc6dbb [2022-08-15T05:18:17.764Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:18:18.707Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:18:18.707Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T05:18:18.967Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-08-15T05:18:18.967Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T05:18:18.967Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-08-15T05:18:19.229Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T05:18:19.229Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T05:18:19.229Z] Executing busybox-1.33.1-r8.trigger [2022-08-15T05:18:19.229Z] OK: 8 MiB in 20 packages [2022-08-15T05:18:19.800Z] Removing intermediate container 35cc00dc6dbb [2022-08-15T05:18:19.800Z] ---> 4f1b78cd1ce4 [2022-08-15T05:18:19.800Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-08-15T05:18:20.370Z] ---> bcba7cbef18f [2022-08-15T05:18:20.370Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-08-15T05:18:20.370Z] ---> 7f1fcd6365b9 [2022-08-15T05:18:20.370Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-08-15T05:18:20.631Z] ---> f525a2b181dd [2022-08-15T05:18:20.631Z] Step 18/23 : EXPOSE 59901 [2022-08-15T05:18:20.631Z] ---> Running in 841b37920bc4 [2022-08-15T05:18:20.896Z] Removing intermediate container 841b37920bc4 [2022-08-15T05:18:20.896Z] ---> 83a52cc992fe [2022-08-15T05:18:20.896Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-08-15T05:18:20.896Z] ---> Running in cd88066b524c [2022-08-15T05:18:20.896Z] Removing intermediate container cd88066b524c [2022-08-15T05:18:20.896Z] ---> d446e69ce600 [2022-08-15T05:18:20.896Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T05:18:20.896Z] ---> Running in 5c037690db4c [2022-08-15T05:18:21.156Z] Removing intermediate container 5c037690db4c [2022-08-15T05:18:21.156Z] ---> ec89f586fe4e [2022-08-15T05:18:21.156Z] Step 21/23 : LABEL arch=amd64 [2022-08-15T05:18:21.156Z] ---> Running in 4ee03cf22a81 [2022-08-15T05:18:21.156Z] Removing intermediate container 4ee03cf22a81 [2022-08-15T05:18:21.156Z] ---> 137fcb8d3e74 [2022-08-15T05:18:21.156Z] Step 22/23 : LABEL git_sha=19276090c2e057c4cba34782a88296b78f541de3 [2022-08-15T05:18:21.156Z] ---> Running in 0e8d4d017559 [2022-08-15T05:18:21.416Z] Removing intermediate container 0e8d4d017559 [2022-08-15T05:18:21.416Z] ---> 1caa11b5e9d4 [2022-08-15T05:18:21.416Z] Step 23/23 : LABEL version=2.3.0-dev.11 [2022-08-15T05:18:21.416Z] ---> Running in b157d1261578 [2022-08-15T05:18:21.416Z] Removing intermediate container b157d1261578 [2022-08-15T05:18:21.416Z] ---> cab1d0c5ed92 [2022-08-15T05:18:21.416Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T05:18:21.416Z] Successfully built cab1d0c5ed92 [2022-08-15T05:18:21.416Z] 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-08-15T05:18:21.506Z] provisioning config files... [2022-08-15T05:18:21.516Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2157869360430937035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:18:21.814Z] ---> docker-login.sh [2022-08-15T05:18:21.814Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:18:21.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:18:21.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:18:21.814Z] Configure a credential helper to remove this warning. See [2022-08-15T05:18:21.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:18:21.814Z] [2022-08-15T05:18:21.814Z] Login Succeeded [2022-08-15T05:18:21.814Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:18:21.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:18:22.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:18:22.074Z] Configure a credential helper to remove this warning. See [2022-08-15T05:18:22.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:18:22.074Z] [2022-08-15T05:18:22.074Z] Login Succeeded [2022-08-15T05:18:22.074Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:18:22.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:18:22.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:18:22.074Z] Configure a credential helper to remove this warning. See [2022-08-15T05:18:22.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:18:22.074Z] [2022-08-15T05:18:22.074Z] Login Succeeded [2022-08-15T05:18:22.074Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:18:22.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:18:22.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:18:22.334Z] Configure a credential helper to remove this warning. See [2022-08-15T05:18:22.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:18:22.334Z] [2022-08-15T05:18:22.334Z] Login Succeeded [2022-08-15T05:18:22.334Z] docker.io [2022-08-15T05:18:22.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:18:22.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:18:22.593Z] Configure a credential helper to remove this warning. See [2022-08-15T05:18:22.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:18:22.593Z] [2022-08-15T05:18:22.593Z] Login Succeeded [2022-08-15T05:18:22.593Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:18:22.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T05:18:22.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:18:22.648Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-08-15T05:18:22.648Z] 19276090c2e057c4cba34782a88296b78f541de3 [2022-08-15T05:18:22.648Z] latest [2022-08-15T05:18:22.648Z] 2.3.0-dev.11 [2022-08-15T05:18:22.648Z] 19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 [2022-08-15T05:18:22.648Z] main [2022-08-15T05:18:22.648Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:22.955Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:23.261Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3 [2022-08-15T05:18:23.261Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-08-15T05:18:23.261Z] 50bdf65ec9d0: Preparing [2022-08-15T05:18:23.261Z] cea2b4bfa770: Preparing [2022-08-15T05:18:23.261Z] 9952f58813b9: Preparing [2022-08-15T05:18:23.261Z] 9b7768371bc4: Preparing [2022-08-15T05:18:23.261Z] 4816ae6dc4ad: Preparing [2022-08-15T05:18:23.261Z] 63493a9ab2d4: Preparing [2022-08-15T05:18:23.261Z] 63493a9ab2d4: Waiting [2022-08-15T05:18:23.261Z] cea2b4bfa770: Pushed [2022-08-15T05:18:23.261Z] 50bdf65ec9d0: Pushed [2022-08-15T05:18:23.261Z] 4816ae6dc4ad: Pushed [2022-08-15T05:18:23.520Z] 9b7768371bc4: Pushed [2022-08-15T05:18:24.089Z] 63493a9ab2d4: Pushed [2022-08-15T05:18:26.008Z] 9952f58813b9: Pushed [2022-08-15T05:18:26.008Z] 19276090c2e057c4cba34782a88296b78f541de3: digest: sha256:fd90370d12764c49ff6334926490e8511566b3221dc1333a2e15cab531e1bf9d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:26.322Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:26.635Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-08-15T05:18:26.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-08-15T05:18:26.635Z] 50bdf65ec9d0: Preparing [2022-08-15T05:18:26.635Z] cea2b4bfa770: Preparing [2022-08-15T05:18:26.635Z] 9952f58813b9: Preparing [2022-08-15T05:18:26.635Z] 9b7768371bc4: Preparing [2022-08-15T05:18:26.635Z] 4816ae6dc4ad: Preparing [2022-08-15T05:18:26.635Z] 63493a9ab2d4: Preparing [2022-08-15T05:18:26.635Z] 63493a9ab2d4: Waiting [2022-08-15T05:18:26.635Z] 9952f58813b9: Layer already exists [2022-08-15T05:18:26.635Z] cea2b4bfa770: Layer already exists [2022-08-15T05:18:26.635Z] 9b7768371bc4: Layer already exists [2022-08-15T05:18:26.635Z] 50bdf65ec9d0: Layer already exists [2022-08-15T05:18:26.635Z] 4816ae6dc4ad: Layer already exists [2022-08-15T05:18:26.635Z] 63493a9ab2d4: Layer already exists [2022-08-15T05:18:26.635Z] latest: digest: sha256:fd90370d12764c49ff6334926490e8511566b3221dc1333a2e15cab531e1bf9d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:26.954Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:27.267Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.11 [2022-08-15T05:18:27.267Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-08-15T05:18:27.267Z] 50bdf65ec9d0: Preparing [2022-08-15T05:18:27.267Z] cea2b4bfa770: Preparing [2022-08-15T05:18:27.267Z] 9952f58813b9: Preparing [2022-08-15T05:18:27.267Z] 9b7768371bc4: Preparing [2022-08-15T05:18:27.267Z] 4816ae6dc4ad: Preparing [2022-08-15T05:18:27.267Z] 63493a9ab2d4: Preparing [2022-08-15T05:18:27.267Z] 63493a9ab2d4: Waiting [2022-08-15T05:18:27.267Z] 50bdf65ec9d0: Layer already exists [2022-08-15T05:18:27.267Z] 4816ae6dc4ad: Layer already exists [2022-08-15T05:18:27.267Z] 9952f58813b9: Layer already exists [2022-08-15T05:18:27.267Z] cea2b4bfa770: Layer already exists [2022-08-15T05:18:27.267Z] 9b7768371bc4: Layer already exists [2022-08-15T05:18:27.267Z] 63493a9ab2d4: Layer already exists [2022-08-15T05:18:27.267Z] 2.3.0-dev.11: digest: sha256:fd90370d12764c49ff6334926490e8511566b3221dc1333a2e15cab531e1bf9d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:27.589Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:27.908Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 [2022-08-15T05:18:27.908Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-08-15T05:18:27.908Z] 50bdf65ec9d0: Preparing [2022-08-15T05:18:27.908Z] cea2b4bfa770: Preparing [2022-08-15T05:18:27.908Z] 9952f58813b9: Preparing [2022-08-15T05:18:27.908Z] 9b7768371bc4: Preparing [2022-08-15T05:18:27.908Z] 4816ae6dc4ad: Preparing [2022-08-15T05:18:27.908Z] 63493a9ab2d4: Preparing [2022-08-15T05:18:27.908Z] 9952f58813b9: Layer already exists [2022-08-15T05:18:27.908Z] 9b7768371bc4: Layer already exists [2022-08-15T05:18:27.908Z] 4816ae6dc4ad: Layer already exists [2022-08-15T05:18:27.908Z] 50bdf65ec9d0: Layer already exists [2022-08-15T05:18:27.908Z] cea2b4bfa770: Layer already exists [2022-08-15T05:18:27.908Z] 63493a9ab2d4: Layer already exists [2022-08-15T05:18:27.908Z] 19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11: digest: sha256:fd90370d12764c49ff6334926490e8511566b3221dc1333a2e15cab531e1bf9d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:28.230Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:28.544Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-08-15T05:18:28.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-08-15T05:18:28.544Z] 50bdf65ec9d0: Preparing [2022-08-15T05:18:28.544Z] cea2b4bfa770: Preparing [2022-08-15T05:18:28.544Z] 9952f58813b9: Preparing [2022-08-15T05:18:28.544Z] 9b7768371bc4: Preparing [2022-08-15T05:18:28.544Z] 4816ae6dc4ad: Preparing [2022-08-15T05:18:28.544Z] 63493a9ab2d4: Preparing [2022-08-15T05:18:28.544Z] 63493a9ab2d4: Waiting [2022-08-15T05:18:28.544Z] 50bdf65ec9d0: Layer already exists [2022-08-15T05:18:28.544Z] 4816ae6dc4ad: Layer already exists [2022-08-15T05:18:28.544Z] 9b7768371bc4: Layer already exists [2022-08-15T05:18:28.544Z] cea2b4bfa770: Layer already exists [2022-08-15T05:18:28.544Z] 9952f58813b9: Layer already exists [2022-08-15T05:18:28.544Z] 63493a9ab2d4: Layer already exists [2022-08-15T05:18:28.544Z] main: digest: sha256:fd90370d12764c49ff6334926490e8511566b3221dc1333a2e15cab531e1bf9d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T05:18:28.593Z] ===================================================== [Pipeline] echo [2022-08-15T05:18:28.603Z] taggedImages: [2022-08-15T05:18:28.603Z] - nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3 [2022-08-15T05:18:28.603Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-08-15T05:18:28.603Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.11 [2022-08-15T05:18:28.603Z] - nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 [2022-08-15T05:18:28.603Z] - 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-08-15T05:18:28.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:18:28.959Z] [2022-08-15T05:18:28.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:29.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:18:29.265Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-15T05:18:29.265Z] 5eb5b503b376: Pulling fs layer [2022-08-15T05:18:29.265Z] 5c69ac0246d0: Pulling fs layer [2022-08-15T05:18:29.265Z] ec43610c2a17: Pulling fs layer [2022-08-15T05:18:29.265Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-15T05:18:29.265Z] 33b1e0a273af: Pulling fs layer [2022-08-15T05:18:29.265Z] 5d3b04190fa2: Pulling fs layer [2022-08-15T05:18:29.265Z] 2f39f015ded8: Pulling fs layer [2022-08-15T05:18:29.265Z] 3a2ae6a8a46f: Waiting [2022-08-15T05:18:29.265Z] 33b1e0a273af: Waiting [2022-08-15T05:18:29.265Z] 5d3b04190fa2: Waiting [2022-08-15T05:18:29.265Z] 2f39f015ded8: Waiting [2022-08-15T05:18:29.265Z] 5c69ac0246d0: Download complete [2022-08-15T05:18:29.265Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-15T05:18:29.265Z] 3a2ae6a8a46f: Download complete [2022-08-15T05:18:29.265Z] ec43610c2a17: Verifying Checksum [2022-08-15T05:18:29.265Z] ec43610c2a17: Download complete [2022-08-15T05:18:29.526Z] 33b1e0a273af: Verifying Checksum [2022-08-15T05:18:29.526Z] 33b1e0a273af: Download complete [2022-08-15T05:18:29.526Z] 5d3b04190fa2: Verifying Checksum [2022-08-15T05:18:29.526Z] 5d3b04190fa2: Download complete [2022-08-15T05:18:29.526Z] 5eb5b503b376: Verifying Checksum [2022-08-15T05:18:29.526Z] 5eb5b503b376: Download complete [2022-08-15T05:18:30.096Z] 2f39f015ded8: Download complete [2022-08-15T05:18:31.037Z] 5eb5b503b376: Pull complete [2022-08-15T05:18:31.037Z] 5c69ac0246d0: Pull complete [2022-08-15T05:18:31.606Z] ec43610c2a17: Pull complete [2022-08-15T05:18:31.606Z] 3a2ae6a8a46f: Pull complete [2022-08-15T05:18:31.865Z] 33b1e0a273af: Pull complete [2022-08-15T05:18:31.865Z] 5d3b04190fa2: Pull complete [2022-08-15T05:18:37.230Z] 2f39f015ded8: Pull complete [2022-08-15T05:18:37.230Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-15T05:18:37.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:18:37.230Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:18:37.331Z] prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container [2022-08-15T05:18:37.373Z] $ 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-08-15T05:18:38.326Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22779 in /w/workspace/gexfoundry_device-modbus-go_main [2022-08-15T05:18:39.154Z] $ docker top d871e144e95eaa4a57701855195b53a12626b78f2955108176a93960b7867e31 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-08-15T05:18:39.290Z] Running in /w/workspace/device-modbus-go/50 [Pipeline] { [Pipeline] checkout [2022-08-15T05:18:39.328Z] Selected Git installation does not exist. Using Default [2022-08-15T05:18:39.328Z] The recommended git tool is: NONE [2022-08-15T05:18:39.546Z] ---> job-cost.sh [2022-08-15T05:18:39.547Z] lf-activate-venv: SKIPPING [2022-08-15T05:18:39.547Z] INFO: No Stack... [2022-08-15T05:18:39.809Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T05:18:40.379Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T05:18:40.674Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-08-15T05:18:40.675Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T05:18:40.689Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] [2022-08-15T05:18:40.694Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] did not exist. Created. [2022-08-15T05:18:40.694Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T05:18:41.000Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-15T05:18:41.022Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T05:18:41.028Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T05:18:41.049Z] $ docker stop --time=1 d871e144e95eaa4a57701855195b53a12626b78f2955108176a93960b7867e31 [2022-08-15T05:18:42.239Z] $ docker rm -f d871e144e95eaa4a57701855195b53a12626b78f2955108176a93960b7867e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-15T05:18:45.917Z] using credential edgex-jenkins-ssh [2022-08-15T05:18:45.939Z] Cloning the remote Git repository [2022-08-15T05:18:45.993Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-08-15T05:18:46.122Z] > git init /w/workspace/device-modbus-go/50 # timeout=10 [2022-08-15T05:18:47.490Z] Avoid second fetch [2022-08-15T05:18:47.491Z] Checking out Revision 19276090c2e057c4cba34782a88296b78f541de3 (main) [2022-08-15T05:18:46.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-08-15T05:18:46.321Z] > git --version # timeout=10 [2022-08-15T05:18:46.353Z] > git --version # 'git version 2.25.1' [2022-08-15T05:18:46.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T05:18:46.484Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T05:18:47.451Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-08-15T05:18:47.472Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T05:18:47.516Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T05:18:47.540Z] > git checkout -f 19276090c2e057c4cba34782a88296b78f541de3 # timeout=10 [2022-08-15T05:18:51.706Z] Commit message: "Merge pull request #368 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:18:52.620Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-15T05:18:52.620Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T05:18:52.620Z] Dload Upload Total Spent Left Speed [2022-08-15T05:18:52.620Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2022-08-15T05:18:53.354Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-15T05:18:53.701Z] + sudo tee /etc/docker/daemon.new [2022-08-15T05:18:53.701Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-15T05:18:53.701Z] { [2022-08-15T05:18:53.701Z] "registry-mirrors": [ [2022-08-15T05:18:53.701Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-15T05:18:53.701Z] ], [2022-08-15T05:18:53.701Z] "bip": "10.250.0.254/24", [2022-08-15T05:18:53.701Z] "hosts": [ [2022-08-15T05:18:53.701Z] "tcp://0.0.0.0:5555", [2022-08-15T05:18:53.701Z] "unix:///var/run/docker.sock" [2022-08-15T05:18:53.701Z] ], [2022-08-15T05:18:53.701Z] "mtu": 1458, [2022-08-15T05:18:53.701Z] "selinux-enabled": true, [2022-08-15T05:18:53.701Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-15T05:18:53.701Z] } [Pipeline] sh [2022-08-15T05:18:54.046Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-15T05:18:54.389Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:19:12.732Z] provisioning config files... [2022-08-15T05:19:12.758Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config8414529430748304620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:19:13.126Z] ---> docker-login.sh [2022-08-15T05:19:13.126Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:19:13.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:19:14.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:19:14.363Z] Configure a credential helper to remove this warning. See [2022-08-15T05:19:14.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:19:14.363Z] [2022-08-15T05:19:14.363Z] Login Succeeded [2022-08-15T05:19:14.363Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:19:14.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:19:14.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:19:14.985Z] Configure a credential helper to remove this warning. See [2022-08-15T05:19:14.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:19:14.985Z] [2022-08-15T05:19:14.985Z] Login Succeeded [2022-08-15T05:19:14.985Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:19:15.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:19:15.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:19:15.548Z] Configure a credential helper to remove this warning. See [2022-08-15T05:19:15.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:19:15.548Z] [2022-08-15T05:19:15.548Z] Login Succeeded [2022-08-15T05:19:15.548Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:19:15.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:19:16.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:19:16.101Z] Configure a credential helper to remove this warning. See [2022-08-15T05:19:16.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:19:16.101Z] [2022-08-15T05:19:16.101Z] Login Succeeded [2022-08-15T05:19:16.101Z] docker.io [2022-08-15T05:19:16.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:19:16.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:19:16.971Z] Configure a credential helper to remove this warning. See [2022-08-15T05:19:16.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:19:16.971Z] [2022-08-15T05:19:16.971Z] Login Succeeded [2022-08-15T05:19:16.971Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:19:16.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T05:19:17.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:19:17.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:19:17.271Z] ========================================================= [2022-08-15T05:19:17.271Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-15T05:19:17.271Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:19:17.632Z] + 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-08-15T05:19:17.906Z] Sending build context to Docker daemon 3.17MB [2022-08-15T05:19:17.906Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:19:17.906Z] Step 2/10 : FROM ${BASE} AS builder [2022-08-15T05:19:18.184Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-15T05:19:18.184Z] b3c136eddcbf: Pulling fs layer [2022-08-15T05:19:18.184Z] c0a3192eca97: Pulling fs layer [2022-08-15T05:19:18.184Z] a050256f5b6f: Pulling fs layer [2022-08-15T05:19:18.184Z] 656be50a0ddc: Pulling fs layer [2022-08-15T05:19:18.184Z] 2bbca73fdf42: Pulling fs layer [2022-08-15T05:19:18.184Z] 46d945488cbd: Pulling fs layer [2022-08-15T05:19:18.184Z] 8a5474983e97: Pulling fs layer [2022-08-15T05:19:18.184Z] 329c88fbcd65: Pulling fs layer [2022-08-15T05:19:18.184Z] 2bbca73fdf42: Waiting [2022-08-15T05:19:18.184Z] 656be50a0ddc: Waiting [2022-08-15T05:19:18.184Z] 46d945488cbd: Waiting [2022-08-15T05:19:18.184Z] 8a5474983e97: Waiting [2022-08-15T05:19:18.184Z] 329c88fbcd65: Waiting [2022-08-15T05:19:18.184Z] a050256f5b6f: Verifying Checksum [2022-08-15T05:19:18.184Z] a050256f5b6f: Download complete [2022-08-15T05:19:18.184Z] c0a3192eca97: Verifying Checksum [2022-08-15T05:19:18.184Z] c0a3192eca97: Download complete [2022-08-15T05:19:18.184Z] 2bbca73fdf42: Download complete [2022-08-15T05:19:18.184Z] 46d945488cbd: Verifying Checksum [2022-08-15T05:19:18.184Z] 46d945488cbd: Download complete [2022-08-15T05:19:18.184Z] b3c136eddcbf: Verifying Checksum [2022-08-15T05:19:18.184Z] b3c136eddcbf: Download complete [2022-08-15T05:19:19.200Z] b3c136eddcbf: Pull complete [2022-08-15T05:19:19.476Z] 329c88fbcd65: Verifying Checksum [2022-08-15T05:19:19.476Z] 329c88fbcd65: Download complete [2022-08-15T05:19:20.080Z] c0a3192eca97: Pull complete [2022-08-15T05:19:20.356Z] a050256f5b6f: Pull complete [2022-08-15T05:19:20.631Z] 8a5474983e97: Verifying Checksum [2022-08-15T05:19:20.631Z] 8a5474983e97: Download complete [2022-08-15T05:19:21.229Z] 656be50a0ddc: Verifying Checksum [2022-08-15T05:19:21.229Z] 656be50a0ddc: Download complete [2022-08-15T05:19:36.334Z] 656be50a0ddc: Pull complete [2022-08-15T05:19:36.334Z] 2bbca73fdf42: Pull complete [2022-08-15T05:19:36.334Z] 46d945488cbd: Pull complete [2022-08-15T05:19:41.763Z] 8a5474983e97: Pull complete [2022-08-15T05:19:43.207Z] 329c88fbcd65: Pull complete [2022-08-15T05:19:43.207Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-15T05:19:43.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-15T05:19:43.207Z] ---> ff4287adb874 [2022-08-15T05:19:43.207Z] Step 3/10 : ARG MAKE='make build' [2022-08-15T05:19:44.197Z] ---> Running in 4225fb083c46 [2022-08-15T05:19:44.469Z] Removing intermediate container 4225fb083c46 [2022-08-15T05:19:44.469Z] ---> 8556b0ffb315 [2022-08-15T05:19:44.469Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:19:44.745Z] ---> Running in 8802da0ce8d3 [2022-08-15T05:19:48.159Z] Removing intermediate container 8802da0ce8d3 [2022-08-15T05:19:48.159Z] ---> 25e034dc80d2 [2022-08-15T05:19:48.159Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-15T05:19:48.159Z] ---> Running in bbbd0096cf0e [2022-08-15T05:19:48.757Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:19:49.740Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:19:50.730Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T05:19:51.007Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-08-15T05:19:51.007Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T05:19:51.284Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T05:19:51.284Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-08-15T05:19:51.559Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-08-15T05:19:51.559Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-08-15T05:19:51.559Z] (8/8) Installing openssh (9.0_p1-r2) [2022-08-15T05:19:51.837Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T05:19:51.837Z] OK: 228 MiB in 59 packages [2022-08-15T05:19:52.829Z] Removing intermediate container bbbd0096cf0e [2022-08-15T05:19:52.829Z] ---> ed66942c8528 [2022-08-15T05:19:52.829Z] Step 6/10 : WORKDIR /device-modbus-go [2022-08-15T05:19:53.104Z] ---> Running in 5557cdf99985 [2022-08-15T05:19:53.384Z] Removing intermediate container 5557cdf99985 [2022-08-15T05:19:53.384Z] ---> d9c34c16794c [2022-08-15T05:19:53.384Z] Step 7/10 : COPY go.mod vendor* ./ [2022-08-15T05:19:53.993Z] ---> 3a33c5a99f51 [2022-08-15T05:19:53.993Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:19:53.993Z] ---> Running in ee22fb09f050 [2022-08-15T05:20:50.574Z] Removing intermediate container ee22fb09f050 [2022-08-15T05:20:50.574Z] ---> 1a4858d128e6 [2022-08-15T05:20:50.574Z] Step 9/10 : COPY . . [2022-08-15T05:20:50.574Z] ---> fa50d9ee6593 [2022-08-15T05:20:50.574Z] Step 10/10 : RUN ${MAKE} [2022-08-15T05:20:50.574Z] ---> Running in 85fc606db3d3 [2022-08-15T05:20:50.574Z] noop [2022-08-15T05:20:50.574Z] Removing intermediate container 85fc606db3d3 [2022-08-15T05:20:50.574Z] ---> 6b566fb57d91 [2022-08-15T05:20:50.574Z] Successfully built 6b566fb57d91 [2022-08-15T05:20:50.574Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:20:50.945Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T05:20:50.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:20:51.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-22779 does not seem to be running inside a container [2022-08-15T05:20:51.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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-08-15T05:20:52.558Z] $ docker top 81658bd6047943140637f363ab9aca38c67393bcb108ea16152b307dc3529727 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:20:53.496Z] + go version [2022-08-15T05:20:53.496Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-15T05:20:53.527Z] $ docker stop --time=1 81658bd6047943140637f363ab9aca38c67393bcb108ea16152b307dc3529727 [2022-08-15T05:20:55.160Z] $ docker rm -f 81658bd6047943140637f363ab9aca38c67393bcb108ea16152b307dc3529727 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:20:55.782Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T05:20:55.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:20:56.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-22779 does not seem to be running inside a container [2022-08-15T05:20:56.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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-08-15T05:20:57.366Z] $ docker top baea16af13077a1c4aa5e599c3280ec11a7f030503ed04555ce36ece3d5d9be5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:20:58.289Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/50 [Pipeline] fileExists [Pipeline] sh [2022-08-15T05:20:58.963Z] + make test [2022-08-15T05:20:58.963Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-15T05:21:00.411Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-08-15T05:22:22.311Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-08-15T05:22:22.311Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.7% of statements [2022-08-15T05:22:22.586Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-15T05:22:22.586Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T05:22:44.818Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T05:22:44.818Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T05:22:44.818Z] ./bin/test-attribution-txt.sh [2022-08-15T05:22:44.818Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T05:22:44.818Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T05:22:44.818Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T05:22:44.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T05:22:44.858Z] $ docker stop --time=1 baea16af13077a1c4aa5e599c3280ec11a7f030503ed04555ce36ece3d5d9be5 [2022-08-15T05:22:46.695Z] $ docker rm -f baea16af13077a1c4aa5e599c3280ec11a7f030503ed04555ce36ece3d5d9be5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:22:47.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T05:22:47.711Z] Warning: overwriting stash ‘coverage-report’ [2022-08-15T05:22:48.374Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:22:48.793Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T05:22:49.156Z] + ls -al . [2022-08-15T05:22:49.156Z] total 184 [2022-08-15T05:22:49.156Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 05:20 . [2022-08-15T05:22:49.156Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:18 .. [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 05:18 .dockerignore [2022-08-15T05:22:49.156Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:18 .git [2022-08-15T05:22:49.156Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:18 .github [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 15 05:18 .gitignore [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:18 .golangci.yml [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 9744 Aug 15 05:18 Attribution.txt [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 10001 Aug 15 05:18 CHANGELOG.md [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 1550 Aug 15 05:18 Dockerfile [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:18 GOVERNANCE.md [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 05:18 Jenkinsfile [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:18 LICENSE [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 1892 Aug 15 05:18 Makefile [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 05:18 OWNERS.md [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 3397 Aug 15 05:18 README.md [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 05:16 VERSION [2022-08-15T05:22:49.156Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:18 bin [2022-08-15T05:22:49.156Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:18 cmd [2022-08-15T05:22:49.156Z] -rw-r--r-- 1 jenkins jenkins 23241 Aug 15 05:22 coverage.out [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 3572 Aug 15 05:18 go.mod [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 37058 Aug 15 05:18 go.sum [2022-08-15T05:22:49.156Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:18 internal [2022-08-15T05:22:49.156Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:18 simulator [2022-08-15T05:22:49.156Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:18 snap [2022-08-15T05:22:49.156Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 15 05:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:22:49.541Z] + 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=19276090c2e057c4cba34782a88296b78f541de3 --label arch=arm64 --label version=2.3.0-dev.11 . [2022-08-15T05:22:49.825Z] Sending build context to Docker daemon 3.194MB [2022-08-15T05:22:50.105Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:22:50.105Z] Step 2/23 : FROM ${BASE} AS builder [2022-08-15T05:22:50.105Z] ---> 6b566fb57d91 [2022-08-15T05:22:50.105Z] Step 3/23 : ARG MAKE='make build' [2022-08-15T05:22:50.105Z] ---> Running in acc0d78008f2 [2022-08-15T05:22:50.377Z] Removing intermediate container acc0d78008f2 [2022-08-15T05:22:50.377Z] ---> 2d3d88e496ba [2022-08-15T05:22:50.377Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:22:50.377Z] ---> Running in 39a84b91e28d [2022-08-15T05:22:52.372Z] Removing intermediate container 39a84b91e28d [2022-08-15T05:22:52.372Z] ---> eddd66b85d6b [2022-08-15T05:22:52.372Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-15T05:22:52.372Z] ---> Running in c4d333b0e51f [2022-08-15T05:22:53.350Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:22:54.327Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:22:55.303Z] OK: 228 MiB in 59 packages [2022-08-15T05:22:56.286Z] Removing intermediate container c4d333b0e51f [2022-08-15T05:22:56.286Z] ---> 656ba0420485 [2022-08-15T05:22:56.286Z] Step 6/23 : WORKDIR /device-modbus-go [2022-08-15T05:22:56.286Z] ---> Running in 79400919dd30 [2022-08-15T05:22:56.561Z] Removing intermediate container 79400919dd30 [2022-08-15T05:22:56.561Z] ---> 1d229177b657 [2022-08-15T05:22:56.561Z] Step 7/23 : COPY go.mod vendor* ./ [2022-08-15T05:22:57.157Z] ---> af742a502646 [2022-08-15T05:22:57.157Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:22:57.157Z] ---> Running in 76097a031907 [2022-08-15T05:22:59.135Z] Removing intermediate container 76097a031907 [2022-08-15T05:22:59.135Z] ---> 0514f5203e3b [2022-08-15T05:22:59.135Z] Step 9/23 : COPY . . [2022-08-15T05:23:00.115Z] ---> f73d39df5925 [2022-08-15T05:23:00.115Z] Step 10/23 : RUN ${MAKE} [2022-08-15T05:23:00.115Z] ---> Running in 2e29b75f8fad [2022-08-15T05:23:01.100Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-08-15T05:25:23.016Z] Removing intermediate container 2e29b75f8fad [2022-08-15T05:25:23.016Z] ---> 4dbb2eb92182 [2022-08-15T05:25:23.016Z] Step 11/23 : FROM alpine:3.14 [2022-08-15T05:25:23.016Z] 3.14: Pulling from library/alpine [2022-08-15T05:25:23.016Z] 90cda3b7c325: Pulling fs layer [2022-08-15T05:25:23.016Z] 90cda3b7c325: Verifying Checksum [2022-08-15T05:25:23.016Z] 90cda3b7c325: Download complete [2022-08-15T05:25:23.016Z] 90cda3b7c325: Pull complete [2022-08-15T05:25:23.016Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-08-15T05:25:23.016Z] Status: Downloaded newer image for alpine:3.14 [2022-08-15T05:25:23.016Z] ---> 376ba31ae3da [2022-08-15T05:25:23.016Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-08-15T05:25:23.016Z] ---> Running in b21b86fa2f85 [2022-08-15T05:25:23.016Z] Removing intermediate container b21b86fa2f85 [2022-08-15T05:25:23.016Z] ---> bbcd7657492d [2022-08-15T05:25:23.016Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:25:23.016Z] ---> Running in 8ac375892931 [2022-08-15T05:25:23.016Z] Removing intermediate container 8ac375892931 [2022-08-15T05:25:23.016Z] ---> e6ab55e20349 [2022-08-15T05:25:23.016Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T05:25:23.016Z] ---> Running in a60d062ffcb2 [2022-08-15T05:25:23.016Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:25:23.016Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:25:23.016Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T05:25:23.016Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-08-15T05:25:23.016Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T05:25:23.016Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-08-15T05:25:23.016Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T05:25:23.017Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T05:25:23.017Z] Executing busybox-1.33.1-r8.trigger [2022-08-15T05:25:23.017Z] OK: 8 MiB in 20 packages [2022-08-15T05:25:23.017Z] Removing intermediate container a60d062ffcb2 [2022-08-15T05:25:23.017Z] ---> 02c040399e21 [2022-08-15T05:25:23.017Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-08-15T05:25:23.017Z] ---> b441db47c5b3 [2022-08-15T05:25:23.017Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-08-15T05:25:23.017Z] ---> ae160ec9551d [2022-08-15T05:25:23.017Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-08-15T05:25:23.017Z] ---> 3218ff1e156f [2022-08-15T05:25:23.017Z] Step 18/23 : EXPOSE 59901 [2022-08-15T05:25:23.017Z] ---> Running in e4384cd6a78d [2022-08-15T05:25:23.017Z] Removing intermediate container e4384cd6a78d [2022-08-15T05:25:23.017Z] ---> 91a2d6c2a6c3 [2022-08-15T05:25:23.017Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-08-15T05:25:23.017Z] ---> Running in 9d4960b04113 [2022-08-15T05:25:23.017Z] Removing intermediate container 9d4960b04113 [2022-08-15T05:25:23.017Z] ---> dfddcc8f4e93 [2022-08-15T05:25:23.017Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T05:25:23.017Z] ---> Running in 36d6e55cf769 [2022-08-15T05:25:23.017Z] Removing intermediate container 36d6e55cf769 [2022-08-15T05:25:23.017Z] ---> ecc99e422e90 [2022-08-15T05:25:23.017Z] Step 21/23 : LABEL arch=arm64 [2022-08-15T05:25:23.017Z] ---> Running in 8be0d88f6321 [2022-08-15T05:25:23.017Z] Removing intermediate container 8be0d88f6321 [2022-08-15T05:25:23.017Z] ---> e12a8e6d8f34 [2022-08-15T05:25:23.017Z] Step 22/23 : LABEL git_sha=19276090c2e057c4cba34782a88296b78f541de3 [2022-08-15T05:25:23.017Z] ---> Running in b45c07bfcf73 [2022-08-15T05:25:23.616Z] Removing intermediate container b45c07bfcf73 [2022-08-15T05:25:23.616Z] ---> a8ca43110879 [2022-08-15T05:25:23.616Z] Step 23/23 : LABEL version=2.3.0-dev.11 [2022-08-15T05:25:23.616Z] ---> Running in 36fa0156b4b4 [2022-08-15T05:25:23.892Z] Removing intermediate container 36fa0156b4b4 [2022-08-15T05:25:23.892Z] ---> cfc47544aef6 [2022-08-15T05:25:23.892Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T05:25:23.892Z] Successfully built cfc47544aef6 [2022-08-15T05:25:23.892Z] 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-08-15T05:25:24.016Z] provisioning config files... [2022-08-15T05:25:24.032Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config7834256532559372269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:25:24.388Z] ---> docker-login.sh [2022-08-15T05:25:24.388Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:25:24.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:25:24.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:25:24.660Z] Configure a credential helper to remove this warning. See [2022-08-15T05:25:24.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:25:24.660Z] [2022-08-15T05:25:24.660Z] Login Succeeded [2022-08-15T05:25:24.660Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:25:24.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:25:25.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:25:25.204Z] Configure a credential helper to remove this warning. See [2022-08-15T05:25:25.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:25:25.204Z] [2022-08-15T05:25:25.204Z] Login Succeeded [2022-08-15T05:25:25.204Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:25:25.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:25:25.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:25:25.477Z] Configure a credential helper to remove this warning. See [2022-08-15T05:25:25.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:25:25.477Z] [2022-08-15T05:25:25.477Z] Login Succeeded [2022-08-15T05:25:25.477Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:25:26.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:25:26.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:25:26.068Z] Configure a credential helper to remove this warning. See [2022-08-15T05:25:26.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:25:26.068Z] [2022-08-15T05:25:26.068Z] Login Succeeded [2022-08-15T05:25:26.068Z] docker.io [2022-08-15T05:25:26.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:25:26.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:25:26.609Z] Configure a credential helper to remove this warning. See [2022-08-15T05:25:26.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:25:26.609Z] [2022-08-15T05:25:26.609Z] Login Succeeded [2022-08-15T05:25:26.609Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:25:26.626Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T05:25:26.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:25:26.678Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-08-15T05:25:26.678Z] 19276090c2e057c4cba34782a88296b78f541de3 [2022-08-15T05:25:26.678Z] latest [2022-08-15T05:25:26.678Z] 2.3.0-dev.11 [2022-08-15T05:25:26.678Z] 19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 [2022-08-15T05:25:26.678Z] main [2022-08-15T05:25:26.678Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:27.022Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:27.382Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3 [2022-08-15T05:25:27.382Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-08-15T05:25:27.382Z] ea2323fa8f2f: Preparing [2022-08-15T05:25:27.382Z] 66d5d71f4a6c: Preparing [2022-08-15T05:25:27.382Z] e8e9d2d6bb23: Preparing [2022-08-15T05:25:27.382Z] fbc9409efd30: Preparing [2022-08-15T05:25:27.382Z] c6e4c490cecf: Preparing [2022-08-15T05:25:27.382Z] 28c3ef001483: Preparing [2022-08-15T05:25:27.382Z] 28c3ef001483: Waiting [2022-08-15T05:25:27.657Z] 66d5d71f4a6c: Pushed [2022-08-15T05:25:27.657Z] c6e4c490cecf: Pushed [2022-08-15T05:25:27.657Z] ea2323fa8f2f: Pushed [2022-08-15T05:25:28.257Z] fbc9409efd30: Pushed [2022-08-15T05:25:29.230Z] 28c3ef001483: Pushed [2022-08-15T05:25:33.608Z] e8e9d2d6bb23: Pushed [2022-08-15T05:25:33.608Z] 19276090c2e057c4cba34782a88296b78f541de3: digest: sha256:1990db389088c2064fc1b45fe32fd59c09fc44c565e5bb5f584384871900598e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:33.968Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:34.333Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-08-15T05:25:34.333Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-08-15T05:25:34.333Z] ea2323fa8f2f: Preparing [2022-08-15T05:25:34.333Z] 66d5d71f4a6c: Preparing [2022-08-15T05:25:34.333Z] e8e9d2d6bb23: Preparing [2022-08-15T05:25:34.333Z] fbc9409efd30: Preparing [2022-08-15T05:25:34.333Z] c6e4c490cecf: Preparing [2022-08-15T05:25:34.333Z] 28c3ef001483: Preparing [2022-08-15T05:25:34.333Z] 28c3ef001483: Waiting [2022-08-15T05:25:34.333Z] fbc9409efd30: Layer already exists [2022-08-15T05:25:34.333Z] e8e9d2d6bb23: Layer already exists [2022-08-15T05:25:34.333Z] 66d5d71f4a6c: Layer already exists [2022-08-15T05:25:34.333Z] c6e4c490cecf: Layer already exists [2022-08-15T05:25:34.333Z] ea2323fa8f2f: Layer already exists [2022-08-15T05:25:34.333Z] 28c3ef001483: Layer already exists [2022-08-15T05:25:34.606Z] latest: digest: sha256:1990db389088c2064fc1b45fe32fd59c09fc44c565e5bb5f584384871900598e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:34.966Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:35.328Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.11 [2022-08-15T05:25:35.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-08-15T05:25:35.328Z] ea2323fa8f2f: Preparing [2022-08-15T05:25:35.328Z] 66d5d71f4a6c: Preparing [2022-08-15T05:25:35.328Z] e8e9d2d6bb23: Preparing [2022-08-15T05:25:35.328Z] fbc9409efd30: Preparing [2022-08-15T05:25:35.328Z] c6e4c490cecf: Preparing [2022-08-15T05:25:35.328Z] 28c3ef001483: Preparing [2022-08-15T05:25:35.328Z] 28c3ef001483: Waiting [2022-08-15T05:25:35.328Z] ea2323fa8f2f: Layer already exists [2022-08-15T05:25:35.328Z] 66d5d71f4a6c: Layer already exists [2022-08-15T05:25:35.328Z] c6e4c490cecf: Layer already exists [2022-08-15T05:25:35.328Z] fbc9409efd30: Layer already exists [2022-08-15T05:25:35.328Z] e8e9d2d6bb23: Layer already exists [2022-08-15T05:25:35.328Z] 28c3ef001483: Layer already exists [2022-08-15T05:25:35.602Z] 2.3.0-dev.11: digest: sha256:1990db389088c2064fc1b45fe32fd59c09fc44c565e5bb5f584384871900598e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:35.967Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:36.326Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 [2022-08-15T05:25:36.327Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-08-15T05:25:36.327Z] ea2323fa8f2f: Preparing [2022-08-15T05:25:36.327Z] 66d5d71f4a6c: Preparing [2022-08-15T05:25:36.327Z] e8e9d2d6bb23: Preparing [2022-08-15T05:25:36.327Z] fbc9409efd30: Preparing [2022-08-15T05:25:36.327Z] c6e4c490cecf: Preparing [2022-08-15T05:25:36.327Z] 28c3ef001483: Preparing [2022-08-15T05:25:36.327Z] 28c3ef001483: Waiting [2022-08-15T05:25:36.327Z] ea2323fa8f2f: Layer already exists [2022-08-15T05:25:36.327Z] e8e9d2d6bb23: Layer already exists [2022-08-15T05:25:36.327Z] c6e4c490cecf: Layer already exists [2022-08-15T05:25:36.327Z] fbc9409efd30: Layer already exists [2022-08-15T05:25:36.327Z] 66d5d71f4a6c: Layer already exists [2022-08-15T05:25:36.327Z] 28c3ef001483: Layer already exists [2022-08-15T05:25:36.597Z] 19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11: digest: sha256:1990db389088c2064fc1b45fe32fd59c09fc44c565e5bb5f584384871900598e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:36.967Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:37.325Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-08-15T05:25:37.325Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-08-15T05:25:37.325Z] ea2323fa8f2f: Preparing [2022-08-15T05:25:37.325Z] 66d5d71f4a6c: Preparing [2022-08-15T05:25:37.325Z] e8e9d2d6bb23: Preparing [2022-08-15T05:25:37.325Z] fbc9409efd30: Preparing [2022-08-15T05:25:37.325Z] c6e4c490cecf: Preparing [2022-08-15T05:25:37.325Z] 28c3ef001483: Preparing [2022-08-15T05:25:37.325Z] 28c3ef001483: Waiting [2022-08-15T05:25:37.325Z] e8e9d2d6bb23: Layer already exists [2022-08-15T05:25:37.325Z] 66d5d71f4a6c: Layer already exists [2022-08-15T05:25:37.325Z] c6e4c490cecf: Layer already exists [2022-08-15T05:25:37.325Z] ea2323fa8f2f: Layer already exists [2022-08-15T05:25:37.325Z] fbc9409efd30: Layer already exists [2022-08-15T05:25:37.325Z] 28c3ef001483: Layer already exists [2022-08-15T05:25:37.599Z] main: digest: sha256:1990db389088c2064fc1b45fe32fd59c09fc44c565e5bb5f584384871900598e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T05:25:37.663Z] ===================================================== [Pipeline] echo [2022-08-15T05:25:37.672Z] taggedImages: [2022-08-15T05:25:37.672Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3 [2022-08-15T05:25:37.672Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-08-15T05:25:37.672Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.11 [2022-08-15T05:25:37.672Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 [2022-08-15T05:25:37.672Z] - 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-08-15T05:25:38.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:25:38.041Z] [2022-08-15T05:25:38.041Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:25:38.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:25:38.668Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-15T05:25:38.668Z] 8998bd30e6a1: Pulling fs layer [2022-08-15T05:25:38.668Z] 04944245beec: Pulling fs layer [2022-08-15T05:25:38.668Z] 699f458cf7ca: Pulling fs layer [2022-08-15T05:25:38.668Z] 765212b225bb: Pulling fs layer [2022-08-15T05:25:38.668Z] f23df028b6ca: Pulling fs layer [2022-08-15T05:25:38.668Z] d65c8cfc05b1: Pulling fs layer [2022-08-15T05:25:38.668Z] 2437ff75d9bd: Pulling fs layer [2022-08-15T05:25:38.668Z] f23df028b6ca: Waiting [2022-08-15T05:25:38.668Z] d65c8cfc05b1: Waiting [2022-08-15T05:25:38.668Z] 2437ff75d9bd: Waiting [2022-08-15T05:25:38.668Z] 765212b225bb: Waiting [2022-08-15T05:25:38.668Z] 04944245beec: Verifying Checksum [2022-08-15T05:25:38.668Z] 04944245beec: Download complete [2022-08-15T05:25:38.668Z] 765212b225bb: Download complete [2022-08-15T05:25:38.668Z] f23df028b6ca: Verifying Checksum [2022-08-15T05:25:38.668Z] f23df028b6ca: Download complete [2022-08-15T05:25:38.668Z] d65c8cfc05b1: Verifying Checksum [2022-08-15T05:25:38.668Z] d65c8cfc05b1: Download complete [2022-08-15T05:25:38.943Z] 699f458cf7ca: Verifying Checksum [2022-08-15T05:25:38.943Z] 699f458cf7ca: Download complete [2022-08-15T05:25:39.219Z] 8998bd30e6a1: Verifying Checksum [2022-08-15T05:25:39.219Z] 8998bd30e6a1: Download complete [2022-08-15T05:25:41.863Z] 2437ff75d9bd: Download complete [2022-08-15T05:25:43.843Z] 8998bd30e6a1: Pull complete [2022-08-15T05:25:43.843Z] 04944245beec: Pull complete [2022-08-15T05:25:45.276Z] 699f458cf7ca: Pull complete [2022-08-15T05:25:45.551Z] 765212b225bb: Pull complete [2022-08-15T05:25:46.532Z] f23df028b6ca: Pull complete [2022-08-15T05:25:46.807Z] d65c8cfc05b1: Pull complete [2022-08-15T05:26:01.899Z] 2437ff75d9bd: Pull complete [2022-08-15T05:26:01.899Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-15T05:26:01.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:26:01.899Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:26:02.145Z] prd-ubuntu20.04-docker-arm64-4c-16g-22779 does not seem to be running inside a container [2022-08-15T05:26:02.238Z] $ 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/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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-08-15T05:26:04.929Z] $ docker top 15188a9a0789775fed3b57bc4b6a29a3a2ccc8f695ccb4399d7a72090197f99a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:26:05.808Z] ---> job-cost.sh [2022-08-15T05:26:05.808Z] lf-activate-venv: SKIPPING [2022-08-15T05:26:05.808Z] INFO: No Stack... [2022-08-15T05:26:06.399Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-15T05:26:06.990Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T05:26:07.643Z] + cut -d, -f6 [2022-08-15T05:26:07.643Z] + cat /w/workspace/device-modbus-go/50/archives/cost.csv [Pipeline] lock [2022-08-15T05:26:07.672Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] [2022-08-15T05:26:07.678Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] did not exist. Created. [2022-08-15T05:26:07.679Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T05:26:08.337Z] /w/workspace/device-modbus-go/50@tmp/durable-7b94083d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-15T05:26:09.004Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-15T05:26:09.030Z] Warning: overwriting stash ‘stack-cost’ [2022-08-15T05:26:09.076Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T05:26:09.082Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T05:26:09.108Z] $ docker stop --time=1 15188a9a0789775fed3b57bc4b6a29a3a2ccc8f695ccb4399d7a72090197f99a [2022-08-15T05:26:10.586Z] $ docker rm -f 15188a9a0789775fed3b57bc4b6a29a3a2ccc8f695ccb4399d7a72090197f99a [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-08-15T05:26:11.014Z] provisioning config files... [2022-08-15T05:26:11.023Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7270170431942718718tmp [Pipeline] { [Pipeline] sh [2022-08-15T05:26:11.317Z] + set +x [2022-08-15T05:26:11.317Z] + curl -s https://codecov.io/bash [2022-08-15T05:26:11.317Z] + bash -s -- [2022-08-15T05:26:11.317Z] [2022-08-15T05:26:11.317Z] _____ _ [2022-08-15T05:26:11.317Z] / ____| | | [2022-08-15T05:26:11.317Z] | | ___ __| | ___ ___ _____ __ [2022-08-15T05:26:11.317Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-15T05:26:11.317Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-15T05:26:11.317Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-15T05:26:11.317Z] Bash-1.0.6 [2022-08-15T05:26:11.317Z] [2022-08-15T05:26:11.317Z] [2022-08-15T05:26:11.317Z] ==> git version 2.25.1 found [2022-08-15T05:26:11.317Z] ==> 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-08-15T05:26:11.317Z] Release-Date: 2020-01-08 [2022-08-15T05:26:11.317Z] 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-08-15T05:26:11.317Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-15T05:26:11.317Z] ==> Jenkins CI detected. [2022-08-15T05:26:11.317Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-08-15T05:26:11.318Z] project root: . [2022-08-15T05:26:11.318Z] --> token set from env [2022-08-15T05:26:11.318Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-15T05:26:11.318Z] ==> Running gcov in . (disable via -X gcov) [2022-08-15T05:26:11.318Z] ==> Python coveragepy not found [2022-08-15T05:26:11.318Z] ==> Searching for coverage reports in: [2022-08-15T05:26:11.318Z] + . [2022-08-15T05:26:11.318Z] -> Found 1 reports [2022-08-15T05:26:11.318Z] ==> Detecting git/mercurial file structure [2022-08-15T05:26:11.318Z] ==> Reading reports [2022-08-15T05:26:11.318Z] + ./coverage.out bytes=23241 [2022-08-15T05:26:11.318Z] ==> Appending adjustments [2022-08-15T05:26:11.318Z] https://docs.codecov.io/docs/fixing-reports [2022-08-15T05:26:11.578Z] + Found adjustments [2022-08-15T05:26:11.578Z] ==> Gzipping contents [2022-08-15T05:26:11.578Z] 4.0K /tmp/codecov.2Tzw9T.gz [2022-08-15T05:26:11.578Z] ==> Uploading reports [2022-08-15T05:26:11.578Z] url: https://codecov.io [2022-08-15T05:26:11.578Z] query: branch=main&commit=19276090c2e057c4cba34782a88296b78f541de3&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-15T05:26:11.578Z] -> Pinging Codecov [2022-08-15T05:26:11.578Z] 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=19276090c2e057c4cba34782a88296b78f541de3&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-15T05:26:11.839Z] -> Uploading to [2022-08-15T05:26:11.839Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-15/55DBCA73C666E3227836607328DD7E49/19276090c2e057c4cba34782a88296b78f541de3/c3787d37-c44c-4613-8fc8-6e1eb8383f58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T052611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2347585c039d86ad9ae3d0224f1cca00b1e35fa81c97b4f5aa337fcacae40d42 [2022-08-15T05:26:11.839Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T05:26:11.839Z] Dload Upload Total Spent Left Speed [2022-08-15T05:26:12.100Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3937 0 0 100 3937 0 16542 --:--:-- --:--:-- --:--:-- 16542 [2022-08-15T05:26:12.100Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] } [2022-08-15T05:26:12.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-08-15T05:26:12.303Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-08-15T05:26:12.313Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:26:12.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-15T05:26:12.614Z] [2022-08-15T05:26:12.614Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:26:12.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-15T05:26:12.925Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-08-15T05:26:12.925Z] df9b9388f04a: Pulling fs layer [2022-08-15T05:26:12.925Z] 52dc419b0ee2: Pulling fs layer [2022-08-15T05:26:12.925Z] 25bc292e5bac: Pulling fs layer [2022-08-15T05:26:12.925Z] 114826534d7a: Pulling fs layer [2022-08-15T05:26:12.925Z] 4657fd5d0bcf: Pulling fs layer [2022-08-15T05:26:12.925Z] 6ad1cebc031e: Pulling fs layer [2022-08-15T05:26:12.925Z] 8a3aa393b2d8: Pulling fs layer [2022-08-15T05:26:12.925Z] 4657fd5d0bcf: Waiting [2022-08-15T05:26:12.925Z] 6ad1cebc031e: Waiting [2022-08-15T05:26:12.925Z] 114826534d7a: Waiting [2022-08-15T05:26:12.925Z] 8a3aa393b2d8: Waiting [2022-08-15T05:26:12.925Z] 25bc292e5bac: Verifying Checksum [2022-08-15T05:26:12.925Z] 25bc292e5bac: Download complete [2022-08-15T05:26:13.189Z] 52dc419b0ee2: Verifying Checksum [2022-08-15T05:26:13.189Z] 52dc419b0ee2: Download complete [2022-08-15T05:26:13.189Z] 4657fd5d0bcf: Download complete [2022-08-15T05:26:13.189Z] df9b9388f04a: Download complete [2022-08-15T05:26:13.189Z] 6ad1cebc031e: Verifying Checksum [2022-08-15T05:26:13.190Z] 6ad1cebc031e: Download complete [2022-08-15T05:26:13.190Z] df9b9388f04a: Pull complete [2022-08-15T05:26:13.463Z] 52dc419b0ee2: Pull complete [2022-08-15T05:26:13.463Z] 25bc292e5bac: Pull complete [2022-08-15T05:26:13.730Z] 114826534d7a: Verifying Checksum [2022-08-15T05:26:13.730Z] 114826534d7a: Download complete [2022-08-15T05:26:13.990Z] 8a3aa393b2d8: Verifying Checksum [2022-08-15T05:26:13.990Z] 8a3aa393b2d8: Download complete [2022-08-15T05:26:18.193Z] 114826534d7a: Pull complete [2022-08-15T05:26:18.193Z] 4657fd5d0bcf: Pull complete [2022-08-15T05:26:18.193Z] 6ad1cebc031e: Pull complete [2022-08-15T05:26:20.745Z] 8a3aa393b2d8: Pull complete [2022-08-15T05:26:20.745Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-08-15T05:26:20.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-15T05:26:20.745Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:26:20.843Z] prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container [2022-08-15T05:26:20.879Z] $ 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-08-15T05:26:23.012Z] $ docker top 4501e93260a6061e29e4696fc043e9f4ae3ce620983f5cfe4520ffb78cdb1a6b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-08-15T05:26:23.090Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-08-15T05:26:23.371Z] + set -o pipefail [2022-08-15T05:26:23.371Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-08-15T05:26:28.692Z] [2022-08-15T05:26:28.692Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-08-15T05:26:28.692Z] [2022-08-15T05:26:28.692Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/fd7d0305-0bbf-4623-8370-307f32402df0 [2022-08-15T05:26:28.692Z] [2022-08-15T05:26:28.692Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-08-15T05:26:28.692Z] [2022-08-15T05:26:28.692Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-08-15T05:26:28.692Z] [2022-08-15T05:26:28.692Z] [Pipeline] } [2022-08-15T05:26:28.708Z] $ docker stop --time=1 4501e93260a6061e29e4696fc043e9f4ae3ce620983f5cfe4520ffb78cdb1a6b [2022-08-15T05:26:30.896Z] $ docker rm -f 4501e93260a6061e29e4696fc043e9f4ae3ce620983f5cfe4520ffb78cdb1a6b [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-08-15T05:26:31.662Z] + git log --format=format:%s -1 19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] sh [2022-08-15T05:26:31.956Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T05:26:31.956Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:26:32.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:26:32.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:26:32.347Z] prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container [2022-08-15T05:26:32.383Z] $ 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-08-15T05:26:32.795Z] $ docker top e3b844989f6abc8b74a1e5b390e4d603bc26743d54f8ffd1d83de1e90a93247f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T05:26:32.901Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:26:32.901Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:26:33.048Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:26:33.051Z] $ docker exec e3b844989f6abc8b74a1e5b390e4d603bc26743d54f8ffd1d83de1e90a93247f ssh-agent [2022-08-15T05:26:33.188Z] SSH_AUTH_SOCK=/tmp/ssh-yia01W01Ioub/agent.33 [2022-08-15T05:26:33.188Z] SSH_AGENT_PID=39 [2022-08-15T05:26:33.195Z] Running ssh-add (command line suppressed) [2022-08-15T05:26:33.316Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6623459872778698362.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6623459872778698362.key) [2022-08-15T05:26:33.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:26:33.624Z] + git semver tag [2022-08-15T05:26:33.886Z] 2022-08-15 05:26:33,831 [run_tag] DEBUG tag force:False [2022-08-15T05:26:33.886Z] 2022-08-15 05:26:33,831 [check_head_tag] DEBUG check head tag [2022-08-15T05:26:33.886Z] 2022-08-15 05:26:33,832 [execute] INFO git cat-file --batch-check [2022-08-15T05:26:33.886Z] 2022-08-15 05:26:33,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-08-15T05:26:33.886Z] 2022-08-15 05:26:33,836 [execute] INFO git cat-file --batch [2022-08-15T05:26:33.886Z] 2022-08-15 05:26:33,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-08-15T05:26:33.886Z] 2022-08-15 05:26:33,849 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-15T05:26:33.886Z] 2022-08-15 05:26:33,849 [execute] INFO git tag -a v2.3.0-dev.11 -m v2.3.0-dev.11 [2022-08-15T05:26:33.886Z] 2022-08-15 05:26:33,850 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.11', '-m', 'v2.3.0-dev.11'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-15T05:26:33.886Z] 2022-08-15 05:26:33,856 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-15T05:26:33.886Z] 2.3.0-dev.11 [Pipeline] } [2022-08-15T05:26:33.898Z] $ docker exec --env ******** --env ******** e3b844989f6abc8b74a1e5b390e4d603bc26743d54f8ffd1d83de1e90a93247f ssh-agent -k [2022-08-15T05:26:34.022Z] unset SSH_AUTH_SOCK; [2022-08-15T05:26:34.023Z] unset SSH_AGENT_PID; [2022-08-15T05:26:34.023Z] echo Agent pid 39 killed; [2022-08-15T05:26:34.035Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T05:26:34.349Z] + git semver [Pipeline] } [2022-08-15T05:26:34.627Z] $ docker stop --time=1 e3b844989f6abc8b74a1e5b390e4d603bc26743d54f8ffd1d83de1e90a93247f [2022-08-15T05:26:35.959Z] $ docker rm -f e3b844989f6abc8b74a1e5b390e4d603bc26743d54f8ffd1d83de1e90a93247f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:26:36.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-15T05:26:36.361Z] [2022-08-15T05:26:36.361Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:26:36.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-15T05:26:36.669Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-08-15T05:26:36.669Z] ab5ef0e58194: Pulling fs layer [2022-08-15T05:26:36.669Z] 9712f1f96733: Pulling fs layer [2022-08-15T05:26:36.669Z] 63f879dbbcfc: Pulling fs layer [2022-08-15T05:26:36.669Z] 0d9ebad4ef96: Pulling fs layer [2022-08-15T05:26:36.669Z] e9a5061849ea: Pulling fs layer [2022-08-15T05:26:36.669Z] d747dcd14b5f: Pulling fs layer [2022-08-15T05:26:36.669Z] 2de7ff778b66: Pulling fs layer [2022-08-15T05:26:36.669Z] 2de7ff778b66: Waiting [2022-08-15T05:26:36.669Z] e9a5061849ea: Waiting [2022-08-15T05:26:36.669Z] d747dcd14b5f: Waiting [2022-08-15T05:26:36.669Z] 9712f1f96733: Verifying Checksum [2022-08-15T05:26:36.669Z] 9712f1f96733: Download complete [2022-08-15T05:26:36.931Z] 63f879dbbcfc: Verifying Checksum [2022-08-15T05:26:36.931Z] 63f879dbbcfc: Download complete [2022-08-15T05:26:37.192Z] 0d9ebad4ef96: Verifying Checksum [2022-08-15T05:26:37.192Z] 0d9ebad4ef96: Download complete [2022-08-15T05:26:37.192Z] e9a5061849ea: Verifying Checksum [2022-08-15T05:26:37.192Z] e9a5061849ea: Download complete [2022-08-15T05:26:37.192Z] d747dcd14b5f: Download complete [2022-08-15T05:26:37.192Z] ab5ef0e58194: Verifying Checksum [2022-08-15T05:26:37.192Z] ab5ef0e58194: Download complete [2022-08-15T05:26:37.452Z] 2de7ff778b66: Verifying Checksum [2022-08-15T05:26:37.452Z] 2de7ff778b66: Download complete [2022-08-15T05:26:40.747Z] ab5ef0e58194: Pull complete [2022-08-15T05:26:40.747Z] 9712f1f96733: Pull complete [2022-08-15T05:26:41.007Z] 63f879dbbcfc: Pull complete [2022-08-15T05:26:46.285Z] 0d9ebad4ef96: Pull complete [2022-08-15T05:26:46.285Z] e9a5061849ea: Pull complete [2022-08-15T05:26:46.285Z] d747dcd14b5f: Pull complete [2022-08-15T05:26:47.223Z] 2de7ff778b66: Pull complete [2022-08-15T05:26:47.223Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-08-15T05:26:47.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-15T05:26:47.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:26:47.317Z] prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container [2022-08-15T05:26:47.355Z] $ 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-08-15T05:26:49.375Z] $ docker top 05a1cab1db2e7d01cb534c4a7717a087bbad491bf4351bf47472571133bdc09c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:26:49.454Z] provisioning config files... [2022-08-15T05:26:49.461Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5651254069094044970tmp [2022-08-15T05:26:49.472Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3636821995690163448tmp [2022-08-15T05:26:49.483Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3240596953186801549tmp [Pipeline] { [Pipeline] echo [2022-08-15T05:26:49.499Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:26:49.780Z] ---> sigul-configuration.sh [2022-08-15T05:26:49.780Z] gpg: directory `/root/.gnupg' created [2022-08-15T05:26:49.780Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-08-15T05:26:49.780Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-08-15T05:26:49.780Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-08-15T05:26:49.780Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-08-15T05:26:49.780Z] gpg: CAST5 encrypted data [2022-08-15T05:26:49.780Z] gpg: encrypted with 1 passphrase [2022-08-15T05:26:49.780Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-08-15T05:26:50.071Z] + mkdir /home/jenkins [2022-08-15T05:26:50.071Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-08-15T05:26:50.360Z] + 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-08-15T05:26:50.369Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:26:50.654Z] ---> sigul-install.sh [2022-08-15T05:26:50.654Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-08-15T05:26:50.944Z] + git tag --list [2022-08-15T05:26:50.944Z] 0.7.1 [2022-08-15T05:26:50.944Z] v1.0.0 [2022-08-15T05:26:50.944Z] v1.1.0 [2022-08-15T05:26:50.944Z] v1.1.1 [2022-08-15T05:26:50.944Z] v1.2.2 [2022-08-15T05:26:50.944Z] v1.3.0 [2022-08-15T05:26:50.944Z] v1.3.1 [2022-08-15T05:26:50.944Z] v2.0.0 [2022-08-15T05:26:50.944Z] v2.1.0 [2022-08-15T05:26:50.944Z] v2.1.1 [2022-08-15T05:26:50.944Z] v2.1.1-dev.1 [2022-08-15T05:26:50.944Z] v2.1.1-dev.2 [2022-08-15T05:26:50.944Z] v2.1.1-dev.3 [2022-08-15T05:26:50.944Z] v2.2.0 [2022-08-15T05:26:50.944Z] v2.2.1-dev.1 [2022-08-15T05:26:50.944Z] v2.2.1-dev.2 [2022-08-15T05:26:50.944Z] v2.2.1-dev.3 [2022-08-15T05:26:50.944Z] v2.2.1-dev.4 [2022-08-15T05:26:50.944Z] v2.2.1-dev.5 [2022-08-15T05:26:50.944Z] v2.2.1-dev.6 [2022-08-15T05:26:50.944Z] v2.2.1-dev.7 [2022-08-15T05:26:50.944Z] v2.3.0-dev.10 [2022-08-15T05:26:50.944Z] v2.3.0-dev.11 [2022-08-15T05:26:50.944Z] v2.3.0-dev.7 [2022-08-15T05:26:50.944Z] v2.3.0-dev.8 [2022-08-15T05:26:50.944Z] v2.3.0-dev.9 [Pipeline] sh [2022-08-15T05:26:51.235Z] + lftools sign git-tag v2.3.0-dev.11 [2022-08-15T05:26:51.805Z] Signing Git tag with Sigul... [2022-08-15T05:26:51.805Z] Signing v2.3.0-dev.11 [Pipeline] echo [2022-08-15T05:26:52.077Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:26:52.366Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-08-15T05:26:52.375Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-08-15T05:26:52.394Z] $ docker stop --time=1 05a1cab1db2e7d01cb534c4a7717a087bbad491bf4351bf47472571133bdc09c [2022-08-15T05:26:53.730Z] $ docker rm -f 05a1cab1db2e7d01cb534c4a7717a087bbad491bf4351bf47472571133bdc09c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-08-15T05:26:54.209Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T05:26:54.209Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:26:54.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:26:54.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:26:54.597Z] prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container [2022-08-15T05:26:54.633Z] $ 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-08-15T05:26:55.049Z] $ docker top a32e9f45734e396ad282c8ca25bb602b92576d864fb736f28b3df6bd0f0f7ca6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T05:26:55.145Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:26:55.145Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:26:55.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:26:55.273Z] $ docker exec a32e9f45734e396ad282c8ca25bb602b92576d864fb736f28b3df6bd0f0f7ca6 ssh-agent [2022-08-15T05:26:55.402Z] SSH_AUTH_SOCK=/tmp/ssh-cT0q4Ws0dHXz/agent.32 [2022-08-15T05:26:55.402Z] SSH_AGENT_PID=39 [2022-08-15T05:26:55.407Z] Running ssh-add (command line suppressed) [2022-08-15T05:26:55.525Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8087253922085065659.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8087253922085065659.key) [2022-08-15T05:26:55.543Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:26:55.829Z] + git semver bump pre [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,017 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,017 [bump_version] DEBUG bumping version:2.3.0-dev.11 on axis:pre with prefix:dev [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,017 [bump_version] DEBUG bumped version:2.3.0-dev.12 [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,017 [write_version] DEBUG write version:2.3.0-dev.12 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,017 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,017 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,020 [execute] INFO git cat-file --batch-check [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,026 [execute] INFO git cat-file --batch [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T05:26:56.091Z] 2022-08-15 05:26:56,032 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-15T05:26:56.091Z] 2.3.0-dev.12 [Pipeline] } [2022-08-15T05:26:56.102Z] $ docker exec --env ******** --env ******** a32e9f45734e396ad282c8ca25bb602b92576d864fb736f28b3df6bd0f0f7ca6 ssh-agent -k [2022-08-15T05:26:56.229Z] unset SSH_AUTH_SOCK; [2022-08-15T05:26:56.229Z] unset SSH_AGENT_PID; [2022-08-15T05:26:56.230Z] echo Agent pid 39 killed; [2022-08-15T05:26:56.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T05:26:56.605Z] + git semver [Pipeline] } [2022-08-15T05:26:56.905Z] $ docker stop --time=1 a32e9f45734e396ad282c8ca25bb602b92576d864fb736f28b3df6bd0f0f7ca6 [2022-08-15T05:26:58.182Z] $ docker rm -f a32e9f45734e396ad282c8ca25bb602b92576d864fb736f28b3df6bd0f0f7ca6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:26:58.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T05:26:58.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:26:58.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:26:58.845Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:26:58.936Z] prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container [2022-08-15T05:26:58.975Z] $ 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-08-15T05:26:59.353Z] $ docker top 7f6732cfd71ddf1a92421b7a82b5be4c092872ff751c75cd43515d94c70c4758 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T05:26:59.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:26:59.454Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:26:59.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:26:59.592Z] $ docker exec 7f6732cfd71ddf1a92421b7a82b5be4c092872ff751c75cd43515d94c70c4758 ssh-agent [2022-08-15T05:26:59.733Z] SSH_AUTH_SOCK=/tmp/ssh-r7YOACc2Cxxq/agent.33 [2022-08-15T05:26:59.733Z] SSH_AGENT_PID=39 [2022-08-15T05:26:59.737Z] Running ssh-add (command line suppressed) [2022-08-15T05:26:59.859Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9139471354730367338.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9139471354730367338.key) [2022-08-15T05:26:59.874Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:27:00.164Z] + git semver push [2022-08-15T05:27:00.424Z] 2022-08-15 05:27:00,356 [run_push] DEBUG push [2022-08-15T05:27:00.424Z] 2022-08-15 05:27:00,357 [execute] INFO git cat-file --batch-check [2022-08-15T05:27:00.424Z] 2022-08-15 05:27:00,358 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T05:27:00.424Z] 2022-08-15 05:27:00,363 [execute] INFO git rev-list 95f3088a165d45897aadafe9dea2ee03ed91210f -- [2022-08-15T05:27:00.424Z] 2022-08-15 05:27:00,363 [execute] DEBUG Popen(['git', 'rev-list', '95f3088a165d45897aadafe9dea2ee03ed91210f', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-15T05:27:00.424Z] 2022-08-15 05:27:00,372 [execute] INFO git fetch -v origin [2022-08-15T05:27:00.424Z] 2022-08-15 05:27:00,372 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-08-15T05:27:00.997Z] 2022-08-15 05:27:00,867 [run_push] DEBUG no remote changes detected [2022-08-15T05:27:00.997Z] 2022-08-15 05:27:00,867 [execute] INFO git push origin semver [2022-08-15T05:27:00.997Z] 2022-08-15 05:27:00,868 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-15T05:27:02.378Z] 2022-08-15 05:27:01,936 [run_push] DEBUG push all version tags [2022-08-15T05:27:02.378Z] 2022-08-15 05:27:01,937 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-08-15T05:27:02.378Z] 2022-08-15 05:27:01,937 [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-08-15T05:27:02.948Z] 2022-08-15 05:27:02,650 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-15T05:27:02.948Z] 2.3.0-dev.12 [Pipeline] } [2022-08-15T05:27:02.959Z] $ docker exec --env ******** --env ******** 7f6732cfd71ddf1a92421b7a82b5be4c092872ff751c75cd43515d94c70c4758 ssh-agent -k [2022-08-15T05:27:03.075Z] unset SSH_AUTH_SOCK; [2022-08-15T05:27:03.076Z] unset SSH_AGENT_PID; [2022-08-15T05:27:03.076Z] echo Agent pid 39 killed; [2022-08-15T05:27:03.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T05:27:03.392Z] + git semver [Pipeline] } [2022-08-15T05:27:03.668Z] $ docker stop --time=1 7f6732cfd71ddf1a92421b7a82b5be4c092872ff751c75cd43515d94c70c4758 [2022-08-15T05:27:04.975Z] $ docker rm -f 7f6732cfd71ddf1a92421b7a82b5be4c092872ff751c75cd43515d94c70c4758 [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-08-15T05:27:05.482Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-08-15T05:27:05.482Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-08-15T05:27:05.482Z] total 16 [2022-08-15T05:27:05.482Z] drwxr-xr-x 3 root root 4096 Aug 15 05:18 . [2022-08-15T05:27:05.483Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 05:26 .. [2022-08-15T05:27:05.483Z] drwxr-xr-x 2 root root 4096 Aug 15 05:18 cost [2022-08-15T05:27:05.483Z] -rw-r--r-- 1 root root 87 Aug 15 05:18 cost.csv [2022-08-15T05:27:05.483Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-08-15T05:27:05.483Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-08-15T05:27:05.483Z] total 16 [2022-08-15T05:27:05.483Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:18 . [2022-08-15T05:27:05.483Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 05:26 .. [2022-08-15T05:27:05.483Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 05:18 cost [2022-08-15T05:27:05.483Z] -rw-r--r-- 1 jenkins jenkins 87 Aug 15 05:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:27:05.775Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:27:06.643Z] ---> package-listing.sh [2022-08-15T05:27:06.643Z] ++ facter osfamily [2022-08-15T05:27:06.643Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-15T05:27:06.903Z] + OS_FAMILY=debian [2022-08-15T05:27:06.903Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-08-15T05:27:06.903Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-15T05:27:06.903Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-15T05:27:06.903Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-15T05:27:06.903Z] + PACKAGES=/tmp/packages_start.txt [2022-08-15T05:27:06.903Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-08-15T05:27:06.903Z] + PACKAGES=/tmp/packages_end.txt [2022-08-15T05:27:06.903Z] + case "${OS_FAMILY}" in [2022-08-15T05:27:06.903Z] + dpkg -l [2022-08-15T05:27:06.903Z] + grep '^ii' [2022-08-15T05:27:06.903Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-15T05:27:06.903Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-15T05:27:06.903Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-15T05:27:06.903Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-08-15T05:27:06.903Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-08-15T05:27:06.903Z] + 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-08-15T05:27:06.915Z] 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-08-15T05:27:07.203Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:07.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:27:07.764Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:27:07.849Z] prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container [2022-08-15T05:27:07.884Z] $ 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-08-15T05:27:08.175Z] $ docker top adbe4f6e90ec63aef38b40147490e62dee55064862d3d61d29c810bcf50461cc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:27:08.532Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-15T05:27:08.822Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-15T05:27:09.109Z] + ls /var/log/sa-host [2022-08-15T05:27:09.109Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:27:09.179Z] provisioning config files... [2022-08-15T05:27:09.188Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3814320703680494617tmp [Pipeline] { [Pipeline] echo [2022-08-15T05:27:09.201Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:27:09.486Z] ---> create-netrc.sh [Pipeline] } [2022-08-15T05:27:09.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:27:09.816Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-15T05:27:09.826Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:27:10.111Z] ---> sudo-logs.sh [2022-08-15T05:27:10.111Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-15T05:27:10.141Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:27:10.426Z] ---> job-cost.sh [2022-08-15T05:27:10.426Z] lf-activate-venv: SKIPPING [2022-08-15T05:27:10.426Z] DEBUG: total: 0.2199999988079071 [2022-08-15T05:27:10.426Z] INFO: Retrieving Stack Cost... [2022-08-15T05:27:10.997Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T05:27:11.566Z] INFO: Archiving Costs [Pipeline] echo [2022-08-15T05:27:11.577Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:27:11.861Z] ---> logs-deploy.sh [2022-08-15T05:27:11.861Z] lf-activate-venv: SKIPPING [2022-08-15T05:27:11.861Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/50 [2022-08-15T05:27:11.861Z] INFO: archiving workspace using pattern(s): [2022-08-15T05:27:12.804Z] Archives upload complete. [2022-08-15T05:27:13.064Z] INFO: archiving logs to Nexus