Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb07e7e09273fde4df233cc08be8d273e9c828cd 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-ssh11542733330859275443.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11428702627549494069.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3535093319775753202.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5265990800800713788.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6105412785997658115.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21642 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 bb07e7e09273fde4df233cc08be8d273e9c828cd (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 bb07e7e09273fde4df233cc08be8d273e9c828cd # timeout=10 Commit message: "Merge pull request #366 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18" > git rev-list --no-walk 614889a0cf4a23ea025e87d34781dd0af86a92c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-01T05:20:42.293Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-01T05:20:42.353Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-01T05:20:42.367Z] ========================================================= [2022-08-01T05:20:42.367Z] EdgeX Global Pipelines Version Info [2022-08-01T05:20:42.367Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:20:43.116Z] ------------------- [2022-08-01T05:20:43.116Z] stable info: [2022-08-01T05:20:43.116Z] ------------------- [2022-08-01T05:20:43.116Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-01T05:20:43.116Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-01T05:20:43.116Z] Message: update stable to v1.0.238 [2022-08-01T05:20:43.690Z] ------------------- [2022-08-01T05:20:43.690Z] experimental info: [2022-08-01T05:20:43.690Z] ------------------- [2022-08-01T05:20:43.690Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-01T05:20:43.690Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-01T05:20:43.690Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-01T05:20:43.959Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-08-01T05:20:43.970Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-08-01T05:20:43.981Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-01T05:20:43.993Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-01T05:20:44.004Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-01T05:20:44.016Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-01T05:20:44.027Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-01T05:20:44.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-01T05:20:44.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-01T05:20:44.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-01T05:20:44.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-01T05:20:44.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-08-01T05:20:44.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-01T05:20:44.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-01T05:20:44.122Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-01T05:20:44.135Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-01T05:20:44.147Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-01T05:20:44.164Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-01T05:20:44.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-01T05:20:44.191Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-01T05:20:44.206Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-01T05:20:44.219Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-01T05:20:44.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-01T05:20:44.245Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-01T05:20:44.262Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-01T05:20:44.272Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-01T05:20:44.283Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-01T05:20:44.294Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-08-01T05:20:44.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-08-01T05:20:44.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-08-01T05:20:44.332Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb07e7e09273fde4df233cc08be8d273e9c828cd [Pipeline] echo [2022-08-01T05:20:44.344Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb07e7e [Pipeline] echo [2022-08-01T05:20:44.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T05:20:44.409Z] provisioning config files... [2022-08-01T05:20:44.424Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2205430333755246439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:20:44.739Z] ---> docker-login.sh [2022-08-01T05:20:44.739Z] nexus3.edgexfoundry.org:10001 [2022-08-01T05:20:45.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:20:45.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:20:45.262Z] Configure a credential helper to remove this warning. See [2022-08-01T05:20:45.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:20:45.262Z] [2022-08-01T05:20:45.262Z] Login Succeeded [2022-08-01T05:20:45.262Z] nexus3.edgexfoundry.org:10002 [2022-08-01T05:20:45.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:20:45.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:20:45.262Z] Configure a credential helper to remove this warning. See [2022-08-01T05:20:45.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:20:45.262Z] [2022-08-01T05:20:45.262Z] Login Succeeded [2022-08-01T05:20:45.262Z] nexus3.edgexfoundry.org:10003 [2022-08-01T05:20:45.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:20:45.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:20:45.523Z] Configure a credential helper to remove this warning. See [2022-08-01T05:20:45.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:20:45.523Z] [2022-08-01T05:20:45.523Z] Login Succeeded [2022-08-01T05:20:45.523Z] nexus3.edgexfoundry.org:10004 [2022-08-01T05:20:45.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:20:45.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:20:45.523Z] Configure a credential helper to remove this warning. See [2022-08-01T05:20:45.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:20:45.523Z] [2022-08-01T05:20:45.523Z] Login Succeeded [2022-08-01T05:20:45.523Z] docker.io [2022-08-01T05:20:45.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:20:46.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:20:46.049Z] Configure a credential helper to remove this warning. See [2022-08-01T05:20:46.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:20:46.049Z] [2022-08-01T05:20:46.049Z] Login Succeeded [2022-08-01T05:20:46.049Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T05:20:46.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-01T05:20:46.427Z] + git rev-list -1 --merges bb07e7e09273fde4df233cc08be8d273e9c828cd~1..bb07e7e09273fde4df233cc08be8d273e9c828cd [Pipeline] echo [2022-08-01T05:20:46.458Z] -----------> git rev-list -1 --merges bb07e7e09273fde4df233cc08be8d273e9c828cd~1..bb07e7e09273fde4df233cc08be8d273e9c828cd bb07e7e09273fde4df233cc08be8d273e9c828cd [2022-08-01T05:20:46.458Z] bb07e7e09273fde4df233cc08be8d273e9c828cd [false] [Pipeline] sh [2022-08-01T05:20:46.752Z] + git log --format=format:%s -1 bb07e7e09273fde4df233cc08be8d273e9c828cd [Pipeline] echo [2022-08-01T05:20:46.768Z] ========================================================= [2022-08-01T05:20:46.768Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-01T05:20:46.768Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T05:20:47.109Z] + git log --format=format:%s -1 bb07e7e09273fde4df233cc08be8d273e9c828cd [Pipeline] echo [2022-08-01T05:20:47.123Z] [semverPrep] GIT_COMMIT: bb07e7e09273fde4df233cc08be8d273e9c828cd, Commit Message: Merge pull request #366 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18 [Pipeline] echo [2022-08-01T05:20:47.134Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-01T05:20:47.529Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-01T05:20:47.529Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-01T05:20:47.529Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-01T05:20:47.529Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-01T05:20:47.529Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-01T05:20:47.529Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-01T05:20:47.529Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:20:47.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T05:20:47.958Z] [2022-08-01T05:20:47.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:20:48.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T05:20:48.264Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-01T05:20:48.265Z] b85a868b505f: Pulling fs layer [2022-08-01T05:20:48.265Z] e2be974225ed: Pulling fs layer [2022-08-01T05:20:48.265Z] 339a4e72a1f5: Pulling fs layer [2022-08-01T05:20:48.265Z] 988bab9f4d93: Pulling fs layer [2022-08-01T05:20:48.265Z] 1469e6f7b9e6: Pulling fs layer [2022-08-01T05:20:48.265Z] eaf3925da568: Pulling fs layer [2022-08-01T05:20:48.265Z] bab4dde63d76: Pulling fs layer [2022-08-01T05:20:48.265Z] bde34c3a00c8: Pulling fs layer [2022-08-01T05:20:48.265Z] b352a97aabf1: Pulling fs layer [2022-08-01T05:20:48.265Z] 4872d77fe225: Pulling fs layer [2022-08-01T05:20:48.265Z] 5851b861e8e6: Pulling fs layer [2022-08-01T05:20:48.265Z] eaf3925da568: Waiting [2022-08-01T05:20:48.265Z] 4872d77fe225: Waiting [2022-08-01T05:20:48.265Z] bde34c3a00c8: Waiting [2022-08-01T05:20:48.265Z] bab4dde63d76: Waiting [2022-08-01T05:20:48.265Z] b352a97aabf1: Waiting [2022-08-01T05:20:48.265Z] 1469e6f7b9e6: Waiting [2022-08-01T05:20:48.265Z] e2be974225ed: Download complete [2022-08-01T05:20:48.265Z] 988bab9f4d93: Download complete [2022-08-01T05:20:48.526Z] 1469e6f7b9e6: Verifying Checksum [2022-08-01T05:20:48.526Z] 1469e6f7b9e6: Download complete [2022-08-01T05:20:48.526Z] eaf3925da568: Verifying Checksum [2022-08-01T05:20:48.526Z] eaf3925da568: Download complete [2022-08-01T05:20:48.526Z] 339a4e72a1f5: Verifying Checksum [2022-08-01T05:20:48.526Z] 339a4e72a1f5: Download complete [2022-08-01T05:20:48.526Z] bde34c3a00c8: Verifying Checksum [2022-08-01T05:20:48.526Z] bde34c3a00c8: Download complete [2022-08-01T05:20:48.526Z] b352a97aabf1: Download complete [2022-08-01T05:20:48.526Z] 4872d77fe225: Verifying Checksum [2022-08-01T05:20:48.526Z] 4872d77fe225: Download complete [2022-08-01T05:20:48.526Z] 5851b861e8e6: Download complete [2022-08-01T05:20:48.526Z] b85a868b505f: Verifying Checksum [2022-08-01T05:20:48.526Z] b85a868b505f: Download complete [2022-08-01T05:20:48.786Z] bab4dde63d76: Verifying Checksum [2022-08-01T05:20:48.786Z] bab4dde63d76: Download complete [2022-08-01T05:20:50.175Z] b85a868b505f: Pull complete [2022-08-01T05:20:50.175Z] e2be974225ed: Pull complete [2022-08-01T05:20:50.751Z] 339a4e72a1f5: Pull complete [2022-08-01T05:20:51.011Z] 988bab9f4d93: Pull complete [2022-08-01T05:20:51.272Z] 1469e6f7b9e6: Pull complete [2022-08-01T05:20:51.272Z] eaf3925da568: Pull complete [2022-08-01T05:20:53.188Z] bab4dde63d76: Pull complete [2022-08-01T05:20:53.450Z] bde34c3a00c8: Pull complete [2022-08-01T05:20:53.450Z] b352a97aabf1: Pull complete [2022-08-01T05:20:53.712Z] 4872d77fe225: Pull complete [2022-08-01T05:20:53.712Z] 5851b861e8e6: Pull complete [2022-08-01T05:20:53.712Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-01T05:20:53.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T05:20:53.712Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:20:53.816Z] prd-ubuntu20.04-docker-8c-8g-21642 does not seem to be running inside a container [2022-08-01T05:20:53.855Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-01T05:20:55.801Z] $ docker top d29dae71678e9af5a54f721550a84e523420e74c869df42b48a5b5182fd800e2 -eo pid,comm [2022-08-01T05:20:55.869Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-01T05:20:55.869Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-01T05:20:55.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T05:20:55.911Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T05:20:56.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T05:20:56.042Z] $ docker exec d29dae71678e9af5a54f721550a84e523420e74c869df42b48a5b5182fd800e2 ssh-agent [2022-08-01T05:20:56.173Z] SSH_AUTH_SOCK=/tmp/ssh-qTuLSFuakxTb/agent.33 [2022-08-01T05:20:56.173Z] SSH_AGENT_PID=39 [2022-08-01T05:20:56.182Z] Running ssh-add (command line suppressed) [2022-08-01T05:20:56.316Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6862123358528762361.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6862123358528762361.key) [2022-08-01T05:20:56.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T05:20:56.627Z] + git tag --points-at HEAD [Pipeline] } [2022-08-01T05:20:56.675Z] $ docker exec --env ******** --env ******** d29dae71678e9af5a54f721550a84e523420e74c869df42b48a5b5182fd800e2 ssh-agent -k [2022-08-01T05:20:56.780Z] unset SSH_AUTH_SOCK; [2022-08-01T05:20:56.781Z] unset SSH_AGENT_PID; [2022-08-01T05:20:56.781Z] echo Agent pid 39 killed; [2022-08-01T05:20:56.792Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-01T05:20:56.817Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T05:20:56.817Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T05:20:56.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T05:20:56.961Z] $ docker exec d29dae71678e9af5a54f721550a84e523420e74c869df42b48a5b5182fd800e2 ssh-agent [2022-08-01T05:20:57.082Z] SSH_AUTH_SOCK=/tmp/ssh-nqdPdCo1YHx5/agent.72 [2022-08-01T05:20:57.082Z] SSH_AGENT_PID=78 [2022-08-01T05:20:57.088Z] Running ssh-add (command line suppressed) [2022-08-01T05:20:57.222Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6436822773494853304.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6436822773494853304.key) [2022-08-01T05:20:57.241Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T05:20:57.542Z] + git semver init [2022-08-01T05:20:57.803Z] 2022-08-01 05:20:57,737 [run_init] DEBUG init version:0.0.0 force:False [2022-08-01T05:20:57.803Z] 2022-08-01 05:20:57,737 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-08-01T05:20:57.803Z] 2022-08-01 05:20:57,738 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-08-01T05:20:57.803Z] 2022-08-01 05:20:57,738 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-01T05:20:58.794Z] 2022-08-01 05:20:58,483 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-08-01T05:20:58.794Z] 2022-08-01 05:20:58,483 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-08-01T05:20:58.794Z] 2022-08-01 05:20:58,484 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-01T05:20:58.794Z] 2022-08-01 05:20:58,484 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-01T05:20:58.794Z] 2.3.0-dev.10 [Pipeline] } [2022-08-01T05:20:58.807Z] $ docker exec --env ******** --env ******** d29dae71678e9af5a54f721550a84e523420e74c869df42b48a5b5182fd800e2 ssh-agent -k [2022-08-01T05:20:58.942Z] unset SSH_AUTH_SOCK; [2022-08-01T05:20:58.943Z] unset SSH_AGENT_PID; [2022-08-01T05:20:58.943Z] echo Agent pid 78 killed; [2022-08-01T05:20:58.969Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-01T05:20:59.287Z] + git semver [Pipeline] } [2022-08-01T05:20:59.566Z] $ docker stop --time=1 d29dae71678e9af5a54f721550a84e523420e74c869df42b48a5b5182fd800e2 [2022-08-01T05:21:00.873Z] $ docker rm -f d29dae71678e9af5a54f721550a84e523420e74c869df42b48a5b5182fd800e2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T05:21:01.245Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-01T05:21:01.520Z] Stashed 1 file(s) [Pipeline] echo [2022-08-01T05:21:01.523Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T05:21:01.691Z] provisioning config files... [2022-08-01T05:21:01.702Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6921380004591058405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:21:02.011Z] ---> docker-login.sh [2022-08-01T05:21:02.011Z] nexus3.edgexfoundry.org:10001 [2022-08-01T05:21:02.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:21:02.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:21:02.011Z] Configure a credential helper to remove this warning. See [2022-08-01T05:21:02.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:21:02.011Z] [2022-08-01T05:21:02.011Z] Login Succeeded [2022-08-01T05:21:02.011Z] nexus3.edgexfoundry.org:10002 [2022-08-01T05:21:02.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:21:02.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:21:02.273Z] Configure a credential helper to remove this warning. See [2022-08-01T05:21:02.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:21:02.273Z] [2022-08-01T05:21:02.273Z] Login Succeeded [2022-08-01T05:21:02.273Z] nexus3.edgexfoundry.org:10003 [2022-08-01T05:21:02.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:21:02.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:21:02.273Z] Configure a credential helper to remove this warning. See [2022-08-01T05:21:02.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:21:02.273Z] [2022-08-01T05:21:02.273Z] Login Succeeded [2022-08-01T05:21:02.273Z] nexus3.edgexfoundry.org:10004 [2022-08-01T05:21:02.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:21:02.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:21:02.539Z] Configure a credential helper to remove this warning. See [2022-08-01T05:21:02.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:21:02.539Z] [2022-08-01T05:21:02.539Z] Login Succeeded [2022-08-01T05:21:02.539Z] docker.io [2022-08-01T05:21:02.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:21:03.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:21:03.114Z] Configure a credential helper to remove this warning. See [2022-08-01T05:21:03.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:21:03.114Z] [2022-08-01T05:21:03.114Z] Login Succeeded [2022-08-01T05:21:03.114Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T05:21:03.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-01T05:21:03.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T05:21:03.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T05:21:03.221Z] ========================================================= [2022-08-01T05:21:03.221Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-01T05:21:03.221Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:21:03.550Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-01T05:21:03.550Z] Sending build context to Docker daemon 6.097MB [2022-08-01T05:21:03.550Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T05:21:03.550Z] Step 2/10 : FROM ${BASE} AS builder [2022-08-01T05:21:03.550Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-01T05:21:03.550Z] 2408cc74d12b: Pulling fs layer [2022-08-01T05:21:03.550Z] ea60b727a1ce: Pulling fs layer [2022-08-01T05:21:03.550Z] 30c4a7721957: Pulling fs layer [2022-08-01T05:21:03.550Z] 370296b7ddb6: Pulling fs layer [2022-08-01T05:21:03.550Z] 7c6cee850709: Pulling fs layer [2022-08-01T05:21:03.550Z] 370296b7ddb6: Waiting [2022-08-01T05:21:03.550Z] 39a5fcdaea64: Pulling fs layer [2022-08-01T05:21:03.550Z] d94ebbe4e438: Pulling fs layer [2022-08-01T05:21:03.550Z] bcfd1f05c69d: Pulling fs layer [2022-08-01T05:21:03.550Z] 59ccb84bbe0f: Pulling fs layer [2022-08-01T05:21:03.550Z] 39a5fcdaea64: Waiting [2022-08-01T05:21:03.550Z] d94ebbe4e438: Waiting [2022-08-01T05:21:03.550Z] bcfd1f05c69d: Waiting [2022-08-01T05:21:03.810Z] 30c4a7721957: Verifying Checksum [2022-08-01T05:21:03.810Z] 30c4a7721957: Download complete [2022-08-01T05:21:03.810Z] ea60b727a1ce: Verifying Checksum [2022-08-01T05:21:03.810Z] ea60b727a1ce: Download complete [2022-08-01T05:21:03.810Z] 7c6cee850709: Verifying Checksum [2022-08-01T05:21:03.810Z] 7c6cee850709: Download complete [2022-08-01T05:21:03.810Z] 39a5fcdaea64: Verifying Checksum [2022-08-01T05:21:03.810Z] 39a5fcdaea64: Download complete [2022-08-01T05:21:03.810Z] 2408cc74d12b: Verifying Checksum [2022-08-01T05:21:03.810Z] 2408cc74d12b: Download complete [2022-08-01T05:21:03.810Z] d94ebbe4e438: Download complete [2022-08-01T05:21:03.810Z] 2408cc74d12b: Pull complete [2022-08-01T05:21:04.076Z] ea60b727a1ce: Pull complete [2022-08-01T05:21:04.076Z] 30c4a7721957: Pull complete [2022-08-01T05:21:04.340Z] 59ccb84bbe0f: Verifying Checksum [2022-08-01T05:21:04.340Z] 59ccb84bbe0f: Download complete [2022-08-01T05:21:04.600Z] 370296b7ddb6: Verifying Checksum [2022-08-01T05:21:04.600Z] 370296b7ddb6: Download complete [2022-08-01T05:21:04.861Z] bcfd1f05c69d: Verifying Checksum [2022-08-01T05:21:04.861Z] bcfd1f05c69d: Download complete [2022-08-01T05:21:09.075Z] 370296b7ddb6: Pull complete [2022-08-01T05:21:09.076Z] 7c6cee850709: Pull complete [2022-08-01T05:21:09.076Z] 39a5fcdaea64: Pull complete [2022-08-01T05:21:09.337Z] d94ebbe4e438: Pull complete [2022-08-01T05:21:11.904Z] bcfd1f05c69d: Pull complete [2022-08-01T05:21:12.483Z] 59ccb84bbe0f: Pull complete [2022-08-01T05:21:12.483Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-01T05:21:12.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-01T05:21:12.483Z] ---> a4fb48ad2a94 [2022-08-01T05:21:12.483Z] Step 3/10 : ARG MAKE='make build' [2022-08-01T05:21:16.641Z] Still waiting to schedule task [2022-08-01T05:21:16.642Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-01T05:21:16.726Z] ---> Running in 788004a8bf0a [2022-08-01T05:21:16.986Z] Removing intermediate container 788004a8bf0a [2022-08-01T05:21:16.986Z] ---> 792f3dd12509 [2022-08-01T05:21:16.986Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:21:17.248Z] ---> Running in 8afe01cea07e [2022-08-01T05:21:18.189Z] Removing intermediate container 8afe01cea07e [2022-08-01T05:21:18.189Z] ---> 8541d04cdda9 [2022-08-01T05:21:18.189Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-01T05:21:18.189Z] ---> Running in 44cfc3a5a1c2 [2022-08-01T05:21:18.760Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T05:21:19.702Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T05:21:19.963Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-08-01T05:21:19.963Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-08-01T05:21:20.223Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-08-01T05:21:20.223Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-08-01T05:21:20.484Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-08-01T05:21:20.484Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-08-01T05:21:20.484Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-08-01T05:21:20.744Z] (8/8) Installing openssh (9.0_p1-r2) [2022-08-01T05:21:20.744Z] Executing busybox-1.35.0-r13.trigger [2022-08-01T05:21:20.744Z] OK: 217 MiB in 59 packages [2022-08-01T05:21:21.315Z] Removing intermediate container 44cfc3a5a1c2 [2022-08-01T05:21:21.315Z] ---> e85cd83b6665 [2022-08-01T05:21:21.315Z] Step 6/10 : WORKDIR /device-modbus-go [2022-08-01T05:21:21.315Z] ---> Running in 1d01c7c4f48b [2022-08-01T05:21:21.315Z] Removing intermediate container 1d01c7c4f48b [2022-08-01T05:21:21.315Z] ---> 788a4a628860 [2022-08-01T05:21:21.315Z] Step 7/10 : COPY go.mod vendor* ./ [2022-08-01T05:21:21.575Z] ---> 0fa5c7a87658 [2022-08-01T05:21:21.575Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T05:21:21.835Z] ---> Running in 517f3f8cc983 [2022-08-01T05:21:43.813Z] Removing intermediate container 517f3f8cc983 [2022-08-01T05:21:43.813Z] ---> 70042d2e64b5 [2022-08-01T05:21:43.813Z] Step 9/10 : COPY . . [2022-08-01T05:21:43.813Z] ---> 569d04860050 [2022-08-01T05:21:43.813Z] Step 10/10 : RUN ${MAKE} [2022-08-01T05:21:43.813Z] ---> Running in f67899b2a37f [2022-08-01T05:21:43.813Z] noop [2022-08-01T05:21:43.813Z] Removing intermediate container f67899b2a37f [2022-08-01T05:21:43.813Z] ---> 13c12414d2ed [2022-08-01T05:21:43.813Z] Successfully built 13c12414d2ed [2022-08-01T05:21:43.813Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:21:44.146Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-01T05:21:44.146Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:21:44.239Z] prd-ubuntu20.04-docker-8c-8g-21642 does not seem to be running inside a container [2022-08-01T05:21:44.285Z] $ 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-08-01T05:21:44.730Z] $ docker top cd0040d60bc636fb2444412d799970786dc29e152122069fb0573419d05dd7c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T05:21:45.094Z] + go version [2022-08-01T05:21:45.094Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-01T05:21:45.123Z] $ docker stop --time=1 cd0040d60bc636fb2444412d799970786dc29e152122069fb0573419d05dd7c2 [2022-08-01T05:21:46.408Z] $ docker rm -f cd0040d60bc636fb2444412d799970786dc29e152122069fb0573419d05dd7c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:21:46.917Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-01T05:21:46.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:21:47.002Z] prd-ubuntu20.04-docker-8c-8g-21642 does not seem to be running inside a container [2022-08-01T05:21:47.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-01T05:21:47.442Z] $ docker top e268dd3b8606e223d28a1aae47794b5d69ca298053168256fea62aa8eef391bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T05:21:47.812Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2022-08-01T05:21:48.115Z] + make test [2022-08-01T05:21:48.115Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-01T05:21:48.378Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-08-01T05:21:58.381Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-08-01T05:21:58.381Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements [2022-08-01T05:22:04.969Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-01T05:22:04.969Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-01T05:22:08.270Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-01T05:22:08.270Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-01T05:22:08.270Z] ./bin/test-attribution-txt.sh [2022-08-01T05:22:08.533Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-01T05:22:08.533Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-01T05:22:08.533Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-01T05:22:08.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-01T05:22:08.566Z] $ docker stop --time=1 e268dd3b8606e223d28a1aae47794b5d69ca298053168256fea62aa8eef391bf [2022-08-01T05:22:10.573Z] $ docker rm -f e268dd3b8606e223d28a1aae47794b5d69ca298053168256fea62aa8eef391bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T05:22:11.038Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-01T05:22:11.083Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-01T05:22:11.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-01T05:22:11.899Z] + ls -al . [2022-08-01T05:22:11.899Z] total 188 [2022-08-01T05:22:11.899Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 05:21 . [2022-08-01T05:22:11.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:20 .. [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 1 05:20 .dockerignore [2022-08-01T05:22:11.899Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 05:21 .git [2022-08-01T05:22:11.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:20 .github [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 1 05:20 .gitignore [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 05:20 .golangci.yml [2022-08-01T05:22:11.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 05:20 .semver [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 9744 Aug 1 05:20 Attribution.txt [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 10001 Aug 1 05:20 CHANGELOG.md [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 1550 Aug 1 05:20 Dockerfile [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 05:20 GOVERNANCE.md [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 1 05:20 Jenkinsfile [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 05:20 LICENSE [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 1892 Aug 1 05:20 Makefile [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 1 05:20 OWNERS.md [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 3397 Aug 1 05:20 README.md [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 1 05:21 VERSION [2022-08-01T05:22:11.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 05:20 bin [2022-08-01T05:22:11.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:20 cmd [2022-08-01T05:22:11.899Z] -rw-r--r-- 1 jenkins jenkins 23241 Aug 1 05:21 coverage.out [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 3572 Aug 1 05:20 go.mod [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 37058 Aug 1 05:20 go.sum [2022-08-01T05:22:11.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:20 internal [2022-08-01T05:22:11.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 05:20 simulator [2022-08-01T05:22:11.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:20 snap [2022-08-01T05:22:11.899Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 1 05:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:12.222Z] + 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=bb07e7e09273fde4df233cc08be8d273e9c828cd --label arch=amd64 --label version=2.3.0-dev.10 . [2022-08-01T05:22:12.222Z] Sending build context to Docker daemon 6.121MB [2022-08-01T05:22:12.222Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T05:22:12.222Z] Step 2/23 : FROM ${BASE} AS builder [2022-08-01T05:22:12.222Z] ---> 13c12414d2ed [2022-08-01T05:22:12.222Z] Step 3/23 : ARG MAKE='make build' [2022-08-01T05:22:12.222Z] ---> Running in daab92dc3098 [2022-08-01T05:22:12.486Z] Removing intermediate container daab92dc3098 [2022-08-01T05:22:12.486Z] ---> ada856548290 [2022-08-01T05:22:12.486Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:22:12.486Z] ---> Running in 608a621ba23a [2022-08-01T05:22:13.060Z] Removing intermediate container 608a621ba23a [2022-08-01T05:22:13.060Z] ---> 786f8ec1f1f2 [2022-08-01T05:22:13.060Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-01T05:22:13.060Z] ---> Running in 80cb6b31897a [2022-08-01T05:22:13.319Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T05:22:14.339Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T05:22:14.598Z] OK: 217 MiB in 59 packages [2022-08-01T05:22:14.857Z] Removing intermediate container 80cb6b31897a [2022-08-01T05:22:14.857Z] ---> 065e79d67d22 [2022-08-01T05:22:14.857Z] Step 6/23 : WORKDIR /device-modbus-go [2022-08-01T05:22:14.857Z] ---> Running in c4ab9ea3c9a9 [2022-08-01T05:22:15.116Z] Removing intermediate container c4ab9ea3c9a9 [2022-08-01T05:22:15.116Z] ---> 78ca8c5f77e9 [2022-08-01T05:22:15.116Z] Step 7/23 : COPY go.mod vendor* ./ [2022-08-01T05:22:15.116Z] ---> 14823b812962 [2022-08-01T05:22:15.116Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T05:22:15.116Z] ---> Running in 18fd8c7806d3 [2022-08-01T05:22:16.114Z] Removing intermediate container 18fd8c7806d3 [2022-08-01T05:22:16.114Z] ---> 2ef5f02e67ac [2022-08-01T05:22:16.114Z] Step 9/23 : COPY . . [2022-08-01T05:22:16.376Z] ---> b3c53e17121f [2022-08-01T05:22:16.376Z] Step 10/23 : RUN ${MAKE} [2022-08-01T05:22:16.376Z] ---> Running in 07f2463c106c [2022-08-01T05:22:16.636Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-08-01T05:22:43.198Z] Removing intermediate container 07f2463c106c [2022-08-01T05:22:43.198Z] ---> 83a2748a3214 [2022-08-01T05:22:43.198Z] Step 11/23 : FROM alpine:3.14 [2022-08-01T05:22:43.198Z] 3.14: Pulling from library/alpine [2022-08-01T05:22:43.198Z] decfdc335d9b: Pulling fs layer [2022-08-01T05:22:43.198Z] decfdc335d9b: Verifying Checksum [2022-08-01T05:22:43.198Z] decfdc335d9b: Download complete [2022-08-01T05:22:43.198Z] decfdc335d9b: Pull complete [2022-08-01T05:22:43.198Z] Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 [2022-08-01T05:22:43.198Z] Status: Downloaded newer image for alpine:3.14 [2022-08-01T05:22:43.198Z] ---> 5977be310a9d [2022-08-01T05:22:43.198Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-08-01T05:22:43.198Z] ---> Running in 4697da03bc6d [2022-08-01T05:22:43.198Z] Removing intermediate container 4697da03bc6d [2022-08-01T05:22:43.198Z] ---> d5de7897174d [2022-08-01T05:22:43.198Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:22:43.198Z] ---> Running in 9557099dc653 [2022-08-01T05:22:43.198Z] Removing intermediate container 9557099dc653 [2022-08-01T05:22:43.198Z] ---> c176598ff0e3 [2022-08-01T05:22:43.198Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-01T05:22:43.199Z] ---> Running in 2d6e080377dc [2022-08-01T05:22:43.199Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-08-01T05:22:43.199Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-08-01T05:22:43.199Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-01T05:22:43.199Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-08-01T05:22:43.199Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-01T05:22:43.199Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-08-01T05:22:43.199Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-01T05:22:43.199Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-01T05:22:43.199Z] Executing busybox-1.33.1-r8.trigger [2022-08-01T05:22:43.199Z] OK: 8 MiB in 20 packages [2022-08-01T05:22:43.199Z] Removing intermediate container 2d6e080377dc [2022-08-01T05:22:43.199Z] ---> 3ca81ea8f1d6 [2022-08-01T05:22:43.199Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-08-01T05:22:43.769Z] ---> 9a403bd569e7 [2022-08-01T05:22:43.769Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-08-01T05:22:43.769Z] ---> 952a909d2ee6 [2022-08-01T05:22:43.769Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-08-01T05:22:44.029Z] ---> 86c5975cae20 [2022-08-01T05:22:44.029Z] Step 18/23 : EXPOSE 59901 [2022-08-01T05:22:44.029Z] ---> Running in ccd20f0a9fb0 [2022-08-01T05:22:44.029Z] Removing intermediate container ccd20f0a9fb0 [2022-08-01T05:22:44.029Z] ---> b39ca8ff49ba [2022-08-01T05:22:44.029Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-08-01T05:22:44.029Z] ---> Running in 145569a886a8 [2022-08-01T05:22:44.289Z] Removing intermediate container 145569a886a8 [2022-08-01T05:22:44.289Z] ---> 35e43beefdb8 [2022-08-01T05:22:44.289Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-01T05:22:44.289Z] ---> Running in 6252412863c1 [2022-08-01T05:22:44.289Z] Removing intermediate container 6252412863c1 [2022-08-01T05:22:44.289Z] ---> 4496c9d3604b [2022-08-01T05:22:44.289Z] Step 21/23 : LABEL arch=amd64 [2022-08-01T05:22:44.289Z] ---> Running in 89671c8695ab [2022-08-01T05:22:44.289Z] Removing intermediate container 89671c8695ab [2022-08-01T05:22:44.289Z] ---> eac656d4edc8 [2022-08-01T05:22:44.289Z] Step 22/23 : LABEL git_sha=bb07e7e09273fde4df233cc08be8d273e9c828cd [2022-08-01T05:22:44.289Z] ---> Running in 3409023a9cd9 [2022-08-01T05:22:44.551Z] Removing intermediate container 3409023a9cd9 [2022-08-01T05:22:44.551Z] ---> 2ee5b2deda15 [2022-08-01T05:22:44.551Z] Step 23/23 : LABEL version=2.3.0-dev.10 [2022-08-01T05:22:44.551Z] ---> Running in a4ea6dd77375 [2022-08-01T05:22:44.551Z] Removing intermediate container a4ea6dd77375 [2022-08-01T05:22:44.551Z] ---> f7db7cced315 [2022-08-01T05:22:44.551Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-01T05:22:44.551Z] Successfully built f7db7cced315 [2022-08-01T05:22:44.551Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T05:22:44.655Z] provisioning config files... [2022-08-01T05:22:44.670Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3107538720881941706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:22:44.974Z] ---> docker-login.sh [2022-08-01T05:22:44.974Z] nexus3.edgexfoundry.org:10001 [2022-08-01T05:22:44.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:22:44.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:22:44.974Z] Configure a credential helper to remove this warning. See [2022-08-01T05:22:44.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:22:44.974Z] [2022-08-01T05:22:44.974Z] Login Succeeded [2022-08-01T05:22:44.974Z] nexus3.edgexfoundry.org:10002 [2022-08-01T05:22:44.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:22:45.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:22:45.235Z] Configure a credential helper to remove this warning. See [2022-08-01T05:22:45.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:22:45.235Z] [2022-08-01T05:22:45.235Z] Login Succeeded [2022-08-01T05:22:45.235Z] nexus3.edgexfoundry.org:10003 [2022-08-01T05:22:45.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:22:45.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:22:45.235Z] Configure a credential helper to remove this warning. See [2022-08-01T05:22:45.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:22:45.235Z] [2022-08-01T05:22:45.235Z] Login Succeeded [2022-08-01T05:22:45.235Z] nexus3.edgexfoundry.org:10004 [2022-08-01T05:22:45.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:22:45.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:22:45.496Z] Configure a credential helper to remove this warning. See [2022-08-01T05:22:45.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:22:45.496Z] [2022-08-01T05:22:45.496Z] Login Succeeded [2022-08-01T05:22:45.496Z] docker.io [2022-08-01T05:22:45.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:22:45.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:22:45.758Z] Configure a credential helper to remove this warning. See [2022-08-01T05:22:45.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:22:45.758Z] [2022-08-01T05:22:45.758Z] Login Succeeded [2022-08-01T05:22:45.758Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T05:22:45.775Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-01T05:22:45.812Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T05:22:45.836Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-08-01T05:22:45.836Z] bb07e7e09273fde4df233cc08be8d273e9c828cd [2022-08-01T05:22:45.836Z] latest [2022-08-01T05:22:45.836Z] 2.3.0-dev.10 [2022-08-01T05:22:45.836Z] bb07e7e09273fde4df233cc08be8d273e9c828cd-2.3.0-dev.10 [2022-08-01T05:22:45.836Z] main [2022-08-01T05:22:45.836Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:46.166Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:bb07e7e09273fde4df233cc08be8d273e9c828cd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:46.626Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:bb07e7e09273fde4df233cc08be8d273e9c828cd [2022-08-01T05:22:46.626Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-08-01T05:22:46.626Z] 3fa8544eb0be: Preparing [2022-08-01T05:22:46.626Z] 7abc64563c5f: Preparing [2022-08-01T05:22:46.626Z] c83a382d6819: Preparing [2022-08-01T05:22:46.626Z] e20695be211c: Preparing [2022-08-01T05:22:46.626Z] 9a39932ee09b: Preparing [2022-08-01T05:22:46.626Z] 713e7675e2c1: Preparing [2022-08-01T05:22:46.626Z] 713e7675e2c1: Waiting [2022-08-01T05:22:46.626Z] 9a39932ee09b: Pushed [2022-08-01T05:22:46.626Z] 7abc64563c5f: Pushed [2022-08-01T05:22:46.626Z] 713e7675e2c1: Layer already exists [2022-08-01T05:22:46.626Z] 3fa8544eb0be: Pushed [2022-08-01T05:22:46.889Z] e20695be211c: Pushed [2022-08-01T05:22:49.433Z] c83a382d6819: Pushed [2022-08-01T05:22:49.434Z] bb07e7e09273fde4df233cc08be8d273e9c828cd: digest: sha256:33e43847ba5aac5cb610ce119dec5b7887f67fb6b53f69700755c20c7b7b4f30 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:49.763Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:50.126Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-08-01T05:22:50.126Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-08-01T05:22:50.126Z] 3fa8544eb0be: Preparing [2022-08-01T05:22:50.126Z] 7abc64563c5f: Preparing [2022-08-01T05:22:50.126Z] c83a382d6819: Preparing [2022-08-01T05:22:50.126Z] e20695be211c: Preparing [2022-08-01T05:22:50.126Z] 9a39932ee09b: Preparing [2022-08-01T05:22:50.126Z] 713e7675e2c1: Preparing [2022-08-01T05:22:50.126Z] 713e7675e2c1: Waiting [2022-08-01T05:22:50.126Z] 3fa8544eb0be: Layer already exists [2022-08-01T05:22:50.126Z] 9a39932ee09b: Layer already exists [2022-08-01T05:22:50.126Z] 7abc64563c5f: Layer already exists [2022-08-01T05:22:50.126Z] c83a382d6819: Layer already exists [2022-08-01T05:22:50.126Z] e20695be211c: Layer already exists [2022-08-01T05:22:50.126Z] 713e7675e2c1: Layer already exists [2022-08-01T05:22:50.126Z] latest: digest: sha256:33e43847ba5aac5cb610ce119dec5b7887f67fb6b53f69700755c20c7b7b4f30 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:50.447Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:50.784Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.10 [2022-08-01T05:22:50.784Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-08-01T05:22:50.784Z] 3fa8544eb0be: Preparing [2022-08-01T05:22:50.784Z] 7abc64563c5f: Preparing [2022-08-01T05:22:50.784Z] c83a382d6819: Preparing [2022-08-01T05:22:50.784Z] e20695be211c: Preparing [2022-08-01T05:22:50.784Z] 9a39932ee09b: Preparing [2022-08-01T05:22:50.784Z] 713e7675e2c1: Preparing [2022-08-01T05:22:50.784Z] 713e7675e2c1: Waiting [2022-08-01T05:22:50.784Z] c83a382d6819: Layer already exists [2022-08-01T05:22:50.784Z] 3fa8544eb0be: Layer already exists [2022-08-01T05:22:50.784Z] 7abc64563c5f: Layer already exists [2022-08-01T05:22:50.784Z] e20695be211c: Layer already exists [2022-08-01T05:22:50.784Z] 9a39932ee09b: Layer already exists [2022-08-01T05:22:50.784Z] 713e7675e2c1: Layer already exists [2022-08-01T05:22:50.784Z] 2.3.0-dev.10: digest: sha256:33e43847ba5aac5cb610ce119dec5b7887f67fb6b53f69700755c20c7b7b4f30 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:51.114Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:bb07e7e09273fde4df233cc08be8d273e9c828cd-2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:51.425Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:bb07e7e09273fde4df233cc08be8d273e9c828cd-2.3.0-dev.10 [2022-08-01T05:22:51.425Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-08-01T05:22:51.425Z] 3fa8544eb0be: Preparing [2022-08-01T05:22:51.425Z] 7abc64563c5f: Preparing [2022-08-01T05:22:51.425Z] c83a382d6819: Preparing [2022-08-01T05:22:51.425Z] e20695be211c: Preparing [2022-08-01T05:22:51.425Z] 9a39932ee09b: Preparing [2022-08-01T05:22:51.425Z] 713e7675e2c1: Preparing [2022-08-01T05:22:51.425Z] 713e7675e2c1: Waiting [2022-08-01T05:22:51.425Z] 9a39932ee09b: Layer already exists [2022-08-01T05:22:51.425Z] 7abc64563c5f: Layer already exists [2022-08-01T05:22:51.425Z] e20695be211c: Layer already exists [2022-08-01T05:22:51.425Z] c83a382d6819: Layer already exists [2022-08-01T05:22:51.425Z] 3fa8544eb0be: Layer already exists [2022-08-01T05:22:51.425Z] 713e7675e2c1: Layer already exists [2022-08-01T05:22:51.425Z] bb07e7e09273fde4df233cc08be8d273e9c828cd-2.3.0-dev.10: digest: sha256:33e43847ba5aac5cb610ce119dec5b7887f67fb6b53f69700755c20c7b7b4f30 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:51.745Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:52.064Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-08-01T05:22:52.064Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-08-01T05:22:52.064Z] 3fa8544eb0be: Preparing [2022-08-01T05:22:52.064Z] 7abc64563c5f: Preparing [2022-08-01T05:22:52.064Z] c83a382d6819: Preparing [2022-08-01T05:22:52.064Z] e20695be211c: Preparing [2022-08-01T05:22:52.064Z] 9a39932ee09b: Preparing [2022-08-01T05:22:52.064Z] 713e7675e2c1: Preparing [2022-08-01T05:22:52.064Z] 713e7675e2c1: Waiting [2022-08-01T05:22:52.064Z] 7abc64563c5f: Layer already exists [2022-08-01T05:22:52.064Z] 9a39932ee09b: Layer already exists [2022-08-01T05:22:52.064Z] e20695be211c: Layer already exists [2022-08-01T05:22:52.064Z] 3fa8544eb0be: Layer already exists [2022-08-01T05:22:52.064Z] c83a382d6819: Layer already exists [2022-08-01T05:22:52.064Z] 713e7675e2c1: Layer already exists [2022-08-01T05:22:52.064Z] main: digest: sha256:33e43847ba5aac5cb610ce119dec5b7887f67fb6b53f69700755c20c7b7b4f30 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-01T05:22:52.116Z] ===================================================== [Pipeline] echo [2022-08-01T05:22:52.126Z] taggedImages: [2022-08-01T05:22:52.126Z] - nexus3.edgexfoundry.org:10004/device-modbus:bb07e7e09273fde4df233cc08be8d273e9c828cd [2022-08-01T05:22:52.126Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-08-01T05:22:52.126Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.10 [2022-08-01T05:22:52.126Z] - nexus3.edgexfoundry.org:10004/device-modbus:bb07e7e09273fde4df233cc08be8d273e9c828cd-2.3.0-dev.10 [2022-08-01T05:22:52.126Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:52.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T05:22:52.519Z] [2022-08-01T05:22:52.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:22:52.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T05:22:52.826Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-01T05:22:52.826Z] 5eb5b503b376: Pulling fs layer [2022-08-01T05:22:52.826Z] 5c69ac0246d0: Pulling fs layer [2022-08-01T05:22:52.826Z] ec43610c2a17: Pulling fs layer [2022-08-01T05:22:52.826Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-01T05:22:52.826Z] 3a2ae6a8a46f: Waiting [2022-08-01T05:22:52.826Z] 33b1e0a273af: Pulling fs layer [2022-08-01T05:22:52.826Z] 5d3b04190fa2: Pulling fs layer [2022-08-01T05:22:52.826Z] 2f39f015ded8: Pulling fs layer [2022-08-01T05:22:52.826Z] 33b1e0a273af: Waiting [2022-08-01T05:22:52.826Z] 2f39f015ded8: Waiting [2022-08-01T05:22:52.826Z] 5d3b04190fa2: Waiting [2022-08-01T05:22:52.826Z] 5c69ac0246d0: Download complete [2022-08-01T05:22:52.826Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-01T05:22:52.826Z] 3a2ae6a8a46f: Download complete [2022-08-01T05:22:53.086Z] 33b1e0a273af: Verifying Checksum [2022-08-01T05:22:53.086Z] 33b1e0a273af: Download complete [2022-08-01T05:22:53.086Z] 5d3b04190fa2: Verifying Checksum [2022-08-01T05:22:53.086Z] 5d3b04190fa2: Download complete [2022-08-01T05:22:53.086Z] ec43610c2a17: Verifying Checksum [2022-08-01T05:22:53.086Z] ec43610c2a17: Download complete [2022-08-01T05:22:53.086Z] 5eb5b503b376: Verifying Checksum [2022-08-01T05:22:53.086Z] 5eb5b503b376: Download complete [2022-08-01T05:22:54.027Z] 2f39f015ded8: Download complete [2022-08-01T05:22:54.597Z] 5eb5b503b376: Pull complete [2022-08-01T05:22:54.858Z] 5c69ac0246d0: Pull complete [2022-08-01T05:22:55.427Z] ec43610c2a17: Pull complete [2022-08-01T05:22:55.686Z] 3a2ae6a8a46f: Pull complete [2022-08-01T05:22:55.945Z] 33b1e0a273af: Pull complete [2022-08-01T05:22:55.945Z] 5d3b04190fa2: Pull complete [2022-08-01T05:23:01.219Z] 2f39f015ded8: Pull complete [2022-08-01T05:23:01.219Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-01T05:23:01.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T05:23:01.219Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:23:01.309Z] prd-ubuntu20.04-docker-8c-8g-21642 does not seem to be running inside a container [2022-08-01T05:23:01.348Z] $ 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-08-01T05:23:02.156Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21644 in /w/workspace/gexfoundry_device-modbus-go_main [2022-08-01T05:23:05.466Z] $ docker top 511abbeaf946cf9e0302538b25291ba2d4f1b22f57f8ed72f5711daeb29fdcee -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-08-01T05:23:05.630Z] Running in /w/workspace/device-modbus-go/49 [Pipeline] { [Pipeline] checkout [2022-08-01T05:23:05.653Z] Selected Git installation does not exist. Using Default [2022-08-01T05:23:05.653Z] The recommended git tool is: NONE [2022-08-01T05:23:05.885Z] ---> job-cost.sh [2022-08-01T05:23:05.885Z] lf-activate-venv: SKIPPING [2022-08-01T05:23:05.885Z] INFO: No Stack... [2022-08-01T05:23:06.145Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-01T05:23:06.715Z] INFO: Archiving Costs [Pipeline] sh [2022-08-01T05:23:07.009Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-08-01T05:23:07.009Z] + cut -d, -f6 [Pipeline] lock [2022-08-01T05:23:07.024Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-49-stack-cost] [2022-08-01T05:23:07.035Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-49-stack-cost] did not exist. Created. [2022-08-01T05:23:07.036Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T05:23:07.349Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-01T05:23:07.375Z] Stashed 1 file(s) [Pipeline] } [2022-08-01T05:23:07.381Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-49-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-01T05:23:07.407Z] $ docker stop --time=1 511abbeaf946cf9e0302538b25291ba2d4f1b22f57f8ed72f5711daeb29fdcee [2022-08-01T05:23:08.545Z] $ docker rm -f 511abbeaf946cf9e0302538b25291ba2d4f1b22f57f8ed72f5711daeb29fdcee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-01T05:23:09.972Z] using credential edgex-jenkins-ssh [2022-08-01T05:23:09.993Z] Cloning the remote Git repository [2022-08-01T05:23:10.053Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-08-01T05:23:10.127Z] > git init /w/workspace/device-modbus-go/49 # timeout=10 [2022-08-01T05:23:10.225Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-08-01T05:23:10.227Z] > git --version # timeout=10 [2022-08-01T05:23:10.254Z] > git --version # 'git version 2.25.1' [2022-08-01T05:23:10.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T05:23:10.356Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-01T05:23:11.341Z] Avoid second fetch [2022-08-01T05:23:11.342Z] Checking out Revision bb07e7e09273fde4df233cc08be8d273e9c828cd (main) [2022-08-01T05:23:11.300Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-08-01T05:23:11.322Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-01T05:23:11.369Z] > git config core.sparsecheckout # timeout=10 [2022-08-01T05:23:11.428Z] > git checkout -f bb07e7e09273fde4df233cc08be8d273e9c828cd # timeout=10 [2022-08-01T05:23:15.736Z] Commit message: "Merge pull request #366 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T05:23:16.573Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-01T05:23:16.574Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-01T05:23:16.574Z] Dload Upload Total Spent Left Speed [2022-08-01T05:23:16.574Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 95596 0 --:--:-- --:--:-- --:--:-- 95596 [Pipeline] sh [2022-08-01T05:23:17.227Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-01T05:23:17.576Z] + sudo tee /etc/docker/daemon.new [2022-08-01T05:23:17.577Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-01T05:23:17.577Z] { [2022-08-01T05:23:17.577Z] "registry-mirrors": [ [2022-08-01T05:23:17.577Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-01T05:23:17.577Z] ], [2022-08-01T05:23:17.577Z] "bip": "10.250.0.254/24", [2022-08-01T05:23:17.577Z] "hosts": [ [2022-08-01T05:23:17.577Z] "tcp://0.0.0.0:5555", [2022-08-01T05:23:17.577Z] "unix:///var/run/docker.sock" [2022-08-01T05:23:17.577Z] ], [2022-08-01T05:23:17.577Z] "mtu": 1458, [2022-08-01T05:23:17.577Z] "selinux-enabled": true, [2022-08-01T05:23:17.577Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-01T05:23:17.577Z] } [Pipeline] sh [2022-08-01T05:23:17.931Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-01T05:23:18.277Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T05:23:36.680Z] provisioning config files... [2022-08-01T05:23:36.707Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/49@tmp/config4622370392268688396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:23:37.064Z] ---> docker-login.sh [2022-08-01T05:23:37.064Z] nexus3.edgexfoundry.org:10001 [2022-08-01T05:23:37.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:23:37.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:23:37.935Z] Configure a credential helper to remove this warning. See [2022-08-01T05:23:37.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:23:37.935Z] [2022-08-01T05:23:37.935Z] Login Succeeded [2022-08-01T05:23:37.935Z] nexus3.edgexfoundry.org:10002 [2022-08-01T05:23:38.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:23:38.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:23:38.489Z] Configure a credential helper to remove this warning. See [2022-08-01T05:23:38.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:23:38.489Z] [2022-08-01T05:23:38.489Z] Login Succeeded [2022-08-01T05:23:38.489Z] nexus3.edgexfoundry.org:10003 [2022-08-01T05:23:38.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:23:39.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:23:39.044Z] Configure a credential helper to remove this warning. See [2022-08-01T05:23:39.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:23:39.044Z] [2022-08-01T05:23:39.044Z] Login Succeeded [2022-08-01T05:23:39.044Z] nexus3.edgexfoundry.org:10004 [2022-08-01T05:23:39.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:23:39.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:23:39.315Z] Configure a credential helper to remove this warning. See [2022-08-01T05:23:39.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:23:39.315Z] [2022-08-01T05:23:39.315Z] Login Succeeded [2022-08-01T05:23:39.315Z] docker.io [2022-08-01T05:23:39.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:23:40.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:23:40.182Z] Configure a credential helper to remove this warning. See [2022-08-01T05:23:40.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:23:40.182Z] [2022-08-01T05:23:40.182Z] Login Succeeded [2022-08-01T05:23:40.182Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T05:23:40.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-01T05:23:40.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T05:23:40.654Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T05:23:40.664Z] ========================================================= [2022-08-01T05:23:40.665Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-01T05:23:40.665Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:23:41.041Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-01T05:23:41.314Z] Sending build context to Docker daemon 3.167MB [2022-08-01T05:23:41.314Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T05:23:41.314Z] Step 2/10 : FROM ${BASE} AS builder [2022-08-01T05:23:41.593Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-01T05:23:41.593Z] b3c136eddcbf: Pulling fs layer [2022-08-01T05:23:41.593Z] c0a3192eca97: Pulling fs layer [2022-08-01T05:23:41.593Z] a050256f5b6f: Pulling fs layer [2022-08-01T05:23:41.593Z] 656be50a0ddc: Pulling fs layer [2022-08-01T05:23:41.593Z] 2bbca73fdf42: Pulling fs layer [2022-08-01T05:23:41.593Z] 46d945488cbd: Pulling fs layer [2022-08-01T05:23:41.593Z] 8a5474983e97: Pulling fs layer [2022-08-01T05:23:41.593Z] 329c88fbcd65: Pulling fs layer [2022-08-01T05:23:41.593Z] 656be50a0ddc: Waiting [2022-08-01T05:23:41.593Z] 2bbca73fdf42: Waiting [2022-08-01T05:23:41.593Z] 8a5474983e97: Waiting [2022-08-01T05:23:41.593Z] 46d945488cbd: Waiting [2022-08-01T05:23:41.593Z] 329c88fbcd65: Waiting [2022-08-01T05:23:41.593Z] a050256f5b6f: Download complete [2022-08-01T05:23:41.593Z] c0a3192eca97: Verifying Checksum [2022-08-01T05:23:41.593Z] c0a3192eca97: Download complete [2022-08-01T05:23:41.593Z] 2bbca73fdf42: Download complete [2022-08-01T05:23:41.593Z] 46d945488cbd: Verifying Checksum [2022-08-01T05:23:41.593Z] 46d945488cbd: Download complete [2022-08-01T05:23:41.593Z] b3c136eddcbf: Verifying Checksum [2022-08-01T05:23:41.593Z] b3c136eddcbf: Download complete [2022-08-01T05:23:42.591Z] b3c136eddcbf: Pull complete [2022-08-01T05:23:42.871Z] 329c88fbcd65: Verifying Checksum [2022-08-01T05:23:42.871Z] 329c88fbcd65: Download complete [2022-08-01T05:23:43.483Z] c0a3192eca97: Pull complete [2022-08-01T05:23:43.767Z] a050256f5b6f: Pull complete [2022-08-01T05:23:44.042Z] 8a5474983e97: Verifying Checksum [2022-08-01T05:23:44.042Z] 8a5474983e97: Download complete [2022-08-01T05:23:44.642Z] 656be50a0ddc: Verifying Checksum [2022-08-01T05:23:44.642Z] 656be50a0ddc: Download complete [2022-08-01T05:23:57.067Z] 656be50a0ddc: Pull complete [2022-08-01T05:23:57.067Z] 2bbca73fdf42: Pull complete [2022-08-01T05:23:57.345Z] 46d945488cbd: Pull complete [2022-08-01T05:24:04.070Z] 8a5474983e97: Pull complete [2022-08-01T05:24:06.711Z] 329c88fbcd65: Pull complete [2022-08-01T05:24:06.711Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-01T05:24:06.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-01T05:24:06.711Z] ---> ff4287adb874 [2022-08-01T05:24:06.711Z] Step 3/10 : ARG MAKE='make build' [2022-08-01T05:24:06.986Z] ---> Running in 2e6a596ede53 [2022-08-01T05:24:07.590Z] Removing intermediate container 2e6a596ede53 [2022-08-01T05:24:07.590Z] ---> 0a4d4743e79f [2022-08-01T05:24:07.590Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:24:07.590Z] ---> Running in 8ae3a7340bf8 [2022-08-01T05:24:09.571Z] Removing intermediate container 8ae3a7340bf8 [2022-08-01T05:24:09.571Z] ---> 3241e54c5119 [2022-08-01T05:24:09.571Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-01T05:24:09.571Z] ---> Running in e1f4d1f08849 [2022-08-01T05:24:10.550Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T05:24:11.151Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T05:24:12.130Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-08-01T05:24:12.130Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-08-01T05:24:12.404Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-08-01T05:24:12.404Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-08-01T05:24:12.676Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-08-01T05:24:12.676Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-08-01T05:24:12.676Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-08-01T05:24:12.951Z] (8/8) Installing openssh (9.0_p1-r2) [2022-08-01T05:24:12.951Z] Executing busybox-1.35.0-r13.trigger [2022-08-01T05:24:12.951Z] OK: 228 MiB in 59 packages [2022-08-01T05:24:14.394Z] Removing intermediate container e1f4d1f08849 [2022-08-01T05:24:14.394Z] ---> 2157ca97cc68 [2022-08-01T05:24:14.394Z] Step 6/10 : WORKDIR /device-modbus-go [2022-08-01T05:24:14.394Z] ---> Running in 104a3e20f317 [2022-08-01T05:24:14.394Z] Removing intermediate container 104a3e20f317 [2022-08-01T05:24:14.394Z] ---> d3515f25333b [2022-08-01T05:24:14.394Z] Step 7/10 : COPY go.mod vendor* ./ [2022-08-01T05:24:14.993Z] ---> 97b713903500 [2022-08-01T05:24:14.993Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T05:24:14.993Z] ---> Running in 530861c7a09e [2022-08-01T05:25:11.552Z] Removing intermediate container 530861c7a09e [2022-08-01T05:25:11.552Z] ---> f0e07312a547 [2022-08-01T05:25:11.552Z] Step 9/10 : COPY . . [2022-08-01T05:25:11.552Z] ---> 1607c9fa954a [2022-08-01T05:25:11.552Z] Step 10/10 : RUN ${MAKE} [2022-08-01T05:25:11.552Z] ---> Running in 6c1349480a1f [2022-08-01T05:25:11.552Z] noop [2022-08-01T05:25:11.552Z] Removing intermediate container 6c1349480a1f [2022-08-01T05:25:11.552Z] ---> d1522a72f239 [2022-08-01T05:25:11.552Z] Successfully built d1522a72f239 [2022-08-01T05:25:11.552Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:25:11.926Z] + docker inspect -f . ci-base-image-arm64 [2022-08-01T05:25:11.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:25:12.188Z] prd-ubuntu20.04-docker-arm64-4c-16g-21644 does not seem to be running inside a container [2022-08-01T05:25:12.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-01T05:25:13.611Z] $ docker top b0efe9498024c6666c08012e74da27227f2deb92d486761ab1d0011cb01fcb15 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T05:25:14.523Z] + go version [2022-08-01T05:25:14.523Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-01T05:25:14.557Z] $ docker stop --time=1 b0efe9498024c6666c08012e74da27227f2deb92d486761ab1d0011cb01fcb15 [2022-08-01T05:25:16.240Z] $ docker rm -f b0efe9498024c6666c08012e74da27227f2deb92d486761ab1d0011cb01fcb15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:25:16.859Z] + docker inspect -f . ci-base-image-arm64 [2022-08-01T05:25:16.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:25:17.107Z] prd-ubuntu20.04-docker-arm64-4c-16g-21644 does not seem to be running inside a container [2022-08-01T05:25:17.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-modbus-go/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-01T05:25:18.515Z] $ docker top cf4b74d921212aed543dffb92a80ad367d3bf047fc00a049b8f249fb12f7fd1b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T05:25:19.424Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/49 [Pipeline] fileExists [Pipeline] sh [2022-08-01T05:25:20.101Z] + make test [2022-08-01T05:25:20.101Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-01T05:25:21.544Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-08-01T05:26:43.388Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-08-01T05:26:43.388Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.7% of statements [2022-08-01T05:26:43.664Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-01T05:26:43.664Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-01T05:27:05.905Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-01T05:27:05.905Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-01T05:27:05.905Z] ./bin/test-attribution-txt.sh [2022-08-01T05:27:05.905Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-01T05:27:05.905Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-01T05:27:05.905Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-01T05:27:05.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-01T05:27:05.951Z] $ docker stop --time=1 cf4b74d921212aed543dffb92a80ad367d3bf047fc00a049b8f249fb12f7fd1b [2022-08-01T05:27:07.776Z] $ docker rm -f cf4b74d921212aed543dffb92a80ad367d3bf047fc00a049b8f249fb12f7fd1b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T05:27:08.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-01T05:27:08.756Z] Warning: overwriting stash ‘coverage-report’ [2022-08-01T05:27:09.288Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T05:27:09.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-01T05:27:10.048Z] + ls -al . [2022-08-01T05:27:10.048Z] total 184 [2022-08-01T05:27:10.048Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 05:25 . [2022-08-01T05:27:10.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:23 .. [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 1 05:23 .dockerignore [2022-08-01T05:27:10.048Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 05:23 .git [2022-08-01T05:27:10.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:23 .github [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 1 05:23 .gitignore [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 05:23 .golangci.yml [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 9744 Aug 1 05:23 Attribution.txt [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 10001 Aug 1 05:23 CHANGELOG.md [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 1550 Aug 1 05:23 Dockerfile [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 05:23 GOVERNANCE.md [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 1 05:23 Jenkinsfile [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 05:23 LICENSE [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 1892 Aug 1 05:23 Makefile [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 1 05:23 OWNERS.md [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 3397 Aug 1 05:23 README.md [2022-08-01T05:27:10.048Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 1 05:21 VERSION [2022-08-01T05:27:10.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 05:23 bin [2022-08-01T05:27:10.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:23 cmd [2022-08-01T05:27:10.048Z] -rw-r--r-- 1 jenkins jenkins 23241 Aug 1 05:26 coverage.out [2022-08-01T05:27:10.049Z] -rw-rw-r-- 1 jenkins jenkins 3572 Aug 1 05:23 go.mod [2022-08-01T05:27:10.049Z] -rw-rw-r-- 1 jenkins jenkins 37058 Aug 1 05:23 go.sum [2022-08-01T05:27:10.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:23 internal [2022-08-01T05:27:10.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 05:23 simulator [2022-08-01T05:27:10.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:23 snap [2022-08-01T05:27:10.049Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 1 05:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:27:10.428Z] + 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=bb07e7e09273fde4df233cc08be8d273e9c828cd --label arch=arm64 --label version=2.3.0-dev.10 . [2022-08-01T05:27:10.747Z] Sending build context to Docker daemon 3.191MB [2022-08-01T05:27:10.748Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T05:27:10.748Z] Step 2/23 : FROM ${BASE} AS builder [2022-08-01T05:27:10.748Z] ---> d1522a72f239 [2022-08-01T05:27:10.748Z] Step 3/23 : ARG MAKE='make build' [2022-08-01T05:27:11.043Z] ---> Running in b04f358ec029 [2022-08-01T05:27:11.363Z] Removing intermediate container b04f358ec029 [2022-08-01T05:27:11.363Z] ---> 1534c73249af [2022-08-01T05:27:11.363Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:27:11.363Z] ---> Running in 2932d21e4566 [2022-08-01T05:27:13.368Z] Removing intermediate container 2932d21e4566 [2022-08-01T05:27:13.368Z] ---> b0b0ff5004dc [2022-08-01T05:27:13.368Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-08-01T05:27:13.368Z] ---> Running in eaee0d2e7d0f [2022-08-01T05:27:14.349Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T05:27:15.331Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T05:27:16.322Z] OK: 228 MiB in 59 packages [2022-08-01T05:27:16.924Z] Removing intermediate container eaee0d2e7d0f [2022-08-01T05:27:16.924Z] ---> 607b446b4fb8 [2022-08-01T05:27:16.924Z] Step 6/23 : WORKDIR /device-modbus-go [2022-08-01T05:27:16.924Z] ---> Running in 01fa3295b4ca [2022-08-01T05:27:17.525Z] Removing intermediate container 01fa3295b4ca [2022-08-01T05:27:17.525Z] ---> ac62edd59919 [2022-08-01T05:27:17.525Z] Step 7/23 : COPY go.mod vendor* ./ [2022-08-01T05:27:17.800Z] ---> d9aecaf5556e [2022-08-01T05:27:17.800Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T05:27:18.074Z] ---> Running in 03cbfca3dbd8 [2022-08-01T05:27:20.052Z] Removing intermediate container 03cbfca3dbd8 [2022-08-01T05:27:20.052Z] ---> 52fc795c09ea [2022-08-01T05:27:20.052Z] Step 9/23 : COPY . . [2022-08-01T05:27:21.040Z] ---> 44e4e4e8215c [2022-08-01T05:27:21.040Z] Step 10/23 : RUN ${MAKE} [2022-08-01T05:27:21.040Z] ---> Running in f0f1581862b1 [2022-08-01T05:27:22.020Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-08-01T05:29:43.925Z] Removing intermediate container f0f1581862b1 [2022-08-01T05:29:43.925Z] ---> 12b174890cd6 [2022-08-01T05:29:43.925Z] Step 11/23 : FROM alpine:3.14 [2022-08-01T05:29:43.925Z] 3.14: Pulling from library/alpine [2022-08-01T05:29:43.925Z] f4bf3852c6cc: Pulling fs layer [2022-08-01T05:29:43.925Z] f4bf3852c6cc: Verifying Checksum [2022-08-01T05:29:43.925Z] f4bf3852c6cc: Download complete [2022-08-01T05:29:43.925Z] f4bf3852c6cc: Pull complete [2022-08-01T05:29:43.925Z] Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 [2022-08-01T05:29:43.925Z] Status: Downloaded newer image for alpine:3.14 [2022-08-01T05:29:43.925Z] ---> f19c924ebacc [2022-08-01T05:29:43.925Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-08-01T05:29:43.925Z] ---> Running in 2f6539392b26 [2022-08-01T05:29:43.925Z] Removing intermediate container 2f6539392b26 [2022-08-01T05:29:43.925Z] ---> 92e901045211 [2022-08-01T05:29:43.925Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T05:29:43.925Z] ---> Running in b936ff2ae7fc [2022-08-01T05:29:43.925Z] Removing intermediate container b936ff2ae7fc [2022-08-01T05:29:43.925Z] ---> f2223ce1835c [2022-08-01T05:29:43.925Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-01T05:29:43.925Z] ---> Running in 4b2c4334eaed [2022-08-01T05:29:43.925Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-08-01T05:29:43.925Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-08-01T05:29:43.925Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-01T05:29:43.925Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-08-01T05:29:43.925Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-01T05:29:43.925Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-08-01T05:29:43.925Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-01T05:29:43.925Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-01T05:29:43.925Z] Executing busybox-1.33.1-r8.trigger [2022-08-01T05:29:43.925Z] OK: 8 MiB in 20 packages [2022-08-01T05:29:43.925Z] Removing intermediate container 4b2c4334eaed [2022-08-01T05:29:43.925Z] ---> 059eebbfaf7e [2022-08-01T05:29:43.925Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-08-01T05:29:43.925Z] ---> 44e983d5ccd1 [2022-08-01T05:29:43.925Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-08-01T05:29:44.203Z] ---> 4ab47d5d3b44 [2022-08-01T05:29:44.203Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-08-01T05:29:44.802Z] ---> 351e38ff22a6 [2022-08-01T05:29:44.802Z] Step 18/23 : EXPOSE 59901 [2022-08-01T05:29:44.802Z] ---> Running in 7d0108ed7427 [2022-08-01T05:29:45.078Z] Removing intermediate container 7d0108ed7427 [2022-08-01T05:29:45.078Z] ---> 12f3f6becc92 [2022-08-01T05:29:45.078Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-08-01T05:29:45.078Z] ---> Running in 539977adaf2b [2022-08-01T05:29:45.363Z] Removing intermediate container 539977adaf2b [2022-08-01T05:29:45.363Z] ---> 5de1991008b3 [2022-08-01T05:29:45.363Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-01T05:29:45.363Z] ---> Running in b581089d2ceb [2022-08-01T05:29:45.966Z] Removing intermediate container b581089d2ceb [2022-08-01T05:29:45.966Z] ---> 942d422ddd60 [2022-08-01T05:29:45.966Z] Step 21/23 : LABEL arch=arm64 [2022-08-01T05:29:45.966Z] ---> Running in f3dcb532861d [2022-08-01T05:29:46.245Z] Removing intermediate container f3dcb532861d [2022-08-01T05:29:46.245Z] ---> 5360ccf87b2b [2022-08-01T05:29:46.245Z] Step 22/23 : LABEL git_sha=bb07e7e09273fde4df233cc08be8d273e9c828cd [2022-08-01T05:29:46.245Z] ---> Running in ad608eb1ef70 [2022-08-01T05:29:46.521Z] Removing intermediate container ad608eb1ef70 [2022-08-01T05:29:46.521Z] ---> ddd1dc915830 [2022-08-01T05:29:46.521Z] Step 23/23 : LABEL version=2.3.0-dev.10 [2022-08-01T05:29:46.807Z] ---> Running in 3cb25902407d [2022-08-01T05:29:47.082Z] Removing intermediate container 3cb25902407d [2022-08-01T05:29:47.082Z] ---> e884074de6ae [2022-08-01T05:29:47.082Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-01T05:29:47.082Z] Successfully built e884074de6ae [2022-08-01T05:29:47.082Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T05:29:47.207Z] provisioning config files... [2022-08-01T05:29:47.228Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/49@tmp/config6224352837216586652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:29:47.584Z] ---> docker-login.sh [2022-08-01T05:29:47.584Z] nexus3.edgexfoundry.org:10001 [2022-08-01T05:29:47.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:29:47.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:29:47.858Z] Configure a credential helper to remove this warning. See [2022-08-01T05:29:47.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:29:47.858Z] [2022-08-01T05:29:47.858Z] Login Succeeded [2022-08-01T05:29:47.858Z] nexus3.edgexfoundry.org:10002 [2022-08-01T05:29:48.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:29:48.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:29:48.455Z] Configure a credential helper to remove this warning. See [2022-08-01T05:29:48.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:29:48.455Z] [2022-08-01T05:29:48.455Z] Login Succeeded [2022-08-01T05:29:48.455Z] nexus3.edgexfoundry.org:10003 [2022-08-01T05:29:49.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:29:49.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:29:49.051Z] Configure a credential helper to remove this warning. See [2022-08-01T05:29:49.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:29:49.051Z] [2022-08-01T05:29:49.051Z] Login Succeeded [2022-08-01T05:29:49.051Z] nexus3.edgexfoundry.org:10004 [2022-08-01T05:29:49.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:29:49.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:29:49.605Z] Configure a credential helper to remove this warning. See [2022-08-01T05:29:49.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:29:49.605Z] [2022-08-01T05:29:49.605Z] Login Succeeded [2022-08-01T05:29:49.605Z] docker.io [2022-08-01T05:29:49.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T05:29:50.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T05:29:50.475Z] Configure a credential helper to remove this warning. See [2022-08-01T05:29:50.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T05:29:50.475Z] [2022-08-01T05:29:50.475Z] Login Succeeded [2022-08-01T05:29:50.475Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T05:29:50.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-01T05:29:50.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T05:29:50.555Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-08-01T05:29:50.555Z] bb07e7e09273fde4df233cc08be8d273e9c828cd [2022-08-01T05:29:50.555Z] latest [2022-08-01T05:29:50.555Z] 2.3.0-dev.10 [2022-08-01T05:29:50.555Z] bb07e7e09273fde4df233cc08be8d273e9c828cd-2.3.0-dev.10 [2022-08-01T05:29:50.555Z] main [2022-08-01T05:29:50.555Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:29:50.934Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb07e7e09273fde4df233cc08be8d273e9c828cd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:29:51.311Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb07e7e09273fde4df233cc08be8d273e9c828cd [2022-08-01T05:29:51.311Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-08-01T05:29:51.311Z] 7f51d6ccadca: Preparing [2022-08-01T05:29:51.311Z] 4e4960d90e7e: Preparing [2022-08-01T05:29:51.311Z] de7fbcaab78e: Preparing [2022-08-01T05:29:51.311Z] 2d3cfaba9939: Preparing [2022-08-01T05:29:51.311Z] 14edd16c71d2: Preparing [2022-08-01T05:29:51.311Z] 51fe7c9ea229: Preparing [2022-08-01T05:29:51.311Z] 51fe7c9ea229: Waiting [2022-08-01T05:29:51.591Z] 4e4960d90e7e: Pushed [2022-08-01T05:29:51.591Z] 7f51d6ccadca: Pushed [2022-08-01T05:29:51.591Z] 14edd16c71d2: Pushed [2022-08-01T05:29:51.591Z] 51fe7c9ea229: Layer already exists [2022-08-01T05:29:52.189Z] 2d3cfaba9939: Pushed [2022-08-01T05:29:57.593Z] de7fbcaab78e: Pushed [2022-08-01T05:29:57.593Z] bb07e7e09273fde4df233cc08be8d273e9c828cd: digest: sha256:3349e52188ccada6b1d33619981b16692a5aa61259c35a0b03392bd9cc2ec597 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:29:57.967Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:29:58.335Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-08-01T05:29:58.335Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-08-01T05:29:58.335Z] 7f51d6ccadca: Preparing [2022-08-01T05:29:58.335Z] 4e4960d90e7e: Preparing [2022-08-01T05:29:58.335Z] de7fbcaab78e: Preparing [2022-08-01T05:29:58.335Z] 2d3cfaba9939: Preparing [2022-08-01T05:29:58.335Z] 14edd16c71d2: Preparing [2022-08-01T05:29:58.335Z] 51fe7c9ea229: Preparing [2022-08-01T05:29:58.335Z] 51fe7c9ea229: Waiting [2022-08-01T05:29:58.335Z] 14edd16c71d2: Layer already exists [2022-08-01T05:29:58.335Z] 7f51d6ccadca: Layer already exists [2022-08-01T05:29:58.335Z] 4e4960d90e7e: Layer already exists [2022-08-01T05:29:58.335Z] 2d3cfaba9939: Layer already exists [2022-08-01T05:29:58.335Z] de7fbcaab78e: Layer already exists [2022-08-01T05:29:58.608Z] 51fe7c9ea229: Layer already exists [2022-08-01T05:29:58.608Z] latest: digest: sha256:3349e52188ccada6b1d33619981b16692a5aa61259c35a0b03392bd9cc2ec597 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:29:58.980Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:29:59.340Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.10 [2022-08-01T05:29:59.340Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-08-01T05:29:59.340Z] 7f51d6ccadca: Preparing [2022-08-01T05:29:59.340Z] 4e4960d90e7e: Preparing [2022-08-01T05:29:59.340Z] de7fbcaab78e: Preparing [2022-08-01T05:29:59.340Z] 2d3cfaba9939: Preparing [2022-08-01T05:29:59.340Z] 14edd16c71d2: Preparing [2022-08-01T05:29:59.340Z] 51fe7c9ea229: Preparing [2022-08-01T05:29:59.340Z] 51fe7c9ea229: Waiting [2022-08-01T05:29:59.340Z] 14edd16c71d2: Layer already exists [2022-08-01T05:29:59.340Z] 2d3cfaba9939: Layer already exists [2022-08-01T05:29:59.340Z] 4e4960d90e7e: Layer already exists [2022-08-01T05:29:59.340Z] de7fbcaab78e: Layer already exists [2022-08-01T05:29:59.340Z] 7f51d6ccadca: Layer already exists [2022-08-01T05:29:59.340Z] 51fe7c9ea229: Layer already exists [2022-08-01T05:29:59.613Z] 2.3.0-dev.10: digest: sha256:3349e52188ccada6b1d33619981b16692a5aa61259c35a0b03392bd9cc2ec597 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:29:59.983Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb07e7e09273fde4df233cc08be8d273e9c828cd-2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:30:00.356Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb07e7e09273fde4df233cc08be8d273e9c828cd-2.3.0-dev.10 [2022-08-01T05:30:00.356Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-08-01T05:30:00.356Z] 7f51d6ccadca: Preparing [2022-08-01T05:30:00.356Z] 4e4960d90e7e: Preparing [2022-08-01T05:30:00.356Z] de7fbcaab78e: Preparing [2022-08-01T05:30:00.356Z] 2d3cfaba9939: Preparing [2022-08-01T05:30:00.356Z] 14edd16c71d2: Preparing [2022-08-01T05:30:00.356Z] 51fe7c9ea229: Preparing [2022-08-01T05:30:00.356Z] 51fe7c9ea229: Waiting [2022-08-01T05:30:00.356Z] 4e4960d90e7e: Layer already exists [2022-08-01T05:30:00.356Z] 2d3cfaba9939: Layer already exists [2022-08-01T05:30:00.356Z] 7f51d6ccadca: Layer already exists [2022-08-01T05:30:00.356Z] 14edd16c71d2: Layer already exists [2022-08-01T05:30:00.633Z] de7fbcaab78e: Layer already exists [2022-08-01T05:30:00.633Z] 51fe7c9ea229: Layer already exists [2022-08-01T05:30:00.633Z] bb07e7e09273fde4df233cc08be8d273e9c828cd-2.3.0-dev.10: digest: sha256:3349e52188ccada6b1d33619981b16692a5aa61259c35a0b03392bd9cc2ec597 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:30:01.002Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:30:01.369Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-08-01T05:30:01.369Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-08-01T05:30:01.369Z] 7f51d6ccadca: Preparing [2022-08-01T05:30:01.369Z] 4e4960d90e7e: Preparing [2022-08-01T05:30:01.369Z] de7fbcaab78e: Preparing [2022-08-01T05:30:01.369Z] 2d3cfaba9939: Preparing [2022-08-01T05:30:01.369Z] 14edd16c71d2: Preparing [2022-08-01T05:30:01.369Z] 51fe7c9ea229: Preparing [2022-08-01T05:30:01.369Z] 51fe7c9ea229: Waiting [2022-08-01T05:30:01.369Z] 2d3cfaba9939: Layer already exists [2022-08-01T05:30:01.369Z] 4e4960d90e7e: Layer already exists [2022-08-01T05:30:01.369Z] de7fbcaab78e: Layer already exists [2022-08-01T05:30:01.369Z] 7f51d6ccadca: Layer already exists [2022-08-01T05:30:01.369Z] 14edd16c71d2: Layer already exists [2022-08-01T05:30:01.641Z] 51fe7c9ea229: Layer already exists [2022-08-01T05:30:01.641Z] main: digest: sha256:3349e52188ccada6b1d33619981b16692a5aa61259c35a0b03392bd9cc2ec597 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-01T05:30:01.701Z] ===================================================== [Pipeline] echo [2022-08-01T05:30:01.711Z] taggedImages: [2022-08-01T05:30:01.711Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb07e7e09273fde4df233cc08be8d273e9c828cd [2022-08-01T05:30:01.711Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-08-01T05:30:01.711Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.10 [2022-08-01T05:30:01.711Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb07e7e09273fde4df233cc08be8d273e9c828cd-2.3.0-dev.10 [2022-08-01T05:30:01.711Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:30:02.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T05:30:02.099Z] [2022-08-01T05:30:02.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:30:02.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T05:30:02.741Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-01T05:30:02.741Z] 8998bd30e6a1: Pulling fs layer [2022-08-01T05:30:02.741Z] 04944245beec: Pulling fs layer [2022-08-01T05:30:02.741Z] 699f458cf7ca: Pulling fs layer [2022-08-01T05:30:02.741Z] 765212b225bb: Pulling fs layer [2022-08-01T05:30:02.741Z] f23df028b6ca: Pulling fs layer [2022-08-01T05:30:02.741Z] d65c8cfc05b1: Pulling fs layer [2022-08-01T05:30:02.741Z] 2437ff75d9bd: Pulling fs layer [2022-08-01T05:30:02.741Z] f23df028b6ca: Waiting [2022-08-01T05:30:02.741Z] d65c8cfc05b1: Waiting [2022-08-01T05:30:02.741Z] 765212b225bb: Waiting [2022-08-01T05:30:02.741Z] 2437ff75d9bd: Waiting [2022-08-01T05:30:02.741Z] 04944245beec: Verifying Checksum [2022-08-01T05:30:02.741Z] 04944245beec: Download complete [2022-08-01T05:30:02.741Z] 765212b225bb: Verifying Checksum [2022-08-01T05:30:02.741Z] 765212b225bb: Download complete [2022-08-01T05:30:02.741Z] f23df028b6ca: Download complete [2022-08-01T05:30:02.741Z] d65c8cfc05b1: Verifying Checksum [2022-08-01T05:30:02.741Z] d65c8cfc05b1: Download complete [2022-08-01T05:30:03.017Z] 699f458cf7ca: Verifying Checksum [2022-08-01T05:30:03.017Z] 699f458cf7ca: Download complete [2022-08-01T05:30:03.289Z] 8998bd30e6a1: Verifying Checksum [2022-08-01T05:30:03.289Z] 8998bd30e6a1: Download complete [2022-08-01T05:30:05.910Z] 2437ff75d9bd: Verifying Checksum [2022-08-01T05:30:05.910Z] 2437ff75d9bd: Download complete [2022-08-01T05:30:07.884Z] 8998bd30e6a1: Pull complete [2022-08-01T05:30:08.158Z] 04944245beec: Pull complete [2022-08-01T05:30:09.649Z] 699f458cf7ca: Pull complete [2022-08-01T05:30:09.942Z] 765212b225bb: Pull complete [2022-08-01T05:30:10.961Z] f23df028b6ca: Pull complete [2022-08-01T05:30:11.256Z] d65c8cfc05b1: Pull complete [2022-08-01T05:30:26.345Z] 2437ff75d9bd: Pull complete [2022-08-01T05:30:26.345Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-01T05:30:26.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T05:30:26.345Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:30:26.604Z] prd-ubuntu20.04-docker-arm64-4c-16g-21644 does not seem to be running inside a container [2022-08-01T05:30:26.709Z] $ 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/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-01T05:30:29.681Z] $ docker top 0a60f06e9e73b3106471d4319eb334192626572afc4cc5c45141053f1de4d892 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:30:30.602Z] ---> job-cost.sh [2022-08-01T05:30:30.602Z] lf-activate-venv: SKIPPING [2022-08-01T05:30:30.602Z] INFO: No Stack... [2022-08-01T05:30:31.195Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-01T05:30:32.170Z] INFO: Archiving Costs [Pipeline] sh [2022-08-01T05:30:32.835Z] + cat /w/workspace/device-modbus-go/49/archives/cost.csv [2022-08-01T05:30:32.835Z] + cut -d, -f6 [Pipeline] lock [2022-08-01T05:30:32.910Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-49-stack-cost] [2022-08-01T05:30:32.919Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-49-stack-cost] did not exist. Created. [2022-08-01T05:30:32.919Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T05:30:33.620Z] /w/workspace/device-modbus-go/49@tmp/durable-8680bd88/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-01T05:30:34.304Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-01T05:30:34.325Z] Warning: overwriting stash ‘stack-cost’ [2022-08-01T05:30:34.377Z] Stashed 1 file(s) [Pipeline] } [2022-08-01T05:30:34.386Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-49-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-01T05:30:34.420Z] $ docker stop --time=1 0a60f06e9e73b3106471d4319eb334192626572afc4cc5c45141053f1de4d892 [2022-08-01T05:30:35.955Z] $ docker rm -f 0a60f06e9e73b3106471d4319eb334192626572afc4cc5c45141053f1de4d892 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-01T05:30:36.402Z] provisioning config files... [2022-08-01T05:30:36.410Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config184368939056029664tmp [Pipeline] { [Pipeline] sh [2022-08-01T05:30:36.708Z] + set +x [2022-08-01T05:30:36.708Z] + curl -s https://codecov.io/bash [2022-08-01T05:30:36.708Z] + bash -s -- [2022-08-01T05:30:36.708Z] [2022-08-01T05:30:36.708Z] _____ _ [2022-08-01T05:30:36.708Z] / ____| | | [2022-08-01T05:30:36.708Z] | | ___ __| | ___ ___ _____ __ [2022-08-01T05:30:36.708Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-01T05:30:36.708Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-01T05:30:36.708Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-01T05:30:36.708Z] Bash-1.0.6 [2022-08-01T05:30:36.708Z] [2022-08-01T05:30:36.708Z] [2022-08-01T05:30:36.708Z] ==> git version 2.25.1 found [2022-08-01T05:30:36.708Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-01T05:30:36.708Z] Release-Date: 2020-01-08 [2022-08-01T05:30:36.708Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-01T05:30:36.708Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-01T05:30:36.708Z] ==> Jenkins CI detected. [2022-08-01T05:30:36.708Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-08-01T05:30:36.708Z] project root: . [2022-08-01T05:30:36.708Z] --> token set from env [2022-08-01T05:30:36.708Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-01T05:30:36.708Z] ==> Running gcov in . (disable via -X gcov) [2022-08-01T05:30:36.708Z] ==> Python coveragepy not found [2022-08-01T05:30:36.708Z] ==> Searching for coverage reports in: [2022-08-01T05:30:36.708Z] + . [2022-08-01T05:30:36.708Z] -> Found 1 reports [2022-08-01T05:30:36.708Z] ==> Detecting git/mercurial file structure [2022-08-01T05:30:36.708Z] ==> Reading reports [2022-08-01T05:30:36.708Z] + ./coverage.out bytes=23241 [2022-08-01T05:30:36.708Z] ==> Appending adjustments [2022-08-01T05:30:36.708Z] https://docs.codecov.io/docs/fixing-reports [2022-08-01T05:30:36.969Z] + Found adjustments [2022-08-01T05:30:36.969Z] ==> Gzipping contents [2022-08-01T05:30:36.969Z] 4.0K /tmp/codecov.jtF0ZX.gz [2022-08-01T05:30:36.969Z] ==> Uploading reports [2022-08-01T05:30:36.969Z] url: https://codecov.io [2022-08-01T05:30:36.969Z] query: branch=main&commit=bb07e7e09273fde4df233cc08be8d273e9c828cd&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-01T05:30:36.970Z] -> Pinging Codecov [2022-08-01T05:30:36.970Z] 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=bb07e7e09273fde4df233cc08be8d273e9c828cd&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-01T05:30:37.231Z] -> Uploading to [2022-08-01T05:30:37.231Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-01/55DBCA73C666E3227836607328DD7E49/bb07e7e09273fde4df233cc08be8d273e9c828cd/d521b420-4d99-4fa3-ba70-762959d4ca39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T053037Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2b068f8f2f5beff13d28add3ffe695498cf8da2b3a04877a7bd0d4552f371cf6 [2022-08-01T05:30:37.231Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-01T05:30:37.231Z] Dload Upload Total Spent Left Speed [2022-08-01T05:30:37.493Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 15430 --:--:-- --:--:-- --:--:-- 15430 [2022-08-01T05:30:37.493Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/bb07e7e09273fde4df233cc08be8d273e9c828cd [Pipeline] } [2022-08-01T05:30:37.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-08-01T05:30:37.703Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-08-01T05:30:37.715Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:30:38.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-01T05:30:38.013Z] [2022-08-01T05:30:38.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:30:38.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-01T05:30:38.323Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-08-01T05:30:38.323Z] df9b9388f04a: Pulling fs layer [2022-08-01T05:30:38.323Z] 52dc419b0ee2: Pulling fs layer [2022-08-01T05:30:38.323Z] 25bc292e5bac: Pulling fs layer [2022-08-01T05:30:38.323Z] 114826534d7a: Pulling fs layer [2022-08-01T05:30:38.323Z] 4657fd5d0bcf: Pulling fs layer [2022-08-01T05:30:38.323Z] 6ad1cebc031e: Pulling fs layer [2022-08-01T05:30:38.323Z] 8a3aa393b2d8: Pulling fs layer [2022-08-01T05:30:38.323Z] 114826534d7a: Waiting [2022-08-01T05:30:38.323Z] 4657fd5d0bcf: Waiting [2022-08-01T05:30:38.323Z] 6ad1cebc031e: Waiting [2022-08-01T05:30:38.323Z] 8a3aa393b2d8: Waiting [2022-08-01T05:30:38.323Z] 25bc292e5bac: Download complete [2022-08-01T05:30:38.323Z] 52dc419b0ee2: Verifying Checksum [2022-08-01T05:30:38.323Z] 52dc419b0ee2: Download complete [2022-08-01T05:30:38.323Z] 4657fd5d0bcf: Verifying Checksum [2022-08-01T05:30:38.323Z] 4657fd5d0bcf: Download complete [2022-08-01T05:30:38.323Z] df9b9388f04a: Download complete [2022-08-01T05:30:38.582Z] 6ad1cebc031e: Verifying Checksum [2022-08-01T05:30:38.582Z] 6ad1cebc031e: Download complete [2022-08-01T05:30:38.582Z] df9b9388f04a: Pull complete [2022-08-01T05:30:38.582Z] 52dc419b0ee2: Pull complete [2022-08-01T05:30:38.844Z] 25bc292e5bac: Pull complete [2022-08-01T05:30:39.105Z] 114826534d7a: Verifying Checksum [2022-08-01T05:30:39.105Z] 114826534d7a: Download complete [2022-08-01T05:30:39.367Z] 8a3aa393b2d8: Verifying Checksum [2022-08-01T05:30:39.367Z] 8a3aa393b2d8: Download complete [2022-08-01T05:30:43.567Z] 114826534d7a: Pull complete [2022-08-01T05:30:43.567Z] 4657fd5d0bcf: Pull complete [2022-08-01T05:30:43.567Z] 6ad1cebc031e: Pull complete [2022-08-01T05:30:46.862Z] 8a3aa393b2d8: Pull complete [2022-08-01T05:30:46.862Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-08-01T05:30:46.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-01T05:30:46.862Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:30:46.958Z] prd-ubuntu20.04-docker-8c-8g-21642 does not seem to be running inside a container [2022-08-01T05:30:47.003Z] $ 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-08-01T05:30:49.707Z] $ docker top 67eb39f8f702ad7facf29b463e0ad5af64e60258a518d6ec7215c78078cb0c45 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-08-01T05:30:49.784Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-08-01T05:30:50.069Z] + set -o pipefail [2022-08-01T05:30:50.070Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-08-01T05:30:56.660Z] [2022-08-01T05:30:56.660Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-08-01T05:30:56.660Z] [2022-08-01T05:30:56.660Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/2c6d752d-26fa-4c86-be9f-4d0ee17ac554 [2022-08-01T05:30:56.660Z] [2022-08-01T05:30:56.660Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-08-01T05:30:56.660Z] [2022-08-01T05:30:56.660Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-08-01T05:30:56.660Z] [2022-08-01T05:30:56.660Z] [Pipeline] } [2022-08-01T05:30:56.682Z] $ docker stop --time=1 67eb39f8f702ad7facf29b463e0ad5af64e60258a518d6ec7215c78078cb0c45 [2022-08-01T05:30:59.578Z] $ docker rm -f 67eb39f8f702ad7facf29b463e0ad5af64e60258a518d6ec7215c78078cb0c45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T05:31:00.336Z] + git log --format=format:%s -1 bb07e7e09273fde4df233cc08be8d273e9c828cd [Pipeline] sh [2022-08-01T05:31:00.637Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-01T05:31:00.637Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:31:00.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T05:31:00.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:31:01.035Z] prd-ubuntu20.04-docker-8c-8g-21642 does not seem to be running inside a container [2022-08-01T05:31:01.166Z] $ 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:0.1.4 cat [2022-08-01T05:31:01.689Z] $ docker top 4f2776ca37f82146dc84b062d43d949731f7893413db326ef8ad55104e26d1f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-01T05:31:01.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T05:31:01.790Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T05:31:01.924Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T05:31:01.935Z] $ docker exec 4f2776ca37f82146dc84b062d43d949731f7893413db326ef8ad55104e26d1f0 ssh-agent [2022-08-01T05:31:02.062Z] SSH_AUTH_SOCK=/tmp/ssh-JfJsbKYZRUq5/agent.32 [2022-08-01T05:31:02.062Z] SSH_AGENT_PID=38 [2022-08-01T05:31:02.068Z] Running ssh-add (command line suppressed) [2022-08-01T05:31:02.200Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_915030270768191000.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_915030270768191000.key) [2022-08-01T05:31:02.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T05:31:02.501Z] + git semver tag [2022-08-01T05:31:02.762Z] 2022-08-01 05:31:02,688 [run_tag] DEBUG tag force:False [2022-08-01T05:31:02.762Z] 2022-08-01 05:31:02,688 [check_head_tag] DEBUG check head tag [2022-08-01T05:31:02.762Z] 2022-08-01 05:31:02,688 [execute] INFO git cat-file --batch-check [2022-08-01T05:31:02.762Z] 2022-08-01 05:31:02,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-08-01T05:31:02.762Z] 2022-08-01 05:31:02,693 [execute] INFO git cat-file --batch [2022-08-01T05:31:02.762Z] 2022-08-01 05:31:02,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-08-01T05:31:02.762Z] 2022-08-01 05:31:02,703 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-01T05:31:02.762Z] 2022-08-01 05:31:02,703 [execute] INFO git tag -a v2.3.0-dev.10 -m v2.3.0-dev.10 [2022-08-01T05:31:02.762Z] 2022-08-01 05:31:02,703 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.10', '-m', 'v2.3.0-dev.10'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-01T05:31:02.762Z] 2022-08-01 05:31:02,709 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-01T05:31:02.762Z] 2.3.0-dev.10 [Pipeline] } [2022-08-01T05:31:02.781Z] $ docker exec --env ******** --env ******** 4f2776ca37f82146dc84b062d43d949731f7893413db326ef8ad55104e26d1f0 ssh-agent -k [2022-08-01T05:31:02.904Z] unset SSH_AUTH_SOCK; [2022-08-01T05:31:02.904Z] unset SSH_AGENT_PID; [2022-08-01T05:31:02.904Z] echo Agent pid 38 killed; [2022-08-01T05:31:02.909Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-01T05:31:03.215Z] + git semver [Pipeline] } [2022-08-01T05:31:03.497Z] $ docker stop --time=1 4f2776ca37f82146dc84b062d43d949731f7893413db326ef8ad55104e26d1f0 [2022-08-01T05:31:04.809Z] $ docker rm -f 4f2776ca37f82146dc84b062d43d949731f7893413db326ef8ad55104e26d1f0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:31:05.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-01T05:31:05.206Z] [2022-08-01T05:31:05.206Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:31:05.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-01T05:31:05.513Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-08-01T05:31:05.513Z] ab5ef0e58194: Pulling fs layer [2022-08-01T05:31:05.513Z] 9712f1f96733: Pulling fs layer [2022-08-01T05:31:05.513Z] 63f879dbbcfc: Pulling fs layer [2022-08-01T05:31:05.513Z] 0d9ebad4ef96: Pulling fs layer [2022-08-01T05:31:05.513Z] e9a5061849ea: Pulling fs layer [2022-08-01T05:31:05.513Z] d747dcd14b5f: Pulling fs layer [2022-08-01T05:31:05.513Z] 2de7ff778b66: Pulling fs layer [2022-08-01T05:31:05.513Z] e9a5061849ea: Waiting [2022-08-01T05:31:05.513Z] d747dcd14b5f: Waiting [2022-08-01T05:31:05.513Z] 0d9ebad4ef96: Waiting [2022-08-01T05:31:05.513Z] 9712f1f96733: Download complete [2022-08-01T05:31:05.785Z] 63f879dbbcfc: Verifying Checksum [2022-08-01T05:31:05.785Z] 63f879dbbcfc: Download complete [2022-08-01T05:31:06.049Z] 0d9ebad4ef96: Download complete [2022-08-01T05:31:06.049Z] e9a5061849ea: Verifying Checksum [2022-08-01T05:31:06.049Z] e9a5061849ea: Download complete [2022-08-01T05:31:06.049Z] d747dcd14b5f: Verifying Checksum [2022-08-01T05:31:06.049Z] d747dcd14b5f: Download complete [2022-08-01T05:31:06.049Z] ab5ef0e58194: Verifying Checksum [2022-08-01T05:31:06.049Z] ab5ef0e58194: Download complete [2022-08-01T05:31:06.049Z] 2de7ff778b66: Verifying Checksum [2022-08-01T05:31:06.049Z] 2de7ff778b66: Download complete [2022-08-01T05:31:09.342Z] ab5ef0e58194: Pull complete [2022-08-01T05:31:09.342Z] 9712f1f96733: Pull complete [2022-08-01T05:31:10.281Z] 63f879dbbcfc: Pull complete [2022-08-01T05:31:15.572Z] 0d9ebad4ef96: Pull complete [2022-08-01T05:31:15.572Z] e9a5061849ea: Pull complete [2022-08-01T05:31:15.572Z] d747dcd14b5f: Pull complete [2022-08-01T05:31:16.512Z] 2de7ff778b66: Pull complete [2022-08-01T05:31:16.512Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-08-01T05:31:16.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-01T05:31:16.512Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:31:16.617Z] prd-ubuntu20.04-docker-8c-8g-21642 does not seem to be running inside a container [2022-08-01T05:31:16.663Z] $ 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-08-01T05:31:20.309Z] $ docker top 832404826ca7edd8579ae567498757159e085d8dce8d6144350095c20b9972ff -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-08-01T05:31:20.389Z] provisioning config files... [2022-08-01T05:31:20.397Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4718241338451707977tmp [2022-08-01T05:31:20.408Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3325802944164306062tmp [2022-08-01T05:31:20.418Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config768697919723504930tmp [Pipeline] { [Pipeline] echo [2022-08-01T05:31:20.433Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:31:20.728Z] ---> sigul-configuration.sh [2022-08-01T05:31:20.728Z] gpg: directory `/root/.gnupg' created [2022-08-01T05:31:20.728Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-08-01T05:31:20.728Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-08-01T05:31:20.728Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-08-01T05:31:20.728Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-08-01T05:31:20.728Z] gpg: CAST5 encrypted data [2022-08-01T05:31:20.728Z] gpg: encrypted with 1 passphrase [2022-08-01T05:31:20.728Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-08-01T05:31:21.014Z] + mkdir /home/jenkins [2022-08-01T05:31:21.015Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-08-01T05:31:21.303Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-08-01T05:31:21.312Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:31:21.599Z] ---> sigul-install.sh [2022-08-01T05:31:21.599Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-08-01T05:31:21.890Z] + git tag --list [2022-08-01T05:31:21.890Z] 0.7.1 [2022-08-01T05:31:21.890Z] v1.0.0 [2022-08-01T05:31:21.890Z] v1.1.0 [2022-08-01T05:31:21.890Z] v1.1.1 [2022-08-01T05:31:21.890Z] v1.2.2 [2022-08-01T05:31:21.890Z] v1.3.0 [2022-08-01T05:31:21.890Z] v1.3.1 [2022-08-01T05:31:21.890Z] v2.0.0 [2022-08-01T05:31:21.890Z] v2.1.0 [2022-08-01T05:31:21.890Z] v2.1.1 [2022-08-01T05:31:21.890Z] v2.1.1-dev.1 [2022-08-01T05:31:21.890Z] v2.1.1-dev.2 [2022-08-01T05:31:21.890Z] v2.1.1-dev.3 [2022-08-01T05:31:21.890Z] v2.2.0 [2022-08-01T05:31:21.890Z] v2.2.1-dev.1 [2022-08-01T05:31:21.890Z] v2.2.1-dev.2 [2022-08-01T05:31:21.890Z] v2.2.1-dev.3 [2022-08-01T05:31:21.890Z] v2.2.1-dev.4 [2022-08-01T05:31:21.890Z] v2.2.1-dev.5 [2022-08-01T05:31:21.890Z] v2.2.1-dev.6 [2022-08-01T05:31:21.890Z] v2.2.1-dev.7 [2022-08-01T05:31:21.890Z] v2.3.0-dev.10 [2022-08-01T05:31:21.890Z] v2.3.0-dev.7 [2022-08-01T05:31:21.890Z] v2.3.0-dev.8 [2022-08-01T05:31:21.890Z] v2.3.0-dev.9 [Pipeline] sh [2022-08-01T05:31:22.177Z] + lftools sign git-tag v2.3.0-dev.10 [2022-08-01T05:31:22.746Z] Signing Git tag with Sigul... [2022-08-01T05:31:22.746Z] Signing v2.3.0-dev.10 [Pipeline] echo [2022-08-01T05:31:23.327Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:31:23.613Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-08-01T05:31:23.621Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-08-01T05:31:23.655Z] $ docker stop --time=1 832404826ca7edd8579ae567498757159e085d8dce8d6144350095c20b9972ff [2022-08-01T05:31:24.938Z] $ docker rm -f 832404826ca7edd8579ae567498757159e085d8dce8d6144350095c20b9972ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-08-01T05:31:25.344Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-01T05:31:25.345Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:31:25.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T05:31:25.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:31:25.738Z] prd-ubuntu20.04-docker-8c-8g-21642 does not seem to be running inside a container [2022-08-01T05:31:25.782Z] $ 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:0.1.4 cat [2022-08-01T05:31:26.134Z] $ docker top 8b69407839fee227e9e97f7a57005fc4a3d801eb1b27d0483e29e9588074cc9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-01T05:31:26.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T05:31:26.224Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T05:31:26.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T05:31:26.364Z] $ docker exec 8b69407839fee227e9e97f7a57005fc4a3d801eb1b27d0483e29e9588074cc9e ssh-agent [2022-08-01T05:31:26.482Z] SSH_AUTH_SOCK=/tmp/ssh-J5O2vo8SSyqe/agent.33 [2022-08-01T05:31:26.482Z] SSH_AGENT_PID=39 [2022-08-01T05:31:26.487Z] Running ssh-add (command line suppressed) [2022-08-01T05:31:26.617Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1575354276702228632.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1575354276702228632.key) [2022-08-01T05:31:26.626Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T05:31:26.917Z] + git semver bump pre [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,111 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,111 [bump_version] DEBUG bumping version:2.3.0-dev.10 on axis:pre with prefix:dev [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,111 [bump_version] DEBUG bumped version:2.3.0-dev.11 [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,111 [write_version] DEBUG write version:2.3.0-dev.11 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,111 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,111 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,114 [execute] INFO git cat-file --batch-check [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,121 [execute] INFO git cat-file --batch [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T05:31:27.178Z] 2022-08-01 05:31:27,129 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-01T05:31:27.178Z] 2.3.0-dev.11 [Pipeline] } [2022-08-01T05:31:27.202Z] $ docker exec --env ******** --env ******** 8b69407839fee227e9e97f7a57005fc4a3d801eb1b27d0483e29e9588074cc9e ssh-agent -k [2022-08-01T05:31:27.312Z] unset SSH_AUTH_SOCK; [2022-08-01T05:31:27.312Z] unset SSH_AGENT_PID; [2022-08-01T05:31:27.312Z] echo Agent pid 39 killed; [2022-08-01T05:31:27.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-01T05:31:27.620Z] + git semver [Pipeline] } [2022-08-01T05:31:27.901Z] $ docker stop --time=1 8b69407839fee227e9e97f7a57005fc4a3d801eb1b27d0483e29e9588074cc9e [2022-08-01T05:31:29.186Z] $ docker rm -f 8b69407839fee227e9e97f7a57005fc4a3d801eb1b27d0483e29e9588074cc9e [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T05:31:29.532Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-01T05:31:29.532Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:31:29.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T05:31:29.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:31:29.944Z] prd-ubuntu20.04-docker-8c-8g-21642 does not seem to be running inside a container [2022-08-01T05:31:30.024Z] $ 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:0.1.4 cat [2022-08-01T05:31:30.391Z] $ docker top e67b8b1d32a3b85853d1e96c0462da00511a19ec22c9c3b65c95804f0bb0ad4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-01T05:31:30.480Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T05:31:30.480Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T05:31:30.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T05:31:30.620Z] $ docker exec e67b8b1d32a3b85853d1e96c0462da00511a19ec22c9c3b65c95804f0bb0ad4a ssh-agent [2022-08-01T05:31:30.746Z] SSH_AUTH_SOCK=/tmp/ssh-8mUsRTTA4eCJ/agent.34 [2022-08-01T05:31:30.746Z] SSH_AGENT_PID=40 [2022-08-01T05:31:30.752Z] Running ssh-add (command line suppressed) [2022-08-01T05:31:30.898Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1748193399305490273.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1748193399305490273.key) [2022-08-01T05:31:30.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T05:31:31.194Z] + git semver push [2022-08-01T05:31:31.455Z] 2022-08-01 05:31:31,407 [run_push] DEBUG push [2022-08-01T05:31:31.455Z] 2022-08-01 05:31:31,408 [execute] INFO git cat-file --batch-check [2022-08-01T05:31:31.455Z] 2022-08-01 05:31:31,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T05:31:31.455Z] 2022-08-01 05:31:31,412 [execute] INFO git rev-list e7634bd8e09fefb98f32bf7a40e9915866e771b6 -- [2022-08-01T05:31:31.455Z] 2022-08-01 05:31:31,413 [execute] DEBUG Popen(['git', 'rev-list', 'e7634bd8e09fefb98f32bf7a40e9915866e771b6', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-01T05:31:31.455Z] 2022-08-01 05:31:31,420 [execute] INFO git fetch -v origin [2022-08-01T05:31:31.455Z] 2022-08-01 05:31:31,421 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-08-01T05:31:32.025Z] 2022-08-01 05:31:31,893 [run_push] DEBUG no remote changes detected [2022-08-01T05:31:32.025Z] 2022-08-01 05:31:31,894 [execute] INFO git push origin semver [2022-08-01T05:31:32.025Z] 2022-08-01 05:31:31,894 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-01T05:31:32.967Z] 2022-08-01 05:31:32,607 [run_push] DEBUG push all version tags [2022-08-01T05:31:32.967Z] 2022-08-01 05:31:32,607 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-08-01T05:31:32.967Z] 2022-08-01 05:31:32,608 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-01T05:31:33.537Z] 2022-08-01 05:31:33,255 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-08-01T05:31:33.537Z] 2.3.0-dev.11 [Pipeline] } [2022-08-01T05:31:33.556Z] $ docker exec --env ******** --env ******** e67b8b1d32a3b85853d1e96c0462da00511a19ec22c9c3b65c95804f0bb0ad4a ssh-agent -k [2022-08-01T05:31:33.679Z] unset SSH_AUTH_SOCK; [2022-08-01T05:31:33.680Z] unset SSH_AGENT_PID; [2022-08-01T05:31:33.680Z] echo Agent pid 40 killed; [2022-08-01T05:31:33.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-01T05:31:33.983Z] + git semver [Pipeline] } [2022-08-01T05:31:34.265Z] $ docker stop --time=1 e67b8b1d32a3b85853d1e96c0462da00511a19ec22c9c3b65c95804f0bb0ad4a [2022-08-01T05:31:35.532Z] $ docker rm -f e67b8b1d32a3b85853d1e96c0462da00511a19ec22c9c3b65c95804f0bb0ad4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-01T05:31:36.069Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-08-01T05:31:36.069Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-08-01T05:31:36.069Z] total 16 [2022-08-01T05:31:36.069Z] drwxr-xr-x 3 root root 4096 Aug 1 05:23 . [2022-08-01T05:31:36.069Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 1 05:31 .. [2022-08-01T05:31:36.069Z] drwxr-xr-x 2 root root 4096 Aug 1 05:23 cost [2022-08-01T05:31:36.069Z] -rw-r--r-- 1 root root 87 Aug 1 05:23 cost.csv [2022-08-01T05:31:36.069Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-08-01T05:31:36.069Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-08-01T05:31:36.069Z] total 16 [2022-08-01T05:31:36.069Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 05:23 . [2022-08-01T05:31:36.069Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 1 05:31 .. [2022-08-01T05:31:36.069Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 05:23 cost [2022-08-01T05:31:36.069Z] -rw-r--r-- 1 jenkins jenkins 87 Aug 1 05:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:31:36.364Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:31:37.235Z] ---> package-listing.sh [2022-08-01T05:31:37.235Z] ++ facter osfamily [2022-08-01T05:31:37.235Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-01T05:31:37.496Z] + OS_FAMILY=debian [2022-08-01T05:31:37.496Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-08-01T05:31:37.496Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-01T05:31:37.496Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-01T05:31:37.496Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-01T05:31:37.496Z] + PACKAGES=/tmp/packages_start.txt [2022-08-01T05:31:37.496Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-08-01T05:31:37.496Z] + PACKAGES=/tmp/packages_end.txt [2022-08-01T05:31:37.496Z] + case "${OS_FAMILY}" in [2022-08-01T05:31:37.496Z] + dpkg -l [2022-08-01T05:31:37.496Z] + grep '^ii' [2022-08-01T05:31:37.496Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-01T05:31:37.496Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-01T05:31:37.496Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-01T05:31:37.496Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-08-01T05:31:37.496Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-08-01T05:31:37.496Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-08-01T05:31:37.508Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-01T05:31:37.789Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T05:31:38.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T05:31:38.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T05:31:38.447Z] prd-ubuntu20.04-docker-8c-8g-21642 does not seem to be running inside a container [2022-08-01T05:31:38.492Z] $ 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-08-01T05:31:38.716Z] $ docker top 59040ffe4d649fc8afb467ca68d67728a76e21eee99914c236a0e25a601ebe75 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T05:31:39.064Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-01T05:31:39.356Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-01T05:31:39.647Z] + ls /var/log/sa-host [2022-08-01T05:31:39.648Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T05:31:39.793Z] provisioning config files... [2022-08-01T05:31:39.802Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7800820643595667901tmp [Pipeline] { [Pipeline] echo [2022-08-01T05:31:39.818Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:31:40.108Z] ---> create-netrc.sh [Pipeline] } [2022-08-01T05:31:40.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:31:40.445Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-01T05:31:40.453Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:31:40.737Z] ---> sudo-logs.sh [2022-08-01T05:31:40.737Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-01T05:31:40.771Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:31:41.061Z] ---> job-cost.sh [2022-08-01T05:31:41.061Z] lf-activate-venv: SKIPPING [2022-08-01T05:31:41.061Z] DEBUG: total: 0.2199999988079071 [2022-08-01T05:31:41.061Z] INFO: Retrieving Stack Cost... [2022-08-01T05:31:41.323Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-01T05:31:41.894Z] INFO: Archiving Costs [Pipeline] echo [2022-08-01T05:31:41.908Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T05:31:42.196Z] ---> logs-deploy.sh [2022-08-01T05:31:42.196Z] lf-activate-venv: SKIPPING [2022-08-01T05:31:42.196Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/49 [2022-08-01T05:31:42.196Z] INFO: archiving workspace using pattern(s): [2022-08-01T05:31:43.583Z] Archives upload complete. [2022-08-01T05:31:43.583Z] INFO: archiving logs to Nexus