Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 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-ssh2837682618046254908.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5508516563533435196.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh14604746815687812418.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh6610369496877055377.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh13438638236255935150.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.21 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-8454 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 e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 (main) Commit message: "Merge pull request #507 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.33" > 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 e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 # timeout=10 > git rev-list --no-walk 091e49834ad2b8f5ca54fa7b36ec487638af0a66 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-04T06:00:25.198Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-04T06:00:25.263Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-04T06:00:25.275Z] ========================================================= [2023-10-04T06:00:25.275Z] EdgeX Global Pipelines Version Info [2023-10-04T06:00:25.275Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:00:26.004Z] ------------------- [2023-10-04T06:00:26.005Z] stable info: [2023-10-04T06:00:26.005Z] ------------------- [2023-10-04T06:00:26.005Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-04T06:00:26.005Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T06:00:26.005Z] Message: update stable to v1.0.254 [2023-10-04T06:00:26.574Z] ------------------- [2023-10-04T06:00:26.574Z] experimental info: [2023-10-04T06:00:26.574Z] ------------------- [2023-10-04T06:00:26.574Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-04T06:00:26.574Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T06:00:26.574Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-04T06:00:26.729Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-10-04T06:00:26.741Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-10-04T06:00:26.754Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-04T06:00:26.766Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-04T06:00:26.778Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-04T06:00:26.791Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-04T06:00:26.808Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-04T06:00:26.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-04T06:00:26.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-04T06:00:26.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-04T06:00:26.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-04T06:00:26.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-10-04T06:00:26.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-04T06:00:26.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-04T06:00:26.950Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T06:00:26.964Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T06:00:26.983Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T06:00:26.999Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T06:00:27.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-04T06:00:27.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-04T06:00:27.036Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-04T06:00:27.052Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-04T06:00:27.076Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-04T06:00:27.092Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-04T06:00:27.110Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-04T06:00:27.131Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-04T06:00:27.152Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-04T06:00:27.167Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-04T06:00:27.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-04T06:00:27.202Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-04T06:00:27.220Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [Pipeline] echo [2023-10-04T06:00:27.234Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e06fe21 [Pipeline] echo [2023-10-04T06:00:27.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T06:00:27.291Z] provisioning config files... [2023-10-04T06:00:27.304Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13509488882006413180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:00:27.609Z] ---> docker-login.sh [2023-10-04T06:00:27.609Z] nexus3.edgexfoundry.org:10001 [2023-10-04T06:00:27.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:00:28.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:00:28.129Z] Configure a credential helper to remove this warning. See [2023-10-04T06:00:28.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:00:28.129Z] [2023-10-04T06:00:28.129Z] Login Succeeded [2023-10-04T06:00:28.129Z] nexus3.edgexfoundry.org:10002 [2023-10-04T06:00:28.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:00:28.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:00:28.129Z] Configure a credential helper to remove this warning. See [2023-10-04T06:00:28.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:00:28.129Z] [2023-10-04T06:00:28.129Z] Login Succeeded [2023-10-04T06:00:28.129Z] nexus3.edgexfoundry.org:10003 [2023-10-04T06:00:28.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:00:28.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:00:28.388Z] Configure a credential helper to remove this warning. See [2023-10-04T06:00:28.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:00:28.388Z] [2023-10-04T06:00:28.388Z] Login Succeeded [2023-10-04T06:00:28.388Z] nexus3.edgexfoundry.org:10004 [2023-10-04T06:00:28.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:00:28.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:00:28.388Z] Configure a credential helper to remove this warning. See [2023-10-04T06:00:28.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:00:28.388Z] [2023-10-04T06:00:28.388Z] Login Succeeded [2023-10-04T06:00:28.388Z] docker.io [2023-10-04T06:00:28.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:00:28.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:00:28.908Z] Configure a credential helper to remove this warning. See [2023-10-04T06:00:28.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:00:28.908Z] [2023-10-04T06:00:28.908Z] Login Succeeded [2023-10-04T06:00:28.908Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T06:00:28.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-04T06:00:29.303Z] + git rev-list -1 --merges e06fe215c9f7361cb58f6068d4b3f6dc0080baf2~1..e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [Pipeline] echo [2023-10-04T06:00:29.351Z] -----------> git rev-list -1 --merges e06fe215c9f7361cb58f6068d4b3f6dc0080baf2~1..e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [2023-10-04T06:00:29.351Z] e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [false] [Pipeline] sh [2023-10-04T06:00:29.642Z] + git log --format=format:%s -1 e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [Pipeline] echo [2023-10-04T06:00:29.658Z] ========================================================= [2023-10-04T06:00:29.658Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-04T06:00:29.658Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T06:00:29.978Z] + git log --format=format:%s -1 e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [Pipeline] echo [2023-10-04T06:00:29.986Z] [semverPrep] GIT_COMMIT: e06fe215c9f7361cb58f6068d4b3f6dc0080baf2, Commit Message: Merge pull request #507 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.33 [Pipeline] echo [2023-10-04T06:00:29.996Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-04T06:00:30.362Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T06:00:30.362Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-04T06:00:30.362Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-04T06:00:30.362Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-04T06:00:30.362Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-04T06:00:30.362Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-04T06:00:30.362Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:00:30.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T06:00:30.817Z] [2023-10-04T06:00:30.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:00:31.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T06:00:31.112Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-04T06:00:31.112Z] b85a868b505f: Pulling fs layer [2023-10-04T06:00:31.112Z] e2be974225ed: Pulling fs layer [2023-10-04T06:00:31.112Z] 339a4e72a1f5: Pulling fs layer [2023-10-04T06:00:31.112Z] 988bab9f4d93: Pulling fs layer [2023-10-04T06:00:31.112Z] 1469e6f7b9e6: Pulling fs layer [2023-10-04T06:00:31.112Z] eaf3925da568: Pulling fs layer [2023-10-04T06:00:31.112Z] bab4dde63d76: Pulling fs layer [2023-10-04T06:00:31.112Z] bde34c3a00c8: Pulling fs layer [2023-10-04T06:00:31.112Z] b352a97aabf1: Pulling fs layer [2023-10-04T06:00:31.112Z] 4872d77fe225: Pulling fs layer [2023-10-04T06:00:31.112Z] 5851b861e8e6: Pulling fs layer [2023-10-04T06:00:31.112Z] bab4dde63d76: Waiting [2023-10-04T06:00:31.112Z] 1469e6f7b9e6: Waiting [2023-10-04T06:00:31.112Z] eaf3925da568: Waiting [2023-10-04T06:00:31.112Z] 5851b861e8e6: Waiting [2023-10-04T06:00:31.112Z] 988bab9f4d93: Waiting [2023-10-04T06:00:31.112Z] b352a97aabf1: Waiting [2023-10-04T06:00:31.112Z] 4872d77fe225: Waiting [2023-10-04T06:00:31.112Z] bde34c3a00c8: Waiting [2023-10-04T06:00:31.112Z] e2be974225ed: Verifying Checksum [2023-10-04T06:00:31.112Z] e2be974225ed: Download complete [2023-10-04T06:00:31.112Z] 988bab9f4d93: Verifying Checksum [2023-10-04T06:00:31.112Z] 1469e6f7b9e6: Verifying Checksum [2023-10-04T06:00:31.112Z] 1469e6f7b9e6: Download complete [2023-10-04T06:00:31.112Z] 339a4e72a1f5: Verifying Checksum [2023-10-04T06:00:31.112Z] 339a4e72a1f5: Download complete [2023-10-04T06:00:31.370Z] eaf3925da568: Verifying Checksum [2023-10-04T06:00:31.370Z] eaf3925da568: Download complete [2023-10-04T06:00:31.370Z] bde34c3a00c8: Verifying Checksum [2023-10-04T06:00:31.370Z] bde34c3a00c8: Download complete [2023-10-04T06:00:31.370Z] b352a97aabf1: Verifying Checksum [2023-10-04T06:00:31.370Z] b352a97aabf1: Download complete [2023-10-04T06:00:31.371Z] 4872d77fe225: Verifying Checksum [2023-10-04T06:00:31.371Z] 4872d77fe225: Download complete [2023-10-04T06:00:31.371Z] 5851b861e8e6: Verifying Checksum [2023-10-04T06:00:31.371Z] 5851b861e8e6: Download complete [2023-10-04T06:00:31.371Z] b85a868b505f: Verifying Checksum [2023-10-04T06:00:31.371Z] b85a868b505f: Download complete [2023-10-04T06:00:31.629Z] bab4dde63d76: Verifying Checksum [2023-10-04T06:00:31.629Z] bab4dde63d76: Download complete [2023-10-04T06:00:32.566Z] b85a868b505f: Pull complete [2023-10-04T06:00:32.566Z] e2be974225ed: Pull complete [2023-10-04T06:00:32.825Z] 339a4e72a1f5: Pull complete [2023-10-04T06:00:33.084Z] 988bab9f4d93: Pull complete [2023-10-04T06:00:33.343Z] 1469e6f7b9e6: Pull complete [2023-10-04T06:00:33.343Z] eaf3925da568: Pull complete [2023-10-04T06:00:34.721Z] bab4dde63d76: Pull complete [2023-10-04T06:00:34.980Z] bde34c3a00c8: Pull complete [2023-10-04T06:00:34.980Z] b352a97aabf1: Pull complete [2023-10-04T06:00:34.980Z] 4872d77fe225: Pull complete [2023-10-04T06:00:35.239Z] 5851b861e8e6: Pull complete [2023-10-04T06:00:35.239Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-04T06:00:35.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T06:00:35.239Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:00:35.327Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2023-10-04T06:00:35.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-04T06:00:36.894Z] $ docker top 884bd5b13d575f34c6c8620eec6ed6048c5be702cf2df2e44f74c405f29cd4c8 -eo pid,comm [2023-10-04T06:00:36.944Z] 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). [2023-10-04T06:00:36.944Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T06:00:36.977Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T06:00:36.977Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T06:00:37.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T06:00:37.092Z] $ docker exec 884bd5b13d575f34c6c8620eec6ed6048c5be702cf2df2e44f74c405f29cd4c8 ssh-agent [2023-10-04T06:00:37.202Z] SSH_AUTH_SOCK=/tmp/ssh-nCwPw6ISBgxV/agent.31 [2023-10-04T06:00:37.202Z] SSH_AGENT_PID=37 [2023-10-04T06:00:37.208Z] Running ssh-add (command line suppressed) [2023-10-04T06:00:37.311Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4526567724576998606.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4526567724576998606.key) [2023-10-04T06:00:37.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T06:00:37.610Z] + git tag --points-at HEAD [Pipeline] } [2023-10-04T06:00:37.629Z] $ docker exec --env ******** --env ******** 884bd5b13d575f34c6c8620eec6ed6048c5be702cf2df2e44f74c405f29cd4c8 ssh-agent -k [2023-10-04T06:00:37.724Z] unset SSH_AUTH_SOCK; [2023-10-04T06:00:37.724Z] unset SSH_AGENT_PID; [2023-10-04T06:00:37.724Z] echo Agent pid 37 killed; [2023-10-04T06:00:37.732Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-04T06:00:37.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T06:00:37.756Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T06:00:37.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T06:00:37.867Z] $ docker exec 884bd5b13d575f34c6c8620eec6ed6048c5be702cf2df2e44f74c405f29cd4c8 ssh-agent [2023-10-04T06:00:37.965Z] SSH_AUTH_SOCK=/tmp/ssh-E0JIBQUmxSG0/agent.69 [2023-10-04T06:00:37.965Z] SSH_AGENT_PID=75 [2023-10-04T06:00:37.970Z] Running ssh-add (command line suppressed) [2023-10-04T06:00:38.076Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11271750198028173363.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11271750198028173363.key) [2023-10-04T06:00:38.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T06:00:38.380Z] + git semver init [2023-10-04T06:00:38.640Z] 2023-10-04 06:00:38,540 [run_init] DEBUG init version:0.0.0 force:False [2023-10-04T06:00:38.640Z] 2023-10-04 06:00:38,541 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-04T06:00:38.640Z] 2023-10-04 06:00:38,542 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-04T06:00:38.640Z] 2023-10-04 06:00:38,542 [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) [2023-10-04T06:00:39.585Z] 2023-10-04 06:00:39,474 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-10-04T06:00:39.585Z] 2023-10-04 06:00:39,474 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-10-04T06:00:39.585Z] 2023-10-04 06:00:39,474 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-04T06:00:39.585Z] 2023-10-04 06:00:39,475 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-04T06:00:39.585Z] 3.1.0-dev.15 [Pipeline] } [2023-10-04T06:00:39.598Z] $ docker exec --env ******** --env ******** 884bd5b13d575f34c6c8620eec6ed6048c5be702cf2df2e44f74c405f29cd4c8 ssh-agent -k [2023-10-04T06:00:39.683Z] unset SSH_AUTH_SOCK; [2023-10-04T06:00:39.684Z] unset SSH_AGENT_PID; [2023-10-04T06:00:39.684Z] echo Agent pid 75 killed; [2023-10-04T06:00:39.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T06:00:39.997Z] + git semver [Pipeline] } [2023-10-04T06:00:40.273Z] $ docker stop --time=1 884bd5b13d575f34c6c8620eec6ed6048c5be702cf2df2e44f74c405f29cd4c8 [2023-10-04T06:00:41.592Z] $ docker rm -f --volumes 884bd5b13d575f34c6c8620eec6ed6048c5be702cf2df2e44f74c405f29cd4c8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T06:00:41.928Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-04T06:00:42.136Z] Stashed 1 file(s) [Pipeline] echo [2023-10-04T06:00:42.139Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.15 [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 [2023-10-04T06:00:42.321Z] provisioning config files... [2023-10-04T06:00:42.331Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16886055734260754927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:00:42.626Z] ---> docker-login.sh [2023-10-04T06:00:42.626Z] nexus3.edgexfoundry.org:10001 [2023-10-04T06:00:42.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:00:42.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:00:42.626Z] Configure a credential helper to remove this warning. See [2023-10-04T06:00:42.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:00:42.626Z] [2023-10-04T06:00:42.626Z] Login Succeeded [2023-10-04T06:00:42.626Z] nexus3.edgexfoundry.org:10002 [2023-10-04T06:00:42.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:00:42.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:00:42.626Z] Configure a credential helper to remove this warning. See [2023-10-04T06:00:42.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:00:42.626Z] [2023-10-04T06:00:42.626Z] Login Succeeded [2023-10-04T06:00:42.626Z] nexus3.edgexfoundry.org:10003 [2023-10-04T06:00:42.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:00:42.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:00:42.885Z] Configure a credential helper to remove this warning. See [2023-10-04T06:00:42.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:00:42.885Z] [2023-10-04T06:00:42.885Z] Login Succeeded [2023-10-04T06:00:42.885Z] nexus3.edgexfoundry.org:10004 [2023-10-04T06:00:42.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:00:42.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:00:42.885Z] Configure a credential helper to remove this warning. See [2023-10-04T06:00:42.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:00:42.885Z] [2023-10-04T06:00:42.885Z] Login Succeeded [2023-10-04T06:00:42.885Z] docker.io [2023-10-04T06:00:42.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:00:43.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:00:43.145Z] Configure a credential helper to remove this warning. See [2023-10-04T06:00:43.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:00:43.145Z] [2023-10-04T06:00:43.145Z] Login Succeeded [2023-10-04T06:00:43.145Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T06:00:43.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T06:00:43.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T06:00:43.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T06:00:43.253Z] ========================================================= [2023-10-04T06:00:43.253Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-04T06:00:43.253Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:00:43.572Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-04T06:00:43.572Z] Sending build context to Docker daemon 6.49MB [2023-10-04T06:00:43.572Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T06:00:43.572Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-04T06:00:43.572Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-04T06:00:43.572Z] 7264a8db6415: Pulling fs layer [2023-10-04T06:00:43.572Z] c4d48a809fc2: Pulling fs layer [2023-10-04T06:00:43.572Z] 4f1c88b9dad5: Pulling fs layer [2023-10-04T06:00:43.572Z] ad3a456e5733: Pulling fs layer [2023-10-04T06:00:43.572Z] 33e27b845d1e: Pulling fs layer [2023-10-04T06:00:43.572Z] c68163c4e522: Pulling fs layer [2023-10-04T06:00:43.572Z] 50da416c3ac9: Pulling fs layer [2023-10-04T06:00:43.572Z] 23d2d4c4bb30: Pulling fs layer [2023-10-04T06:00:43.572Z] ad3a456e5733: Waiting [2023-10-04T06:00:43.572Z] 33e27b845d1e: Waiting [2023-10-04T06:00:43.572Z] c68163c4e522: Waiting [2023-10-04T06:00:43.572Z] 50da416c3ac9: Waiting [2023-10-04T06:00:43.572Z] 23d2d4c4bb30: Waiting [2023-10-04T06:00:43.572Z] c4d48a809fc2: Verifying Checksum [2023-10-04T06:00:43.572Z] c4d48a809fc2: Download complete [2023-10-04T06:00:43.572Z] ad3a456e5733: Verifying Checksum [2023-10-04T06:00:43.572Z] ad3a456e5733: Download complete [2023-10-04T06:00:43.572Z] 33e27b845d1e: Verifying Checksum [2023-10-04T06:00:43.572Z] 33e27b845d1e: Download complete [2023-10-04T06:00:43.572Z] 7264a8db6415: Download complete [2023-10-04T06:00:43.832Z] c68163c4e522: Verifying Checksum [2023-10-04T06:00:43.832Z] c68163c4e522: Download complete [2023-10-04T06:00:43.832Z] 7264a8db6415: Pull complete [2023-10-04T06:00:43.832Z] 23d2d4c4bb30: Verifying Checksum [2023-10-04T06:00:43.832Z] 23d2d4c4bb30: Download complete [2023-10-04T06:00:44.091Z] c4d48a809fc2: Pull complete [2023-10-04T06:00:44.091Z] 4f1c88b9dad5: Download complete [2023-10-04T06:00:44.349Z] 50da416c3ac9: Verifying Checksum [2023-10-04T06:00:44.349Z] 50da416c3ac9: Download complete [2023-10-04T06:00:46.878Z] 4f1c88b9dad5: Pull complete [2023-10-04T06:00:46.878Z] ad3a456e5733: Pull complete [2023-10-04T06:00:47.137Z] 33e27b845d1e: Pull complete [2023-10-04T06:00:47.137Z] c68163c4e522: Pull complete [2023-10-04T06:00:49.672Z] 50da416c3ac9: Pull complete [2023-10-04T06:00:49.672Z] 23d2d4c4bb30: Pull complete [2023-10-04T06:00:49.672Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-04T06:00:49.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-04T06:00:49.672Z] ---> 0786185ac409 [2023-10-04T06:00:49.672Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-04T06:00:51.576Z] ---> Running in ce3ccb45a9a5 [2023-10-04T06:00:51.576Z] Removing intermediate container ce3ccb45a9a5 [2023-10-04T06:00:51.576Z] ---> 030292e4c8bc [2023-10-04T06:00:51.576Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T06:00:51.576Z] ---> Running in c837654c9010 [2023-10-04T06:00:51.576Z] Removing intermediate container c837654c9010 [2023-10-04T06:00:51.576Z] ---> 72df99214248 [2023-10-04T06:00:51.576Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-04T06:00:51.576Z] ---> Running in 2ec435ef4a58 [2023-10-04T06:00:51.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T06:00:52.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T06:00:52.095Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-04T06:00:52.095Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-04T06:00:52.095Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-04T06:00:52.355Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-04T06:00:52.355Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-04T06:00:52.355Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-04T06:00:52.355Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-04T06:00:52.355Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-04T06:00:52.355Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T06:00:52.355Z] OK: 270 MiB in 60 packages [2023-10-04T06:00:52.925Z] Removing intermediate container 2ec435ef4a58 [2023-10-04T06:00:52.925Z] ---> b12a9533712e [2023-10-04T06:00:52.925Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-04T06:00:52.925Z] ---> Running in 3dc077b63fa8 [2023-10-04T06:00:52.925Z] Removing intermediate container 3dc077b63fa8 [2023-10-04T06:00:52.925Z] ---> d7b6d56cd0d1 [2023-10-04T06:00:52.925Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-04T06:00:52.925Z] ---> 9618f6b0b4b3 [2023-10-04T06:00:52.925Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T06:00:52.925Z] ---> Running in 2c999a36da0c [2023-10-04T06:00:57.267Z] Still waiting to schedule task [2023-10-04T06:00:57.267Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-04T06:01:31.652Z] Removing intermediate container 2c999a36da0c [2023-10-04T06:01:31.652Z] ---> a0b00ee939f6 [2023-10-04T06:01:31.652Z] Step 9/10 : COPY . . [2023-10-04T06:01:31.652Z] ---> 0380c1fe56f9 [2023-10-04T06:01:31.652Z] Step 10/10 : RUN ${MAKE} [2023-10-04T06:01:31.652Z] ---> Running in a2424facf1cf [2023-10-04T06:01:31.652Z] noop [2023-10-04T06:01:31.652Z] Removing intermediate container a2424facf1cf [2023-10-04T06:01:31.652Z] ---> 581f83fbefc3 [2023-10-04T06:01:31.652Z] Successfully built 581f83fbefc3 [2023-10-04T06:01:31.652Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:01:31.965Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T06:01:31.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:01:32.032Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2023-10-04T06:01:32.063Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-10-04T06:01:32.464Z] $ docker top 6f4a3887ce7d327855be7db157a204f1bbbac3d5394ec787c700628bcc83fa10 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T06:01:32.798Z] + go version [2023-10-04T06:01:32.798Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-04T06:01:32.811Z] $ docker stop --time=1 6f4a3887ce7d327855be7db157a204f1bbbac3d5394ec787c700628bcc83fa10 [2023-10-04T06:01:34.071Z] $ docker rm -f --volumes 6f4a3887ce7d327855be7db157a204f1bbbac3d5394ec787c700628bcc83fa10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:01:34.496Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T06:01:34.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:01:34.569Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2023-10-04T06:01:34.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-x86_64 cat [2023-10-04T06:01:34.933Z] $ docker top 441634bca2cc23b3f0a761a7a4e8a1a8f5946fa79d27bf8d3383c9403c41b1ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T06:01:35.264Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-04T06:01:35.561Z] + make test [2023-10-04T06:01:35.561Z] go test ./... -coverprofile=coverage.out [2023-10-04T06:01:36.938Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-04T06:01:46.909Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-04T06:01:46.909Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2023-10-04T06:01:52.174Z] go vet ./... [2023-10-04T06:01:54.703Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T06:01:54.703Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T06:01:54.703Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T06:01:54.715Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T06:01:54.729Z] $ docker stop --time=1 441634bca2cc23b3f0a761a7a4e8a1a8f5946fa79d27bf8d3383c9403c41b1ca [2023-10-04T06:01:58.603Z] $ docker rm -f --volumes 441634bca2cc23b3f0a761a7a4e8a1a8f5946fa79d27bf8d3383c9403c41b1ca [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T06:01:59.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T06:01:59.112Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-04T06:01:59.617Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T06:01:59.904Z] + ls -al . [2023-10-04T06:01:59.904Z] total 192 [2023-10-04T06:01:59.904Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 06:01 . [2023-10-04T06:01:59.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:00 .. [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 06:00 .dockerignore [2023-10-04T06:01:59.904Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 06:01 .git [2023-10-04T06:01:59.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:00 .github [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 4 06:00 .gitignore [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 06:00 .golangci.yml [2023-10-04T06:01:59.904Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 06:00 .semver [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 4 06:00 Attribution.txt [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 4 06:00 CHANGELOG.md [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 4 06:00 Dockerfile [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 06:00 GOVERNANCE.md [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 06:00 Jenkinsfile [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 06:00 LICENSE [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 4 06:00 Makefile [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 4 06:00 OWNERS.md [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 4578 Oct 4 06:00 README.md [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 06:00 VERSION [2023-10-04T06:01:59.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:00 bin [2023-10-04T06:01:59.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:00 cmd [2023-10-04T06:01:59.904Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 4 06:01 coverage.out [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 3941 Oct 4 06:00 go.mod [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 35965 Oct 4 06:00 go.sum [2023-10-04T06:01:59.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:00 internal [2023-10-04T06:01:59.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:00 simulator [2023-10-04T06:01:59.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:00 snap [2023-10-04T06:01:59.904Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 4 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:00.210Z] + 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=e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 --label arch=amd64 --label version=3.1.0-dev.15 . [2023-10-04T06:02:00.210Z] Sending build context to Docker daemon 6.515MB [2023-10-04T06:02:00.210Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T06:02:00.210Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-04T06:02:00.210Z] ---> 581f83fbefc3 [2023-10-04T06:02:00.210Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-04T06:02:00.210Z] ---> Running in cfe0113796f8 [2023-10-04T06:02:00.210Z] Removing intermediate container cfe0113796f8 [2023-10-04T06:02:00.210Z] ---> 7bc51fce0c23 [2023-10-04T06:02:00.210Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T06:02:00.210Z] ---> Running in 49d5a84c9716 [2023-10-04T06:02:00.469Z] Removing intermediate container 49d5a84c9716 [2023-10-04T06:02:00.469Z] ---> a76de7ddf7c4 [2023-10-04T06:02:00.469Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-04T06:02:00.469Z] ---> Running in cc3a0ea53761 [2023-10-04T06:02:00.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T06:02:00.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T06:02:00.987Z] OK: 270 MiB in 60 packages [2023-10-04T06:02:01.245Z] Removing intermediate container cc3a0ea53761 [2023-10-04T06:02:01.245Z] ---> bb2ddc0a9289 [2023-10-04T06:02:01.245Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-04T06:02:01.245Z] ---> Running in 0ce4f35c88ab [2023-10-04T06:02:01.245Z] Removing intermediate container 0ce4f35c88ab [2023-10-04T06:02:01.245Z] ---> 2c79e43eb5fe [2023-10-04T06:02:01.245Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-04T06:02:01.503Z] ---> 525a23268f16 [2023-10-04T06:02:01.503Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T06:02:01.503Z] ---> Running in 3bdbf9b3e283 [2023-10-04T06:02:02.069Z] Removing intermediate container 3bdbf9b3e283 [2023-10-04T06:02:02.069Z] ---> a1ee0973f590 [2023-10-04T06:02:02.069Z] Step 9/22 : COPY . . [2023-10-04T06:02:02.327Z] ---> 82b246fddc60 [2023-10-04T06:02:02.327Z] Step 10/22 : RUN ${MAKE} [2023-10-04T06:02:02.327Z] ---> Running in 073813beae17 [2023-10-04T06:02:02.584Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-04T06:02:20.678Z] Removing intermediate container 073813beae17 [2023-10-04T06:02:20.678Z] ---> 4485e2507a52 [2023-10-04T06:02:20.678Z] Step 11/22 : FROM alpine:3.18 [2023-10-04T06:02:20.937Z] 3.18: Pulling from library/alpine [2023-10-04T06:02:21.195Z] 96526aa774ef: Pulling fs layer [2023-10-04T06:02:21.195Z] 96526aa774ef: Verifying Checksum [2023-10-04T06:02:21.195Z] 96526aa774ef: Download complete [2023-10-04T06:02:21.453Z] 96526aa774ef: Pull complete [2023-10-04T06:02:21.453Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T06:02:21.453Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T06:02:21.453Z] ---> 8ca4688f4f35 [2023-10-04T06:02:21.453Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-04T06:02:21.453Z] ---> Running in 57a9f5ed8c1f [2023-10-04T06:02:21.712Z] Removing intermediate container 57a9f5ed8c1f [2023-10-04T06:02:21.712Z] ---> b2e1e6ab7199 [2023-10-04T06:02:21.712Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-04T06:02:21.712Z] ---> Running in cee3e84ee2d0 [2023-10-04T06:02:21.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T06:02:21.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T06:02:22.230Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-04T06:02:22.230Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T06:02:22.230Z] OK: 7 MiB in 16 packages [2023-10-04T06:02:22.489Z] Removing intermediate container cee3e84ee2d0 [2023-10-04T06:02:22.489Z] ---> d2796997ae33 [2023-10-04T06:02:22.489Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-04T06:02:23.425Z] ---> e69d41973a9d [2023-10-04T06:02:23.425Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-04T06:02:23.425Z] ---> e543179a5ad0 [2023-10-04T06:02:23.425Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-04T06:02:23.730Z] ---> 121e2ddd3453 [2023-10-04T06:02:23.730Z] Step 17/22 : EXPOSE 59901 [2023-10-04T06:02:23.730Z] ---> Running in 33280b70ac92 [2023-10-04T06:02:23.730Z] Removing intermediate container 33280b70ac92 [2023-10-04T06:02:23.730Z] ---> 066543c6e153 [2023-10-04T06:02:23.730Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-04T06:02:23.730Z] ---> Running in f1501de4f6c8 [2023-10-04T06:02:23.730Z] Removing intermediate container f1501de4f6c8 [2023-10-04T06:02:23.730Z] ---> 8ae3c191e0e1 [2023-10-04T06:02:23.730Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-04T06:02:23.999Z] ---> Running in 3a09476dda76 [2023-10-04T06:02:23.999Z] Removing intermediate container 3a09476dda76 [2023-10-04T06:02:23.999Z] ---> 4315e19af1b5 [2023-10-04T06:02:23.999Z] Step 20/22 : LABEL arch=amd64 [2023-10-04T06:02:23.999Z] ---> Running in e51e923716a4 [2023-10-04T06:02:23.999Z] Removing intermediate container e51e923716a4 [2023-10-04T06:02:23.999Z] ---> 5fdc598133e5 [2023-10-04T06:02:23.999Z] Step 21/22 : LABEL git_sha=e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [2023-10-04T06:02:23.999Z] ---> Running in e8eabfdf8546 [2023-10-04T06:02:23.999Z] Removing intermediate container e8eabfdf8546 [2023-10-04T06:02:23.999Z] ---> 24dadaef1880 [2023-10-04T06:02:23.999Z] Step 22/22 : LABEL version=3.1.0-dev.15 [2023-10-04T06:02:23.999Z] ---> Running in 46847b145223 [2023-10-04T06:02:24.275Z] Removing intermediate container 46847b145223 [2023-10-04T06:02:24.275Z] ---> 229e3e0dcacb [2023-10-04T06:02:24.275Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T06:02:24.275Z] Successfully built 229e3e0dcacb [2023-10-04T06:02:24.275Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T06:02:24.376Z] provisioning config files... [2023-10-04T06:02:24.433Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5269723130727857107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:02:24.737Z] ---> docker-login.sh [2023-10-04T06:02:24.737Z] nexus3.edgexfoundry.org:10001 [2023-10-04T06:02:24.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:02:24.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:02:24.737Z] Configure a credential helper to remove this warning. See [2023-10-04T06:02:24.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:02:24.737Z] [2023-10-04T06:02:24.737Z] Login Succeeded [2023-10-04T06:02:24.737Z] nexus3.edgexfoundry.org:10002 [2023-10-04T06:02:24.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:02:24.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:02:24.737Z] Configure a credential helper to remove this warning. See [2023-10-04T06:02:24.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:02:24.737Z] [2023-10-04T06:02:24.737Z] Login Succeeded [2023-10-04T06:02:24.737Z] nexus3.edgexfoundry.org:10003 [2023-10-04T06:02:24.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:02:24.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:02:24.996Z] Configure a credential helper to remove this warning. See [2023-10-04T06:02:24.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:02:24.996Z] [2023-10-04T06:02:24.996Z] Login Succeeded [2023-10-04T06:02:24.996Z] nexus3.edgexfoundry.org:10004 [2023-10-04T06:02:24.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:02:24.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:02:24.996Z] Configure a credential helper to remove this warning. See [2023-10-04T06:02:24.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:02:24.996Z] [2023-10-04T06:02:24.996Z] Login Succeeded [2023-10-04T06:02:24.996Z] docker.io [2023-10-04T06:02:24.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:02:25.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:02:25.255Z] Configure a credential helper to remove this warning. See [2023-10-04T06:02:25.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:02:25.255Z] [2023-10-04T06:02:25.255Z] Login Succeeded [2023-10-04T06:02:25.255Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T06:02:25.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T06:02:25.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T06:02:25.324Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-10-04T06:02:25.325Z] e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [2023-10-04T06:02:25.325Z] latest [2023-10-04T06:02:25.325Z] 3.1.0-dev.15 [2023-10-04T06:02:25.325Z] e06fe215c9f7361cb58f6068d4b3f6dc0080baf2-3.1.0-dev.15 [2023-10-04T06:02:25.325Z] main [2023-10-04T06:02:25.325Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:25.657Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:25.963Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [2023-10-04T06:02:25.963Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-04T06:02:25.963Z] ded4ccee875a: Preparing [2023-10-04T06:02:25.963Z] 7fd1f4baa500: Preparing [2023-10-04T06:02:25.963Z] 7f59cba33925: Preparing [2023-10-04T06:02:25.963Z] d1c1ed67dc63: Preparing [2023-10-04T06:02:25.963Z] cc2447e1835a: Preparing [2023-10-04T06:02:25.963Z] cc2447e1835a: Layer already exists [2023-10-04T06:02:25.963Z] d1c1ed67dc63: Pushed [2023-10-04T06:02:25.963Z] 7fd1f4baa500: Pushed [2023-10-04T06:02:25.963Z] ded4ccee875a: Pushed [2023-10-04T06:02:29.249Z] 7f59cba33925: Pushed [2023-10-04T06:02:29.249Z] e06fe215c9f7361cb58f6068d4b3f6dc0080baf2: digest: sha256:11f8896f9b6c0e3b7afc18c06bae54c65f4958b8fd3cc31a3b625b23de6a082c size: 1365 [Pipeline] } [2023-10-04T06:02:29.262Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8455 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] // withEnv [Pipeline] { [Pipeline] ws [2023-10-04T06:02:29.278Z] Running in /w/workspace/device-modbus-go/129 [Pipeline] { [Pipeline] checkout [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:29.307Z] Selected Git installation does not exist. Using Default [2023-10-04T06:02:29.307Z] The recommended git tool is: NONE [2023-10-04T06:02:29.574Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:29.885Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-04T06:02:29.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-04T06:02:29.885Z] ded4ccee875a: Preparing [2023-10-04T06:02:29.885Z] 7fd1f4baa500: Preparing [2023-10-04T06:02:29.886Z] 7f59cba33925: Preparing [2023-10-04T06:02:29.886Z] d1c1ed67dc63: Preparing [2023-10-04T06:02:29.886Z] cc2447e1835a: Preparing [2023-10-04T06:02:29.886Z] 7f59cba33925: Layer already exists [2023-10-04T06:02:29.886Z] 7fd1f4baa500: Layer already exists [2023-10-04T06:02:29.886Z] ded4ccee875a: Layer already exists [2023-10-04T06:02:29.886Z] d1c1ed67dc63: Layer already exists [2023-10-04T06:02:29.886Z] cc2447e1835a: Layer already exists [2023-10-04T06:02:29.886Z] latest: digest: sha256:11f8896f9b6c0e3b7afc18c06bae54c65f4958b8fd3cc31a3b625b23de6a082c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:30.202Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:30.511Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.15 [2023-10-04T06:02:30.511Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-04T06:02:30.511Z] ded4ccee875a: Preparing [2023-10-04T06:02:30.511Z] 7fd1f4baa500: Preparing [2023-10-04T06:02:30.511Z] 7f59cba33925: Preparing [2023-10-04T06:02:30.511Z] d1c1ed67dc63: Preparing [2023-10-04T06:02:30.511Z] cc2447e1835a: Preparing [2023-10-04T06:02:30.511Z] cc2447e1835a: Layer already exists [2023-10-04T06:02:30.511Z] d1c1ed67dc63: Layer already exists [2023-10-04T06:02:30.511Z] ded4ccee875a: Layer already exists [2023-10-04T06:02:30.511Z] 7f59cba33925: Layer already exists [2023-10-04T06:02:30.511Z] 7fd1f4baa500: Layer already exists [2023-10-04T06:02:30.511Z] 3.1.0-dev.15: digest: sha256:11f8896f9b6c0e3b7afc18c06bae54c65f4958b8fd3cc31a3b625b23de6a082c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:30.827Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:31.148Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2-3.1.0-dev.15 [2023-10-04T06:02:31.148Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-04T06:02:31.148Z] ded4ccee875a: Preparing [2023-10-04T06:02:31.148Z] 7fd1f4baa500: Preparing [2023-10-04T06:02:31.148Z] 7f59cba33925: Preparing [2023-10-04T06:02:31.148Z] d1c1ed67dc63: Preparing [2023-10-04T06:02:31.148Z] cc2447e1835a: Preparing [2023-10-04T06:02:31.148Z] cc2447e1835a: Layer already exists [2023-10-04T06:02:31.148Z] 7fd1f4baa500: Layer already exists [2023-10-04T06:02:31.148Z] d1c1ed67dc63: Layer already exists [2023-10-04T06:02:31.148Z] 7f59cba33925: Layer already exists [2023-10-04T06:02:31.148Z] ded4ccee875a: Layer already exists [2023-10-04T06:02:31.148Z] e06fe215c9f7361cb58f6068d4b3f6dc0080baf2-3.1.0-dev.15: digest: sha256:11f8896f9b6c0e3b7afc18c06bae54c65f4958b8fd3cc31a3b625b23de6a082c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:31.474Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:31.794Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-10-04T06:02:31.794Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-04T06:02:31.794Z] ded4ccee875a: Preparing [2023-10-04T06:02:31.794Z] 7fd1f4baa500: Preparing [2023-10-04T06:02:31.794Z] 7f59cba33925: Preparing [2023-10-04T06:02:31.794Z] d1c1ed67dc63: Preparing [2023-10-04T06:02:31.794Z] cc2447e1835a: Preparing [2023-10-04T06:02:31.794Z] ded4ccee875a: Layer already exists [2023-10-04T06:02:31.794Z] 7f59cba33925: Layer already exists [2023-10-04T06:02:31.794Z] d1c1ed67dc63: Layer already exists [2023-10-04T06:02:31.794Z] 7fd1f4baa500: Layer already exists [2023-10-04T06:02:31.794Z] cc2447e1835a: Layer already exists [2023-10-04T06:02:31.794Z] main: digest: sha256:11f8896f9b6c0e3b7afc18c06bae54c65f4958b8fd3cc31a3b625b23de6a082c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T06:02:31.850Z] ===================================================== [Pipeline] echo [2023-10-04T06:02:31.860Z] taggedImages: [2023-10-04T06:02:31.860Z] - nexus3.edgexfoundry.org:10004/device-modbus:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [2023-10-04T06:02:31.860Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-04T06:02:31.860Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.15 [2023-10-04T06:02:31.860Z] - nexus3.edgexfoundry.org:10004/device-modbus:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2-3.1.0-dev.15 [2023-10-04T06:02:31.860Z] - 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 [2023-10-04T06:02:32.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T06:02:32.253Z] [2023-10-04T06:02:32.253Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:02:32.556Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T06:02:32.556Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-04T06:02:32.556Z] 5eb5b503b376: Pulling fs layer [2023-10-04T06:02:32.556Z] 5c69ac0246d0: Pulling fs layer [2023-10-04T06:02:32.556Z] ec43610c2a17: Pulling fs layer [2023-10-04T06:02:32.556Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-04T06:02:32.556Z] 33b1e0a273af: Pulling fs layer [2023-10-04T06:02:32.556Z] 5d3b04190fa2: Pulling fs layer [2023-10-04T06:02:32.556Z] 2f39f015ded8: Pulling fs layer [2023-10-04T06:02:32.556Z] 3a2ae6a8a46f: Waiting [2023-10-04T06:02:32.556Z] 5d3b04190fa2: Waiting [2023-10-04T06:02:32.556Z] 33b1e0a273af: Waiting [2023-10-04T06:02:32.556Z] 5c69ac0246d0: Download complete [2023-10-04T06:02:32.556Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-04T06:02:32.556Z] 3a2ae6a8a46f: Download complete [2023-10-04T06:02:32.556Z] 33b1e0a273af: Verifying Checksum [2023-10-04T06:02:32.556Z] 33b1e0a273af: Download complete [2023-10-04T06:02:32.556Z] ec43610c2a17: Verifying Checksum [2023-10-04T06:02:32.556Z] ec43610c2a17: Download complete [2023-10-04T06:02:32.556Z] 5d3b04190fa2: Download complete [2023-10-04T06:02:32.814Z] 5eb5b503b376: Verifying Checksum [2023-10-04T06:02:32.814Z] 5eb5b503b376: Download complete [2023-10-04T06:02:33.381Z] 2f39f015ded8: Download complete [2023-10-04T06:02:33.947Z] 5eb5b503b376: Pull complete [2023-10-04T06:02:34.101Z] using credential edgex-jenkins-ssh [2023-10-04T06:02:34.119Z] Cloning the remote Git repository [2023-10-04T06:02:34.151Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-10-04T06:02:34.205Z] 5c69ac0246d0: Pull complete [2023-10-04T06:02:34.774Z] ec43610c2a17: Pull complete [2023-10-04T06:02:34.774Z] 3a2ae6a8a46f: Pull complete [2023-10-04T06:02:35.033Z] 33b1e0a273af: Pull complete [2023-10-04T06:02:35.033Z] 5d3b04190fa2: Pull complete [2023-10-04T06:02:34.243Z] > git init /w/workspace/device-modbus-go/129 # timeout=10 [2023-10-04T06:02:34.387Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-04T06:02:34.388Z] > git --version # timeout=10 [2023-10-04T06:02:34.409Z] > git --version # 'git version 2.25.1' [2023-10-04T06:02:34.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T06:02:34.565Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T06:02:36.602Z] Avoid second fetch [2023-10-04T06:02:36.602Z] Checking out Revision e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 (main) [2023-10-04T06:02:35.746Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-04T06:02:35.768Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T06:02:36.610Z] > git config core.sparsecheckout # timeout=10 [2023-10-04T06:02:37.121Z] Commit message: "Merge pull request #507 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.33" [2023-10-04T06:02:37.537Z] [2023-10-04T06:02:37.537Z] GitHub has been notified of this commit’s build result [2023-10-04T06:02:37.537Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T06:02:36.681Z] > git checkout -f e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 # timeout=10 [2023-10-04T06:02:38.074Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-04T06:02:38.074Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T06:02:38.074Z] Dload Upload Total Spent Left Speed [2023-10-04T06:02:38.074Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-10-04T06:02:38.619Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-04T06:02:38.960Z] + sudo tee /etc/docker/daemon.new [2023-10-04T06:02:38.960Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-04T06:02:38.960Z] { [2023-10-04T06:02:38.960Z] "registry-mirrors": [ [2023-10-04T06:02:38.960Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-04T06:02:38.960Z] ], [2023-10-04T06:02:38.960Z] "bip": "10.250.0.254/24", [2023-10-04T06:02:38.960Z] "hosts": [ [2023-10-04T06:02:38.960Z] "tcp://0.0.0.0:5555", [2023-10-04T06:02:38.960Z] "unix:///var/run/docker.sock" [2023-10-04T06:02:38.960Z] ], [2023-10-04T06:02:38.960Z] "mtu": 1458, [2023-10-04T06:02:38.960Z] "selinux-enabled": true, [2023-10-04T06:02:38.960Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-04T06:02:38.960Z] } [Pipeline] sh [2023-10-04T06:02:39.226Z] 2f39f015ded8: Pull complete [2023-10-04T06:02:39.226Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-04T06:02:39.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T06:02:39.226Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:02:39.303Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-10-04T06:02:39.304Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2023-10-04T06:02:39.338Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-04T06:02:44.742Z] $ docker top 1285ac709945bc4e2efea1dcdbc83fe6dc70b24ed7d48183158d9eb59f6fcabb -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:02:45.107Z] + sudo service docker restart [2023-10-04T06:02:45.181Z] ---> job-cost.sh [2023-10-04T06:02:45.181Z] lf-activate-venv: SKIPPING [2023-10-04T06:02:45.181Z] INFO: No Stack... [2023-10-04T06:02:45.440Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T06:02:45.699Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T06:02:45.994Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-10-04T06:02:45.995Z] + cut -d, -f6 [Pipeline] lock [2023-10-04T06:02:46.008Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-129-stack-cost] [2023-10-04T06:02:46.014Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-129-stack-cost] did not exist. Created. [2023-10-04T06:02:46.014Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T06:02:46.315Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-04T06:02:46.348Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T06:02:46.355Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T06:02:46.375Z] $ docker stop --time=1 1285ac709945bc4e2efea1dcdbc83fe6dc70b24ed7d48183158d9eb59f6fcabb [2023-10-04T06:02:47.527Z] $ docker rm -f --volumes 1285ac709945bc4e2efea1dcdbc83fe6dc70b24ed7d48183158d9eb59f6fcabb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T06:03:03.354Z] provisioning config files... [2023-10-04T06:03:03.377Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/129@tmp/config9749662236707163167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:03:03.721Z] ---> docker-login.sh [2023-10-04T06:03:03.721Z] nexus3.edgexfoundry.org:10001 [2023-10-04T06:03:03.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:03:04.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:03:04.261Z] Configure a credential helper to remove this warning. See [2023-10-04T06:03:04.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:03:04.261Z] [2023-10-04T06:03:04.261Z] Login Succeeded [2023-10-04T06:03:04.261Z] nexus3.edgexfoundry.org:10002 [2023-10-04T06:03:04.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:03:04.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:03:04.531Z] Configure a credential helper to remove this warning. See [2023-10-04T06:03:04.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:03:04.531Z] [2023-10-04T06:03:04.531Z] Login Succeeded [2023-10-04T06:03:04.531Z] nexus3.edgexfoundry.org:10003 [2023-10-04T06:03:04.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:03:05.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:03:05.077Z] Configure a credential helper to remove this warning. See [2023-10-04T06:03:05.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:03:05.077Z] [2023-10-04T06:03:05.077Z] Login Succeeded [2023-10-04T06:03:05.077Z] nexus3.edgexfoundry.org:10004 [2023-10-04T06:03:05.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:03:05.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:03:05.346Z] Configure a credential helper to remove this warning. See [2023-10-04T06:03:05.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:03:05.346Z] [2023-10-04T06:03:05.346Z] Login Succeeded [2023-10-04T06:03:05.346Z] docker.io [2023-10-04T06:03:05.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:03:05.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:03:05.879Z] Configure a credential helper to remove this warning. See [2023-10-04T06:03:05.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:03:05.879Z] [2023-10-04T06:03:05.879Z] Login Succeeded [2023-10-04T06:03:05.879Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T06:03:05.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T06:03:06.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T06:03:06.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T06:03:06.166Z] ========================================================= [2023-10-04T06:03:06.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-04T06:03:06.166Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:03:06.532Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-04T06:03:06.800Z] Sending build context to Docker daemon 3.369MB [2023-10-04T06:03:06.800Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T06:03:06.800Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-04T06:03:07.071Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-04T06:03:07.071Z] 9fda8d8052c6: Pulling fs layer [2023-10-04T06:03:07.071Z] 5d54e960e981: Pulling fs layer [2023-10-04T06:03:07.071Z] c4a7e357bf2a: Pulling fs layer [2023-10-04T06:03:07.071Z] f0e02332f6b5: Pulling fs layer [2023-10-04T06:03:07.071Z] cefa15bbcfad: Pulling fs layer [2023-10-04T06:03:07.071Z] 17808c966233: Pulling fs layer [2023-10-04T06:03:07.071Z] f4c1fc716caa: Pulling fs layer [2023-10-04T06:03:07.071Z] cefa15bbcfad: Waiting [2023-10-04T06:03:07.071Z] f4c1fc716caa: Waiting [2023-10-04T06:03:07.071Z] 17808c966233: Waiting [2023-10-04T06:03:07.071Z] f0e02332f6b5: Waiting [2023-10-04T06:03:07.071Z] 5d54e960e981: Download complete [2023-10-04T06:03:07.071Z] f0e02332f6b5: Verifying Checksum [2023-10-04T06:03:07.071Z] f0e02332f6b5: Download complete [2023-10-04T06:03:07.071Z] cefa15bbcfad: Verifying Checksum [2023-10-04T06:03:07.071Z] cefa15bbcfad: Download complete [2023-10-04T06:03:07.071Z] 9fda8d8052c6: Verifying Checksum [2023-10-04T06:03:07.071Z] 9fda8d8052c6: Download complete [2023-10-04T06:03:07.661Z] f4c1fc716caa: Verifying Checksum [2023-10-04T06:03:07.661Z] f4c1fc716caa: Download complete [2023-10-04T06:03:07.945Z] 9fda8d8052c6: Pull complete [2023-10-04T06:03:08.911Z] c4a7e357bf2a: Verifying Checksum [2023-10-04T06:03:08.911Z] c4a7e357bf2a: Download complete [2023-10-04T06:03:09.499Z] 17808c966233: Download complete [2023-10-04T06:03:10.462Z] 5d54e960e981: Pull complete [2023-10-04T06:03:22.825Z] c4a7e357bf2a: Pull complete [2023-10-04T06:03:22.825Z] f0e02332f6b5: Pull complete [2023-10-04T06:03:22.825Z] cefa15bbcfad: Pull complete [2023-10-04T06:03:28.195Z] 17808c966233: Pull complete [2023-10-04T06:03:29.615Z] f4c1fc716caa: Pull complete [2023-10-04T06:03:29.615Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-04T06:03:29.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-04T06:03:29.615Z] ---> ea914061e18c [2023-10-04T06:03:29.615Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-04T06:03:31.032Z] ---> Running in 1a39f67ce080 [2023-10-04T06:03:31.300Z] Removing intermediate container 1a39f67ce080 [2023-10-04T06:03:31.300Z] ---> 404c30cae9a2 [2023-10-04T06:03:31.300Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T06:03:31.300Z] ---> Running in d60e0c8b0184 [2023-10-04T06:03:31.573Z] Removing intermediate container d60e0c8b0184 [2023-10-04T06:03:31.573Z] ---> 5ceb969b39fd [2023-10-04T06:03:31.573Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-04T06:03:31.839Z] ---> Running in 172378a69fe5 [2023-10-04T06:03:32.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T06:03:33.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T06:03:34.088Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-04T06:03:34.088Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-04T06:03:34.088Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-04T06:03:34.088Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-04T06:03:34.359Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-04T06:03:34.359Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-04T06:03:34.359Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-04T06:03:34.359Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-04T06:03:34.359Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T06:03:34.359Z] OK: 272 MiB in 60 packages [2023-10-04T06:03:39.702Z] Removing intermediate container 172378a69fe5 [2023-10-04T06:03:39.702Z] ---> 436015fb5a43 [2023-10-04T06:03:39.702Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-04T06:03:39.702Z] ---> Running in ed49273ee803 [2023-10-04T06:03:39.702Z] Removing intermediate container ed49273ee803 [2023-10-04T06:03:39.702Z] ---> 8ed93ce9ec8c [2023-10-04T06:03:39.702Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-04T06:03:39.702Z] ---> 106d2a87b7f9 [2023-10-04T06:03:39.702Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T06:03:39.974Z] ---> Running in fe6881043dfe [2023-10-04T06:04:47.858Z] Removing intermediate container fe6881043dfe [2023-10-04T06:04:47.858Z] ---> d674cb2e49c2 [2023-10-04T06:04:47.858Z] Step 9/10 : COPY . . [2023-10-04T06:04:47.858Z] ---> 889bc478a523 [2023-10-04T06:04:47.858Z] Step 10/10 : RUN ${MAKE} [2023-10-04T06:04:47.858Z] ---> Running in d76717655604 [2023-10-04T06:04:47.858Z] noop [2023-10-04T06:04:47.858Z] Removing intermediate container d76717655604 [2023-10-04T06:04:47.858Z] ---> 9997e7def979 [2023-10-04T06:04:47.858Z] Successfully built 9997e7def979 [2023-10-04T06:04:47.858Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:04:48.205Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T06:04:48.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:04:48.397Z] prd-ubuntu20.04-docker-arm64-4c-16g-8455 does not seem to be running inside a container [2023-10-04T06:04:48.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/129 -v /w/workspace/device-modbus-go/129:/w/workspace/device-modbus-go/129:rw,z -v /w/workspace/device-modbus-go/129@tmp:/w/workspace/device-modbus-go/129@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 [2023-10-04T06:04:49.605Z] $ docker top 4715398acc90c7f4f292003e214c89498d0f5c9da9f55cad89fbd5f36ded5bd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T06:04:50.418Z] + go version [2023-10-04T06:04:50.418Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-04T06:04:50.439Z] $ docker stop --time=1 4715398acc90c7f4f292003e214c89498d0f5c9da9f55cad89fbd5f36ded5bd7 [2023-10-04T06:04:52.039Z] $ docker rm -f --volumes 4715398acc90c7f4f292003e214c89498d0f5c9da9f55cad89fbd5f36ded5bd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:04:52.570Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T06:04:52.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:04:52.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-8455 does not seem to be running inside a container [2023-10-04T06:04:52.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/129 -v /w/workspace/device-modbus-go/129:/w/workspace/device-modbus-go/129:rw,z -v /w/workspace/device-modbus-go/129@tmp:/w/workspace/device-modbus-go/129@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 [2023-10-04T06:04:53.926Z] $ docker top 3068f87fa6a1c2db14190ceac625b438220a29d0e05bbd24c160ffacce55db44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T06:04:54.418Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/129 [Pipeline] fileExists [Pipeline] sh [2023-10-04T06:04:54.744Z] + make test [2023-10-04T06:04:55.013Z] go test ./... -coverprofile=coverage.out [2023-10-04T06:05:00.374Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-04T06:06:22.142Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-04T06:06:24.084Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.9% of statements [2023-10-04T06:06:24.689Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-04T06:06:24.689Z] go vet ./... [2023-10-04T06:06:46.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T06:06:46.741Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T06:06:46.741Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T06:06:46.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T06:06:46.775Z] $ docker stop --time=1 3068f87fa6a1c2db14190ceac625b438220a29d0e05bbd24c160ffacce55db44 [2023-10-04T06:06:48.639Z] $ docker rm -f --volumes 3068f87fa6a1c2db14190ceac625b438220a29d0e05bbd24c160ffacce55db44 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T06:06:49.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T06:06:49.905Z] Warning: overwriting stash ‘coverage-report’ [2023-10-04T06:06:50.510Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T06:06:50.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T06:06:51.239Z] + ls -al . [2023-10-04T06:06:51.239Z] total 188 [2023-10-04T06:06:51.239Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 06:04 . [2023-10-04T06:06:51.239Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:02 .. [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 06:02 .dockerignore [2023-10-04T06:06:51.239Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 06:02 .git [2023-10-04T06:06:51.239Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:02 .github [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 4 06:02 .gitignore [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 06:02 .golangci.yml [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 4 06:02 Attribution.txt [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 4 06:02 CHANGELOG.md [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 4 06:02 Dockerfile [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 06:02 GOVERNANCE.md [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 06:02 Jenkinsfile [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 06:02 LICENSE [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 4 06:02 Makefile [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 4 06:02 OWNERS.md [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 4578 Oct 4 06:02 README.md [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 06:00 VERSION [2023-10-04T06:06:51.239Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:02 bin [2023-10-04T06:06:51.239Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:02 cmd [2023-10-04T06:06:51.239Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 4 06:06 coverage.out [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 3941 Oct 4 06:02 go.mod [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 35965 Oct 4 06:02 go.sum [2023-10-04T06:06:51.239Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:02 internal [2023-10-04T06:06:51.239Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:02 simulator [2023-10-04T06:06:51.239Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:02 snap [2023-10-04T06:06:51.239Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 4 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:06:51.589Z] + 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=e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 --label arch=arm64 --label version=3.1.0-dev.15 . [2023-10-04T06:06:51.855Z] Sending build context to Docker daemon 3.394MB [2023-10-04T06:06:51.855Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T06:06:51.855Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-04T06:06:51.855Z] ---> 9997e7def979 [2023-10-04T06:06:51.855Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-04T06:06:52.121Z] ---> Running in 7e68d2c2ee46 [2023-10-04T06:06:52.388Z] Removing intermediate container 7e68d2c2ee46 [2023-10-04T06:06:52.388Z] ---> 49066f4a555e [2023-10-04T06:06:52.388Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T06:06:52.388Z] ---> Running in 75db7693ce79 [2023-10-04T06:06:52.657Z] Removing intermediate container 75db7693ce79 [2023-10-04T06:06:52.657Z] ---> a0158d19ca6f [2023-10-04T06:06:52.657Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-04T06:06:52.657Z] ---> Running in 1551f69f06d2 [2023-10-04T06:06:53.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T06:06:54.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T06:06:55.152Z] OK: 272 MiB in 60 packages [2023-10-04T06:06:58.490Z] Removing intermediate container 1551f69f06d2 [2023-10-04T06:06:58.490Z] ---> 45402c1de682 [2023-10-04T06:06:58.490Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-04T06:06:58.490Z] ---> Running in c5a13f4b6241 [2023-10-04T06:06:58.490Z] Removing intermediate container c5a13f4b6241 [2023-10-04T06:06:58.490Z] ---> 0aeccb47025b [2023-10-04T06:06:58.490Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-04T06:06:59.076Z] ---> ab19768d4367 [2023-10-04T06:06:59.077Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T06:06:59.077Z] ---> Running in b36a357f8cc0 [2023-10-04T06:07:01.659Z] Removing intermediate container b36a357f8cc0 [2023-10-04T06:07:01.659Z] ---> 4186dd227598 [2023-10-04T06:07:01.659Z] Step 9/22 : COPY . . [2023-10-04T06:07:02.254Z] ---> 36c23b3152b9 [2023-10-04T06:07:02.254Z] Step 10/22 : RUN ${MAKE} [2023-10-04T06:07:02.254Z] ---> Running in b04a5d6eb41c [2023-10-04T06:07:03.669Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-04T06:09:10.333Z] Removing intermediate container b04a5d6eb41c [2023-10-04T06:09:10.333Z] ---> 45783b525385 [2023-10-04T06:09:10.333Z] Step 11/22 : FROM alpine:3.18 [2023-10-04T06:09:10.333Z] 3.18: Pulling from library/alpine [2023-10-04T06:09:10.333Z] 579b34f0a95b: Pulling fs layer [2023-10-04T06:09:10.333Z] 579b34f0a95b: Verifying Checksum [2023-10-04T06:09:10.333Z] 579b34f0a95b: Download complete [2023-10-04T06:09:10.333Z] 579b34f0a95b: Pull complete [2023-10-04T06:09:10.333Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T06:09:10.333Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T06:09:10.333Z] ---> 3cc203321400 [2023-10-04T06:09:10.333Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-04T06:09:10.333Z] ---> Running in 8559c1bb0f38 [2023-10-04T06:09:10.333Z] Removing intermediate container 8559c1bb0f38 [2023-10-04T06:09:10.333Z] ---> 5fa7763db6b9 [2023-10-04T06:09:10.333Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-04T06:09:10.333Z] ---> Running in 8d9f28374e25 [2023-10-04T06:09:10.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T06:09:10.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T06:09:10.333Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-04T06:09:10.333Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T06:09:10.333Z] OK: 8 MiB in 16 packages [2023-10-04T06:09:10.333Z] Removing intermediate container 8d9f28374e25 [2023-10-04T06:09:10.333Z] ---> 179cd9fb3f37 [2023-10-04T06:09:10.333Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-04T06:09:10.333Z] ---> 0472cd533d35 [2023-10-04T06:09:10.333Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-04T06:09:10.333Z] ---> 678678e85797 [2023-10-04T06:09:10.333Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-04T06:09:10.333Z] ---> 2df440f77a5f [2023-10-04T06:09:10.333Z] Step 17/22 : EXPOSE 59901 [2023-10-04T06:09:10.333Z] ---> Running in 6d9f56587f5b [2023-10-04T06:09:10.334Z] Removing intermediate container 6d9f56587f5b [2023-10-04T06:09:10.334Z] ---> 4fb960a675e0 [2023-10-04T06:09:10.334Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-04T06:09:10.334Z] ---> Running in 12f87a033cc1 [2023-10-04T06:09:10.334Z] Removing intermediate container 12f87a033cc1 [2023-10-04T06:09:10.334Z] ---> 9e7e88a255c5 [2023-10-04T06:09:10.334Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-04T06:09:10.334Z] ---> Running in 660a2a8e3da6 [2023-10-04T06:09:10.334Z] Removing intermediate container 660a2a8e3da6 [2023-10-04T06:09:10.334Z] ---> c0d768890855 [2023-10-04T06:09:10.334Z] Step 20/22 : LABEL arch=arm64 [2023-10-04T06:09:10.334Z] ---> Running in ad628b5fefef [2023-10-04T06:09:10.334Z] Removing intermediate container ad628b5fefef [2023-10-04T06:09:10.334Z] ---> c9db9c0cd325 [2023-10-04T06:09:10.334Z] Step 21/22 : LABEL git_sha=e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [2023-10-04T06:09:10.334Z] ---> Running in d72ae53a8998 [2023-10-04T06:09:10.334Z] Removing intermediate container d72ae53a8998 [2023-10-04T06:09:10.334Z] ---> fd319a940847 [2023-10-04T06:09:10.334Z] Step 22/22 : LABEL version=3.1.0-dev.15 [2023-10-04T06:09:10.334Z] ---> Running in 13f882af8b65 [2023-10-04T06:09:10.334Z] Removing intermediate container 13f882af8b65 [2023-10-04T06:09:10.334Z] ---> db55830d5bda [2023-10-04T06:09:10.334Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T06:09:10.334Z] Successfully built db55830d5bda [2023-10-04T06:09:10.334Z] 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 [2023-10-04T06:09:10.437Z] provisioning config files... [2023-10-04T06:09:10.451Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/129@tmp/config15851464252326285760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:09:10.791Z] ---> docker-login.sh [2023-10-04T06:09:10.791Z] nexus3.edgexfoundry.org:10001 [2023-10-04T06:09:10.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:09:11.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:09:11.059Z] Configure a credential helper to remove this warning. See [2023-10-04T06:09:11.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:09:11.059Z] [2023-10-04T06:09:11.059Z] Login Succeeded [2023-10-04T06:09:11.059Z] nexus3.edgexfoundry.org:10002 [2023-10-04T06:09:11.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:09:11.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:09:11.327Z] Configure a credential helper to remove this warning. See [2023-10-04T06:09:11.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:09:11.327Z] [2023-10-04T06:09:11.327Z] Login Succeeded [2023-10-04T06:09:11.327Z] nexus3.edgexfoundry.org:10003 [2023-10-04T06:09:11.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:09:11.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:09:11.862Z] Configure a credential helper to remove this warning. See [2023-10-04T06:09:11.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:09:11.862Z] [2023-10-04T06:09:11.862Z] Login Succeeded [2023-10-04T06:09:11.862Z] nexus3.edgexfoundry.org:10004 [2023-10-04T06:09:12.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:09:12.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:09:12.131Z] Configure a credential helper to remove this warning. See [2023-10-04T06:09:12.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:09:12.131Z] [2023-10-04T06:09:12.131Z] Login Succeeded [2023-10-04T06:09:12.131Z] docker.io [2023-10-04T06:09:12.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T06:09:12.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T06:09:12.663Z] Configure a credential helper to remove this warning. See [2023-10-04T06:09:12.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T06:09:12.663Z] [2023-10-04T06:09:12.663Z] Login Succeeded [2023-10-04T06:09:12.663Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T06:09:12.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T06:09:12.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T06:09:12.742Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-10-04T06:09:12.742Z] e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [2023-10-04T06:09:12.742Z] latest [2023-10-04T06:09:12.742Z] 3.1.0-dev.15 [2023-10-04T06:09:12.742Z] e06fe215c9f7361cb58f6068d4b3f6dc0080baf2-3.1.0-dev.15 [2023-10-04T06:09:12.742Z] main [2023-10-04T06:09:12.742Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:13.095Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:13.430Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [2023-10-04T06:09:13.430Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-04T06:09:13.430Z] 646cbbafe4a3: Preparing [2023-10-04T06:09:13.430Z] 40556e2065c0: Preparing [2023-10-04T06:09:13.430Z] b99a7f1b6da4: Preparing [2023-10-04T06:09:13.430Z] 781fe073fa06: Preparing [2023-10-04T06:09:13.430Z] 5f4d9fc4d98d: Preparing [2023-10-04T06:09:13.430Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T06:09:13.695Z] 40556e2065c0: Pushed [2023-10-04T06:09:13.695Z] 646cbbafe4a3: Pushed [2023-10-04T06:09:13.695Z] 781fe073fa06: Pushed [2023-10-04T06:09:19.025Z] b99a7f1b6da4: Pushed [2023-10-04T06:09:19.025Z] e06fe215c9f7361cb58f6068d4b3f6dc0080baf2: digest: sha256:d55663ec3e5cb7b008679ad021ac762792af84eead1b28badbd72a3508ba36e4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:19.376Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:19.732Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-04T06:09:19.732Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-04T06:09:19.732Z] 646cbbafe4a3: Preparing [2023-10-04T06:09:19.732Z] 40556e2065c0: Preparing [2023-10-04T06:09:19.732Z] b99a7f1b6da4: Preparing [2023-10-04T06:09:19.732Z] 781fe073fa06: Preparing [2023-10-04T06:09:19.732Z] 5f4d9fc4d98d: Preparing [2023-10-04T06:09:19.732Z] b99a7f1b6da4: Layer already exists [2023-10-04T06:09:19.732Z] 40556e2065c0: Layer already exists [2023-10-04T06:09:19.732Z] 646cbbafe4a3: Layer already exists [2023-10-04T06:09:19.732Z] 781fe073fa06: Layer already exists [2023-10-04T06:09:19.732Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T06:09:19.732Z] latest: digest: sha256:d55663ec3e5cb7b008679ad021ac762792af84eead1b28badbd72a3508ba36e4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:20.335Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:20.680Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.15 [2023-10-04T06:09:20.680Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-04T06:09:20.680Z] 646cbbafe4a3: Preparing [2023-10-04T06:09:20.680Z] 40556e2065c0: Preparing [2023-10-04T06:09:20.680Z] b99a7f1b6da4: Preparing [2023-10-04T06:09:20.680Z] 781fe073fa06: Preparing [2023-10-04T06:09:20.680Z] 5f4d9fc4d98d: Preparing [2023-10-04T06:09:20.680Z] 40556e2065c0: Layer already exists [2023-10-04T06:09:20.680Z] 781fe073fa06: Layer already exists [2023-10-04T06:09:20.680Z] b99a7f1b6da4: Layer already exists [2023-10-04T06:09:20.680Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T06:09:20.680Z] 646cbbafe4a3: Layer already exists [2023-10-04T06:09:20.680Z] 3.1.0-dev.15: digest: sha256:d55663ec3e5cb7b008679ad021ac762792af84eead1b28badbd72a3508ba36e4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:21.018Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:21.358Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2-3.1.0-dev.15 [2023-10-04T06:09:21.359Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-04T06:09:21.359Z] 646cbbafe4a3: Preparing [2023-10-04T06:09:21.359Z] 40556e2065c0: Preparing [2023-10-04T06:09:21.359Z] b99a7f1b6da4: Preparing [2023-10-04T06:09:21.359Z] 781fe073fa06: Preparing [2023-10-04T06:09:21.359Z] 5f4d9fc4d98d: Preparing [2023-10-04T06:09:21.359Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T06:09:21.359Z] 781fe073fa06: Layer already exists [2023-10-04T06:09:21.359Z] 40556e2065c0: Layer already exists [2023-10-04T06:09:21.359Z] 646cbbafe4a3: Layer already exists [2023-10-04T06:09:21.359Z] b99a7f1b6da4: Layer already exists [2023-10-04T06:09:21.359Z] e06fe215c9f7361cb58f6068d4b3f6dc0080baf2-3.1.0-dev.15: digest: sha256:d55663ec3e5cb7b008679ad021ac762792af84eead1b28badbd72a3508ba36e4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:21.695Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:22.029Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-10-04T06:09:22.029Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-04T06:09:22.029Z] 646cbbafe4a3: Preparing [2023-10-04T06:09:22.029Z] 40556e2065c0: Preparing [2023-10-04T06:09:22.029Z] b99a7f1b6da4: Preparing [2023-10-04T06:09:22.029Z] 781fe073fa06: Preparing [2023-10-04T06:09:22.029Z] 5f4d9fc4d98d: Preparing [2023-10-04T06:09:22.029Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T06:09:22.029Z] b99a7f1b6da4: Layer already exists [2023-10-04T06:09:22.029Z] 781fe073fa06: Layer already exists [2023-10-04T06:09:22.029Z] 40556e2065c0: Layer already exists [2023-10-04T06:09:22.029Z] 646cbbafe4a3: Layer already exists [2023-10-04T06:09:22.029Z] main: digest: sha256:d55663ec3e5cb7b008679ad021ac762792af84eead1b28badbd72a3508ba36e4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T06:09:22.077Z] ===================================================== [Pipeline] echo [2023-10-04T06:09:22.083Z] taggedImages: [2023-10-04T06:09:22.083Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [2023-10-04T06:09:22.083Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-04T06:09:22.083Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.15 [2023-10-04T06:09:22.083Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e06fe215c9f7361cb58f6068d4b3f6dc0080baf2-3.1.0-dev.15 [2023-10-04T06:09:22.083Z] - 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 [2023-10-04T06:09:22.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T06:09:22.442Z] [2023-10-04T06:09:22.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:22.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T06:09:22.834Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-04T06:09:22.834Z] 8998bd30e6a1: Pulling fs layer [2023-10-04T06:09:22.834Z] 04944245beec: Pulling fs layer [2023-10-04T06:09:22.834Z] 699f458cf7ca: Pulling fs layer [2023-10-04T06:09:22.834Z] 765212b225bb: Pulling fs layer [2023-10-04T06:09:22.834Z] f23df028b6ca: Pulling fs layer [2023-10-04T06:09:22.834Z] d65c8cfc05b1: Pulling fs layer [2023-10-04T06:09:22.834Z] 2437ff75d9bd: Pulling fs layer [2023-10-04T06:09:22.834Z] f23df028b6ca: Waiting [2023-10-04T06:09:22.834Z] d65c8cfc05b1: Waiting [2023-10-04T06:09:22.834Z] 2437ff75d9bd: Waiting [2023-10-04T06:09:22.834Z] 765212b225bb: Waiting [2023-10-04T06:09:23.111Z] 04944245beec: Verifying Checksum [2023-10-04T06:09:23.111Z] 04944245beec: Download complete [2023-10-04T06:09:23.111Z] 765212b225bb: Verifying Checksum [2023-10-04T06:09:23.111Z] 765212b225bb: Download complete [2023-10-04T06:09:23.111Z] f23df028b6ca: Verifying Checksum [2023-10-04T06:09:23.111Z] f23df028b6ca: Download complete [2023-10-04T06:09:23.111Z] d65c8cfc05b1: Verifying Checksum [2023-10-04T06:09:23.111Z] d65c8cfc05b1: Download complete [2023-10-04T06:09:23.391Z] 699f458cf7ca: Verifying Checksum [2023-10-04T06:09:23.391Z] 699f458cf7ca: Download complete [2023-10-04T06:09:23.672Z] 8998bd30e6a1: Verifying Checksum [2023-10-04T06:09:23.672Z] 8998bd30e6a1: Download complete [2023-10-04T06:09:26.324Z] 2437ff75d9bd: Verifying Checksum [2023-10-04T06:09:26.324Z] 2437ff75d9bd: Download complete [2023-10-04T06:09:27.730Z] 8998bd30e6a1: Pull complete [2023-10-04T06:09:28.313Z] 04944245beec: Pull complete [2023-10-04T06:09:29.719Z] 699f458cf7ca: Pull complete [2023-10-04T06:09:29.719Z] 765212b225bb: Pull complete [2023-10-04T06:09:30.301Z] f23df028b6ca: Pull complete [2023-10-04T06:09:30.568Z] d65c8cfc05b1: Pull complete [2023-10-04T06:09:45.555Z] 2437ff75d9bd: Pull complete [2023-10-04T06:09:45.555Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-04T06:09:45.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T06:09:45.555Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:09:45.741Z] prd-ubuntu20.04-docker-arm64-4c-16g-8455 does not seem to be running inside a container [2023-10-04T06:09:45.815Z] $ 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/129 -v /w/workspace/device-modbus-go/129:/w/workspace/device-modbus-go/129:rw,z -v /w/workspace/device-modbus-go/129@tmp:/w/workspace/device-modbus-go/129@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 [2023-10-04T06:09:48.184Z] $ docker top 5cfc9169df1bae7f7ae87abc0f65c9892ee568ad94e1f24efca90d10827a64dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:09:48.677Z] ---> job-cost.sh [2023-10-04T06:09:48.941Z] lf-activate-venv: SKIPPING [2023-10-04T06:09:48.941Z] INFO: No Stack... [2023-10-04T06:09:49.206Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-04T06:09:50.160Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T06:09:50.478Z] + cut -d, -f6 [2023-10-04T06:09:50.744Z] + cat /w/workspace/device-modbus-go/129/archives/cost.csv [Pipeline] lock [2023-10-04T06:09:50.800Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-129-stack-cost] [2023-10-04T06:09:50.808Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-129-stack-cost] did not exist. Created. [2023-10-04T06:09:50.808Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T06:09:51.145Z] /w/workspace/device-modbus-go/129@tmp/durable-ddd688d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-04T06:09:51.481Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-04T06:09:51.504Z] Warning: overwriting stash ‘stack-cost’ [2023-10-04T06:09:51.560Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T06:09:51.567Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T06:09:51.600Z] $ docker stop --time=1 5cfc9169df1bae7f7ae87abc0f65c9892ee568ad94e1f24efca90d10827a64dc [2023-10-04T06:09:53.081Z] $ docker rm -f --volumes 5cfc9169df1bae7f7ae87abc0f65c9892ee568ad94e1f24efca90d10827a64dc [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 [2023-10-04T06:09:53.468Z] provisioning config files... [2023-10-04T06:09:53.475Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4485764031033452135tmp [Pipeline] { [Pipeline] sh [2023-10-04T06:09:53.772Z] + set +x [2023-10-04T06:09:53.772Z] + + bashcurl -s -s -- https://codecov.io/bash [2023-10-04T06:09:53.772Z] [2023-10-04T06:09:54.033Z] [2023-10-04T06:09:54.033Z] _____ _ [2023-10-04T06:09:54.033Z] / ____| | | [2023-10-04T06:09:54.033Z] | | ___ __| | ___ ___ _____ __ [2023-10-04T06:09:54.033Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-04T06:09:54.033Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-04T06:09:54.033Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-04T06:09:54.033Z] Bash-1.0.6 [2023-10-04T06:09:54.033Z] [2023-10-04T06:09:54.033Z] [2023-10-04T06:09:54.033Z] ==> git version 2.25.1 found [2023-10-04T06:09:54.033Z] ==> 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 [2023-10-04T06:09:54.033Z] Release-Date: 2020-01-08 [2023-10-04T06:09:54.033Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-04T06:09:54.033Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-04T06:09:54.033Z] ==> Jenkins CI detected. [2023-10-04T06:09:54.033Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-10-04T06:09:54.033Z] project root: . [2023-10-04T06:09:54.033Z] --> token set from env [2023-10-04T06:09:54.033Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-04T06:09:54.033Z] ==> Running gcov in . (disable via -X gcov) [2023-10-04T06:09:54.033Z] ==> Python coveragepy not found [2023-10-04T06:09:54.033Z] ==> Searching for coverage reports in: [2023-10-04T06:09:54.033Z] + . [2023-10-04T06:09:54.033Z] -> Found 1 reports [2023-10-04T06:09:54.033Z] ==> Detecting git/mercurial file structure [2023-10-04T06:09:54.033Z] ==> Reading reports [2023-10-04T06:09:54.033Z] + ./coverage.out bytes=24334 [2023-10-04T06:09:54.033Z] ==> Appending adjustments [2023-10-04T06:09:54.033Z] https://docs.codecov.io/docs/fixing-reports [2023-10-04T06:09:54.033Z] + Found adjustments [2023-10-04T06:09:54.033Z] ==> Gzipping contents [2023-10-04T06:09:54.033Z] 4.0K /tmp/codecov.bQdw45.gz [2023-10-04T06:09:54.033Z] ==> Uploading reports [2023-10-04T06:09:54.033Z] url: https://codecov.io [2023-10-04T06:09:54.033Z] query: branch=main&commit=e06fe215c9f7361cb58f6068d4b3f6dc0080baf2&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-04T06:09:54.033Z] -> Pinging Codecov [2023-10-04T06:09:54.033Z] 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=e06fe215c9f7361cb58f6068d4b3f6dc0080baf2&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-04T06:09:54.293Z] -> Uploading to [2023-10-04T06:09:54.293Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-04/55DBCA73C666E3227836607328DD7E49/e06fe215c9f7361cb58f6068d4b3f6dc0080baf2/706e4dfd-6141-4509-aaef-df65747dee1a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T060954Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8cf3343251912959958a2fc8f2370a5a5d7c22dc058dfde958ebf44d9b26612c [2023-10-04T06:09:54.293Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T06:09:54.293Z] Dload Upload Total Spent Left Speed [2023-10-04T06:09:54.601Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 14346 --:--:-- --:--:-- --:--:-- 14294 100 3974 0 0 100 3974 0 14294 --:--:-- --:--:-- --:--:-- 14243 [2023-10-04T06:09:54.601Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [Pipeline] } [2023-10-04T06:09:54.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-04T06:09:54.812Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-04T06:09:54.820Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:55.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T06:09:55.117Z] [2023-10-04T06:09:55.117Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:09:55.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T06:09:55.412Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-04T06:09:55.412Z] df9b9388f04a: Pulling fs layer [2023-10-04T06:09:55.412Z] 52dc419b0ee2: Pulling fs layer [2023-10-04T06:09:55.412Z] 25bc292e5bac: Pulling fs layer [2023-10-04T06:09:55.412Z] 114826534d7a: Pulling fs layer [2023-10-04T06:09:55.412Z] 4657fd5d0bcf: Pulling fs layer [2023-10-04T06:09:55.412Z] 6ad1cebc031e: Pulling fs layer [2023-10-04T06:09:55.412Z] 8a3aa393b2d8: Pulling fs layer [2023-10-04T06:09:55.412Z] 6ad1cebc031e: Waiting [2023-10-04T06:09:55.412Z] 114826534d7a: Waiting [2023-10-04T06:09:55.412Z] 4657fd5d0bcf: Waiting [2023-10-04T06:09:55.412Z] 8a3aa393b2d8: Waiting [2023-10-04T06:09:55.412Z] 25bc292e5bac: Verifying Checksum [2023-10-04T06:09:55.412Z] 25bc292e5bac: Download complete [2023-10-04T06:09:55.412Z] 52dc419b0ee2: Download complete [2023-10-04T06:09:55.412Z] 4657fd5d0bcf: Download complete [2023-10-04T06:09:55.412Z] df9b9388f04a: Verifying Checksum [2023-10-04T06:09:55.412Z] df9b9388f04a: Download complete [2023-10-04T06:09:55.674Z] df9b9388f04a: Pull complete [2023-10-04T06:09:55.674Z] 6ad1cebc031e: Verifying Checksum [2023-10-04T06:09:55.674Z] 6ad1cebc031e: Download complete [2023-10-04T06:09:55.674Z] 52dc419b0ee2: Pull complete [2023-10-04T06:09:55.674Z] 25bc292e5bac: Pull complete [2023-10-04T06:09:56.244Z] 114826534d7a: Download complete [2023-10-04T06:09:56.244Z] 8a3aa393b2d8: Download complete [2023-10-04T06:09:59.524Z] 114826534d7a: Pull complete [2023-10-04T06:09:59.524Z] 4657fd5d0bcf: Pull complete [2023-10-04T06:09:59.524Z] 6ad1cebc031e: Pull complete [2023-10-04T06:10:02.052Z] 8a3aa393b2d8: Pull complete [2023-10-04T06:10:02.052Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-04T06:10:02.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T06:10:02.052Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:10:02.130Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2023-10-04T06:10:02.156Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-04T06:10:08.657Z] $ docker top a46bd922084d4ff210a6f85a8799da907d3d498474782cba41fbab4ac84c9e22 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-04T06:10:08.715Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-10-04T06:10:08.993Z] + set -o pipefail [2023-10-04T06:10:08.993Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-10-04T06:10:14.258Z] [2023-10-04T06:10:14.258Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-10-04T06:10:14.258Z] [2023-10-04T06:10:14.258Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/5b293484-badd-44b6-bdfc-23e2f23866c3 [2023-10-04T06:10:14.258Z] [2023-10-04T06:10:14.258Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-10-04T06:10:14.258Z] [2023-10-04T06:10:14.258Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-04T06:10:14.258Z] [2023-10-04T06:10:14.518Z] [2023-10-04T06:10:14.518Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-04T06:10:14.518Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-04T06:10:14.518Z] More details here: https://snyk.co/ue1NS [2023-10-04T06:10:14.518Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-10-04T06:10:14.518Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-10-04T06:10:14.531Z] $ docker stop --time=1 a46bd922084d4ff210a6f85a8799da907d3d498474782cba41fbab4ac84c9e22 [2023-10-04T06:10:19.376Z] $ docker rm -f --volumes a46bd922084d4ff210a6f85a8799da907d3d498474782cba41fbab4ac84c9e22 [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 [2023-10-04T06:10:20.106Z] + git log --format=format:%s -1 e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 [Pipeline] sh [2023-10-04T06:10:20.392Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T06:10:20.393Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:10:20.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T06:10:20.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:10:20.757Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2023-10-04T06:10:20.791Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-04T06:10:21.223Z] $ docker top 61c517f2fdf9688c4c51b6d16051befa32bd13a742aa903d698c7e89568cdc93 -eo pid,comm [2023-10-04T06:10:21.265Z] 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). [2023-10-04T06:10:21.265Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T06:10:21.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T06:10:21.306Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T06:10:21.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T06:10:21.404Z] $ docker exec 61c517f2fdf9688c4c51b6d16051befa32bd13a742aa903d698c7e89568cdc93 ssh-agent [2023-10-04T06:10:21.496Z] SSH_AUTH_SOCK=/tmp/ssh-kSFQF0452gSc/agent.31 [2023-10-04T06:10:21.496Z] SSH_AGENT_PID=37 [2023-10-04T06:10:21.500Z] Running ssh-add (command line suppressed) [2023-10-04T06:10:21.607Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8525522568913043424.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8525522568913043424.key) [2023-10-04T06:10:21.617Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T06:10:21.900Z] + git semver tag [2023-10-04T06:10:22.159Z] 2023-10-04 06:10:22,062 [run_tag] DEBUG tag force:False [2023-10-04T06:10:22.159Z] 2023-10-04 06:10:22,062 [check_head_tag] DEBUG check head tag [2023-10-04T06:10:22.159Z] 2023-10-04 06:10:22,063 [execute] INFO git cat-file --batch-check [2023-10-04T06:10:22.159Z] 2023-10-04 06:10:22,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-04T06:10:22.159Z] 2023-10-04 06:10:22,066 [execute] INFO git cat-file --batch [2023-10-04T06:10:22.159Z] 2023-10-04 06:10:22,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-04T06:10:22.159Z] 2023-10-04 06:10:22,076 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-04T06:10:22.159Z] 2023-10-04 06:10:22,076 [execute] INFO git tag -a v3.1.0-dev.15 -m v3.1.0-dev.15 [2023-10-04T06:10:22.159Z] 2023-10-04 06:10:22,076 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.15', '-m', 'v3.1.0-dev.15'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-04T06:10:22.159Z] 2023-10-04 06:10:22,081 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-04T06:10:22.159Z] 3.1.0-dev.15 [Pipeline] } [2023-10-04T06:10:22.170Z] $ docker exec --env ******** --env ******** 61c517f2fdf9688c4c51b6d16051befa32bd13a742aa903d698c7e89568cdc93 ssh-agent -k [2023-10-04T06:10:22.276Z] unset SSH_AUTH_SOCK; [2023-10-04T06:10:22.276Z] unset SSH_AGENT_PID; [2023-10-04T06:10:22.276Z] echo Agent pid 37 killed; [2023-10-04T06:10:22.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T06:10:22.587Z] + git semver [Pipeline] } [2023-10-04T06:10:22.861Z] $ docker stop --time=1 61c517f2fdf9688c4c51b6d16051befa32bd13a742aa903d698c7e89568cdc93 [2023-10-04T06:10:24.177Z] $ docker rm -f --volumes 61c517f2fdf9688c4c51b6d16051befa32bd13a742aa903d698c7e89568cdc93 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:10:24.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T06:10:24.554Z] [2023-10-04T06:10:24.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:10:24.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T06:10:24.844Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-04T06:10:24.844Z] ab5ef0e58194: Pulling fs layer [2023-10-04T06:10:24.844Z] 9712f1f96733: Pulling fs layer [2023-10-04T06:10:24.844Z] 63f879dbbcfc: Pulling fs layer [2023-10-04T06:10:24.844Z] 0d9ebad4ef96: Pulling fs layer [2023-10-04T06:10:24.844Z] e9a5061849ea: Pulling fs layer [2023-10-04T06:10:24.844Z] d747dcd14b5f: Pulling fs layer [2023-10-04T06:10:24.844Z] 2de7ff778b66: Pulling fs layer [2023-10-04T06:10:24.844Z] 0d9ebad4ef96: Waiting [2023-10-04T06:10:24.844Z] e9a5061849ea: Waiting [2023-10-04T06:10:24.844Z] d747dcd14b5f: Waiting [2023-10-04T06:10:24.844Z] 2de7ff778b66: Waiting [2023-10-04T06:10:24.844Z] 9712f1f96733: Download complete [2023-10-04T06:10:25.104Z] 63f879dbbcfc: Verifying Checksum [2023-10-04T06:10:25.104Z] 63f879dbbcfc: Download complete [2023-10-04T06:10:25.362Z] 0d9ebad4ef96: Verifying Checksum [2023-10-04T06:10:25.362Z] 0d9ebad4ef96: Download complete [2023-10-04T06:10:25.362Z] d747dcd14b5f: Verifying Checksum [2023-10-04T06:10:25.362Z] e9a5061849ea: Download complete [2023-10-04T06:10:25.362Z] ab5ef0e58194: Verifying Checksum [2023-10-04T06:10:25.362Z] ab5ef0e58194: Download complete [2023-10-04T06:10:25.362Z] 2de7ff778b66: Verifying Checksum [2023-10-04T06:10:25.362Z] 2de7ff778b66: Download complete [2023-10-04T06:10:27.888Z] ab5ef0e58194: Pull complete [2023-10-04T06:10:27.888Z] 9712f1f96733: Pull complete [2023-10-04T06:10:28.453Z] 63f879dbbcfc: Pull complete [2023-10-04T06:10:32.678Z] 0d9ebad4ef96: Pull complete [2023-10-04T06:10:32.678Z] e9a5061849ea: Pull complete [2023-10-04T06:10:32.678Z] d747dcd14b5f: Pull complete [2023-10-04T06:10:33.246Z] 2de7ff778b66: Pull complete [2023-10-04T06:10:33.246Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-04T06:10:33.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T06:10:33.246Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:10:33.318Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2023-10-04T06:10:33.344Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-04T06:10:40.425Z] $ docker top b123435c8b5f4ce882ec51a9cca759790d8a2a6d32827795df3c5eedefad4615 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-04T06:10:40.481Z] provisioning config files... [2023-10-04T06:10:40.487Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1210425290152029075tmp [2023-10-04T06:10:40.494Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13856709489399008574tmp [2023-10-04T06:10:40.502Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12077372161492032095tmp [Pipeline] { [Pipeline] echo [2023-10-04T06:10:40.517Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:10:40.791Z] ---> sigul-configuration.sh [2023-10-04T06:10:40.792Z] gpg: directory `/root/.gnupg' created [2023-10-04T06:10:40.792Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-04T06:10:40.792Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-04T06:10:40.792Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-04T06:10:40.792Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-04T06:10:40.792Z] gpg: CAST5 encrypted data [2023-10-04T06:10:40.792Z] gpg: encrypted with 1 passphrase [2023-10-04T06:10:40.792Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-04T06:10:41.072Z] + mkdir /home/jenkins [2023-10-04T06:10:41.072Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-04T06:10:41.356Z] + 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 [2023-10-04T06:10:41.364Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:10:41.643Z] ---> sigul-install.sh [2023-10-04T06:10:41.643Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-04T06:10:41.931Z] + git tag --list [2023-10-04T06:10:41.931Z] 0.7.1 [2023-10-04T06:10:41.931Z] v1.0.0 [2023-10-04T06:10:41.931Z] v1.1.0 [2023-10-04T06:10:41.931Z] v1.1.1 [2023-10-04T06:10:41.931Z] v1.2.2 [2023-10-04T06:10:41.931Z] v1.3.0 [2023-10-04T06:10:41.931Z] v1.3.1 [2023-10-04T06:10:41.931Z] v2.0.0 [2023-10-04T06:10:41.931Z] v2.1.0 [2023-10-04T06:10:41.931Z] v2.1.1 [2023-10-04T06:10:41.931Z] v2.2.0 [2023-10-04T06:10:41.931Z] v2.3.0 [2023-10-04T06:10:41.931Z] v3.0 [2023-10-04T06:10:41.931Z] v3.0.0 [2023-10-04T06:10:41.931Z] v3.1.0-dev.1 [2023-10-04T06:10:41.931Z] v3.1.0-dev.10 [2023-10-04T06:10:41.932Z] v3.1.0-dev.11 [2023-10-04T06:10:41.932Z] v3.1.0-dev.12 [2023-10-04T06:10:41.932Z] v3.1.0-dev.13 [2023-10-04T06:10:41.932Z] v3.1.0-dev.14 [2023-10-04T06:10:41.932Z] v3.1.0-dev.15 [2023-10-04T06:10:41.932Z] v3.1.0-dev.2 [2023-10-04T06:10:41.932Z] v3.1.0-dev.3 [2023-10-04T06:10:41.932Z] v3.1.0-dev.4 [2023-10-04T06:10:41.932Z] v3.1.0-dev.5 [2023-10-04T06:10:41.932Z] v3.1.0-dev.6 [2023-10-04T06:10:41.932Z] v3.1.0-dev.7 [2023-10-04T06:10:41.932Z] v3.1.0-dev.8 [2023-10-04T06:10:41.932Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-04T06:10:42.218Z] + lftools sign git-tag v3.1.0-dev.15 [2023-10-04T06:10:42.787Z] Signing Git tag with Sigul... [2023-10-04T06:10:42.787Z] Signing v3.1.0-dev.15 [Pipeline] echo [2023-10-04T06:10:43.055Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:10:43.338Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-04T06:10:43.344Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-04T06:10:43.364Z] $ docker stop --time=1 b123435c8b5f4ce882ec51a9cca759790d8a2a6d32827795df3c5eedefad4615 [2023-10-04T06:10:44.661Z] $ docker rm -f --volumes b123435c8b5f4ce882ec51a9cca759790d8a2a6d32827795df3c5eedefad4615 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-04T06:10:45.074Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T06:10:45.074Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:10:45.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T06:10:45.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:10:45.440Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2023-10-04T06:10:45.470Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-04T06:10:45.820Z] $ docker top c31e620fdacd8c680e3d58b9b763db3a5b6287830d43b3466018055b647292aa -eo pid,comm [2023-10-04T06:10:45.866Z] 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). [2023-10-04T06:10:45.866Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T06:10:45.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T06:10:45.899Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T06:10:45.998Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T06:10:46.003Z] $ docker exec c31e620fdacd8c680e3d58b9b763db3a5b6287830d43b3466018055b647292aa ssh-agent [2023-10-04T06:10:46.107Z] SSH_AUTH_SOCK=/tmp/ssh-LovzANsvSynf/agent.32 [2023-10-04T06:10:46.107Z] SSH_AGENT_PID=38 [2023-10-04T06:10:46.112Z] Running ssh-add (command line suppressed) [2023-10-04T06:10:46.202Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4541141350521999423.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4541141350521999423.key) [2023-10-04T06:10:46.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T06:10:46.501Z] + git semver bump pre [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,668 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,668 [bump_version] DEBUG bumping version:3.1.0-dev.15 on axis:pre with prefix:dev [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,668 [bump_version] DEBUG bumped version:3.1.0-dev.16 [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,668 [write_version] DEBUG write version:3.1.0-dev.16 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,668 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,668 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,670 [execute] INFO git cat-file --batch-check [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,675 [execute] INFO git cat-file --batch [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T06:10:46.763Z] 2023-10-04 06:10:46,680 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-04T06:10:46.763Z] 3.1.0-dev.16 [Pipeline] } [2023-10-04T06:10:46.775Z] $ docker exec --env ******** --env ******** c31e620fdacd8c680e3d58b9b763db3a5b6287830d43b3466018055b647292aa ssh-agent -k [2023-10-04T06:10:46.865Z] unset SSH_AUTH_SOCK; [2023-10-04T06:10:46.865Z] unset SSH_AGENT_PID; [2023-10-04T06:10:46.866Z] echo Agent pid 38 killed; [2023-10-04T06:10:46.873Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T06:10:47.184Z] + git semver [Pipeline] } [2023-10-04T06:10:47.459Z] $ docker stop --time=1 c31e620fdacd8c680e3d58b9b763db3a5b6287830d43b3466018055b647292aa [2023-10-04T06:10:48.763Z] $ docker rm -f --volumes c31e620fdacd8c680e3d58b9b763db3a5b6287830d43b3466018055b647292aa [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T06:10:49.103Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T06:10:49.103Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:10:49.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T06:10:49.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:10:49.471Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2023-10-04T06:10:49.500Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-04T06:10:49.825Z] $ docker top 5bc4e0d0dd40f416a4c02b23f21ae7c0bb8f9541835272e893da83e59b7cc430 -eo pid,comm [2023-10-04T06:10:49.866Z] 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). [2023-10-04T06:10:49.866Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T06:10:49.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T06:10:49.899Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T06:10:50.002Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T06:10:50.006Z] $ docker exec 5bc4e0d0dd40f416a4c02b23f21ae7c0bb8f9541835272e893da83e59b7cc430 ssh-agent [2023-10-04T06:10:50.093Z] SSH_AUTH_SOCK=/tmp/ssh-04R7IefJR8lo/agent.32 [2023-10-04T06:10:50.093Z] SSH_AGENT_PID=38 [2023-10-04T06:10:50.098Z] Running ssh-add (command line suppressed) [2023-10-04T06:10:50.194Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1051043678028603502.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1051043678028603502.key) [2023-10-04T06:10:50.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T06:10:50.487Z] + git semver push [2023-10-04T06:10:50.746Z] 2023-10-04 06:10:50,651 [run_push] DEBUG push [2023-10-04T06:10:50.746Z] 2023-10-04 06:10:50,652 [execute] INFO git cat-file --batch-check [2023-10-04T06:10:50.746Z] 2023-10-04 06:10:50,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T06:10:50.746Z] 2023-10-04 06:10:50,655 [execute] INFO git rev-list 70e378de7e91f711924cf52c2a8e78f26e37b3a5 -- [2023-10-04T06:10:50.746Z] 2023-10-04 06:10:50,656 [execute] DEBUG Popen(['git', 'rev-list', '70e378de7e91f711924cf52c2a8e78f26e37b3a5', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-04T06:10:50.746Z] 2023-10-04 06:10:50,664 [execute] INFO git fetch -v origin [2023-10-04T06:10:50.746Z] 2023-10-04 06:10:50,664 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-04T06:10:51.313Z] 2023-10-04 06:10:51,192 [run_push] DEBUG no remote changes detected [2023-10-04T06:10:51.313Z] 2023-10-04 06:10:51,192 [execute] INFO git push origin semver [2023-10-04T06:10:51.313Z] 2023-10-04 06:10:51,193 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-04T06:10:52.247Z] 2023-10-04 06:10:52,165 [run_push] DEBUG push all version tags [2023-10-04T06:10:52.247Z] 2023-10-04 06:10:52,166 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-04T06:10:52.247Z] 2023-10-04 06:10:52,166 [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) [2023-10-04T06:10:53.182Z] 2023-10-04 06:10:52,953 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-04T06:10:53.182Z] 3.1.0-dev.16 [Pipeline] } [2023-10-04T06:10:53.193Z] $ docker exec --env ******** --env ******** 5bc4e0d0dd40f416a4c02b23f21ae7c0bb8f9541835272e893da83e59b7cc430 ssh-agent -k [2023-10-04T06:10:53.281Z] unset SSH_AUTH_SOCK; [2023-10-04T06:10:53.281Z] unset SSH_AGENT_PID; [2023-10-04T06:10:53.282Z] echo Agent pid 38 killed; [2023-10-04T06:10:53.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T06:10:53.605Z] + git semver [Pipeline] } [2023-10-04T06:10:53.877Z] $ docker stop --time=1 5bc4e0d0dd40f416a4c02b23f21ae7c0bb8f9541835272e893da83e59b7cc430 [2023-10-04T06:10:55.135Z] $ docker rm -f --volumes 5bc4e0d0dd40f416a4c02b23f21ae7c0bb8f9541835272e893da83e59b7cc430 [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 [2023-10-04T06:10:55.728Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-10-04T06:10:55.729Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-04T06:10:55.729Z] total 16 [2023-10-04T06:10:55.729Z] drwxr-xr-x 3 root root 4096 Oct 4 06:02 . [2023-10-04T06:10:55.729Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 06:10 .. [2023-10-04T06:10:55.729Z] drwxr-xr-x 2 root root 4096 Oct 4 06:02 cost [2023-10-04T06:10:55.729Z] -rw-r--r-- 1 root root 88 Oct 4 06:02 cost.csv [2023-10-04T06:10:55.729Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-04T06:10:55.729Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-04T06:10:55.729Z] total 16 [2023-10-04T06:10:55.729Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 06:02 . [2023-10-04T06:10:55.729Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 06:10 .. [2023-10-04T06:10:55.729Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 06:02 cost [2023-10-04T06:10:55.729Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 4 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:10:56.015Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:10:56.876Z] ---> package-listing.sh [2023-10-04T06:10:56.876Z] ++ facter osfamily [2023-10-04T06:10:56.876Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-04T06:10:57.136Z] + OS_FAMILY=debian [2023-10-04T06:10:57.136Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-10-04T06:10:57.136Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-04T06:10:57.136Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-04T06:10:57.136Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-04T06:10:57.136Z] + PACKAGES=/tmp/packages_start.txt [2023-10-04T06:10:57.136Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-04T06:10:57.136Z] + PACKAGES=/tmp/packages_end.txt [2023-10-04T06:10:57.136Z] + case "${OS_FAMILY}" in [2023-10-04T06:10:57.136Z] + dpkg -l [2023-10-04T06:10:57.136Z] + grep '^ii' [2023-10-04T06:10:57.136Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-04T06:10:57.136Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-04T06:10:57.136Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-04T06:10:57.136Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-04T06:10:57.136Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-10-04T06:10:57.136Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-10-04T06:10:57.148Z] 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 [2023-10-04T06:10:57.424Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T06:10:57.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T06:10:57.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T06:10:58.057Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2023-10-04T06:10:58.087Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-04T06:10:58.282Z] $ docker top cd85957e8b83c27d5d03bd279437511bded86a1fad49283dc2df092985f5c1e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T06:10:58.673Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-04T06:10:59.003Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-04T06:10:59.287Z] + ls /var/log/sa-host [2023-10-04T06:10:59.287Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T06:10:59.426Z] provisioning config files... [2023-10-04T06:10:59.433Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6302081550890170144tmp [Pipeline] { [Pipeline] echo [2023-10-04T06:10:59.442Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:10:59.723Z] ---> create-netrc.sh [Pipeline] } [2023-10-04T06:10:59.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:11:00.051Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-04T06:11:00.058Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:11:00.342Z] ---> sudo-logs.sh [2023-10-04T06:11:00.342Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-04T06:11:00.373Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:11:00.658Z] ---> job-cost.sh [2023-10-04T06:11:00.658Z] lf-activate-venv: SKIPPING [2023-10-04T06:11:00.658Z] DEBUG: total: 0.2199999988079071 [2023-10-04T06:11:00.658Z] INFO: Retrieving Stack Cost... [2023-10-04T06:11:00.917Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T06:11:01.484Z] INFO: Archiving Costs [Pipeline] echo [2023-10-04T06:11:01.494Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T06:11:01.778Z] ---> logs-deploy.sh [2023-10-04T06:11:01.778Z] lf-activate-venv: SKIPPING [2023-10-04T06:11:01.778Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/129 [2023-10-04T06:11:01.778Z] INFO: archiving workspace using pattern(s): [2023-10-04T06:11:02.715Z] Archives upload complete. [2023-10-04T06:11:02.715Z] INFO: archiving logs to Nexus