Started by upstream project "edgexfoundry/cd-management/release" build number 96 originally caused by: Push event to branch release 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-ssh9189521156869299201.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-ssh9578477993043365597.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-ssh7039498973655884516.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-ssh3391902554360058242.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-ssh16774754903527751318.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63286 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 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T22:48:41.111Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T22:48:41.158Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T22:48:41.170Z] ========================================================= [2022-05-11T22:48:41.170Z] EdgeX Global Pipelines Version Info [2022-05-11T22:48:41.170Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:48:41.943Z] ------------------- [2022-05-11T22:48:41.943Z] stable info: [2022-05-11T22:48:41.943Z] ------------------- [2022-05-11T22:48:41.943Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T22:48:41.943Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T22:48:41.943Z] Message: update stable to v1.0.230 [2022-05-11T22:48:42.516Z] ------------------- [2022-05-11T22:48:42.516Z] experimental info: [2022-05-11T22:48:42.516Z] ------------------- [2022-05-11T22:48:42.516Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T22:48:42.516Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T22:48:42.516Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T22:48:42.654Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-11T22:48:42.675Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-11T22:48:42.692Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T22:48:42.712Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T22:48:42.732Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T22:48:42.747Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T22:48:42.767Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T22:48:42.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T22:48:42.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T22:48:42.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T22:48:42.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T22:48:42.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-11T22:48:42.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T22:48:42.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T22:48:42.909Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T22:48:42.918Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T22:48:42.934Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T22:48:42.950Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T22:48:42.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T22:48:42.984Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T22:48:42.995Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T22:48:43.010Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T22:48:43.022Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T22:48:43.034Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T22:48:43.046Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T22:48:43.060Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T22:48:43.077Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-11T22:48:43.095Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-11T22:48:43.111Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-11T22:48:43.129Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo [2022-05-11T22:48:43.146Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0da803b [Pipeline] echo [2022-05-11T22:48:43.164Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T22:48:43.211Z] provisioning config files... [2022-05-11T22:48:43.225Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config245496638888412034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:48:43.557Z] ---> docker-login.sh [2022-05-11T22:48:43.557Z] nexus3.edgexfoundry.org:10001 [2022-05-11T22:48:43.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:48:44.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:48:44.081Z] Configure a credential helper to remove this warning. See [2022-05-11T22:48:44.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:48:44.081Z] [2022-05-11T22:48:44.081Z] Login Succeeded [2022-05-11T22:48:44.081Z] nexus3.edgexfoundry.org:10002 [2022-05-11T22:48:44.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:48:44.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:48:44.081Z] Configure a credential helper to remove this warning. See [2022-05-11T22:48:44.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:48:44.081Z] [2022-05-11T22:48:44.081Z] Login Succeeded [2022-05-11T22:48:44.081Z] nexus3.edgexfoundry.org:10003 [2022-05-11T22:48:44.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:48:44.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:48:44.344Z] Configure a credential helper to remove this warning. See [2022-05-11T22:48:44.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:48:44.344Z] [2022-05-11T22:48:44.344Z] Login Succeeded [2022-05-11T22:48:44.344Z] nexus3.edgexfoundry.org:10004 [2022-05-11T22:48:44.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:48:44.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:48:44.344Z] Configure a credential helper to remove this warning. See [2022-05-11T22:48:44.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:48:44.344Z] [2022-05-11T22:48:44.344Z] Login Succeeded [2022-05-11T22:48:44.344Z] docker.io [2022-05-11T22:48:44.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:48:44.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:48:44.865Z] Configure a credential helper to remove this warning. See [2022-05-11T22:48:44.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:48:44.865Z] [2022-05-11T22:48:44.865Z] Login Succeeded [2022-05-11T22:48:44.865Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T22:48:44.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T22:48:45.339Z] + git rev-list -1 --merges 0da803b9e852e60e6d0c38932136853af8aaf1e9~1..0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo [2022-05-11T22:48:45.371Z] -----------> git rev-list -1 --merges 0da803b9e852e60e6d0c38932136853af8aaf1e9~1..0da803b9e852e60e6d0c38932136853af8aaf1e9 0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:48:45.371Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9 [false] [Pipeline] sh [2022-05-11T22:48:45.674Z] + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo [2022-05-11T22:48:45.692Z] ========================================================= [2022-05-11T22:48:45.692Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-05-11T22:48:45.692Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T22:48:46.053Z] + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo [2022-05-11T22:48:46.070Z] [semverPrep] GIT_COMMIT: 0da803b9e852e60e6d0c38932136853af8aaf1e9, Commit Message: Merge pull request #346 from jinlinGuan/released-go-mods [Pipeline] echo [2022-05-11T22:48:46.080Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T22:48:46.482Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T22:48:46.482Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T22:48:46.482Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T22:48:46.482Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T22:48:46.482Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T22:48:46.482Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T22:48:46.482Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:48:46.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T22:48:46.834Z] [2022-05-11T22:48:46.834Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:48:47.138Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T22:48:47.138Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T22:48:47.138Z] 1fe172e4850f: Pulling fs layer [2022-05-11T22:48:47.138Z] caf521ccaac6: Pulling fs layer [2022-05-11T22:48:47.138Z] 3ead6fa29328: Pulling fs layer [2022-05-11T22:48:47.138Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T22:48:47.138Z] a8d5f1318db7: Pulling fs layer [2022-05-11T22:48:47.138Z] c427282e49a2: Pulling fs layer [2022-05-11T22:48:47.138Z] 1827001aaf11: Pulling fs layer [2022-05-11T22:48:47.138Z] 0714d37db230: Pulling fs layer [2022-05-11T22:48:47.138Z] ac28cf19c067: Pulling fs layer [2022-05-11T22:48:47.138Z] ca983d60f3e2: Pulling fs layer [2022-05-11T22:48:47.138Z] 9f894cec8388: Pulling fs layer [2022-05-11T22:48:47.138Z] 1827001aaf11: Waiting [2022-05-11T22:48:47.138Z] ac28cf19c067: Waiting [2022-05-11T22:48:47.138Z] ca983d60f3e2: Waiting [2022-05-11T22:48:47.138Z] 5c2a1cbceb83: Waiting [2022-05-11T22:48:47.138Z] 0714d37db230: Waiting [2022-05-11T22:48:47.138Z] 9f894cec8388: Waiting [2022-05-11T22:48:47.138Z] a8d5f1318db7: Waiting [2022-05-11T22:48:47.138Z] c427282e49a2: Waiting [2022-05-11T22:48:47.138Z] caf521ccaac6: Verifying Checksum [2022-05-11T22:48:47.138Z] caf521ccaac6: Download complete [2022-05-11T22:48:47.399Z] 5c2a1cbceb83: Download complete [2022-05-11T22:48:47.399Z] 3ead6fa29328: Verifying Checksum [2022-05-11T22:48:47.399Z] 3ead6fa29328: Download complete [2022-05-11T22:48:47.399Z] a8d5f1318db7: Verifying Checksum [2022-05-11T22:48:47.399Z] a8d5f1318db7: Download complete [2022-05-11T22:48:47.399Z] c427282e49a2: Verifying Checksum [2022-05-11T22:48:47.399Z] c427282e49a2: Download complete [2022-05-11T22:48:47.399Z] 0714d37db230: Verifying Checksum [2022-05-11T22:48:47.399Z] 0714d37db230: Download complete [2022-05-11T22:48:47.399Z] ac28cf19c067: Verifying Checksum [2022-05-11T22:48:47.399Z] ac28cf19c067: Download complete [2022-05-11T22:48:47.399Z] ca983d60f3e2: Verifying Checksum [2022-05-11T22:48:47.399Z] ca983d60f3e2: Download complete [2022-05-11T22:48:47.399Z] 9f894cec8388: Download complete [2022-05-11T22:48:47.399Z] 1fe172e4850f: Verifying Checksum [2022-05-11T22:48:47.399Z] 1fe172e4850f: Download complete [2022-05-11T22:48:47.660Z] 1827001aaf11: Download complete [2022-05-11T22:48:49.053Z] 1fe172e4850f: Pull complete [2022-05-11T22:48:49.053Z] caf521ccaac6: Pull complete [2022-05-11T22:48:49.627Z] 3ead6fa29328: Pull complete [2022-05-11T22:48:49.627Z] 5c2a1cbceb83: Pull complete [2022-05-11T22:48:49.889Z] a8d5f1318db7: Pull complete [2022-05-11T22:48:49.889Z] c427282e49a2: Pull complete [2022-05-11T22:48:51.801Z] 1827001aaf11: Pull complete [2022-05-11T22:48:52.062Z] 0714d37db230: Pull complete [2022-05-11T22:48:52.062Z] ac28cf19c067: Pull complete [2022-05-11T22:48:52.325Z] ca983d60f3e2: Pull complete [2022-05-11T22:48:52.325Z] 9f894cec8388: Pull complete [2022-05-11T22:48:52.325Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T22:48:52.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T22:48:52.325Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T22:48:52.413Z] prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container [2022-05-11T22:48:52.456Z] $ 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-11T22:48:54.081Z] $ docker top 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 -eo pid,comm [2022-05-11T22:48:54.147Z] 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-11T22:48:54.147Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T22:48:54.185Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T22:48:54.185Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T22:48:54.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T22:48:54.317Z] $ docker exec 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 ssh-agent [2022-05-11T22:48:54.438Z] SSH_AUTH_SOCK=/tmp/ssh-8pAfMYu65970/agent.34 [2022-05-11T22:48:54.438Z] SSH_AGENT_PID=40 [2022-05-11T22:48:54.446Z] Running ssh-add (command line suppressed) [2022-05-11T22:48:54.566Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9047434051739749011.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9047434051739749011.key) [2022-05-11T22:48:54.575Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T22:48:54.871Z] + git tag --points-at 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] } [2022-05-11T22:48:54.891Z] $ docker exec --env ******** --env ******** 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 ssh-agent -k [2022-05-11T22:48:55.009Z] unset SSH_AUTH_SOCK; [2022-05-11T22:48:55.009Z] unset SSH_AGENT_PID; [2022-05-11T22:48:55.009Z] echo Agent pid 40 killed; [2022-05-11T22:48:55.014Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-05-11T22:48:55.039Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.0-dev.20' [Pipeline] sshagent [2022-05-11T22:48:55.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T22:48:55.055Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T22:48:55.180Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T22:48:55.190Z] $ docker exec 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 ssh-agent [2022-05-11T22:48:55.320Z] SSH_AUTH_SOCK=/tmp/ssh-ZzxDojnFG8Ve/agent.74 [2022-05-11T22:48:55.320Z] SSH_AGENT_PID=81 [2022-05-11T22:48:55.329Z] Running ssh-add (command line suppressed) [2022-05-11T22:48:55.457Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2529702120067057348.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2529702120067057348.key) [2022-05-11T22:48:55.469Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T22:48:55.764Z] + git semver init [2022-05-11T22:48:56.026Z] 2022-05-11 22:48:55,997 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T22:48:56.026Z] 2022-05-11 22:48:55,998 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-11T22:48:56.026Z] 2022-05-11 22:48:55,999 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-11T22:48:56.026Z] 2022-05-11 22:48:56,000 [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-11T22:48:56.971Z] 2022-05-11 22:48:56,892 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-05-11T22:48:56.971Z] 2022-05-11 22:48:56,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-05-11T22:48:56.971Z] 2022-05-11 22:48:56,893 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T22:48:56.971Z] 2022-05-11 22:48:56,894 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-11T22:48:56.971Z] 2.2.0 [Pipeline] } [2022-05-11T22:48:56.989Z] $ docker exec --env ******** --env ******** 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 ssh-agent -k [2022-05-11T22:48:57.108Z] unset SSH_AUTH_SOCK; [2022-05-11T22:48:57.108Z] unset SSH_AGENT_PID; [2022-05-11T22:48:57.108Z] echo Agent pid 81 killed; [2022-05-11T22:48:57.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T22:48:57.426Z] + git semver [Pipeline] } [2022-05-11T22:48:57.710Z] $ docker stop --time=1 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 [2022-05-11T22:48:59.070Z] $ docker rm -f 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T22:48:59.429Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T22:48:59.685Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T22:48:59.689Z] [edgeXSemver]: initialized semver on version 2.2.0 [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] sh [2022-05-11T22:49:00.098Z] + git checkout 0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:49:00.098Z] HEAD is now at 0da803b Merge pull request #346 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T22:49:00.129Z] provisioning config files... [2022-05-11T22:49:00.142Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7692095881264233685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:49:00.452Z] ---> docker-login.sh [2022-05-11T22:49:00.452Z] nexus3.edgexfoundry.org:10001 [2022-05-11T22:49:00.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:49:00.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:49:00.452Z] Configure a credential helper to remove this warning. See [2022-05-11T22:49:00.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:49:00.452Z] [2022-05-11T22:49:00.452Z] Login Succeeded [2022-05-11T22:49:00.452Z] nexus3.edgexfoundry.org:10002 [2022-05-11T22:49:00.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:49:00.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:49:00.713Z] Configure a credential helper to remove this warning. See [2022-05-11T22:49:00.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:49:00.713Z] [2022-05-11T22:49:00.713Z] Login Succeeded [2022-05-11T22:49:00.713Z] nexus3.edgexfoundry.org:10003 [2022-05-11T22:49:00.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:49:00.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:49:00.713Z] Configure a credential helper to remove this warning. See [2022-05-11T22:49:00.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:49:00.713Z] [2022-05-11T22:49:00.713Z] Login Succeeded [2022-05-11T22:49:00.713Z] nexus3.edgexfoundry.org:10004 [2022-05-11T22:49:00.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:49:00.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:49:00.975Z] Configure a credential helper to remove this warning. See [2022-05-11T22:49:00.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:49:00.975Z] [2022-05-11T22:49:00.975Z] Login Succeeded [2022-05-11T22:49:00.975Z] docker.io [2022-05-11T22:49:00.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:49:01.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:49:01.236Z] Configure a credential helper to remove this warning. See [2022-05-11T22:49:01.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:49:01.236Z] [2022-05-11T22:49:01.236Z] Login Succeeded [2022-05-11T22:49:01.236Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T22:49:01.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T22:49:01.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T22:49:01.331Z] ========================================================= [2022-05-11T22:49:01.331Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T22:49:01.331Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:49:01.641Z] + 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-11T22:49:01.641Z] Sending build context to Docker daemon 5.9MB [2022-05-11T22:49:01.641Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T22:49:01.641Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-11T22:49:01.641Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T22:49:01.641Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T22:49:01.641Z] 666ba61612fd: Pulling fs layer [2022-05-11T22:49:01.641Z] 8ed8ca486205: Pulling fs layer [2022-05-11T22:49:01.641Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T22:49:01.641Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T22:49:01.641Z] ca2b28591e48: Pulling fs layer [2022-05-11T22:49:01.641Z] a51346096db8: Pulling fs layer [2022-05-11T22:49:01.641Z] daebc70d1ce1: Pulling fs layer [2022-05-11T22:49:01.641Z] 0e18a0eac166: Pulling fs layer [2022-05-11T22:49:01.641Z] 4fe6c5a15a65: Waiting [2022-05-11T22:49:01.641Z] daebc70d1ce1: Waiting [2022-05-11T22:49:01.641Z] 0e18a0eac166: Waiting [2022-05-11T22:49:01.641Z] 22a0e8bec74d: Waiting [2022-05-11T22:49:01.641Z] ca2b28591e48: Waiting [2022-05-11T22:49:01.641Z] a51346096db8: Waiting [2022-05-11T22:49:01.641Z] 8ed8ca486205: Download complete [2022-05-11T22:49:01.641Z] 666ba61612fd: Verifying Checksum [2022-05-11T22:49:01.641Z] 666ba61612fd: Download complete [2022-05-11T22:49:01.641Z] 22a0e8bec74d: Download complete [2022-05-11T22:49:01.641Z] ca2b28591e48: Download complete [2022-05-11T22:49:01.911Z] a51346096db8: Verifying Checksum [2022-05-11T22:49:01.911Z] a51346096db8: Download complete [2022-05-11T22:49:01.911Z] 59bf1c3509f3: Verifying Checksum [2022-05-11T22:49:01.911Z] 59bf1c3509f3: Download complete [2022-05-11T22:49:01.911Z] daebc70d1ce1: Verifying Checksum [2022-05-11T22:49:01.911Z] daebc70d1ce1: Download complete [2022-05-11T22:49:01.911Z] 59bf1c3509f3: Pull complete [2022-05-11T22:49:02.175Z] 666ba61612fd: Pull complete [2022-05-11T22:49:02.175Z] 8ed8ca486205: Pull complete [2022-05-11T22:49:02.437Z] 0e18a0eac166: Verifying Checksum [2022-05-11T22:49:02.437Z] 0e18a0eac166: Download complete [2022-05-11T22:49:02.699Z] 4fe6c5a15a65: Verifying Checksum [2022-05-11T22:49:02.699Z] 4fe6c5a15a65: Download complete [2022-05-11T22:49:06.900Z] 4fe6c5a15a65: Pull complete [2022-05-11T22:49:06.900Z] 22a0e8bec74d: Pull complete [2022-05-11T22:49:06.900Z] ca2b28591e48: Pull complete [2022-05-11T22:49:06.900Z] a51346096db8: Pull complete [2022-05-11T22:49:06.900Z] daebc70d1ce1: Pull complete [2022-05-11T22:49:09.438Z] 0e18a0eac166: Pull complete [2022-05-11T22:49:09.438Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T22:49:09.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T22:49:09.438Z] ---> f018257e8ee9 [2022-05-11T22:49:09.438Z] Step 3/10 : ARG MAKE='make build' [2022-05-11T22:49:11.353Z] ---> Running in be2c832fb53e [2022-05-11T22:49:11.353Z] Removing intermediate container be2c832fb53e [2022-05-11T22:49:11.353Z] ---> f04fbf4683f3 [2022-05-11T22:49:11.353Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T22:49:11.354Z] ---> Running in 7773d728bca5 [2022-05-11T22:49:11.923Z] Removing intermediate container 7773d728bca5 [2022-05-11T22:49:11.923Z] ---> d3d97aaea2c8 [2022-05-11T22:49:11.923Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T22:49:11.923Z] ---> Running in ae44776ad0fe [2022-05-11T22:49:12.183Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T22:49:12.751Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T22:49:13.320Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T22:49:13.320Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-11T22:49:13.320Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T22:49:13.320Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T22:49:13.582Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-11T22:49:13.582Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-11T22:49:13.844Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-11T22:49:13.844Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-11T22:49:13.844Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T22:49:13.844Z] OK: 226 MiB in 60 packages [2022-05-11T22:49:14.414Z] Removing intermediate container ae44776ad0fe [2022-05-11T22:49:14.414Z] ---> b7f5ce450184 [2022-05-11T22:49:14.414Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-11T22:49:14.414Z] ---> Running in d8d9d1a4b626 [2022-05-11T22:49:14.675Z] Removing intermediate container d8d9d1a4b626 [2022-05-11T22:49:14.675Z] ---> 95c43f8cd455 [2022-05-11T22:49:14.675Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-11T22:49:14.675Z] ---> 9c5ef283963d [2022-05-11T22:49:14.675Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T22:49:14.675Z] ---> Running in c05369982632 [2022-05-11T22:49:14.793Z] Still waiting to schedule task [2022-05-11T22:49:14.793Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-11T22:49:29.594Z] Removing intermediate container c05369982632 [2022-05-11T22:49:29.594Z] ---> 67c1e6df26c2 [2022-05-11T22:49:29.594Z] Step 9/10 : COPY . . [2022-05-11T22:49:29.594Z] ---> 50c776f02dd5 [2022-05-11T22:49:29.594Z] Step 10/10 : RUN ${MAKE} [2022-05-11T22:49:29.594Z] ---> Running in feed5a2739d9 [2022-05-11T22:49:29.594Z] noop [2022-05-11T22:49:29.594Z] Removing intermediate container feed5a2739d9 [2022-05-11T22:49:29.594Z] ---> cb9fce864274 [2022-05-11T22:49:29.594Z] Successfully built cb9fce864274 [2022-05-11T22:49:29.594Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:49:29.897Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T22:49:29.897Z] . [Pipeline] withDockerContainer [2022-05-11T22:49:29.966Z] prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container [2022-05-11T22:49:30.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T22:49:31.027Z] $ docker top eaee04145eda1e74e30a96995004c8818bfddd057653c49f8aaa7f5d49f4b4b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T22:49:31.395Z] + go version [2022-05-11T22:49:31.395Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T22:49:31.412Z] $ docker stop --time=1 eaee04145eda1e74e30a96995004c8818bfddd057653c49f8aaa7f5d49f4b4b0 [2022-05-11T22:49:32.728Z] $ docker rm -f eaee04145eda1e74e30a96995004c8818bfddd057653c49f8aaa7f5d49f4b4b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:49:33.133Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T22:49:33.133Z] . [Pipeline] withDockerContainer [2022-05-11T22:49:33.201Z] prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container [2022-05-11T22:49:33.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T22:49:33.676Z] $ docker top a69e868b493c487b62f843a0998121805d7badb736ab95a94a302794d55afcfa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T22:49:34.061Z] + make test [2022-05-11T22:49:34.061Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-11T22:49:34.319Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-11T22:49:44.366Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-11T22:49:44.366Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements [2022-05-11T22:49:50.934Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T22:49:54.226Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T22:49:54.226Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T22:49:54.226Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T22:49:54.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T22:49:54.516Z] $ docker stop --time=1 a69e868b493c487b62f843a0998121805d7badb736ab95a94a302794d55afcfa [2022-05-11T22:49:56.162Z] $ docker rm -f a69e868b493c487b62f843a0998121805d7badb736ab95a94a302794d55afcfa [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T22:49:56.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T22:49:56.645Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-11T22:49:57.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T22:49:57.514Z] + ls -al . [2022-05-11T22:49:57.514Z] total 184 [2022-05-11T22:49:57.514Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 22:49 . [2022-05-11T22:49:57.514Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:48 .. [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 22:48 .dockerignore [2022-05-11T22:49:57.514Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:48 .git [2022-05-11T22:49:57.514Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:48 .github [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 331 May 11 22:48 .gitignore [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:48 .golangci.yml [2022-05-11T22:49:57.514Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:48 .semver [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 11 22:48 Attribution.txt [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 11 22:48 CHANGELOG.md [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 11 22:48 Dockerfile [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:48 GOVERNANCE.md [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:48 Jenkinsfile [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:48 LICENSE [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 11 22:48 Makefile [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 622 May 11 22:48 OWNERS.md [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 11 22:48 README.md [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:48 VERSION [2022-05-11T22:49:57.514Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:48 bin [2022-05-11T22:49:57.514Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:48 cmd [2022-05-11T22:49:57.514Z] -rw-r--r-- 1 jenkins jenkins 24065 May 11 22:49 coverage.out [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 3353 May 11 22:48 go.mod [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 34983 May 11 22:48 go.sum [2022-05-11T22:49:57.514Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:48 internal [2022-05-11T22:49:57.514Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:48 simulator [2022-05-11T22:49:57.514Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:48 snap [2022-05-11T22:49:57.514Z] -rw-rw-r-- 1 jenkins jenkins 229 May 11 22:48 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:49:57.813Z] + 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 . [2022-05-11T22:49:57.813Z] Sending build context to Docker daemon 5.925MB [2022-05-11T22:49:57.813Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T22:49:57.814Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-11T22:49:57.814Z] ---> cb9fce864274 [2022-05-11T22:49:57.814Z] Step 3/23 : ARG MAKE='make build' [2022-05-11T22:49:58.074Z] ---> Running in 04b5ce56aa6d [2022-05-11T22:49:58.074Z] Removing intermediate container 04b5ce56aa6d [2022-05-11T22:49:58.074Z] ---> a4104d59256a [2022-05-11T22:49:58.074Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T22:49:58.074Z] ---> Running in e160c3342768 [2022-05-11T22:49:58.644Z] Removing intermediate container e160c3342768 [2022-05-11T22:49:58.644Z] ---> 5f9ef744bdf6 [2022-05-11T22:49:58.644Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T22:49:58.644Z] ---> Running in c8cb0e841d08 [2022-05-11T22:49:59.215Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T22:49:59.786Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T22:50:00.357Z] OK: 226 MiB in 60 packages [2022-05-11T22:50:00.618Z] Removing intermediate container c8cb0e841d08 [2022-05-11T22:50:00.618Z] ---> ff20c1e1af99 [2022-05-11T22:50:00.618Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-11T22:50:00.618Z] ---> Running in 8ff3d0a8ae09 [2022-05-11T22:50:00.618Z] Removing intermediate container 8ff3d0a8ae09 [2022-05-11T22:50:00.618Z] ---> e38a31a1c077 [2022-05-11T22:50:00.618Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-11T22:50:00.878Z] ---> 39ae95976620 [2022-05-11T22:50:00.878Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T22:50:00.878Z] ---> Running in 05459dcfd99d [2022-05-11T22:50:01.450Z] Removing intermediate container 05459dcfd99d [2022-05-11T22:50:01.450Z] ---> 2cad3c9cf612 [2022-05-11T22:50:01.450Z] Step 9/23 : COPY . . [2022-05-11T22:50:01.709Z] ---> 049601240aff [2022-05-11T22:50:01.710Z] Step 10/23 : RUN ${MAKE} [2022-05-11T22:50:01.710Z] ---> Running in 4a559b00cb3f [2022-05-11T22:50:01.970Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-11T22:50:23.912Z] Removing intermediate container 4a559b00cb3f [2022-05-11T22:50:23.912Z] ---> e5ce0a9f2f60 [2022-05-11T22:50:23.912Z] Step 11/23 : FROM alpine:3.14 [2022-05-11T22:50:23.912Z] 3.14: Pulling from library/alpine [2022-05-11T22:50:23.912Z] 8663204ce13b: Pulling fs layer [2022-05-11T22:50:23.912Z] 8663204ce13b: Verifying Checksum [2022-05-11T22:50:23.912Z] 8663204ce13b: Download complete [2022-05-11T22:50:23.912Z] 8663204ce13b: Pull complete [2022-05-11T22:50:23.912Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T22:50:23.912Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T22:50:23.912Z] ---> e04c818066af [2022-05-11T22:50:23.912Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-11T22:50:23.912Z] ---> Running in 88487b4a189a [2022-05-11T22:50:23.912Z] Removing intermediate container 88487b4a189a [2022-05-11T22:50:23.912Z] ---> fd8ebfe01c87 [2022-05-11T22:50:23.912Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T22:50:23.912Z] ---> Running in bbf891c833d7 [2022-05-11T22:50:23.912Z] Removing intermediate container bbf891c833d7 [2022-05-11T22:50:23.912Z] ---> 5ae14bfb288d [2022-05-11T22:50:23.912Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T22:50:23.912Z] ---> Running in 177935b41361 [2022-05-11T22:50:23.912Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-11T22:50:23.912Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-11T22:50:23.912Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T22:50:23.912Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T22:50:24.174Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T22:50:24.174Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T22:50:24.434Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T22:50:24.434Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T22:50:24.434Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T22:50:24.434Z] OK: 8 MiB in 20 packages [2022-05-11T22:50:25.003Z] Removing intermediate container 177935b41361 [2022-05-11T22:50:25.003Z] ---> 521b2eebcb03 [2022-05-11T22:50:25.003Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-11T22:50:25.263Z] ---> b9eabaf9f231 [2022-05-11T22:50:25.263Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-11T22:50:25.522Z] ---> 452726ac8701 [2022-05-11T22:50:25.523Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-11T22:50:25.782Z] ---> b65c5d86d58b [2022-05-11T22:50:25.782Z] Step 18/23 : EXPOSE 59901 [2022-05-11T22:50:25.782Z] ---> Running in 6ed6b405d286 [2022-05-11T22:50:25.782Z] Removing intermediate container 6ed6b405d286 [2022-05-11T22:50:25.782Z] ---> fc27fa9df081 [2022-05-11T22:50:25.782Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-11T22:50:25.782Z] ---> Running in 1237dc656b54 [2022-05-11T22:50:25.782Z] Removing intermediate container 1237dc656b54 [2022-05-11T22:50:25.782Z] ---> 1f8e09f1a846 [2022-05-11T22:50:25.782Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T22:50:25.782Z] ---> Running in bfce6faaaa51 [2022-05-11T22:50:26.042Z] Removing intermediate container bfce6faaaa51 [2022-05-11T22:50:26.042Z] ---> 487a0ca3e76c [2022-05-11T22:50:26.042Z] Step 21/23 : LABEL arch=amd64 [2022-05-11T22:50:26.042Z] ---> Running in edd3a066271d [2022-05-11T22:50:26.042Z] Removing intermediate container edd3a066271d [2022-05-11T22:50:26.042Z] ---> 64a4a2ea4074 [2022-05-11T22:50:26.042Z] Step 22/23 : LABEL git_sha=0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:50:26.042Z] ---> Running in 0c8772f3c4be [2022-05-11T22:50:26.302Z] Removing intermediate container 0c8772f3c4be [2022-05-11T22:50:26.302Z] ---> e353f3703a06 [2022-05-11T22:50:26.302Z] Step 23/23 : LABEL version=2.2.0 [2022-05-11T22:50:26.302Z] ---> Running in 8a4c00a93431 [2022-05-11T22:50:26.302Z] Removing intermediate container 8a4c00a93431 [2022-05-11T22:50:26.302Z] ---> 75b1543f77b0 [2022-05-11T22:50:26.302Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T22:50:26.302Z] Successfully built 75b1543f77b0 [2022-05-11T22:50:26.302Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T22:50:26.412Z] provisioning config files... [2022-05-11T22:50:26.420Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config388958552352980992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:50:26.722Z] ---> docker-login.sh [2022-05-11T22:50:26.722Z] nexus3.edgexfoundry.org:10001 [2022-05-11T22:50:26.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:50:26.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:50:26.723Z] Configure a credential helper to remove this warning. See [2022-05-11T22:50:26.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:50:26.723Z] [2022-05-11T22:50:26.723Z] Login Succeeded [2022-05-11T22:50:26.723Z] nexus3.edgexfoundry.org:10002 [2022-05-11T22:50:26.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:50:26.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:50:26.983Z] Configure a credential helper to remove this warning. See [2022-05-11T22:50:26.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:50:26.983Z] [2022-05-11T22:50:26.983Z] Login Succeeded [2022-05-11T22:50:26.983Z] nexus3.edgexfoundry.org:10003 [2022-05-11T22:50:26.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:50:26.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:50:26.983Z] Configure a credential helper to remove this warning. See [2022-05-11T22:50:26.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:50:26.983Z] [2022-05-11T22:50:26.983Z] Login Succeeded [2022-05-11T22:50:26.983Z] nexus3.edgexfoundry.org:10004 [2022-05-11T22:50:27.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:50:27.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:50:27.242Z] Configure a credential helper to remove this warning. See [2022-05-11T22:50:27.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:50:27.242Z] [2022-05-11T22:50:27.242Z] Login Succeeded [2022-05-11T22:50:27.242Z] docker.io [2022-05-11T22:50:27.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:50:27.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:50:27.502Z] Configure a credential helper to remove this warning. See [2022-05-11T22:50:27.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:50:27.502Z] [2022-05-11T22:50:27.502Z] Login Succeeded [2022-05-11T22:50:27.502Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T22:50:27.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T22:50:27.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T22:50:27.573Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-05-11T22:50:27.573Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:50:27.573Z] latest [2022-05-11T22:50:27.573Z] 2.2.0 [2022-05-11T22:50:27.573Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 [2022-05-11T22:50:27.573Z] main [2022-05-11T22:50:27.573Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:27.897Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:28.190Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:50:28.190Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-11T22:50:28.190Z] 8eea776883be: Preparing [2022-05-11T22:50:28.190Z] 55240b8e4aec: Preparing [2022-05-11T22:50:28.190Z] 397de7d44b11: Preparing [2022-05-11T22:50:28.190Z] 1d5234e2f73a: Preparing [2022-05-11T22:50:28.190Z] d0de25bd1a17: Preparing [2022-05-11T22:50:28.190Z] b541d28bf3b4: Preparing [2022-05-11T22:50:28.190Z] d0de25bd1a17: Pushed [2022-05-11T22:50:28.190Z] 8eea776883be: Pushed [2022-05-11T22:50:28.190Z] 55240b8e4aec: Pushed [2022-05-11T22:50:28.190Z] b541d28bf3b4: Layer already exists [2022-05-11T22:50:28.449Z] 1d5234e2f73a: Pushed [2022-05-11T22:50:30.986Z] 397de7d44b11: Pushed [2022-05-11T22:50:30.986Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9: digest: sha256:9f263266885ab2ffa8bd182da4ac92399d51ad2da2f564ef4e575dad8077d69d size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:31.287Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:31.584Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-11T22:50:31.584Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-11T22:50:31.584Z] 8eea776883be: Preparing [2022-05-11T22:50:31.584Z] 55240b8e4aec: Preparing [2022-05-11T22:50:31.584Z] 397de7d44b11: Preparing [2022-05-11T22:50:31.584Z] 1d5234e2f73a: Preparing [2022-05-11T22:50:31.584Z] d0de25bd1a17: Preparing [2022-05-11T22:50:31.584Z] b541d28bf3b4: Preparing [2022-05-11T22:50:31.584Z] b541d28bf3b4: Waiting [2022-05-11T22:50:31.584Z] 397de7d44b11: Layer already exists [2022-05-11T22:50:31.584Z] 8eea776883be: Layer already exists [2022-05-11T22:50:31.584Z] d0de25bd1a17: Layer already exists [2022-05-11T22:50:31.584Z] 1d5234e2f73a: Layer already exists [2022-05-11T22:50:31.584Z] 55240b8e4aec: Layer already exists [2022-05-11T22:50:31.584Z] b541d28bf3b4: Layer already exists [2022-05-11T22:50:31.584Z] latest: digest: sha256:9f263266885ab2ffa8bd182da4ac92399d51ad2da2f564ef4e575dad8077d69d size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:31.885Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:32.180Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0 [2022-05-11T22:50:32.180Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-11T22:50:32.180Z] 8eea776883be: Preparing [2022-05-11T22:50:32.181Z] 55240b8e4aec: Preparing [2022-05-11T22:50:32.181Z] 397de7d44b11: Preparing [2022-05-11T22:50:32.181Z] 1d5234e2f73a: Preparing [2022-05-11T22:50:32.181Z] d0de25bd1a17: Preparing [2022-05-11T22:50:32.181Z] b541d28bf3b4: Preparing [2022-05-11T22:50:32.181Z] b541d28bf3b4: Waiting [2022-05-11T22:50:32.181Z] d0de25bd1a17: Layer already exists [2022-05-11T22:50:32.181Z] 55240b8e4aec: Layer already exists [2022-05-11T22:50:32.181Z] 397de7d44b11: Layer already exists [2022-05-11T22:50:32.181Z] 8eea776883be: Layer already exists [2022-05-11T22:50:32.181Z] 1d5234e2f73a: Layer already exists [2022-05-11T22:50:32.181Z] b541d28bf3b4: Layer already exists [2022-05-11T22:50:32.181Z] 2.2.0: digest: sha256:9f263266885ab2ffa8bd182da4ac92399d51ad2da2f564ef4e575dad8077d69d size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:32.482Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:32.775Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 [2022-05-11T22:50:32.775Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-11T22:50:32.775Z] 8eea776883be: Preparing [2022-05-11T22:50:32.775Z] 55240b8e4aec: Preparing [2022-05-11T22:50:32.775Z] 397de7d44b11: Preparing [2022-05-11T22:50:32.775Z] 1d5234e2f73a: Preparing [2022-05-11T22:50:32.775Z] d0de25bd1a17: Preparing [2022-05-11T22:50:32.775Z] b541d28bf3b4: Preparing [2022-05-11T22:50:32.775Z] b541d28bf3b4: Waiting [2022-05-11T22:50:32.775Z] 1d5234e2f73a: Layer already exists [2022-05-11T22:50:32.775Z] 397de7d44b11: Layer already exists [2022-05-11T22:50:32.775Z] d0de25bd1a17: Layer already exists [2022-05-11T22:50:32.775Z] 8eea776883be: Layer already exists [2022-05-11T22:50:32.775Z] 55240b8e4aec: Layer already exists [2022-05-11T22:50:32.775Z] b541d28bf3b4: Layer already exists [2022-05-11T22:50:32.775Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0: digest: sha256:9f263266885ab2ffa8bd182da4ac92399d51ad2da2f564ef4e575dad8077d69d size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:33.072Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:33.363Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-05-11T22:50:33.363Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-11T22:50:33.363Z] 8eea776883be: Preparing [2022-05-11T22:50:33.363Z] 55240b8e4aec: Preparing [2022-05-11T22:50:33.363Z] 397de7d44b11: Preparing [2022-05-11T22:50:33.363Z] 1d5234e2f73a: Preparing [2022-05-11T22:50:33.363Z] d0de25bd1a17: Preparing [2022-05-11T22:50:33.363Z] b541d28bf3b4: Preparing [2022-05-11T22:50:33.363Z] b541d28bf3b4: Waiting [2022-05-11T22:50:33.363Z] d0de25bd1a17: Layer already exists [2022-05-11T22:50:33.363Z] 8eea776883be: Layer already exists [2022-05-11T22:50:33.363Z] 1d5234e2f73a: Layer already exists [2022-05-11T22:50:33.363Z] 397de7d44b11: Layer already exists [2022-05-11T22:50:33.363Z] 55240b8e4aec: Layer already exists [2022-05-11T22:50:33.363Z] b541d28bf3b4: Layer already exists [2022-05-11T22:50:33.363Z] main: digest: sha256:9f263266885ab2ffa8bd182da4ac92399d51ad2da2f564ef4e575dad8077d69d size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T22:50:33.414Z] ===================================================== [Pipeline] echo [2022-05-11T22:50:33.423Z] taggedImages: [2022-05-11T22:50:33.423Z] - nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:50:33.423Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-11T22:50:33.423Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0 [2022-05-11T22:50:33.423Z] - nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 [2022-05-11T22:50:33.423Z] - 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-11T22:50:33.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T22:50:33.841Z] [2022-05-11T22:50:33.841Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:34.185Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T22:50:34.185Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T22:50:34.185Z] 5eb5b503b376: Pulling fs layer [2022-05-11T22:50:34.185Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T22:50:34.185Z] ec43610c2a17: Pulling fs layer [2022-05-11T22:50:34.185Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T22:50:34.185Z] 33b1e0a273af: Pulling fs layer [2022-05-11T22:50:34.185Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T22:50:34.185Z] 2f39f015ded8: Pulling fs layer [2022-05-11T22:50:34.185Z] 33b1e0a273af: Waiting [2022-05-11T22:50:34.185Z] 3a2ae6a8a46f: Waiting [2022-05-11T22:50:34.185Z] 5d3b04190fa2: Waiting [2022-05-11T22:50:34.185Z] 2f39f015ded8: Waiting [2022-05-11T22:50:34.185Z] 5c69ac0246d0: Verifying Checksum [2022-05-11T22:50:34.185Z] 5c69ac0246d0: Download complete [2022-05-11T22:50:34.185Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-11T22:50:34.185Z] 3a2ae6a8a46f: Download complete [2022-05-11T22:50:34.185Z] 33b1e0a273af: Verifying Checksum [2022-05-11T22:50:34.185Z] 33b1e0a273af: Download complete [2022-05-11T22:50:34.185Z] 5d3b04190fa2: Download complete [2022-05-11T22:50:34.185Z] ec43610c2a17: Verifying Checksum [2022-05-11T22:50:34.185Z] ec43610c2a17: Download complete [2022-05-11T22:50:34.444Z] 5eb5b503b376: Verifying Checksum [2022-05-11T22:50:34.444Z] 5eb5b503b376: Download complete [2022-05-11T22:50:35.011Z] 2f39f015ded8: Download complete [2022-05-11T22:50:35.579Z] 5eb5b503b376: Pull complete [2022-05-11T22:50:35.838Z] 5c69ac0246d0: Pull complete [2022-05-11T22:50:36.098Z] ec43610c2a17: Pull complete [2022-05-11T22:50:36.357Z] 3a2ae6a8a46f: Pull complete [2022-05-11T22:50:36.616Z] 33b1e0a273af: Pull complete [2022-05-11T22:50:36.616Z] 5d3b04190fa2: Pull complete [2022-05-11T22:50:40.803Z] 2f39f015ded8: Pull complete [2022-05-11T22:50:40.803Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T22:50:40.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T22:50:40.803Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T22:50:40.877Z] prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container [2022-05-11T22:50:40.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T22:50:42.338Z] $ docker top 42b0481a9dd4be0f045e7f03ed3512f2287f335a5fca0d8aaffc2013f04ba41c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:50:42.724Z] ---> job-cost.sh [2022-05-11T22:50:42.724Z] lf-activate-venv: SKIPPING [2022-05-11T22:50:42.724Z] INFO: No Stack... [2022-05-11T22:50:43.296Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T22:50:43.558Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T22:50:43.855Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-05-11T22:50:43.855Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T22:50:43.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] [2022-05-11T22:50:43.878Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] did not exist. Created. [2022-05-11T22:50:43.878Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T22:50:44.183Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T22:50:44.219Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T22:50:44.225Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T22:50:44.253Z] $ docker stop --time=1 42b0481a9dd4be0f045e7f03ed3512f2287f335a5fca0d8aaffc2013f04ba41c [2022-05-11T22:50:45.514Z] $ docker rm -f 42b0481a9dd4be0f045e7f03ed3512f2287f335a5fca0d8aaffc2013f04ba41c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T22:51:47.060Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63291 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-05-11T22:51:47.074Z] Running in /w/workspace/device-modbus-go/39 [Pipeline] { [Pipeline] checkout [2022-05-11T22:51:47.373Z] Selected Git installation does not exist. Using Default [2022-05-11T22:51:47.373Z] The recommended git tool is: NONE [2022-05-11T22:51:54.052Z] using credential edgex-jenkins-ssh [2022-05-11T22:51:54.070Z] Cloning the remote Git repository [2022-05-11T22:51:54.136Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-11T22:51:54.228Z] > git init /w/workspace/device-modbus-go/39 # timeout=10 [2022-05-11T22:51:54.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-11T22:51:54.318Z] > git --version # timeout=10 [2022-05-11T22:51:54.347Z] > git --version # 'git version 2.25.1' [2022-05-11T22:51:54.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T22:51:54.441Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T22:51:55.543Z] Avoid second fetch [2022-05-11T22:51:55.544Z] Checking out Revision 0da803b9e852e60e6d0c38932136853af8aaf1e9 (main) [2022-05-11T22:51:55.501Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-11T22:51:55.524Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T22:51:55.571Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T22:51:55.594Z] > git checkout -f 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 [2022-05-11T22:52:00.073Z] 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-11T22:52:00.979Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T22:52:00.979Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T22:52:00.979Z] Dload Upload Total Spent Left Speed [2022-05-11T22:52:00.979Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh [2022-05-11T22:52:01.516Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T22:52:01.862Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-05-11T22:52:01.862Z] sudo tee /etc/docker/daemon.new [2022-05-11T22:52:01.862Z] { [2022-05-11T22:52:01.862Z] "registry-mirrors": [ [2022-05-11T22:52:01.862Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T22:52:01.862Z] ], [2022-05-11T22:52:01.862Z] "bip": "10.250.0.254/24", [2022-05-11T22:52:01.862Z] "hosts": [ [2022-05-11T22:52:01.862Z] "tcp://0.0.0.0:5555", [2022-05-11T22:52:01.862Z] "unix:///var/run/docker.sock" [2022-05-11T22:52:01.862Z] ], [2022-05-11T22:52:01.862Z] "mtu": 1458, [2022-05-11T22:52:01.862Z] "selinux-enabled": true, [2022-05-11T22:52:01.863Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T22:52:01.863Z] } [Pipeline] sh [2022-05-11T22:52:02.220Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T22:52:02.568Z] + sudo service docker restart [Pipeline] sh [2022-05-11T22:52:21.275Z] + git checkout 0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:52:21.275Z] HEAD is now at 0da803b Merge pull request #346 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T22:52:21.316Z] provisioning config files... [2022-05-11T22:52:21.344Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/39@tmp/config6659507744561840008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:52:21.740Z] ---> docker-login.sh [2022-05-11T22:52:21.740Z] nexus3.edgexfoundry.org:10001 [2022-05-11T22:52:22.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:52:23.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:52:23.350Z] Configure a credential helper to remove this warning. See [2022-05-11T22:52:23.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:52:23.350Z] [2022-05-11T22:52:23.350Z] Login Succeeded [2022-05-11T22:52:23.350Z] nexus3.edgexfoundry.org:10002 [2022-05-11T22:52:23.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:52:23.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:52:23.916Z] Configure a credential helper to remove this warning. See [2022-05-11T22:52:23.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:52:23.916Z] [2022-05-11T22:52:23.916Z] Login Succeeded [2022-05-11T22:52:23.916Z] nexus3.edgexfoundry.org:10003 [2022-05-11T22:52:24.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:52:24.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:52:24.475Z] Configure a credential helper to remove this warning. See [2022-05-11T22:52:24.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:52:24.475Z] [2022-05-11T22:52:24.475Z] Login Succeeded [2022-05-11T22:52:24.475Z] nexus3.edgexfoundry.org:10004 [2022-05-11T22:52:24.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:52:25.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:52:25.091Z] Configure a credential helper to remove this warning. See [2022-05-11T22:52:25.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:52:25.091Z] [2022-05-11T22:52:25.091Z] Login Succeeded [2022-05-11T22:52:25.091Z] docker.io [2022-05-11T22:52:25.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:52:25.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:52:25.658Z] Configure a credential helper to remove this warning. See [2022-05-11T22:52:25.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:52:25.658Z] [2022-05-11T22:52:25.658Z] Login Succeeded [2022-05-11T22:52:25.658Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T22:52:25.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T22:52:26.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T22:52:26.257Z] ========================================================= [2022-05-11T22:52:26.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T22:52:26.257Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:52:26.677Z] + 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-11T22:52:26.953Z] Sending build context to Docker daemon 3.078MB [2022-05-11T22:52:27.255Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T22:52:27.255Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-11T22:52:27.255Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T22:52:27.255Z] 9b3977197b4f: Pulling fs layer [2022-05-11T22:52:27.255Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T22:52:27.255Z] 94645a83ff95: Pulling fs layer [2022-05-11T22:52:27.255Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T22:52:27.255Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T22:52:27.255Z] 3096ccb668a1: Pulling fs layer [2022-05-11T22:52:27.255Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T22:52:27.255Z] a4caa8a26152: Pulling fs layer [2022-05-11T22:52:27.255Z] 0c92f367c5e7: Waiting [2022-05-11T22:52:27.255Z] 3096ccb668a1: Waiting [2022-05-11T22:52:27.255Z] e8cf19c19ddd: Waiting [2022-05-11T22:52:27.255Z] a4caa8a26152: Waiting [2022-05-11T22:52:27.255Z] 3f3a8bcf1eab: Waiting [2022-05-11T22:52:27.255Z] 94645a83ff95: Verifying Checksum [2022-05-11T22:52:27.255Z] 94645a83ff95: Download complete [2022-05-11T22:52:27.255Z] 1a89e8eeedd5: Download complete [2022-05-11T22:52:27.542Z] 0c92f367c5e7: Download complete [2022-05-11T22:52:27.542Z] 3096ccb668a1: Download complete [2022-05-11T22:52:27.542Z] e8cf19c19ddd: Verifying Checksum [2022-05-11T22:52:27.542Z] e8cf19c19ddd: Download complete [2022-05-11T22:52:27.542Z] 9b3977197b4f: Verifying Checksum [2022-05-11T22:52:27.542Z] 9b3977197b4f: Download complete [2022-05-11T22:52:28.547Z] 9b3977197b4f: Pull complete [2022-05-11T22:52:29.158Z] 1a89e8eeedd5: Pull complete [2022-05-11T22:52:29.440Z] 94645a83ff95: Pull complete [2022-05-11T22:52:29.717Z] a4caa8a26152: Verifying Checksum [2022-05-11T22:52:29.717Z] a4caa8a26152: Download complete [2022-05-11T22:52:30.329Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T22:52:30.329Z] 3f3a8bcf1eab: Download complete [2022-05-11T22:52:45.572Z] 3f3a8bcf1eab: Pull complete [2022-05-11T22:52:45.572Z] 0c92f367c5e7: Pull complete [2022-05-11T22:52:45.572Z] 3096ccb668a1: Pull complete [2022-05-11T22:52:45.572Z] e8cf19c19ddd: Pull complete [2022-05-11T22:52:50.993Z] a4caa8a26152: Pull complete [2022-05-11T22:52:50.993Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T22:52:50.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T22:52:50.993Z] ---> 725f1c02e7f9 [2022-05-11T22:52:50.993Z] Step 3/10 : ARG MAKE='make build' [2022-05-11T22:52:50.993Z] ---> Running in e3cdd5c73c82 [2022-05-11T22:52:51.266Z] Removing intermediate container e3cdd5c73c82 [2022-05-11T22:52:51.266Z] ---> 76b22a5de4db [2022-05-11T22:52:51.266Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T22:52:51.540Z] ---> Running in be4748dd6423 [2022-05-11T22:52:53.555Z] Removing intermediate container be4748dd6423 [2022-05-11T22:52:53.555Z] ---> b55a3a7efd52 [2022-05-11T22:52:53.555Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T22:52:53.555Z] ---> Running in 23eb334594ca [2022-05-11T22:52:56.179Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T22:52:56.780Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T22:52:57.766Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T22:52:57.766Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-11T22:52:58.042Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T22:52:58.042Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T22:52:58.318Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-11T22:52:58.318Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-11T22:52:58.318Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-11T22:52:58.595Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-11T22:52:58.595Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T22:52:58.595Z] OK: 226 MiB in 60 packages [2022-05-11T22:53:00.057Z] Removing intermediate container 23eb334594ca [2022-05-11T22:53:00.057Z] ---> 11d57369b465 [2022-05-11T22:53:00.057Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-11T22:53:00.057Z] ---> Running in 033b84dbc54b [2022-05-11T22:53:00.057Z] Removing intermediate container 033b84dbc54b [2022-05-11T22:53:00.057Z] ---> 1ab2d83a31e6 [2022-05-11T22:53:00.057Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-11T22:53:00.663Z] ---> 4ecb6ccd0a7f [2022-05-11T22:53:00.663Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T22:53:00.943Z] ---> Running in cf0cc6180a8a [2022-05-11T22:53:57.545Z] Removing intermediate container cf0cc6180a8a [2022-05-11T22:53:57.545Z] ---> 2b11a706a909 [2022-05-11T22:53:57.545Z] Step 9/10 : COPY . . [2022-05-11T22:53:57.545Z] ---> bf8834f85c47 [2022-05-11T22:53:57.545Z] Step 10/10 : RUN ${MAKE} [2022-05-11T22:53:57.545Z] ---> Running in f8e11650aa59 [2022-05-11T22:53:57.545Z] noop [2022-05-11T22:53:57.545Z] Removing intermediate container f8e11650aa59 [2022-05-11T22:53:57.545Z] ---> eef3bb48096a [2022-05-11T22:53:57.545Z] Successfully built eef3bb48096a [2022-05-11T22:53:57.545Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:53:57.895Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T22:53:57.895Z] . [Pipeline] withDockerContainer [2022-05-11T22:53:58.156Z] prd-ubuntu20.04-docker-arm64-4c-16g-63291 does not seem to be running inside a container [2022-05-11T22:53:58.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/39 -v /w/workspace/device-modbus-go/39:/w/workspace/device-modbus-go/39:rw,z -v /w/workspace/device-modbus-go/39@tmp:/w/workspace/device-modbus-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-11T22:53:59.660Z] $ docker top 23ee38f2df6b88a03c59e8d4c06b39b57ad31ef2326be93e16e37d83d6168f9a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T22:54:00.615Z] + go version [2022-05-11T22:54:00.615Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T22:54:00.641Z] $ docker stop --time=1 23ee38f2df6b88a03c59e8d4c06b39b57ad31ef2326be93e16e37d83d6168f9a [2022-05-11T22:54:02.352Z] $ docker rm -f 23ee38f2df6b88a03c59e8d4c06b39b57ad31ef2326be93e16e37d83d6168f9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:54:02.990Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T22:54:02.990Z] . [Pipeline] withDockerContainer [2022-05-11T22:54:03.237Z] prd-ubuntu20.04-docker-arm64-4c-16g-63291 does not seem to be running inside a container [2022-05-11T22:54:03.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/39 -v /w/workspace/device-modbus-go/39:/w/workspace/device-modbus-go/39:rw,z -v /w/workspace/device-modbus-go/39@tmp:/w/workspace/device-modbus-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-11T22:54:04.691Z] $ docker top fb37ee7afbadbf7a4275a65da88df05a4712364b032da2cffc86691d4894ac64 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T22:54:05.646Z] + make test [2022-05-11T22:54:05.647Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-11T22:54:07.643Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-11T22:55:44.568Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-11T22:55:44.568Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.072s coverage: 46.4% of statements [2022-05-11T22:55:44.568Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T22:55:44.568Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T22:56:06.801Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T22:56:06.801Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T22:56:06.801Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T22:56:09.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T22:56:09.456Z] $ docker stop --time=1 fb37ee7afbadbf7a4275a65da88df05a4712364b032da2cffc86691d4894ac64 [2022-05-11T22:56:11.306Z] $ docker rm -f fb37ee7afbadbf7a4275a65da88df05a4712364b032da2cffc86691d4894ac64 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T22:56:12.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T22:56:12.370Z] Warning: overwriting stash ‘coverage-report’ [2022-05-11T22:56:12.900Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T22:56:13.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T22:56:13.668Z] + ls -al . [2022-05-11T22:56:13.668Z] total 180 [2022-05-11T22:56:13.668Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 22:56 . [2022-05-11T22:56:13.668Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:51 .. [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 22:51 .dockerignore [2022-05-11T22:56:13.668Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:52 .git [2022-05-11T22:56:13.668Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:51 .github [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 331 May 11 22:51 .gitignore [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:51 .golangci.yml [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 11 22:51 Attribution.txt [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 11 22:51 CHANGELOG.md [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 11 22:51 Dockerfile [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:51 GOVERNANCE.md [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:51 Jenkinsfile [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:51 LICENSE [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 11 22:51 Makefile [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 622 May 11 22:51 OWNERS.md [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 11 22:51 README.md [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:48 VERSION [2022-05-11T22:56:13.668Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:51 bin [2022-05-11T22:56:13.668Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:51 cmd [2022-05-11T22:56:13.668Z] -rw-r--r-- 1 jenkins jenkins 24065 May 11 22:55 coverage.out [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 3353 May 11 22:51 go.mod [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 34983 May 11 22:51 go.sum [2022-05-11T22:56:13.668Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:51 internal [2022-05-11T22:56:13.668Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:51 simulator [2022-05-11T22:56:13.668Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:51 snap [2022-05-11T22:56:13.668Z] -rw-rw-r-- 1 jenkins jenkins 229 May 11 22:51 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:56:14.023Z] + 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 . [2022-05-11T22:56:14.309Z] Sending build context to Docker daemon 3.103MB [2022-05-11T22:56:14.309Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T22:56:14.309Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-11T22:56:14.309Z] ---> eef3bb48096a [2022-05-11T22:56:14.309Z] Step 3/23 : ARG MAKE='make build' [2022-05-11T22:56:14.583Z] ---> Running in de37aca7d153 [2022-05-11T22:56:14.870Z] Removing intermediate container de37aca7d153 [2022-05-11T22:56:14.870Z] ---> 0d1ebad80d57 [2022-05-11T22:56:14.870Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T22:56:14.870Z] ---> Running in a6530eac49e9 [2022-05-11T22:56:16.846Z] Removing intermediate container a6530eac49e9 [2022-05-11T22:56:16.846Z] ---> f3c6999864b0 [2022-05-11T22:56:16.846Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T22:56:16.846Z] ---> Running in 20a66f1529a3 [2022-05-11T22:56:17.826Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T22:56:18.813Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T22:56:19.793Z] OK: 226 MiB in 60 packages [2022-05-11T22:56:20.414Z] Removing intermediate container 20a66f1529a3 [2022-05-11T22:56:20.414Z] ---> 3492e70878e6 [2022-05-11T22:56:20.414Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-11T22:56:20.414Z] ---> Running in 3053a5118298 [2022-05-11T22:56:21.017Z] Removing intermediate container 3053a5118298 [2022-05-11T22:56:21.017Z] ---> 55a49b2800a9 [2022-05-11T22:56:21.017Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-11T22:56:21.633Z] ---> 9c0bb718b17c [2022-05-11T22:56:21.633Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T22:56:21.633Z] ---> Running in 700cd2daaf00 [2022-05-11T22:56:23.613Z] Removing intermediate container 700cd2daaf00 [2022-05-11T22:56:23.613Z] ---> 29eb20c3ff17 [2022-05-11T22:56:23.613Z] Step 9/23 : COPY . . [2022-05-11T22:56:24.592Z] ---> fd72b253c19c [2022-05-11T22:56:24.592Z] Step 10/23 : RUN ${MAKE} [2022-05-11T22:56:24.592Z] ---> Running in 28fb2b95288a [2022-05-11T22:56:25.577Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-11T22:58:47.509Z] Removing intermediate container 28fb2b95288a [2022-05-11T22:58:47.509Z] ---> 93c4f187ea66 [2022-05-11T22:58:47.509Z] Step 11/23 : FROM alpine:3.14 [2022-05-11T22:58:47.509Z] 3.14: Pulling from library/alpine [2022-05-11T22:58:47.509Z] 455c02918c45: Pulling fs layer [2022-05-11T22:58:47.509Z] 455c02918c45: Pull complete [2022-05-11T22:58:47.509Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T22:58:47.509Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T22:58:47.509Z] ---> ac73e934f311 [2022-05-11T22:58:47.509Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-11T22:58:47.509Z] ---> Running in 80cdea40b691 [2022-05-11T22:58:47.509Z] Removing intermediate container 80cdea40b691 [2022-05-11T22:58:47.509Z] ---> 4be497be0218 [2022-05-11T22:58:47.509Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T22:58:47.509Z] ---> Running in f6981fb2ee51 [2022-05-11T22:58:47.509Z] Removing intermediate container f6981fb2ee51 [2022-05-11T22:58:47.509Z] ---> 6fca1b683081 [2022-05-11T22:58:47.509Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T22:58:47.509Z] ---> Running in bc3bef743f4e [2022-05-11T22:58:47.782Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-11T22:58:48.768Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-11T22:58:49.751Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T22:58:49.751Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T22:58:49.751Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T22:58:50.025Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T22:58:50.025Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T22:58:50.303Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T22:58:50.303Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T22:58:50.303Z] OK: 8 MiB in 20 packages [2022-05-11T22:58:51.310Z] Removing intermediate container bc3bef743f4e [2022-05-11T22:58:51.310Z] ---> 8b4b0408ba1b [2022-05-11T22:58:51.310Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-11T22:58:52.753Z] ---> a68dceedd90c [2022-05-11T22:58:52.753Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-11T22:58:53.359Z] ---> bf36de372d3a [2022-05-11T22:58:53.359Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-11T22:58:53.956Z] ---> 9024107fa257 [2022-05-11T22:58:53.956Z] Step 18/23 : EXPOSE 59901 [2022-05-11T22:58:53.956Z] ---> Running in 2ab404caa94f [2022-05-11T22:58:54.230Z] Removing intermediate container 2ab404caa94f [2022-05-11T22:58:54.230Z] ---> 8e2f5b069b6f [2022-05-11T22:58:54.230Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-11T22:58:54.230Z] ---> Running in 6365f995d311 [2022-05-11T22:58:54.504Z] Removing intermediate container 6365f995d311 [2022-05-11T22:58:54.504Z] ---> b45f1aac4cf1 [2022-05-11T22:58:54.504Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T22:58:54.504Z] ---> Running in 8ef9c154e994 [2022-05-11T22:58:54.780Z] Removing intermediate container 8ef9c154e994 [2022-05-11T22:58:54.780Z] ---> 8c757e00535e [2022-05-11T22:58:54.780Z] Step 21/23 : LABEL arch=arm64 [2022-05-11T22:58:55.055Z] ---> Running in edc701e343a9 [2022-05-11T22:58:55.330Z] Removing intermediate container edc701e343a9 [2022-05-11T22:58:55.330Z] ---> bc0aeb969dcd [2022-05-11T22:58:55.330Z] Step 22/23 : LABEL git_sha=0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:58:55.330Z] ---> Running in c81efe3801ae [2022-05-11T22:58:55.606Z] Removing intermediate container c81efe3801ae [2022-05-11T22:58:55.606Z] ---> 8d1bf5ceb252 [2022-05-11T22:58:55.606Z] Step 23/23 : LABEL version=2.2.0 [2022-05-11T22:58:55.606Z] ---> Running in 9e567b1ebc8f [2022-05-11T22:58:55.881Z] Removing intermediate container 9e567b1ebc8f [2022-05-11T22:58:55.881Z] ---> a041a600caed [2022-05-11T22:58:55.881Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T22:58:56.154Z] Successfully built a041a600caed [2022-05-11T22:58:56.154Z] 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-11T22:58:56.269Z] provisioning config files... [2022-05-11T22:58:56.288Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/39@tmp/config120809011616608603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:58:56.652Z] ---> docker-login.sh [2022-05-11T22:58:56.652Z] nexus3.edgexfoundry.org:10001 [2022-05-11T22:58:56.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:58:56.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:58:56.925Z] Configure a credential helper to remove this warning. See [2022-05-11T22:58:56.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:58:56.925Z] [2022-05-11T22:58:56.925Z] Login Succeeded [2022-05-11T22:58:56.925Z] nexus3.edgexfoundry.org:10002 [2022-05-11T22:58:57.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:58:57.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:58:57.520Z] Configure a credential helper to remove this warning. See [2022-05-11T22:58:57.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:58:57.520Z] [2022-05-11T22:58:57.520Z] Login Succeeded [2022-05-11T22:58:57.520Z] nexus3.edgexfoundry.org:10003 [2022-05-11T22:58:57.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:58:58.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:58:58.065Z] Configure a credential helper to remove this warning. See [2022-05-11T22:58:58.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:58:58.065Z] [2022-05-11T22:58:58.065Z] Login Succeeded [2022-05-11T22:58:58.065Z] nexus3.edgexfoundry.org:10004 [2022-05-11T22:58:58.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:58:58.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:58:58.339Z] Configure a credential helper to remove this warning. See [2022-05-11T22:58:58.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:58:58.339Z] [2022-05-11T22:58:58.339Z] Login Succeeded [2022-05-11T22:58:58.613Z] docker.io [2022-05-11T22:58:58.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:58:59.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:58:59.160Z] Configure a credential helper to remove this warning. See [2022-05-11T22:58:59.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:58:59.160Z] [2022-05-11T22:58:59.160Z] Login Succeeded [2022-05-11T22:58:59.160Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T22:58:59.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T22:58:59.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T22:58:59.239Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-05-11T22:58:59.239Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:58:59.239Z] latest [2022-05-11T22:58:59.239Z] 2.2.0 [2022-05-11T22:58:59.239Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 [2022-05-11T22:58:59.239Z] main [2022-05-11T22:58:59.239Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:58:59.615Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:58:59.976Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:58:59.976Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-11T22:58:59.976Z] 95e51a59d647: Preparing [2022-05-11T22:58:59.976Z] c2dee975b071: Preparing [2022-05-11T22:58:59.976Z] 179445e56fa9: Preparing [2022-05-11T22:58:59.976Z] 6b6ec725e00c: Preparing [2022-05-11T22:58:59.976Z] 0c3c4d2d570c: Preparing [2022-05-11T22:58:59.976Z] f73e7dbfee58: Preparing [2022-05-11T22:58:59.976Z] f73e7dbfee58: Waiting [2022-05-11T22:59:00.263Z] c2dee975b071: Pushed [2022-05-11T22:59:00.263Z] 0c3c4d2d570c: Pushed [2022-05-11T22:59:00.263Z] 95e51a59d647: Pushed [2022-05-11T22:59:00.263Z] f73e7dbfee58: Layer already exists [2022-05-11T22:59:00.861Z] 6b6ec725e00c: Pushed [2022-05-11T22:59:07.592Z] 179445e56fa9: Pushed [2022-05-11T22:59:07.592Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9: digest: sha256:070589f4dd154c1d22ff2e62378ab33b8848c9e07cfd05c5026dbf1e4cef9e4d size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:07.947Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:08.294Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-11T22:59:08.294Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-11T22:59:08.294Z] 95e51a59d647: Preparing [2022-05-11T22:59:08.294Z] c2dee975b071: Preparing [2022-05-11T22:59:08.294Z] 179445e56fa9: Preparing [2022-05-11T22:59:08.294Z] 6b6ec725e00c: Preparing [2022-05-11T22:59:08.294Z] 0c3c4d2d570c: Preparing [2022-05-11T22:59:08.294Z] f73e7dbfee58: Preparing [2022-05-11T22:59:08.294Z] f73e7dbfee58: Waiting [2022-05-11T22:59:08.294Z] 6b6ec725e00c: Layer already exists [2022-05-11T22:59:08.294Z] 179445e56fa9: Layer already exists [2022-05-11T22:59:08.294Z] c2dee975b071: Layer already exists [2022-05-11T22:59:08.294Z] 0c3c4d2d570c: Layer already exists [2022-05-11T22:59:08.294Z] 95e51a59d647: Layer already exists [2022-05-11T22:59:08.294Z] f73e7dbfee58: Layer already exists [2022-05-11T22:59:08.566Z] latest: digest: sha256:070589f4dd154c1d22ff2e62378ab33b8848c9e07cfd05c5026dbf1e4cef9e4d size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:08.917Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:09.262Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0 [2022-05-11T22:59:09.262Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-11T22:59:09.262Z] 95e51a59d647: Preparing [2022-05-11T22:59:09.262Z] c2dee975b071: Preparing [2022-05-11T22:59:09.262Z] 179445e56fa9: Preparing [2022-05-11T22:59:09.262Z] 6b6ec725e00c: Preparing [2022-05-11T22:59:09.262Z] 0c3c4d2d570c: Preparing [2022-05-11T22:59:09.262Z] f73e7dbfee58: Preparing [2022-05-11T22:59:09.262Z] f73e7dbfee58: Waiting [2022-05-11T22:59:09.262Z] 95e51a59d647: Layer already exists [2022-05-11T22:59:09.262Z] 6b6ec725e00c: Layer already exists [2022-05-11T22:59:09.262Z] 0c3c4d2d570c: Layer already exists [2022-05-11T22:59:09.262Z] 179445e56fa9: Layer already exists [2022-05-11T22:59:09.262Z] c2dee975b071: Layer already exists [2022-05-11T22:59:09.262Z] f73e7dbfee58: Layer already exists [2022-05-11T22:59:09.536Z] 2.2.0: digest: sha256:070589f4dd154c1d22ff2e62378ab33b8848c9e07cfd05c5026dbf1e4cef9e4d size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:09.892Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:10.235Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 [2022-05-11T22:59:10.235Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-11T22:59:10.235Z] 95e51a59d647: Preparing [2022-05-11T22:59:10.235Z] c2dee975b071: Preparing [2022-05-11T22:59:10.235Z] 179445e56fa9: Preparing [2022-05-11T22:59:10.235Z] 6b6ec725e00c: Preparing [2022-05-11T22:59:10.235Z] 0c3c4d2d570c: Preparing [2022-05-11T22:59:10.235Z] f73e7dbfee58: Preparing [2022-05-11T22:59:10.235Z] f73e7dbfee58: Waiting [2022-05-11T22:59:10.235Z] 0c3c4d2d570c: Layer already exists [2022-05-11T22:59:10.235Z] 95e51a59d647: Layer already exists [2022-05-11T22:59:10.235Z] c2dee975b071: Layer already exists [2022-05-11T22:59:10.235Z] 6b6ec725e00c: Layer already exists [2022-05-11T22:59:10.235Z] 179445e56fa9: Layer already exists [2022-05-11T22:59:10.235Z] f73e7dbfee58: Layer already exists [2022-05-11T22:59:10.509Z] 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0: digest: sha256:070589f4dd154c1d22ff2e62378ab33b8848c9e07cfd05c5026dbf1e4cef9e4d size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:10.862Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:11.207Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-05-11T22:59:11.207Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-11T22:59:11.207Z] 95e51a59d647: Preparing [2022-05-11T22:59:11.207Z] c2dee975b071: Preparing [2022-05-11T22:59:11.207Z] 179445e56fa9: Preparing [2022-05-11T22:59:11.207Z] 6b6ec725e00c: Preparing [2022-05-11T22:59:11.207Z] 0c3c4d2d570c: Preparing [2022-05-11T22:59:11.207Z] f73e7dbfee58: Preparing [2022-05-11T22:59:11.207Z] f73e7dbfee58: Waiting [2022-05-11T22:59:11.207Z] c2dee975b071: Layer already exists [2022-05-11T22:59:11.207Z] 0c3c4d2d570c: Layer already exists [2022-05-11T22:59:11.207Z] 179445e56fa9: Layer already exists [2022-05-11T22:59:11.207Z] 95e51a59d647: Layer already exists [2022-05-11T22:59:11.207Z] 6b6ec725e00c: Layer already exists [2022-05-11T22:59:11.207Z] f73e7dbfee58: Layer already exists [2022-05-11T22:59:11.478Z] main: digest: sha256:070589f4dd154c1d22ff2e62378ab33b8848c9e07cfd05c5026dbf1e4cef9e4d size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T22:59:11.529Z] ===================================================== [Pipeline] echo [2022-05-11T22:59:11.540Z] taggedImages: [2022-05-11T22:59:11.540Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 [2022-05-11T22:59:11.540Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-11T22:59:11.540Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0 [2022-05-11T22:59:11.540Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 [2022-05-11T22:59:11.540Z] - 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-11T22:59:11.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T22:59:11.914Z] [2022-05-11T22:59:11.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:12.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T22:59:12.546Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T22:59:12.546Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T22:59:12.546Z] 04944245beec: Pulling fs layer [2022-05-11T22:59:12.546Z] 699f458cf7ca: Pulling fs layer [2022-05-11T22:59:12.546Z] 765212b225bb: Pulling fs layer [2022-05-11T22:59:12.546Z] f23df028b6ca: Pulling fs layer [2022-05-11T22:59:12.546Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T22:59:12.546Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T22:59:12.546Z] 765212b225bb: Waiting [2022-05-11T22:59:12.546Z] f23df028b6ca: Waiting [2022-05-11T22:59:12.546Z] d65c8cfc05b1: Waiting [2022-05-11T22:59:12.546Z] 2437ff75d9bd: Waiting [2022-05-11T22:59:12.546Z] 04944245beec: Verifying Checksum [2022-05-11T22:59:12.546Z] 04944245beec: Download complete [2022-05-11T22:59:12.546Z] 765212b225bb: Verifying Checksum [2022-05-11T22:59:12.546Z] 765212b225bb: Download complete [2022-05-11T22:59:12.546Z] f23df028b6ca: Verifying Checksum [2022-05-11T22:59:12.546Z] f23df028b6ca: Download complete [2022-05-11T22:59:12.546Z] d65c8cfc05b1: Verifying Checksum [2022-05-11T22:59:12.546Z] d65c8cfc05b1: Download complete [2022-05-11T22:59:12.821Z] 699f458cf7ca: Verifying Checksum [2022-05-11T22:59:12.821Z] 699f458cf7ca: Download complete [2022-05-11T22:59:13.095Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T22:59:15.075Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T22:59:15.075Z] 2437ff75d9bd: Download complete [2022-05-11T22:59:17.060Z] 8998bd30e6a1: Pull complete [2022-05-11T22:59:17.660Z] 04944245beec: Pull complete [2022-05-11T22:59:19.100Z] 699f458cf7ca: Pull complete [2022-05-11T22:59:19.376Z] 765212b225bb: Pull complete [2022-05-11T22:59:19.973Z] f23df028b6ca: Pull complete [2022-05-11T22:59:20.247Z] d65c8cfc05b1: Pull complete [2022-05-11T22:59:35.351Z] 2437ff75d9bd: Pull complete [2022-05-11T22:59:35.351Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T22:59:35.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T22:59:35.351Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T22:59:35.605Z] prd-ubuntu20.04-docker-arm64-4c-16g-63291 does not seem to be running inside a container [2022-05-11T22:59:35.780Z] $ 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/39 -v /w/workspace/device-modbus-go/39:/w/workspace/device-modbus-go/39:rw,z -v /w/workspace/device-modbus-go/39@tmp:/w/workspace/device-modbus-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-11T22:59:38.801Z] $ docker top 29727a5e5ac3b382e8a5de8e8cc6df9030819966c4aed471777f206e60d62152 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:59:39.850Z] ---> job-cost.sh [2022-05-11T22:59:40.127Z] lf-activate-venv: SKIPPING [2022-05-11T22:59:40.127Z] INFO: No Stack... [2022-05-11T22:59:40.403Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T22:59:41.403Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T22:59:42.109Z] + cat /w/workspace/device-modbus-go/39/archives/cost.csv [2022-05-11T22:59:42.109Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T22:59:42.148Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] [2022-05-11T22:59:42.153Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] did not exist. Created. [2022-05-11T22:59:42.153Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T22:59:42.845Z] /w/workspace/device-modbus-go/39@tmp/durable-40ead710/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T22:59:43.543Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T22:59:43.568Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T22:59:43.624Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T22:59:43.630Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T22:59:43.654Z] $ docker stop --time=1 29727a5e5ac3b382e8a5de8e8cc6df9030819966c4aed471777f206e60d62152 [2022-05-11T22:59:45.187Z] $ docker rm -f 29727a5e5ac3b382e8a5de8e8cc6df9030819966c4aed471777f206e60d62152 [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-11T22:59:45.650Z] provisioning config files... [2022-05-11T22:59:45.662Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8509702901218291171tmp [Pipeline] { [Pipeline] sh [2022-05-11T22:59:45.961Z] + set +x [2022-05-11T22:59:45.961Z] + curl -s https://codecov.io/bash [2022-05-11T22:59:45.961Z] + bash -s -- [2022-05-11T22:59:45.961Z] [2022-05-11T22:59:45.961Z] _____ _ [2022-05-11T22:59:45.961Z] / ____| | | [2022-05-11T22:59:45.961Z] | | ___ __| | ___ ___ _____ __ [2022-05-11T22:59:45.961Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-11T22:59:45.961Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-11T22:59:45.961Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-11T22:59:45.961Z] Bash-1.0.6 [2022-05-11T22:59:45.961Z] [2022-05-11T22:59:45.961Z] [2022-05-11T22:59:45.961Z] ==> git version 2.25.1 found [2022-05-11T22:59:45.961Z] ==> 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-11T22:59:45.961Z] Release-Date: 2020-01-08 [2022-05-11T22:59:45.961Z] 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-11T22:59:45.961Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-11T22:59:45.961Z] ==> Jenkins CI detected. [2022-05-11T22:59:45.961Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-05-11T22:59:45.962Z] project root: . [2022-05-11T22:59:45.962Z] --> token set from env [2022-05-11T22:59:45.962Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-11T22:59:45.962Z] ==> Running gcov in . (disable via -X gcov) [2022-05-11T22:59:45.962Z] ==> Python coveragepy not found [2022-05-11T22:59:45.962Z] ==> Searching for coverage reports in: [2022-05-11T22:59:45.962Z] + . [2022-05-11T22:59:45.962Z] -> Found 1 reports [2022-05-11T22:59:45.962Z] ==> Detecting git/mercurial file structure [2022-05-11T22:59:45.962Z] ==> Reading reports [2022-05-11T22:59:45.962Z] + ./coverage.out bytes=24065 [2022-05-11T22:59:45.962Z] ==> Appending adjustments [2022-05-11T22:59:45.962Z] https://docs.codecov.io/docs/fixing-reports [2022-05-11T22:59:46.222Z] + Found adjustments [2022-05-11T22:59:46.222Z] ==> Gzipping contents [2022-05-11T22:59:46.222Z] 4.0K /tmp/codecov.NeuIEH.gz [2022-05-11T22:59:46.222Z] ==> Uploading reports [2022-05-11T22:59:46.222Z] url: https://codecov.io [2022-05-11T22:59:46.222Z] query: branch=main&commit=0da803b9e852e60e6d0c38932136853af8aaf1e9&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T22:59:46.222Z] -> Pinging Codecov [2022-05-11T22:59:46.222Z] 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=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T22:59:46.483Z] -> Uploading to [2022-05-11T22:59:46.483Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-11/55DBCA73C666E3227836607328DD7E49/0da803b9e852e60e6d0c38932136853af8aaf1e9/e3097af4-da4b-4c70-99f9-0c26a2da7df6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T225946Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=988e16b20560bfd42347f881e0cf363fa1d7a3bc5faea313311ea4a46e590f39 [2022-05-11T22:59:46.483Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T22:59:46.483Z] Dload Upload Total Spent Left Speed [2022-05-11T22:59:46.744Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4011 0 0 100 4011 0 17669 --:--:-- --:--:-- --:--:-- 17669 [2022-05-11T22:59:46.744Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] } [2022-05-11T22:59:46.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-11T22:59:46.891Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-11T22:59:46.900Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:47.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T22:59:47.201Z] [2022-05-11T22:59:47.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:47.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T22:59:47.505Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-11T22:59:47.505Z] 188c0c94c7c5: Pulling fs layer [2022-05-11T22:59:47.505Z] 0ef7d3d256c8: Pulling fs layer [2022-05-11T22:59:47.505Z] de9db76c5a1d: Pulling fs layer [2022-05-11T22:59:47.505Z] 0eba1c9be4d2: Pulling fs layer [2022-05-11T22:59:47.505Z] 0d57e429df01: Pulling fs layer [2022-05-11T22:59:47.505Z] 4e4be7b47b0d: Pulling fs layer [2022-05-11T22:59:47.505Z] e1f770b5df2f: Pulling fs layer [2022-05-11T22:59:47.505Z] 85a0685a4137: Pulling fs layer [2022-05-11T22:59:47.505Z] 0d57e429df01: Waiting [2022-05-11T22:59:47.505Z] 4e4be7b47b0d: Waiting [2022-05-11T22:59:47.505Z] e1f770b5df2f: Waiting [2022-05-11T22:59:47.505Z] 85a0685a4137: Waiting [2022-05-11T22:59:47.505Z] de9db76c5a1d: Verifying Checksum [2022-05-11T22:59:47.505Z] de9db76c5a1d: Download complete [2022-05-11T22:59:47.505Z] 0ef7d3d256c8: Download complete [2022-05-11T22:59:47.505Z] 0d57e429df01: Download complete [2022-05-11T22:59:47.505Z] 4e4be7b47b0d: Verifying Checksum [2022-05-11T22:59:47.505Z] 4e4be7b47b0d: Download complete [2022-05-11T22:59:47.505Z] 188c0c94c7c5: Verifying Checksum [2022-05-11T22:59:47.505Z] 188c0c94c7c5: Download complete [2022-05-11T22:59:47.763Z] 188c0c94c7c5: Pull complete [2022-05-11T22:59:47.763Z] e1f770b5df2f: Verifying Checksum [2022-05-11T22:59:47.763Z] e1f770b5df2f: Download complete [2022-05-11T22:59:47.763Z] 0ef7d3d256c8: Pull complete [2022-05-11T22:59:47.763Z] de9db76c5a1d: Pull complete [2022-05-11T22:59:48.332Z] 0eba1c9be4d2: Verifying Checksum [2022-05-11T22:59:48.332Z] 0eba1c9be4d2: Download complete [2022-05-11T22:59:48.332Z] 85a0685a4137: Verifying Checksum [2022-05-11T22:59:48.332Z] 85a0685a4137: Download complete [2022-05-11T22:59:51.618Z] 0eba1c9be4d2: Pull complete [2022-05-11T22:59:51.618Z] 0d57e429df01: Pull complete [2022-05-11T22:59:51.618Z] 4e4be7b47b0d: Pull complete [2022-05-11T22:59:51.877Z] e1f770b5df2f: Pull complete [2022-05-11T22:59:55.162Z] 85a0685a4137: Pull complete [2022-05-11T22:59:55.162Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-11T22:59:55.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T22:59:55.162Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-11T22:59:55.227Z] prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container [2022-05-11T22:59:55.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-11T22:59:57.033Z] $ docker top f0bd3dbc485306eefc3752f8e5d6d0e7400cb0dc53fc883e8bbe45a476802f17 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-11T22:59:57.113Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-11T22:59:57.397Z] + set -o pipefail [2022-05-11T22:59:57.397Z] + snyk monitor '--org=edgex-jenkins' [2022-05-11T23:00:02.745Z] [2022-05-11T23:00:02.745Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-05-11T23:00:02.745Z] [2022-05-11T23:00:02.745Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/ca313876-a878-46c1-baaf-72aaebbead98 [2022-05-11T23:00:02.745Z] [2022-05-11T23:00:02.745Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-05-11T23:00:02.745Z] [2022-05-11T23:00:02.745Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-11T23:00:02.745Z] [2022-05-11T23:00:02.745Z] [Pipeline] } [2022-05-11T23:00:02.761Z] $ docker stop --time=1 f0bd3dbc485306eefc3752f8e5d6d0e7400cb0dc53fc883e8bbe45a476802f17 [2022-05-11T23:00:04.666Z] $ docker rm -f f0bd3dbc485306eefc3752f8e5d6d0e7400cb0dc53fc883e8bbe45a476802f17 [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-11T23:00:05.373Z] + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] sh [2022-05-11T23:00:05.674Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T23:00:05.674Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:05.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T23:00:05.979Z] . [Pipeline] withDockerContainer [2022-05-11T23:00:06.049Z] prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container [2022-05-11T23:00:06.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T23:00:06.470Z] $ docker top 9550dd001862509eed6445188c4d029a8842c86cfb2ae792b5cea876bd343f8e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T23:00:06.565Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.20' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T23:00:06.866Z] + git semver [Pipeline] } [2022-05-11T23:00:07.145Z] $ docker stop --time=1 9550dd001862509eed6445188c4d029a8842c86cfb2ae792b5cea876bd343f8e [2022-05-11T23:00:08.432Z] $ docker rm -f 9550dd001862509eed6445188c4d029a8842c86cfb2ae792b5cea876bd343f8e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:08.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T23:00:08.827Z] [2022-05-11T23:00:08.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:09.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T23:00:09.133Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-11T23:00:09.133Z] ab5ef0e58194: Pulling fs layer [2022-05-11T23:00:09.133Z] 9712f1f96733: Pulling fs layer [2022-05-11T23:00:09.133Z] 63f879dbbcfc: Pulling fs layer [2022-05-11T23:00:09.133Z] 0d9ebad4ef96: Pulling fs layer [2022-05-11T23:00:09.133Z] e9a5061849ea: Pulling fs layer [2022-05-11T23:00:09.133Z] d747dcd14b5f: Pulling fs layer [2022-05-11T23:00:09.133Z] 2de7ff778b66: Pulling fs layer [2022-05-11T23:00:09.134Z] 0d9ebad4ef96: Waiting [2022-05-11T23:00:09.134Z] e9a5061849ea: Waiting [2022-05-11T23:00:09.134Z] d747dcd14b5f: Waiting [2022-05-11T23:00:09.134Z] 2de7ff778b66: Waiting [2022-05-11T23:00:09.134Z] 9712f1f96733: Download complete [2022-05-11T23:00:09.396Z] 63f879dbbcfc: Verifying Checksum [2022-05-11T23:00:09.396Z] 63f879dbbcfc: Download complete [2022-05-11T23:00:09.396Z] e9a5061849ea: Verifying Checksum [2022-05-11T23:00:09.396Z] e9a5061849ea: Download complete [2022-05-11T23:00:09.396Z] d747dcd14b5f: Download complete [2022-05-11T23:00:09.656Z] ab5ef0e58194: Verifying Checksum [2022-05-11T23:00:09.656Z] ab5ef0e58194: Download complete [2022-05-11T23:00:09.656Z] 2de7ff778b66: Verifying Checksum [2022-05-11T23:00:09.656Z] 2de7ff778b66: Download complete [2022-05-11T23:00:09.656Z] 0d9ebad4ef96: Verifying Checksum [2022-05-11T23:00:09.656Z] 0d9ebad4ef96: Download complete [2022-05-11T23:00:12.947Z] ab5ef0e58194: Pull complete [2022-05-11T23:00:12.947Z] 9712f1f96733: Pull complete [2022-05-11T23:00:13.207Z] 63f879dbbcfc: Pull complete [2022-05-11T23:00:16.496Z] 0d9ebad4ef96: Pull complete [2022-05-11T23:00:16.755Z] e9a5061849ea: Pull complete [2022-05-11T23:00:16.755Z] d747dcd14b5f: Pull complete [2022-05-11T23:00:18.137Z] 2de7ff778b66: Pull complete [2022-05-11T23:00:18.137Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-11T23:00:18.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T23:00:18.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-11T23:00:18.208Z] prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container [2022-05-11T23:00:18.250Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-11T23:00:20.095Z] $ docker top 7e51b39f5c23976332e68844b26ce1f677f3ce9c4adc7a475851d0739133d68f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-11T23:00:20.177Z] provisioning config files... [2022-05-11T23:00:20.185Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config260959470684842961tmp [2022-05-11T23:00:20.197Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config489364225512387516tmp [2022-05-11T23:00:20.207Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7859678169448279665tmp [Pipeline] { [Pipeline] echo [2022-05-11T23:00:20.223Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:20.508Z] ---> sigul-configuration.sh [2022-05-11T23:00:20.508Z] gpg: directory `/root/.gnupg' created [2022-05-11T23:00:20.508Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-11T23:00:20.508Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-11T23:00:20.508Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-11T23:00:20.508Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-11T23:00:20.508Z] gpg: CAST5 encrypted data [2022-05-11T23:00:20.508Z] gpg: encrypted with 1 passphrase [2022-05-11T23:00:20.508Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-11T23:00:20.795Z] + mkdir /home/jenkins [2022-05-11T23:00:20.795Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-11T23:00:21.084Z] + 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-11T23:00:21.095Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:21.386Z] ---> sigul-install.sh [2022-05-11T23:00:21.386Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-11T23:00:21.680Z] + git tag --list [2022-05-11T23:00:21.680Z] 0.7.1 [2022-05-11T23:00:21.680Z] v1.0.0 [2022-05-11T23:00:21.680Z] v1.1.0 [2022-05-11T23:00:21.680Z] v1.1.1 [2022-05-11T23:00:21.680Z] v1.2.2 [2022-05-11T23:00:21.680Z] v1.3.0 [2022-05-11T23:00:21.680Z] v1.3.1 [2022-05-11T23:00:21.680Z] v2.0.0 [2022-05-11T23:00:21.680Z] v2.0.1-dev.1 [2022-05-11T23:00:21.680Z] v2.0.1-dev.10 [2022-05-11T23:00:21.680Z] v2.0.1-dev.11 [2022-05-11T23:00:21.680Z] v2.0.1-dev.12 [2022-05-11T23:00:21.680Z] v2.0.1-dev.2 [2022-05-11T23:00:21.680Z] v2.0.1-dev.3 [2022-05-11T23:00:21.680Z] v2.0.1-dev.4 [2022-05-11T23:00:21.680Z] v2.0.1-dev.5 [2022-05-11T23:00:21.680Z] v2.0.1-dev.6 [2022-05-11T23:00:21.680Z] v2.0.1-dev.7 [2022-05-11T23:00:21.680Z] v2.0.1-dev.8 [2022-05-11T23:00:21.680Z] v2.0.1-dev.9 [2022-05-11T23:00:21.680Z] v2.1.0 [2022-05-11T23:00:21.680Z] v2.2.0 [2022-05-11T23:00:21.680Z] v2.2.0-dev.1 [2022-05-11T23:00:21.680Z] v2.2.0-dev.10 [2022-05-11T23:00:21.680Z] v2.2.0-dev.11 [2022-05-11T23:00:21.680Z] v2.2.0-dev.12 [2022-05-11T23:00:21.680Z] v2.2.0-dev.13 [2022-05-11T23:00:21.680Z] v2.2.0-dev.14 [2022-05-11T23:00:21.680Z] v2.2.0-dev.15 [2022-05-11T23:00:21.680Z] v2.2.0-dev.16 [2022-05-11T23:00:21.680Z] v2.2.0-dev.17 [2022-05-11T23:00:21.680Z] v2.2.0-dev.18 [2022-05-11T23:00:21.680Z] v2.2.0-dev.19 [2022-05-11T23:00:21.680Z] v2.2.0-dev.2 [2022-05-11T23:00:21.680Z] v2.2.0-dev.20 [2022-05-11T23:00:21.680Z] v2.2.0-dev.3 [2022-05-11T23:00:21.680Z] v2.2.0-dev.4 [2022-05-11T23:00:21.680Z] v2.2.0-dev.5 [2022-05-11T23:00:21.680Z] v2.2.0-dev.6 [2022-05-11T23:00:21.680Z] v2.2.0-dev.7 [2022-05-11T23:00:21.680Z] v2.2.0-dev.8 [2022-05-11T23:00:21.680Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-11T23:00:21.967Z] + lftools sign git-tag v2.2.0 [2022-05-11T23:00:22.538Z] Signing Git tag with Sigul... [2022-05-11T23:00:22.538Z] Signing v2.2.0 [Pipeline] echo [2022-05-11T23:00:22.811Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:23.098Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-11T23:00:23.106Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-11T23:00:23.133Z] $ docker stop --time=1 7e51b39f5c23976332e68844b26ce1f677f3ce9c4adc7a475851d0739133d68f [2022-05-11T23:00:24.425Z] $ docker rm -f 7e51b39f5c23976332e68844b26ce1f677f3ce9c4adc7a475851d0739133d68f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-11T23:00:24.846Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T23:00:24.846Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:25.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T23:00:25.146Z] . [Pipeline] withDockerContainer [2022-05-11T23:00:25.215Z] prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container [2022-05-11T23:00:25.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T23:00:25.626Z] $ docker top 9fbda412fe486d85da96855b17d4698b3e623f815ed204bd3005d3059df96f50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T23:00:25.719Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.20' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T23:00:26.011Z] + git semver [Pipeline] } [2022-05-11T23:00:26.288Z] $ docker stop --time=1 9fbda412fe486d85da96855b17d4698b3e623f815ed204bd3005d3059df96f50 [2022-05-11T23:00:27.556Z] $ docker rm -f 9fbda412fe486d85da96855b17d4698b3e623f815ed204bd3005d3059df96f50 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T23:00:27.917Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T23:00:27.917Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:28.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T23:00:28.216Z] . [Pipeline] withDockerContainer [2022-05-11T23:00:28.284Z] prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container [2022-05-11T23:00:28.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T23:00:28.691Z] $ docker top da8ea926bd3847374e904b1c5272643ccae01968ae8e3beca2adc17f3247f355 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T23:00:28.785Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.20' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T23:00:29.115Z] + git semver [Pipeline] } [2022-05-11T23:00:29.394Z] $ docker stop --time=1 da8ea926bd3847374e904b1c5272643ccae01968ae8e3beca2adc17f3247f355 [2022-05-11T23:00:30.702Z] $ docker rm -f da8ea926bd3847374e904b1c5272643ccae01968ae8e3beca2adc17f3247f355 [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-11T23:00:31.294Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-05-11T23:00:31.294Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-11T23:00:31.294Z] total 16 [2022-05-11T23:00:31.294Z] drwxr-xr-x 3 root root 4096 May 11 22:50 . [2022-05-11T23:00:31.294Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 23:00 .. [2022-05-11T23:00:31.294Z] drwxr-xr-x 2 root root 4096 May 11 22:50 cost [2022-05-11T23:00:31.294Z] -rw-r--r-- 1 root root 86 May 11 22:50 cost.csv [2022-05-11T23:00:31.294Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-11T23:00:31.294Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-11T23:00:31.294Z] total 16 [2022-05-11T23:00:31.294Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:50 . [2022-05-11T23:00:31.294Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 23:00 .. [2022-05-11T23:00:31.294Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 22:50 cost [2022-05-11T23:00:31.294Z] -rw-r--r-- 1 jenkins jenkins 86 May 11 22:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:31.593Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:32.454Z] ---> package-listing.sh [2022-05-11T23:00:32.454Z] ++ facter osfamily [2022-05-11T23:00:32.454Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T23:00:32.714Z] + OS_FAMILY=debian [2022-05-11T23:00:32.714Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-05-11T23:00:32.714Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T23:00:32.714Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T23:00:32.714Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T23:00:32.714Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T23:00:32.714Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-11T23:00:32.715Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T23:00:32.715Z] + case "${OS_FAMILY}" in [2022-05-11T23:00:32.715Z] + dpkg -l [2022-05-11T23:00:32.715Z] + grep '^ii' [2022-05-11T23:00:32.715Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T23:00:32.715Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T23:00:32.715Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T23:00:32.715Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-11T23:00:32.715Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-05-11T23:00:32.715Z] + 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-11T23:00:32.727Z] 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-11T23:00:33.008Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:33.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T23:00:33.566Z] . [Pipeline] withDockerContainer [2022-05-11T23:00:33.632Z] prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container [2022-05-11T23:00:33.671Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T23:00:33.908Z] $ docker top a4805e6e7b242b71e4afb32745331198380a78ea2e8ac4f4d804c944b5a4a6ee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T23:00:34.279Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T23:00:34.570Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T23:00:34.859Z] + ls /var/log/sa-host [2022-05-11T23:00:34.859Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T23:00:34.963Z] provisioning config files... [2022-05-11T23:00:34.974Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config172426194307749400tmp [Pipeline] { [Pipeline] echo [2022-05-11T23:00:34.987Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:35.272Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T23:00:35.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:35.607Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T23:00:35.617Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:35.903Z] ---> sudo-logs.sh [2022-05-11T23:00:35.903Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T23:00:35.927Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:36.217Z] ---> job-cost.sh [2022-05-11T23:00:36.217Z] lf-activate-venv: SKIPPING [2022-05-11T23:00:36.217Z] DEBUG: total: 0.2199999988079071 [2022-05-11T23:00:36.217Z] INFO: Retrieving Stack Cost... [2022-05-11T23:00:36.477Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T23:00:37.048Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T23:00:37.061Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:37.345Z] ---> logs-deploy.sh [2022-05-11T23:00:37.345Z] lf-activate-venv: SKIPPING [2022-05-11T23:00:37.345Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/39 [2022-05-11T23:00:37.345Z] INFO: archiving workspace using pattern(s): [2022-05-11T23:00:38.284Z] Archives upload complete. [2022-05-11T23:00:38.284Z] INFO: archiving logs to Nexus