Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 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-ssh12074815257290720039.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-ssh13135186317981771627.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-ssh4753087861485519456.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-ssh2577602496388155398.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-ssh7288455814791052940.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-47730 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 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 (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 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#345)" > git rev-list --no-walk 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T12:35:30.071Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T12:35:30.126Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T12:35:30.140Z] ========================================================= [2022-05-10T12:35:30.140Z] EdgeX Global Pipelines Version Info [2022-05-10T12:35:30.140Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:35:30.918Z] ------------------- [2022-05-10T12:35:30.918Z] stable info: [2022-05-10T12:35:30.918Z] ------------------- [2022-05-10T12:35:30.918Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T12:35:30.918Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T12:35:30.918Z] Message: update stable to v1.0.227 [2022-05-10T12:35:31.492Z] ------------------- [2022-05-10T12:35:31.492Z] experimental info: [2022-05-10T12:35:31.492Z] ------------------- [2022-05-10T12:35:31.492Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T12:35:31.492Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T12:35:31.492Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T12:35:31.634Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-10T12:35:31.650Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-10T12:35:31.667Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T12:35:31.685Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T12:35:31.701Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T12:35:31.713Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T12:35:31.727Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T12:35:31.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T12:35:31.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T12:35:31.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T12:35:31.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T12:35:31.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-10T12:35:31.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T12:35:31.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T12:35:31.804Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T12:35:31.812Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T12:35:31.821Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T12:35:31.830Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T12:35:31.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T12:35:31.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T12:35:31.856Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T12:35:31.864Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T12:35:31.872Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T12:35:31.881Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T12:35:31.890Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T12:35:31.905Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T12:35:31.919Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T12:35:31.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T12:35:31.941Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T12:35:31.955Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] echo [2022-05-10T12:35:31.968Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74a050b [Pipeline] echo [2022-05-10T12:35:31.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:35:32.030Z] provisioning config files... [2022-05-10T12:35:32.045Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4446867113647955643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:35:32.356Z] ---> docker-login.sh [2022-05-10T12:35:32.356Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:35:32.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:35:32.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:35:32.625Z] Configure a credential helper to remove this warning. See [2022-05-10T12:35:32.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:35:32.625Z] [2022-05-10T12:35:32.625Z] Login Succeeded [2022-05-10T12:35:32.625Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:35:32.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:35:32.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:35:32.886Z] Configure a credential helper to remove this warning. See [2022-05-10T12:35:32.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:35:32.886Z] [2022-05-10T12:35:32.886Z] Login Succeeded [2022-05-10T12:35:32.886Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:35:32.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:35:32.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:35:32.886Z] Configure a credential helper to remove this warning. See [2022-05-10T12:35:32.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:35:32.886Z] [2022-05-10T12:35:32.886Z] Login Succeeded [2022-05-10T12:35:32.886Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:35:33.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:35:33.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:35:33.147Z] Configure a credential helper to remove this warning. See [2022-05-10T12:35:33.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:35:33.147Z] [2022-05-10T12:35:33.147Z] Login Succeeded [2022-05-10T12:35:33.147Z] docker.io [2022-05-10T12:35:33.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:35:33.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:35:33.720Z] Configure a credential helper to remove this warning. See [2022-05-10T12:35:33.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:35:33.720Z] [2022-05-10T12:35:33.720Z] Login Succeeded [2022-05-10T12:35:33.720Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:35:33.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T12:35:34.109Z] + git rev-list -1 --merges 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180~1..74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] echo [2022-05-10T12:35:34.222Z] -----------> git rev-list -1 --merges 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180~1..74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [false] [Pipeline] sh [2022-05-10T12:35:34.514Z] + git log --format=format:%s -1 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] echo [2022-05-10T12:35:34.532Z] ========================================================= [2022-05-10T12:35:34.532Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T12:35:34.532Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:35:34.871Z] + git log --format=format:%s -1 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] echo [2022-05-10T12:35:34.884Z] [semverPrep] GIT_COMMIT: 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#345) [Pipeline] echo [2022-05-10T12:35:34.894Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T12:35:35.275Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:35:35.275Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T12:35:35.275Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T12:35:35.275Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T12:35:35.275Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T12:35:35.275Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T12:35:35.275Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:35:35.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:35:35.634Z] [2022-05-10T12:35:35.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:35:35.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:35:35.947Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T12:35:35.947Z] 1fe172e4850f: Pulling fs layer [2022-05-10T12:35:35.947Z] caf521ccaac6: Pulling fs layer [2022-05-10T12:35:35.947Z] 3ead6fa29328: Pulling fs layer [2022-05-10T12:35:35.947Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T12:35:35.947Z] a8d5f1318db7: Pulling fs layer [2022-05-10T12:35:35.947Z] c427282e49a2: Pulling fs layer [2022-05-10T12:35:35.947Z] 1827001aaf11: Pulling fs layer [2022-05-10T12:35:35.947Z] 0714d37db230: Pulling fs layer [2022-05-10T12:35:35.947Z] ac28cf19c067: Pulling fs layer [2022-05-10T12:35:35.947Z] ca983d60f3e2: Pulling fs layer [2022-05-10T12:35:35.947Z] 9f894cec8388: Pulling fs layer [2022-05-10T12:35:35.947Z] ac28cf19c067: Waiting [2022-05-10T12:35:35.947Z] a8d5f1318db7: Waiting [2022-05-10T12:35:35.947Z] 1827001aaf11: Waiting [2022-05-10T12:35:35.947Z] ca983d60f3e2: Waiting [2022-05-10T12:35:35.947Z] 9f894cec8388: Waiting [2022-05-10T12:35:35.947Z] 5c2a1cbceb83: Waiting [2022-05-10T12:35:35.947Z] 0714d37db230: Waiting [2022-05-10T12:35:35.947Z] c427282e49a2: Waiting [2022-05-10T12:35:35.947Z] caf521ccaac6: Download complete [2022-05-10T12:35:35.947Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T12:35:35.947Z] 5c2a1cbceb83: Download complete [2022-05-10T12:35:35.947Z] a8d5f1318db7: Verifying Checksum [2022-05-10T12:35:35.947Z] a8d5f1318db7: Download complete [2022-05-10T12:35:35.947Z] c427282e49a2: Download complete [2022-05-10T12:35:36.210Z] 3ead6fa29328: Verifying Checksum [2022-05-10T12:35:36.210Z] 3ead6fa29328: Download complete [2022-05-10T12:35:36.210Z] 0714d37db230: Download complete [2022-05-10T12:35:36.210Z] ac28cf19c067: Verifying Checksum [2022-05-10T12:35:36.210Z] ac28cf19c067: Download complete [2022-05-10T12:35:36.210Z] ca983d60f3e2: Download complete [2022-05-10T12:35:36.210Z] 9f894cec8388: Verifying Checksum [2022-05-10T12:35:36.210Z] 9f894cec8388: Download complete [2022-05-10T12:35:36.210Z] 1fe172e4850f: Download complete [2022-05-10T12:35:36.469Z] 1827001aaf11: Verifying Checksum [2022-05-10T12:35:37.410Z] 1fe172e4850f: Pull complete [2022-05-10T12:35:37.670Z] caf521ccaac6: Pull complete [2022-05-10T12:35:38.243Z] 3ead6fa29328: Pull complete [2022-05-10T12:35:38.243Z] 5c2a1cbceb83: Pull complete [2022-05-10T12:35:38.503Z] a8d5f1318db7: Pull complete [2022-05-10T12:35:38.503Z] c427282e49a2: Pull complete [2022-05-10T12:35:40.411Z] 1827001aaf11: Pull complete [2022-05-10T12:35:40.411Z] 0714d37db230: Pull complete [2022-05-10T12:35:40.411Z] ac28cf19c067: Pull complete [2022-05-10T12:35:40.671Z] ca983d60f3e2: Pull complete [2022-05-10T12:35:40.671Z] 9f894cec8388: Pull complete [2022-05-10T12:35:40.671Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T12:35:40.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:35:40.672Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T12:35:40.748Z] prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container [2022-05-10T12:35:40.790Z] $ 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-10T12:35:42.317Z] $ docker top 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce -eo pid,comm [2022-05-10T12:35:42.385Z] 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-10T12:35:42.385Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:35:42.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:35:42.429Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:35:42.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:35:42.560Z] $ docker exec 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce ssh-agent [2022-05-10T12:35:42.671Z] SSH_AUTH_SOCK=/tmp/ssh-ci42obOdIjga/agent.32 [2022-05-10T12:35:42.671Z] SSH_AGENT_PID=39 [2022-05-10T12:35:42.679Z] Running ssh-add (command line suppressed) [2022-05-10T12:35:42.809Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4511598985682016902.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4511598985682016902.key) [2022-05-10T12:35:42.816Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:35:43.109Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T12:35:43.129Z] $ docker exec --env ******** --env ******** 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce ssh-agent -k [2022-05-10T12:35:43.238Z] unset SSH_AUTH_SOCK; [2022-05-10T12:35:43.239Z] unset SSH_AGENT_PID; [2022-05-10T12:35:43.239Z] echo Agent pid 39 killed; [2022-05-10T12:35:43.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T12:35:43.266Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:35:43.266Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:35:43.392Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:35:43.402Z] $ docker exec 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce ssh-agent [2022-05-10T12:35:43.539Z] SSH_AUTH_SOCK=/tmp/ssh-K9GUpz8bYfoR/agent.72 [2022-05-10T12:35:43.539Z] SSH_AGENT_PID=79 [2022-05-10T12:35:43.547Z] Running ssh-add (command line suppressed) [2022-05-10T12:35:43.674Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4637896290450291764.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4637896290450291764.key) [2022-05-10T12:35:43.684Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:35:43.977Z] + git semver init [2022-05-10T12:35:44.238Z] 2022-05-10 12:35:44,231 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T12:35:44.238Z] 2022-05-10 12:35:44,231 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-10T12:35:44.238Z] 2022-05-10 12:35:44,232 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-10T12:35:44.238Z] 2022-05-10 12:35:44,232 [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-10T12:35:45.180Z] 2022-05-10 12:35:45,068 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-05-10T12:35:45.180Z] 2022-05-10 12:35:45,069 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-05-10T12:35:45.180Z] 2022-05-10 12:35:45,069 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T12:35:45.180Z] 2022-05-10 12:35:45,069 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T12:35:45.180Z] 2.2.0-dev.19 [Pipeline] } [2022-05-10T12:35:45.198Z] $ docker exec --env ******** --env ******** 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce ssh-agent -k [2022-05-10T12:35:45.317Z] unset SSH_AUTH_SOCK; [2022-05-10T12:35:45.317Z] unset SSH_AGENT_PID; [2022-05-10T12:35:45.317Z] echo Agent pid 79 killed; [2022-05-10T12:35:45.321Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:35:45.629Z] + git semver [Pipeline] } [2022-05-10T12:35:45.912Z] $ docker stop --time=1 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce [2022-05-10T12:35:47.775Z] $ docker rm -f 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:35:48.180Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T12:35:48.452Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T12:35:48.456Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.19 [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-10T12:35:48.618Z] provisioning config files... [2022-05-10T12:35:48.629Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4819389966248121941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:35:48.750Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47728 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-05-10T12:35:48.763Z] Running in /w/workspace/device-modbus-go/37 [Pipeline] { [Pipeline] checkout [2022-05-10T12:35:48.930Z] ---> docker-login.sh [2022-05-10T12:35:48.930Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:35:48.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:35:48.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:35:48.930Z] Configure a credential helper to remove this warning. See [2022-05-10T12:35:48.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:35:48.930Z] [2022-05-10T12:35:48.930Z] Login Succeeded [2022-05-10T12:35:48.930Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:35:48.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:35:48.969Z] Selected Git installation does not exist. Using Default [2022-05-10T12:35:48.969Z] The recommended git tool is: NONE [2022-05-10T12:35:49.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:35:49.189Z] Configure a credential helper to remove this warning. See [2022-05-10T12:35:49.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:35:49.189Z] [2022-05-10T12:35:49.189Z] Login Succeeded [2022-05-10T12:35:49.189Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:35:49.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:35:49.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:35:49.189Z] Configure a credential helper to remove this warning. See [2022-05-10T12:35:49.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:35:49.189Z] [2022-05-10T12:35:49.189Z] Login Succeeded [2022-05-10T12:35:49.189Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:35:49.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:35:49.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:35:49.449Z] Configure a credential helper to remove this warning. See [2022-05-10T12:35:49.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:35:49.449Z] [2022-05-10T12:35:49.449Z] Login Succeeded [2022-05-10T12:35:49.449Z] docker.io [2022-05-10T12:35:49.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:35:49.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:35:49.710Z] Configure a credential helper to remove this warning. See [2022-05-10T12:35:49.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:35:49.710Z] [2022-05-10T12:35:49.710Z] Login Succeeded [2022-05-10T12:35:49.710Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:35:49.718Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:35:49.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:35:49.804Z] ========================================================= [2022-05-10T12:35:49.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T12:35:49.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:35:50.117Z] + 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-10T12:35:50.117Z] Sending build context to Docker daemon 5.881MB [2022-05-10T12:35:50.117Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:35:50.117Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-10T12:35:50.117Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T12:35:50.117Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T12:35:50.117Z] 666ba61612fd: Pulling fs layer [2022-05-10T12:35:50.117Z] 8ed8ca486205: Pulling fs layer [2022-05-10T12:35:50.117Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T12:35:50.117Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T12:35:50.117Z] ca2b28591e48: Pulling fs layer [2022-05-10T12:35:50.117Z] a51346096db8: Pulling fs layer [2022-05-10T12:35:50.117Z] daebc70d1ce1: Pulling fs layer [2022-05-10T12:35:50.117Z] 0e18a0eac166: Pulling fs layer [2022-05-10T12:35:50.117Z] ca2b28591e48: Waiting [2022-05-10T12:35:50.117Z] a51346096db8: Waiting [2022-05-10T12:35:50.117Z] daebc70d1ce1: Waiting [2022-05-10T12:35:50.117Z] 4fe6c5a15a65: Waiting [2022-05-10T12:35:50.117Z] 22a0e8bec74d: Waiting [2022-05-10T12:35:50.117Z] 0e18a0eac166: Waiting [2022-05-10T12:35:50.117Z] 8ed8ca486205: Verifying Checksum [2022-05-10T12:35:50.117Z] 8ed8ca486205: Download complete [2022-05-10T12:35:50.117Z] 666ba61612fd: Download complete [2022-05-10T12:35:50.117Z] 22a0e8bec74d: Download complete [2022-05-10T12:35:50.377Z] ca2b28591e48: Download complete [2022-05-10T12:35:50.377Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T12:35:50.377Z] a51346096db8: Verifying Checksum [2022-05-10T12:35:50.377Z] a51346096db8: Download complete [2022-05-10T12:35:50.377Z] daebc70d1ce1: Verifying Checksum [2022-05-10T12:35:50.377Z] daebc70d1ce1: Download complete [2022-05-10T12:35:50.377Z] 59bf1c3509f3: Pull complete [2022-05-10T12:35:50.645Z] 666ba61612fd: Pull complete [2022-05-10T12:35:50.645Z] 8ed8ca486205: Pull complete [2022-05-10T12:35:50.907Z] 0e18a0eac166: Verifying Checksum [2022-05-10T12:35:50.907Z] 0e18a0eac166: Download complete [2022-05-10T12:35:51.167Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T12:35:51.167Z] 4fe6c5a15a65: Download complete [2022-05-10T12:35:53.724Z] using credential edgex-jenkins-ssh [2022-05-10T12:35:53.743Z] Cloning the remote Git repository [2022-05-10T12:35:53.801Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-10T12:35:53.891Z] > git init /w/workspace/device-modbus-go/37 # timeout=10 [2022-05-10T12:35:53.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-10T12:35:53.988Z] > git --version # timeout=10 [2022-05-10T12:35:54.011Z] > git --version # 'git version 2.25.1' [2022-05-10T12:35:54.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T12:35:54.092Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T12:35:55.219Z] Avoid second fetch [2022-05-10T12:35:55.220Z] Checking out Revision 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 (main) [2022-05-10T12:35:55.359Z] 4fe6c5a15a65: Pull complete [2022-05-10T12:35:55.359Z] 22a0e8bec74d: Pull complete [2022-05-10T12:35:55.359Z] ca2b28591e48: Pull complete [2022-05-10T12:35:55.359Z] a51346096db8: Pull complete [2022-05-10T12:35:55.359Z] daebc70d1ce1: Pull complete [2022-05-10T12:35:55.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-10T12:35:55.195Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T12:35:55.246Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T12:35:55.261Z] > git checkout -f 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 # timeout=10 [2022-05-10T12:35:57.267Z] 0e18a0eac166: Pull complete [2022-05-10T12:35:57.267Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T12:35:57.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T12:35:57.267Z] ---> f018257e8ee9 [2022-05-10T12:35:57.267Z] Step 3/10 : ARG MAKE='make build' [2022-05-10T12:35:58.654Z] ---> Running in a913590e0ee3 [2022-05-10T12:35:58.654Z] Removing intermediate container a913590e0ee3 [2022-05-10T12:35:58.654Z] ---> 5e056ed0808e [2022-05-10T12:35:58.654Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:35:58.912Z] ---> Running in 7a44fc1cfbbc [2022-05-10T12:35:59.488Z] Removing intermediate container 7a44fc1cfbbc [2022-05-10T12:35:59.488Z] ---> 32ef44b7d09a [2022-05-10T12:35:59.488Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T12:35:59.488Z] ---> Running in 2e855b4e3a9f [2022-05-10T12:35:59.525Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#345)" [2022-05-10T12:35:59.749Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:36:00.548Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T12:36:00.548Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:36:00.548Z] Dload Upload Total Spent Left Speed [2022-05-10T12:36:00.548Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [2022-05-10T12:36:00.690Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [Pipeline] sh [2022-05-10T12:36:00.950Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:36:01.088Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T12:36:01.210Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-10T12:36:01.210Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:36:01.210Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:36:01.447Z] + sudo tee+ /etc/docker/daemon.new [2022-05-10T12:36:01.447Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T12:36:01.447Z] { [2022-05-10T12:36:01.447Z] "registry-mirrors": [ [2022-05-10T12:36:01.447Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T12:36:01.447Z] ], [2022-05-10T12:36:01.447Z] "bip": "10.250.0.254/24", [2022-05-10T12:36:01.447Z] "hosts": [ [2022-05-10T12:36:01.447Z] "tcp://0.0.0.0:5555", [2022-05-10T12:36:01.447Z] "unix:///var/run/docker.sock" [2022-05-10T12:36:01.447Z] ], [2022-05-10T12:36:01.447Z] "mtu": 1458, [2022-05-10T12:36:01.447Z] "selinux-enabled": true, [2022-05-10T12:36:01.447Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T12:36:01.447Z] } [2022-05-10T12:36:01.471Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-10T12:36:01.471Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-10T12:36:01.471Z] (7/8) Installing openssh-server (8.8_p1-r1) [Pipeline] sh [2022-05-10T12:36:01.798Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-10T12:36:01.798Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:36:01.798Z] OK: 226 MiB in 60 packages [2022-05-10T12:36:01.826Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T12:36:02.199Z] + sudo service docker restart [2022-05-10T12:36:02.387Z] Removing intermediate container 2e855b4e3a9f [2022-05-10T12:36:02.387Z] ---> eec42db9cc89 [2022-05-10T12:36:02.387Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-10T12:36:02.387Z] ---> Running in c8d76a4368c3 [2022-05-10T12:36:02.387Z] Removing intermediate container c8d76a4368c3 [2022-05-10T12:36:02.387Z] ---> 2e896f61bb27 [2022-05-10T12:36:02.387Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-10T12:36:02.647Z] ---> 2368b6062ecf [2022-05-10T12:36:02.647Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:36:02.647Z] ---> Running in eebcf29171a8 [2022-05-10T12:36:17.547Z] Removing intermediate container eebcf29171a8 [2022-05-10T12:36:17.547Z] ---> b3fa7447fefa [2022-05-10T12:36:17.547Z] Step 9/10 : COPY . . [2022-05-10T12:36:17.547Z] ---> e438ad4ca83a [2022-05-10T12:36:17.547Z] Step 10/10 : RUN ${MAKE} [2022-05-10T12:36:17.547Z] ---> Running in 3a4499cf67bd [2022-05-10T12:36:17.808Z] noop [2022-05-10T12:36:18.069Z] Removing intermediate container 3a4499cf67bd [2022-05-10T12:36:18.069Z] ---> c49470df7d8d [2022-05-10T12:36:18.069Z] Successfully built c49470df7d8d [2022-05-10T12:36:18.069Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:36:18.364Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T12:36:18.364Z] . [Pipeline] withDockerContainer [2022-05-10T12:36:18.427Z] prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container [2022-05-10T12:36:18.465Z] $ 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-10T12:36:18.844Z] $ docker top 7b5441f1d04f67f8737a374a5481100427bfabf06759f80d8af6992725868afd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:36:19.197Z] + go version [2022-05-10T12:36:19.197Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T12:36:19.221Z] $ docker stop --time=1 7b5441f1d04f67f8737a374a5481100427bfabf06759f80d8af6992725868afd [2022-05-10T12:36:20.555Z] $ docker rm -f 7b5441f1d04f67f8737a374a5481100427bfabf06759f80d8af6992725868afd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] configFileProvider [2022-05-10T12:36:20.649Z] provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2022-05-10T12:36:20.676Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config2623940570488994520tmp [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:36:20.981Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T12:36:20.981Z] . [Pipeline] withDockerContainer [2022-05-10T12:36:21.051Z] prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container [2022-05-10T12:36:21.066Z] ---> docker-login.sh [2022-05-10T12:36:21.066Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:36:21.090Z] $ 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-10T12:36:21.529Z] $ docker top ef0b57e3afaf480c4c5e1e86c47c3acb712bcb88c752b8766ecedbd63df6e6d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:36:21.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:36:21.885Z] + make test [2022-05-10T12:36:21.885Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-10T12:36:21.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:36:21.944Z] Configure a credential helper to remove this warning. See [2022-05-10T12:36:21.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:36:21.944Z] [2022-05-10T12:36:21.944Z] Login Succeeded [2022-05-10T12:36:21.944Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:36:22.143Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-10T12:36:22.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:36:22.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:36:22.542Z] Configure a credential helper to remove this warning. See [2022-05-10T12:36:22.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:36:22.542Z] [2022-05-10T12:36:22.542Z] Login Succeeded [2022-05-10T12:36:22.542Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:36:22.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:36:23.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:36:23.094Z] Configure a credential helper to remove this warning. See [2022-05-10T12:36:23.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:36:23.094Z] [2022-05-10T12:36:23.094Z] Login Succeeded [2022-05-10T12:36:23.095Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:36:23.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:36:23.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:36:23.646Z] Configure a credential helper to remove this warning. See [2022-05-10T12:36:23.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:36:23.646Z] [2022-05-10T12:36:23.646Z] Login Succeeded [2022-05-10T12:36:23.646Z] docker.io [2022-05-10T12:36:23.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:36:24.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:36:24.519Z] Configure a credential helper to remove this warning. See [2022-05-10T12:36:24.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:36:24.519Z] [2022-05-10T12:36:24.519Z] Login Succeeded [2022-05-10T12:36:24.519Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:36:24.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:36:25.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:36:25.161Z] ========================================================= [2022-05-10T12:36:25.161Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T12:36:25.161Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:36:25.537Z] + 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-10T12:36:25.815Z] Sending build context to Docker daemon 3.066MB [2022-05-10T12:36:25.815Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:36:25.815Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-10T12:36:26.119Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T12:36:26.119Z] 9b3977197b4f: Pulling fs layer [2022-05-10T12:36:26.119Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T12:36:26.119Z] 94645a83ff95: Pulling fs layer [2022-05-10T12:36:26.119Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T12:36:26.119Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T12:36:26.119Z] 3096ccb668a1: Pulling fs layer [2022-05-10T12:36:26.119Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T12:36:26.119Z] a4caa8a26152: Pulling fs layer [2022-05-10T12:36:26.119Z] 3f3a8bcf1eab: Waiting [2022-05-10T12:36:26.119Z] 0c92f367c5e7: Waiting [2022-05-10T12:36:26.119Z] 3096ccb668a1: Waiting [2022-05-10T12:36:26.119Z] e8cf19c19ddd: Waiting [2022-05-10T12:36:26.119Z] a4caa8a26152: Waiting [2022-05-10T12:36:26.119Z] 94645a83ff95: Verifying Checksum [2022-05-10T12:36:26.119Z] 94645a83ff95: Download complete [2022-05-10T12:36:26.119Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T12:36:26.119Z] 1a89e8eeedd5: Download complete [2022-05-10T12:36:26.119Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T12:36:26.119Z] 0c92f367c5e7: Download complete [2022-05-10T12:36:26.119Z] 9b3977197b4f: Verifying Checksum [2022-05-10T12:36:26.119Z] 9b3977197b4f: Download complete [2022-05-10T12:36:26.119Z] 3096ccb668a1: Verifying Checksum [2022-05-10T12:36:26.119Z] 3096ccb668a1: Download complete [2022-05-10T12:36:26.119Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T12:36:26.119Z] e8cf19c19ddd: Download complete [2022-05-10T12:36:27.117Z] 9b3977197b4f: Pull complete [2022-05-10T12:36:27.396Z] 1a89e8eeedd5: Pull complete [2022-05-10T12:36:28.000Z] 94645a83ff95: Pull complete [2022-05-10T12:36:28.275Z] a4caa8a26152: Verifying Checksum [2022-05-10T12:36:28.275Z] a4caa8a26152: Download complete [2022-05-10T12:36:28.871Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T12:36:28.871Z] 3f3a8bcf1eab: Download complete [2022-05-10T12:36:32.123Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-10T12:36:32.123Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements [2022-05-10T12:36:37.407Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:36:41.269Z] 3f3a8bcf1eab: Pull complete [2022-05-10T12:36:41.269Z] 0c92f367c5e7: Pull complete [2022-05-10T12:36:41.269Z] 3096ccb668a1: Pull complete [2022-05-10T12:36:41.269Z] e8cf19c19ddd: Pull complete [2022-05-10T12:36:41.609Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:36:41.609Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:36:41.609Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:36:41.622Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:36:41.642Z] $ docker stop --time=1 ef0b57e3afaf480c4c5e1e86c47c3acb712bcb88c752b8766ecedbd63df6e6d8 [2022-05-10T12:36:43.460Z] $ docker rm -f ef0b57e3afaf480c4c5e1e86c47c3acb712bcb88c752b8766ecedbd63df6e6d8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:36:43.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:36:43.967Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T12:36:44.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:36:44.756Z] + ls -al . [2022-05-10T12:36:44.756Z] total 184 [2022-05-10T12:36:44.756Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:36 . [2022-05-10T12:36:44.756Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:35 .. [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 12:35 .dockerignore [2022-05-10T12:36:44.756Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:35 .git [2022-05-10T12:36:44.756Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 .github [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 12:35 .gitignore [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:35 .golangci.yml [2022-05-10T12:36:44.756Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:35 .semver [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 10 12:35 Attribution.txt [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 10 12:35 CHANGELOG.md [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 10 12:35 Dockerfile [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:35 GOVERNANCE.md [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 12:35 Jenkinsfile [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:35 LICENSE [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 12:35 Makefile [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 12:35 OWNERS.md [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 10 12:35 README.md [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:35 VERSION [2022-05-10T12:36:44.756Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:35 bin [2022-05-10T12:36:44.756Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 cmd [2022-05-10T12:36:44.756Z] -rw-r--r-- 1 jenkins jenkins 24065 May 10 12:36 coverage.out [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 10 12:35 go.mod [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 35558 May 10 12:35 go.sum [2022-05-10T12:36:44.756Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 internal [2022-05-10T12:36:44.756Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:35 simulator [2022-05-10T12:36:44.756Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:35 snap [2022-05-10T12:36:44.756Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 12:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:36:45.059Z] + 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=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 --label arch=amd64 --label version=2.2.0-dev.19 . [2022-05-10T12:36:45.059Z] Sending build context to Docker daemon 5.906MB [2022-05-10T12:36:45.059Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:36:45.059Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-10T12:36:45.059Z] ---> c49470df7d8d [2022-05-10T12:36:45.059Z] Step 3/23 : ARG MAKE='make build' [2022-05-10T12:36:45.059Z] ---> Running in d4732cce0062 [2022-05-10T12:36:45.319Z] Removing intermediate container d4732cce0062 [2022-05-10T12:36:45.319Z] ---> 2a48b5fe5bfb [2022-05-10T12:36:45.319Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:36:45.319Z] ---> Running in f8c4856fc51a [2022-05-10T12:36:45.889Z] Removing intermediate container f8c4856fc51a [2022-05-10T12:36:45.889Z] ---> 3a7cc7434c0d [2022-05-10T12:36:45.889Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T12:36:46.148Z] ---> Running in 59a11a88a5c1 [2022-05-10T12:36:46.409Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:36:46.687Z] a4caa8a26152: Pull complete [2022-05-10T12:36:46.687Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T12:36:46.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T12:36:46.687Z] ---> 725f1c02e7f9 [2022-05-10T12:36:46.687Z] Step 3/10 : ARG MAKE='make build' [2022-05-10T12:36:47.352Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:36:47.352Z] OK: 226 MiB in 60 packages [2022-05-10T12:36:47.676Z] ---> Running in 4528f80f3a46 [2022-05-10T12:36:47.926Z] Removing intermediate container 59a11a88a5c1 [2022-05-10T12:36:47.927Z] ---> 9c665a53f409 [2022-05-10T12:36:47.927Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-10T12:36:47.927Z] ---> Running in ffea7b26ca02 [2022-05-10T12:36:47.927Z] Removing intermediate container ffea7b26ca02 [2022-05-10T12:36:47.927Z] ---> 8195920042d9 [2022-05-10T12:36:47.927Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-10T12:36:47.952Z] Removing intermediate container 4528f80f3a46 [2022-05-10T12:36:47.952Z] ---> 43702173c202 [2022-05-10T12:36:47.952Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:36:47.952Z] ---> Running in 5b815f82c19b [2022-05-10T12:36:48.187Z] ---> e0dab53cff14 [2022-05-10T12:36:48.187Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:36:48.187Z] ---> Running in b49dbf5ca188 [2022-05-10T12:36:49.128Z] Removing intermediate container b49dbf5ca188 [2022-05-10T12:36:49.128Z] ---> d9b88f65636d [2022-05-10T12:36:49.128Z] Step 9/23 : COPY . . [2022-05-10T12:36:49.128Z] ---> a8fbaf296258 [2022-05-10T12:36:49.128Z] Step 10/23 : RUN ${MAKE} [2022-05-10T12:36:49.386Z] ---> Running in f89c2271d3d5 [2022-05-10T12:36:49.646Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-10T12:36:49.935Z] Removing intermediate container 5b815f82c19b [2022-05-10T12:36:49.935Z] ---> 8a5542544526 [2022-05-10T12:36:49.935Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T12:36:49.935Z] ---> Running in 605b8d65a645 [2022-05-10T12:36:51.371Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:36:51.975Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:36:52.953Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:36:52.953Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-10T12:36:53.225Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:36:53.225Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:36:53.497Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-10T12:36:53.497Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-10T12:36:53.497Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-10T12:36:53.772Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-10T12:36:53.772Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:36:53.772Z] OK: 226 MiB in 60 packages [2022-05-10T12:36:55.206Z] Removing intermediate container 605b8d65a645 [2022-05-10T12:36:55.206Z] ---> 457d4aa3b42b [2022-05-10T12:36:55.206Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-10T12:36:55.206Z] ---> Running in a47f3c885fd9 [2022-05-10T12:36:55.206Z] Removing intermediate container a47f3c885fd9 [2022-05-10T12:36:55.206Z] ---> 28494230570a [2022-05-10T12:36:55.206Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-10T12:36:56.191Z] ---> 5b8a1cb44bf1 [2022-05-10T12:36:56.191Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:36:56.191Z] ---> Running in 02556f2c591b [2022-05-10T12:37:11.596Z] Removing intermediate container f89c2271d3d5 [2022-05-10T12:37:11.596Z] ---> 6ef851cb676f [2022-05-10T12:37:11.596Z] Step 11/23 : FROM alpine:3.14 [2022-05-10T12:37:11.596Z] 3.14: Pulling from library/alpine [2022-05-10T12:37:11.596Z] 8663204ce13b: Pulling fs layer [2022-05-10T12:37:11.596Z] 8663204ce13b: Download complete [2022-05-10T12:37:11.596Z] 8663204ce13b: Pull complete [2022-05-10T12:37:11.596Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T12:37:11.596Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T12:37:11.596Z] ---> e04c818066af [2022-05-10T12:37:11.596Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-10T12:37:11.596Z] ---> Running in d96d48fef5c8 [2022-05-10T12:37:11.596Z] Removing intermediate container d96d48fef5c8 [2022-05-10T12:37:11.596Z] ---> 834ab1635de9 [2022-05-10T12:37:11.596Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:37:11.596Z] ---> Running in f52cb3f1b1a6 [2022-05-10T12:37:11.596Z] Removing intermediate container f52cb3f1b1a6 [2022-05-10T12:37:11.596Z] ---> de21d620070f [2022-05-10T12:37:11.596Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T12:37:11.596Z] ---> Running in 6dda16c9ea58 [2022-05-10T12:37:11.596Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:37:11.596Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:37:11.858Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T12:37:11.858Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T12:37:12.117Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T12:37:12.117Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T12:37:12.117Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T12:37:12.377Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T12:37:12.377Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T12:37:12.377Z] OK: 8 MiB in 20 packages [2022-05-10T12:37:12.639Z] Removing intermediate container 6dda16c9ea58 [2022-05-10T12:37:12.639Z] ---> bbb8c4eed142 [2022-05-10T12:37:12.639Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-10T12:37:13.581Z] ---> a8ae749bdbc5 [2022-05-10T12:37:13.581Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-10T12:37:13.581Z] ---> ec99afeab5a0 [2022-05-10T12:37:13.581Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-10T12:37:13.581Z] ---> a92d91d966e2 [2022-05-10T12:37:13.581Z] Step 18/23 : EXPOSE 59901 [2022-05-10T12:37:13.581Z] ---> Running in 07cbadbe00e0 [2022-05-10T12:37:13.842Z] Removing intermediate container 07cbadbe00e0 [2022-05-10T12:37:13.842Z] ---> 77156dd47c18 [2022-05-10T12:37:13.842Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-10T12:37:13.842Z] ---> Running in bc2fac0df6a1 [2022-05-10T12:37:13.842Z] Removing intermediate container bc2fac0df6a1 [2022-05-10T12:37:13.842Z] ---> 2a07200ac3ad [2022-05-10T12:37:13.842Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T12:37:14.105Z] ---> Running in 5eef33e798f2 [2022-05-10T12:37:14.105Z] Removing intermediate container 5eef33e798f2 [2022-05-10T12:37:14.105Z] ---> 10458ff413b4 [2022-05-10T12:37:14.105Z] Step 21/23 : LABEL arch=amd64 [2022-05-10T12:37:14.105Z] ---> Running in bdf9970d7a81 [2022-05-10T12:37:14.365Z] Removing intermediate container bdf9970d7a81 [2022-05-10T12:37:14.365Z] ---> 0ace65e0a094 [2022-05-10T12:37:14.365Z] Step 22/23 : LABEL git_sha=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [2022-05-10T12:37:14.365Z] ---> Running in 7b7ad3eb2d17 [2022-05-10T12:37:14.365Z] Removing intermediate container 7b7ad3eb2d17 [2022-05-10T12:37:14.365Z] ---> 549058de6af3 [2022-05-10T12:37:14.365Z] Step 23/23 : LABEL version=2.2.0-dev.19 [2022-05-10T12:37:14.365Z] ---> Running in 72b95c2c68ae [2022-05-10T12:37:14.626Z] Removing intermediate container 72b95c2c68ae [2022-05-10T12:37:14.626Z] ---> b792cf3e5a52 [2022-05-10T12:37:14.626Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T12:37:14.626Z] Successfully built b792cf3e5a52 [2022-05-10T12:37:14.626Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:37:14.696Z] provisioning config files... [2022-05-10T12:37:14.705Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4177495505549214023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:37:15.002Z] ---> docker-login.sh [2022-05-10T12:37:15.002Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:37:15.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:37:15.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:37:15.002Z] Configure a credential helper to remove this warning. See [2022-05-10T12:37:15.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:37:15.002Z] [2022-05-10T12:37:15.002Z] Login Succeeded [2022-05-10T12:37:15.002Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:37:15.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:37:15.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:37:15.263Z] Configure a credential helper to remove this warning. See [2022-05-10T12:37:15.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:37:15.263Z] [2022-05-10T12:37:15.263Z] Login Succeeded [2022-05-10T12:37:15.263Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:37:15.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:37:15.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:37:15.264Z] Configure a credential helper to remove this warning. See [2022-05-10T12:37:15.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:37:15.264Z] [2022-05-10T12:37:15.264Z] Login Succeeded [2022-05-10T12:37:15.264Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:37:15.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:37:15.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:37:15.523Z] Configure a credential helper to remove this warning. See [2022-05-10T12:37:15.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:37:15.523Z] [2022-05-10T12:37:15.523Z] Login Succeeded [2022-05-10T12:37:15.523Z] docker.io [2022-05-10T12:37:15.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:37:15.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:37:15.783Z] Configure a credential helper to remove this warning. See [2022-05-10T12:37:15.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:37:15.783Z] [2022-05-10T12:37:15.783Z] Login Succeeded [2022-05-10T12:37:15.783Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:37:15.792Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:37:15.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:37:15.854Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-05-10T12:37:15.854Z] 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [2022-05-10T12:37:15.854Z] latest [2022-05-10T12:37:15.854Z] 2.2.0-dev.19 [2022-05-10T12:37:15.854Z] 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 [2022-05-10T12:37:15.854Z] main [2022-05-10T12:37:15.854Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:16.186Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:16.480Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [2022-05-10T12:37:16.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-10T12:37:16.480Z] bb705a7b70ba: Preparing [2022-05-10T12:37:16.480Z] 70ae599ad434: Preparing [2022-05-10T12:37:16.480Z] 9b59cdbacf41: Preparing [2022-05-10T12:37:16.481Z] 4544e8bc48e6: Preparing [2022-05-10T12:37:16.481Z] 3273fca01d55: Preparing [2022-05-10T12:37:16.481Z] b541d28bf3b4: Preparing [2022-05-10T12:37:16.481Z] 70ae599ad434: Pushed [2022-05-10T12:37:16.481Z] 3273fca01d55: Pushed [2022-05-10T12:37:16.481Z] bb705a7b70ba: Pushed [2022-05-10T12:37:16.481Z] b541d28bf3b4: Layer already exists [2022-05-10T12:37:16.740Z] 4544e8bc48e6: Pushed [2022-05-10T12:37:19.281Z] 9b59cdbacf41: Pushed [2022-05-10T12:37:19.281Z] 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180: digest: sha256:cfb519b9b1766df845a96e757ab7440345066ac66a66c9fcc3eaefa0d9332bc5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:19.578Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:19.875Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-10T12:37:19.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-10T12:37:19.875Z] bb705a7b70ba: Preparing [2022-05-10T12:37:19.875Z] 70ae599ad434: Preparing [2022-05-10T12:37:19.875Z] 9b59cdbacf41: Preparing [2022-05-10T12:37:19.875Z] 4544e8bc48e6: Preparing [2022-05-10T12:37:19.875Z] 3273fca01d55: Preparing [2022-05-10T12:37:19.875Z] b541d28bf3b4: Preparing [2022-05-10T12:37:19.875Z] b541d28bf3b4: Waiting [2022-05-10T12:37:19.875Z] 4544e8bc48e6: Layer already exists [2022-05-10T12:37:19.875Z] 3273fca01d55: Layer already exists [2022-05-10T12:37:19.875Z] 70ae599ad434: Layer already exists [2022-05-10T12:37:19.875Z] bb705a7b70ba: Layer already exists [2022-05-10T12:37:19.875Z] 9b59cdbacf41: Layer already exists [2022-05-10T12:37:19.875Z] b541d28bf3b4: Layer already exists [2022-05-10T12:37:19.875Z] latest: digest: sha256:cfb519b9b1766df845a96e757ab7440345066ac66a66c9fcc3eaefa0d9332bc5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:20.171Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:20.467Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.19 [2022-05-10T12:37:20.467Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-10T12:37:20.467Z] bb705a7b70ba: Preparing [2022-05-10T12:37:20.467Z] 70ae599ad434: Preparing [2022-05-10T12:37:20.467Z] 9b59cdbacf41: Preparing [2022-05-10T12:37:20.467Z] 4544e8bc48e6: Preparing [2022-05-10T12:37:20.467Z] 3273fca01d55: Preparing [2022-05-10T12:37:20.467Z] b541d28bf3b4: Preparing [2022-05-10T12:37:20.467Z] b541d28bf3b4: Waiting [2022-05-10T12:37:20.467Z] 70ae599ad434: Layer already exists [2022-05-10T12:37:20.467Z] bb705a7b70ba: Layer already exists [2022-05-10T12:37:20.467Z] 3273fca01d55: Layer already exists [2022-05-10T12:37:20.467Z] 4544e8bc48e6: Layer already exists [2022-05-10T12:37:20.467Z] 9b59cdbacf41: Layer already exists [2022-05-10T12:37:20.467Z] b541d28bf3b4: Layer already exists [2022-05-10T12:37:20.467Z] 2.2.0-dev.19: digest: sha256:cfb519b9b1766df845a96e757ab7440345066ac66a66c9fcc3eaefa0d9332bc5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:20.767Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:21.062Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 [2022-05-10T12:37:21.062Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-10T12:37:21.062Z] bb705a7b70ba: Preparing [2022-05-10T12:37:21.062Z] 70ae599ad434: Preparing [2022-05-10T12:37:21.062Z] 9b59cdbacf41: Preparing [2022-05-10T12:37:21.062Z] 4544e8bc48e6: Preparing [2022-05-10T12:37:21.062Z] 3273fca01d55: Preparing [2022-05-10T12:37:21.062Z] b541d28bf3b4: Preparing [2022-05-10T12:37:21.062Z] b541d28bf3b4: Waiting [2022-05-10T12:37:21.062Z] 4544e8bc48e6: Layer already exists [2022-05-10T12:37:21.062Z] 70ae599ad434: Layer already exists [2022-05-10T12:37:21.062Z] 3273fca01d55: Layer already exists [2022-05-10T12:37:21.062Z] 9b59cdbacf41: Layer already exists [2022-05-10T12:37:21.062Z] bb705a7b70ba: Layer already exists [2022-05-10T12:37:21.062Z] b541d28bf3b4: Layer already exists [2022-05-10T12:37:21.062Z] 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19: digest: sha256:cfb519b9b1766df845a96e757ab7440345066ac66a66c9fcc3eaefa0d9332bc5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:21.365Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:21.659Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-05-10T12:37:21.659Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-10T12:37:21.659Z] bb705a7b70ba: Preparing [2022-05-10T12:37:21.659Z] 70ae599ad434: Preparing [2022-05-10T12:37:21.659Z] 9b59cdbacf41: Preparing [2022-05-10T12:37:21.659Z] 4544e8bc48e6: Preparing [2022-05-10T12:37:21.659Z] 3273fca01d55: Preparing [2022-05-10T12:37:21.659Z] b541d28bf3b4: Preparing [2022-05-10T12:37:21.659Z] b541d28bf3b4: Waiting [2022-05-10T12:37:21.659Z] 3273fca01d55: Layer already exists [2022-05-10T12:37:21.659Z] 9b59cdbacf41: Layer already exists [2022-05-10T12:37:21.659Z] 70ae599ad434: Layer already exists [2022-05-10T12:37:21.659Z] 4544e8bc48e6: Layer already exists [2022-05-10T12:37:21.659Z] bb705a7b70ba: Layer already exists [2022-05-10T12:37:21.659Z] b541d28bf3b4: Layer already exists [2022-05-10T12:37:21.659Z] main: digest: sha256:cfb519b9b1766df845a96e757ab7440345066ac66a66c9fcc3eaefa0d9332bc5 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:37:21.692Z] ===================================================== [Pipeline] echo [2022-05-10T12:37:21.701Z] taggedImages: [2022-05-10T12:37:21.701Z] - nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [2022-05-10T12:37:21.701Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-10T12:37:21.701Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.19 [2022-05-10T12:37:21.701Z] - nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 [2022-05-10T12:37:21.701Z] - 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-10T12:37:22.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:37:22.075Z] [2022-05-10T12:37:22.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:22.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:37:22.377Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T12:37:22.377Z] 5eb5b503b376: Pulling fs layer [2022-05-10T12:37:22.377Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T12:37:22.377Z] ec43610c2a17: Pulling fs layer [2022-05-10T12:37:22.377Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T12:37:22.377Z] 33b1e0a273af: Pulling fs layer [2022-05-10T12:37:22.377Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T12:37:22.377Z] 2f39f015ded8: Pulling fs layer [2022-05-10T12:37:22.377Z] 5d3b04190fa2: Waiting [2022-05-10T12:37:22.377Z] 3a2ae6a8a46f: Waiting [2022-05-10T12:37:22.377Z] 33b1e0a273af: Waiting [2022-05-10T12:37:22.377Z] 2f39f015ded8: Waiting [2022-05-10T12:37:22.377Z] 5c69ac0246d0: Download complete [2022-05-10T12:37:22.377Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T12:37:22.377Z] 3a2ae6a8a46f: Download complete [2022-05-10T12:37:22.377Z] 33b1e0a273af: Verifying Checksum [2022-05-10T12:37:22.377Z] 33b1e0a273af: Download complete [2022-05-10T12:37:22.636Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T12:37:22.636Z] 5d3b04190fa2: Download complete [2022-05-10T12:37:22.636Z] ec43610c2a17: Verifying Checksum [2022-05-10T12:37:22.636Z] ec43610c2a17: Download complete [2022-05-10T12:37:22.636Z] 5eb5b503b376: Verifying Checksum [2022-05-10T12:37:22.636Z] 5eb5b503b376: Download complete [2022-05-10T12:37:23.204Z] 2f39f015ded8: Download complete [2022-05-10T12:37:24.139Z] 5eb5b503b376: Pull complete [2022-05-10T12:37:24.139Z] 5c69ac0246d0: Pull complete [2022-05-10T12:37:24.398Z] ec43610c2a17: Pull complete [2022-05-10T12:37:24.657Z] 3a2ae6a8a46f: Pull complete [2022-05-10T12:37:24.958Z] 33b1e0a273af: Pull complete [2022-05-10T12:37:24.958Z] 5d3b04190fa2: Pull complete [2022-05-10T12:37:29.213Z] 2f39f015ded8: Pull complete [2022-05-10T12:37:29.213Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T12:37:29.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:37:29.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T12:37:29.278Z] prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container [2022-05-10T12:37:29.319Z] $ 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-10T12:37:31.145Z] $ docker top 980c40c64de392c321bf700a3c9d4fbda5bb1515d6463e13c35a91bebded405f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:37:31.535Z] ---> job-cost.sh [2022-05-10T12:37:31.535Z] lf-activate-venv: SKIPPING [2022-05-10T12:37:31.535Z] INFO: No Stack... [2022-05-10T12:37:31.795Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:37:32.366Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:37:32.664Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-05-10T12:37:32.664Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T12:37:32.682Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] [2022-05-10T12:37:32.688Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] did not exist. Created. [2022-05-10T12:37:32.688Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:37:32.998Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T12:37:33.024Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:37:33.032Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:37:33.053Z] $ docker stop --time=1 980c40c64de392c321bf700a3c9d4fbda5bb1515d6463e13c35a91bebded405f [2022-05-10T12:37:34.205Z] $ docker rm -f 980c40c64de392c321bf700a3c9d4fbda5bb1515d6463e13c35a91bebded405f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T12:37:43.201Z] Removing intermediate container 02556f2c591b [2022-05-10T12:37:43.201Z] ---> e5e0b91902b2 [2022-05-10T12:37:43.201Z] Step 9/10 : COPY . . [2022-05-10T12:37:43.473Z] ---> af83fd491300 [2022-05-10T12:37:43.473Z] Step 10/10 : RUN ${MAKE} [2022-05-10T12:37:43.473Z] ---> Running in 31bc4751fd4a [2022-05-10T12:37:44.461Z] noop [2022-05-10T12:37:45.063Z] Removing intermediate container 31bc4751fd4a [2022-05-10T12:37:45.063Z] ---> f6b07a190449 [2022-05-10T12:37:45.337Z] Successfully built f6b07a190449 [2022-05-10T12:37:45.337Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:45.698Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:37:45.698Z] . [Pipeline] withDockerContainer [2022-05-10T12:37:45.971Z] prd-ubuntu20.04-docker-arm64-4c-16g-47728 does not seem to be running inside a container [2022-05-10T12:37:46.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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-arm64 cat [2022-05-10T12:37:47.429Z] $ docker top a5636f61ad86b35ea47c9ecb8856f20857b9ad4790f026aec2172f0a6aba6706 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:37:48.337Z] + go version [2022-05-10T12:37:48.337Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T12:37:48.365Z] $ docker stop --time=1 a5636f61ad86b35ea47c9ecb8856f20857b9ad4790f026aec2172f0a6aba6706 [2022-05-10T12:37:49.983Z] $ docker rm -f a5636f61ad86b35ea47c9ecb8856f20857b9ad4790f026aec2172f0a6aba6706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:37:50.572Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:37:50.572Z] . [Pipeline] withDockerContainer [2022-05-10T12:37:50.799Z] prd-ubuntu20.04-docker-arm64-4c-16g-47728 does not seem to be running inside a container [2022-05-10T12:37:50.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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-arm64 cat [2022-05-10T12:37:52.239Z] $ docker top 335691e20dd1ff9cb95d32d19f89d299db871fd194419f9f43688d88b21e8776 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:37:53.177Z] + make test [2022-05-10T12:37:53.177Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-10T12:37:55.156Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-10T12:39:32.124Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-10T12:39:32.124Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 46.4% of statements [2022-05-10T12:39:32.124Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T12:39:32.124Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:39:50.512Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:39:50.512Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:39:50.787Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:39:54.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:39:54.226Z] $ docker stop --time=1 335691e20dd1ff9cb95d32d19f89d299db871fd194419f9f43688d88b21e8776 [2022-05-10T12:39:56.066Z] $ docker rm -f 335691e20dd1ff9cb95d32d19f89d299db871fd194419f9f43688d88b21e8776 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:39:57.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:39:57.105Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T12:39:57.685Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:39:58.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:39:58.436Z] + ls -al . [2022-05-10T12:39:58.436Z] total 180 [2022-05-10T12:39:58.436Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:39 . [2022-05-10T12:39:58.436Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:35 .. [2022-05-10T12:39:58.436Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 12:35 .dockerignore [2022-05-10T12:39:58.436Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:35 .git [2022-05-10T12:39:58.436Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 .github [2022-05-10T12:39:58.436Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 12:35 .gitignore [2022-05-10T12:39:58.436Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:35 .golangci.yml [2022-05-10T12:39:58.436Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 10 12:35 Attribution.txt [2022-05-10T12:39:58.436Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 10 12:35 CHANGELOG.md [2022-05-10T12:39:58.436Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 10 12:35 Dockerfile [2022-05-10T12:39:58.436Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:35 GOVERNANCE.md [2022-05-10T12:39:58.436Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 12:35 Jenkinsfile [2022-05-10T12:39:58.436Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:35 LICENSE [2022-05-10T12:39:58.436Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 12:35 Makefile [2022-05-10T12:39:58.437Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 12:35 OWNERS.md [2022-05-10T12:39:58.437Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 10 12:35 README.md [2022-05-10T12:39:58.437Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:35 VERSION [2022-05-10T12:39:58.437Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:35 bin [2022-05-10T12:39:58.437Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 cmd [2022-05-10T12:39:58.437Z] -rw-r--r-- 1 jenkins jenkins 24065 May 10 12:39 coverage.out [2022-05-10T12:39:58.437Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 10 12:35 go.mod [2022-05-10T12:39:58.437Z] -rw-rw-r-- 1 jenkins jenkins 35558 May 10 12:35 go.sum [2022-05-10T12:39:58.437Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 internal [2022-05-10T12:39:58.437Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:35 simulator [2022-05-10T12:39:58.437Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:35 snap [2022-05-10T12:39:58.437Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 12:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:39:58.795Z] + 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=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 --label arch=arm64 --label version=2.2.0-dev.19 . [2022-05-10T12:39:59.126Z] Sending build context to Docker daemon 3.091MB [2022-05-10T12:39:59.126Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:39:59.126Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-10T12:39:59.126Z] ---> f6b07a190449 [2022-05-10T12:39:59.126Z] Step 3/23 : ARG MAKE='make build' [2022-05-10T12:39:59.457Z] ---> Running in a7b5182cbd5f [2022-05-10T12:39:59.745Z] Removing intermediate container a7b5182cbd5f [2022-05-10T12:39:59.745Z] ---> a9b1b234ab96 [2022-05-10T12:39:59.745Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:39:59.745Z] ---> Running in 565168ac0908 [2022-05-10T12:40:01.950Z] Removing intermediate container 565168ac0908 [2022-05-10T12:40:01.950Z] ---> ab2234ae7f49 [2022-05-10T12:40:01.950Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T12:40:01.950Z] ---> Running in eb3a213b0fc1 [2022-05-10T12:40:03.390Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:40:03.988Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:40:04.968Z] OK: 226 MiB in 60 packages [2022-05-10T12:40:05.954Z] Removing intermediate container eb3a213b0fc1 [2022-05-10T12:40:05.954Z] ---> 69ecdee66b96 [2022-05-10T12:40:05.954Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-10T12:40:05.954Z] ---> Running in 6e7478f73e5d [2022-05-10T12:40:06.234Z] Removing intermediate container 6e7478f73e5d [2022-05-10T12:40:06.234Z] ---> 82770ea518e8 [2022-05-10T12:40:06.234Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-10T12:40:06.830Z] ---> 61990bc3cc3b [2022-05-10T12:40:06.830Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:40:06.830Z] ---> Running in 15ca454d6697 [2022-05-10T12:40:09.469Z] Removing intermediate container 15ca454d6697 [2022-05-10T12:40:09.469Z] ---> 32eeba75ea45 [2022-05-10T12:40:09.469Z] Step 9/23 : COPY . . [2022-05-10T12:40:10.067Z] ---> bfb9d7ee1749 [2022-05-10T12:40:10.067Z] Step 10/23 : RUN ${MAKE} [2022-05-10T12:40:10.067Z] ---> Running in 4e74610d29e0 [2022-05-10T12:40:11.054Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-10T12:42:32.946Z] Removing intermediate container 4e74610d29e0 [2022-05-10T12:42:32.946Z] ---> ea77c003de6b [2022-05-10T12:42:32.946Z] Step 11/23 : FROM alpine:3.14 [2022-05-10T12:42:32.946Z] 3.14: Pulling from library/alpine [2022-05-10T12:42:32.946Z] 455c02918c45: Pulling fs layer [2022-05-10T12:42:32.946Z] 455c02918c45: Download complete [2022-05-10T12:42:32.946Z] 455c02918c45: Pull complete [2022-05-10T12:42:32.946Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T12:42:32.946Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T12:42:32.946Z] ---> ac73e934f311 [2022-05-10T12:42:32.946Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-10T12:42:32.946Z] ---> Running in 8b8f43985313 [2022-05-10T12:42:32.946Z] Removing intermediate container 8b8f43985313 [2022-05-10T12:42:32.946Z] ---> 263c09ec0f47 [2022-05-10T12:42:32.946Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:42:32.946Z] ---> Running in 222088a72a06 [2022-05-10T12:42:32.946Z] Removing intermediate container 222088a72a06 [2022-05-10T12:42:32.946Z] ---> bc6c50ac0def [2022-05-10T12:42:32.946Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T12:42:32.946Z] ---> Running in 641abd351808 [2022-05-10T12:42:32.946Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:42:32.946Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:42:32.946Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T12:42:32.946Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T12:42:32.946Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T12:42:32.946Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T12:42:32.946Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T12:42:32.946Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T12:42:32.946Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T12:42:32.946Z] OK: 8 MiB in 20 packages [2022-05-10T12:42:32.946Z] Removing intermediate container 641abd351808 [2022-05-10T12:42:32.946Z] ---> 0365bd89094f [2022-05-10T12:42:32.946Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-10T12:42:32.946Z] ---> 1eef9d587d1c [2022-05-10T12:42:32.946Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-10T12:42:32.946Z] ---> 8b3986055e5a [2022-05-10T12:42:32.946Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-10T12:42:32.946Z] ---> d6ed272d0f9a [2022-05-10T12:42:32.946Z] Step 18/23 : EXPOSE 59901 [2022-05-10T12:42:32.946Z] ---> Running in 26fefd87128d [2022-05-10T12:42:33.222Z] Removing intermediate container 26fefd87128d [2022-05-10T12:42:33.222Z] ---> 67cae3a6325c [2022-05-10T12:42:33.222Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-10T12:42:33.222Z] ---> Running in 158f34af649c [2022-05-10T12:42:33.821Z] Removing intermediate container 158f34af649c [2022-05-10T12:42:33.821Z] ---> 0a4d6091a513 [2022-05-10T12:42:33.821Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T12:42:33.821Z] ---> Running in 879bf0e4366a [2022-05-10T12:42:34.096Z] Removing intermediate container 879bf0e4366a [2022-05-10T12:42:34.096Z] ---> dbe2c6aff045 [2022-05-10T12:42:34.096Z] Step 21/23 : LABEL arch=arm64 [2022-05-10T12:42:34.096Z] ---> Running in de833917b272 [2022-05-10T12:42:34.372Z] Removing intermediate container de833917b272 [2022-05-10T12:42:34.372Z] ---> a043ecf3f1d7 [2022-05-10T12:42:34.372Z] Step 22/23 : LABEL git_sha=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [2022-05-10T12:42:34.372Z] ---> Running in 61615bd4c727 [2022-05-10T12:42:34.969Z] Removing intermediate container 61615bd4c727 [2022-05-10T12:42:34.969Z] ---> b50e7a59710c [2022-05-10T12:42:34.969Z] Step 23/23 : LABEL version=2.2.0-dev.19 [2022-05-10T12:42:34.969Z] ---> Running in 418e342ff698 [2022-05-10T12:42:35.243Z] Removing intermediate container 418e342ff698 [2022-05-10T12:42:35.243Z] ---> fb31a52bcd7e [2022-05-10T12:42:35.243Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T12:42:35.243Z] Successfully built fb31a52bcd7e [2022-05-10T12:42:35.243Z] 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-10T12:42:35.354Z] provisioning config files... [2022-05-10T12:42:35.374Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config7452010204076227278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:42:35.729Z] ---> docker-login.sh [2022-05-10T12:42:35.729Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:42:36.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:42:36.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:42:36.002Z] Configure a credential helper to remove this warning. See [2022-05-10T12:42:36.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:42:36.002Z] [2022-05-10T12:42:36.002Z] Login Succeeded [2022-05-10T12:42:36.002Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:42:36.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:42:36.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:42:36.600Z] Configure a credential helper to remove this warning. See [2022-05-10T12:42:36.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:42:36.600Z] [2022-05-10T12:42:36.600Z] Login Succeeded [2022-05-10T12:42:36.600Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:42:36.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:42:37.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:42:37.148Z] Configure a credential helper to remove this warning. See [2022-05-10T12:42:37.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:42:37.148Z] [2022-05-10T12:42:37.148Z] Login Succeeded [2022-05-10T12:42:37.148Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:42:37.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:42:37.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:42:37.698Z] Configure a credential helper to remove this warning. See [2022-05-10T12:42:37.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:42:37.698Z] [2022-05-10T12:42:37.698Z] Login Succeeded [2022-05-10T12:42:37.698Z] docker.io [2022-05-10T12:42:37.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:42:38.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:42:38.244Z] Configure a credential helper to remove this warning. See [2022-05-10T12:42:38.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:42:38.244Z] [2022-05-10T12:42:38.244Z] Login Succeeded [2022-05-10T12:42:38.244Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:42:38.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:42:38.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:42:38.337Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-05-10T12:42:38.337Z] 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [2022-05-10T12:42:38.337Z] latest [2022-05-10T12:42:38.337Z] 2.2.0-dev.19 [2022-05-10T12:42:38.337Z] 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 [2022-05-10T12:42:38.337Z] main [2022-05-10T12:42:38.337Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:38.714Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:39.060Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [2022-05-10T12:42:39.060Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-10T12:42:39.060Z] 28332e8c53ab: Preparing [2022-05-10T12:42:39.060Z] 45b93507c89c: Preparing [2022-05-10T12:42:39.060Z] 2b74e715e9d6: Preparing [2022-05-10T12:42:39.060Z] b17f072d0b01: Preparing [2022-05-10T12:42:39.060Z] f05773681142: Preparing [2022-05-10T12:42:39.060Z] f73e7dbfee58: Preparing [2022-05-10T12:42:39.060Z] f73e7dbfee58: Waiting [2022-05-10T12:42:39.336Z] 28332e8c53ab: Pushed [2022-05-10T12:42:39.336Z] f05773681142: Pushed [2022-05-10T12:42:39.336Z] 45b93507c89c: Pushed [2022-05-10T12:42:39.336Z] f73e7dbfee58: Layer already exists [2022-05-10T12:42:39.936Z] b17f072d0b01: Pushed [2022-05-10T12:42:45.332Z] 2b74e715e9d6: Pushed [2022-05-10T12:42:45.333Z] 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180: digest: sha256:aafb515144c67f24743e76a95d9f7f9248e7a69eddb61f1f3f0a27abb042c5d3 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:45.956Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:46.294Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-10T12:42:46.294Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-10T12:42:46.294Z] 28332e8c53ab: Preparing [2022-05-10T12:42:46.294Z] 45b93507c89c: Preparing [2022-05-10T12:42:46.294Z] 2b74e715e9d6: Preparing [2022-05-10T12:42:46.294Z] b17f072d0b01: Preparing [2022-05-10T12:42:46.294Z] f05773681142: Preparing [2022-05-10T12:42:46.294Z] f73e7dbfee58: Preparing [2022-05-10T12:42:46.294Z] f73e7dbfee58: Waiting [2022-05-10T12:42:46.294Z] f05773681142: Layer already exists [2022-05-10T12:42:46.294Z] 28332e8c53ab: Layer already exists [2022-05-10T12:42:46.294Z] 45b93507c89c: Layer already exists [2022-05-10T12:42:46.294Z] 2b74e715e9d6: Layer already exists [2022-05-10T12:42:46.294Z] b17f072d0b01: Layer already exists [2022-05-10T12:42:46.294Z] f73e7dbfee58: Layer already exists [2022-05-10T12:42:46.565Z] latest: digest: sha256:aafb515144c67f24743e76a95d9f7f9248e7a69eddb61f1f3f0a27abb042c5d3 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:46.908Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:47.250Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.19 [2022-05-10T12:42:47.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-10T12:42:47.250Z] 28332e8c53ab: Preparing [2022-05-10T12:42:47.250Z] 45b93507c89c: Preparing [2022-05-10T12:42:47.250Z] 2b74e715e9d6: Preparing [2022-05-10T12:42:47.250Z] b17f072d0b01: Preparing [2022-05-10T12:42:47.250Z] f05773681142: Preparing [2022-05-10T12:42:47.250Z] f73e7dbfee58: Preparing [2022-05-10T12:42:47.250Z] 45b93507c89c: Layer already exists [2022-05-10T12:42:47.250Z] b17f072d0b01: Layer already exists [2022-05-10T12:42:47.250Z] f05773681142: Layer already exists [2022-05-10T12:42:47.250Z] 28332e8c53ab: Layer already exists [2022-05-10T12:42:47.250Z] 2b74e715e9d6: Layer already exists [2022-05-10T12:42:47.250Z] f73e7dbfee58: Layer already exists [2022-05-10T12:42:47.523Z] 2.2.0-dev.19: digest: sha256:aafb515144c67f24743e76a95d9f7f9248e7a69eddb61f1f3f0a27abb042c5d3 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:47.865Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:48.206Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 [2022-05-10T12:42:48.206Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-10T12:42:48.206Z] 28332e8c53ab: Preparing [2022-05-10T12:42:48.206Z] 45b93507c89c: Preparing [2022-05-10T12:42:48.206Z] 2b74e715e9d6: Preparing [2022-05-10T12:42:48.206Z] b17f072d0b01: Preparing [2022-05-10T12:42:48.206Z] f05773681142: Preparing [2022-05-10T12:42:48.206Z] f73e7dbfee58: Preparing [2022-05-10T12:42:48.206Z] f73e7dbfee58: Waiting [2022-05-10T12:42:48.206Z] f05773681142: Layer already exists [2022-05-10T12:42:48.206Z] 2b74e715e9d6: Layer already exists [2022-05-10T12:42:48.206Z] b17f072d0b01: Layer already exists [2022-05-10T12:42:48.206Z] 45b93507c89c: Layer already exists [2022-05-10T12:42:48.206Z] 28332e8c53ab: Layer already exists [2022-05-10T12:42:48.206Z] f73e7dbfee58: Layer already exists [2022-05-10T12:42:48.482Z] 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19: digest: sha256:aafb515144c67f24743e76a95d9f7f9248e7a69eddb61f1f3f0a27abb042c5d3 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:48.831Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:49.174Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-05-10T12:42:49.174Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-10T12:42:49.174Z] 28332e8c53ab: Preparing [2022-05-10T12:42:49.174Z] 45b93507c89c: Preparing [2022-05-10T12:42:49.174Z] 2b74e715e9d6: Preparing [2022-05-10T12:42:49.174Z] b17f072d0b01: Preparing [2022-05-10T12:42:49.174Z] f05773681142: Preparing [2022-05-10T12:42:49.174Z] f73e7dbfee58: Preparing [2022-05-10T12:42:49.174Z] f73e7dbfee58: Waiting [2022-05-10T12:42:49.174Z] 2b74e715e9d6: Layer already exists [2022-05-10T12:42:49.174Z] 28332e8c53ab: Layer already exists [2022-05-10T12:42:49.174Z] f05773681142: Layer already exists [2022-05-10T12:42:49.174Z] 45b93507c89c: Layer already exists [2022-05-10T12:42:49.446Z] b17f072d0b01: Layer already exists [2022-05-10T12:42:49.446Z] f73e7dbfee58: Layer already exists [2022-05-10T12:42:49.446Z] main: digest: sha256:aafb515144c67f24743e76a95d9f7f9248e7a69eddb61f1f3f0a27abb042c5d3 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:42:49.493Z] ===================================================== [Pipeline] echo [2022-05-10T12:42:49.505Z] taggedImages: [2022-05-10T12:42:49.505Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [2022-05-10T12:42:49.505Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-10T12:42:49.505Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.19 [2022-05-10T12:42:49.505Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 [2022-05-10T12:42:49.505Z] - 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-10T12:42:49.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:42:49.880Z] [2022-05-10T12:42:49.880Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:42:50.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:42:50.510Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T12:42:50.510Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T12:42:50.510Z] 04944245beec: Pulling fs layer [2022-05-10T12:42:50.510Z] 699f458cf7ca: Pulling fs layer [2022-05-10T12:42:50.510Z] 765212b225bb: Pulling fs layer [2022-05-10T12:42:50.510Z] f23df028b6ca: Pulling fs layer [2022-05-10T12:42:50.510Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T12:42:50.510Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T12:42:50.510Z] f23df028b6ca: Waiting [2022-05-10T12:42:50.510Z] d65c8cfc05b1: Waiting [2022-05-10T12:42:50.510Z] 2437ff75d9bd: Waiting [2022-05-10T12:42:50.510Z] 765212b225bb: Waiting [2022-05-10T12:42:50.510Z] 04944245beec: Verifying Checksum [2022-05-10T12:42:50.510Z] 04944245beec: Download complete [2022-05-10T12:42:50.510Z] 765212b225bb: Download complete [2022-05-10T12:42:50.510Z] f23df028b6ca: Download complete [2022-05-10T12:42:50.510Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T12:42:50.510Z] d65c8cfc05b1: Download complete [2022-05-10T12:42:50.785Z] 699f458cf7ca: Verifying Checksum [2022-05-10T12:42:51.060Z] 8998bd30e6a1: Download complete [2022-05-10T12:42:53.691Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T12:42:53.691Z] 2437ff75d9bd: Download complete [2022-05-10T12:42:55.676Z] 8998bd30e6a1: Pull complete [2022-05-10T12:42:55.951Z] 04944245beec: Pull complete [2022-05-10T12:42:57.385Z] 699f458cf7ca: Pull complete [2022-05-10T12:42:57.657Z] 765212b225bb: Pull complete [2022-05-10T12:42:58.636Z] f23df028b6ca: Pull complete [2022-05-10T12:42:58.910Z] d65c8cfc05b1: Pull complete [2022-05-10T12:43:13.990Z] 2437ff75d9bd: Pull complete [2022-05-10T12:43:13.990Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T12:43:13.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:43:13.990Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T12:43:14.308Z] prd-ubuntu20.04-docker-arm64-4c-16g-47728 does not seem to be running inside a container [2022-05-10T12:43:14.418Z] $ 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/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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:arm64 cat [2022-05-10T12:43:17.125Z] $ docker top ffd571553609115b8928a015b23f8c6d9c84a1d68053e89dfbc423337352e387 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:43:18.121Z] ---> job-cost.sh [2022-05-10T12:43:18.121Z] lf-activate-venv: SKIPPING [2022-05-10T12:43:18.121Z] INFO: No Stack... [2022-05-10T12:43:18.718Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T12:43:19.318Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:43:20.248Z] + cut+ -d, -f6 [2022-05-10T12:43:20.248Z] cat /w/workspace/device-modbus-go/37/archives/cost.csv [Pipeline] lock [2022-05-10T12:43:20.317Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] [2022-05-10T12:43:20.323Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] did not exist. Created. [2022-05-10T12:43:20.323Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:43:21.004Z] /w/workspace/device-modbus-go/37@tmp/durable-f5e72243/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T12:43:21.677Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T12:43:21.705Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T12:43:21.754Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:43:21.760Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:43:21.783Z] $ docker stop --time=1 ffd571553609115b8928a015b23f8c6d9c84a1d68053e89dfbc423337352e387 [2022-05-10T12:43:23.326Z] $ docker rm -f ffd571553609115b8928a015b23f8c6d9c84a1d68053e89dfbc423337352e387 [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-10T12:43:23.792Z] provisioning config files... [2022-05-10T12:43:23.801Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5230309943645702274tmp [Pipeline] { [Pipeline] sh [2022-05-10T12:43:24.095Z] + set +x [2022-05-10T12:43:24.095Z] + curl -s https://codecov.io/bash [2022-05-10T12:43:24.095Z] + bash -s -- [2022-05-10T12:43:24.095Z] [2022-05-10T12:43:24.095Z] _____ _ [2022-05-10T12:43:24.095Z] / ____| | | [2022-05-10T12:43:24.095Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T12:43:24.095Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T12:43:24.095Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T12:43:24.095Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T12:43:24.095Z] Bash-1.0.6 [2022-05-10T12:43:24.095Z] [2022-05-10T12:43:24.095Z] [2022-05-10T12:43:24.095Z] ==> git version 2.25.1 found [2022-05-10T12:43:24.095Z] ==> 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-10T12:43:24.095Z] Release-Date: 2020-01-08 [2022-05-10T12:43:24.095Z] 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-10T12:43:24.095Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T12:43:24.095Z] ==> Jenkins CI detected. [2022-05-10T12:43:24.095Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-05-10T12:43:24.095Z] project root: . [2022-05-10T12:43:24.095Z] --> token set from env [2022-05-10T12:43:24.095Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T12:43:24.095Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T12:43:24.095Z] ==> Python coveragepy not found [2022-05-10T12:43:24.095Z] ==> Searching for coverage reports in: [2022-05-10T12:43:24.095Z] + . [2022-05-10T12:43:24.095Z] -> Found 1 reports [2022-05-10T12:43:24.095Z] ==> Detecting git/mercurial file structure [2022-05-10T12:43:24.095Z] ==> Reading reports [2022-05-10T12:43:24.095Z] + ./coverage.out bytes=24065 [2022-05-10T12:43:24.095Z] ==> Appending adjustments [2022-05-10T12:43:24.095Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T12:43:24.355Z] + Found adjustments [2022-05-10T12:43:24.355Z] ==> Gzipping contents [2022-05-10T12:43:24.355Z] 4.0K /tmp/codecov.1ABm1F.gz [2022-05-10T12:43:24.355Z] ==> Uploading reports [2022-05-10T12:43:24.355Z] url: https://codecov.io [2022-05-10T12:43:24.355Z] query: branch=main&commit=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T12:43:24.355Z] -> Pinging Codecov [2022-05-10T12:43:24.355Z] 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=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T12:43:24.616Z] -> Uploading to [2022-05-10T12:43:24.616Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/55DBCA73C666E3227836607328DD7E49/74a050b5b4bd28a6f3c6004725ec0b1be1ff5180/2e308cd7-406a-4353-849c-222cdc5ffa2e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T124324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c328607ccce66bcc80f844c02385ad091c5c829c5156cef56ce573847992893a [2022-05-10T12:43:24.616Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:43:24.616Z] Dload Upload Total Spent Left Speed [2022-05-10T12:43:24.876Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4044 0 0 100 4044 0 18897 --:--:-- --:--:-- --:--:-- 18897 [2022-05-10T12:43:24.876Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] } [2022-05-10T12:43:24.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-10T12:43:25.026Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-10T12:43:25.037Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:43:25.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:43:25.334Z] [2022-05-10T12:43:25.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:43:25.635Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:43:25.635Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-10T12:43:25.635Z] 188c0c94c7c5: Pulling fs layer [2022-05-10T12:43:25.635Z] 0ef7d3d256c8: Pulling fs layer [2022-05-10T12:43:25.635Z] de9db76c5a1d: Pulling fs layer [2022-05-10T12:43:25.635Z] 0eba1c9be4d2: Pulling fs layer [2022-05-10T12:43:25.635Z] 0d57e429df01: Pulling fs layer [2022-05-10T12:43:25.635Z] 4e4be7b47b0d: Pulling fs layer [2022-05-10T12:43:25.635Z] e1f770b5df2f: Pulling fs layer [2022-05-10T12:43:25.635Z] 85a0685a4137: Pulling fs layer [2022-05-10T12:43:25.635Z] 0d57e429df01: Waiting [2022-05-10T12:43:25.635Z] 4e4be7b47b0d: Waiting [2022-05-10T12:43:25.635Z] e1f770b5df2f: Waiting [2022-05-10T12:43:25.635Z] 85a0685a4137: Waiting [2022-05-10T12:43:25.635Z] 0eba1c9be4d2: Waiting [2022-05-10T12:43:25.635Z] de9db76c5a1d: Download complete [2022-05-10T12:43:25.635Z] 0ef7d3d256c8: Verifying Checksum [2022-05-10T12:43:25.635Z] 0ef7d3d256c8: Download complete [2022-05-10T12:43:25.635Z] 0d57e429df01: Verifying Checksum [2022-05-10T12:43:25.635Z] 0d57e429df01: Download complete [2022-05-10T12:43:25.635Z] 4e4be7b47b0d: Verifying Checksum [2022-05-10T12:43:25.635Z] 4e4be7b47b0d: Download complete [2022-05-10T12:43:25.635Z] 188c0c94c7c5: Verifying Checksum [2022-05-10T12:43:25.635Z] 188c0c94c7c5: Download complete [2022-05-10T12:43:25.899Z] 188c0c94c7c5: Pull complete [2022-05-10T12:43:25.899Z] e1f770b5df2f: Verifying Checksum [2022-05-10T12:43:25.899Z] e1f770b5df2f: Download complete [2022-05-10T12:43:25.899Z] 0ef7d3d256c8: Pull complete [2022-05-10T12:43:26.167Z] de9db76c5a1d: Pull complete [2022-05-10T12:43:26.429Z] 0eba1c9be4d2: Verifying Checksum [2022-05-10T12:43:26.429Z] 0eba1c9be4d2: Download complete [2022-05-10T12:43:26.688Z] 85a0685a4137: Verifying Checksum [2022-05-10T12:43:26.688Z] 85a0685a4137: Download complete [2022-05-10T12:43:30.883Z] 0eba1c9be4d2: Pull complete [2022-05-10T12:43:30.883Z] 0d57e429df01: Pull complete [2022-05-10T12:43:30.883Z] 4e4be7b47b0d: Pull complete [2022-05-10T12:43:30.883Z] e1f770b5df2f: Pull complete [2022-05-10T12:43:34.174Z] 85a0685a4137: Pull complete [2022-05-10T12:43:34.174Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-10T12:43:34.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:43:34.174Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-10T12:43:34.243Z] prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container [2022-05-10T12:43:34.282Z] $ 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-10T12:43:35.904Z] $ docker top f2c223ae0b9dda0018b74300fbdcf077432a5c5533c3a24b266077bd3e7ce7ee -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-10T12:43:35.988Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-10T12:43:36.269Z] + set -o pipefail [2022-05-10T12:43:36.269Z] + snyk monitor '--org=edgex-jenkins' [2022-05-10T12:43:41.550Z] [2022-05-10T12:43:41.550Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-05-10T12:43:41.550Z] [2022-05-10T12:43:41.550Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/d6b5545a-4e87-43f3-8fa7-677dec40083a [2022-05-10T12:43:41.550Z] [2022-05-10T12:43:41.550Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-05-10T12:43:41.550Z] [2022-05-10T12:43:41.550Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-10T12:43:41.550Z] [2022-05-10T12:43:41.550Z] [Pipeline] } [2022-05-10T12:43:41.566Z] $ docker stop --time=1 f2c223ae0b9dda0018b74300fbdcf077432a5c5533c3a24b266077bd3e7ce7ee [2022-05-10T12:43:43.612Z] $ docker rm -f f2c223ae0b9dda0018b74300fbdcf077432a5c5533c3a24b266077bd3e7ce7ee [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-10T12:43:44.377Z] + git log --format=format:%s -1 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] sh [2022-05-10T12:43:44.674Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:43:44.674Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:43:44.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:43:44.968Z] . [Pipeline] withDockerContainer [2022-05-10T12:43:45.036Z] prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container [2022-05-10T12:43:45.080Z] $ 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-10T12:43:45.514Z] $ docker top 21b12a24f61e6e2447eb02bc411140c401d5a07b0f0076cb4d96bb82c8fa2dc3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:43:45.713Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:43:45.713Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:43:45.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:43:45.842Z] $ docker exec 21b12a24f61e6e2447eb02bc411140c401d5a07b0f0076cb4d96bb82c8fa2dc3 ssh-agent [2022-05-10T12:43:45.966Z] SSH_AUTH_SOCK=/tmp/ssh-EZZJLwSy6BKX/agent.34 [2022-05-10T12:43:45.966Z] SSH_AGENT_PID=40 [2022-05-10T12:43:45.971Z] Running ssh-add (command line suppressed) [2022-05-10T12:43:46.094Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4633505103497523694.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4633505103497523694.key) [2022-05-10T12:43:46.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:43:46.399Z] + git semver tag [2022-05-10T12:43:46.659Z] 2022-05-10 12:43:46,605 [run_tag] DEBUG tag force:False [2022-05-10T12:43:46.659Z] 2022-05-10 12:43:46,605 [check_head_tag] DEBUG check head tag [2022-05-10T12:43:46.659Z] 2022-05-10 12:43:46,606 [execute] INFO git cat-file --batch-check [2022-05-10T12:43:46.659Z] 2022-05-10 12:43:46,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T12:43:46.659Z] 2022-05-10 12:43:46,610 [execute] INFO git cat-file --batch [2022-05-10T12:43:46.659Z] 2022-05-10 12:43:46,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T12:43:46.659Z] 2022-05-10 12:43:46,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T12:43:46.659Z] 2022-05-10 12:43:46,625 [execute] INFO git tag -a v2.2.0-dev.19 -m v2.2.0-dev.19 [2022-05-10T12:43:46.659Z] 2022-05-10 12:43:46,626 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.19', '-m', 'v2.2.0-dev.19'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:43:46.659Z] 2022-05-10 12:43:46,629 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T12:43:46.659Z] 2.2.0-dev.19 [Pipeline] } [2022-05-10T12:43:46.697Z] $ docker exec --env ******** --env ******** 21b12a24f61e6e2447eb02bc411140c401d5a07b0f0076cb4d96bb82c8fa2dc3 ssh-agent -k [2022-05-10T12:43:46.818Z] unset SSH_AUTH_SOCK; [2022-05-10T12:43:46.819Z] unset SSH_AGENT_PID; [2022-05-10T12:43:46.819Z] echo Agent pid 40 killed; [2022-05-10T12:43:46.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:43:47.153Z] + git semver [Pipeline] } [2022-05-10T12:43:47.429Z] $ docker stop --time=1 21b12a24f61e6e2447eb02bc411140c401d5a07b0f0076cb4d96bb82c8fa2dc3 [2022-05-10T12:43:48.753Z] $ docker rm -f 21b12a24f61e6e2447eb02bc411140c401d5a07b0f0076cb4d96bb82c8fa2dc3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:43:49.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:43:49.144Z] [2022-05-10T12:43:49.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:43:49.443Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:43:49.443Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T12:43:49.443Z] ab5ef0e58194: Pulling fs layer [2022-05-10T12:43:49.443Z] 9712f1f96733: Pulling fs layer [2022-05-10T12:43:49.443Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T12:43:49.443Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T12:43:49.443Z] e9a5061849ea: Pulling fs layer [2022-05-10T12:43:49.443Z] d747dcd14b5f: Pulling fs layer [2022-05-10T12:43:49.443Z] 2de7ff778b66: Pulling fs layer [2022-05-10T12:43:49.443Z] 0d9ebad4ef96: Waiting [2022-05-10T12:43:49.443Z] e9a5061849ea: Waiting [2022-05-10T12:43:49.443Z] d747dcd14b5f: Waiting [2022-05-10T12:43:49.443Z] 2de7ff778b66: Waiting [2022-05-10T12:43:49.443Z] 9712f1f96733: Verifying Checksum [2022-05-10T12:43:49.443Z] 9712f1f96733: Download complete [2022-05-10T12:43:49.703Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T12:43:49.703Z] 63f879dbbcfc: Download complete [2022-05-10T12:43:49.993Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T12:43:49.993Z] 0d9ebad4ef96: Download complete [2022-05-10T12:43:49.993Z] e9a5061849ea: Verifying Checksum [2022-05-10T12:43:49.993Z] e9a5061849ea: Download complete [2022-05-10T12:43:49.993Z] ab5ef0e58194: Verifying Checksum [2022-05-10T12:43:49.993Z] ab5ef0e58194: Download complete [2022-05-10T12:43:49.993Z] d747dcd14b5f: Verifying Checksum [2022-05-10T12:43:49.993Z] d747dcd14b5f: Download complete [2022-05-10T12:43:50.253Z] 2de7ff778b66: Verifying Checksum [2022-05-10T12:43:50.253Z] 2de7ff778b66: Download complete [2022-05-10T12:43:52.791Z] ab5ef0e58194: Pull complete [2022-05-10T12:43:53.050Z] 9712f1f96733: Pull complete [2022-05-10T12:43:53.617Z] 63f879dbbcfc: Pull complete [2022-05-10T12:43:57.812Z] 0d9ebad4ef96: Pull complete [2022-05-10T12:43:57.812Z] e9a5061849ea: Pull complete [2022-05-10T12:43:57.812Z] d747dcd14b5f: Pull complete [2022-05-10T12:43:58.382Z] 2de7ff778b66: Pull complete [2022-05-10T12:43:58.382Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T12:43:58.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:43:58.382Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T12:43:58.448Z] prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container [2022-05-10T12:43:58.491Z] $ 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-10T12:44:00.601Z] $ docker top 7133a768175eb80e471f7029db273cb29017a414802d99bf4ccfa17dcc47c1b5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:44:00.692Z] provisioning config files... [2022-05-10T12:44:00.701Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config746712676703404301tmp [2022-05-10T12:44:00.716Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7734209820981910380tmp [2022-05-10T12:44:00.730Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4930966958093976246tmp [Pipeline] { [Pipeline] echo [2022-05-10T12:44:00.747Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:44:01.038Z] ---> sigul-configuration.sh [2022-05-10T12:44:01.038Z] gpg: directory `/root/.gnupg' created [2022-05-10T12:44:01.038Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T12:44:01.038Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T12:44:01.038Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T12:44:01.038Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T12:44:01.038Z] gpg: CAST5 encrypted data [2022-05-10T12:44:01.038Z] gpg: encrypted with 1 passphrase [2022-05-10T12:44:01.038Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T12:44:01.334Z] + mkdir /home/jenkins [2022-05-10T12:44:01.334Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T12:44:01.627Z] + 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-10T12:44:01.638Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:44:01.929Z] ---> sigul-install.sh [2022-05-10T12:44:01.929Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T12:44:02.222Z] + git tag --list [2022-05-10T12:44:02.222Z] 0.7.1 [2022-05-10T12:44:02.222Z] v1.0.0 [2022-05-10T12:44:02.222Z] v1.1.0 [2022-05-10T12:44:02.222Z] v1.1.1 [2022-05-10T12:44:02.222Z] v1.2.2 [2022-05-10T12:44:02.222Z] v1.3.0 [2022-05-10T12:44:02.222Z] v1.3.1 [2022-05-10T12:44:02.222Z] v2.0.0 [2022-05-10T12:44:02.222Z] v2.0.1-dev.1 [2022-05-10T12:44:02.222Z] v2.0.1-dev.10 [2022-05-10T12:44:02.222Z] v2.0.1-dev.11 [2022-05-10T12:44:02.222Z] v2.0.1-dev.12 [2022-05-10T12:44:02.222Z] v2.0.1-dev.2 [2022-05-10T12:44:02.222Z] v2.0.1-dev.3 [2022-05-10T12:44:02.222Z] v2.0.1-dev.4 [2022-05-10T12:44:02.222Z] v2.0.1-dev.5 [2022-05-10T12:44:02.222Z] v2.0.1-dev.6 [2022-05-10T12:44:02.222Z] v2.0.1-dev.7 [2022-05-10T12:44:02.222Z] v2.0.1-dev.8 [2022-05-10T12:44:02.222Z] v2.0.1-dev.9 [2022-05-10T12:44:02.222Z] v2.1.0 [2022-05-10T12:44:02.222Z] v2.2.0-dev.1 [2022-05-10T12:44:02.222Z] v2.2.0-dev.10 [2022-05-10T12:44:02.222Z] v2.2.0-dev.11 [2022-05-10T12:44:02.222Z] v2.2.0-dev.12 [2022-05-10T12:44:02.222Z] v2.2.0-dev.13 [2022-05-10T12:44:02.222Z] v2.2.0-dev.14 [2022-05-10T12:44:02.222Z] v2.2.0-dev.15 [2022-05-10T12:44:02.222Z] v2.2.0-dev.16 [2022-05-10T12:44:02.222Z] v2.2.0-dev.17 [2022-05-10T12:44:02.222Z] v2.2.0-dev.18 [2022-05-10T12:44:02.222Z] v2.2.0-dev.19 [2022-05-10T12:44:02.222Z] v2.2.0-dev.2 [2022-05-10T12:44:02.222Z] v2.2.0-dev.3 [2022-05-10T12:44:02.222Z] v2.2.0-dev.4 [2022-05-10T12:44:02.222Z] v2.2.0-dev.5 [2022-05-10T12:44:02.222Z] v2.2.0-dev.6 [2022-05-10T12:44:02.222Z] v2.2.0-dev.7 [2022-05-10T12:44:02.222Z] v2.2.0-dev.8 [2022-05-10T12:44:02.222Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-10T12:44:02.512Z] + lftools sign git-tag v2.2.0-dev.19 [2022-05-10T12:44:03.084Z] Signing Git tag with Sigul... [2022-05-10T12:44:03.084Z] Signing v2.2.0-dev.19 [Pipeline] echo [2022-05-10T12:44:03.355Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:44:03.642Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T12:44:03.652Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T12:44:03.674Z] $ docker stop --time=1 7133a768175eb80e471f7029db273cb29017a414802d99bf4ccfa17dcc47c1b5 [2022-05-10T12:44:04.981Z] $ docker rm -f 7133a768175eb80e471f7029db273cb29017a414802d99bf4ccfa17dcc47c1b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T12:44:05.396Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:44:05.396Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:44:05.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:44:05.694Z] . [Pipeline] withDockerContainer [2022-05-10T12:44:05.767Z] prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container [2022-05-10T12:44:05.810Z] $ 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-10T12:44:06.176Z] $ docker top 3f1ebd8735231af47301f6cd974630417174c15bcb5a4e799f30739ba7c870f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:44:06.268Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:44:06.268Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:44:06.390Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:44:06.397Z] $ docker exec 3f1ebd8735231af47301f6cd974630417174c15bcb5a4e799f30739ba7c870f2 ssh-agent [2022-05-10T12:44:06.520Z] SSH_AUTH_SOCK=/tmp/ssh-5JORsB8D8lzr/agent.34 [2022-05-10T12:44:06.520Z] SSH_AGENT_PID=40 [2022-05-10T12:44:06.525Z] Running ssh-add (command line suppressed) [2022-05-10T12:44:06.631Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2586336405366597209.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2586336405366597209.key) [2022-05-10T12:44:06.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:44:06.927Z] + git semver bump pre [2022-05-10T12:44:07.187Z] 2022-05-10 12:44:07,139 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T12:44:07.187Z] 2022-05-10 12:44:07,139 [bump_version] DEBUG bumping version:2.2.0-dev.19 on axis:pre with prefix:dev [2022-05-10T12:44:07.187Z] 2022-05-10 12:44:07,139 [bump_version] DEBUG bumped version:2.2.0-dev.20 [2022-05-10T12:44:07.187Z] 2022-05-10 12:44:07,139 [write_version] DEBUG write version:2.2.0-dev.20 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-05-10T12:44:07.187Z] 2022-05-10 12:44:07,139 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T12:44:07.187Z] 2022-05-10 12:44:07,139 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T12:44:07.187Z] 2022-05-10 12:44:07,142 [execute] INFO git cat-file --batch-check [2022-05-10T12:44:07.187Z] 2022-05-10 12:44:07,142 [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-10T12:44:07.187Z] 2022-05-10 12:44:07,147 [execute] INFO git cat-file --batch [2022-05-10T12:44:07.187Z] 2022-05-10 12:44:07,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T12:44:07.187Z] 2022-05-10 12:44:07,152 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T12:44:07.187Z] 2.2.0-dev.20 [Pipeline] } [2022-05-10T12:44:07.202Z] $ docker exec --env ******** --env ******** 3f1ebd8735231af47301f6cd974630417174c15bcb5a4e799f30739ba7c870f2 ssh-agent -k [2022-05-10T12:44:07.316Z] unset SSH_AUTH_SOCK; [2022-05-10T12:44:07.317Z] unset SSH_AGENT_PID; [2022-05-10T12:44:07.317Z] echo Agent pid 40 killed; [2022-05-10T12:44:07.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:44:07.632Z] + git semver [Pipeline] } [2022-05-10T12:44:07.910Z] $ docker stop --time=1 3f1ebd8735231af47301f6cd974630417174c15bcb5a4e799f30739ba7c870f2 [2022-05-10T12:44:09.204Z] $ docker rm -f 3f1ebd8735231af47301f6cd974630417174c15bcb5a4e799f30739ba7c870f2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:44:09.562Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:44:09.562Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:44:09.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:44:09.854Z] . [Pipeline] withDockerContainer [2022-05-10T12:44:09.920Z] prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container [2022-05-10T12:44:09.956Z] $ 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-10T12:44:10.340Z] $ docker top 4dce069b574b3a6d1a62a59fd5e715f443ce1445a437156e3d942fa90b34e7d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:44:10.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:44:10.436Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:44:10.574Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:44:10.581Z] $ docker exec 4dce069b574b3a6d1a62a59fd5e715f443ce1445a437156e3d942fa90b34e7d7 ssh-agent [2022-05-10T12:44:10.702Z] SSH_AUTH_SOCK=/tmp/ssh-XHBYy3sQUl9i/agent.33 [2022-05-10T12:44:10.702Z] SSH_AGENT_PID=40 [2022-05-10T12:44:10.708Z] Running ssh-add (command line suppressed) [2022-05-10T12:44:10.818Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8562864463693476012.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8562864463693476012.key) [2022-05-10T12:44:10.829Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:44:11.117Z] + git semver push [2022-05-10T12:44:11.378Z] 2022-05-10 12:44:11,346 [run_push] DEBUG push [2022-05-10T12:44:11.378Z] 2022-05-10 12:44:11,347 [execute] INFO git push origin semver [2022-05-10T12:44:11.378Z] 2022-05-10 12:44:11,347 [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-10T12:44:12.351Z] 2022-05-10 12:44:12,231 [run_push] DEBUG push all version tags [2022-05-10T12:44:12.351Z] 2022-05-10 12:44:12,232 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-10T12:44:12.351Z] 2022-05-10 12:44:12,233 [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-10T12:44:13.358Z] 2022-05-10 12:44:12,977 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-10T12:44:13.358Z] 2.2.0-dev.20 [Pipeline] } [2022-05-10T12:44:13.371Z] $ docker exec --env ******** --env ******** 4dce069b574b3a6d1a62a59fd5e715f443ce1445a437156e3d942fa90b34e7d7 ssh-agent -k [2022-05-10T12:44:13.483Z] unset SSH_AUTH_SOCK; [2022-05-10T12:44:13.484Z] unset SSH_AGENT_PID; [2022-05-10T12:44:13.484Z] echo Agent pid 40 killed; [2022-05-10T12:44:13.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:44:13.795Z] + git semver [Pipeline] } [2022-05-10T12:44:14.075Z] $ docker stop --time=1 4dce069b574b3a6d1a62a59fd5e715f443ce1445a437156e3d942fa90b34e7d7 [2022-05-10T12:44:15.360Z] $ docker rm -f 4dce069b574b3a6d1a62a59fd5e715f443ce1445a437156e3d942fa90b34e7d7 [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-10T12:44:15.912Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-05-10T12:44:15.912Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-10T12:44:15.912Z] total 16 [2022-05-10T12:44:15.912Z] drwxr-xr-x 3 root root 4096 May 10 12:37 . [2022-05-10T12:44:15.912Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 12:44 .. [2022-05-10T12:44:15.912Z] drwxr-xr-x 2 root root 4096 May 10 12:37 cost [2022-05-10T12:44:15.912Z] -rw-r--r-- 1 root root 86 May 10 12:37 cost.csv [2022-05-10T12:44:15.912Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-10T12:44:15.912Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-10T12:44:15.912Z] total 16 [2022-05-10T12:44:15.912Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:37 . [2022-05-10T12:44:15.912Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 12:44 .. [2022-05-10T12:44:15.912Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 12:37 cost [2022-05-10T12:44:15.912Z] -rw-r--r-- 1 jenkins jenkins 86 May 10 12:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:44:16.204Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:44:17.078Z] ---> package-listing.sh [2022-05-10T12:44:17.078Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T12:44:17.078Z] ++ facter osfamily [2022-05-10T12:44:17.338Z] + OS_FAMILY=debian [2022-05-10T12:44:17.338Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-05-10T12:44:17.338Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T12:44:17.338Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T12:44:17.338Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T12:44:17.338Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T12:44:17.338Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-10T12:44:17.338Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T12:44:17.338Z] + case "${OS_FAMILY}" in [2022-05-10T12:44:17.338Z] + dpkg -l [2022-05-10T12:44:17.338Z] + grep '^ii' [2022-05-10T12:44:17.338Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T12:44:17.338Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T12:44:17.338Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T12:44:17.338Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-10T12:44:17.338Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-05-10T12:44:17.338Z] + 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-10T12:44:17.350Z] 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-10T12:44:17.628Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:44:18.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:44:18.181Z] . [Pipeline] withDockerContainer [2022-05-10T12:44:18.248Z] prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container [2022-05-10T12:44:18.289Z] $ 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-10T12:44:18.538Z] $ docker top af261680ed04be2fc21276fd462403698877cda341b0e53bdff0f81ea9714a70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:44:18.889Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T12:44:19.176Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T12:44:19.464Z] + ls /var/log/sa-host [2022-05-10T12:44:19.464Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:44:19.553Z] provisioning config files... [2022-05-10T12:44:19.562Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config884547202089728242tmp [Pipeline] { [Pipeline] echo [2022-05-10T12:44:19.572Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:44:19.856Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T12:44:19.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:44:20.181Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T12:44:20.192Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:44:20.480Z] ---> sudo-logs.sh [2022-05-10T12:44:20.480Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T12:44:20.505Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:44:20.798Z] ---> job-cost.sh [2022-05-10T12:44:20.798Z] lf-activate-venv: SKIPPING [2022-05-10T12:44:20.798Z] DEBUG: total: 0.2199999988079071 [2022-05-10T12:44:20.798Z] INFO: Retrieving Stack Cost... [2022-05-10T12:44:21.373Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:44:21.633Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T12:44:21.648Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:44:21.937Z] ---> logs-deploy.sh [2022-05-10T12:44:21.937Z] lf-activate-venv: SKIPPING [2022-05-10T12:44:21.937Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/37 [2022-05-10T12:44:21.937Z] INFO: archiving workspace using pattern(s): [2022-05-10T12:44:22.877Z] Archives upload complete. [2022-05-10T12:44:22.877Z] INFO: archiving logs to Nexus