Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 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-ssh5135390793286635834.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh13332662127055682058.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6074819210572170553.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh7454572526349666207.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh2326319058241791445.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-45620’ is offline ‘prd-ubuntu20.04-docker-8c-8g-45621’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-45616’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-45617’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-45618’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-45835 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 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea (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 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea # timeout=10 Commit message: "Merge pull request #343 from jpwhitemn/kamakura-rls-notes" > git rev-list --no-walk 34696552c2fac84d635c044d3d9d718bd3379cee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T07:13:54.851Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T07:13:54.895Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T07:13:54.908Z] ========================================================= [2022-05-10T07:13:54.908Z] EdgeX Global Pipelines Version Info [2022-05-10T07:13:54.908Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:13:55.668Z] ------------------- [2022-05-10T07:13:55.668Z] stable info: [2022-05-10T07:13:55.668Z] ------------------- [2022-05-10T07:13:55.668Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T07:13:55.668Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T07:13:55.668Z] Message: update stable to v1.0.227 [2022-05-10T07:13:56.242Z] ------------------- [2022-05-10T07:13:56.242Z] experimental info: [2022-05-10T07:13:56.242Z] ------------------- [2022-05-10T07:13:56.242Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T07:13:56.242Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T07:13:56.242Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T07:13:56.412Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-10T07:13:56.427Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-10T07:13:56.440Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T07:13:56.457Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T07:13:56.467Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T07:13:56.479Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T07:13:56.492Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T07:13:56.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T07:13:56.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T07:13:56.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T07:13:56.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T07:13:56.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-10T07:13:56.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T07:13:56.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T07:13:56.628Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T07:13:56.646Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T07:13:56.665Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T07:13:56.682Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T07:13:56.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T07:13:56.708Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T07:13:56.719Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T07:13:56.732Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T07:13:56.743Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T07:13:56.755Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T07:13:56.767Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T07:13:56.781Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T07:13:56.792Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T07:13:56.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T07:13:56.816Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T07:13:56.827Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] echo [2022-05-10T07:13:56.840Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 241fbfb [Pipeline] echo [2022-05-10T07:13:56.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:13:56.896Z] provisioning config files... [2022-05-10T07:13:56.919Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6337064493447399884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:13:57.225Z] ---> docker-login.sh [2022-05-10T07:13:57.225Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:13:57.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:13:57.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:13:57.488Z] Configure a credential helper to remove this warning. See [2022-05-10T07:13:57.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:13:57.488Z] [2022-05-10T07:13:57.488Z] Login Succeeded [2022-05-10T07:13:57.488Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:13:57.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:13:57.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:13:57.752Z] Configure a credential helper to remove this warning. See [2022-05-10T07:13:57.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:13:57.752Z] [2022-05-10T07:13:57.752Z] Login Succeeded [2022-05-10T07:13:57.752Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:13:57.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:13:58.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:13:58.014Z] Configure a credential helper to remove this warning. See [2022-05-10T07:13:58.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:13:58.014Z] [2022-05-10T07:13:58.014Z] Login Succeeded [2022-05-10T07:13:58.014Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:13:58.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:13:58.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:13:58.014Z] Configure a credential helper to remove this warning. See [2022-05-10T07:13:58.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:13:58.014Z] [2022-05-10T07:13:58.014Z] Login Succeeded [2022-05-10T07:13:58.014Z] docker.io [2022-05-10T07:13:58.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:13:58.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:13:58.540Z] Configure a credential helper to remove this warning. See [2022-05-10T07:13:58.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:13:58.540Z] [2022-05-10T07:13:58.540Z] Login Succeeded [2022-05-10T07:13:58.540Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:13:58.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T07:13:58.918Z] + git rev-list -1 --merges 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea~1..241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] echo [2022-05-10T07:13:58.947Z] -----------> git rev-list -1 --merges 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea~1..241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [2022-05-10T07:13:58.947Z] 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [false] [Pipeline] sh [2022-05-10T07:13:59.248Z] + git log --format=format:%s -1 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] echo [2022-05-10T07:13:59.266Z] ========================================================= [2022-05-10T07:13:59.266Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T07:13:59.266Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:13:59.613Z] + git log --format=format:%s -1 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] echo [2022-05-10T07:13:59.628Z] [semverPrep] GIT_COMMIT: 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea, Commit Message: Merge pull request #343 from jpwhitemn/kamakura-rls-notes [Pipeline] echo [2022-05-10T07:13:59.638Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T07:14:00.064Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:14:00.064Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T07:14:00.064Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T07:14:00.064Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T07:14:00.064Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T07:14:00.064Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T07:14:00.064Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:14:00.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:14:00.412Z] [2022-05-10T07:14:00.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:14:00.711Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:14:00.711Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T07:14:00.711Z] 1fe172e4850f: Pulling fs layer [2022-05-10T07:14:00.711Z] caf521ccaac6: Pulling fs layer [2022-05-10T07:14:00.711Z] 3ead6fa29328: Pulling fs layer [2022-05-10T07:14:00.711Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T07:14:00.711Z] a8d5f1318db7: Pulling fs layer [2022-05-10T07:14:00.711Z] c427282e49a2: Pulling fs layer [2022-05-10T07:14:00.711Z] 1827001aaf11: Pulling fs layer [2022-05-10T07:14:00.711Z] 0714d37db230: Pulling fs layer [2022-05-10T07:14:00.711Z] ac28cf19c067: Pulling fs layer [2022-05-10T07:14:00.711Z] ca983d60f3e2: Pulling fs layer [2022-05-10T07:14:00.711Z] 1827001aaf11: Waiting [2022-05-10T07:14:00.711Z] a8d5f1318db7: Waiting [2022-05-10T07:14:00.711Z] 0714d37db230: Waiting [2022-05-10T07:14:00.711Z] c427282e49a2: Waiting [2022-05-10T07:14:00.711Z] 5c2a1cbceb83: Waiting [2022-05-10T07:14:00.711Z] ac28cf19c067: Waiting [2022-05-10T07:14:00.711Z] 9f894cec8388: Pulling fs layer [2022-05-10T07:14:00.711Z] 9f894cec8388: Waiting [2022-05-10T07:14:00.711Z] ca983d60f3e2: Waiting [2022-05-10T07:14:00.711Z] caf521ccaac6: Download complete [2022-05-10T07:14:00.711Z] 5c2a1cbceb83: Download complete [2022-05-10T07:14:00.711Z] a8d5f1318db7: Verifying Checksum [2022-05-10T07:14:00.711Z] a8d5f1318db7: Download complete [2022-05-10T07:14:00.711Z] c427282e49a2: Verifying Checksum [2022-05-10T07:14:00.974Z] 3ead6fa29328: Verifying Checksum [2022-05-10T07:14:00.974Z] 3ead6fa29328: Download complete [2022-05-10T07:14:00.974Z] 0714d37db230: Download complete [2022-05-10T07:14:00.974Z] ac28cf19c067: Verifying Checksum [2022-05-10T07:14:00.974Z] ac28cf19c067: Download complete [2022-05-10T07:14:00.974Z] ca983d60f3e2: Verifying Checksum [2022-05-10T07:14:00.974Z] ca983d60f3e2: Download complete [2022-05-10T07:14:00.974Z] 9f894cec8388: Download complete [2022-05-10T07:14:00.974Z] 1fe172e4850f: Verifying Checksum [2022-05-10T07:14:00.974Z] 1fe172e4850f: Download complete [2022-05-10T07:14:01.239Z] 1827001aaf11: Verifying Checksum [2022-05-10T07:14:01.239Z] 1827001aaf11: Download complete [2022-05-10T07:14:02.620Z] 1fe172e4850f: Pull complete [2022-05-10T07:14:02.620Z] caf521ccaac6: Pull complete [2022-05-10T07:14:03.189Z] 3ead6fa29328: Pull complete [2022-05-10T07:14:03.189Z] 5c2a1cbceb83: Pull complete [2022-05-10T07:14:03.458Z] a8d5f1318db7: Pull complete [2022-05-10T07:14:03.458Z] c427282e49a2: Pull complete [2022-05-10T07:14:06.005Z] 1827001aaf11: Pull complete [2022-05-10T07:14:06.005Z] 0714d37db230: Pull complete [2022-05-10T07:14:06.005Z] ac28cf19c067: Pull complete [2022-05-10T07:14:06.005Z] ca983d60f3e2: Pull complete [2022-05-10T07:14:06.005Z] 9f894cec8388: Pull complete [2022-05-10T07:14:06.005Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T07:14:06.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:14:06.005Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T07:14:06.092Z] prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container [2022-05-10T07:14:06.142Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T07:14:07.858Z] $ docker top 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 -eo pid,comm [2022-05-10T07:14:07.923Z] 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-05-10T07:14:07.923Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:14:07.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:14:07.962Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:14:08.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:14:08.093Z] $ docker exec 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 ssh-agent [2022-05-10T07:14:08.216Z] SSH_AUTH_SOCK=/tmp/ssh-mlZ3j6JoQUYW/agent.33 [2022-05-10T07:14:08.216Z] SSH_AGENT_PID=40 [2022-05-10T07:14:08.224Z] Running ssh-add (command line suppressed) [2022-05-10T07:14:08.351Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6393461497630720697.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6393461497630720697.key) [2022-05-10T07:14:08.365Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:14:08.664Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T07:14:08.690Z] $ docker exec --env ******** --env ******** 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 ssh-agent -k [2022-05-10T07:14:08.820Z] unset SSH_AUTH_SOCK; [2022-05-10T07:14:08.820Z] unset SSH_AGENT_PID; [2022-05-10T07:14:08.820Z] echo Agent pid 40 killed; [2022-05-10T07:14:08.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T07:14:08.862Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:14:08.862Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:14:09.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:14:09.022Z] $ docker exec 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 ssh-agent [2022-05-10T07:14:09.158Z] SSH_AUTH_SOCK=/tmp/ssh-3m4fSa88vyBm/agent.72 [2022-05-10T07:14:09.158Z] SSH_AGENT_PID=79 [2022-05-10T07:14:09.164Z] Running ssh-add (command line suppressed) [2022-05-10T07:14:09.286Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6685463445538003486.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6685463445538003486.key) [2022-05-10T07:14:09.297Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:14:09.599Z] + git semver init [2022-05-10T07:14:09.859Z] 2022-05-10 07:14:09,830 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T07:14:09.859Z] 2022-05-10 07:14:09,830 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-10T07:14:09.859Z] 2022-05-10 07:14:09,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-10T07:14:09.859Z] 2022-05-10 07:14:09,831 [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-05-10T07:14:10.801Z] 2022-05-10 07:14:10,624 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-05-10T07:14:10.801Z] 2022-05-10 07:14:10,625 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-05-10T07:14:10.801Z] 2022-05-10 07:14:10,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T07:14:10.801Z] 2022-05-10 07:14:10,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T07:14:10.801Z] 2.2.0-dev.18 [Pipeline] } [2022-05-10T07:14:10.818Z] $ docker exec --env ******** --env ******** 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 ssh-agent -k [2022-05-10T07:14:10.928Z] unset SSH_AUTH_SOCK; [2022-05-10T07:14:10.928Z] unset SSH_AGENT_PID; [2022-05-10T07:14:10.928Z] echo Agent pid 79 killed; [2022-05-10T07:14:10.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:14:11.246Z] + git semver [Pipeline] } [2022-05-10T07:14:11.530Z] $ docker stop --time=1 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 [2022-05-10T07:14:12.869Z] $ docker rm -f 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:14:13.235Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T07:14:13.497Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T07:14:13.502Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.18 [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-05-10T07:14:13.613Z] provisioning config files... [2022-05-10T07:14:13.625Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7870934123508587853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:14:13.933Z] ---> docker-login.sh [2022-05-10T07:14:13.933Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:14:13.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:14:13.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:14:13.933Z] Configure a credential helper to remove this warning. See [2022-05-10T07:14:13.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:14:13.933Z] [2022-05-10T07:14:13.933Z] Login Succeeded [2022-05-10T07:14:13.933Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:14:13.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:14:14.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:14:14.193Z] Configure a credential helper to remove this warning. See [2022-05-10T07:14:14.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:14:14.193Z] [2022-05-10T07:14:14.193Z] Login Succeeded [2022-05-10T07:14:14.193Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:14:14.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:14:14.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:14:14.193Z] Configure a credential helper to remove this warning. See [2022-05-10T07:14:14.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:14:14.193Z] [2022-05-10T07:14:14.193Z] Login Succeeded [2022-05-10T07:14:14.193Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:14:14.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:14:14.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:14:14.456Z] Configure a credential helper to remove this warning. See [2022-05-10T07:14:14.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:14:14.456Z] [2022-05-10T07:14:14.456Z] Login Succeeded [2022-05-10T07:14:14.456Z] docker.io [2022-05-10T07:14:14.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:14:15.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:14:15.029Z] Configure a credential helper to remove this warning. See [2022-05-10T07:14:15.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:14:15.029Z] [2022-05-10T07:14:15.029Z] Login Succeeded [2022-05-10T07:14:15.029Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:14:15.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T07:14:15.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:14:15.129Z] ========================================================= [2022-05-10T07:14:15.129Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T07:14:15.129Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:14:15.431Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-10T07:14:15.431Z] Sending build context to Docker daemon 5.874MB [2022-05-10T07:14:15.431Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:14:15.431Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-10T07:14:15.431Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T07:14:15.431Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T07:14:15.431Z] 666ba61612fd: Pulling fs layer [2022-05-10T07:14:15.431Z] 8ed8ca486205: Pulling fs layer [2022-05-10T07:14:15.431Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T07:14:15.431Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T07:14:15.431Z] ca2b28591e48: Pulling fs layer [2022-05-10T07:14:15.431Z] a51346096db8: Pulling fs layer [2022-05-10T07:14:15.431Z] daebc70d1ce1: Pulling fs layer [2022-05-10T07:14:15.431Z] 0e18a0eac166: Pulling fs layer [2022-05-10T07:14:15.431Z] ca2b28591e48: Waiting [2022-05-10T07:14:15.431Z] a51346096db8: Waiting [2022-05-10T07:14:15.431Z] 0e18a0eac166: Waiting [2022-05-10T07:14:15.431Z] daebc70d1ce1: Waiting [2022-05-10T07:14:15.431Z] 4fe6c5a15a65: Waiting [2022-05-10T07:14:15.431Z] 22a0e8bec74d: Waiting [2022-05-10T07:14:15.431Z] 8ed8ca486205: Verifying Checksum [2022-05-10T07:14:15.431Z] 8ed8ca486205: Download complete [2022-05-10T07:14:15.431Z] 666ba61612fd: Download complete [2022-05-10T07:14:15.431Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T07:14:15.431Z] 22a0e8bec74d: Download complete [2022-05-10T07:14:15.431Z] ca2b28591e48: Verifying Checksum [2022-05-10T07:14:15.431Z] ca2b28591e48: Download complete [2022-05-10T07:14:15.695Z] a51346096db8: Download complete [2022-05-10T07:14:15.695Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T07:14:15.695Z] 59bf1c3509f3: Download complete [2022-05-10T07:14:15.695Z] daebc70d1ce1: Verifying Checksum [2022-05-10T07:14:15.695Z] daebc70d1ce1: Download complete [2022-05-10T07:14:15.695Z] 59bf1c3509f3: Pull complete [2022-05-10T07:14:15.957Z] 666ba61612fd: Pull complete [2022-05-10T07:14:15.957Z] 8ed8ca486205: Pull complete [2022-05-10T07:14:16.219Z] 0e18a0eac166: Verifying Checksum [2022-05-10T07:14:16.219Z] 0e18a0eac166: Download complete [2022-05-10T07:14:16.479Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T07:14:16.479Z] 4fe6c5a15a65: Download complete [2022-05-10T07:14:20.677Z] 4fe6c5a15a65: Pull complete [2022-05-10T07:14:20.677Z] 22a0e8bec74d: Pull complete [2022-05-10T07:14:20.677Z] ca2b28591e48: Pull complete [2022-05-10T07:14:20.677Z] a51346096db8: Pull complete [2022-05-10T07:14:20.677Z] daebc70d1ce1: Pull complete [2022-05-10T07:14:23.224Z] 0e18a0eac166: Pull complete [2022-05-10T07:14:23.224Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T07:14:23.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T07:14:23.224Z] ---> f018257e8ee9 [2022-05-10T07:14:23.224Z] Step 3/10 : ARG MAKE='make build' [2022-05-10T07:14:24.612Z] ---> Running in 902a2c13b78c [2022-05-10T07:14:24.612Z] Removing intermediate container 902a2c13b78c [2022-05-10T07:14:24.612Z] ---> 9ad542f37a7f [2022-05-10T07:14:24.612Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:14:24.872Z] ---> Running in af718c2cbba9 [2022-05-10T07:14:25.444Z] Removing intermediate container af718c2cbba9 [2022-05-10T07:14:25.444Z] ---> 90424caa8c11 [2022-05-10T07:14:25.444Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T07:14:25.444Z] ---> Running in a17d359f90f2 [2022-05-10T07:14:25.705Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:14:26.648Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:14:26.909Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T07:14:26.909Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-10T07:14:26.909Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T07:14:27.170Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T07:14:27.170Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-10T07:14:27.170Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-10T07:14:27.432Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-10T07:14:27.432Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-10T07:14:27.693Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T07:14:27.693Z] OK: 226 MiB in 60 packages [2022-05-10T07:14:27.954Z] Removing intermediate container a17d359f90f2 [2022-05-10T07:14:27.954Z] ---> 7ff6addc4dd6 [2022-05-10T07:14:27.954Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-10T07:14:27.954Z] ---> Running in f96b48ad7ee8 [2022-05-10T07:14:28.213Z] Removing intermediate container f96b48ad7ee8 [2022-05-10T07:14:28.213Z] ---> 88fd8a59923e [2022-05-10T07:14:28.213Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-10T07:14:28.213Z] ---> 1cdc82faa3a2 [2022-05-10T07:14:28.213Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:14:28.213Z] ---> Running in 1760b4289f49 [2022-05-10T07:14:28.583Z] Still waiting to schedule task [2022-05-10T07:14:28.583Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-10T07:14:43.142Z] Removing intermediate container 1760b4289f49 [2022-05-10T07:14:43.142Z] ---> 1565fa5bab57 [2022-05-10T07:14:43.142Z] Step 9/10 : COPY . . [2022-05-10T07:14:43.142Z] ---> 18f3693d4f61 [2022-05-10T07:14:43.142Z] Step 10/10 : RUN ${MAKE} [2022-05-10T07:14:43.142Z] ---> Running in 5207f782f2ad [2022-05-10T07:14:43.142Z] noop [2022-05-10T07:14:43.403Z] Removing intermediate container 5207f782f2ad [2022-05-10T07:14:43.403Z] ---> 086922694292 [2022-05-10T07:14:43.403Z] Successfully built 086922694292 [2022-05-10T07:14:43.403Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:14:43.702Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T07:14:43.702Z] . [Pipeline] withDockerContainer [2022-05-10T07:14:43.774Z] prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container [2022-05-10T07:14:43.813Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-10T07:14:44.241Z] $ docker top 7c5d15c8873973eae3732e59eb630a85fddec7f4969e09d1fdd742667cc2be47 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:14:44.592Z] + go version [2022-05-10T07:14:44.592Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T07:14:44.610Z] $ docker stop --time=1 7c5d15c8873973eae3732e59eb630a85fddec7f4969e09d1fdd742667cc2be47 [2022-05-10T07:14:45.939Z] $ docker rm -f 7c5d15c8873973eae3732e59eb630a85fddec7f4969e09d1fdd742667cc2be47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:14:46.346Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T07:14:46.346Z] . [Pipeline] withDockerContainer [2022-05-10T07:14:46.418Z] prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container [2022-05-10T07:14:46.461Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-10T07:14:46.853Z] $ docker top 3336a19bc2c7590abc8f0a2104648b2ee0cf6367a8ca7fcd59727627fb500718 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T07:14:47.234Z] + make test [2022-05-10T07:14:47.234Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-10T07:14:47.520Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-10T07:14:57.496Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-10T07:14:57.496Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 46.4% of statements [2022-05-10T07:15:02.777Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T07:15:06.965Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T07:15:06.965Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T07:15:06.965Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T07:15:07.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T07:15:07.254Z] $ docker stop --time=1 3336a19bc2c7590abc8f0a2104648b2ee0cf6367a8ca7fcd59727627fb500718 [2022-05-10T07:15:09.121Z] $ docker rm -f 3336a19bc2c7590abc8f0a2104648b2ee0cf6367a8ca7fcd59727627fb500718 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:15:09.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T07:15:09.629Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T07:15:10.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T07:15:10.437Z] + ls -al . [2022-05-10T07:15:10.437Z] total 184 [2022-05-10T07:15:10.437Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 07:15 . [2022-05-10T07:15:10.437Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:13 .. [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 07:13 .dockerignore [2022-05-10T07:15:10.437Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:14 .git [2022-05-10T07:15:10.437Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:13 .github [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 07:13 .gitignore [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:13 .golangci.yml [2022-05-10T07:15:10.437Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:14 .semver [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 10 07:13 Attribution.txt [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 10 07:13 CHANGELOG.md [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 10 07:13 Dockerfile [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:13 GOVERNANCE.md [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 07:13 Jenkinsfile [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:13 LICENSE [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 07:13 Makefile [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 07:13 OWNERS.md [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 10 07:13 README.md [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:14 VERSION [2022-05-10T07:15:10.437Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:13 bin [2022-05-10T07:15:10.437Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:13 cmd [2022-05-10T07:15:10.437Z] -rw-r--r-- 1 jenkins jenkins 24065 May 10 07:14 coverage.out [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 10 07:13 go.mod [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 35558 May 10 07:13 go.sum [2022-05-10T07:15:10.437Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:13 internal [2022-05-10T07:15:10.437Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:13 simulator [2022-05-10T07:15:10.437Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:13 snap [2022-05-10T07:15:10.437Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 07:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:10.735Z] + 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=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea --label arch=amd64 --label version=2.2.0-dev.18 . [2022-05-10T07:15:10.735Z] Sending build context to Docker daemon 5.899MB [2022-05-10T07:15:10.735Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:15:10.735Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-10T07:15:10.735Z] ---> 086922694292 [2022-05-10T07:15:10.735Z] Step 3/23 : ARG MAKE='make build' [2022-05-10T07:15:10.735Z] ---> Running in c252b08f9aca [2022-05-10T07:15:10.994Z] Removing intermediate container c252b08f9aca [2022-05-10T07:15:10.994Z] ---> 75e44dbba0b1 [2022-05-10T07:15:10.994Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:15:10.994Z] ---> Running in d08c56a46c67 [2022-05-10T07:15:11.566Z] Removing intermediate container d08c56a46c67 [2022-05-10T07:15:11.566Z] ---> 3ab366eb7a4e [2022-05-10T07:15:11.566Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T07:15:11.566Z] ---> Running in f271a4fb52f6 [2022-05-10T07:15:11.826Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:15:12.764Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:15:13.334Z] OK: 226 MiB in 60 packages [2022-05-10T07:15:13.593Z] Removing intermediate container f271a4fb52f6 [2022-05-10T07:15:13.593Z] ---> 6cb03749976f [2022-05-10T07:15:13.593Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-10T07:15:13.593Z] ---> Running in bbce108b99bd [2022-05-10T07:15:13.854Z] Removing intermediate container bbce108b99bd [2022-05-10T07:15:13.854Z] ---> 9cffffc670b9 [2022-05-10T07:15:13.854Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-10T07:15:13.854Z] ---> 6f08934bb273 [2022-05-10T07:15:13.854Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:15:13.854Z] ---> Running in 05557eab899c [2022-05-10T07:15:14.798Z] Removing intermediate container 05557eab899c [2022-05-10T07:15:14.798Z] ---> 9aded7750012 [2022-05-10T07:15:14.798Z] Step 9/23 : COPY . . [2022-05-10T07:15:15.058Z] ---> bca7998e75a8 [2022-05-10T07:15:15.058Z] Step 10/23 : RUN ${MAKE} [2022-05-10T07:15:15.058Z] ---> Running in 13e907a8f87f [2022-05-10T07:15:15.317Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-10T07:15:37.257Z] Removing intermediate container 13e907a8f87f [2022-05-10T07:15:37.257Z] ---> 57d3c19f18b4 [2022-05-10T07:15:37.257Z] Step 11/23 : FROM alpine:3.14 [2022-05-10T07:15:37.257Z] 3.14: Pulling from library/alpine [2022-05-10T07:15:37.257Z] 8663204ce13b: Pulling fs layer [2022-05-10T07:15:37.257Z] 8663204ce13b: Download complete [2022-05-10T07:15:37.257Z] 8663204ce13b: Pull complete [2022-05-10T07:15:37.257Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T07:15:37.257Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T07:15:37.257Z] ---> e04c818066af [2022-05-10T07:15:37.257Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-10T07:15:37.257Z] ---> Running in 8ba94842a7c4 [2022-05-10T07:15:37.257Z] Removing intermediate container 8ba94842a7c4 [2022-05-10T07:15:37.258Z] ---> 2f2697109729 [2022-05-10T07:15:37.258Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:15:37.258Z] ---> Running in 4aefbb84d6be [2022-05-10T07:15:37.258Z] Removing intermediate container 4aefbb84d6be [2022-05-10T07:15:37.258Z] ---> 8cb1579dbc6b [2022-05-10T07:15:37.258Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T07:15:37.258Z] ---> Running in 9984fef20b78 [2022-05-10T07:15:37.258Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:15:37.258Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:15:37.520Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T07:15:37.520Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T07:15:37.520Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T07:15:37.786Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T07:15:37.786Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T07:15:37.786Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T07:15:38.046Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T07:15:38.046Z] OK: 8 MiB in 20 packages [2022-05-10T07:15:38.305Z] Removing intermediate container 9984fef20b78 [2022-05-10T07:15:38.305Z] ---> 662eadb4de11 [2022-05-10T07:15:38.305Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-10T07:15:38.872Z] ---> 8e4ce0494219 [2022-05-10T07:15:38.872Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-10T07:15:39.132Z] ---> 09cfe459053a [2022-05-10T07:15:39.132Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-10T07:15:39.391Z] ---> 63d29dd66c69 [2022-05-10T07:15:39.391Z] Step 18/23 : EXPOSE 59901 [2022-05-10T07:15:39.391Z] ---> Running in ec9817703ce0 [2022-05-10T07:15:39.391Z] Removing intermediate container ec9817703ce0 [2022-05-10T07:15:39.391Z] ---> 74cba4225c5c [2022-05-10T07:15:39.391Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-10T07:15:39.391Z] ---> Running in 5b5b189ad855 [2022-05-10T07:15:39.650Z] Removing intermediate container 5b5b189ad855 [2022-05-10T07:15:39.650Z] ---> 83a26e8655c9 [2022-05-10T07:15:39.650Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T07:15:39.650Z] ---> Running in a997f9f3ad33 [2022-05-10T07:15:39.650Z] Removing intermediate container a997f9f3ad33 [2022-05-10T07:15:39.650Z] ---> e5c09b209d4c [2022-05-10T07:15:39.650Z] Step 21/23 : LABEL arch=amd64 [2022-05-10T07:15:39.650Z] ---> Running in 31c379bfd27d [2022-05-10T07:15:39.911Z] Removing intermediate container 31c379bfd27d [2022-05-10T07:15:39.911Z] ---> 1ea33fa0ffae [2022-05-10T07:15:39.911Z] Step 22/23 : LABEL git_sha=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [2022-05-10T07:15:39.911Z] ---> Running in 05bd56b33750 [2022-05-10T07:15:39.911Z] Removing intermediate container 05bd56b33750 [2022-05-10T07:15:39.911Z] ---> e9494cbe14af [2022-05-10T07:15:39.911Z] Step 23/23 : LABEL version=2.2.0-dev.18 [2022-05-10T07:15:40.171Z] ---> Running in 50e31e93f277 [2022-05-10T07:15:40.171Z] Removing intermediate container 50e31e93f277 [2022-05-10T07:15:40.171Z] ---> 534d6814561d [2022-05-10T07:15:40.171Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T07:15:40.171Z] Successfully built 534d6814561d [2022-05-10T07:15:40.171Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:15:40.268Z] provisioning config files... [2022-05-10T07:15:40.278Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6711725751983971033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:15:40.576Z] ---> docker-login.sh [2022-05-10T07:15:40.576Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:15:40.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:40.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:40.576Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:40.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:40.576Z] [2022-05-10T07:15:40.576Z] Login Succeeded [2022-05-10T07:15:40.576Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:15:40.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:40.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:40.837Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:40.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:40.837Z] [2022-05-10T07:15:40.837Z] Login Succeeded [2022-05-10T07:15:40.837Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:15:40.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:40.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:40.837Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:40.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:40.837Z] [2022-05-10T07:15:40.837Z] Login Succeeded [2022-05-10T07:15:40.837Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:15:40.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:41.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:41.098Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:41.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:41.098Z] [2022-05-10T07:15:41.098Z] Login Succeeded [2022-05-10T07:15:41.098Z] docker.io [2022-05-10T07:15:41.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:41.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:41.358Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:41.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:41.358Z] [2022-05-10T07:15:41.358Z] Login Succeeded [2022-05-10T07:15:41.358Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:15:41.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:15:41.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:15:41.432Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-05-10T07:15:41.432Z] 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [2022-05-10T07:15:41.432Z] latest [2022-05-10T07:15:41.432Z] 2.2.0-dev.18 [2022-05-10T07:15:41.432Z] 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 [2022-05-10T07:15:41.432Z] main [2022-05-10T07:15:41.433Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:41.761Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:42.050Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [2022-05-10T07:15:42.050Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-10T07:15:42.050Z] 22f1705a1e05: Preparing [2022-05-10T07:15:42.050Z] cd50902c7515: Preparing [2022-05-10T07:15:42.050Z] 22437f8436bb: Preparing [2022-05-10T07:15:42.050Z] 306ac5ec478c: Preparing [2022-05-10T07:15:42.050Z] d5c6596925bf: Preparing [2022-05-10T07:15:42.050Z] b541d28bf3b4: Preparing [2022-05-10T07:15:42.050Z] b541d28bf3b4: Waiting [2022-05-10T07:15:42.050Z] d5c6596925bf: Pushed [2022-05-10T07:15:42.050Z] cd50902c7515: Pushed [2022-05-10T07:15:42.050Z] b541d28bf3b4: Layer already exists [2022-05-10T07:15:42.050Z] 22f1705a1e05: Pushed [2022-05-10T07:15:42.309Z] 306ac5ec478c: Pushed [2022-05-10T07:15:44.850Z] 22437f8436bb: Pushed [2022-05-10T07:15:44.850Z] 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea: digest: sha256:6ef9521b008149b44b8123d2330501ed8b603942b02db5469af34693b274c1c5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:45.152Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:45.448Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-10T07:15:45.448Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-10T07:15:45.448Z] 22f1705a1e05: Preparing [2022-05-10T07:15:45.448Z] cd50902c7515: Preparing [2022-05-10T07:15:45.448Z] 22437f8436bb: Preparing [2022-05-10T07:15:45.448Z] 306ac5ec478c: Preparing [2022-05-10T07:15:45.448Z] d5c6596925bf: Preparing [2022-05-10T07:15:45.448Z] b541d28bf3b4: Preparing [2022-05-10T07:15:45.448Z] b541d28bf3b4: Waiting [2022-05-10T07:15:45.448Z] d5c6596925bf: Layer already exists [2022-05-10T07:15:45.448Z] 306ac5ec478c: Layer already exists [2022-05-10T07:15:45.448Z] 22f1705a1e05: Layer already exists [2022-05-10T07:15:45.448Z] 22437f8436bb: Layer already exists [2022-05-10T07:15:45.448Z] cd50902c7515: Layer already exists [2022-05-10T07:15:45.448Z] b541d28bf3b4: Layer already exists [2022-05-10T07:15:45.448Z] latest: digest: sha256:6ef9521b008149b44b8123d2330501ed8b603942b02db5469af34693b274c1c5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:45.747Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:46.036Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.18 [2022-05-10T07:15:46.037Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-10T07:15:46.037Z] 22f1705a1e05: Preparing [2022-05-10T07:15:46.037Z] cd50902c7515: Preparing [2022-05-10T07:15:46.037Z] 22437f8436bb: Preparing [2022-05-10T07:15:46.037Z] 306ac5ec478c: Preparing [2022-05-10T07:15:46.037Z] d5c6596925bf: Preparing [2022-05-10T07:15:46.037Z] b541d28bf3b4: Preparing [2022-05-10T07:15:46.037Z] b541d28bf3b4: Waiting [2022-05-10T07:15:46.037Z] d5c6596925bf: Layer already exists [2022-05-10T07:15:46.037Z] 306ac5ec478c: Layer already exists [2022-05-10T07:15:46.037Z] 22f1705a1e05: Layer already exists [2022-05-10T07:15:46.037Z] 22437f8436bb: Layer already exists [2022-05-10T07:15:46.037Z] cd50902c7515: Layer already exists [2022-05-10T07:15:46.037Z] b541d28bf3b4: Layer already exists [2022-05-10T07:15:46.037Z] 2.2.0-dev.18: digest: sha256:6ef9521b008149b44b8123d2330501ed8b603942b02db5469af34693b274c1c5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:46.336Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:46.631Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 [2022-05-10T07:15:46.631Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-10T07:15:46.631Z] 22f1705a1e05: Preparing [2022-05-10T07:15:46.631Z] cd50902c7515: Preparing [2022-05-10T07:15:46.631Z] 22437f8436bb: Preparing [2022-05-10T07:15:46.631Z] 306ac5ec478c: Preparing [2022-05-10T07:15:46.631Z] d5c6596925bf: Preparing [2022-05-10T07:15:46.631Z] b541d28bf3b4: Preparing [2022-05-10T07:15:46.631Z] b541d28bf3b4: Waiting [2022-05-10T07:15:46.631Z] 22f1705a1e05: Layer already exists [2022-05-10T07:15:46.631Z] d5c6596925bf: Layer already exists [2022-05-10T07:15:46.631Z] 306ac5ec478c: Layer already exists [2022-05-10T07:15:46.631Z] cd50902c7515: Layer already exists [2022-05-10T07:15:46.631Z] 22437f8436bb: Layer already exists [2022-05-10T07:15:46.631Z] b541d28bf3b4: Layer already exists [2022-05-10T07:15:46.631Z] 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18: digest: sha256:6ef9521b008149b44b8123d2330501ed8b603942b02db5469af34693b274c1c5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:46.929Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:47.219Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-05-10T07:15:47.219Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-10T07:15:47.219Z] 22f1705a1e05: Preparing [2022-05-10T07:15:47.219Z] cd50902c7515: Preparing [2022-05-10T07:15:47.219Z] 22437f8436bb: Preparing [2022-05-10T07:15:47.219Z] 306ac5ec478c: Preparing [2022-05-10T07:15:47.219Z] d5c6596925bf: Preparing [2022-05-10T07:15:47.219Z] b541d28bf3b4: Preparing [2022-05-10T07:15:47.219Z] b541d28bf3b4: Waiting [2022-05-10T07:15:47.219Z] 22437f8436bb: Layer already exists [2022-05-10T07:15:47.219Z] 306ac5ec478c: Layer already exists [2022-05-10T07:15:47.219Z] 22f1705a1e05: Layer already exists [2022-05-10T07:15:47.219Z] d5c6596925bf: Layer already exists [2022-05-10T07:15:47.219Z] cd50902c7515: Layer already exists [2022-05-10T07:15:47.219Z] b541d28bf3b4: Layer already exists [2022-05-10T07:15:47.219Z] main: digest: sha256:6ef9521b008149b44b8123d2330501ed8b603942b02db5469af34693b274c1c5 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:15:47.265Z] ===================================================== [Pipeline] echo [2022-05-10T07:15:47.274Z] taggedImages: [2022-05-10T07:15:47.274Z] - nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [2022-05-10T07:15:47.274Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-10T07:15:47.274Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.18 [2022-05-10T07:15:47.274Z] - nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 [2022-05-10T07:15:47.274Z] - 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] sh [2022-05-10T07:15:47.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:15:47.648Z] [2022-05-10T07:15:47.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:47.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:15:47.987Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T07:15:47.987Z] 5eb5b503b376: Pulling fs layer [2022-05-10T07:15:47.987Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T07:15:47.987Z] ec43610c2a17: Pulling fs layer [2022-05-10T07:15:47.987Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T07:15:47.987Z] 33b1e0a273af: Pulling fs layer [2022-05-10T07:15:47.987Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T07:15:47.987Z] 2f39f015ded8: Pulling fs layer [2022-05-10T07:15:47.987Z] 3a2ae6a8a46f: Waiting [2022-05-10T07:15:47.987Z] 33b1e0a273af: Waiting [2022-05-10T07:15:47.988Z] 5d3b04190fa2: Waiting [2022-05-10T07:15:47.988Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T07:15:47.988Z] 5c69ac0246d0: Download complete [2022-05-10T07:15:47.988Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T07:15:47.988Z] 3a2ae6a8a46f: Download complete [2022-05-10T07:15:47.988Z] 33b1e0a273af: Verifying Checksum [2022-05-10T07:15:47.988Z] 33b1e0a273af: Download complete [2022-05-10T07:15:47.988Z] ec43610c2a17: Verifying Checksum [2022-05-10T07:15:47.988Z] ec43610c2a17: Download complete [2022-05-10T07:15:47.988Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T07:15:47.988Z] 5d3b04190fa2: Download complete [2022-05-10T07:15:48.250Z] 5eb5b503b376: Verifying Checksum [2022-05-10T07:15:48.250Z] 5eb5b503b376: Download complete [2022-05-10T07:15:48.853Z] 2f39f015ded8: Download complete [2022-05-10T07:15:49.425Z] 5eb5b503b376: Pull complete [2022-05-10T07:15:49.684Z] 5c69ac0246d0: Pull complete [2022-05-10T07:15:49.944Z] ec43610c2a17: Pull complete [2022-05-10T07:15:50.203Z] 3a2ae6a8a46f: Pull complete [2022-05-10T07:15:50.203Z] 33b1e0a273af: Pull complete [2022-05-10T07:15:50.462Z] 5d3b04190fa2: Pull complete [2022-05-10T07:15:54.657Z] 2f39f015ded8: Pull complete [2022-05-10T07:15:54.657Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T07:15:54.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:15:54.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T07:15:54.732Z] prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container [2022-05-10T07:15:54.773Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T07:15:56.819Z] $ docker top a8f385d17fe0c4f4a339d1b71fd896d55ee3c895b88fa67b40dc6a96c21fa57f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:15:57.201Z] ---> job-cost.sh [2022-05-10T07:15:57.201Z] lf-activate-venv: SKIPPING [2022-05-10T07:15:57.201Z] INFO: No Stack... [2022-05-10T07:15:57.460Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T07:15:58.030Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T07:15:58.324Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-05-10T07:15:58.324Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T07:15:58.338Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] [2022-05-10T07:15:58.344Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] did not exist. Created. [2022-05-10T07:15:58.344Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T07:15:58.656Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T07:15:58.680Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T07:15:58.686Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T07:15:58.704Z] $ docker stop --time=1 a8f385d17fe0c4f4a339d1b71fd896d55ee3c895b88fa67b40dc6a96c21fa57f [2022-05-10T07:15:59.871Z] $ docker rm -f a8f385d17fe0c4f4a339d1b71fd896d55ee3c895b88fa67b40dc6a96c21fa57f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T07:16:02.467Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-45840 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-05-10T07:16:02.481Z] Running in /w/workspace/device-modbus-go/36 [Pipeline] { [Pipeline] checkout [2022-05-10T07:16:02.991Z] Selected Git installation does not exist. Using Default [2022-05-10T07:16:02.991Z] The recommended git tool is: NONE [2022-05-10T07:16:10.434Z] using credential edgex-jenkins-ssh [2022-05-10T07:16:10.456Z] Cloning the remote Git repository [2022-05-10T07:16:10.537Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-10T07:16:10.641Z] > git init /w/workspace/device-modbus-go/36 # timeout=10 [2022-05-10T07:16:10.736Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-10T07:16:10.737Z] > git --version # timeout=10 [2022-05-10T07:16:10.762Z] > git --version # 'git version 2.25.1' [2022-05-10T07:16:10.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T07:16:10.897Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T07:16:12.192Z] Avoid second fetch [2022-05-10T07:16:12.192Z] Checking out Revision 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea (main) [2022-05-10T07:16:12.132Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-10T07:16:12.162Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T07:16:12.221Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T07:16:12.244Z] > git checkout -f 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea # timeout=10 [2022-05-10T07:16:16.844Z] Commit message: "Merge pull request #343 from jpwhitemn/kamakura-rls-notes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:16:17.768Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T07:16:17.768Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T07:16:17.768Z] Dload Upload Total Spent Left Speed [2022-05-10T07:16:17.768Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 160k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh [2022-05-10T07:16:18.345Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T07:16:18.704Z] + + sudosudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T07:16:18.704Z] tee /etc/docker/daemon.new [2022-05-10T07:16:18.704Z] { [2022-05-10T07:16:18.704Z] "registry-mirrors": [ [2022-05-10T07:16:18.704Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T07:16:18.704Z] ], [2022-05-10T07:16:18.704Z] "bip": "10.250.0.254/24", [2022-05-10T07:16:18.704Z] "hosts": [ [2022-05-10T07:16:18.704Z] "tcp://0.0.0.0:5555", [2022-05-10T07:16:18.704Z] "unix:///var/run/docker.sock" [2022-05-10T07:16:18.704Z] ], [2022-05-10T07:16:18.704Z] "mtu": 1458, [2022-05-10T07:16:18.704Z] "selinux-enabled": true, [2022-05-10T07:16:18.704Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T07:16:18.704Z] } [Pipeline] sh [2022-05-10T07:16:19.075Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T07:16:19.432Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:16:37.841Z] provisioning config files... [2022-05-10T07:16:37.869Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/36@tmp/config8878580525604670763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:16:38.277Z] ---> docker-login.sh [2022-05-10T07:16:38.277Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:16:38.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:16:39.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:16:39.476Z] Configure a credential helper to remove this warning. See [2022-05-10T07:16:39.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:16:39.476Z] [2022-05-10T07:16:39.476Z] Login Succeeded [2022-05-10T07:16:39.476Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:16:39.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:16:39.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:16:39.752Z] Configure a credential helper to remove this warning. See [2022-05-10T07:16:39.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:16:39.752Z] [2022-05-10T07:16:39.752Z] Login Succeeded [2022-05-10T07:16:39.752Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:16:40.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:16:40.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:16:40.357Z] Configure a credential helper to remove this warning. See [2022-05-10T07:16:40.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:16:40.357Z] [2022-05-10T07:16:40.357Z] Login Succeeded [2022-05-10T07:16:40.357Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:16:40.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:16:40.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:16:40.960Z] Configure a credential helper to remove this warning. See [2022-05-10T07:16:40.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:16:40.960Z] [2022-05-10T07:16:40.960Z] Login Succeeded [2022-05-10T07:16:40.960Z] docker.io [2022-05-10T07:16:41.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:16:41.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:16:41.840Z] Configure a credential helper to remove this warning. See [2022-05-10T07:16:41.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:16:41.840Z] [2022-05-10T07:16:41.840Z] Login Succeeded [2022-05-10T07:16:41.840Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:16:41.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T07:16:42.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:16:42.441Z] ========================================================= [2022-05-10T07:16:42.441Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T07:16:42.441Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:16:42.837Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-10T07:16:43.120Z] Sending build context to Docker daemon 3.065MB [2022-05-10T07:16:43.419Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:16:43.419Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-10T07:16:43.419Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T07:16:43.419Z] 9b3977197b4f: Pulling fs layer [2022-05-10T07:16:43.419Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T07:16:43.419Z] 94645a83ff95: Pulling fs layer [2022-05-10T07:16:43.419Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T07:16:43.419Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T07:16:43.419Z] 3096ccb668a1: Pulling fs layer [2022-05-10T07:16:43.419Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T07:16:43.419Z] a4caa8a26152: Pulling fs layer [2022-05-10T07:16:43.419Z] 0c92f367c5e7: Waiting [2022-05-10T07:16:43.419Z] 3096ccb668a1: Waiting [2022-05-10T07:16:43.419Z] e8cf19c19ddd: Waiting [2022-05-10T07:16:43.419Z] a4caa8a26152: Waiting [2022-05-10T07:16:43.419Z] 3f3a8bcf1eab: Waiting [2022-05-10T07:16:43.419Z] 94645a83ff95: Verifying Checksum [2022-05-10T07:16:43.419Z] 94645a83ff95: Download complete [2022-05-10T07:16:43.419Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T07:16:43.419Z] 1a89e8eeedd5: Download complete [2022-05-10T07:16:43.705Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T07:16:43.705Z] 0c92f367c5e7: Download complete [2022-05-10T07:16:43.705Z] 3096ccb668a1: Verifying Checksum [2022-05-10T07:16:43.705Z] 3096ccb668a1: Download complete [2022-05-10T07:16:43.705Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T07:16:43.705Z] e8cf19c19ddd: Download complete [2022-05-10T07:16:43.705Z] 9b3977197b4f: Download complete [2022-05-10T07:16:44.311Z] 9b3977197b4f: Pull complete [2022-05-10T07:16:44.920Z] 1a89e8eeedd5: Pull complete [2022-05-10T07:16:45.530Z] 94645a83ff95: Pull complete [2022-05-10T07:16:45.825Z] a4caa8a26152: Verifying Checksum [2022-05-10T07:16:45.825Z] a4caa8a26152: Download complete [2022-05-10T07:16:46.427Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T07:16:46.427Z] 3f3a8bcf1eab: Download complete [2022-05-10T07:17:01.549Z] 3f3a8bcf1eab: Pull complete [2022-05-10T07:17:01.549Z] 0c92f367c5e7: Pull complete [2022-05-10T07:17:01.549Z] 3096ccb668a1: Pull complete [2022-05-10T07:17:01.549Z] e8cf19c19ddd: Pull complete [2022-05-10T07:17:06.991Z] a4caa8a26152: Pull complete [2022-05-10T07:17:06.991Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T07:17:06.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T07:17:06.991Z] ---> 725f1c02e7f9 [2022-05-10T07:17:06.991Z] Step 3/10 : ARG MAKE='make build' [2022-05-10T07:17:07.596Z] ---> Running in 7d409ed54834 [2022-05-10T07:17:08.196Z] Removing intermediate container 7d409ed54834 [2022-05-10T07:17:08.196Z] ---> ec769c4b99fa [2022-05-10T07:17:08.196Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:17:08.196Z] ---> Running in 30692d7927c1 [2022-05-10T07:17:11.594Z] Removing intermediate container 30692d7927c1 [2022-05-10T07:17:11.594Z] ---> 39421d809b3b [2022-05-10T07:17:11.594Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T07:17:11.594Z] ---> Running in 99262daafe7e [2022-05-10T07:17:12.189Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:17:13.166Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:17:14.600Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T07:17:14.600Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-10T07:17:14.600Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T07:17:14.874Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T07:17:14.874Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-10T07:17:15.150Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-10T07:17:15.150Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-10T07:17:15.426Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-10T07:17:15.426Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T07:17:15.426Z] OK: 226 MiB in 60 packages [2022-05-10T07:17:16.424Z] Removing intermediate container 99262daafe7e [2022-05-10T07:17:16.424Z] ---> a5bec4926bc1 [2022-05-10T07:17:16.424Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-10T07:17:16.703Z] ---> Running in df288fc13941 [2022-05-10T07:17:16.978Z] Removing intermediate container df288fc13941 [2022-05-10T07:17:16.978Z] ---> 973655b94346 [2022-05-10T07:17:16.978Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-10T07:17:17.582Z] ---> 2b7695610adf [2022-05-10T07:17:17.582Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:17:17.582Z] ---> Running in 235d63c25d2e [2022-05-10T07:18:14.206Z] Removing intermediate container 235d63c25d2e [2022-05-10T07:18:14.206Z] ---> d483985fbeb6 [2022-05-10T07:18:14.206Z] Step 9/10 : COPY . . [2022-05-10T07:18:14.206Z] ---> 0eee000e8f6c [2022-05-10T07:18:14.206Z] Step 10/10 : RUN ${MAKE} [2022-05-10T07:18:14.206Z] ---> Running in ceb9cf73156e [2022-05-10T07:18:14.206Z] noop [2022-05-10T07:18:14.206Z] Removing intermediate container ceb9cf73156e [2022-05-10T07:18:14.206Z] ---> 90c838013ec7 [2022-05-10T07:18:14.206Z] Successfully built 90c838013ec7 [2022-05-10T07:18:14.206Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:18:14.569Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T07:18:14.569Z] . [Pipeline] withDockerContainer [2022-05-10T07:18:14.835Z] prd-ubuntu20.04-docker-arm64-4c-16g-45840 does not seem to be running inside a container [2022-05-10T07:18:14.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/36 -v /w/workspace/device-modbus-go/36:/w/workspace/device-modbus-go/36:rw,z -v /w/workspace/device-modbus-go/36@tmp:/w/workspace/device-modbus-go/36@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 ******** ci-base-image-arm64 cat [2022-05-10T07:18:16.383Z] $ docker top 3d5ad9fc75bd6317335e183e3e14f962413b180625de7edec84922125123ba33 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:18:17.358Z] + go version [2022-05-10T07:18:17.358Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T07:18:17.387Z] $ docker stop --time=1 3d5ad9fc75bd6317335e183e3e14f962413b180625de7edec84922125123ba33 [2022-05-10T07:18:19.145Z] $ docker rm -f 3d5ad9fc75bd6317335e183e3e14f962413b180625de7edec84922125123ba33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:18:19.777Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T07:18:19.777Z] . [Pipeline] withDockerContainer [2022-05-10T07:18:20.047Z] prd-ubuntu20.04-docker-arm64-4c-16g-45840 does not seem to be running inside a container [2022-05-10T07:18:20.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/36 -v /w/workspace/device-modbus-go/36:/w/workspace/device-modbus-go/36:rw,z -v /w/workspace/device-modbus-go/36@tmp:/w/workspace/device-modbus-go/36@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 ******** ci-base-image-arm64 cat [2022-05-10T07:18:21.618Z] $ docker top 8f38dd2db6bfdea5a5847cd15ffd0fca8ae6e2882164107ddd3d5d30f246b197 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T07:18:22.602Z] + make test [2022-05-10T07:18:22.602Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-10T07:18:24.601Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-10T07:20:01.547Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-10T07:20:01.547Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 46.4% of statements [2022-05-10T07:20:01.547Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T07:20:01.547Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T07:20:28.408Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T07:20:28.408Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T07:20:28.408Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T07:20:31.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T07:20:31.855Z] $ docker stop --time=1 8f38dd2db6bfdea5a5847cd15ffd0fca8ae6e2882164107ddd3d5d30f246b197 [2022-05-10T07:20:33.728Z] $ docker rm -f 8f38dd2db6bfdea5a5847cd15ffd0fca8ae6e2882164107ddd3d5d30f246b197 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:20:34.788Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T07:20:34.810Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T07:20:35.399Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:20:35.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T07:20:36.189Z] + ls -al . [2022-05-10T07:20:36.189Z] total 180 [2022-05-10T07:20:36.189Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:20 . [2022-05-10T07:20:36.189Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:16 .. [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 07:16 .dockerignore [2022-05-10T07:20:36.189Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:16 .git [2022-05-10T07:20:36.189Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:16 .github [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 07:16 .gitignore [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:16 .golangci.yml [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 10 07:16 Attribution.txt [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 10 07:16 CHANGELOG.md [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 10 07:16 Dockerfile [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:16 GOVERNANCE.md [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 07:16 Jenkinsfile [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:16 LICENSE [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 07:16 Makefile [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 07:16 OWNERS.md [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 10 07:16 README.md [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:14 VERSION [2022-05-10T07:20:36.189Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:16 bin [2022-05-10T07:20:36.189Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:16 cmd [2022-05-10T07:20:36.189Z] -rw-r--r-- 1 jenkins jenkins 24065 May 10 07:19 coverage.out [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 10 07:16 go.mod [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 35558 May 10 07:16 go.sum [2022-05-10T07:20:36.189Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:16 internal [2022-05-10T07:20:36.189Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:16 simulator [2022-05-10T07:20:36.189Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:16 snap [2022-05-10T07:20:36.189Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 07:16 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:20:36.558Z] + 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=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea --label arch=arm64 --label version=2.2.0-dev.18 . [2022-05-10T07:20:36.848Z] Sending build context to Docker daemon 3.09MB [2022-05-10T07:20:36.848Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:20:36.848Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-10T07:20:36.848Z] ---> 90c838013ec7 [2022-05-10T07:20:36.848Z] Step 3/23 : ARG MAKE='make build' [2022-05-10T07:20:37.155Z] ---> Running in 49f0339eda56 [2022-05-10T07:20:37.439Z] Removing intermediate container 49f0339eda56 [2022-05-10T07:20:37.439Z] ---> b2762b5205ef [2022-05-10T07:20:37.439Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:20:37.722Z] ---> Running in b69f31001802 [2022-05-10T07:20:39.720Z] Removing intermediate container b69f31001802 [2022-05-10T07:20:39.720Z] ---> bb24d4c2a130 [2022-05-10T07:20:39.720Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T07:20:39.720Z] ---> Running in 232172d8b8ab [2022-05-10T07:20:40.696Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:20:41.296Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:20:42.733Z] OK: 226 MiB in 60 packages [2022-05-10T07:20:43.333Z] Removing intermediate container 232172d8b8ab [2022-05-10T07:20:43.333Z] ---> 2de42837acbb [2022-05-10T07:20:43.333Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-10T07:20:43.333Z] ---> Running in 40dfd87b842f [2022-05-10T07:20:43.609Z] Removing intermediate container 40dfd87b842f [2022-05-10T07:20:43.609Z] ---> d0e1d2f27fc5 [2022-05-10T07:20:43.609Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-10T07:20:44.212Z] ---> 2830207e7ccb [2022-05-10T07:20:44.213Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:20:44.213Z] ---> Running in e22fd2188ffa [2022-05-10T07:20:46.199Z] Removing intermediate container e22fd2188ffa [2022-05-10T07:20:46.199Z] ---> c814f2ef450d [2022-05-10T07:20:46.199Z] Step 9/23 : COPY . . [2022-05-10T07:20:47.181Z] ---> d2367d2be57a [2022-05-10T07:20:47.181Z] Step 10/23 : RUN ${MAKE} [2022-05-10T07:20:47.181Z] ---> Running in 890179413d71 [2022-05-10T07:20:48.198Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-10T07:23:10.153Z] Removing intermediate container 890179413d71 [2022-05-10T07:23:10.153Z] ---> 782e56a2df19 [2022-05-10T07:23:10.153Z] Step 11/23 : FROM alpine:3.14 [2022-05-10T07:23:10.153Z] 3.14: Pulling from library/alpine [2022-05-10T07:23:10.153Z] 455c02918c45: Pulling fs layer [2022-05-10T07:23:10.153Z] 455c02918c45: Verifying Checksum [2022-05-10T07:23:10.153Z] 455c02918c45: Download complete [2022-05-10T07:23:10.153Z] 455c02918c45: Pull complete [2022-05-10T07:23:10.153Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T07:23:10.153Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T07:23:10.153Z] ---> ac73e934f311 [2022-05-10T07:23:10.153Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-10T07:23:10.153Z] ---> Running in 317d4b0e423a [2022-05-10T07:23:10.153Z] Removing intermediate container 317d4b0e423a [2022-05-10T07:23:10.153Z] ---> 2819871e124a [2022-05-10T07:23:10.153Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:23:10.153Z] ---> Running in c614ff745f24 [2022-05-10T07:23:10.439Z] Removing intermediate container c614ff745f24 [2022-05-10T07:23:10.439Z] ---> f1cbf94dc219 [2022-05-10T07:23:10.439Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T07:23:10.439Z] ---> Running in 5f7922528804 [2022-05-10T07:23:11.419Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:23:12.394Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:23:13.374Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T07:23:13.374Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T07:23:13.374Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T07:23:13.648Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T07:23:13.648Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T07:23:13.925Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T07:23:13.925Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T07:23:13.925Z] OK: 8 MiB in 20 packages [2022-05-10T07:23:14.911Z] Removing intermediate container 5f7922528804 [2022-05-10T07:23:14.911Z] ---> ec260158e384 [2022-05-10T07:23:14.911Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-10T07:23:16.903Z] ---> 059960cc0ea0 [2022-05-10T07:23:16.903Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-10T07:23:17.183Z] ---> 1ca9b1ff04f1 [2022-05-10T07:23:17.183Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-10T07:23:17.784Z] ---> 45257fd67bcc [2022-05-10T07:23:17.784Z] Step 18/23 : EXPOSE 59901 [2022-05-10T07:23:17.784Z] ---> Running in 7845841e5af9 [2022-05-10T07:23:18.058Z] Removing intermediate container 7845841e5af9 [2022-05-10T07:23:18.058Z] ---> cbc2a67acfc2 [2022-05-10T07:23:18.058Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-10T07:23:18.058Z] ---> Running in 50dfbcfd1edd [2022-05-10T07:23:18.353Z] Removing intermediate container 50dfbcfd1edd [2022-05-10T07:23:18.353Z] ---> 3bfd5c23a42b [2022-05-10T07:23:18.353Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T07:23:18.353Z] ---> Running in 9a16d3778bc9 [2022-05-10T07:23:18.957Z] Removing intermediate container 9a16d3778bc9 [2022-05-10T07:23:18.957Z] ---> 9996c885554c [2022-05-10T07:23:18.957Z] Step 21/23 : LABEL arch=arm64 [2022-05-10T07:23:18.957Z] ---> Running in e2e26fc9b88a [2022-05-10T07:23:19.231Z] Removing intermediate container e2e26fc9b88a [2022-05-10T07:23:19.231Z] ---> 9b171517f363 [2022-05-10T07:23:19.231Z] Step 22/23 : LABEL git_sha=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [2022-05-10T07:23:19.231Z] ---> Running in 7696381c93fa [2022-05-10T07:23:19.505Z] Removing intermediate container 7696381c93fa [2022-05-10T07:23:19.505Z] ---> 9275c9d2331b [2022-05-10T07:23:19.505Z] Step 23/23 : LABEL version=2.2.0-dev.18 [2022-05-10T07:23:19.505Z] ---> Running in 26b410067183 [2022-05-10T07:23:20.099Z] Removing intermediate container 26b410067183 [2022-05-10T07:23:20.099Z] ---> 67e3eeb51e8d [2022-05-10T07:23:20.099Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T07:23:20.099Z] Successfully built 67e3eeb51e8d [2022-05-10T07:23:20.099Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:23:20.210Z] provisioning config files... [2022-05-10T07:23:20.228Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/36@tmp/config1771997193133717255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:23:20.582Z] ---> docker-login.sh [2022-05-10T07:23:20.582Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:23:20.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:23:20.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:23:20.855Z] Configure a credential helper to remove this warning. See [2022-05-10T07:23:20.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:23:20.855Z] [2022-05-10T07:23:20.855Z] Login Succeeded [2022-05-10T07:23:20.855Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:23:21.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:23:21.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:23:21.448Z] Configure a credential helper to remove this warning. See [2022-05-10T07:23:21.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:23:21.448Z] [2022-05-10T07:23:21.448Z] Login Succeeded [2022-05-10T07:23:21.448Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:23:21.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:23:21.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:23:21.998Z] Configure a credential helper to remove this warning. See [2022-05-10T07:23:21.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:23:21.998Z] [2022-05-10T07:23:21.998Z] Login Succeeded [2022-05-10T07:23:21.998Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:23:22.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:23:22.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:23:22.271Z] Configure a credential helper to remove this warning. See [2022-05-10T07:23:22.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:23:22.271Z] [2022-05-10T07:23:22.271Z] Login Succeeded [2022-05-10T07:23:22.271Z] docker.io [2022-05-10T07:23:22.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:23:23.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:23:23.138Z] Configure a credential helper to remove this warning. See [2022-05-10T07:23:23.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:23:23.138Z] [2022-05-10T07:23:23.138Z] Login Succeeded [2022-05-10T07:23:23.138Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:23:23.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:23:23.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:23:23.224Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-05-10T07:23:23.224Z] 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [2022-05-10T07:23:23.224Z] latest [2022-05-10T07:23:23.224Z] 2.2.0-dev.18 [2022-05-10T07:23:23.224Z] 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 [2022-05-10T07:23:23.224Z] main [2022-05-10T07:23:23.224Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:23.586Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:23.938Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [2022-05-10T07:23:23.938Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-10T07:23:23.938Z] ec7a0c0272fb: Preparing [2022-05-10T07:23:23.938Z] 324462701cb9: Preparing [2022-05-10T07:23:23.938Z] 1f715ff3f1bd: Preparing [2022-05-10T07:23:23.938Z] f90d3392d2ea: Preparing [2022-05-10T07:23:23.938Z] bbd460213d3b: Preparing [2022-05-10T07:23:23.938Z] f73e7dbfee58: Preparing [2022-05-10T07:23:23.938Z] f73e7dbfee58: Waiting [2022-05-10T07:23:24.212Z] 324462701cb9: Pushed [2022-05-10T07:23:24.212Z] bbd460213d3b: Pushed [2022-05-10T07:23:24.212Z] ec7a0c0272fb: Pushed [2022-05-10T07:23:24.212Z] f73e7dbfee58: Layer already exists [2022-05-10T07:23:24.811Z] f90d3392d2ea: Pushed [2022-05-10T07:23:30.205Z] 1f715ff3f1bd: Pushed [2022-05-10T07:23:30.205Z] 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea: digest: sha256:41fc814dda5ad3cc3525caf52072df9b693dd1b3b8acde8eb941da6770c2948f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:30.570Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:30.910Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-10T07:23:30.910Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-10T07:23:30.910Z] ec7a0c0272fb: Preparing [2022-05-10T07:23:30.910Z] 324462701cb9: Preparing [2022-05-10T07:23:30.910Z] 1f715ff3f1bd: Preparing [2022-05-10T07:23:30.910Z] f90d3392d2ea: Preparing [2022-05-10T07:23:30.910Z] bbd460213d3b: Preparing [2022-05-10T07:23:30.910Z] f73e7dbfee58: Preparing [2022-05-10T07:23:30.910Z] f73e7dbfee58: Waiting [2022-05-10T07:23:30.910Z] f90d3392d2ea: Layer already exists [2022-05-10T07:23:30.910Z] 1f715ff3f1bd: Layer already exists [2022-05-10T07:23:30.910Z] ec7a0c0272fb: Layer already exists [2022-05-10T07:23:30.910Z] bbd460213d3b: Layer already exists [2022-05-10T07:23:30.910Z] 324462701cb9: Layer already exists [2022-05-10T07:23:30.910Z] f73e7dbfee58: Layer already exists [2022-05-10T07:23:31.183Z] latest: digest: sha256:41fc814dda5ad3cc3525caf52072df9b693dd1b3b8acde8eb941da6770c2948f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:31.530Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:31.875Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.18 [2022-05-10T07:23:31.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-10T07:23:31.875Z] ec7a0c0272fb: Preparing [2022-05-10T07:23:31.875Z] 324462701cb9: Preparing [2022-05-10T07:23:31.875Z] 1f715ff3f1bd: Preparing [2022-05-10T07:23:31.875Z] f90d3392d2ea: Preparing [2022-05-10T07:23:31.875Z] bbd460213d3b: Preparing [2022-05-10T07:23:31.875Z] f73e7dbfee58: Preparing [2022-05-10T07:23:31.875Z] ec7a0c0272fb: Layer already exists [2022-05-10T07:23:31.875Z] 324462701cb9: Layer already exists [2022-05-10T07:23:31.875Z] 1f715ff3f1bd: Layer already exists [2022-05-10T07:23:31.875Z] f90d3392d2ea: Layer already exists [2022-05-10T07:23:31.875Z] bbd460213d3b: Layer already exists [2022-05-10T07:23:31.875Z] f73e7dbfee58: Layer already exists [2022-05-10T07:23:32.148Z] 2.2.0-dev.18: digest: sha256:41fc814dda5ad3cc3525caf52072df9b693dd1b3b8acde8eb941da6770c2948f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:32.494Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:32.835Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 [2022-05-10T07:23:32.835Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-10T07:23:32.835Z] ec7a0c0272fb: Preparing [2022-05-10T07:23:32.835Z] 324462701cb9: Preparing [2022-05-10T07:23:32.835Z] 1f715ff3f1bd: Preparing [2022-05-10T07:23:32.835Z] f90d3392d2ea: Preparing [2022-05-10T07:23:32.835Z] bbd460213d3b: Preparing [2022-05-10T07:23:32.835Z] f73e7dbfee58: Preparing [2022-05-10T07:23:32.835Z] f73e7dbfee58: Waiting [2022-05-10T07:23:32.835Z] ec7a0c0272fb: Layer already exists [2022-05-10T07:23:32.835Z] 324462701cb9: Layer already exists [2022-05-10T07:23:32.835Z] 1f715ff3f1bd: Layer already exists [2022-05-10T07:23:32.835Z] bbd460213d3b: Layer already exists [2022-05-10T07:23:32.835Z] f90d3392d2ea: Layer already exists [2022-05-10T07:23:32.835Z] f73e7dbfee58: Layer already exists [2022-05-10T07:23:33.108Z] 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18: digest: sha256:41fc814dda5ad3cc3525caf52072df9b693dd1b3b8acde8eb941da6770c2948f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:33.457Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:33.796Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-05-10T07:23:33.796Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-10T07:23:33.796Z] ec7a0c0272fb: Preparing [2022-05-10T07:23:33.796Z] 324462701cb9: Preparing [2022-05-10T07:23:33.796Z] 1f715ff3f1bd: Preparing [2022-05-10T07:23:33.796Z] f90d3392d2ea: Preparing [2022-05-10T07:23:33.796Z] bbd460213d3b: Preparing [2022-05-10T07:23:33.796Z] f73e7dbfee58: Preparing [2022-05-10T07:23:33.796Z] f73e7dbfee58: Waiting [2022-05-10T07:23:33.796Z] bbd460213d3b: Layer already exists [2022-05-10T07:23:33.796Z] 1f715ff3f1bd: Layer already exists [2022-05-10T07:23:33.796Z] f90d3392d2ea: Layer already exists [2022-05-10T07:23:33.796Z] 324462701cb9: Layer already exists [2022-05-10T07:23:33.796Z] ec7a0c0272fb: Layer already exists [2022-05-10T07:23:33.796Z] f73e7dbfee58: Layer already exists [2022-05-10T07:23:34.066Z] main: digest: sha256:41fc814dda5ad3cc3525caf52072df9b693dd1b3b8acde8eb941da6770c2948f size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:23:34.103Z] ===================================================== [Pipeline] echo [2022-05-10T07:23:34.113Z] taggedImages: [2022-05-10T07:23:34.113Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [2022-05-10T07:23:34.113Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-10T07:23:34.113Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.18 [2022-05-10T07:23:34.113Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 [2022-05-10T07:23:34.113Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:34.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:23:34.477Z] [2022-05-10T07:23:34.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:34.861Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:23:35.152Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T07:23:35.152Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T07:23:35.152Z] 04944245beec: Pulling fs layer [2022-05-10T07:23:35.152Z] 699f458cf7ca: Pulling fs layer [2022-05-10T07:23:35.152Z] 765212b225bb: Pulling fs layer [2022-05-10T07:23:35.152Z] f23df028b6ca: Pulling fs layer [2022-05-10T07:23:35.152Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T07:23:35.152Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T07:23:35.152Z] f23df028b6ca: Waiting [2022-05-10T07:23:35.152Z] d65c8cfc05b1: Waiting [2022-05-10T07:23:35.152Z] 765212b225bb: Waiting [2022-05-10T07:23:35.152Z] 2437ff75d9bd: Waiting [2022-05-10T07:23:35.152Z] 04944245beec: Verifying Checksum [2022-05-10T07:23:35.152Z] 04944245beec: Download complete [2022-05-10T07:23:35.152Z] 765212b225bb: Verifying Checksum [2022-05-10T07:23:35.152Z] 765212b225bb: Download complete [2022-05-10T07:23:35.152Z] f23df028b6ca: Verifying Checksum [2022-05-10T07:23:35.152Z] f23df028b6ca: Download complete [2022-05-10T07:23:35.152Z] d65c8cfc05b1: Download complete [2022-05-10T07:23:35.433Z] 699f458cf7ca: Verifying Checksum [2022-05-10T07:23:35.433Z] 699f458cf7ca: Download complete [2022-05-10T07:23:36.062Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T07:23:36.062Z] 8998bd30e6a1: Download complete [2022-05-10T07:23:38.048Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T07:23:38.048Z] 2437ff75d9bd: Download complete [2022-05-10T07:23:40.662Z] 8998bd30e6a1: Pull complete [2022-05-10T07:23:40.662Z] 04944245beec: Pull complete [2022-05-10T07:23:42.104Z] 699f458cf7ca: Pull complete [2022-05-10T07:23:42.379Z] 765212b225bb: Pull complete [2022-05-10T07:23:43.356Z] f23df028b6ca: Pull complete [2022-05-10T07:23:43.629Z] d65c8cfc05b1: Pull complete [2022-05-10T07:23:58.714Z] 2437ff75d9bd: Pull complete [2022-05-10T07:23:58.714Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T07:23:58.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:23:58.714Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T07:23:58.940Z] prd-ubuntu20.04-docker-arm64-4c-16g-45840 does not seem to be running inside a container [2022-05-10T07:23:59.022Z] $ 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/36 -v /w/workspace/device-modbus-go/36:/w/workspace/device-modbus-go/36:rw,z -v /w/workspace/device-modbus-go/36@tmp:/w/workspace/device-modbus-go/36@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:arm64 cat [2022-05-10T07:24:01.577Z] $ docker top ce80083c8f9ef3ce9570b3639bd721904a0b2f82879a10f53f772c2d76e453b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:02.500Z] ---> job-cost.sh [2022-05-10T07:24:02.500Z] lf-activate-venv: SKIPPING [2022-05-10T07:24:02.500Z] INFO: No Stack... [2022-05-10T07:24:02.769Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T07:24:03.741Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T07:24:04.397Z] + + cutcat -d, /w/workspace/device-modbus-go/36/archives/cost.csv -f6 [2022-05-10T07:24:04.397Z] [Pipeline] lock [2022-05-10T07:24:04.457Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] [2022-05-10T07:24:04.468Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] did not exist. Created. [2022-05-10T07:24:04.468Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T07:24:05.131Z] /w/workspace/device-modbus-go/36@tmp/durable-b9ad4eed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T07:24:05.804Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T07:24:05.825Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T07:24:05.875Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T07:24:05.882Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T07:24:05.902Z] $ docker stop --time=1 ce80083c8f9ef3ce9570b3639bd721904a0b2f82879a10f53f772c2d76e453b2 [2022-05-10T07:24:07.359Z] $ docker rm -f ce80083c8f9ef3ce9570b3639bd721904a0b2f82879a10f53f772c2d76e453b2 [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-05-10T07:24:07.780Z] provisioning config files... [2022-05-10T07:24:07.788Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7258625225944117680tmp [Pipeline] { [Pipeline] sh [2022-05-10T07:24:08.086Z] + set +x [2022-05-10T07:24:08.086Z] + curl -s https://codecov.io/bash [2022-05-10T07:24:08.086Z] + bash -s -- [2022-05-10T07:24:08.086Z] [2022-05-10T07:24:08.086Z] _____ _ [2022-05-10T07:24:08.086Z] / ____| | | [2022-05-10T07:24:08.086Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T07:24:08.086Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T07:24:08.086Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T07:24:08.086Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T07:24:08.086Z] Bash-1.0.6 [2022-05-10T07:24:08.086Z] [2022-05-10T07:24:08.086Z] [2022-05-10T07:24:08.086Z] ==> git version 2.25.1 found [2022-05-10T07:24:08.086Z] ==> 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-05-10T07:24:08.086Z] Release-Date: 2020-01-08 [2022-05-10T07:24:08.086Z] 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-05-10T07:24:08.086Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T07:24:08.086Z] ==> Jenkins CI detected. [2022-05-10T07:24:08.086Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-05-10T07:24:08.086Z] project root: . [2022-05-10T07:24:08.086Z] --> token set from env [2022-05-10T07:24:08.086Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T07:24:08.086Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T07:24:08.086Z] ==> Python coveragepy not found [2022-05-10T07:24:08.086Z] ==> Searching for coverage reports in: [2022-05-10T07:24:08.086Z] + . [2022-05-10T07:24:08.086Z] -> Found 1 reports [2022-05-10T07:24:08.086Z] ==> Detecting git/mercurial file structure [2022-05-10T07:24:08.086Z] ==> Reading reports [2022-05-10T07:24:08.086Z] + ./coverage.out bytes=24065 [2022-05-10T07:24:08.086Z] ==> Appending adjustments [2022-05-10T07:24:08.086Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T07:24:08.346Z] + Found adjustments [2022-05-10T07:24:08.346Z] ==> Gzipping contents [2022-05-10T07:24:08.346Z] 4.0K /tmp/codecov.XScKHo.gz [2022-05-10T07:24:08.346Z] ==> Uploading reports [2022-05-10T07:24:08.346Z] url: https://codecov.io [2022-05-10T07:24:08.346Z] query: branch=main&commit=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T07:24:08.346Z] -> Pinging Codecov [2022-05-10T07:24:08.346Z] 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=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T07:24:08.607Z] -> Uploading to [2022-05-10T07:24:08.607Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/55DBCA73C666E3227836607328DD7E49/241fbfbc9b273dc13e4996b0e5d4a3b540b295ea/6886466f-2998-4b80-ac60-216f299e12ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T072408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7d916e7788dd43f6d3396a8cbcad6feab3c68d5b13b68149f780bc43d4622ad [2022-05-10T07:24:08.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T07:24:08.607Z] Dload Upload Total Spent Left Speed [2022-05-10T07:24:08.869Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4011 0 0 100 4011 0 18315 --:--:-- --:--:-- --:--:-- 18315 [2022-05-10T07:24:08.869Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] } [2022-05-10T07:24:08.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-10T07:24:09.007Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-10T07:24:09.019Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:24:09.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T07:24:09.313Z] [2022-05-10T07:24:09.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:24:09.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T07:24:09.614Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-10T07:24:09.614Z] 188c0c94c7c5: Pulling fs layer [2022-05-10T07:24:09.614Z] 0ef7d3d256c8: Pulling fs layer [2022-05-10T07:24:09.614Z] de9db76c5a1d: Pulling fs layer [2022-05-10T07:24:09.614Z] 0eba1c9be4d2: Pulling fs layer [2022-05-10T07:24:09.614Z] 0d57e429df01: Pulling fs layer [2022-05-10T07:24:09.614Z] 4e4be7b47b0d: Pulling fs layer [2022-05-10T07:24:09.614Z] e1f770b5df2f: Pulling fs layer [2022-05-10T07:24:09.614Z] 85a0685a4137: Pulling fs layer [2022-05-10T07:24:09.614Z] 0eba1c9be4d2: Waiting [2022-05-10T07:24:09.614Z] 4e4be7b47b0d: Waiting [2022-05-10T07:24:09.614Z] e1f770b5df2f: Waiting [2022-05-10T07:24:09.614Z] 0d57e429df01: Waiting [2022-05-10T07:24:09.614Z] 85a0685a4137: Waiting [2022-05-10T07:24:09.614Z] de9db76c5a1d: Verifying Checksum [2022-05-10T07:24:09.614Z] de9db76c5a1d: Download complete [2022-05-10T07:24:09.614Z] 0ef7d3d256c8: Download complete [2022-05-10T07:24:09.614Z] 0d57e429df01: Verifying Checksum [2022-05-10T07:24:09.614Z] 0d57e429df01: Download complete [2022-05-10T07:24:09.614Z] 4e4be7b47b0d: Verifying Checksum [2022-05-10T07:24:09.614Z] 4e4be7b47b0d: Download complete [2022-05-10T07:24:09.614Z] 188c0c94c7c5: Verifying Checksum [2022-05-10T07:24:09.614Z] 188c0c94c7c5: Download complete [2022-05-10T07:24:09.874Z] 188c0c94c7c5: Pull complete [2022-05-10T07:24:09.874Z] e1f770b5df2f: Verifying Checksum [2022-05-10T07:24:09.874Z] e1f770b5df2f: Download complete [2022-05-10T07:24:09.874Z] 0ef7d3d256c8: Pull complete [2022-05-10T07:24:10.134Z] de9db76c5a1d: Pull complete [2022-05-10T07:24:10.393Z] 0eba1c9be4d2: Verifying Checksum [2022-05-10T07:24:10.393Z] 0eba1c9be4d2: Download complete [2022-05-10T07:24:10.393Z] 85a0685a4137: Verifying Checksum [2022-05-10T07:24:10.393Z] 85a0685a4137: Download complete [2022-05-10T07:24:13.676Z] 0eba1c9be4d2: Pull complete [2022-05-10T07:24:13.676Z] 0d57e429df01: Pull complete [2022-05-10T07:24:13.676Z] 4e4be7b47b0d: Pull complete [2022-05-10T07:24:13.934Z] e1f770b5df2f: Pull complete [2022-05-10T07:24:17.223Z] 85a0685a4137: Pull complete [2022-05-10T07:24:17.223Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-10T07:24:17.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T07:24:17.223Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-10T07:24:17.295Z] prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container [2022-05-10T07:24:17.338Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-10T07:24:19.664Z] $ docker top 9bf3a01d6326bdf06f6e06f81a090a42c0938bd4a412f8fbf30bc2bdd8bfd817 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-10T07:24:19.735Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-10T07:24:20.023Z] + set -o pipefail [2022-05-10T07:24:20.023Z] + snyk monitor '--org=edgex-jenkins' [2022-05-10T07:24:25.313Z] [2022-05-10T07:24:25.313Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-05-10T07:24:25.313Z] [2022-05-10T07:24:25.313Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/2fe0205f-dc84-465d-9576-5c98528df43b [2022-05-10T07:24:25.313Z] [2022-05-10T07:24:25.313Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-05-10T07:24:25.313Z] [2022-05-10T07:24:25.313Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-10T07:24:25.313Z] [2022-05-10T07:24:25.313Z] [Pipeline] } [2022-05-10T07:24:25.334Z] $ docker stop --time=1 9bf3a01d6326bdf06f6e06f81a090a42c0938bd4a412f8fbf30bc2bdd8bfd817 [2022-05-10T07:24:27.485Z] $ docker rm -f 9bf3a01d6326bdf06f6e06f81a090a42c0938bd4a412f8fbf30bc2bdd8bfd817 [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-05-10T07:24:28.171Z] + git log --format=format:%s -1 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] sh [2022-05-10T07:24:28.469Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:24:28.469Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:24:28.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:24:28.774Z] . [Pipeline] withDockerContainer [2022-05-10T07:24:28.849Z] prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container [2022-05-10T07:24:28.890Z] $ 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:latest cat [2022-05-10T07:24:29.340Z] $ docker top 4a5cd637cd6103d7b0fe0dc4cc3ab62e2496810e7a2549fa1009f4b2fe13716a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:24:29.437Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:24:29.437Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:24:29.556Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:24:29.565Z] $ docker exec 4a5cd637cd6103d7b0fe0dc4cc3ab62e2496810e7a2549fa1009f4b2fe13716a ssh-agent [2022-05-10T07:24:29.689Z] SSH_AUTH_SOCK=/tmp/ssh-IOydKxZJOv6X/agent.33 [2022-05-10T07:24:29.689Z] SSH_AGENT_PID=40 [2022-05-10T07:24:29.694Z] Running ssh-add (command line suppressed) [2022-05-10T07:24:29.827Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6027588699194940410.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6027588699194940410.key) [2022-05-10T07:24:29.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:24:30.129Z] + git semver tag [2022-05-10T07:24:30.389Z] 2022-05-10 07:24:30,320 [run_tag] DEBUG tag force:False [2022-05-10T07:24:30.389Z] 2022-05-10 07:24:30,320 [check_head_tag] DEBUG check head tag [2022-05-10T07:24:30.389Z] 2022-05-10 07:24:30,320 [execute] INFO git cat-file --batch-check [2022-05-10T07:24:30.389Z] 2022-05-10 07:24:30,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T07:24:30.389Z] 2022-05-10 07:24:30,322 [execute] INFO git cat-file --batch [2022-05-10T07:24:30.389Z] 2022-05-10 07:24:30,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T07:24:30.389Z] 2022-05-10 07:24:30,340 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T07:24:30.389Z] 2022-05-10 07:24:30,340 [execute] INFO git tag -a v2.2.0-dev.18 -m v2.2.0-dev.18 [2022-05-10T07:24:30.389Z] 2022-05-10 07:24:30,340 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.18', '-m', 'v2.2.0-dev.18'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T07:24:30.389Z] 2022-05-10 07:24:30,344 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T07:24:30.389Z] 2.2.0-dev.18 [Pipeline] } [2022-05-10T07:24:30.407Z] $ docker exec --env ******** --env ******** 4a5cd637cd6103d7b0fe0dc4cc3ab62e2496810e7a2549fa1009f4b2fe13716a ssh-agent -k [2022-05-10T07:24:30.525Z] unset SSH_AUTH_SOCK; [2022-05-10T07:24:30.525Z] unset SSH_AGENT_PID; [2022-05-10T07:24:30.525Z] echo Agent pid 40 killed; [2022-05-10T07:24:30.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:24:30.870Z] + git semver [Pipeline] } [2022-05-10T07:24:31.183Z] $ docker stop --time=1 4a5cd637cd6103d7b0fe0dc4cc3ab62e2496810e7a2549fa1009f4b2fe13716a [2022-05-10T07:24:32.487Z] $ docker rm -f 4a5cd637cd6103d7b0fe0dc4cc3ab62e2496810e7a2549fa1009f4b2fe13716a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:24:32.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T07:24:32.865Z] [2022-05-10T07:24:32.865Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:24:33.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T07:24:33.172Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T07:24:33.172Z] ab5ef0e58194: Pulling fs layer [2022-05-10T07:24:33.172Z] 9712f1f96733: Pulling fs layer [2022-05-10T07:24:33.172Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T07:24:33.172Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T07:24:33.172Z] e9a5061849ea: Pulling fs layer [2022-05-10T07:24:33.172Z] d747dcd14b5f: Pulling fs layer [2022-05-10T07:24:33.172Z] 2de7ff778b66: Pulling fs layer [2022-05-10T07:24:33.172Z] 0d9ebad4ef96: Waiting [2022-05-10T07:24:33.172Z] e9a5061849ea: Waiting [2022-05-10T07:24:33.172Z] d747dcd14b5f: Waiting [2022-05-10T07:24:33.172Z] 9712f1f96733: Verifying Checksum [2022-05-10T07:24:33.172Z] 9712f1f96733: Download complete [2022-05-10T07:24:33.436Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T07:24:33.436Z] 63f879dbbcfc: Download complete [2022-05-10T07:24:33.696Z] e9a5061849ea: Verifying Checksum [2022-05-10T07:24:33.696Z] e9a5061849ea: Download complete [2022-05-10T07:24:33.696Z] d747dcd14b5f: Download complete [2022-05-10T07:24:33.696Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T07:24:33.696Z] 0d9ebad4ef96: Download complete [2022-05-10T07:24:33.696Z] ab5ef0e58194: Verifying Checksum [2022-05-10T07:24:33.696Z] ab5ef0e58194: Download complete [2022-05-10T07:24:33.696Z] 2de7ff778b66: Verifying Checksum [2022-05-10T07:24:33.696Z] 2de7ff778b66: Download complete [2022-05-10T07:24:36.999Z] ab5ef0e58194: Pull complete [2022-05-10T07:24:36.999Z] 9712f1f96733: Pull complete [2022-05-10T07:24:36.999Z] 63f879dbbcfc: Pull complete [2022-05-10T07:24:41.191Z] 0d9ebad4ef96: Pull complete [2022-05-10T07:24:41.191Z] e9a5061849ea: Pull complete [2022-05-10T07:24:41.191Z] d747dcd14b5f: Pull complete [2022-05-10T07:24:42.129Z] 2de7ff778b66: Pull complete [2022-05-10T07:24:42.129Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T07:24:42.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T07:24:42.129Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T07:24:42.192Z] prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container [2022-05-10T07:24:42.234Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-10T07:24:44.760Z] $ docker top 36bfc3eb108f3c0e418965600a43e34537df98cd75b2a08c7a5e180c1423a04c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:24:44.844Z] provisioning config files... [2022-05-10T07:24:44.854Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7247134700924189186tmp [2022-05-10T07:24:44.866Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config57396465620670864tmp [2022-05-10T07:24:44.877Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6229383693540989036tmp [Pipeline] { [Pipeline] echo [2022-05-10T07:24:44.892Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:45.178Z] ---> sigul-configuration.sh [2022-05-10T07:24:45.178Z] gpg: directory `/root/.gnupg' created [2022-05-10T07:24:45.178Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T07:24:45.178Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T07:24:45.178Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T07:24:45.178Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T07:24:45.178Z] gpg: CAST5 encrypted data [2022-05-10T07:24:45.178Z] gpg: encrypted with 1 passphrase [2022-05-10T07:24:45.178Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T07:24:45.470Z] + mkdir /home/jenkins [2022-05-10T07:24:45.470Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T07:24:45.759Z] + 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-05-10T07:24:45.770Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:46.061Z] ---> sigul-install.sh [2022-05-10T07:24:46.061Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T07:24:46.350Z] + git tag --list [2022-05-10T07:24:46.350Z] 0.7.1 [2022-05-10T07:24:46.350Z] v1.0.0 [2022-05-10T07:24:46.350Z] v1.1.0 [2022-05-10T07:24:46.350Z] v1.1.1 [2022-05-10T07:24:46.350Z] v1.2.2 [2022-05-10T07:24:46.350Z] v1.3.0 [2022-05-10T07:24:46.350Z] v1.3.1 [2022-05-10T07:24:46.350Z] v2.0.0 [2022-05-10T07:24:46.350Z] v2.0.1-dev.1 [2022-05-10T07:24:46.350Z] v2.0.1-dev.10 [2022-05-10T07:24:46.350Z] v2.0.1-dev.11 [2022-05-10T07:24:46.350Z] v2.0.1-dev.12 [2022-05-10T07:24:46.350Z] v2.0.1-dev.2 [2022-05-10T07:24:46.350Z] v2.0.1-dev.3 [2022-05-10T07:24:46.350Z] v2.0.1-dev.4 [2022-05-10T07:24:46.350Z] v2.0.1-dev.5 [2022-05-10T07:24:46.350Z] v2.0.1-dev.6 [2022-05-10T07:24:46.350Z] v2.0.1-dev.7 [2022-05-10T07:24:46.350Z] v2.0.1-dev.8 [2022-05-10T07:24:46.350Z] v2.0.1-dev.9 [2022-05-10T07:24:46.350Z] v2.1.0 [2022-05-10T07:24:46.350Z] v2.2.0-dev.1 [2022-05-10T07:24:46.350Z] v2.2.0-dev.10 [2022-05-10T07:24:46.350Z] v2.2.0-dev.11 [2022-05-10T07:24:46.350Z] v2.2.0-dev.12 [2022-05-10T07:24:46.350Z] v2.2.0-dev.13 [2022-05-10T07:24:46.350Z] v2.2.0-dev.14 [2022-05-10T07:24:46.350Z] v2.2.0-dev.15 [2022-05-10T07:24:46.350Z] v2.2.0-dev.16 [2022-05-10T07:24:46.350Z] v2.2.0-dev.17 [2022-05-10T07:24:46.350Z] v2.2.0-dev.18 [2022-05-10T07:24:46.350Z] v2.2.0-dev.2 [2022-05-10T07:24:46.350Z] v2.2.0-dev.3 [2022-05-10T07:24:46.350Z] v2.2.0-dev.4 [2022-05-10T07:24:46.350Z] v2.2.0-dev.5 [2022-05-10T07:24:46.350Z] v2.2.0-dev.6 [2022-05-10T07:24:46.350Z] v2.2.0-dev.7 [2022-05-10T07:24:46.350Z] v2.2.0-dev.8 [2022-05-10T07:24:46.350Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-10T07:24:46.645Z] + lftools sign git-tag v2.2.0-dev.18 [2022-05-10T07:24:47.216Z] Signing Git tag with Sigul... [2022-05-10T07:24:47.216Z] Signing v2.2.0-dev.18 [Pipeline] echo [2022-05-10T07:24:47.487Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:47.772Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T07:24:47.781Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T07:24:47.808Z] $ docker stop --time=1 36bfc3eb108f3c0e418965600a43e34537df98cd75b2a08c7a5e180c1423a04c [2022-05-10T07:24:49.165Z] $ docker rm -f 36bfc3eb108f3c0e418965600a43e34537df98cd75b2a08c7a5e180c1423a04c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T07:24:49.600Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:24:49.600Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:24:49.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:24:49.900Z] . [Pipeline] withDockerContainer [2022-05-10T07:24:49.968Z] prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container [2022-05-10T07:24:50.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T07:24:50.416Z] $ docker top 88016af3746f4a93a4186627d3a20ec7e0858331f97984665e0c504ddf574982 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:24:50.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:24:50.518Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:24:50.650Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:24:50.660Z] $ docker exec 88016af3746f4a93a4186627d3a20ec7e0858331f97984665e0c504ddf574982 ssh-agent [2022-05-10T07:24:50.788Z] SSH_AUTH_SOCK=/tmp/ssh-QyE3BP0sU3kE/agent.34 [2022-05-10T07:24:50.788Z] SSH_AGENT_PID=40 [2022-05-10T07:24:50.793Z] Running ssh-add (command line suppressed) [2022-05-10T07:24:50.929Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4003301256920112314.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4003301256920112314.key) [2022-05-10T07:24:50.940Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:24:51.234Z] + git semver bump pre [2022-05-10T07:24:51.494Z] 2022-05-10 07:24:51,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T07:24:51.494Z] 2022-05-10 07:24:51,420 [bump_version] DEBUG bumping version:2.2.0-dev.18 on axis:pre with prefix:dev [2022-05-10T07:24:51.494Z] 2022-05-10 07:24:51,420 [bump_version] DEBUG bumped version:2.2.0-dev.19 [2022-05-10T07:24:51.494Z] 2022-05-10 07:24:51,420 [write_version] DEBUG write version:2.2.0-dev.19 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-05-10T07:24:51.494Z] 2022-05-10 07:24:51,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T07:24:51.494Z] 2022-05-10 07:24:51,420 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T07:24:51.494Z] 2022-05-10 07:24:51,422 [execute] INFO git cat-file --batch-check [2022-05-10T07:24:51.494Z] 2022-05-10 07:24:51,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T07:24:51.494Z] 2022-05-10 07:24:51,427 [execute] INFO git cat-file --batch [2022-05-10T07:24:51.494Z] 2022-05-10 07:24:51,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T07:24:51.495Z] 2022-05-10 07:24:51,431 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T07:24:51.495Z] 2.2.0-dev.19 [Pipeline] } [2022-05-10T07:24:51.513Z] $ docker exec --env ******** --env ******** 88016af3746f4a93a4186627d3a20ec7e0858331f97984665e0c504ddf574982 ssh-agent -k [2022-05-10T07:24:51.627Z] unset SSH_AUTH_SOCK; [2022-05-10T07:24:51.627Z] unset SSH_AGENT_PID; [2022-05-10T07:24:51.628Z] echo Agent pid 40 killed; [2022-05-10T07:24:51.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:24:51.936Z] + git semver [Pipeline] } [2022-05-10T07:24:52.217Z] $ docker stop --time=1 88016af3746f4a93a4186627d3a20ec7e0858331f97984665e0c504ddf574982 [2022-05-10T07:24:53.524Z] $ docker rm -f 88016af3746f4a93a4186627d3a20ec7e0858331f97984665e0c504ddf574982 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:24:53.883Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:24:53.883Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:24:54.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:24:54.179Z] . [Pipeline] withDockerContainer [2022-05-10T07:24:54.245Z] prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container [2022-05-10T07:24:54.286Z] $ 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:latest cat [2022-05-10T07:24:54.665Z] $ docker top e800897bd396ba2425ad4aa3ebd271d553be0c6dce10cb2e2e604cd8842133c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:24:54.751Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:24:54.751Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:24:54.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:24:54.878Z] $ docker exec e800897bd396ba2425ad4aa3ebd271d553be0c6dce10cb2e2e604cd8842133c6 ssh-agent [2022-05-10T07:24:55.021Z] SSH_AUTH_SOCK=/tmp/ssh-L1S3QxHi3XZ1/agent.34 [2022-05-10T07:24:55.021Z] SSH_AGENT_PID=40 [2022-05-10T07:24:55.026Z] Running ssh-add (command line suppressed) [2022-05-10T07:24:55.158Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6430862133330060305.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6430862133330060305.key) [2022-05-10T07:24:55.166Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:24:55.457Z] + git semver push [2022-05-10T07:24:55.716Z] 2022-05-10 07:24:55,661 [run_push] DEBUG push [2022-05-10T07:24:55.716Z] 2022-05-10 07:24:55,662 [execute] INFO git push origin semver [2022-05-10T07:24:55.717Z] 2022-05-10 07:24:55,662 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-10T07:24:56.656Z] 2022-05-10 07:24:56,388 [run_push] DEBUG push all version tags [2022-05-10T07:24:56.656Z] 2022-05-10 07:24:56,388 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-10T07:24:56.656Z] 2022-05-10 07:24:56,389 [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-05-10T07:24:57.228Z] 2022-05-10 07:24:57,115 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T07:24:57.228Z] 2.2.0-dev.19 [Pipeline] } [2022-05-10T07:24:57.247Z] $ docker exec --env ******** --env ******** e800897bd396ba2425ad4aa3ebd271d553be0c6dce10cb2e2e604cd8842133c6 ssh-agent -k [2022-05-10T07:24:57.363Z] unset SSH_AUTH_SOCK; [2022-05-10T07:24:57.363Z] unset SSH_AGENT_PID; [2022-05-10T07:24:57.363Z] echo Agent pid 40 killed; [2022-05-10T07:24:57.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:24:57.722Z] + git semver [Pipeline] } [2022-05-10T07:24:58.005Z] $ docker stop --time=1 e800897bd396ba2425ad4aa3ebd271d553be0c6dce10cb2e2e604cd8842133c6 [2022-05-10T07:24:59.335Z] $ docker rm -f e800897bd396ba2425ad4aa3ebd271d553be0c6dce10cb2e2e604cd8842133c6 [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-05-10T07:25:00.009Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-05-10T07:25:00.009Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-10T07:25:00.009Z] total 16 [2022-05-10T07:25:00.009Z] drwxr-xr-x 3 root root 4096 May 10 07:15 . [2022-05-10T07:25:00.009Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 07:24 .. [2022-05-10T07:25:00.009Z] drwxr-xr-x 2 root root 4096 May 10 07:15 cost [2022-05-10T07:25:00.009Z] -rw-r--r-- 1 root root 86 May 10 07:15 cost.csv [2022-05-10T07:25:00.009Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-10T07:25:00.009Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-10T07:25:00.009Z] total 16 [2022-05-10T07:25:00.009Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:15 . [2022-05-10T07:25:00.009Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 07:24 .. [2022-05-10T07:25:00.009Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 07:15 cost [2022-05-10T07:25:00.009Z] -rw-r--r-- 1 jenkins jenkins 86 May 10 07:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:25:00.303Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:25:01.169Z] ---> package-listing.sh [2022-05-10T07:25:01.169Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T07:25:01.169Z] ++ facter osfamily [2022-05-10T07:25:01.429Z] + OS_FAMILY=debian [2022-05-10T07:25:01.429Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-05-10T07:25:01.429Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T07:25:01.429Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T07:25:01.429Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T07:25:01.429Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T07:25:01.429Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-10T07:25:01.429Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T07:25:01.429Z] + case "${OS_FAMILY}" in [2022-05-10T07:25:01.429Z] + dpkg -l [2022-05-10T07:25:01.429Z] + grep '^ii' [2022-05-10T07:25:01.429Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T07:25:01.429Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T07:25:01.429Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T07:25:01.429Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-10T07:25:01.429Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-05-10T07:25:01.429Z] + 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-05-10T07:25:01.443Z] 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-05-10T07:25:01.724Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:25:02.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:25:02.283Z] . [Pipeline] withDockerContainer [2022-05-10T07:25:02.347Z] prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container [2022-05-10T07:25:02.388Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T07:25:02.637Z] $ docker top e80b1ccadfe1371c4005dc9501e055ce62e7d4136057b8dc61e431f8881ad86b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:25:02.987Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T07:25:03.273Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T07:25:03.562Z] + ls /var/log/sa-host [2022-05-10T07:25:03.562Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:25:03.808Z] provisioning config files... [2022-05-10T07:25:03.818Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4004945808458973858tmp [Pipeline] { [Pipeline] echo [2022-05-10T07:25:03.830Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:25:04.118Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T07:25:04.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:25:04.464Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T07:25:04.474Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:25:04.759Z] ---> sudo-logs.sh [2022-05-10T07:25:04.759Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T07:25:04.794Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:25:05.082Z] ---> job-cost.sh [2022-05-10T07:25:05.082Z] lf-activate-venv: SKIPPING [2022-05-10T07:25:05.082Z] DEBUG: total: 0.2199999988079071 [2022-05-10T07:25:05.082Z] INFO: Retrieving Stack Cost... [2022-05-10T07:25:05.343Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T07:25:05.915Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T07:25:05.931Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:25:06.218Z] ---> logs-deploy.sh [2022-05-10T07:25:06.219Z] lf-activate-venv: SKIPPING [2022-05-10T07:25:06.219Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/36 [2022-05-10T07:25:06.219Z] INFO: archiving workspace using pattern(s): [2022-05-10T07:25:07.160Z] Archives upload complete. [2022-05-10T07:25:07.160Z] INFO: archiving logs to Nexus