Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0da803b9e852e60e6d0c38932136853af8aaf1e9 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-ssh9954223278100878820.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh7594355955958963576.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh12354204203097669750.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh4378749577680570546.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-ssh12040082891108176274.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63056 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 0da803b9e852e60e6d0c38932136853af8aaf1e9 (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 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 Commit message: "Merge pull request #346 from jinlinGuan/released-go-mods" > git rev-list --no-walk 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T05:50:00.033Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T05:50:00.095Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T05:50:00.121Z] ========================================================= [2022-05-11T05:50:00.121Z] EdgeX Global Pipelines Version Info [2022-05-11T05:50:00.121Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:50:00.911Z] ------------------- [2022-05-11T05:50:00.911Z] stable info: [2022-05-11T05:50:00.911Z] ------------------- [2022-05-11T05:50:00.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T05:50:00.911Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T05:50:00.912Z] Message: update stable to v1.0.230 [2022-05-11T05:50:01.487Z] ------------------- [2022-05-11T05:50:01.487Z] experimental info: [2022-05-11T05:50:01.487Z] ------------------- [2022-05-11T05:50:01.487Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T05:50:01.487Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T05:50:01.487Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T05:50:01.627Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-11T05:50:01.643Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-11T05:50:01.654Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T05:50:01.666Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T05:50:01.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T05:50:01.691Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T05:50:01.706Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T05:50:01.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T05:50:01.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T05:50:01.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T05:50:01.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T05:50:01.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-11T05:50:01.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T05:50:01.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T05:50:01.789Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T05:50:01.800Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T05:50:01.811Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T05:50:01.819Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T05:50:01.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T05:50:01.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T05:50:01.845Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T05:50:01.855Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T05:50:01.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T05:50:01.874Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T05:50:01.884Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T05:50:01.900Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T05:50:01.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-11T05:50:01.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-11T05:50:01.945Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-11T05:50:01.964Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo [2022-05-11T05:50:01.977Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0da803b [Pipeline] echo [2022-05-11T05:50:01.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:50:02.034Z] provisioning config files... [2022-05-11T05:50:02.048Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6821835282197915398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:50:02.366Z] ---> docker-login.sh [2022-05-11T05:50:02.366Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:50:02.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:02.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:02.628Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:02.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:02.628Z] [2022-05-11T05:50:02.628Z] Login Succeeded [2022-05-11T05:50:02.628Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:50:02.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:02.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:02.888Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:02.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:02.888Z] [2022-05-11T05:50:02.888Z] Login Succeeded [2022-05-11T05:50:02.889Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:50:02.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:02.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:02.889Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:02.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:02.889Z] [2022-05-11T05:50:02.889Z] Login Succeeded [2022-05-11T05:50:02.889Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:50:03.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:03.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:03.154Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:03.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:03.154Z] [2022-05-11T05:50:03.154Z] Login Succeeded [2022-05-11T05:50:03.154Z] docker.io [2022-05-11T05:50:03.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:03.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:03.724Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:03.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:03.724Z] [2022-05-11T05:50:03.724Z] Login Succeeded [2022-05-11T05:50:03.724Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:50:03.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T05:50:04.109Z] + git rev-list -1 --merges 0da803b9e852e60e6d0c38932136853af8aaf1e9~1..0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo [2022-05-11T05:50:04.250Z] -----------> git rev-list -1 --merges 0da803b9e852e60e6d0c38932136853af8aaf1e9~1..0da803b9e852e60e6d0c38932136853af8aaf1e9 0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T05:50:04.250Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9 [false] [Pipeline] sh [2022-05-11T05:50:04.542Z] + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo [2022-05-11T05:50:04.561Z] ========================================================= [2022-05-11T05:50:04.561Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-11T05:50:04.561Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:50:04.892Z] + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo [2022-05-11T05:50:04.907Z] [semverPrep] GIT_COMMIT: 0da803b9e852e60e6d0c38932136853af8aaf1e9, Commit Message: Merge pull request #346 from jinlinGuan/released-go-mods [Pipeline] echo [2022-05-11T05:50:04.919Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T05:50:05.307Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T05:50:05.307Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T05:50:05.307Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T05:50:05.307Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T05:50:05.307Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T05:50:05.307Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T05:50:05.307Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:05.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:50:05.651Z] [2022-05-11T05:50:05.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:05.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:50:05.966Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T05:50:05.966Z] 1fe172e4850f: Pulling fs layer [2022-05-11T05:50:05.966Z] caf521ccaac6: Pulling fs layer [2022-05-11T05:50:05.966Z] 3ead6fa29328: Pulling fs layer [2022-05-11T05:50:05.966Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T05:50:05.966Z] a8d5f1318db7: Pulling fs layer [2022-05-11T05:50:05.966Z] c427282e49a2: Pulling fs layer [2022-05-11T05:50:05.966Z] 1827001aaf11: Pulling fs layer [2022-05-11T05:50:05.966Z] 0714d37db230: Pulling fs layer [2022-05-11T05:50:05.966Z] ac28cf19c067: Pulling fs layer [2022-05-11T05:50:05.966Z] ca983d60f3e2: Pulling fs layer [2022-05-11T05:50:05.966Z] 9f894cec8388: Pulling fs layer [2022-05-11T05:50:05.966Z] a8d5f1318db7: Waiting [2022-05-11T05:50:05.966Z] c427282e49a2: Waiting [2022-05-11T05:50:05.966Z] 1827001aaf11: Waiting [2022-05-11T05:50:05.966Z] 0714d37db230: Waiting [2022-05-11T05:50:05.966Z] ac28cf19c067: Waiting [2022-05-11T05:50:05.966Z] ca983d60f3e2: Waiting [2022-05-11T05:50:05.966Z] 9f894cec8388: Waiting [2022-05-11T05:50:05.966Z] 5c2a1cbceb83: Waiting [2022-05-11T05:50:06.231Z] caf521ccaac6: Verifying Checksum [2022-05-11T05:50:06.232Z] caf521ccaac6: Download complete [2022-05-11T05:50:06.232Z] 5c2a1cbceb83: Verifying Checksum [2022-05-11T05:50:06.232Z] 5c2a1cbceb83: Download complete [2022-05-11T05:50:06.232Z] a8d5f1318db7: Verifying Checksum [2022-05-11T05:50:06.232Z] a8d5f1318db7: Download complete [2022-05-11T05:50:06.232Z] c427282e49a2: Verifying Checksum [2022-05-11T05:50:06.232Z] c427282e49a2: Download complete [2022-05-11T05:50:06.232Z] 3ead6fa29328: Verifying Checksum [2022-05-11T05:50:06.232Z] 3ead6fa29328: Download complete [2022-05-11T05:50:06.232Z] 0714d37db230: Download complete [2022-05-11T05:50:06.232Z] ac28cf19c067: Verifying Checksum [2022-05-11T05:50:06.232Z] ac28cf19c067: Download complete [2022-05-11T05:50:06.232Z] ca983d60f3e2: Download complete [2022-05-11T05:50:06.232Z] 9f894cec8388: Verifying Checksum [2022-05-11T05:50:06.232Z] 9f894cec8388: Download complete [2022-05-11T05:50:06.492Z] 1fe172e4850f: Verifying Checksum [2022-05-11T05:50:06.492Z] 1fe172e4850f: Download complete [2022-05-11T05:50:06.753Z] 1827001aaf11: Verifying Checksum [2022-05-11T05:50:06.753Z] 1827001aaf11: Download complete [2022-05-11T05:50:07.694Z] 1fe172e4850f: Pull complete [2022-05-11T05:50:07.954Z] caf521ccaac6: Pull complete [2022-05-11T05:50:08.533Z] 3ead6fa29328: Pull complete [2022-05-11T05:50:08.533Z] 5c2a1cbceb83: Pull complete [2022-05-11T05:50:08.814Z] a8d5f1318db7: Pull complete [2022-05-11T05:50:09.078Z] c427282e49a2: Pull complete [2022-05-11T05:50:10.993Z] 1827001aaf11: Pull complete [2022-05-11T05:50:10.993Z] 0714d37db230: Pull complete [2022-05-11T05:50:11.256Z] ac28cf19c067: Pull complete [2022-05-11T05:50:11.256Z] ca983d60f3e2: Pull complete [2022-05-11T05:50:11.256Z] 9f894cec8388: Pull complete [2022-05-11T05:50:11.519Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T05:50:11.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:50:11.519Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T05:50:11.594Z] prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container [2022-05-11T05:50:11.622Z] $ 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-11T05:50:13.949Z] $ docker top 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 -eo pid,comm [2022-05-11T05:50:14.038Z] 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-11T05:50:14.038Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T05:50:14.076Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T05:50:14.076Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T05:50:14.202Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T05:50:14.200Z] $ docker exec 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 ssh-agent [2022-05-11T05:50:14.335Z] SSH_AUTH_SOCK=/tmp/ssh-0IRBCEr7dl1S/agent.33 [2022-05-11T05:50:14.335Z] SSH_AGENT_PID=39 [2022-05-11T05:50:14.345Z] Running ssh-add (command line suppressed) [2022-05-11T05:50:14.465Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_687713239100764626.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_687713239100764626.key) [2022-05-11T05:50:14.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T05:50:14.835Z] + git tag --points-at HEAD [Pipeline] } [2022-05-11T05:50:14.856Z] $ docker exec --env ******** --env ******** 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 ssh-agent -k [2022-05-11T05:50:14.975Z] unset SSH_AUTH_SOCK; [2022-05-11T05:50:14.975Z] unset SSH_AGENT_PID; [2022-05-11T05:50:14.976Z] echo Agent pid 39 killed; [2022-05-11T05:50:14.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-11T05:50:15.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T05:50:15.026Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T05:50:15.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T05:50:15.146Z] $ docker exec 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 ssh-agent [2022-05-11T05:50:15.282Z] SSH_AUTH_SOCK=/tmp/ssh-y6DWjrKtYDS7/agent.72 [2022-05-11T05:50:15.283Z] SSH_AGENT_PID=78 [2022-05-11T05:50:15.289Z] Running ssh-add (command line suppressed) [2022-05-11T05:50:15.403Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5571812266787655517.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5571812266787655517.key) [2022-05-11T05:50:15.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T05:50:15.726Z] + git semver init [2022-05-11T05:50:15.991Z] 2022-05-11 05:50:15,939 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T05:50:15.991Z] 2022-05-11 05:50:15,939 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-11T05:50:15.991Z] 2022-05-11 05:50:15,940 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-11T05:50:15.991Z] 2022-05-11 05:50:15,940 [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-11T05:50:16.937Z] 2022-05-11 05:50:16,912 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-05-11T05:50:16.937Z] 2022-05-11 05:50:16,913 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-05-11T05:50:16.937Z] 2022-05-11 05:50:16,913 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T05:50:16.937Z] 2022-05-11 05:50:16,913 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T05:50:16.937Z] 2.2.0-dev.20 [Pipeline] } [2022-05-11T05:50:16.944Z] $ docker exec --env ******** --env ******** 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 ssh-agent -k [2022-05-11T05:50:17.048Z] unset SSH_AUTH_SOCK; [2022-05-11T05:50:17.049Z] unset SSH_AGENT_PID; [2022-05-11T05:50:17.049Z] echo Agent pid 78 killed; [2022-05-11T05:50:17.066Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T05:50:17.378Z] + git semver [Pipeline] } [2022-05-11T05:50:17.649Z] $ docker stop --time=1 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 [2022-05-11T05:50:19.051Z] $ docker rm -f 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:50:19.421Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T05:50:19.699Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T05:50:19.704Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.20 [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-11T05:50:19.870Z] provisioning config files... [2022-05-11T05:50:19.882Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3597512597138551903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:50:20.183Z] ---> docker-login.sh [2022-05-11T05:50:20.183Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:50:20.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:20.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:20.183Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:20.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:20.183Z] [2022-05-11T05:50:20.183Z] Login Succeeded [2022-05-11T05:50:20.183Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:50:20.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:20.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:20.183Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:20.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:20.183Z] [2022-05-11T05:50:20.183Z] Login Succeeded [2022-05-11T05:50:20.445Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:50:20.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:20.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:20.445Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:20.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:20.445Z] [2022-05-11T05:50:20.445Z] Login Succeeded [2022-05-11T05:50:20.445Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:50:20.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:20.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:20.707Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:20.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:20.707Z] [2022-05-11T05:50:20.707Z] Login Succeeded [2022-05-11T05:50:20.707Z] docker.io [2022-05-11T05:50:20.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:20.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:20.968Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:20.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:20.968Z] [2022-05-11T05:50:20.968Z] Login Succeeded [2022-05-11T05:50:20.968Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:50:20.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T05:50:21.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:50:21.063Z] ========================================================= [2022-05-11T05:50:21.063Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T05:50:21.063Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:21.373Z] + 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-11T05:50:21.373Z] Sending build context to Docker daemon 5.891MB [2022-05-11T05:50:21.373Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:50:21.373Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-11T05:50:21.373Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T05:50:21.373Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T05:50:21.374Z] 666ba61612fd: Pulling fs layer [2022-05-11T05:50:21.374Z] 8ed8ca486205: Pulling fs layer [2022-05-11T05:50:21.374Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T05:50:21.374Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T05:50:21.374Z] ca2b28591e48: Pulling fs layer [2022-05-11T05:50:21.374Z] a51346096db8: Pulling fs layer [2022-05-11T05:50:21.374Z] daebc70d1ce1: Pulling fs layer [2022-05-11T05:50:21.374Z] 0e18a0eac166: Pulling fs layer [2022-05-11T05:50:21.374Z] daebc70d1ce1: Waiting [2022-05-11T05:50:21.374Z] 0e18a0eac166: Waiting [2022-05-11T05:50:21.374Z] 4fe6c5a15a65: Waiting [2022-05-11T05:50:21.374Z] ca2b28591e48: Waiting [2022-05-11T05:50:21.374Z] a51346096db8: Waiting [2022-05-11T05:50:21.374Z] 22a0e8bec74d: Waiting [2022-05-11T05:50:21.374Z] 8ed8ca486205: Download complete [2022-05-11T05:50:21.374Z] 666ba61612fd: Verifying Checksum [2022-05-11T05:50:21.374Z] 666ba61612fd: Download complete [2022-05-11T05:50:21.374Z] 22a0e8bec74d: Download complete [2022-05-11T05:50:21.636Z] ca2b28591e48: Verifying Checksum [2022-05-11T05:50:21.636Z] ca2b28591e48: Download complete [2022-05-11T05:50:21.636Z] 59bf1c3509f3: Verifying Checksum [2022-05-11T05:50:21.636Z] a51346096db8: Verifying Checksum [2022-05-11T05:50:21.636Z] a51346096db8: Download complete [2022-05-11T05:50:21.636Z] daebc70d1ce1: Verifying Checksum [2022-05-11T05:50:21.636Z] daebc70d1ce1: Download complete [2022-05-11T05:50:21.636Z] 59bf1c3509f3: Pull complete [2022-05-11T05:50:21.898Z] 666ba61612fd: Pull complete [2022-05-11T05:50:21.898Z] 8ed8ca486205: Pull complete [2022-05-11T05:50:22.160Z] 0e18a0eac166: Verifying Checksum [2022-05-11T05:50:22.160Z] 0e18a0eac166: Download complete [2022-05-11T05:50:22.160Z] 4fe6c5a15a65: Download complete [2022-05-11T05:50:26.351Z] 4fe6c5a15a65: Pull complete [2022-05-11T05:50:26.351Z] 22a0e8bec74d: Pull complete [2022-05-11T05:50:26.351Z] ca2b28591e48: Pull complete [2022-05-11T05:50:26.351Z] a51346096db8: Pull complete [2022-05-11T05:50:26.351Z] daebc70d1ce1: Pull complete [2022-05-11T05:50:28.259Z] 0e18a0eac166: Pull complete [2022-05-11T05:50:28.259Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T05:50:28.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T05:50:28.259Z] ---> f018257e8ee9 [2022-05-11T05:50:28.259Z] Step 3/10 : ARG MAKE='make build' [2022-05-11T05:50:30.177Z] ---> Running in dca978996221 [2022-05-11T05:50:30.177Z] Removing intermediate container dca978996221 [2022-05-11T05:50:30.177Z] ---> 22f80a20520c [2022-05-11T05:50:30.177Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:50:30.177Z] ---> Running in b9a8e0665791 [2022-05-11T05:50:30.749Z] Removing intermediate container b9a8e0665791 [2022-05-11T05:50:30.749Z] ---> ea01e75117a0 [2022-05-11T05:50:30.749Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T05:50:31.011Z] ---> Running in a91649136017 [2022-05-11T05:50:31.271Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:50:31.848Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:50:32.419Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T05:50:32.419Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-11T05:50:32.419Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T05:50:32.680Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T05:50:32.680Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-11T05:50:32.680Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-11T05:50:32.940Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-11T05:50:32.940Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-11T05:50:32.940Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T05:50:32.940Z] OK: 226 MiB in 60 packages [2022-05-11T05:50:33.881Z] Removing intermediate container a91649136017 [2022-05-11T05:50:33.881Z] ---> 6813030cb0e0 [2022-05-11T05:50:33.881Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-11T05:50:34.143Z] ---> Running in 8d286a7d9e9d [2022-05-11T05:50:34.403Z] Removing intermediate container 8d286a7d9e9d [2022-05-11T05:50:34.403Z] ---> 7abd5e102cd4 [2022-05-11T05:50:34.403Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-11T05:50:34.829Z] Still waiting to schedule task [2022-05-11T05:50:34.830Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-11T05:50:34.977Z] ---> 120dcb6d0234 [2022-05-11T05:50:34.977Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:50:35.238Z] ---> Running in c0dda25e7a51 [2022-05-11T05:50:50.159Z] Removing intermediate container c0dda25e7a51 [2022-05-11T05:50:50.159Z] ---> 963816a181fa [2022-05-11T05:50:50.159Z] Step 9/10 : COPY . . [2022-05-11T05:50:50.159Z] ---> 9158de1d9c39 [2022-05-11T05:50:50.159Z] Step 10/10 : RUN ${MAKE} [2022-05-11T05:50:50.159Z] ---> Running in 31c1a2e36283 [2022-05-11T05:50:50.159Z] noop [2022-05-11T05:50:50.159Z] Removing intermediate container 31c1a2e36283 [2022-05-11T05:50:50.159Z] ---> 6723b3ac491a [2022-05-11T05:50:50.159Z] Successfully built 6723b3ac491a [2022-05-11T05:50:50.159Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:50.456Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T05:50:50.456Z] . [Pipeline] withDockerContainer [2022-05-11T05:50:50.525Z] prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container [2022-05-11T05:50:50.566Z] $ 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-11T05:50:50.983Z] $ docker top c50a0a948a1d5f667d12beee99766e9837c68dd8e36392b1b1c1f844e3b700c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:50:51.339Z] + go version [2022-05-11T05:50:51.339Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T05:50:51.352Z] $ docker stop --time=1 c50a0a948a1d5f667d12beee99766e9837c68dd8e36392b1b1c1f844e3b700c7 [2022-05-11T05:50:52.637Z] $ docker rm -f c50a0a948a1d5f667d12beee99766e9837c68dd8e36392b1b1c1f844e3b700c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:53.159Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T05:50:53.159Z] . [Pipeline] withDockerContainer [2022-05-11T05:50:53.244Z] prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container [2022-05-11T05:50:53.283Z] $ 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-11T05:50:53.632Z] $ docker top 82afd281433c77883015d24e1345850d118b245474e5d9399df3a0c59203b145 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T05:50:53.996Z] + make test [2022-05-11T05:50:53.996Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-11T05:50:54.255Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-11T05:51:04.238Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-11T05:51:04.238Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements [2022-05-11T05:51:09.516Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T05:51:12.816Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T05:51:13.075Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T05:51:13.075Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T05:51:13.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T05:51:13.675Z] $ docker stop --time=1 82afd281433c77883015d24e1345850d118b245474e5d9399df3a0c59203b145 [2022-05-11T05:51:15.554Z] $ docker rm -f 82afd281433c77883015d24e1345850d118b245474e5d9399df3a0c59203b145 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:51:15.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T05:51:16.019Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-11T05:51:16.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T05:51:16.823Z] + ls -al . [2022-05-11T05:51:16.823Z] total 184 [2022-05-11T05:51:16.823Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:51 . [2022-05-11T05:51:16.823Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:49 .. [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 05:49 .dockerignore [2022-05-11T05:51:16.823Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:50 .git [2022-05-11T05:51:16.823Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 .github [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 331 May 11 05:49 .gitignore [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:49 .golangci.yml [2022-05-11T05:51:16.823Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:50 .semver [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 11 05:49 Attribution.txt [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 11 05:49 CHANGELOG.md [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 11 05:49 Dockerfile [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:49 GOVERNANCE.md [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 05:49 Jenkinsfile [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:49 LICENSE [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 11 05:49 Makefile [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 622 May 11 05:49 OWNERS.md [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 11 05:49 README.md [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:50 VERSION [2022-05-11T05:51:16.823Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:49 bin [2022-05-11T05:51:16.823Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 cmd [2022-05-11T05:51:16.823Z] -rw-r--r-- 1 jenkins jenkins 24065 May 11 05:51 coverage.out [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 3353 May 11 05:49 go.mod [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 34983 May 11 05:49 go.sum [2022-05-11T05:51:16.823Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 internal [2022-05-11T05:51:16.823Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:49 simulator [2022-05-11T05:51:16.823Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:49 snap [2022-05-11T05:51:16.823Z] -rw-rw-r-- 1 jenkins jenkins 229 May 11 05:49 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:17.121Z] + 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=0da803b9e852e60e6d0c38932136853af8aaf1e9 --label arch=amd64 --label version=2.2.0-dev.20 . [2022-05-11T05:51:17.121Z] Sending build context to Docker daemon 5.916MB [2022-05-11T05:51:17.121Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:51:17.121Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-11T05:51:17.121Z] ---> 6723b3ac491a [2022-05-11T05:51:17.121Z] Step 3/23 : ARG MAKE='make build' [2022-05-11T05:51:17.382Z] ---> Running in e874554f3966 [2022-05-11T05:51:17.382Z] Removing intermediate container e874554f3966 [2022-05-11T05:51:17.382Z] ---> 322e97a17cdc [2022-05-11T05:51:17.382Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:51:17.382Z] ---> Running in 3dc4f4f42b7c [2022-05-11T05:51:17.954Z] Removing intermediate container 3dc4f4f42b7c [2022-05-11T05:51:17.954Z] ---> 5a847ce10b0b [2022-05-11T05:51:17.954Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T05:51:17.954Z] ---> Running in 5d4213958d79 [2022-05-11T05:51:18.523Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:51:19.093Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:51:19.663Z] OK: 226 MiB in 60 packages [2022-05-11T05:51:19.923Z] Removing intermediate container 5d4213958d79 [2022-05-11T05:51:19.923Z] ---> 8ca467d27d2f [2022-05-11T05:51:19.923Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-11T05:51:19.923Z] ---> Running in 8c0fa8cb4ced [2022-05-11T05:51:19.923Z] Removing intermediate container 8c0fa8cb4ced [2022-05-11T05:51:19.923Z] ---> 2702e321f0c7 [2022-05-11T05:51:19.923Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-11T05:51:20.182Z] ---> 1a00e3858fb1 [2022-05-11T05:51:20.182Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:51:20.182Z] ---> Running in 4926a0bde898 [2022-05-11T05:51:20.754Z] Removing intermediate container 4926a0bde898 [2022-05-11T05:51:20.754Z] ---> e2b643943d29 [2022-05-11T05:51:20.754Z] Step 9/23 : COPY . . [2022-05-11T05:51:21.322Z] ---> dc8d0c7b788c [2022-05-11T05:51:21.322Z] Step 10/23 : RUN ${MAKE} [2022-05-11T05:51:21.322Z] ---> Running in ff4067d9fea7 [2022-05-11T05:51:21.594Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-11T05:51:43.540Z] Removing intermediate container ff4067d9fea7 [2022-05-11T05:51:43.540Z] ---> 2e4c583192a5 [2022-05-11T05:51:43.540Z] Step 11/23 : FROM alpine:3.14 [2022-05-11T05:51:43.540Z] 3.14: Pulling from library/alpine [2022-05-11T05:51:43.540Z] 8663204ce13b: Pulling fs layer [2022-05-11T05:51:43.540Z] 8663204ce13b: Verifying Checksum [2022-05-11T05:51:43.540Z] 8663204ce13b: Download complete [2022-05-11T05:51:43.540Z] 8663204ce13b: Pull complete [2022-05-11T05:51:43.540Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T05:51:43.540Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T05:51:43.540Z] ---> e04c818066af [2022-05-11T05:51:43.540Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-11T05:51:43.540Z] ---> Running in b5cc5c8a548b [2022-05-11T05:51:43.540Z] Removing intermediate container b5cc5c8a548b [2022-05-11T05:51:43.540Z] ---> c43fb5a44ea9 [2022-05-11T05:51:43.540Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:51:43.540Z] ---> Running in f08509b96495 [2022-05-11T05:51:43.540Z] Removing intermediate container f08509b96495 [2022-05-11T05:51:43.540Z] ---> 08a4745651b4 [2022-05-11T05:51:43.540Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T05:51:43.540Z] ---> Running in 0652b8f63bb9 [2022-05-11T05:51:43.540Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:51:43.803Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:51:44.066Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T05:51:44.326Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T05:51:44.326Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T05:51:44.326Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T05:51:44.587Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T05:51:44.587Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T05:51:44.587Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T05:51:44.587Z] OK: 8 MiB in 20 packages [2022-05-11T05:51:45.159Z] Removing intermediate container 0652b8f63bb9 [2022-05-11T05:51:45.159Z] ---> af4d69339445 [2022-05-11T05:51:45.159Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-11T05:51:45.731Z] ---> 9f57b9aaa0ce [2022-05-11T05:51:45.731Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-11T05:51:45.992Z] ---> 82d9d3b4443c [2022-05-11T05:51:45.992Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-11T05:51:45.992Z] ---> 24e4f509c4e6 [2022-05-11T05:51:45.992Z] Step 18/23 : EXPOSE 59901 [2022-05-11T05:51:46.254Z] ---> Running in b85c266def3f [2022-05-11T05:51:46.254Z] Removing intermediate container b85c266def3f [2022-05-11T05:51:46.254Z] ---> 3659bbe3beb6 [2022-05-11T05:51:46.254Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-11T05:51:46.254Z] ---> Running in ffc47a60b3b7 [2022-05-11T05:51:46.254Z] Removing intermediate container ffc47a60b3b7 [2022-05-11T05:51:46.254Z] ---> 4f0bb7cce84d [2022-05-11T05:51:46.254Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T05:51:46.517Z] ---> Running in bb779226325c [2022-05-11T05:51:46.517Z] Removing intermediate container bb779226325c [2022-05-11T05:51:46.517Z] ---> 1de9bf8bc254 [2022-05-11T05:51:46.517Z] Step 21/23 : LABEL arch=amd64 [2022-05-11T05:51:46.517Z] ---> Running in eb05cc86b04f [2022-05-11T05:51:46.517Z] Removing intermediate container eb05cc86b04f [2022-05-11T05:51:46.517Z] ---> 5f79dfbd0ab3 [2022-05-11T05:51:46.517Z] Step 22/23 : LABEL git_sha=0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T05:51:46.778Z] ---> Running in 7efe6f19d684 [2022-05-11T05:51:46.778Z] Removing intermediate container 7efe6f19d684 [2022-05-11T05:51:46.778Z] ---> 79d146ba4ff8 [2022-05-11T05:51:46.778Z] Step 23/23 : LABEL version=2.2.0-dev.20 [2022-05-11T05:51:46.778Z] ---> Running in 5be434d0f526 [2022-05-11T05:51:47.036Z] Removing intermediate container 5be434d0f526 [2022-05-11T05:51:47.036Z] ---> 2df49564b5f0 [2022-05-11T05:51:47.036Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T05:51:47.036Z] Successfully built 2df49564b5f0 [2022-05-11T05:51:47.036Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:51:47.130Z] provisioning config files... [2022-05-11T05:51:47.140Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3413422969232172279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:51:47.444Z] ---> docker-login.sh [2022-05-11T05:51:47.444Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:51:47.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:47.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:47.444Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:47.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:47.444Z] [2022-05-11T05:51:47.444Z] Login Succeeded [2022-05-11T05:51:47.444Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:51:47.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:47.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:47.444Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:47.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:47.444Z] [2022-05-11T05:51:47.444Z] Login Succeeded [2022-05-11T05:51:47.702Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:51:47.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:47.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:47.702Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:47.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:47.702Z] [2022-05-11T05:51:47.702Z] Login Succeeded [2022-05-11T05:51:47.702Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:51:47.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:47.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:47.702Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:47.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:47.702Z] [2022-05-11T05:51:47.702Z] Login Succeeded [2022-05-11T05:51:47.702Z] docker.io [2022-05-11T05:51:47.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:48.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:48.221Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:48.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:48.222Z] [2022-05-11T05:51:48.222Z] Login Succeeded [2022-05-11T05:51:48.222Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:51:48.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T05:51:48.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:51:48.295Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-05-11T05:51:48.295Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T05:51:48.295Z] latest [2022-05-11T05:51:48.295Z] 2.2.0-dev.20 [2022-05-11T05:51:48.295Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 [2022-05-11T05:51:48.295Z] main [2022-05-11T05:51:48.295Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:48.622Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:48.915Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T05:51:48.915Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-11T05:51:48.915Z] 8577621c0bc4: Preparing [2022-05-11T05:51:48.915Z] 4670179a711d: Preparing [2022-05-11T05:51:48.915Z] be1a590110ee: Preparing [2022-05-11T05:51:48.915Z] 8c75fa824be6: Preparing [2022-05-11T05:51:48.915Z] 8992fa047828: Preparing [2022-05-11T05:51:48.915Z] b541d28bf3b4: Preparing [2022-05-11T05:51:48.915Z] b541d28bf3b4: Waiting [2022-05-11T05:51:48.915Z] 8992fa047828: Pushed [2022-05-11T05:51:48.915Z] 4670179a711d: Pushed [2022-05-11T05:51:48.915Z] 8577621c0bc4: Pushed [2022-05-11T05:51:48.915Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:49.176Z] 8c75fa824be6: Pushed [2022-05-11T05:51:51.823Z] be1a590110ee: Pushed [2022-05-11T05:51:51.823Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9: digest: sha256:a620297f090b363b52971cb69ba17e2c5402c76d1b5cdab0f968051c5a982fd9 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:52.130Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:52.425Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-11T05:51:52.425Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-11T05:51:52.425Z] 8577621c0bc4: Preparing [2022-05-11T05:51:52.425Z] 4670179a711d: Preparing [2022-05-11T05:51:52.425Z] be1a590110ee: Preparing [2022-05-11T05:51:52.425Z] 8c75fa824be6: Preparing [2022-05-11T05:51:52.425Z] 8992fa047828: Preparing [2022-05-11T05:51:52.425Z] b541d28bf3b4: Preparing [2022-05-11T05:51:52.425Z] b541d28bf3b4: Waiting [2022-05-11T05:51:52.425Z] 8c75fa824be6: Layer already exists [2022-05-11T05:51:52.425Z] be1a590110ee: Layer already exists [2022-05-11T05:51:52.425Z] 4670179a711d: Layer already exists [2022-05-11T05:51:52.425Z] 8577621c0bc4: Layer already exists [2022-05-11T05:51:52.425Z] 8992fa047828: Layer already exists [2022-05-11T05:51:52.425Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:52.425Z] latest: digest: sha256:a620297f090b363b52971cb69ba17e2c5402c76d1b5cdab0f968051c5a982fd9 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:52.728Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:53.020Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.20 [2022-05-11T05:51:53.020Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-11T05:51:53.020Z] 8577621c0bc4: Preparing [2022-05-11T05:51:53.020Z] 4670179a711d: Preparing [2022-05-11T05:51:53.020Z] be1a590110ee: Preparing [2022-05-11T05:51:53.020Z] 8c75fa824be6: Preparing [2022-05-11T05:51:53.020Z] 8992fa047828: Preparing [2022-05-11T05:51:53.020Z] b541d28bf3b4: Preparing [2022-05-11T05:51:53.020Z] b541d28bf3b4: Waiting [2022-05-11T05:51:53.020Z] 8577621c0bc4: Layer already exists [2022-05-11T05:51:53.020Z] 8c75fa824be6: Layer already exists [2022-05-11T05:51:53.020Z] 4670179a711d: Layer already exists [2022-05-11T05:51:53.020Z] 8992fa047828: Layer already exists [2022-05-11T05:51:53.020Z] be1a590110ee: Layer already exists [2022-05-11T05:51:53.020Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:53.020Z] 2.2.0-dev.20: digest: sha256:a620297f090b363b52971cb69ba17e2c5402c76d1b5cdab0f968051c5a982fd9 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:53.325Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:53.624Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 [2022-05-11T05:51:53.624Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-11T05:51:53.624Z] 8577621c0bc4: Preparing [2022-05-11T05:51:53.624Z] 4670179a711d: Preparing [2022-05-11T05:51:53.624Z] be1a590110ee: Preparing [2022-05-11T05:51:53.624Z] 8c75fa824be6: Preparing [2022-05-11T05:51:53.624Z] 8992fa047828: Preparing [2022-05-11T05:51:53.624Z] b541d28bf3b4: Preparing [2022-05-11T05:51:53.624Z] b541d28bf3b4: Waiting [2022-05-11T05:51:53.624Z] be1a590110ee: Layer already exists [2022-05-11T05:51:53.624Z] 8577621c0bc4: Layer already exists [2022-05-11T05:51:53.624Z] 4670179a711d: Layer already exists [2022-05-11T05:51:53.624Z] 8c75fa824be6: Layer already exists [2022-05-11T05:51:53.624Z] 8992fa047828: Layer already exists [2022-05-11T05:51:53.624Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:53.624Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20: digest: sha256:a620297f090b363b52971cb69ba17e2c5402c76d1b5cdab0f968051c5a982fd9 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:53.931Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:54.227Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-05-11T05:51:54.227Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-11T05:51:54.227Z] 8577621c0bc4: Preparing [2022-05-11T05:51:54.227Z] 4670179a711d: Preparing [2022-05-11T05:51:54.227Z] be1a590110ee: Preparing [2022-05-11T05:51:54.227Z] 8c75fa824be6: Preparing [2022-05-11T05:51:54.227Z] 8992fa047828: Preparing [2022-05-11T05:51:54.227Z] b541d28bf3b4: Preparing [2022-05-11T05:51:54.227Z] b541d28bf3b4: Waiting [2022-05-11T05:51:54.227Z] 4670179a711d: Layer already exists [2022-05-11T05:51:54.227Z] 8992fa047828: Layer already exists [2022-05-11T05:51:54.227Z] 8577621c0bc4: Layer already exists [2022-05-11T05:51:54.227Z] be1a590110ee: Layer already exists [2022-05-11T05:51:54.227Z] 8c75fa824be6: Layer already exists [2022-05-11T05:51:54.227Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:54.227Z] main: digest: sha256:a620297f090b363b52971cb69ba17e2c5402c76d1b5cdab0f968051c5a982fd9 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T05:51:54.268Z] ===================================================== [Pipeline] echo [2022-05-11T05:51:54.279Z] taggedImages: [2022-05-11T05:51:54.279Z] - nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T05:51:54.279Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-11T05:51:54.279Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.20 [2022-05-11T05:51:54.279Z] - nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 [2022-05-11T05:51:54.279Z] - 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-11T05:51:54.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:51:54.660Z] [2022-05-11T05:51:54.660Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:54.960Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:51:54.960Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T05:51:54.960Z] 5eb5b503b376: Pulling fs layer [2022-05-11T05:51:54.960Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T05:51:54.960Z] ec43610c2a17: Pulling fs layer [2022-05-11T05:51:54.960Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T05:51:54.960Z] 33b1e0a273af: Pulling fs layer [2022-05-11T05:51:54.960Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T05:51:54.960Z] 2f39f015ded8: Pulling fs layer [2022-05-11T05:51:54.960Z] 3a2ae6a8a46f: Waiting [2022-05-11T05:51:54.960Z] 33b1e0a273af: Waiting [2022-05-11T05:51:54.960Z] 5d3b04190fa2: Waiting [2022-05-11T05:51:54.960Z] 2f39f015ded8: Waiting [2022-05-11T05:51:54.960Z] 5c69ac0246d0: Verifying Checksum [2022-05-11T05:51:54.960Z] 5c69ac0246d0: Download complete [2022-05-11T05:51:54.960Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-11T05:51:54.960Z] 3a2ae6a8a46f: Download complete [2022-05-11T05:51:55.221Z] 33b1e0a273af: Verifying Checksum [2022-05-11T05:51:55.221Z] 33b1e0a273af: Download complete [2022-05-11T05:51:55.221Z] 5d3b04190fa2: Verifying Checksum [2022-05-11T05:51:55.222Z] 5d3b04190fa2: Download complete [2022-05-11T05:51:55.222Z] ec43610c2a17: Verifying Checksum [2022-05-11T05:51:55.222Z] ec43610c2a17: Download complete [2022-05-11T05:51:55.222Z] 5eb5b503b376: Verifying Checksum [2022-05-11T05:51:55.222Z] 5eb5b503b376: Download complete [2022-05-11T05:51:56.159Z] 2f39f015ded8: Download complete [2022-05-11T05:51:56.726Z] 5eb5b503b376: Pull complete [2022-05-11T05:51:56.726Z] 5c69ac0246d0: Pull complete [2022-05-11T05:51:57.293Z] ec43610c2a17: Pull complete [2022-05-11T05:51:57.293Z] 3a2ae6a8a46f: Pull complete [2022-05-11T05:51:57.571Z] 33b1e0a273af: Pull complete [2022-05-11T05:51:57.571Z] 5d3b04190fa2: Pull complete [2022-05-11T05:52:02.854Z] 2f39f015ded8: Pull complete [2022-05-11T05:52:02.854Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T05:52:02.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:52:02.854Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T05:52:02.921Z] prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container [2022-05-11T05:52:02.964Z] $ 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-11T05:52:04.737Z] $ docker top 2d47e5defcfaa8f4454221b576ff8f274d5242ed02c0d3fdcc38c494216da930 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:52:05.117Z] ---> job-cost.sh [2022-05-11T05:52:05.117Z] lf-activate-venv: SKIPPING [2022-05-11T05:52:05.117Z] INFO: No Stack... [2022-05-11T05:52:05.378Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T05:52:05.951Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T05:52:06.249Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-05-11T05:52:06.250Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T05:52:06.266Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] [2022-05-11T05:52:06.275Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] did not exist. Created. [2022-05-11T05:52:06.275Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T05:52:06.581Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T05:52:06.609Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T05:52:06.616Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T05:52:06.635Z] $ docker stop --time=1 2d47e5defcfaa8f4454221b576ff8f274d5242ed02c0d3fdcc38c494216da930 [2022-05-11T05:52:07.822Z] $ docker rm -f 2d47e5defcfaa8f4454221b576ff8f274d5242ed02c0d3fdcc38c494216da930 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T05:54:57.295Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63067 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-05-11T05:54:57.313Z] Running in /w/workspace/device-modbus-go/38 [Pipeline] { [Pipeline] checkout [2022-05-11T05:54:57.697Z] Selected Git installation does not exist. Using Default [2022-05-11T05:54:57.697Z] The recommended git tool is: NONE [2022-05-11T05:55:03.890Z] using credential edgex-jenkins-ssh [2022-05-11T05:55:03.912Z] Cloning the remote Git repository [2022-05-11T05:55:04.066Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-11T05:55:04.291Z] > git init /w/workspace/device-modbus-go/38 # timeout=10 [2022-05-11T05:55:04.367Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-11T05:55:04.368Z] > git --version # timeout=10 [2022-05-11T05:55:04.393Z] > git --version # 'git version 2.25.1' [2022-05-11T05:55:04.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T05:55:04.506Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T05:55:05.679Z] Avoid second fetch [2022-05-11T05:55:05.679Z] Checking out Revision 0da803b9e852e60e6d0c38932136853af8aaf1e9 (main) [2022-05-11T05:55:05.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-11T05:55:05.658Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T05:55:05.701Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T05:55:05.716Z] > git checkout -f 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 [2022-05-11T05:55:10.023Z] Commit message: "Merge pull request #346 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:55:10.891Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T05:55:10.891Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T05:55:10.891Z] Dload Upload Total Spent Left Speed [2022-05-11T05:55:10.891Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-05-11T05:55:11.485Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T05:55:11.844Z] + sudo tee /etc/docker/daemon.new [2022-05-11T05:55:11.844Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T05:55:11.844Z] { [2022-05-11T05:55:11.844Z] "registry-mirrors": [ [2022-05-11T05:55:11.844Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T05:55:11.844Z] ], [2022-05-11T05:55:11.844Z] "bip": "10.250.0.254/24", [2022-05-11T05:55:11.844Z] "hosts": [ [2022-05-11T05:55:11.844Z] "tcp://0.0.0.0:5555", [2022-05-11T05:55:11.844Z] "unix:///var/run/docker.sock" [2022-05-11T05:55:11.844Z] ], [2022-05-11T05:55:11.844Z] "mtu": 1458, [2022-05-11T05:55:11.844Z] "selinux-enabled": true, [2022-05-11T05:55:11.844Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T05:55:11.844Z] } [Pipeline] sh [2022-05-11T05:55:12.212Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T05:55:12.565Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:55:31.009Z] provisioning config files... [2022-05-11T05:55:31.039Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/38@tmp/config3920316974358254502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:55:31.417Z] ---> docker-login.sh [2022-05-11T05:55:31.418Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:55:32.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:55:32.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:55:32.305Z] Configure a credential helper to remove this warning. See [2022-05-11T05:55:32.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:55:32.305Z] [2022-05-11T05:55:32.305Z] Login Succeeded [2022-05-11T05:55:32.305Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:55:32.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:55:32.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:55:32.901Z] Configure a credential helper to remove this warning. See [2022-05-11T05:55:32.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:55:32.901Z] [2022-05-11T05:55:32.901Z] Login Succeeded [2022-05-11T05:55:32.901Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:55:33.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:55:33.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:55:33.452Z] Configure a credential helper to remove this warning. See [2022-05-11T05:55:33.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:55:33.452Z] [2022-05-11T05:55:33.452Z] Login Succeeded [2022-05-11T05:55:33.452Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:55:33.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:55:34.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:55:34.010Z] Configure a credential helper to remove this warning. See [2022-05-11T05:55:34.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:55:34.010Z] [2022-05-11T05:55:34.010Z] Login Succeeded [2022-05-11T05:55:34.010Z] docker.io [2022-05-11T05:55:34.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:55:34.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:55:34.880Z] Configure a credential helper to remove this warning. See [2022-05-11T05:55:34.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:55:34.880Z] [2022-05-11T05:55:34.880Z] Login Succeeded [2022-05-11T05:55:34.880Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:55:34.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T05:55:35.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:55:35.426Z] ========================================================= [2022-05-11T05:55:35.426Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T05:55:35.426Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:55:35.776Z] + 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-11T05:55:36.049Z] Sending build context to Docker daemon 3.073MB [2022-05-11T05:55:36.049Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:55:36.049Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-11T05:55:36.324Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T05:55:36.324Z] 9b3977197b4f: Pulling fs layer [2022-05-11T05:55:36.324Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T05:55:36.324Z] 94645a83ff95: Pulling fs layer [2022-05-11T05:55:36.324Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T05:55:36.324Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T05:55:36.324Z] 3096ccb668a1: Pulling fs layer [2022-05-11T05:55:36.324Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T05:55:36.324Z] a4caa8a26152: Pulling fs layer [2022-05-11T05:55:36.324Z] 0c92f367c5e7: Waiting [2022-05-11T05:55:36.324Z] 3096ccb668a1: Waiting [2022-05-11T05:55:36.324Z] e8cf19c19ddd: Waiting [2022-05-11T05:55:36.324Z] a4caa8a26152: Waiting [2022-05-11T05:55:36.324Z] 3f3a8bcf1eab: Waiting [2022-05-11T05:55:36.324Z] 94645a83ff95: Download complete [2022-05-11T05:55:36.324Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T05:55:36.324Z] 1a89e8eeedd5: Download complete [2022-05-11T05:55:36.324Z] 0c92f367c5e7: Verifying Checksum [2022-05-11T05:55:36.324Z] 0c92f367c5e7: Download complete [2022-05-11T05:55:36.324Z] 3096ccb668a1: Verifying Checksum [2022-05-11T05:55:36.324Z] 3096ccb668a1: Download complete [2022-05-11T05:55:36.324Z] 9b3977197b4f: Verifying Checksum [2022-05-11T05:55:36.324Z] 9b3977197b4f: Download complete [2022-05-11T05:55:36.324Z] e8cf19c19ddd: Verifying Checksum [2022-05-11T05:55:36.324Z] e8cf19c19ddd: Download complete [2022-05-11T05:55:37.326Z] 9b3977197b4f: Pull complete [2022-05-11T05:55:37.603Z] 1a89e8eeedd5: Pull complete [2022-05-11T05:55:38.208Z] 94645a83ff95: Pull complete [2022-05-11T05:55:38.482Z] a4caa8a26152: Download complete [2022-05-11T05:55:39.079Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T05:55:39.079Z] 3f3a8bcf1eab: Download complete [2022-05-11T05:55:51.485Z] 3f3a8bcf1eab: Pull complete [2022-05-11T05:55:51.485Z] 0c92f367c5e7: Pull complete [2022-05-11T05:55:51.485Z] 3096ccb668a1: Pull complete [2022-05-11T05:55:51.485Z] e8cf19c19ddd: Pull complete [2022-05-11T05:55:58.201Z] a4caa8a26152: Pull complete [2022-05-11T05:55:58.201Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T05:55:58.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T05:55:58.201Z] ---> 725f1c02e7f9 [2022-05-11T05:55:58.201Z] Step 3/10 : ARG MAKE='make build' [2022-05-11T05:55:58.201Z] ---> Running in 824b915f1e51 [2022-05-11T05:55:58.201Z] Removing intermediate container 824b915f1e51 [2022-05-11T05:55:58.201Z] ---> 7d9cf2efd591 [2022-05-11T05:55:58.201Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:55:58.483Z] ---> Running in 2f6001358b7e [2022-05-11T05:56:00.483Z] Removing intermediate container 2f6001358b7e [2022-05-11T05:56:00.483Z] ---> 6167e321744a [2022-05-11T05:56:00.483Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T05:56:00.483Z] ---> Running in e963a99ee63e [2022-05-11T05:56:03.123Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:56:03.723Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:56:05.169Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T05:56:05.169Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-11T05:56:05.169Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T05:56:05.169Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T05:56:05.443Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-11T05:56:05.443Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-11T05:56:05.443Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-11T05:56:05.719Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-11T05:56:05.719Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T05:56:05.719Z] OK: 226 MiB in 60 packages [2022-05-11T05:56:06.718Z] Removing intermediate container e963a99ee63e [2022-05-11T05:56:06.718Z] ---> 8dab4b8c47c8 [2022-05-11T05:56:06.718Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-11T05:56:06.992Z] ---> Running in 1bf1c6b98a2d [2022-05-11T05:56:07.265Z] Removing intermediate container 1bf1c6b98a2d [2022-05-11T05:56:07.265Z] ---> 4b4d3807df13 [2022-05-11T05:56:07.265Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-11T05:56:07.865Z] ---> 1e3e23e7c7b9 [2022-05-11T05:56:07.865Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:56:07.865Z] ---> Running in 9773a5acc032 [2022-05-11T05:57:04.479Z] Removing intermediate container 9773a5acc032 [2022-05-11T05:57:04.479Z] ---> ae3b160e71ec [2022-05-11T05:57:04.479Z] Step 9/10 : COPY . . [2022-05-11T05:57:04.479Z] ---> 0736ddbcc781 [2022-05-11T05:57:04.479Z] Step 10/10 : RUN ${MAKE} [2022-05-11T05:57:04.479Z] ---> Running in 96b0924b5357 [2022-05-11T05:57:04.479Z] noop [2022-05-11T05:57:04.479Z] Removing intermediate container 96b0924b5357 [2022-05-11T05:57:04.479Z] ---> 8dd27aeb4413 [2022-05-11T05:57:04.479Z] Successfully built 8dd27aeb4413 [2022-05-11T05:57:04.479Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:57:04.834Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T05:57:04.835Z] . [Pipeline] withDockerContainer [2022-05-11T05:57:05.099Z] prd-ubuntu20.04-docker-arm64-4c-16g-63067 does not seem to be running inside a container [2022-05-11T05:57:05.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/38 -v /w/workspace/device-modbus-go/38:/w/workspace/device-modbus-go/38:rw,z -v /w/workspace/device-modbus-go/38@tmp:/w/workspace/device-modbus-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-11T05:57:06.645Z] $ docker top 33f56779b0372e6b37a40c33dec6105246a0e6bb349cfcb837ec7eabb5d4f830 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:57:07.636Z] + go version [2022-05-11T05:57:07.636Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T05:57:07.666Z] $ docker stop --time=1 33f56779b0372e6b37a40c33dec6105246a0e6bb349cfcb837ec7eabb5d4f830 [2022-05-11T05:57:09.387Z] $ docker rm -f 33f56779b0372e6b37a40c33dec6105246a0e6bb349cfcb837ec7eabb5d4f830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:57:10.030Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T05:57:10.030Z] . [Pipeline] withDockerContainer [2022-05-11T05:57:10.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-63067 does not seem to be running inside a container [2022-05-11T05:57:10.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/38 -v /w/workspace/device-modbus-go/38:/w/workspace/device-modbus-go/38:rw,z -v /w/workspace/device-modbus-go/38@tmp:/w/workspace/device-modbus-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-11T05:57:11.872Z] $ docker top 7770f2ca8aba8e17e7f66e0c7796643b44b8681547f353dc0e69ea7023132a49 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T05:57:12.868Z] + make test [2022-05-11T05:57:12.868Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-11T05:57:14.883Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-11T05:58:51.814Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-11T05:58:51.814Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 46.4% of statements [2022-05-11T05:58:51.814Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T05:58:51.815Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T05:59:18.637Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T05:59:18.637Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T05:59:18.916Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T05:59:22.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T05:59:22.349Z] $ docker stop --time=1 7770f2ca8aba8e17e7f66e0c7796643b44b8681547f353dc0e69ea7023132a49 [2022-05-11T05:59:24.142Z] $ docker rm -f 7770f2ca8aba8e17e7f66e0c7796643b44b8681547f353dc0e69ea7023132a49 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:59:25.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T05:59:25.240Z] Warning: overwriting stash ‘coverage-report’ [2022-05-11T05:59:25.840Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:59:26.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T05:59:26.602Z] + ls -al . [2022-05-11T05:59:26.602Z] total 180 [2022-05-11T05:59:26.602Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 05:59 . [2022-05-11T05:59:26.602Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:55 .. [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 05:55 .dockerignore [2022-05-11T05:59:26.602Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:55 .git [2022-05-11T05:59:26.602Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:55 .github [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 331 May 11 05:55 .gitignore [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:55 .golangci.yml [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 11 05:55 Attribution.txt [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 11 05:55 CHANGELOG.md [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 11 05:55 Dockerfile [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:55 GOVERNANCE.md [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 05:55 Jenkinsfile [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:55 LICENSE [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 11 05:55 Makefile [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 622 May 11 05:55 OWNERS.md [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 11 05:55 README.md [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:50 VERSION [2022-05-11T05:59:26.602Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:55 bin [2022-05-11T05:59:26.602Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:55 cmd [2022-05-11T05:59:26.602Z] -rw-r--r-- 1 jenkins jenkins 24065 May 11 05:58 coverage.out [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 3353 May 11 05:55 go.mod [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 34983 May 11 05:55 go.sum [2022-05-11T05:59:26.602Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:55 internal [2022-05-11T05:59:26.602Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:55 simulator [2022-05-11T05:59:26.602Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:55 snap [2022-05-11T05:59:26.602Z] -rw-rw-r-- 1 jenkins jenkins 229 May 11 05:55 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:26.961Z] + 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=0da803b9e852e60e6d0c38932136853af8aaf1e9 --label arch=arm64 --label version=2.2.0-dev.20 . [2022-05-11T05:59:27.236Z] Sending build context to Docker daemon 3.098MB [2022-05-11T05:59:27.511Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:59:27.511Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-11T05:59:27.511Z] ---> 8dd27aeb4413 [2022-05-11T05:59:27.511Z] Step 3/23 : ARG MAKE='make build' [2022-05-11T05:59:27.511Z] ---> Running in ee5718abd779 [2022-05-11T05:59:27.789Z] Removing intermediate container ee5718abd779 [2022-05-11T05:59:27.789Z] ---> 86ead6c100dc [2022-05-11T05:59:27.789Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:59:28.073Z] ---> Running in 335969ab5f7d [2022-05-11T05:59:30.071Z] Removing intermediate container 335969ab5f7d [2022-05-11T05:59:30.071Z] ---> dd67c0b60614 [2022-05-11T05:59:30.071Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T05:59:30.071Z] ---> Running in 83c793c8a7dd [2022-05-11T05:59:31.062Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:59:32.050Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:59:33.034Z] OK: 226 MiB in 60 packages [2022-05-11T05:59:33.641Z] Removing intermediate container 83c793c8a7dd [2022-05-11T05:59:33.641Z] ---> bf52460c40c5 [2022-05-11T05:59:33.641Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-11T05:59:33.918Z] ---> Running in bfc81e31306e [2022-05-11T05:59:34.267Z] Removing intermediate container bfc81e31306e [2022-05-11T05:59:34.267Z] ---> dfdd06f1068d [2022-05-11T05:59:34.267Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-11T05:59:34.814Z] ---> 327b4d677018 [2022-05-11T05:59:34.814Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:59:35.140Z] ---> Running in a0b64bc28b72 [2022-05-11T05:59:37.161Z] Removing intermediate container a0b64bc28b72 [2022-05-11T05:59:37.161Z] ---> 3bcb5622f38e [2022-05-11T05:59:37.161Z] Step 9/23 : COPY . . [2022-05-11T05:59:38.144Z] ---> 49f3d245a525 [2022-05-11T05:59:38.144Z] Step 10/23 : RUN ${MAKE} [2022-05-11T05:59:38.418Z] ---> Running in 03e24dda3871 [2022-05-11T05:59:39.404Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-11T06:02:01.319Z] Removing intermediate container 03e24dda3871 [2022-05-11T06:02:01.319Z] ---> d97fc8d3c364 [2022-05-11T06:02:01.319Z] Step 11/23 : FROM alpine:3.14 [2022-05-11T06:02:01.319Z] 3.14: Pulling from library/alpine [2022-05-11T06:02:01.319Z] 455c02918c45: Pulling fs layer [2022-05-11T06:02:01.319Z] 455c02918c45: Verifying Checksum [2022-05-11T06:02:01.319Z] 455c02918c45: Download complete [2022-05-11T06:02:01.319Z] 455c02918c45: Pull complete [2022-05-11T06:02:01.319Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T06:02:01.319Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T06:02:01.319Z] ---> ac73e934f311 [2022-05-11T06:02:01.319Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-11T06:02:01.319Z] ---> Running in 8093b68060e9 [2022-05-11T06:02:01.319Z] Removing intermediate container 8093b68060e9 [2022-05-11T06:02:01.319Z] ---> 71c2fc687707 [2022-05-11T06:02:01.319Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T06:02:01.319Z] ---> Running in ffe98e15edf1 [2022-05-11T06:02:01.319Z] Removing intermediate container ffe98e15edf1 [2022-05-11T06:02:01.319Z] ---> 5730b1359278 [2022-05-11T06:02:01.319Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T06:02:01.319Z] ---> Running in 1b0a5ad9e407 [2022-05-11T06:02:01.319Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-11T06:02:01.319Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-11T06:02:01.319Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T06:02:01.319Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T06:02:01.319Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T06:02:01.319Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T06:02:01.319Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T06:02:01.319Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T06:02:01.319Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T06:02:01.319Z] OK: 8 MiB in 20 packages [2022-05-11T06:02:01.319Z] Removing intermediate container 1b0a5ad9e407 [2022-05-11T06:02:01.319Z] ---> a479bb4585da [2022-05-11T06:02:01.319Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-11T06:02:01.319Z] ---> 366cff993d70 [2022-05-11T06:02:01.319Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-11T06:02:01.319Z] ---> 1746c3b8499a [2022-05-11T06:02:01.319Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-11T06:02:01.319Z] ---> b17950bff72a [2022-05-11T06:02:01.319Z] Step 18/23 : EXPOSE 59901 [2022-05-11T06:02:01.319Z] ---> Running in 3a88aa6f09fd [2022-05-11T06:02:01.319Z] Removing intermediate container 3a88aa6f09fd [2022-05-11T06:02:01.319Z] ---> 069786f052e7 [2022-05-11T06:02:01.319Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-11T06:02:01.319Z] ---> Running in 0ffdd5ad0528 [2022-05-11T06:02:01.591Z] Removing intermediate container 0ffdd5ad0528 [2022-05-11T06:02:01.591Z] ---> 51f8e77892ea [2022-05-11T06:02:01.591Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T06:02:01.591Z] ---> Running in 475ec162323b [2022-05-11T06:02:01.868Z] Removing intermediate container 475ec162323b [2022-05-11T06:02:01.868Z] ---> 96b54c1ff65e [2022-05-11T06:02:01.868Z] Step 21/23 : LABEL arch=arm64 [2022-05-11T06:02:02.140Z] ---> Running in 0fb5e826ee71 [2022-05-11T06:02:02.412Z] Removing intermediate container 0fb5e826ee71 [2022-05-11T06:02:02.412Z] ---> ed6edd08492a [2022-05-11T06:02:02.412Z] Step 22/23 : LABEL git_sha=0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T06:02:02.412Z] ---> Running in 666a379926da [2022-05-11T06:02:02.689Z] Removing intermediate container 666a379926da [2022-05-11T06:02:02.689Z] ---> cae415a74ad4 [2022-05-11T06:02:02.689Z] Step 23/23 : LABEL version=2.2.0-dev.20 [2022-05-11T06:02:02.689Z] ---> Running in 8322a4e2a170 [2022-05-11T06:02:03.287Z] Removing intermediate container 8322a4e2a170 [2022-05-11T06:02:03.287Z] ---> ba950226e3c6 [2022-05-11T06:02:03.287Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T06:02:03.287Z] Successfully built ba950226e3c6 [2022-05-11T06:02:03.287Z] 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-11T06:02:03.389Z] provisioning config files... [2022-05-11T06:02:03.408Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/38@tmp/config1228290771688030580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:03.761Z] ---> docker-login.sh [2022-05-11T06:02:03.762Z] nexus3.edgexfoundry.org:10001 [2022-05-11T06:02:04.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:02:04.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:02:04.035Z] Configure a credential helper to remove this warning. See [2022-05-11T06:02:04.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:02:04.035Z] [2022-05-11T06:02:04.035Z] Login Succeeded [2022-05-11T06:02:04.035Z] nexus3.edgexfoundry.org:10002 [2022-05-11T06:02:04.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:02:04.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:02:04.637Z] Configure a credential helper to remove this warning. See [2022-05-11T06:02:04.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:02:04.637Z] [2022-05-11T06:02:04.637Z] Login Succeeded [2022-05-11T06:02:04.637Z] nexus3.edgexfoundry.org:10003 [2022-05-11T06:02:04.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:02:05.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:02:05.181Z] Configure a credential helper to remove this warning. See [2022-05-11T06:02:05.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:02:05.181Z] [2022-05-11T06:02:05.181Z] Login Succeeded [2022-05-11T06:02:05.181Z] nexus3.edgexfoundry.org:10004 [2022-05-11T06:02:05.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:02:05.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:02:05.454Z] Configure a credential helper to remove this warning. See [2022-05-11T06:02:05.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:02:05.454Z] [2022-05-11T06:02:05.454Z] Login Succeeded [2022-05-11T06:02:05.454Z] docker.io [2022-05-11T06:02:06.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:02:06.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:02:06.324Z] Configure a credential helper to remove this warning. See [2022-05-11T06:02:06.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:02:06.324Z] [2022-05-11T06:02:06.324Z] Login Succeeded [2022-05-11T06:02:06.324Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T06:02:06.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T06:02:06.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T06:02:06.439Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-05-11T06:02:06.439Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T06:02:06.439Z] latest [2022-05-11T06:02:06.439Z] 2.2.0-dev.20 [2022-05-11T06:02:06.439Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 [2022-05-11T06:02:06.439Z] main [2022-05-11T06:02:06.439Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:06.800Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:07.144Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T06:02:07.144Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-11T06:02:07.144Z] 40aad02b4991: Preparing [2022-05-11T06:02:07.144Z] 5721dcaa07ea: Preparing [2022-05-11T06:02:07.144Z] 2a2d88d3f974: Preparing [2022-05-11T06:02:07.144Z] 922c686eec35: Preparing [2022-05-11T06:02:07.144Z] 7bc42f6f527f: Preparing [2022-05-11T06:02:07.144Z] f73e7dbfee58: Preparing [2022-05-11T06:02:07.419Z] 7bc42f6f527f: Pushed [2022-05-11T06:02:07.419Z] 40aad02b4991: Pushed [2022-05-11T06:02:07.419Z] f73e7dbfee58: Layer already exists [2022-05-11T06:02:07.419Z] 5721dcaa07ea: Pushed [2022-05-11T06:02:08.022Z] 922c686eec35: Pushed [2022-05-11T06:02:13.421Z] 2a2d88d3f974: Pushed [2022-05-11T06:02:13.421Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9: digest: sha256:32d37953e7652344c21723dbafe04c049716b3ad8bfbf2489598898928471b79 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:13.776Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:14.119Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-11T06:02:14.119Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-11T06:02:14.119Z] 40aad02b4991: Preparing [2022-05-11T06:02:14.119Z] 5721dcaa07ea: Preparing [2022-05-11T06:02:14.119Z] 2a2d88d3f974: Preparing [2022-05-11T06:02:14.119Z] 922c686eec35: Preparing [2022-05-11T06:02:14.119Z] 7bc42f6f527f: Preparing [2022-05-11T06:02:14.119Z] f73e7dbfee58: Preparing [2022-05-11T06:02:14.119Z] f73e7dbfee58: Waiting [2022-05-11T06:02:14.119Z] 2a2d88d3f974: Layer already exists [2022-05-11T06:02:14.119Z] 922c686eec35: Layer already exists [2022-05-11T06:02:14.119Z] 5721dcaa07ea: Layer already exists [2022-05-11T06:02:14.119Z] 7bc42f6f527f: Layer already exists [2022-05-11T06:02:14.119Z] 40aad02b4991: Layer already exists [2022-05-11T06:02:14.119Z] f73e7dbfee58: Layer already exists [2022-05-11T06:02:14.392Z] latest: digest: sha256:32d37953e7652344c21723dbafe04c049716b3ad8bfbf2489598898928471b79 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:14.743Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:15.087Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.20 [2022-05-11T06:02:15.087Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-11T06:02:15.087Z] 40aad02b4991: Preparing [2022-05-11T06:02:15.087Z] 5721dcaa07ea: Preparing [2022-05-11T06:02:15.087Z] 2a2d88d3f974: Preparing [2022-05-11T06:02:15.087Z] 922c686eec35: Preparing [2022-05-11T06:02:15.087Z] 7bc42f6f527f: Preparing [2022-05-11T06:02:15.087Z] f73e7dbfee58: Preparing [2022-05-11T06:02:15.087Z] f73e7dbfee58: Waiting [2022-05-11T06:02:15.087Z] 922c686eec35: Layer already exists [2022-05-11T06:02:15.087Z] 5721dcaa07ea: Layer already exists [2022-05-11T06:02:15.087Z] 40aad02b4991: Layer already exists [2022-05-11T06:02:15.087Z] 7bc42f6f527f: Layer already exists [2022-05-11T06:02:15.087Z] 2a2d88d3f974: Layer already exists [2022-05-11T06:02:15.360Z] f73e7dbfee58: Layer already exists [2022-05-11T06:02:15.360Z] 2.2.0-dev.20: digest: sha256:32d37953e7652344c21723dbafe04c049716b3ad8bfbf2489598898928471b79 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:15.707Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:16.059Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 [2022-05-11T06:02:16.059Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-11T06:02:16.059Z] 40aad02b4991: Preparing [2022-05-11T06:02:16.059Z] 5721dcaa07ea: Preparing [2022-05-11T06:02:16.059Z] 2a2d88d3f974: Preparing [2022-05-11T06:02:16.059Z] 922c686eec35: Preparing [2022-05-11T06:02:16.059Z] 7bc42f6f527f: Preparing [2022-05-11T06:02:16.059Z] f73e7dbfee58: Preparing [2022-05-11T06:02:16.059Z] f73e7dbfee58: Waiting [2022-05-11T06:02:16.059Z] 7bc42f6f527f: Layer already exists [2022-05-11T06:02:16.059Z] 5721dcaa07ea: Layer already exists [2022-05-11T06:02:16.059Z] 40aad02b4991: Layer already exists [2022-05-11T06:02:16.059Z] 2a2d88d3f974: Layer already exists [2022-05-11T06:02:16.059Z] 922c686eec35: Layer already exists [2022-05-11T06:02:16.059Z] f73e7dbfee58: Layer already exists [2022-05-11T06:02:16.332Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20: digest: sha256:32d37953e7652344c21723dbafe04c049716b3ad8bfbf2489598898928471b79 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:16.684Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:17.025Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-05-11T06:02:17.025Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-11T06:02:17.025Z] 40aad02b4991: Preparing [2022-05-11T06:02:17.025Z] 5721dcaa07ea: Preparing [2022-05-11T06:02:17.025Z] 2a2d88d3f974: Preparing [2022-05-11T06:02:17.025Z] 922c686eec35: Preparing [2022-05-11T06:02:17.025Z] 7bc42f6f527f: Preparing [2022-05-11T06:02:17.025Z] f73e7dbfee58: Preparing [2022-05-11T06:02:17.025Z] f73e7dbfee58: Waiting [2022-05-11T06:02:17.025Z] 5721dcaa07ea: Layer already exists [2022-05-11T06:02:17.025Z] 7bc42f6f527f: Layer already exists [2022-05-11T06:02:17.025Z] 2a2d88d3f974: Layer already exists [2022-05-11T06:02:17.025Z] 40aad02b4991: Layer already exists [2022-05-11T06:02:17.025Z] 922c686eec35: Layer already exists [2022-05-11T06:02:17.025Z] f73e7dbfee58: Layer already exists [2022-05-11T06:02:17.298Z] main: digest: sha256:32d37953e7652344c21723dbafe04c049716b3ad8bfbf2489598898928471b79 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T06:02:17.342Z] ===================================================== [Pipeline] echo [2022-05-11T06:02:17.353Z] taggedImages: [2022-05-11T06:02:17.353Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T06:02:17.353Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-11T06:02:17.353Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.20 [2022-05-11T06:02:17.353Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 [2022-05-11T06:02:17.353Z] - 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-11T06:02:17.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T06:02:17.744Z] [2022-05-11T06:02:17.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:18.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T06:02:18.371Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T06:02:18.371Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T06:02:18.371Z] 04944245beec: Pulling fs layer [2022-05-11T06:02:18.371Z] 699f458cf7ca: Pulling fs layer [2022-05-11T06:02:18.371Z] 765212b225bb: Pulling fs layer [2022-05-11T06:02:18.371Z] f23df028b6ca: Pulling fs layer [2022-05-11T06:02:18.371Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T06:02:18.371Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T06:02:18.371Z] 765212b225bb: Waiting [2022-05-11T06:02:18.371Z] f23df028b6ca: Waiting [2022-05-11T06:02:18.371Z] d65c8cfc05b1: Waiting [2022-05-11T06:02:18.371Z] 2437ff75d9bd: Waiting [2022-05-11T06:02:18.371Z] 04944245beec: Download complete [2022-05-11T06:02:18.371Z] 765212b225bb: Download complete [2022-05-11T06:02:18.371Z] f23df028b6ca: Verifying Checksum [2022-05-11T06:02:18.371Z] f23df028b6ca: Download complete [2022-05-11T06:02:18.371Z] d65c8cfc05b1: Verifying Checksum [2022-05-11T06:02:18.371Z] d65c8cfc05b1: Download complete [2022-05-11T06:02:18.648Z] 699f458cf7ca: Verifying Checksum [2022-05-11T06:02:18.648Z] 699f458cf7ca: Download complete [2022-05-11T06:02:18.924Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T06:02:18.925Z] 8998bd30e6a1: Download complete [2022-05-11T06:02:21.581Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T06:02:21.581Z] 2437ff75d9bd: Download complete [2022-05-11T06:02:23.572Z] 8998bd30e6a1: Pull complete [2022-05-11T06:02:24.174Z] 04944245beec: Pull complete [2022-05-11T06:02:25.616Z] 699f458cf7ca: Pull complete [2022-05-11T06:02:25.890Z] 765212b225bb: Pull complete [2022-05-11T06:02:26.874Z] f23df028b6ca: Pull complete [2022-05-11T06:02:27.146Z] d65c8cfc05b1: Pull complete [2022-05-11T06:02:45.573Z] 2437ff75d9bd: Pull complete [2022-05-11T06:02:45.573Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T06:02:45.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T06:02:45.573Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T06:02:45.822Z] prd-ubuntu20.04-docker-arm64-4c-16g-63067 does not seem to be running inside a container [2022-05-11T06:02:45.904Z] $ 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/38 -v /w/workspace/device-modbus-go/38:/w/workspace/device-modbus-go/38:rw,z -v /w/workspace/device-modbus-go/38@tmp:/w/workspace/device-modbus-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-11T06:02:48.573Z] $ docker top 1f0a4acbb2d931b1054e8a7903b2b602d3cd28a387210e0fdb56ff07ec165ab0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:49.504Z] ---> job-cost.sh [2022-05-11T06:02:49.504Z] lf-activate-venv: SKIPPING [2022-05-11T06:02:49.504Z] INFO: No Stack... [2022-05-11T06:02:49.778Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T06:02:50.760Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T06:02:51.429Z] + cat /w/workspace/device-modbus-go/38/archives/cost.csv [2022-05-11T06:02:51.429Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T06:02:51.495Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] [2022-05-11T06:02:51.501Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] did not exist. Created. [2022-05-11T06:02:51.501Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T06:02:52.177Z] /w/workspace/device-modbus-go/38@tmp/durable-ce5daf6e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T06:02:52.865Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T06:02:52.892Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T06:02:52.939Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T06:02:52.945Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T06:02:52.962Z] $ docker stop --time=1 1f0a4acbb2d931b1054e8a7903b2b602d3cd28a387210e0fdb56ff07ec165ab0 [2022-05-11T06:02:54.497Z] $ docker rm -f 1f0a4acbb2d931b1054e8a7903b2b602d3cd28a387210e0fdb56ff07ec165ab0 [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-11T06:02:54.919Z] provisioning config files... [2022-05-11T06:02:54.929Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5563825137993683487tmp [Pipeline] { [Pipeline] sh [2022-05-11T06:02:55.229Z] + set +x [2022-05-11T06:02:55.229Z] + curl -s https://codecov.io/bash [2022-05-11T06:02:55.229Z] + bash -s -- [2022-05-11T06:02:55.229Z] [2022-05-11T06:02:55.229Z] _____ _ [2022-05-11T06:02:55.229Z] / ____| | | [2022-05-11T06:02:55.229Z] | | ___ __| | ___ ___ _____ __ [2022-05-11T06:02:55.229Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-11T06:02:55.229Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-11T06:02:55.229Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-11T06:02:55.229Z] Bash-1.0.6 [2022-05-11T06:02:55.229Z] [2022-05-11T06:02:55.229Z] [2022-05-11T06:02:55.229Z] ==> git version 2.25.1 found [2022-05-11T06:02:55.229Z] ==> 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-11T06:02:55.229Z] Release-Date: 2020-01-08 [2022-05-11T06:02:55.229Z] 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-11T06:02:55.229Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-11T06:02:55.229Z] ==> Jenkins CI detected. [2022-05-11T06:02:55.229Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-05-11T06:02:55.229Z] project root: . [2022-05-11T06:02:55.229Z] --> token set from env [2022-05-11T06:02:55.229Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-11T06:02:55.229Z] ==> Running gcov in . (disable via -X gcov) [2022-05-11T06:02:55.229Z] ==> Python coveragepy not found [2022-05-11T06:02:55.229Z] ==> Searching for coverage reports in: [2022-05-11T06:02:55.229Z] + . [2022-05-11T06:02:55.229Z] -> Found 1 reports [2022-05-11T06:02:55.229Z] ==> Detecting git/mercurial file structure [2022-05-11T06:02:55.229Z] ==> Reading reports [2022-05-11T06:02:55.229Z] + ./coverage.out bytes=24065 [2022-05-11T06:02:55.229Z] ==> Appending adjustments [2022-05-11T06:02:55.229Z] https://docs.codecov.io/docs/fixing-reports [2022-05-11T06:02:55.489Z] + Found adjustments [2022-05-11T06:02:55.489Z] ==> Gzipping contents [2022-05-11T06:02:55.489Z] 4.0K /tmp/codecov.yJO8RV.gz [2022-05-11T06:02:55.489Z] ==> Uploading reports [2022-05-11T06:02:55.489Z] url: https://codecov.io [2022-05-11T06:02:55.489Z] query: branch=main&commit=0da803b9e852e60e6d0c38932136853af8aaf1e9&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T06:02:55.489Z] -> Pinging Codecov [2022-05-11T06:02:55.489Z] 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=0da803b9e852e60e6d0c38932136853af8aaf1e9&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T06:02:55.489Z] -> Uploading to [2022-05-11T06:02:55.489Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-11/55DBCA73C666E3227836607328DD7E49/0da803b9e852e60e6d0c38932136853af8aaf1e9/f7ffd265-d88a-4fee-9576-84fc30a07e42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T060255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48c3d181a96623d1e2cca1771a38f40d5de7cd9f63716c1649f6951a678b660d [2022-05-11T06:02:55.751Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T06:02:55.751Z] Dload Upload Total Spent Left Speed [2022-05-11T06:02:55.751Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4026 0 0 100 4026 0 19832 --:--:-- --:--:-- --:--:-- 19832 100 4026 0 0 100 4026 0 18638 --:--:-- --:--:-- --:--:-- 18552 [2022-05-11T06:02:55.751Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] } [2022-05-11T06:02:55.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-11T06:02:55.877Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-11T06:02:55.887Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:56.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:02:56.175Z] [2022-05-11T06:02:56.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:56.472Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:02:56.472Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-11T06:02:56.472Z] 188c0c94c7c5: Pulling fs layer [2022-05-11T06:02:56.472Z] 0ef7d3d256c8: Pulling fs layer [2022-05-11T06:02:56.472Z] de9db76c5a1d: Pulling fs layer [2022-05-11T06:02:56.472Z] 0eba1c9be4d2: Pulling fs layer [2022-05-11T06:02:56.472Z] 0d57e429df01: Pulling fs layer [2022-05-11T06:02:56.472Z] 4e4be7b47b0d: Pulling fs layer [2022-05-11T06:02:56.472Z] e1f770b5df2f: Pulling fs layer [2022-05-11T06:02:56.472Z] 85a0685a4137: Pulling fs layer [2022-05-11T06:02:56.472Z] 0d57e429df01: Waiting [2022-05-11T06:02:56.472Z] 4e4be7b47b0d: Waiting [2022-05-11T06:02:56.472Z] e1f770b5df2f: Waiting [2022-05-11T06:02:56.472Z] 85a0685a4137: Waiting [2022-05-11T06:02:56.472Z] de9db76c5a1d: Download complete [2022-05-11T06:02:56.472Z] 0ef7d3d256c8: Verifying Checksum [2022-05-11T06:02:56.472Z] 0ef7d3d256c8: Download complete [2022-05-11T06:02:56.472Z] 0d57e429df01: Verifying Checksum [2022-05-11T06:02:56.472Z] 0d57e429df01: Download complete [2022-05-11T06:02:56.472Z] 4e4be7b47b0d: Download complete [2022-05-11T06:02:56.472Z] 188c0c94c7c5: Verifying Checksum [2022-05-11T06:02:56.472Z] 188c0c94c7c5: Download complete [2022-05-11T06:02:56.732Z] 188c0c94c7c5: Pull complete [2022-05-11T06:02:56.732Z] e1f770b5df2f: Verifying Checksum [2022-05-11T06:02:56.732Z] e1f770b5df2f: Download complete [2022-05-11T06:02:56.732Z] 0ef7d3d256c8: Pull complete [2022-05-11T06:02:57.000Z] de9db76c5a1d: Pull complete [2022-05-11T06:02:57.260Z] 0eba1c9be4d2: Verifying Checksum [2022-05-11T06:02:57.260Z] 0eba1c9be4d2: Download complete [2022-05-11T06:02:57.518Z] 85a0685a4137: Verifying Checksum [2022-05-11T06:02:57.518Z] 85a0685a4137: Download complete [2022-05-11T06:03:00.804Z] 0eba1c9be4d2: Pull complete [2022-05-11T06:03:00.804Z] 0d57e429df01: Pull complete [2022-05-11T06:03:00.804Z] 4e4be7b47b0d: Pull complete [2022-05-11T06:03:01.373Z] e1f770b5df2f: Pull complete [2022-05-11T06:03:04.663Z] 85a0685a4137: Pull complete [2022-05-11T06:03:04.663Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-11T06:03:04.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:03:04.663Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-11T06:03:04.730Z] prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container [2022-05-11T06:03:04.774Z] $ 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-11T06:03:06.750Z] $ docker top 178689cc6a136110f21cb40683a08a5bfcb7b89f2162a1d2b61d6632bc642e68 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-11T06:03:06.820Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-11T06:03:07.101Z] + set -o pipefail [2022-05-11T06:03:07.101Z] + snyk monitor '--org=edgex-jenkins' [2022-05-11T06:03:13.674Z] [2022-05-11T06:03:13.674Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-05-11T06:03:13.674Z] [2022-05-11T06:03:13.674Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/65794382-0d07-40d6-9ad6-9f8f6055279b [2022-05-11T06:03:13.674Z] [2022-05-11T06:03:13.674Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-05-11T06:03:13.674Z] [2022-05-11T06:03:13.674Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-11T06:03:13.674Z] [2022-05-11T06:03:15.589Z] [Pipeline] } [2022-05-11T06:03:15.613Z] $ docker stop --time=1 178689cc6a136110f21cb40683a08a5bfcb7b89f2162a1d2b61d6632bc642e68 [2022-05-11T06:03:18.076Z] $ docker rm -f 178689cc6a136110f21cb40683a08a5bfcb7b89f2162a1d2b61d6632bc642e68 [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-11T06:03:18.869Z] + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] sh [2022-05-11T06:03:19.179Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:03:19.179Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:03:19.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:03:19.488Z] . [Pipeline] withDockerContainer [2022-05-11T06:03:19.556Z] prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container [2022-05-11T06:03:19.599Z] $ 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-11T06:03:20.075Z] $ docker top 866d1fd0e846c64a672251603f997b9c682e092c8d206717990d16ba8ffc8744 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:03:20.171Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:03:20.171Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:03:20.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:03:20.312Z] $ docker exec 866d1fd0e846c64a672251603f997b9c682e092c8d206717990d16ba8ffc8744 ssh-agent [2022-05-11T06:03:20.417Z] SSH_AUTH_SOCK=/tmp/ssh-qStiTbL8gJN5/agent.34 [2022-05-11T06:03:20.417Z] SSH_AGENT_PID=40 [2022-05-11T06:03:20.421Z] Running ssh-add (command line suppressed) [2022-05-11T06:03:20.536Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6704429524193384660.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6704429524193384660.key) [2022-05-11T06:03:20.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:03:20.833Z] + git semver tag [2022-05-11T06:03:21.092Z] 2022-05-11 06:03:21,058 [run_tag] DEBUG tag force:False [2022-05-11T06:03:21.092Z] 2022-05-11 06:03:21,059 [check_head_tag] DEBUG check head tag [2022-05-11T06:03:21.092Z] 2022-05-11 06:03:21,059 [execute] INFO git cat-file --batch-check [2022-05-11T06:03:21.092Z] 2022-05-11 06:03:21,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-11T06:03:21.092Z] 2022-05-11 06:03:21,063 [execute] INFO git cat-file --batch [2022-05-11T06:03:21.092Z] 2022-05-11 06:03:21,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-11T06:03:21.092Z] 2022-05-11 06:03:21,077 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T06:03:21.092Z] 2022-05-11 06:03:21,077 [execute] INFO git tag -a v2.2.0-dev.20 -m v2.2.0-dev.20 [2022-05-11T06:03:21.092Z] 2022-05-11 06:03:21,078 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.20', '-m', 'v2.2.0-dev.20'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-11T06:03:21.092Z] 2022-05-11 06:03:21,083 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T06:03:21.092Z] 2.2.0-dev.20 [Pipeline] } [2022-05-11T06:03:21.370Z] $ docker exec --env ******** --env ******** 866d1fd0e846c64a672251603f997b9c682e092c8d206717990d16ba8ffc8744 ssh-agent -k [2022-05-11T06:03:21.477Z] unset SSH_AUTH_SOCK; [2022-05-11T06:03:21.477Z] unset SSH_AGENT_PID; [2022-05-11T06:03:21.477Z] echo Agent pid 40 killed; [2022-05-11T06:03:21.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:03:21.796Z] + git semver [Pipeline] } [2022-05-11T06:03:22.085Z] $ docker stop --time=1 866d1fd0e846c64a672251603f997b9c682e092c8d206717990d16ba8ffc8744 [2022-05-11T06:03:23.548Z] $ docker rm -f 866d1fd0e846c64a672251603f997b9c682e092c8d206717990d16ba8ffc8744 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:03:23.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:03:23.940Z] [2022-05-11T06:03:23.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:03:24.239Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:03:24.239Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-11T06:03:24.239Z] ab5ef0e58194: Pulling fs layer [2022-05-11T06:03:24.239Z] 9712f1f96733: Pulling fs layer [2022-05-11T06:03:24.239Z] 63f879dbbcfc: Pulling fs layer [2022-05-11T06:03:24.239Z] 0d9ebad4ef96: Pulling fs layer [2022-05-11T06:03:24.239Z] e9a5061849ea: Pulling fs layer [2022-05-11T06:03:24.240Z] d747dcd14b5f: Pulling fs layer [2022-05-11T06:03:24.240Z] 2de7ff778b66: Pulling fs layer [2022-05-11T06:03:24.240Z] e9a5061849ea: Waiting [2022-05-11T06:03:24.240Z] d747dcd14b5f: Waiting [2022-05-11T06:03:24.240Z] 2de7ff778b66: Waiting [2022-05-11T06:03:24.240Z] 0d9ebad4ef96: Waiting [2022-05-11T06:03:24.240Z] 9712f1f96733: Verifying Checksum [2022-05-11T06:03:24.240Z] 9712f1f96733: Download complete [2022-05-11T06:03:24.820Z] 63f879dbbcfc: Verifying Checksum [2022-05-11T06:03:24.820Z] 63f879dbbcfc: Download complete [2022-05-11T06:03:24.820Z] e9a5061849ea: Verifying Checksum [2022-05-11T06:03:24.820Z] e9a5061849ea: Download complete [2022-05-11T06:03:24.820Z] 0d9ebad4ef96: Verifying Checksum [2022-05-11T06:03:24.820Z] 0d9ebad4ef96: Download complete [2022-05-11T06:03:24.820Z] ab5ef0e58194: Verifying Checksum [2022-05-11T06:03:24.820Z] ab5ef0e58194: Download complete [2022-05-11T06:03:24.820Z] d747dcd14b5f: Verifying Checksum [2022-05-11T06:03:24.820Z] d747dcd14b5f: Download complete [2022-05-11T06:03:25.080Z] 2de7ff778b66: Verifying Checksum [2022-05-11T06:03:25.080Z] 2de7ff778b66: Download complete [2022-05-11T06:03:27.612Z] ab5ef0e58194: Pull complete [2022-05-11T06:03:27.612Z] 9712f1f96733: Pull complete [2022-05-11T06:03:28.547Z] 63f879dbbcfc: Pull complete [2022-05-11T06:03:31.832Z] 0d9ebad4ef96: Pull complete [2022-05-11T06:03:32.401Z] e9a5061849ea: Pull complete [2022-05-11T06:03:32.401Z] d747dcd14b5f: Pull complete [2022-05-11T06:03:33.338Z] 2de7ff778b66: Pull complete [2022-05-11T06:03:33.338Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-11T06:03:33.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:03:33.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-11T06:03:33.665Z] prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container [2022-05-11T06:03:33.705Z] $ 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-11T06:03:39.750Z] $ docker top 718e3f87edc0ad062a1d11f396c5050dd02a0cdafe689d57b67c1959cec84f93 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:03:39.823Z] provisioning config files... [2022-05-11T06:03:39.831Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1113959052901568884tmp [2022-05-11T06:03:39.844Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5213686186152695006tmp [2022-05-11T06:03:39.856Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config990899164029884302tmp [Pipeline] { [Pipeline] echo [2022-05-11T06:03:39.872Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:03:40.160Z] ---> sigul-configuration.sh [2022-05-11T06:03:40.160Z] gpg: directory `/root/.gnupg' created [2022-05-11T06:03:40.160Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-11T06:03:40.160Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-11T06:03:40.160Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-11T06:03:40.160Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-11T06:03:40.160Z] gpg: CAST5 encrypted data [2022-05-11T06:03:40.160Z] gpg: encrypted with 1 passphrase [2022-05-11T06:03:40.160Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-11T06:03:40.448Z] + mkdir /home/jenkins [2022-05-11T06:03:40.448Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-11T06:03:40.737Z] + 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-11T06:03:40.747Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:03:41.037Z] ---> sigul-install.sh [2022-05-11T06:03:41.038Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-11T06:03:41.325Z] + git tag --list [2022-05-11T06:03:41.325Z] 0.7.1 [2022-05-11T06:03:41.325Z] v1.0.0 [2022-05-11T06:03:41.325Z] v1.1.0 [2022-05-11T06:03:41.325Z] v1.1.1 [2022-05-11T06:03:41.325Z] v1.2.2 [2022-05-11T06:03:41.325Z] v1.3.0 [2022-05-11T06:03:41.325Z] v1.3.1 [2022-05-11T06:03:41.325Z] v2.0.0 [2022-05-11T06:03:41.325Z] v2.0.1-dev.1 [2022-05-11T06:03:41.325Z] v2.0.1-dev.10 [2022-05-11T06:03:41.325Z] v2.0.1-dev.11 [2022-05-11T06:03:41.325Z] v2.0.1-dev.12 [2022-05-11T06:03:41.325Z] v2.0.1-dev.2 [2022-05-11T06:03:41.325Z] v2.0.1-dev.3 [2022-05-11T06:03:41.325Z] v2.0.1-dev.4 [2022-05-11T06:03:41.325Z] v2.0.1-dev.5 [2022-05-11T06:03:41.325Z] v2.0.1-dev.6 [2022-05-11T06:03:41.325Z] v2.0.1-dev.7 [2022-05-11T06:03:41.325Z] v2.0.1-dev.8 [2022-05-11T06:03:41.325Z] v2.0.1-dev.9 [2022-05-11T06:03:41.325Z] v2.1.0 [2022-05-11T06:03:41.325Z] v2.2.0-dev.1 [2022-05-11T06:03:41.325Z] v2.2.0-dev.10 [2022-05-11T06:03:41.325Z] v2.2.0-dev.11 [2022-05-11T06:03:41.325Z] v2.2.0-dev.12 [2022-05-11T06:03:41.325Z] v2.2.0-dev.13 [2022-05-11T06:03:41.325Z] v2.2.0-dev.14 [2022-05-11T06:03:41.325Z] v2.2.0-dev.15 [2022-05-11T06:03:41.325Z] v2.2.0-dev.16 [2022-05-11T06:03:41.325Z] v2.2.0-dev.17 [2022-05-11T06:03:41.325Z] v2.2.0-dev.18 [2022-05-11T06:03:41.325Z] v2.2.0-dev.19 [2022-05-11T06:03:41.325Z] v2.2.0-dev.2 [2022-05-11T06:03:41.325Z] v2.2.0-dev.20 [2022-05-11T06:03:41.325Z] v2.2.0-dev.3 [2022-05-11T06:03:41.325Z] v2.2.0-dev.4 [2022-05-11T06:03:41.325Z] v2.2.0-dev.5 [2022-05-11T06:03:41.325Z] v2.2.0-dev.6 [2022-05-11T06:03:41.325Z] v2.2.0-dev.7 [2022-05-11T06:03:41.325Z] v2.2.0-dev.8 [2022-05-11T06:03:41.325Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-11T06:03:41.615Z] + lftools sign git-tag v2.2.0-dev.20 [2022-05-11T06:03:42.186Z] Signing Git tag with Sigul... [2022-05-11T06:03:42.186Z] Signing v2.2.0-dev.20 [Pipeline] echo [2022-05-11T06:03:42.468Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:03:42.752Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-11T06:03:42.761Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-11T06:03:42.787Z] $ docker stop --time=1 718e3f87edc0ad062a1d11f396c5050dd02a0cdafe689d57b67c1959cec84f93 [2022-05-11T06:03:44.321Z] $ docker rm -f 718e3f87edc0ad062a1d11f396c5050dd02a0cdafe689d57b67c1959cec84f93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-11T06:03:44.775Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:03:44.775Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:03:45.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:03:45.070Z] . [Pipeline] withDockerContainer [2022-05-11T06:03:45.151Z] prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container [2022-05-11T06:03:45.190Z] $ 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-11T06:03:46.311Z] $ docker top 2f873f54d792b6725a6a251ae6d79772bc2c1fef924fbfb58be0cb844edfc75d -eo pid,comm [2022-05-11T06:03:46.373Z] 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-11T06:03:46.373Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:03:46.414Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:03:46.415Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:03:46.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:03:46.622Z] $ docker exec 2f873f54d792b6725a6a251ae6d79772bc2c1fef924fbfb58be0cb844edfc75d ssh-agent [2022-05-11T06:03:46.744Z] SSH_AUTH_SOCK=/tmp/ssh-u4lyRwmr4PaX/agent.14 [2022-05-11T06:03:46.744Z] SSH_AGENT_PID=20 [2022-05-11T06:03:46.750Z] Running ssh-add (command line suppressed) [2022-05-11T06:03:46.868Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1776452875683844605.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1776452875683844605.key) [2022-05-11T06:03:46.881Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:03:47.178Z] + git semver bump pre [2022-05-11T06:03:47.438Z] 2022-05-11 06:03:47,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T06:03:47.438Z] 2022-05-11 06:03:47,388 [bump_version] DEBUG bumping version:2.2.0-dev.20 on axis:pre with prefix:dev [2022-05-11T06:03:47.438Z] 2022-05-11 06:03:47,388 [bump_version] DEBUG bumped version:2.2.0-dev.21 [2022-05-11T06:03:47.438Z] 2022-05-11 06:03:47,388 [write_version] DEBUG write version:2.2.0-dev.21 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-05-11T06:03:47.438Z] 2022-05-11 06:03:47,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T06:03:47.438Z] 2022-05-11 06:03:47,388 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T06:03:47.438Z] 2022-05-11 06:03:47,390 [execute] INFO git cat-file --batch-check [2022-05-11T06:03:47.438Z] 2022-05-11 06:03:47,390 [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-11T06:03:47.438Z] 2022-05-11 06:03:47,395 [execute] INFO git cat-file --batch [2022-05-11T06:03:47.438Z] 2022-05-11 06:03:47,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T06:03:47.438Z] 2022-05-11 06:03:47,401 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T06:03:47.438Z] 2.2.0-dev.21 [Pipeline] } [2022-05-11T06:03:47.457Z] $ docker exec --env ******** --env ******** 2f873f54d792b6725a6a251ae6d79772bc2c1fef924fbfb58be0cb844edfc75d ssh-agent -k [2022-05-11T06:03:47.586Z] unset SSH_AUTH_SOCK; [2022-05-11T06:03:47.587Z] unset SSH_AGENT_PID; [2022-05-11T06:03:47.587Z] echo Agent pid 20 killed; [2022-05-11T06:03:47.590Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:03:47.902Z] + git semver [Pipeline] } [2022-05-11T06:03:48.183Z] $ docker stop --time=1 2f873f54d792b6725a6a251ae6d79772bc2c1fef924fbfb58be0cb844edfc75d [2022-05-11T06:03:49.528Z] $ docker rm -f 2f873f54d792b6725a6a251ae6d79772bc2c1fef924fbfb58be0cb844edfc75d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T06:03:49.905Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:03:49.905Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:03:50.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:03:50.206Z] . [Pipeline] withDockerContainer [2022-05-11T06:03:50.285Z] prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container [2022-05-11T06:03:50.330Z] $ 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-11T06:03:50.793Z] $ docker top 460f52922708696be6b91eed97386d8b7057f8eb100484966e0661ec5126f8ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:03:50.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:03:50.881Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:03:51.018Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:03:51.029Z] $ docker exec 460f52922708696be6b91eed97386d8b7057f8eb100484966e0661ec5126f8ad ssh-agent [2022-05-11T06:03:51.146Z] SSH_AUTH_SOCK=/tmp/ssh-52w1ky2xd9bi/agent.32 [2022-05-11T06:03:51.146Z] SSH_AGENT_PID=39 [2022-05-11T06:03:51.151Z] Running ssh-add (command line suppressed) [2022-05-11T06:03:51.261Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4907827359766201443.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4907827359766201443.key) [2022-05-11T06:03:51.267Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:03:51.560Z] + git semver push [2022-05-11T06:03:51.821Z] 2022-05-11 06:03:51,768 [run_push] DEBUG push [2022-05-11T06:03:51.821Z] 2022-05-11 06:03:51,769 [execute] INFO git push origin semver [2022-05-11T06:03:51.821Z] 2022-05-11 06:03:51,769 [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-11T06:03:52.768Z] 2022-05-11 06:03:52,510 [run_push] DEBUG push all version tags [2022-05-11T06:03:52.768Z] 2022-05-11 06:03:52,510 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-11T06:03:52.768Z] 2022-05-11 06:03:52,511 [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-11T06:03:53.344Z] 2022-05-11 06:03:53,256 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T06:03:53.344Z] 2.2.0-dev.21 [Pipeline] } [2022-05-11T06:03:53.364Z] $ docker exec --env ******** --env ******** 460f52922708696be6b91eed97386d8b7057f8eb100484966e0661ec5126f8ad ssh-agent -k [2022-05-11T06:03:53.492Z] unset SSH_AUTH_SOCK; [2022-05-11T06:03:53.493Z] unset SSH_AGENT_PID; [2022-05-11T06:03:53.493Z] echo Agent pid 39 killed; [2022-05-11T06:03:53.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:03:53.806Z] + git semver [Pipeline] } [2022-05-11T06:03:54.096Z] $ docker stop --time=1 460f52922708696be6b91eed97386d8b7057f8eb100484966e0661ec5126f8ad [2022-05-11T06:03:55.392Z] $ docker rm -f 460f52922708696be6b91eed97386d8b7057f8eb100484966e0661ec5126f8ad [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-11T06:03:55.958Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-05-11T06:03:55.958Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-11T06:03:55.958Z] total 16 [2022-05-11T06:03:55.958Z] drwxr-xr-x 3 root root 4096 May 11 05:52 . [2022-05-11T06:03:55.958Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 06:03 .. [2022-05-11T06:03:55.958Z] drwxr-xr-x 2 root root 4096 May 11 05:52 cost [2022-05-11T06:03:55.958Z] -rw-r--r-- 1 root root 86 May 11 05:52 cost.csv [2022-05-11T06:03:55.958Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-11T06:03:55.958Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-11T06:03:55.958Z] total 16 [2022-05-11T06:03:55.958Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:52 . [2022-05-11T06:03:55.958Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 06:03 .. [2022-05-11T06:03:55.958Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 05:52 cost [2022-05-11T06:03:55.958Z] -rw-r--r-- 1 jenkins jenkins 86 May 11 05:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:03:56.252Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:03:57.119Z] ---> package-listing.sh [2022-05-11T06:03:57.119Z] ++ facter osfamily [2022-05-11T06:03:57.119Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T06:03:57.379Z] + OS_FAMILY=debian [2022-05-11T06:03:57.379Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-05-11T06:03:57.379Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T06:03:57.379Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T06:03:57.379Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T06:03:57.379Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T06:03:57.379Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-11T06:03:57.379Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T06:03:57.379Z] + case "${OS_FAMILY}" in [2022-05-11T06:03:57.379Z] + dpkg -l [2022-05-11T06:03:57.379Z] + grep '^ii' [2022-05-11T06:03:57.379Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T06:03:57.379Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T06:03:57.379Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T06:03:57.379Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-11T06:03:57.379Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-05-11T06:03:57.379Z] + 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-11T06:03:57.391Z] 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-11T06:03:57.669Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:03:58.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T06:03:58.220Z] . [Pipeline] withDockerContainer [2022-05-11T06:03:58.287Z] prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container [2022-05-11T06:03:58.330Z] $ 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-11T06:03:58.601Z] $ docker top 3b88831fd0ae535306c9ffc6ee9d1da0fe11bf5b2849e85b04e0a4fb6beb46ec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T06:03:58.957Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T06:03:59.251Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T06:03:59.542Z] + ls /var/log/sa-host [2022-05-11T06:03:59.542Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:03:59.626Z] provisioning config files... [2022-05-11T06:03:59.635Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3444425026859230274tmp [Pipeline] { [Pipeline] echo [2022-05-11T06:03:59.650Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:03:59.935Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T06:03:59.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:04:00.263Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T06:04:00.276Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:04:00.564Z] ---> sudo-logs.sh [2022-05-11T06:04:00.564Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T06:04:00.597Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:04:00.887Z] ---> job-cost.sh [2022-05-11T06:04:00.887Z] lf-activate-venv: SKIPPING [2022-05-11T06:04:00.887Z] DEBUG: total: 0.2199999988079071 [2022-05-11T06:04:00.887Z] INFO: Retrieving Stack Cost... [2022-05-11T06:04:01.457Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T06:04:02.026Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T06:04:02.047Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:04:02.338Z] ---> logs-deploy.sh [2022-05-11T06:04:02.338Z] lf-activate-venv: SKIPPING [2022-05-11T06:04:02.338Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/38 [2022-05-11T06:04:02.338Z] INFO: archiving workspace using pattern(s): [2022-05-11T06:04:03.281Z] Archives upload complete. [2022-05-11T06:04:03.281Z] INFO: archiving logs to Nexus