Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 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-ssh11276902352741176782.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-ssh10448316500761341447.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-ssh12959882378300647125.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-ssh14827271399524662755.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-ssh12035273083513561183.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] ========================================================= [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-12536 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 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 (main) Commit message: "Merge pull request #518 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37" > 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 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 > git rev-list --no-walk 556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-27T08:38:57.490Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-27T08:38:57.558Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-27T08:38:57.579Z] ========================================================= [2023-10-27T08:38:57.579Z] EdgeX Global Pipelines Version Info [2023-10-27T08:38:57.579Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:38:58.283Z] ------------------- [2023-10-27T08:38:58.283Z] stable info: [2023-10-27T08:38:58.283Z] ------------------- [2023-10-27T08:38:58.283Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-27T08:38:58.283Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T08:38:58.283Z] Message: update stable to v1.0.254 [2023-10-27T08:38:58.851Z] ------------------- [2023-10-27T08:38:58.851Z] experimental info: [2023-10-27T08:38:58.851Z] ------------------- [2023-10-27T08:38:58.851Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-27T08:38:58.851Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T08:38:58.851Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-27T08:38:59.000Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-10-27T08:38:59.021Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-10-27T08:38:59.031Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-27T08:38:59.043Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-27T08:38:59.054Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-27T08:38:59.073Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-27T08:38:59.090Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-27T08:38:59.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-27T08:38:59.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-27T08:38:59.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-27T08:38:59.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-27T08:38:59.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-10-27T08:38:59.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-27T08:38:59.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-27T08:38:59.215Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T08:38:59.235Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T08:38:59.257Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T08:38:59.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T08:38:59.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-27T08:38:59.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-27T08:38:59.335Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-27T08:38:59.358Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-27T08:38:59.372Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-27T08:38:59.387Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-27T08:38:59.399Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-27T08:38:59.417Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-27T08:38:59.432Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-27T08:38:59.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-27T08:38:59.472Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-27T08:38:59.495Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-27T08:38:59.510Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [Pipeline] echo [2023-10-27T08:38:59.524Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83e3636 [Pipeline] echo [2023-10-27T08:38:59.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T08:38:59.595Z] provisioning config files... [2023-10-27T08:38:59.609Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14521754660676911507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:38:59.919Z] ---> docker-login.sh [2023-10-27T08:38:59.919Z] nexus3.edgexfoundry.org:10001 [2023-10-27T08:38:59.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:00.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:00.182Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:00.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:00.182Z] [2023-10-27T08:39:00.182Z] Login Succeeded [2023-10-27T08:39:00.182Z] nexus3.edgexfoundry.org:10002 [2023-10-27T08:39:00.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:00.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:00.442Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:00.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:00.442Z] [2023-10-27T08:39:00.442Z] Login Succeeded [2023-10-27T08:39:00.442Z] nexus3.edgexfoundry.org:10003 [2023-10-27T08:39:00.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:00.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:00.442Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:00.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:00.442Z] [2023-10-27T08:39:00.442Z] Login Succeeded [2023-10-27T08:39:00.442Z] nexus3.edgexfoundry.org:10004 [2023-10-27T08:39:00.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:00.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:00.703Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:00.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:00.703Z] [2023-10-27T08:39:00.703Z] Login Succeeded [2023-10-27T08:39:00.703Z] docker.io [2023-10-27T08:39:00.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:00.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:00.965Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:00.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:00.965Z] [2023-10-27T08:39:00.965Z] Login Succeeded [2023-10-27T08:39:00.965Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T08:39:00.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-27T08:39:01.375Z] + git rev-list -1 --merges 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51~1..83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [Pipeline] echo [2023-10-27T08:39:01.415Z] -----------> git rev-list -1 --merges 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51~1..83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [2023-10-27T08:39:01.415Z] 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [false] [Pipeline] sh [2023-10-27T08:39:01.702Z] + git log --format=format:%s -1 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [Pipeline] echo [2023-10-27T08:39:01.719Z] ========================================================= [2023-10-27T08:39:01.719Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-27T08:39:01.719Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T08:39:02.053Z] + git log --format=format:%s -1 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [Pipeline] echo [2023-10-27T08:39:02.070Z] [semverPrep] GIT_COMMIT: 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51, Commit Message: Merge pull request #518 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37 [Pipeline] echo [2023-10-27T08:39:02.084Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-27T08:39:02.455Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T08:39:02.455Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-27T08:39:02.455Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-27T08:39:02.455Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-27T08:39:02.455Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-27T08:39:02.455Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-27T08:39:02.455Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:39:02.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T08:39:02.873Z] [2023-10-27T08:39:02.873Z] 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-27T08:39:03.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T08:39:03.183Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-27T08:39:03.183Z] b85a868b505f: Pulling fs layer [2023-10-27T08:39:03.183Z] e2be974225ed: Pulling fs layer [2023-10-27T08:39:03.183Z] 339a4e72a1f5: Pulling fs layer [2023-10-27T08:39:03.183Z] 988bab9f4d93: Pulling fs layer [2023-10-27T08:39:03.183Z] 1469e6f7b9e6: Pulling fs layer [2023-10-27T08:39:03.183Z] eaf3925da568: Pulling fs layer [2023-10-27T08:39:03.183Z] bab4dde63d76: Pulling fs layer [2023-10-27T08:39:03.183Z] bde34c3a00c8: Pulling fs layer [2023-10-27T08:39:03.183Z] b352a97aabf1: Pulling fs layer [2023-10-27T08:39:03.183Z] 4872d77fe225: Pulling fs layer [2023-10-27T08:39:03.183Z] 5851b861e8e6: Pulling fs layer [2023-10-27T08:39:03.183Z] 1469e6f7b9e6: Waiting [2023-10-27T08:39:03.183Z] b352a97aabf1: Waiting [2023-10-27T08:39:03.183Z] 4872d77fe225: Waiting [2023-10-27T08:39:03.183Z] bde34c3a00c8: Waiting [2023-10-27T08:39:03.183Z] 5851b861e8e6: Waiting [2023-10-27T08:39:03.183Z] eaf3925da568: Waiting [2023-10-27T08:39:03.183Z] bab4dde63d76: Waiting [2023-10-27T08:39:03.183Z] 988bab9f4d93: Waiting [2023-10-27T08:39:03.183Z] e2be974225ed: Verifying Checksum [2023-10-27T08:39:03.183Z] e2be974225ed: Download complete [2023-10-27T08:39:03.183Z] 988bab9f4d93: Verifying Checksum [2023-10-27T08:39:03.183Z] 988bab9f4d93: Download complete [2023-10-27T08:39:03.183Z] 1469e6f7b9e6: Verifying Checksum [2023-10-27T08:39:03.183Z] 1469e6f7b9e6: Download complete [2023-10-27T08:39:03.183Z] eaf3925da568: Download complete [2023-10-27T08:39:03.183Z] 339a4e72a1f5: Verifying Checksum [2023-10-27T08:39:03.183Z] 339a4e72a1f5: Download complete [2023-10-27T08:39:03.442Z] bde34c3a00c8: Verifying Checksum [2023-10-27T08:39:03.442Z] bde34c3a00c8: Download complete [2023-10-27T08:39:03.442Z] b352a97aabf1: Download complete [2023-10-27T08:39:03.442Z] 4872d77fe225: Verifying Checksum [2023-10-27T08:39:03.442Z] 4872d77fe225: Download complete [2023-10-27T08:39:03.442Z] 5851b861e8e6: Download complete [2023-10-27T08:39:03.442Z] b85a868b505f: Verifying Checksum [2023-10-27T08:39:03.442Z] b85a868b505f: Download complete [2023-10-27T08:39:03.701Z] bab4dde63d76: Verifying Checksum [2023-10-27T08:39:03.701Z] bab4dde63d76: Download complete [2023-10-27T08:39:04.667Z] b85a868b505f: Pull complete [2023-10-27T08:39:04.926Z] e2be974225ed: Pull complete [2023-10-27T08:39:05.186Z] 339a4e72a1f5: Pull complete [2023-10-27T08:39:05.447Z] 988bab9f4d93: Pull complete [2023-10-27T08:39:05.705Z] 1469e6f7b9e6: Pull complete [2023-10-27T08:39:05.705Z] eaf3925da568: Pull complete [2023-10-27T08:39:07.606Z] bab4dde63d76: Pull complete [2023-10-27T08:39:07.606Z] bde34c3a00c8: Pull complete [2023-10-27T08:39:07.606Z] b352a97aabf1: Pull complete [2023-10-27T08:39:07.606Z] 4872d77fe225: Pull complete [2023-10-27T08:39:07.865Z] 5851b861e8e6: Pull complete [2023-10-27T08:39:07.865Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-27T08:39:07.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T08:39:07.865Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:39:07.968Z] prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container [2023-10-27T08:39:08.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T08:39:09.132Z] $ docker top 5c58fe90ba9939d941dc16c4e48d8f52bec5198ecbcd1597ea97cad022705169 -eo pid,comm [2023-10-27T08:39:09.181Z] 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-27T08:39:09.181Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T08:39:09.213Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T08:39:09.213Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T08:39:09.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T08:39:09.324Z] $ docker exec 5c58fe90ba9939d941dc16c4e48d8f52bec5198ecbcd1597ea97cad022705169 ssh-agent [2023-10-27T08:39:09.427Z] SSH_AUTH_SOCK=/tmp/ssh-QFxvkPF6BU1X/agent.32 [2023-10-27T08:39:09.427Z] SSH_AGENT_PID=38 [2023-10-27T08:39:09.434Z] Running ssh-add (command line suppressed) [2023-10-27T08:39:09.532Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5769317662589708773.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5769317662589708773.key) [2023-10-27T08:39:09.544Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T08:39:09.830Z] + git tag --points-at HEAD [Pipeline] } [2023-10-27T08:39:09.851Z] $ docker exec --env ******** --env ******** 5c58fe90ba9939d941dc16c4e48d8f52bec5198ecbcd1597ea97cad022705169 ssh-agent -k [2023-10-27T08:39:09.960Z] unset SSH_AUTH_SOCK; [2023-10-27T08:39:09.961Z] unset SSH_AGENT_PID; [2023-10-27T08:39:09.962Z] echo Agent pid 38 killed; [2023-10-27T08:39:09.966Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-27T08:39:09.997Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T08:39:09.997Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T08:39:10.113Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T08:39:10.119Z] $ docker exec 5c58fe90ba9939d941dc16c4e48d8f52bec5198ecbcd1597ea97cad022705169 ssh-agent [2023-10-27T08:39:10.214Z] SSH_AUTH_SOCK=/tmp/ssh-NdI6eRDLVqEy/agent.70 [2023-10-27T08:39:10.214Z] SSH_AGENT_PID=76 [2023-10-27T08:39:10.219Z] Running ssh-add (command line suppressed) [2023-10-27T08:39:10.329Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13770887176454267191.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13770887176454267191.key) [2023-10-27T08:39:10.338Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T08:39:10.625Z] + git semver init [2023-10-27T08:39:10.884Z] 2023-10-27 08:39:10,819 [run_init] DEBUG init version:0.0.0 force:False [2023-10-27T08:39:10.885Z] 2023-10-27 08:39:10,820 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-27T08:39:10.885Z] 2023-10-27 08:39:10,820 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-27T08:39:10.885Z] 2023-10-27 08:39:10,820 [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-27T08:39:11.825Z] 2023-10-27 08:39:11,671 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-10-27T08:39:11.825Z] 2023-10-27 08:39:11,672 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-10-27T08:39:11.825Z] 2023-10-27 08:39:11,672 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-27T08:39:11.825Z] 2023-10-27 08:39:11,672 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-27T08:39:11.825Z] 3.1.0-dev.22 [Pipeline] } [2023-10-27T08:39:11.837Z] $ docker exec --env ******** --env ******** 5c58fe90ba9939d941dc16c4e48d8f52bec5198ecbcd1597ea97cad022705169 ssh-agent -k [2023-10-27T08:39:11.938Z] unset SSH_AUTH_SOCK; [2023-10-27T08:39:11.939Z] unset SSH_AGENT_PID; [2023-10-27T08:39:11.939Z] echo Agent pid 76 killed; [2023-10-27T08:39:11.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T08:39:12.250Z] + git semver [Pipeline] } [2023-10-27T08:39:12.525Z] $ docker stop --time=1 5c58fe90ba9939d941dc16c4e48d8f52bec5198ecbcd1597ea97cad022705169 [2023-10-27T08:39:13.797Z] $ docker rm -f --volumes 5c58fe90ba9939d941dc16c4e48d8f52bec5198ecbcd1597ea97cad022705169 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T08:39:14.134Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-27T08:39:14.342Z] Stashed 1 file(s) [Pipeline] echo [2023-10-27T08:39:14.345Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.22 [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] { [2023-10-27T08:39:14.487Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12531 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] configFileProvider [2023-10-27T08:39:14.497Z] provisioning config files... [Pipeline] { [2023-10-27T08:39:14.507Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5903620488402045584tmp [Pipeline] ws [2023-10-27T08:39:14.512Z] Running in /w/workspace/device-modbus-go/136 [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] checkout [2023-10-27T08:39:14.584Z] Selected Git installation does not exist. Using Default [2023-10-27T08:39:14.584Z] The recommended git tool is: NONE [2023-10-27T08:39:14.807Z] ---> docker-login.sh [2023-10-27T08:39:14.807Z] nexus3.edgexfoundry.org:10001 [2023-10-27T08:39:14.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:14.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:14.807Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:14.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:14.807Z] [2023-10-27T08:39:14.807Z] Login Succeeded [2023-10-27T08:39:14.807Z] nexus3.edgexfoundry.org:10002 [2023-10-27T08:39:14.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:14.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:14.807Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:14.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:14.807Z] [2023-10-27T08:39:14.807Z] Login Succeeded [2023-10-27T08:39:14.807Z] nexus3.edgexfoundry.org:10003 [2023-10-27T08:39:15.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:15.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:15.065Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:15.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:15.065Z] [2023-10-27T08:39:15.065Z] Login Succeeded [2023-10-27T08:39:15.065Z] nexus3.edgexfoundry.org:10004 [2023-10-27T08:39:15.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:15.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:15.065Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:15.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:15.065Z] [2023-10-27T08:39:15.065Z] Login Succeeded [2023-10-27T08:39:15.065Z] docker.io [2023-10-27T08:39:15.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:15.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:15.323Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:15.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:15.323Z] [2023-10-27T08:39:15.323Z] Login Succeeded [2023-10-27T08:39:15.323Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T08:39:15.329Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T08:39:15.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T08:39:15.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T08:39:15.436Z] ========================================================= [2023-10-27T08:39:15.436Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-27T08:39:15.436Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:39:15.762Z] + 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-27T08:39:15.762Z] Sending build context to Docker daemon 6.539MB [2023-10-27T08:39:15.762Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T08:39:15.762Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-27T08:39:15.762Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-27T08:39:15.762Z] 7264a8db6415: Pulling fs layer [2023-10-27T08:39:15.762Z] c4d48a809fc2: Pulling fs layer [2023-10-27T08:39:15.762Z] 4f1c88b9dad5: Pulling fs layer [2023-10-27T08:39:15.762Z] ad3a456e5733: Pulling fs layer [2023-10-27T08:39:15.762Z] 33e27b845d1e: Pulling fs layer [2023-10-27T08:39:15.762Z] c68163c4e522: Pulling fs layer [2023-10-27T08:39:15.762Z] 50da416c3ac9: Pulling fs layer [2023-10-27T08:39:15.762Z] ad3a456e5733: Waiting [2023-10-27T08:39:15.762Z] 33e27b845d1e: Waiting [2023-10-27T08:39:15.762Z] c68163c4e522: Waiting [2023-10-27T08:39:15.762Z] 23d2d4c4bb30: Pulling fs layer [2023-10-27T08:39:15.762Z] 50da416c3ac9: Waiting [2023-10-27T08:39:15.762Z] 23d2d4c4bb30: Waiting [2023-10-27T08:39:15.762Z] c4d48a809fc2: Verifying Checksum [2023-10-27T08:39:15.762Z] c4d48a809fc2: Download complete [2023-10-27T08:39:15.762Z] ad3a456e5733: Download complete [2023-10-27T08:39:15.762Z] 33e27b845d1e: Verifying Checksum [2023-10-27T08:39:15.762Z] 33e27b845d1e: Download complete [2023-10-27T08:39:15.762Z] 7264a8db6415: Verifying Checksum [2023-10-27T08:39:15.762Z] 7264a8db6415: Download complete [2023-10-27T08:39:16.020Z] c68163c4e522: Verifying Checksum [2023-10-27T08:39:16.020Z] c68163c4e522: Download complete [2023-10-27T08:39:16.020Z] 7264a8db6415: Pull complete [2023-10-27T08:39:16.020Z] c4d48a809fc2: Pull complete [2023-10-27T08:39:16.280Z] 23d2d4c4bb30: Verifying Checksum [2023-10-27T08:39:16.280Z] 23d2d4c4bb30: Download complete [2023-10-27T08:39:16.280Z] 4f1c88b9dad5: Verifying Checksum [2023-10-27T08:39:16.280Z] 4f1c88b9dad5: Download complete [2023-10-27T08:39:16.850Z] 50da416c3ac9: Verifying Checksum [2023-10-27T08:39:16.850Z] 50da416c3ac9: Download complete [2023-10-27T08:39:19.389Z] 4f1c88b9dad5: Pull complete [2023-10-27T08:39:19.389Z] ad3a456e5733: Pull complete [2023-10-27T08:39:19.647Z] 33e27b845d1e: Pull complete [2023-10-27T08:39:19.647Z] c68163c4e522: Pull complete [2023-10-27T08:39:20.519Z] using credential edgex-jenkins-ssh [2023-10-27T08:39:20.534Z] Cloning the remote Git repository [2023-10-27T08:39:20.592Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-10-27T08:39:20.694Z] > git init /w/workspace/device-modbus-go/136 # timeout=10 [2023-10-27T08:39:20.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-27T08:39:20.862Z] > git --version # timeout=10 [2023-10-27T08:39:20.891Z] > git --version # 'git version 2.25.1' [2023-10-27T08:39:20.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T08:39:21.077Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T08:39:22.177Z] 50da416c3ac9: Pull complete [2023-10-27T08:39:22.435Z] 23d2d4c4bb30: Pull complete [2023-10-27T08:39:22.435Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-27T08:39:22.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-27T08:39:22.435Z] ---> 0786185ac409 [2023-10-27T08:39:22.435Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-27T08:39:22.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-27T08:39:22.364Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T08:39:23.475Z] Avoid second fetch [2023-10-27T08:39:23.475Z] Checking out Revision 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 (main) [2023-10-27T08:39:23.812Z] ---> Running in 089479e47717 [2023-10-27T08:39:23.812Z] Removing intermediate container 089479e47717 [2023-10-27T08:39:23.812Z] ---> bbd21726424f [2023-10-27T08:39:23.812Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T08:39:23.812Z] ---> Running in 98b26a5ae9da [2023-10-27T08:39:23.812Z] Removing intermediate container 98b26a5ae9da [2023-10-27T08:39:23.812Z] ---> 9170d5e5651b [2023-10-27T08:39:23.812Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-27T08:39:23.812Z] ---> Running in 80507c6ada2c [2023-10-27T08:39:24.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T08:39:24.232Z] Commit message: "Merge pull request #518 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37" [2023-10-27T08:39:24.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-10-27T08:39:24.590Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-27T08:39:24.590Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-27T08:39:24.590Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T08:39:23.502Z] > git config core.sparsecheckout # timeout=10 [2023-10-27T08:39:23.586Z] > git checkout -f 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 [2023-10-27T08:39:24.849Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-27T08:39:24.849Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-27T08:39:24.849Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-27T08:39:24.849Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-27T08:39:24.849Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-27T08:39:24.849Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T08:39:24.849Z] OK: 270 MiB in 60 packages [2023-10-27T08:39:25.106Z] Removing intermediate container 80507c6ada2c [2023-10-27T08:39:25.106Z] ---> 5433c445bb71 [2023-10-27T08:39:25.106Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-27T08:39:25.106Z] ---> Running in eb07d657846b [2023-10-27T08:39:25.169Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-27T08:39:25.169Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T08:39:25.169Z] Dload Upload Total Spent Left Speed [2023-10-27T08:39:25.169Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 79198 [2023-10-27T08:39:25.365Z] Removing intermediate container eb07d657846b [2023-10-27T08:39:25.365Z] ---> af3ddd9e25c8 [2023-10-27T08:39:25.365Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-27T08:39:25.365Z] ---> 0cec5f420960 [2023-10-27T08:39:25.365Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T08:39:25.365Z] ---> Running in 0358e162062c [Pipeline] sh [2023-10-27T08:39:25.989Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-27T08:39:26.327Z] + sudo tee /etc/docker/daemon.new [2023-10-27T08:39:26.327Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-27T08:39:26.600Z] { [2023-10-27T08:39:26.600Z] "registry-mirrors": [ [2023-10-27T08:39:26.600Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-27T08:39:26.600Z] ], [2023-10-27T08:39:26.600Z] "bip": "10.250.0.254/24", [2023-10-27T08:39:26.600Z] "hosts": [ [2023-10-27T08:39:26.600Z] "tcp://0.0.0.0:5555", [2023-10-27T08:39:26.600Z] "unix:///var/run/docker.sock" [2023-10-27T08:39:26.600Z] ], [2023-10-27T08:39:26.600Z] "mtu": 1458, [2023-10-27T08:39:26.600Z] "selinux-enabled": true, [2023-10-27T08:39:26.600Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-27T08:39:26.600Z] } [Pipeline] sh [2023-10-27T08:39:26.964Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-27T08:39:27.321Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T08:39:45.630Z] provisioning config files... [2023-10-27T08:39:45.662Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/136@tmp/config17136186427808960236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:39:46.040Z] ---> docker-login.sh [2023-10-27T08:39:46.040Z] nexus3.edgexfoundry.org:10001 [2023-10-27T08:39:46.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:46.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:46.629Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:46.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:46.629Z] [2023-10-27T08:39:46.629Z] Login Succeeded [2023-10-27T08:39:46.629Z] nexus3.edgexfoundry.org:10002 [2023-10-27T08:39:46.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:47.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:47.173Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:47.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:47.173Z] [2023-10-27T08:39:47.173Z] Login Succeeded [2023-10-27T08:39:47.173Z] nexus3.edgexfoundry.org:10003 [2023-10-27T08:39:47.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:47.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:47.444Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:47.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:47.444Z] [2023-10-27T08:39:47.444Z] Login Succeeded [2023-10-27T08:39:47.444Z] nexus3.edgexfoundry.org:10004 [2023-10-27T08:39:47.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:47.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:47.988Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:47.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:47.988Z] [2023-10-27T08:39:47.988Z] Login Succeeded [2023-10-27T08:39:47.988Z] docker.io [2023-10-27T08:39:48.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:39:48.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:39:48.527Z] Configure a credential helper to remove this warning. See [2023-10-27T08:39:48.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:39:48.527Z] [2023-10-27T08:39:48.527Z] Login Succeeded [2023-10-27T08:39:48.527Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T08:39:48.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T08:39:48.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T08:39:48.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T08:39:48.854Z] ========================================================= [2023-10-27T08:39:48.854Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-27T08:39:48.854Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:39:49.211Z] + 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-27T08:39:49.485Z] Sending build context to Docker daemon 3.385MB [2023-10-27T08:39:49.485Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T08:39:49.485Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-27T08:39:49.756Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-27T08:39:49.756Z] 9fda8d8052c6: Pulling fs layer [2023-10-27T08:39:49.756Z] 5d54e960e981: Pulling fs layer [2023-10-27T08:39:49.756Z] c4a7e357bf2a: Pulling fs layer [2023-10-27T08:39:49.756Z] f0e02332f6b5: Pulling fs layer [2023-10-27T08:39:49.756Z] cefa15bbcfad: Pulling fs layer [2023-10-27T08:39:49.756Z] 17808c966233: Pulling fs layer [2023-10-27T08:39:49.756Z] f4c1fc716caa: Pulling fs layer [2023-10-27T08:39:49.756Z] cefa15bbcfad: Waiting [2023-10-27T08:39:49.756Z] 17808c966233: Waiting [2023-10-27T08:39:49.756Z] f4c1fc716caa: Waiting [2023-10-27T08:39:49.756Z] f0e02332f6b5: Waiting [2023-10-27T08:39:49.756Z] 5d54e960e981: Verifying Checksum [2023-10-27T08:39:49.756Z] 5d54e960e981: Download complete [2023-10-27T08:39:49.756Z] f0e02332f6b5: Verifying Checksum [2023-10-27T08:39:49.756Z] f0e02332f6b5: Download complete [2023-10-27T08:39:49.756Z] cefa15bbcfad: Verifying Checksum [2023-10-27T08:39:49.756Z] cefa15bbcfad: Download complete [2023-10-27T08:39:50.026Z] 9fda8d8052c6: Verifying Checksum [2023-10-27T08:39:50.026Z] 9fda8d8052c6: Download complete [2023-10-27T08:39:50.621Z] f4c1fc716caa: Verifying Checksum [2023-10-27T08:39:50.621Z] f4c1fc716caa: Download complete [2023-10-27T08:39:50.898Z] 9fda8d8052c6: Pull complete [2023-10-27T08:39:51.876Z] 5d54e960e981: Pull complete [2023-10-27T08:39:51.876Z] c4a7e357bf2a: Verifying Checksum [2023-10-27T08:39:51.876Z] c4a7e357bf2a: Download complete [2023-10-27T08:39:53.305Z] 17808c966233: Verifying Checksum [2023-10-27T08:39:53.305Z] 17808c966233: Download complete [2023-10-27T08:40:08.467Z] c4a7e357bf2a: Pull complete [2023-10-27T08:40:08.468Z] f0e02332f6b5: Pull complete [2023-10-27T08:40:08.468Z] cefa15bbcfad: Pull complete [2023-10-27T08:40:16.719Z] 17808c966233: Pull complete [2023-10-27T08:40:17.302Z] f4c1fc716caa: Pull complete [2023-10-27T08:40:17.302Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-27T08:40:17.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-27T08:40:17.302Z] ---> ea914061e18c [2023-10-27T08:40:17.302Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-27T08:40:19.897Z] ---> Running in cc51b3dad9fd [2023-10-27T08:40:19.897Z] Removing intermediate container cc51b3dad9fd [2023-10-27T08:40:19.897Z] ---> 023339e8b704 [2023-10-27T08:40:19.897Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T08:40:19.897Z] ---> Running in eac4c44d806b [2023-10-27T08:40:20.172Z] Removing intermediate container eac4c44d806b [2023-10-27T08:40:20.172Z] ---> 2f2ddb307f4c [2023-10-27T08:40:20.172Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-27T08:40:20.448Z] ---> Running in ab245c974057 [2023-10-27T08:40:21.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T08:40:22.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T08:40:23.569Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-27T08:40:23.569Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-27T08:40:23.569Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-27T08:40:23.569Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-27T08:40:23.569Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-27T08:40:23.569Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-27T08:40:23.569Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-27T08:40:23.569Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-27T08:40:23.569Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T08:40:23.569Z] OK: 272 MiB in 60 packages [2023-10-27T08:40:28.969Z] Removing intermediate container ab245c974057 [2023-10-27T08:40:28.969Z] ---> 432580830ebb [2023-10-27T08:40:28.969Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-27T08:40:28.969Z] ---> Running in e795517ffd4b [2023-10-27T08:40:28.969Z] Removing intermediate container e795517ffd4b [2023-10-27T08:40:28.969Z] ---> 193eea8473b5 [2023-10-27T08:40:28.969Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-27T08:40:29.238Z] ---> 25372d068030 [2023-10-27T08:40:29.238Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T08:40:29.543Z] ---> Running in b8f24499b924 [2023-10-27T08:40:33.070Z] Removing intermediate container 0358e162062c [2023-10-27T08:40:33.070Z] ---> 98ae4a1a9940 [2023-10-27T08:40:33.070Z] Step 9/10 : COPY . . [2023-10-27T08:40:33.070Z] ---> c73b6a6980de [2023-10-27T08:40:33.070Z] Step 10/10 : RUN ${MAKE} [2023-10-27T08:40:33.070Z] ---> Running in 4a2c192d6a6e [2023-10-27T08:40:33.070Z] noop [2023-10-27T08:40:33.070Z] Removing intermediate container 4a2c192d6a6e [2023-10-27T08:40:33.070Z] ---> 35e6bce3ef1c [2023-10-27T08:40:33.070Z] Successfully built 35e6bce3ef1c [2023-10-27T08:40:33.070Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:40:33.376Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T08:40:33.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:40:33.448Z] prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container [2023-10-27T08:40:33.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-27T08:40:33.843Z] $ docker top 5b27b363e516f2b7b5fcf70e79173b92889f19edb44ed56ec524e8d010f6fdf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T08:40:34.186Z] + go version [2023-10-27T08:40:34.186Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-27T08:40:34.200Z] $ docker stop --time=1 5b27b363e516f2b7b5fcf70e79173b92889f19edb44ed56ec524e8d010f6fdf9 [2023-10-27T08:40:35.472Z] $ docker rm -f --volumes 5b27b363e516f2b7b5fcf70e79173b92889f19edb44ed56ec524e8d010f6fdf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:40:35.893Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T08:40:35.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:40:35.965Z] prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container [2023-10-27T08:40:35.997Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-27T08:40:36.341Z] $ docker top 5ba230b72852a329f4d7c561cee1230eba0fcbf89ac5dfbd5212fba0123ceb16 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T08:40:36.676Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-27T08:40:36.971Z] + make test [2023-10-27T08:40:36.971Z] go test ./... -coverprofile=coverage.out [2023-10-27T08:40:38.347Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-27T08:40:48.308Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-27T08:40:48.308Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2023-10-27T08:40:53.566Z] go vet ./... [2023-10-27T08:40:56.845Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T08:40:56.845Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T08:40:56.845Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T08:40:56.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T08:40:56.872Z] $ docker stop --time=1 5ba230b72852a329f4d7c561cee1230eba0fcbf89ac5dfbd5212fba0123ceb16 [2023-10-27T08:40:59.918Z] $ docker rm -f --volumes 5ba230b72852a329f4d7c561cee1230eba0fcbf89ac5dfbd5212fba0123ceb16 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T08:41:00.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T08:41:00.428Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-27T08:41:01.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T08:41:01.349Z] + ls -al . [2023-10-27T08:41:01.349Z] total 188 [2023-10-27T08:41:01.349Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 08:40 . [2023-10-27T08:41:01.349Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 08:38 .. [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 08:38 .dockerignore [2023-10-27T08:41:01.349Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 08:40 .git [2023-10-27T08:41:01.349Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 08:38 .github [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 27 08:38 .gitignore [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 08:38 .golangci.yml [2023-10-27T08:41:01.349Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 08:39 .semver [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 27 08:38 Attribution.txt [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 27 08:38 CHANGELOG.md [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 27 08:38 Dockerfile [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 08:38 GOVERNANCE.md [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 27 08:38 Jenkinsfile [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 08:38 LICENSE [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 27 08:38 Makefile [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 27 08:38 OWNERS.md [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 27 08:38 README.md [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 27 08:39 VERSION [2023-10-27T08:41:01.349Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 08:38 bin [2023-10-27T08:41:01.349Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 08:38 cmd [2023-10-27T08:41:01.349Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 27 08:40 coverage.out [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 27 08:38 go.mod [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 27 08:38 go.sum [2023-10-27T08:41:01.349Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 08:38 internal [2023-10-27T08:41:01.349Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 08:38 simulator [2023-10-27T08:41:01.349Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 27 08:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:01.698Z] + 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=83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 --label arch=amd64 --label version=3.1.0-dev.22 . [2023-10-27T08:41:01.698Z] Sending build context to Docker daemon 6.564MB [2023-10-27T08:41:01.698Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T08:41:01.698Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-27T08:41:01.698Z] ---> 35e6bce3ef1c [2023-10-27T08:41:01.698Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-27T08:41:01.987Z] ---> Running in 2d323e224c5e [2023-10-27T08:41:01.987Z] Removing intermediate container 2d323e224c5e [2023-10-27T08:41:01.987Z] ---> 4483032e7828 [2023-10-27T08:41:01.987Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T08:41:01.987Z] ---> Running in 649468cce40e [2023-10-27T08:41:01.987Z] Removing intermediate container 649468cce40e [2023-10-27T08:41:01.987Z] ---> 21d22671c6e8 [2023-10-27T08:41:01.987Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-27T08:41:01.987Z] ---> Running in f36cd1e48a50 [2023-10-27T08:41:02.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T08:41:02.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T08:41:03.079Z] OK: 270 MiB in 60 packages [2023-10-27T08:41:03.338Z] Removing intermediate container f36cd1e48a50 [2023-10-27T08:41:03.338Z] ---> 8cb4adf73369 [2023-10-27T08:41:03.338Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-27T08:41:03.338Z] ---> Running in 2cd5daf353d7 [2023-10-27T08:41:03.338Z] Removing intermediate container 2cd5daf353d7 [2023-10-27T08:41:03.338Z] ---> 0ac23bf5f1c2 [2023-10-27T08:41:03.338Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-27T08:41:03.597Z] ---> 76da905d1a92 [2023-10-27T08:41:03.597Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T08:41:03.597Z] ---> Running in e99fe8eb8353 [2023-10-27T08:41:04.163Z] Removing intermediate container e99fe8eb8353 [2023-10-27T08:41:04.163Z] ---> b0b159d2b156 [2023-10-27T08:41:04.163Z] Step 9/22 : COPY . . [2023-10-27T08:41:04.764Z] ---> 0ffb12b4fded [2023-10-27T08:41:04.764Z] Step 10/22 : RUN ${MAKE} [2023-10-27T08:41:04.764Z] ---> Running in 2455770251cc [2023-10-27T08:41:05.023Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-27T08:41:26.944Z] Removing intermediate container 2455770251cc [2023-10-27T08:41:26.944Z] ---> 3f4cdcff41c8 [2023-10-27T08:41:26.944Z] Step 11/22 : FROM alpine:3.18 [2023-10-27T08:41:26.944Z] 3.18: Pulling from library/alpine [2023-10-27T08:41:26.944Z] 96526aa774ef: Pulling fs layer [2023-10-27T08:41:26.944Z] 96526aa774ef: Verifying Checksum [2023-10-27T08:41:26.944Z] 96526aa774ef: Download complete [2023-10-27T08:41:26.944Z] 96526aa774ef: Pull complete [2023-10-27T08:41:26.944Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T08:41:26.944Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T08:41:26.944Z] ---> 8ca4688f4f35 [2023-10-27T08:41:26.944Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-27T08:41:26.944Z] ---> Running in b88fc613fbbe [2023-10-27T08:41:26.944Z] Removing intermediate container b88fc613fbbe [2023-10-27T08:41:26.944Z] ---> 4e96a82f6880 [2023-10-27T08:41:26.944Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-27T08:41:26.944Z] ---> Running in e0eec8dbd637 [2023-10-27T08:41:26.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T08:41:26.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T08:41:26.944Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-27T08:41:26.944Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T08:41:26.944Z] OK: 7 MiB in 16 packages [2023-10-27T08:41:26.944Z] Removing intermediate container e0eec8dbd637 [2023-10-27T08:41:26.944Z] ---> 3b6c365b85a1 [2023-10-27T08:41:26.944Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-27T08:41:27.815Z] ---> e269d5715e22 [2023-10-27T08:41:27.815Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-27T08:41:27.815Z] ---> 1a6a12e4d09a [2023-10-27T08:41:27.815Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-27T08:41:28.076Z] ---> 3bfe24afcf8d [2023-10-27T08:41:28.076Z] Step 17/22 : EXPOSE 59901 [2023-10-27T08:41:28.076Z] ---> Running in 6bafe61382c7 [2023-10-27T08:41:28.076Z] Removing intermediate container 6bafe61382c7 [2023-10-27T08:41:28.076Z] ---> d542a61eaac5 [2023-10-27T08:41:28.076Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-27T08:41:28.076Z] ---> Running in a2efbed09002 [2023-10-27T08:41:28.334Z] Removing intermediate container a2efbed09002 [2023-10-27T08:41:28.334Z] ---> 4009cedb0e9e [2023-10-27T08:41:28.334Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-27T08:41:28.334Z] ---> Running in f6364b4b0949 [2023-10-27T08:41:28.334Z] Removing intermediate container f6364b4b0949 [2023-10-27T08:41:28.334Z] ---> d66cc59e97fa [2023-10-27T08:41:28.334Z] Step 20/22 : LABEL arch=amd64 [2023-10-27T08:41:28.334Z] ---> Running in 26dfbbbfe393 [2023-10-27T08:41:28.334Z] Removing intermediate container 26dfbbbfe393 [2023-10-27T08:41:28.334Z] ---> bbed12cedb2d [2023-10-27T08:41:28.334Z] Step 21/22 : LABEL git_sha=83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [2023-10-27T08:41:28.334Z] ---> Running in ca9445542f67 [2023-10-27T08:41:28.616Z] Removing intermediate container ca9445542f67 [2023-10-27T08:41:28.616Z] ---> d4c1c2edb94a [2023-10-27T08:41:28.616Z] Step 22/22 : LABEL version=3.1.0-dev.22 [2023-10-27T08:41:28.616Z] ---> Running in 7a45fc888a94 [2023-10-27T08:41:28.616Z] Removing intermediate container 7a45fc888a94 [2023-10-27T08:41:28.616Z] ---> 2d662b84e0cf [2023-10-27T08:41:28.616Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T08:41:28.616Z] Successfully built 2d662b84e0cf [2023-10-27T08:41:28.616Z] 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-27T08:41:28.736Z] provisioning config files... [2023-10-27T08:41:28.743Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14168144603837912776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:41:29.037Z] ---> docker-login.sh [2023-10-27T08:41:29.037Z] nexus3.edgexfoundry.org:10001 [2023-10-27T08:41:29.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:41:29.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:41:29.037Z] Configure a credential helper to remove this warning. See [2023-10-27T08:41:29.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:41:29.037Z] [2023-10-27T08:41:29.037Z] Login Succeeded [2023-10-27T08:41:29.037Z] nexus3.edgexfoundry.org:10002 [2023-10-27T08:41:29.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:41:29.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:41:29.037Z] Configure a credential helper to remove this warning. See [2023-10-27T08:41:29.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:41:29.037Z] [2023-10-27T08:41:29.037Z] Login Succeeded [2023-10-27T08:41:29.037Z] nexus3.edgexfoundry.org:10003 [2023-10-27T08:41:29.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:41:29.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:41:29.296Z] Configure a credential helper to remove this warning. See [2023-10-27T08:41:29.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:41:29.296Z] [2023-10-27T08:41:29.296Z] Login Succeeded [2023-10-27T08:41:29.296Z] nexus3.edgexfoundry.org:10004 [2023-10-27T08:41:29.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:41:29.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:41:29.296Z] Configure a credential helper to remove this warning. See [2023-10-27T08:41:29.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:41:29.296Z] [2023-10-27T08:41:29.296Z] Login Succeeded [2023-10-27T08:41:29.296Z] docker.io [2023-10-27T08:41:29.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:41:29.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:41:29.555Z] Configure a credential helper to remove this warning. See [2023-10-27T08:41:29.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:41:29.555Z] [2023-10-27T08:41:29.555Z] Login Succeeded [2023-10-27T08:41:29.555Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T08:41:29.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T08:41:29.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T08:41:29.608Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-10-27T08:41:29.608Z] 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [2023-10-27T08:41:29.608Z] latest [2023-10-27T08:41:29.608Z] 3.1.0-dev.22 [2023-10-27T08:41:29.608Z] 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51-3.1.0-dev.22 [2023-10-27T08:41:29.608Z] main [2023-10-27T08:41:29.608Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:29.922Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:30.222Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [2023-10-27T08:41:30.222Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-27T08:41:30.222Z] 0bd9147f1b95: Preparing [2023-10-27T08:41:30.222Z] 14e0270897e1: Preparing [2023-10-27T08:41:30.222Z] 8b8e6b1f2cef: Preparing [2023-10-27T08:41:30.222Z] 2ed4ced81d30: Preparing [2023-10-27T08:41:30.222Z] cc2447e1835a: Preparing [2023-10-27T08:41:30.222Z] 0bd9147f1b95: Pushed [2023-10-27T08:41:30.222Z] 2ed4ced81d30: Pushed [2023-10-27T08:41:30.222Z] 14e0270897e1: Pushed [2023-10-27T08:41:30.222Z] cc2447e1835a: Layer already exists [2023-10-27T08:41:32.756Z] 8b8e6b1f2cef: Pushed [2023-10-27T08:41:32.756Z] 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51: digest: sha256:c732939225bee4f357ce82abeacd30b6bb8b467a0f5ec95869023ab494179a7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:33.064Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:33.369Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-27T08:41:33.369Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-27T08:41:33.369Z] 0bd9147f1b95: Preparing [2023-10-27T08:41:33.369Z] 14e0270897e1: Preparing [2023-10-27T08:41:33.369Z] 8b8e6b1f2cef: Preparing [2023-10-27T08:41:33.369Z] 2ed4ced81d30: Preparing [2023-10-27T08:41:33.369Z] cc2447e1835a: Preparing [2023-10-27T08:41:33.369Z] 2ed4ced81d30: Layer already exists [2023-10-27T08:41:33.369Z] 14e0270897e1: Layer already exists [2023-10-27T08:41:33.369Z] 8b8e6b1f2cef: Layer already exists [2023-10-27T08:41:33.369Z] cc2447e1835a: Layer already exists [2023-10-27T08:41:33.369Z] 0bd9147f1b95: Layer already exists [2023-10-27T08:41:33.369Z] latest: digest: sha256:c732939225bee4f357ce82abeacd30b6bb8b467a0f5ec95869023ab494179a7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:33.690Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:33.995Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.22 [2023-10-27T08:41:33.995Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-27T08:41:33.995Z] 0bd9147f1b95: Preparing [2023-10-27T08:41:33.995Z] 14e0270897e1: Preparing [2023-10-27T08:41:33.995Z] 8b8e6b1f2cef: Preparing [2023-10-27T08:41:33.995Z] 2ed4ced81d30: Preparing [2023-10-27T08:41:33.995Z] cc2447e1835a: Preparing [2023-10-27T08:41:33.995Z] cc2447e1835a: Layer already exists [2023-10-27T08:41:33.995Z] 8b8e6b1f2cef: Layer already exists [2023-10-27T08:41:33.995Z] 14e0270897e1: Layer already exists [2023-10-27T08:41:33.995Z] 0bd9147f1b95: Layer already exists [2023-10-27T08:41:33.995Z] 2ed4ced81d30: Layer already exists [2023-10-27T08:41:33.995Z] 3.1.0-dev.22: digest: sha256:c732939225bee4f357ce82abeacd30b6bb8b467a0f5ec95869023ab494179a7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:34.307Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:34.616Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51-3.1.0-dev.22 [2023-10-27T08:41:34.616Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-27T08:41:34.616Z] 0bd9147f1b95: Preparing [2023-10-27T08:41:34.616Z] 14e0270897e1: Preparing [2023-10-27T08:41:34.616Z] 8b8e6b1f2cef: Preparing [2023-10-27T08:41:34.616Z] 2ed4ced81d30: Preparing [2023-10-27T08:41:34.616Z] cc2447e1835a: Preparing [2023-10-27T08:41:34.616Z] 8b8e6b1f2cef: Layer already exists [2023-10-27T08:41:34.616Z] 0bd9147f1b95: Layer already exists [2023-10-27T08:41:34.616Z] 14e0270897e1: Layer already exists [2023-10-27T08:41:34.616Z] 2ed4ced81d30: Layer already exists [2023-10-27T08:41:34.616Z] cc2447e1835a: Layer already exists [2023-10-27T08:41:34.616Z] 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51-3.1.0-dev.22: digest: sha256:c732939225bee4f357ce82abeacd30b6bb8b467a0f5ec95869023ab494179a7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:34.929Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:35.233Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-10-27T08:41:35.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-27T08:41:35.233Z] 0bd9147f1b95: Preparing [2023-10-27T08:41:35.233Z] 14e0270897e1: Preparing [2023-10-27T08:41:35.233Z] 8b8e6b1f2cef: Preparing [2023-10-27T08:41:35.233Z] 2ed4ced81d30: Preparing [2023-10-27T08:41:35.233Z] cc2447e1835a: Preparing [2023-10-27T08:41:35.233Z] 8b8e6b1f2cef: Layer already exists [2023-10-27T08:41:35.233Z] 2ed4ced81d30: Layer already exists [2023-10-27T08:41:35.233Z] 0bd9147f1b95: Layer already exists [2023-10-27T08:41:35.233Z] cc2447e1835a: Layer already exists [2023-10-27T08:41:35.233Z] 14e0270897e1: Layer already exists [2023-10-27T08:41:35.233Z] main: digest: sha256:c732939225bee4f357ce82abeacd30b6bb8b467a0f5ec95869023ab494179a7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T08:41:35.276Z] ===================================================== [Pipeline] echo [2023-10-27T08:41:35.281Z] taggedImages: [2023-10-27T08:41:35.281Z] - nexus3.edgexfoundry.org:10004/device-modbus:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [2023-10-27T08:41:35.281Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-27T08:41:35.281Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.22 [2023-10-27T08:41:35.281Z] - nexus3.edgexfoundry.org:10004/device-modbus:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51-3.1.0-dev.22 [2023-10-27T08:41:35.281Z] - 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-27T08:41:35.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T08:41:35.644Z] [2023-10-27T08:41:35.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:41:35.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T08:41:35.943Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-27T08:41:35.943Z] 5eb5b503b376: Pulling fs layer [2023-10-27T08:41:35.943Z] 5c69ac0246d0: Pulling fs layer [2023-10-27T08:41:35.943Z] ec43610c2a17: Pulling fs layer [2023-10-27T08:41:35.943Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-27T08:41:35.943Z] 33b1e0a273af: Pulling fs layer [2023-10-27T08:41:35.943Z] 5d3b04190fa2: Pulling fs layer [2023-10-27T08:41:35.943Z] 2f39f015ded8: Pulling fs layer [2023-10-27T08:41:35.943Z] 2f39f015ded8: Waiting [2023-10-27T08:41:35.943Z] 5d3b04190fa2: Waiting [2023-10-27T08:41:35.943Z] 33b1e0a273af: Waiting [2023-10-27T08:41:35.943Z] 3a2ae6a8a46f: Waiting [2023-10-27T08:41:35.943Z] 5c69ac0246d0: Verifying Checksum [2023-10-27T08:41:35.943Z] 5c69ac0246d0: Download complete [2023-10-27T08:41:35.943Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-27T08:41:35.943Z] 3a2ae6a8a46f: Download complete [2023-10-27T08:41:35.943Z] 33b1e0a273af: Verifying Checksum [2023-10-27T08:41:35.943Z] 33b1e0a273af: Download complete [2023-10-27T08:41:35.943Z] ec43610c2a17: Verifying Checksum [2023-10-27T08:41:35.943Z] ec43610c2a17: Download complete [2023-10-27T08:41:35.943Z] 5d3b04190fa2: Download complete [2023-10-27T08:41:36.200Z] 5eb5b503b376: Verifying Checksum [2023-10-27T08:41:36.200Z] 5eb5b503b376: Download complete [2023-10-27T08:41:36.765Z] 2f39f015ded8: Download complete [2023-10-27T08:41:37.329Z] 5eb5b503b376: Pull complete [2023-10-27T08:41:37.898Z] 5c69ac0246d0: Pull complete [2023-10-27T08:41:38.463Z] ec43610c2a17: Pull complete [2023-10-27T08:41:38.463Z] 3a2ae6a8a46f: Pull complete [2023-10-27T08:41:38.721Z] 33b1e0a273af: Pull complete [2023-10-27T08:41:38.721Z] 5d3b04190fa2: Pull complete [2023-10-27T08:41:42.899Z] 2f39f015ded8: Pull complete [2023-10-27T08:41:42.899Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-27T08:41:42.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T08:41:42.899Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:41:42.993Z] prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container [2023-10-27T08:41:43.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-27T08:41:47.918Z] $ docker top 750f256af76bb983d63568af3c3d148a1b46213fd209c5e3b2d23d424f196a41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:41:48.304Z] ---> job-cost.sh [2023-10-27T08:41:48.304Z] lf-activate-venv: SKIPPING [2023-10-27T08:41:48.304Z] INFO: No Stack... [2023-10-27T08:41:48.562Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T08:41:48.821Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T08:41:49.165Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-10-27T08:41:49.165Z] + cut -d, -f6 [Pipeline] lock [2023-10-27T08:41:49.178Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-136-stack-cost] [2023-10-27T08:41:49.185Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-136-stack-cost] did not exist. Created. [2023-10-27T08:41:49.185Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T08:41:49.488Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-27T08:41:49.520Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T08:41:49.529Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T08:41:49.545Z] $ docker stop --time=1 750f256af76bb983d63568af3c3d148a1b46213fd209c5e3b2d23d424f196a41 [2023-10-27T08:41:50.688Z] $ docker rm -f --volumes 750f256af76bb983d63568af3c3d148a1b46213fd209c5e3b2d23d424f196a41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-27T08:42:21.270Z] Removing intermediate container b8f24499b924 [2023-10-27T08:42:21.270Z] ---> 73310e61f12d [2023-10-27T08:42:21.270Z] Step 9/10 : COPY . . [2023-10-27T08:42:21.270Z] ---> dfa831fa63a7 [2023-10-27T08:42:21.270Z] Step 10/10 : RUN ${MAKE} [2023-10-27T08:42:21.270Z] ---> Running in 855f306c8a28 [2023-10-27T08:42:21.270Z] noop [2023-10-27T08:42:21.270Z] Removing intermediate container 855f306c8a28 [2023-10-27T08:42:21.270Z] ---> 5573188c13f2 [2023-10-27T08:42:21.270Z] Successfully built 5573188c13f2 [2023-10-27T08:42:21.270Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:42:21.664Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T08:42:21.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:42:21.872Z] prd-ubuntu20.04-docker-arm64-4c-16g-12531 does not seem to be running inside a container [2023-10-27T08:42:21.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/136 -v /w/workspace/device-modbus-go/136:/w/workspace/device-modbus-go/136:rw,z -v /w/workspace/device-modbus-go/136@tmp:/w/workspace/device-modbus-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-27T08:42:23.327Z] $ docker top 178d321087b471981cd9a977a7796d2ebd48c9e5c931f6e8b697056ce6de06a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T08:42:24.197Z] + go version [2023-10-27T08:42:24.197Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-27T08:42:24.223Z] $ docker stop --time=1 178d321087b471981cd9a977a7796d2ebd48c9e5c931f6e8b697056ce6de06a0 [2023-10-27T08:42:25.899Z] $ docker rm -f --volumes 178d321087b471981cd9a977a7796d2ebd48c9e5c931f6e8b697056ce6de06a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:42:26.472Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T08:42:26.472Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:42:26.672Z] prd-ubuntu20.04-docker-arm64-4c-16g-12531 does not seem to be running inside a container [2023-10-27T08:42:26.760Z] $ 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/136 -v /w/workspace/device-modbus-go/136:/w/workspace/device-modbus-go/136:rw,z -v /w/workspace/device-modbus-go/136@tmp:/w/workspace/device-modbus-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-27T08:42:28.071Z] $ docker top fd0040454a3ffebcbc080dfea65dde97e5fdbe2b1c1b20efd3a8eaf067c24035 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T08:42:28.952Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/136 [Pipeline] fileExists [Pipeline] sh [2023-10-27T08:42:29.605Z] + make test [2023-10-27T08:42:29.606Z] go test ./... -coverprofile=coverage.out [2023-10-27T08:42:36.264Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-27T08:44:27.932Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-27T08:44:27.932Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.072s coverage: 47.9% of statements [2023-10-27T08:44:27.932Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-27T08:44:27.932Z] go vet ./... [2023-10-27T08:44:50.014Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T08:44:50.014Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T08:44:50.014Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T08:44:50.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T08:44:50.055Z] $ docker stop --time=1 fd0040454a3ffebcbc080dfea65dde97e5fdbe2b1c1b20efd3a8eaf067c24035 [2023-10-27T08:44:52.142Z] $ docker rm -f --volumes fd0040454a3ffebcbc080dfea65dde97e5fdbe2b1c1b20efd3a8eaf067c24035 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T08:44:53.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T08:44:53.558Z] Warning: overwriting stash ‘coverage-report’ [2023-10-27T08:44:54.145Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T08:44:54.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T08:44:54.896Z] + ls -al . [2023-10-27T08:44:54.896Z] total 184 [2023-10-27T08:44:54.896Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 08:42 . [2023-10-27T08:44:54.896Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 08:39 .. [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 08:39 .dockerignore [2023-10-27T08:44:54.896Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 08:39 .git [2023-10-27T08:44:54.896Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 08:39 .github [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 27 08:39 .gitignore [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 08:39 .golangci.yml [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 27 08:39 Attribution.txt [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 27 08:39 CHANGELOG.md [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 27 08:39 Dockerfile [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 08:39 GOVERNANCE.md [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 27 08:39 Jenkinsfile [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 08:39 LICENSE [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 27 08:39 Makefile [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 27 08:39 OWNERS.md [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 27 08:39 README.md [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 27 08:39 VERSION [2023-10-27T08:44:54.896Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 08:39 bin [2023-10-27T08:44:54.896Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 08:39 cmd [2023-10-27T08:44:54.896Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 27 08:44 coverage.out [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 27 08:39 go.mod [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 27 08:39 go.sum [2023-10-27T08:44:54.896Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 08:39 internal [2023-10-27T08:44:54.896Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 08:39 simulator [2023-10-27T08:44:54.896Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 27 08:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:44:55.238Z] + 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=83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 --label arch=arm64 --label version=3.1.0-dev.22 . [2023-10-27T08:44:55.517Z] Sending build context to Docker daemon 3.41MB [2023-10-27T08:44:55.517Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T08:44:55.517Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-27T08:44:55.517Z] ---> 5573188c13f2 [2023-10-27T08:44:55.517Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-27T08:44:56.483Z] ---> Running in 8d7213b1a450 [2023-10-27T08:44:57.075Z] Removing intermediate container 8d7213b1a450 [2023-10-27T08:44:57.075Z] ---> 357cbf2215a6 [2023-10-27T08:44:57.075Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T08:44:57.075Z] ---> Running in 4dd957f2be68 [2023-10-27T08:44:57.343Z] Removing intermediate container 4dd957f2be68 [2023-10-27T08:44:57.343Z] ---> 83feb93565c0 [2023-10-27T08:44:57.343Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-27T08:44:57.612Z] ---> Running in f800c0a996e4 [2023-10-27T08:44:58.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T08:44:59.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T08:45:00.581Z] OK: 272 MiB in 60 packages [2023-10-27T08:45:01.171Z] Removing intermediate container f800c0a996e4 [2023-10-27T08:45:01.171Z] ---> 7188e83cc993 [2023-10-27T08:45:01.171Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-27T08:45:01.439Z] ---> Running in fdd01ea70912 [2023-10-27T08:45:01.705Z] Removing intermediate container fdd01ea70912 [2023-10-27T08:45:01.705Z] ---> a9b80bebe79b [2023-10-27T08:45:01.705Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-27T08:45:02.291Z] ---> cd03c8a012d9 [2023-10-27T08:45:02.291Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T08:45:02.291Z] ---> Running in 693403cb5721 [2023-10-27T08:45:04.874Z] Removing intermediate container 693403cb5721 [2023-10-27T08:45:04.875Z] ---> ea11464517f6 [2023-10-27T08:45:04.875Z] Step 9/22 : COPY . . [2023-10-27T08:45:05.471Z] ---> 53eb2acb45ba [2023-10-27T08:45:05.471Z] Step 10/22 : RUN ${MAKE} [2023-10-27T08:45:05.471Z] ---> Running in 2b831353f0a6 [2023-10-27T08:45:06.437Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-27T08:47:28.153Z] Removing intermediate container 2b831353f0a6 [2023-10-27T08:47:28.153Z] ---> 6b7420d8e5a9 [2023-10-27T08:47:28.153Z] Step 11/22 : FROM alpine:3.18 [2023-10-27T08:47:28.153Z] 3.18: Pulling from library/alpine [2023-10-27T08:47:28.153Z] 579b34f0a95b: Pulling fs layer [2023-10-27T08:47:28.153Z] 579b34f0a95b: Verifying Checksum [2023-10-27T08:47:28.153Z] 579b34f0a95b: Download complete [2023-10-27T08:47:28.153Z] 579b34f0a95b: Pull complete [2023-10-27T08:47:28.153Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T08:47:28.153Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T08:47:28.153Z] ---> 3cc203321400 [2023-10-27T08:47:28.153Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-27T08:47:28.153Z] ---> Running in 5b994ffe67ba [2023-10-27T08:47:28.153Z] Removing intermediate container 5b994ffe67ba [2023-10-27T08:47:28.153Z] ---> f36002108ddf [2023-10-27T08:47:28.153Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-27T08:47:28.153Z] ---> Running in 7508fed4034d [2023-10-27T08:47:28.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T08:47:28.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T08:47:28.153Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-27T08:47:28.153Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T08:47:28.153Z] OK: 8 MiB in 16 packages [2023-10-27T08:47:28.153Z] Removing intermediate container 7508fed4034d [2023-10-27T08:47:28.153Z] ---> 5ccc28f052fc [2023-10-27T08:47:28.153Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-27T08:47:28.153Z] ---> 1788ef410ff5 [2023-10-27T08:47:28.153Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-27T08:47:28.153Z] ---> 53e8c8822bf6 [2023-10-27T08:47:28.153Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-27T08:47:28.153Z] ---> 18dc953a52a7 [2023-10-27T08:47:28.153Z] Step 17/22 : EXPOSE 59901 [2023-10-27T08:47:28.153Z] ---> Running in 6596d0a8ec55 [2023-10-27T08:47:28.153Z] Removing intermediate container 6596d0a8ec55 [2023-10-27T08:47:28.153Z] ---> 87276fedfffd [2023-10-27T08:47:28.153Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-27T08:47:28.153Z] ---> Running in 81c6b0dbe734 [2023-10-27T08:47:28.153Z] Removing intermediate container 81c6b0dbe734 [2023-10-27T08:47:28.153Z] ---> 596ac264b036 [2023-10-27T08:47:28.153Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-27T08:47:28.153Z] ---> Running in 56bcee8f2b38 [2023-10-27T08:47:28.153Z] Removing intermediate container 56bcee8f2b38 [2023-10-27T08:47:28.153Z] ---> 58f1d3bf697b [2023-10-27T08:47:28.153Z] Step 20/22 : LABEL arch=arm64 [2023-10-27T08:47:28.153Z] ---> Running in 05369eb5d506 [2023-10-27T08:47:28.153Z] Removing intermediate container 05369eb5d506 [2023-10-27T08:47:28.153Z] ---> ff37cd08dab4 [2023-10-27T08:47:28.153Z] Step 21/22 : LABEL git_sha=83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [2023-10-27T08:47:28.153Z] ---> Running in 0013a94ffb7c [2023-10-27T08:47:28.153Z] Removing intermediate container 0013a94ffb7c [2023-10-27T08:47:28.153Z] ---> 4f412cdd2ee5 [2023-10-27T08:47:28.153Z] Step 22/22 : LABEL version=3.1.0-dev.22 [2023-10-27T08:47:28.153Z] ---> Running in 7f825e95deb7 [2023-10-27T08:47:28.153Z] Removing intermediate container 7f825e95deb7 [2023-10-27T08:47:28.153Z] ---> 69aaa3a465e5 [2023-10-27T08:47:28.153Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T08:47:28.153Z] Successfully built 69aaa3a465e5 [2023-10-27T08:47:28.153Z] 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-27T08:47:28.272Z] provisioning config files... [2023-10-27T08:47:28.287Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/136@tmp/config10333034145606180467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:47:28.621Z] ---> docker-login.sh [2023-10-27T08:47:28.621Z] nexus3.edgexfoundry.org:10001 [2023-10-27T08:47:28.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:47:30.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:47:30.301Z] Configure a credential helper to remove this warning. See [2023-10-27T08:47:30.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:47:30.301Z] [2023-10-27T08:47:30.301Z] Login Succeeded [2023-10-27T08:47:30.301Z] nexus3.edgexfoundry.org:10002 [2023-10-27T08:47:30.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:47:30.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:47:30.572Z] Configure a credential helper to remove this warning. See [2023-10-27T08:47:30.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:47:30.572Z] [2023-10-27T08:47:30.572Z] Login Succeeded [2023-10-27T08:47:30.572Z] nexus3.edgexfoundry.org:10003 [2023-10-27T08:47:30.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:47:31.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:47:31.113Z] Configure a credential helper to remove this warning. See [2023-10-27T08:47:31.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:47:31.113Z] [2023-10-27T08:47:31.113Z] Login Succeeded [2023-10-27T08:47:31.113Z] nexus3.edgexfoundry.org:10004 [2023-10-27T08:47:31.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:47:31.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:47:31.384Z] Configure a credential helper to remove this warning. See [2023-10-27T08:47:31.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:47:31.384Z] [2023-10-27T08:47:31.384Z] Login Succeeded [2023-10-27T08:47:31.384Z] docker.io [2023-10-27T08:47:31.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T08:47:31.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T08:47:31.927Z] Configure a credential helper to remove this warning. See [2023-10-27T08:47:31.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T08:47:31.927Z] [2023-10-27T08:47:31.927Z] Login Succeeded [2023-10-27T08:47:31.927Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T08:47:31.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T08:47:31.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T08:47:31.987Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-10-27T08:47:31.987Z] 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [2023-10-27T08:47:31.987Z] latest [2023-10-27T08:47:31.987Z] 3.1.0-dev.22 [2023-10-27T08:47:31.987Z] 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51-3.1.0-dev.22 [2023-10-27T08:47:31.987Z] main [2023-10-27T08:47:31.987Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:47:32.324Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:47:32.673Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [2023-10-27T08:47:32.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-27T08:47:32.673Z] a524d93ea549: Preparing [2023-10-27T08:47:32.673Z] fb8599b65f8e: Preparing [2023-10-27T08:47:32.673Z] 762ff11c3665: Preparing [2023-10-27T08:47:32.673Z] ef0567e74277: Preparing [2023-10-27T08:47:32.673Z] 5f4d9fc4d98d: Preparing [2023-10-27T08:47:32.942Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T08:47:32.942Z] a524d93ea549: Pushed [2023-10-27T08:47:32.942Z] fb8599b65f8e: Pushed [2023-10-27T08:47:32.942Z] ef0567e74277: Pushed [2023-10-27T08:47:41.179Z] 762ff11c3665: Pushed [2023-10-27T08:47:41.179Z] 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51: digest: sha256:214abdd135b04b3dde49a996eee5ad59fbd93af737aa3887894ae462a959ca42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:47:41.546Z] + 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-27T08:47:41.911Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-27T08:47:41.911Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-27T08:47:41.911Z] a524d93ea549: Preparing [2023-10-27T08:47:41.911Z] fb8599b65f8e: Preparing [2023-10-27T08:47:41.911Z] 762ff11c3665: Preparing [2023-10-27T08:47:41.911Z] ef0567e74277: Preparing [2023-10-27T08:47:41.911Z] 5f4d9fc4d98d: Preparing [2023-10-27T08:47:41.911Z] ef0567e74277: Layer already exists [2023-10-27T08:47:41.911Z] fb8599b65f8e: Layer already exists [2023-10-27T08:47:41.911Z] 762ff11c3665: Layer already exists [2023-10-27T08:47:41.911Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T08:47:41.911Z] a524d93ea549: Layer already exists [2023-10-27T08:47:42.180Z] latest: digest: sha256:214abdd135b04b3dde49a996eee5ad59fbd93af737aa3887894ae462a959ca42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:47:42.544Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:47:42.902Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.22 [2023-10-27T08:47:42.902Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-27T08:47:42.902Z] a524d93ea549: Preparing [2023-10-27T08:47:42.902Z] fb8599b65f8e: Preparing [2023-10-27T08:47:42.902Z] 762ff11c3665: Preparing [2023-10-27T08:47:42.902Z] ef0567e74277: Preparing [2023-10-27T08:47:42.902Z] 5f4d9fc4d98d: Preparing [2023-10-27T08:47:42.902Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T08:47:42.902Z] fb8599b65f8e: Layer already exists [2023-10-27T08:47:42.902Z] ef0567e74277: Layer already exists [2023-10-27T08:47:42.902Z] 762ff11c3665: Layer already exists [2023-10-27T08:47:42.902Z] a524d93ea549: Layer already exists [2023-10-27T08:47:43.170Z] 3.1.0-dev.22: digest: sha256:214abdd135b04b3dde49a996eee5ad59fbd93af737aa3887894ae462a959ca42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:47:43.535Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:47:45.291Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51-3.1.0-dev.22 [2023-10-27T08:47:45.291Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-27T08:47:45.291Z] a524d93ea549: Preparing [2023-10-27T08:47:45.291Z] fb8599b65f8e: Preparing [2023-10-27T08:47:45.291Z] 762ff11c3665: Preparing [2023-10-27T08:47:45.291Z] ef0567e74277: Preparing [2023-10-27T08:47:45.291Z] 5f4d9fc4d98d: Preparing [2023-10-27T08:47:45.291Z] fb8599b65f8e: Layer already exists [2023-10-27T08:47:45.291Z] 762ff11c3665: Layer already exists [2023-10-27T08:47:45.291Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T08:47:45.291Z] ef0567e74277: Layer already exists [2023-10-27T08:47:45.291Z] a524d93ea549: Layer already exists [2023-10-27T08:47:45.291Z] 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51-3.1.0-dev.22: digest: sha256:214abdd135b04b3dde49a996eee5ad59fbd93af737aa3887894ae462a959ca42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:47:45.912Z] + 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-27T08:47:46.258Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-10-27T08:47:46.258Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-27T08:47:46.258Z] a524d93ea549: Preparing [2023-10-27T08:47:46.258Z] fb8599b65f8e: Preparing [2023-10-27T08:47:46.258Z] 762ff11c3665: Preparing [2023-10-27T08:47:46.258Z] ef0567e74277: Preparing [2023-10-27T08:47:46.258Z] 5f4d9fc4d98d: Preparing [2023-10-27T08:47:46.258Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T08:47:46.258Z] a524d93ea549: Layer already exists [2023-10-27T08:47:46.258Z] ef0567e74277: Layer already exists [2023-10-27T08:47:46.258Z] fb8599b65f8e: Layer already exists [2023-10-27T08:47:46.258Z] 762ff11c3665: Layer already exists [2023-10-27T08:47:46.523Z] main: digest: sha256:214abdd135b04b3dde49a996eee5ad59fbd93af737aa3887894ae462a959ca42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T08:47:46.580Z] ===================================================== [Pipeline] echo [2023-10-27T08:47:46.593Z] taggedImages: [2023-10-27T08:47:46.593Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [2023-10-27T08:47:46.593Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-27T08:47:46.593Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.22 [2023-10-27T08:47:46.593Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51-3.1.0-dev.22 [2023-10-27T08:47:46.593Z] - 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-27T08:47:46.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T08:47:46.963Z] [2023-10-27T08:47:46.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:47:47.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T08:47:47.304Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-27T08:47:47.304Z] 8998bd30e6a1: Pulling fs layer [2023-10-27T08:47:47.304Z] 04944245beec: Pulling fs layer [2023-10-27T08:47:47.304Z] 699f458cf7ca: Pulling fs layer [2023-10-27T08:47:47.304Z] 765212b225bb: Pulling fs layer [2023-10-27T08:47:47.304Z] f23df028b6ca: Pulling fs layer [2023-10-27T08:47:47.305Z] d65c8cfc05b1: Pulling fs layer [2023-10-27T08:47:47.305Z] 2437ff75d9bd: Pulling fs layer [2023-10-27T08:47:47.305Z] f23df028b6ca: Waiting [2023-10-27T08:47:47.305Z] 765212b225bb: Waiting [2023-10-27T08:47:47.305Z] d65c8cfc05b1: Waiting [2023-10-27T08:47:47.305Z] 2437ff75d9bd: Waiting [2023-10-27T08:47:47.573Z] 04944245beec: Verifying Checksum [2023-10-27T08:47:47.573Z] 04944245beec: Download complete [2023-10-27T08:47:47.573Z] 765212b225bb: Download complete [2023-10-27T08:47:47.573Z] f23df028b6ca: Verifying Checksum [2023-10-27T08:47:47.573Z] f23df028b6ca: Download complete [2023-10-27T08:47:47.573Z] d65c8cfc05b1: Verifying Checksum [2023-10-27T08:47:47.573Z] d65c8cfc05b1: Download complete [2023-10-27T08:47:47.844Z] 699f458cf7ca: Verifying Checksum [2023-10-27T08:47:47.844Z] 699f458cf7ca: Download complete [2023-10-27T08:47:48.111Z] 8998bd30e6a1: Verifying Checksum [2023-10-27T08:47:48.112Z] 8998bd30e6a1: Download complete [2023-10-27T08:47:50.697Z] 2437ff75d9bd: Verifying Checksum [2023-10-27T08:47:50.697Z] 2437ff75d9bd: Download complete [2023-10-27T08:47:53.288Z] 8998bd30e6a1: Pull complete [2023-10-27T08:47:53.556Z] 04944245beec: Pull complete [2023-10-27T08:47:55.504Z] 699f458cf7ca: Pull complete [2023-10-27T08:47:55.504Z] 765212b225bb: Pull complete [2023-10-27T08:47:59.759Z] f23df028b6ca: Pull complete [2023-10-27T08:47:59.759Z] d65c8cfc05b1: Pull complete [2023-10-27T08:48:17.976Z] 2437ff75d9bd: Pull complete [2023-10-27T08:48:17.976Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-27T08:48:17.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T08:48:17.976Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:48:18.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-12531 does not seem to be running inside a container [2023-10-27T08:48:18.257Z] $ 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/136 -v /w/workspace/device-modbus-go/136:/w/workspace/device-modbus-go/136:rw,z -v /w/workspace/device-modbus-go/136@tmp:/w/workspace/device-modbus-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-27T08:48:22.662Z] $ docker top 1405a29945d76fc95a0c7f59c155a7a2cc33368b29d05896852671275b42b478 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:48:23.527Z] ---> job-cost.sh [2023-10-27T08:48:23.527Z] lf-activate-venv: SKIPPING [2023-10-27T08:48:23.527Z] INFO: No Stack... [2023-10-27T08:48:24.109Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-27T08:48:25.088Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T08:48:25.724Z] + cat /w/workspace/device-modbus-go/136/archives/cost.csv [2023-10-27T08:48:25.724Z] + cut -d, -f6 [Pipeline] lock [2023-10-27T08:48:25.759Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-136-stack-cost] [2023-10-27T08:48:25.766Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-136-stack-cost] did not exist. Created. [2023-10-27T08:48:25.767Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T08:48:26.240Z] /w/workspace/device-modbus-go/136@tmp/durable-04a2e2db/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-27T08:48:26.956Z] + echo total: 0.33000001311302185 [Pipeline] stash [2023-10-27T08:48:26.976Z] Warning: overwriting stash ‘stack-cost’ [2023-10-27T08:48:27.040Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T08:48:27.046Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T08:48:27.074Z] $ docker stop --time=1 1405a29945d76fc95a0c7f59c155a7a2cc33368b29d05896852671275b42b478 [2023-10-27T08:48:28.611Z] $ docker rm -f --volumes 1405a29945d76fc95a0c7f59c155a7a2cc33368b29d05896852671275b42b478 [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-27T08:48:29.091Z] provisioning config files... [2023-10-27T08:48:29.099Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1478815091232496890tmp [Pipeline] { [Pipeline] sh [2023-10-27T08:48:29.401Z] + set +x [2023-10-27T08:48:29.401Z] + curl -s https://codecov.io/bash [2023-10-27T08:48:29.401Z] + bash -s -- [2023-10-27T08:48:29.401Z] [2023-10-27T08:48:29.401Z] _____ _ [2023-10-27T08:48:29.401Z] / ____| | | [2023-10-27T08:48:29.401Z] | | ___ __| | ___ ___ _____ __ [2023-10-27T08:48:29.401Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-27T08:48:29.401Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-27T08:48:29.401Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-27T08:48:29.401Z] Bash-1.0.6 [2023-10-27T08:48:29.401Z] [2023-10-27T08:48:29.401Z] [2023-10-27T08:48:29.401Z] ==> git version 2.25.1 found [2023-10-27T08:48:29.401Z] ==> 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-27T08:48:29.401Z] Release-Date: 2020-01-08 [2023-10-27T08:48:29.401Z] 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-27T08:48:29.401Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-27T08:48:29.401Z] ==> Jenkins CI detected. [2023-10-27T08:48:29.401Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-10-27T08:48:29.401Z] project root: . [2023-10-27T08:48:29.401Z] --> token set from env [2023-10-27T08:48:29.401Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-27T08:48:29.401Z] ==> Running gcov in . (disable via -X gcov) [2023-10-27T08:48:29.401Z] ==> Python coveragepy not found [2023-10-27T08:48:29.401Z] ==> Searching for coverage reports in: [2023-10-27T08:48:29.401Z] + . [2023-10-27T08:48:29.665Z] -> Found 1 reports [2023-10-27T08:48:29.665Z] ==> Detecting git/mercurial file structure [2023-10-27T08:48:29.665Z] ==> Reading reports [2023-10-27T08:48:29.665Z] + ./coverage.out bytes=24334 [2023-10-27T08:48:29.665Z] ==> Appending adjustments [2023-10-27T08:48:29.665Z] https://docs.codecov.io/docs/fixing-reports [2023-10-27T08:48:29.665Z] + Found adjustments [2023-10-27T08:48:29.665Z] ==> Gzipping contents [2023-10-27T08:48:29.665Z] 4.0K /tmp/codecov.Zic2xL.gz [2023-10-27T08:48:29.665Z] ==> Uploading reports [2023-10-27T08:48:29.665Z] url: https://codecov.io [2023-10-27T08:48:29.665Z] query: branch=main&commit=83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-27T08:48:29.665Z] -> Pinging Codecov [2023-10-27T08:48:29.665Z] 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=83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-27T08:48:29.924Z] -> Uploading to [2023-10-27T08:48:29.924Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-27/55DBCA73C666E3227836607328DD7E49/83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51/fcf09ab6-6ff8-48b2-bbe3-3b1f0adf7862.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T084829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e5f53b30f8627369ff98b45e6bf8eaa79629bedb85edd8601ba21bc61cf1d50f [2023-10-27T08:48:29.924Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T08:48:29.924Z] Dload Upload Total Spent Left Speed [2023-10-27T08:48:30.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 10812 --:--:-- --:--:-- --:--:-- 10812 [2023-10-27T08:48:30.181Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [Pipeline] } [2023-10-27T08:48:30.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-27T08:48:30.402Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-27T08:48:30.413Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:48:30.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-27T08:48:30.723Z] [2023-10-27T08:48:30.723Z] 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-27T08:48:31.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-27T08:48:31.028Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-27T08:48:31.028Z] df9b9388f04a: Pulling fs layer [2023-10-27T08:48:31.028Z] 52dc419b0ee2: Pulling fs layer [2023-10-27T08:48:31.028Z] 25bc292e5bac: Pulling fs layer [2023-10-27T08:48:31.028Z] 114826534d7a: Pulling fs layer [2023-10-27T08:48:31.028Z] 4657fd5d0bcf: Pulling fs layer [2023-10-27T08:48:31.028Z] 6ad1cebc031e: Pulling fs layer [2023-10-27T08:48:31.028Z] 114826534d7a: Waiting [2023-10-27T08:48:31.028Z] 4657fd5d0bcf: Waiting [2023-10-27T08:48:31.028Z] 8a3aa393b2d8: Pulling fs layer [2023-10-27T08:48:31.028Z] 8a3aa393b2d8: Waiting [2023-10-27T08:48:31.028Z] 25bc292e5bac: Verifying Checksum [2023-10-27T08:48:31.028Z] 25bc292e5bac: Download complete [2023-10-27T08:48:31.028Z] 52dc419b0ee2: Verifying Checksum [2023-10-27T08:48:31.028Z] 52dc419b0ee2: Download complete [2023-10-27T08:48:31.028Z] 4657fd5d0bcf: Verifying Checksum [2023-10-27T08:48:31.028Z] 4657fd5d0bcf: Download complete [2023-10-27T08:48:31.028Z] df9b9388f04a: Download complete [2023-10-27T08:48:31.286Z] df9b9388f04a: Pull complete [2023-10-27T08:48:31.286Z] 6ad1cebc031e: Verifying Checksum [2023-10-27T08:48:31.286Z] 6ad1cebc031e: Download complete [2023-10-27T08:48:31.286Z] 52dc419b0ee2: Pull complete [2023-10-27T08:48:31.545Z] 25bc292e5bac: Pull complete [2023-10-27T08:48:31.809Z] 114826534d7a: Verifying Checksum [2023-10-27T08:48:31.809Z] 114826534d7a: Download complete [2023-10-27T08:48:32.068Z] 8a3aa393b2d8: Verifying Checksum [2023-10-27T08:48:32.068Z] 8a3aa393b2d8: Download complete [2023-10-27T08:48:35.353Z] 114826534d7a: Pull complete [2023-10-27T08:48:35.353Z] 4657fd5d0bcf: Pull complete [2023-10-27T08:48:35.611Z] 6ad1cebc031e: Pull complete [2023-10-27T08:48:38.889Z] 8a3aa393b2d8: Pull complete [2023-10-27T08:48:38.889Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-27T08:48:38.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-27T08:48:38.889Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:48:38.978Z] prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container [2023-10-27T08:48:39.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-27T08:48:43.391Z] $ docker top eb2dbbf437bd44a8066e02740b70185c82652084acd6a671dbb3aca641aac2ba -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-27T08:48:43.463Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-10-27T08:48:43.743Z] + set -o pipefail [2023-10-27T08:48:43.743Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-10-27T08:48:50.307Z] [2023-10-27T08:48:50.307Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-10-27T08:48:50.307Z] [2023-10-27T08:48:50.307Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/da10a180-0d12-432c-b2f1-724bf94319dd [2023-10-27T08:48:50.307Z] [2023-10-27T08:48:50.307Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-27T08:48:50.307Z] [2023-10-27T08:48:50.307Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-27T08:48:50.307Z] [2023-10-27T08:48:50.307Z] [2023-10-27T08:48:50.307Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-27T08:48:50.307Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-27T08:48:50.307Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-27T08:48:50.318Z] $ docker stop --time=1 eb2dbbf437bd44a8066e02740b70185c82652084acd6a671dbb3aca641aac2ba [2023-10-27T08:48:54.312Z] $ docker rm -f --volumes eb2dbbf437bd44a8066e02740b70185c82652084acd6a671dbb3aca641aac2ba [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-27T08:48:55.057Z] + git log --format=format:%s -1 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 [Pipeline] sh [2023-10-27T08:48:55.340Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T08:48:55.340Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:48:55.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T08:48:55.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:48:55.705Z] prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container [2023-10-27T08:48:55.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T08:48:56.136Z] $ docker top 5523d3e8d065ea2d2e93f1cc3f93d43bd63fa64bc7b87200ea687b48ead70052 -eo pid,comm [2023-10-27T08:48:56.185Z] 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-27T08:48:56.185Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T08:48:56.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T08:48:56.225Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T08:48:56.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T08:48:56.344Z] $ docker exec 5523d3e8d065ea2d2e93f1cc3f93d43bd63fa64bc7b87200ea687b48ead70052 ssh-agent [2023-10-27T08:48:56.451Z] SSH_AUTH_SOCK=/tmp/ssh-6YKyEBRaHaT9/agent.33 [2023-10-27T08:48:56.451Z] SSH_AGENT_PID=39 [2023-10-27T08:48:56.455Z] Running ssh-add (command line suppressed) [2023-10-27T08:48:56.565Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10152258757599020271.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10152258757599020271.key) [2023-10-27T08:48:56.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T08:48:56.863Z] + git semver tag [2023-10-27T08:48:57.123Z] 2023-10-27 08:48:57,036 [run_tag] DEBUG tag force:False [2023-10-27T08:48:57.123Z] 2023-10-27 08:48:57,036 [check_head_tag] DEBUG check head tag [2023-10-27T08:48:57.123Z] 2023-10-27 08:48:57,037 [execute] INFO git cat-file --batch-check [2023-10-27T08:48:57.123Z] 2023-10-27 08:48:57,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-27T08:48:57.123Z] 2023-10-27 08:48:57,040 [execute] INFO git cat-file --batch [2023-10-27T08:48:57.123Z] 2023-10-27 08:48:57,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-27T08:48:57.123Z] 2023-10-27 08:48:57,051 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-27T08:48:57.123Z] 2023-10-27 08:48:57,051 [execute] INFO git tag -a v3.1.0-dev.22 -m v3.1.0-dev.22 [2023-10-27T08:48:57.123Z] 2023-10-27 08:48:57,051 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.22', '-m', 'v3.1.0-dev.22'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-27T08:48:57.123Z] 2023-10-27 08:48:57,056 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-27T08:48:57.123Z] 3.1.0-dev.22 [Pipeline] } [2023-10-27T08:48:57.132Z] $ docker exec --env ******** --env ******** 5523d3e8d065ea2d2e93f1cc3f93d43bd63fa64bc7b87200ea687b48ead70052 ssh-agent -k [2023-10-27T08:48:57.229Z] unset SSH_AUTH_SOCK; [2023-10-27T08:48:57.229Z] unset SSH_AGENT_PID; [2023-10-27T08:48:57.229Z] echo Agent pid 39 killed; [2023-10-27T08:48:57.237Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T08:48:57.551Z] + git semver [Pipeline] } [2023-10-27T08:48:57.821Z] $ docker stop --time=1 5523d3e8d065ea2d2e93f1cc3f93d43bd63fa64bc7b87200ea687b48ead70052 [2023-10-27T08:48:59.087Z] $ docker rm -f --volumes 5523d3e8d065ea2d2e93f1cc3f93d43bd63fa64bc7b87200ea687b48ead70052 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:48:59.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-27T08:48:59.478Z] [2023-10-27T08:48:59.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:48:59.786Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-27T08:48:59.786Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-27T08:48:59.786Z] ab5ef0e58194: Pulling fs layer [2023-10-27T08:48:59.786Z] 9712f1f96733: Pulling fs layer [2023-10-27T08:48:59.786Z] 63f879dbbcfc: Pulling fs layer [2023-10-27T08:48:59.786Z] 0d9ebad4ef96: Pulling fs layer [2023-10-27T08:48:59.786Z] e9a5061849ea: Pulling fs layer [2023-10-27T08:48:59.786Z] 0d9ebad4ef96: Waiting [2023-10-27T08:48:59.786Z] d747dcd14b5f: Pulling fs layer [2023-10-27T08:48:59.786Z] 2de7ff778b66: Pulling fs layer [2023-10-27T08:48:59.786Z] e9a5061849ea: Waiting [2023-10-27T08:48:59.786Z] d747dcd14b5f: Waiting [2023-10-27T08:48:59.786Z] 9712f1f96733: Verifying Checksum [2023-10-27T08:48:59.786Z] 9712f1f96733: Download complete [2023-10-27T08:49:00.047Z] 63f879dbbcfc: Verifying Checksum [2023-10-27T08:49:00.047Z] 63f879dbbcfc: Download complete [2023-10-27T08:49:00.305Z] ab5ef0e58194: Verifying Checksum [2023-10-27T08:49:00.305Z] ab5ef0e58194: Download complete [2023-10-27T08:49:00.305Z] 0d9ebad4ef96: Verifying Checksum [2023-10-27T08:49:00.305Z] 0d9ebad4ef96: Download complete [2023-10-27T08:49:00.305Z] d747dcd14b5f: Verifying Checksum [2023-10-27T08:49:00.305Z] d747dcd14b5f: Download complete [2023-10-27T08:49:00.305Z] e9a5061849ea: Verifying Checksum [2023-10-27T08:49:00.561Z] 2de7ff778b66: Verifying Checksum [2023-10-27T08:49:00.562Z] 2de7ff778b66: Download complete [2023-10-27T08:49:03.088Z] ab5ef0e58194: Pull complete [2023-10-27T08:49:03.088Z] 9712f1f96733: Pull complete [2023-10-27T08:49:03.347Z] 63f879dbbcfc: Pull complete [2023-10-27T08:49:06.623Z] 0d9ebad4ef96: Pull complete [2023-10-27T08:49:06.880Z] e9a5061849ea: Pull complete [2023-10-27T08:49:06.880Z] d747dcd14b5f: Pull complete [2023-10-27T08:49:07.812Z] 2de7ff778b66: Pull complete [2023-10-27T08:49:07.812Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-27T08:49:07.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-27T08:49:07.812Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:49:07.889Z] prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container [2023-10-27T08:49:07.915Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-27T08:49:12.963Z] $ docker top 5e82fe37f088b3298be92ed6d7c1694dd68348a8f92abd3e88e41b98ca6bdd2a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-27T08:49:13.031Z] provisioning config files... [2023-10-27T08:49:13.038Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2379850053256201023tmp [2023-10-27T08:49:13.048Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3626309871417784516tmp [2023-10-27T08:49:13.056Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18084871477859669680tmp [Pipeline] { [Pipeline] echo [2023-10-27T08:49:13.069Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:49:13.348Z] ---> sigul-configuration.sh [2023-10-27T08:49:13.348Z] gpg: directory `/root/.gnupg' created [2023-10-27T08:49:13.348Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-27T08:49:13.348Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-27T08:49:13.348Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-27T08:49:13.348Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-27T08:49:13.348Z] gpg: CAST5 encrypted data [2023-10-27T08:49:13.348Z] gpg: encrypted with 1 passphrase [2023-10-27T08:49:13.348Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-27T08:49:13.630Z] + mkdir /home/jenkins [2023-10-27T08:49:13.630Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-27T08:49:13.916Z] + 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-27T08:49:13.923Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:49:14.202Z] ---> sigul-install.sh [2023-10-27T08:49:14.202Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-27T08:49:14.488Z] + git tag --list [2023-10-27T08:49:14.488Z] 0.7.1 [2023-10-27T08:49:14.488Z] v1.0.0 [2023-10-27T08:49:14.488Z] v1.1.0 [2023-10-27T08:49:14.488Z] v1.1.1 [2023-10-27T08:49:14.488Z] v1.2.2 [2023-10-27T08:49:14.488Z] v1.3.0 [2023-10-27T08:49:14.488Z] v1.3.1 [2023-10-27T08:49:14.488Z] v2.0.0 [2023-10-27T08:49:14.488Z] v2.1.0 [2023-10-27T08:49:14.488Z] v2.1.1 [2023-10-27T08:49:14.488Z] v2.2.0 [2023-10-27T08:49:14.488Z] v2.3.0 [2023-10-27T08:49:14.488Z] v3.0 [2023-10-27T08:49:14.488Z] v3.0.0 [2023-10-27T08:49:14.488Z] v3.1.0-dev.1 [2023-10-27T08:49:14.488Z] v3.1.0-dev.10 [2023-10-27T08:49:14.488Z] v3.1.0-dev.11 [2023-10-27T08:49:14.488Z] v3.1.0-dev.12 [2023-10-27T08:49:14.488Z] v3.1.0-dev.13 [2023-10-27T08:49:14.488Z] v3.1.0-dev.14 [2023-10-27T08:49:14.488Z] v3.1.0-dev.15 [2023-10-27T08:49:14.488Z] v3.1.0-dev.16 [2023-10-27T08:49:14.488Z] v3.1.0-dev.17 [2023-10-27T08:49:14.488Z] v3.1.0-dev.18 [2023-10-27T08:49:14.488Z] v3.1.0-dev.19 [2023-10-27T08:49:14.488Z] v3.1.0-dev.2 [2023-10-27T08:49:14.488Z] v3.1.0-dev.20 [2023-10-27T08:49:14.488Z] v3.1.0-dev.21 [2023-10-27T08:49:14.488Z] v3.1.0-dev.22 [2023-10-27T08:49:14.488Z] v3.1.0-dev.3 [2023-10-27T08:49:14.488Z] v3.1.0-dev.4 [2023-10-27T08:49:14.488Z] v3.1.0-dev.5 [2023-10-27T08:49:14.488Z] v3.1.0-dev.6 [2023-10-27T08:49:14.488Z] v3.1.0-dev.7 [2023-10-27T08:49:14.488Z] v3.1.0-dev.8 [2023-10-27T08:49:14.488Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-27T08:49:14.776Z] + lftools sign git-tag v3.1.0-dev.22 [2023-10-27T08:49:15.343Z] Signing Git tag with Sigul... [2023-10-27T08:49:15.343Z] Signing v3.1.0-dev.22 [Pipeline] echo [2023-10-27T08:49:15.609Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:49:15.891Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-27T08:49:15.898Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-27T08:49:15.918Z] $ docker stop --time=1 5e82fe37f088b3298be92ed6d7c1694dd68348a8f92abd3e88e41b98ca6bdd2a [2023-10-27T08:49:17.180Z] $ docker rm -f --volumes 5e82fe37f088b3298be92ed6d7c1694dd68348a8f92abd3e88e41b98ca6bdd2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-27T08:49:17.593Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T08:49:17.593Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:49:17.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T08:49:17.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:49:17.961Z] prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container [2023-10-27T08:49:17.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T08:49:18.315Z] $ docker top 9b4d36ccc2cf57aca30f30da8d25816ad57267368b18414c30749299dd108cdb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T08:49:18.406Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T08:49:18.406Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T08:49:18.524Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T08:49:18.529Z] $ docker exec 9b4d36ccc2cf57aca30f30da8d25816ad57267368b18414c30749299dd108cdb ssh-agent [2023-10-27T08:49:18.641Z] SSH_AUTH_SOCK=/tmp/ssh-lmJleZEEt0AG/agent.32 [2023-10-27T08:49:18.641Z] SSH_AGENT_PID=38 [2023-10-27T08:49:18.645Z] Running ssh-add (command line suppressed) [2023-10-27T08:49:18.756Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6536772923020281794.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6536772923020281794.key) [2023-10-27T08:49:18.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T08:49:19.054Z] + git semver bump pre [2023-10-27T08:49:19.315Z] 2023-10-27 08:49:19,235 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-27T08:49:19.315Z] 2023-10-27 08:49:19,235 [bump_version] DEBUG bumping version:3.1.0-dev.22 on axis:pre with prefix:dev [2023-10-27T08:49:19.315Z] 2023-10-27 08:49:19,235 [bump_version] DEBUG bumped version:3.1.0-dev.23 [2023-10-27T08:49:19.315Z] 2023-10-27 08:49:19,235 [write_version] DEBUG write version:3.1.0-dev.23 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-10-27T08:49:19.315Z] 2023-10-27 08:49:19,235 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-27T08:49:19.315Z] 2023-10-27 08:49:19,235 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-27T08:49:19.315Z] 2023-10-27 08:49:19,237 [execute] INFO git cat-file --batch-check [2023-10-27T08:49:19.315Z] 2023-10-27 08:49:19,237 [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-27T08:49:19.315Z] 2023-10-27 08:49:19,243 [execute] INFO git cat-file --batch [2023-10-27T08:49:19.315Z] 2023-10-27 08:49:19,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T08:49:19.315Z] 2023-10-27 08:49:19,248 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-27T08:49:19.315Z] 3.1.0-dev.23 [Pipeline] } [2023-10-27T08:49:19.325Z] $ docker exec --env ******** --env ******** 9b4d36ccc2cf57aca30f30da8d25816ad57267368b18414c30749299dd108cdb ssh-agent -k [2023-10-27T08:49:19.421Z] unset SSH_AUTH_SOCK; [2023-10-27T08:49:19.422Z] unset SSH_AGENT_PID; [2023-10-27T08:49:19.422Z] echo Agent pid 38 killed; [2023-10-27T08:49:19.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T08:49:19.812Z] + git semver [Pipeline] } [2023-10-27T08:49:20.084Z] $ docker stop --time=1 9b4d36ccc2cf57aca30f30da8d25816ad57267368b18414c30749299dd108cdb [2023-10-27T08:49:21.352Z] $ docker rm -f --volumes 9b4d36ccc2cf57aca30f30da8d25816ad57267368b18414c30749299dd108cdb [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T08:49:21.692Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T08:49:21.692Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:49:21.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T08:49:21.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:49:22.057Z] prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container [2023-10-27T08:49:22.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T08:49:22.541Z] $ docker top 2dbb4ef13af73696c3bba3fa402b459b7ddbebaee6cbe611c2280396b4598933 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T08:49:22.625Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T08:49:22.625Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T08:49:22.752Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T08:49:22.756Z] $ docker exec 2dbb4ef13af73696c3bba3fa402b459b7ddbebaee6cbe611c2280396b4598933 ssh-agent [2023-10-27T08:49:22.855Z] SSH_AUTH_SOCK=/tmp/ssh-pqhO1Qybn1LL/agent.32 [2023-10-27T08:49:22.855Z] SSH_AGENT_PID=38 [2023-10-27T08:49:22.874Z] Running ssh-add (command line suppressed) [2023-10-27T08:49:22.985Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10046600739068469097.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10046600739068469097.key) [2023-10-27T08:49:22.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T08:49:23.282Z] + git semver push [2023-10-27T08:49:23.541Z] 2023-10-27 08:49:23,454 [run_push] DEBUG push [2023-10-27T08:49:23.541Z] 2023-10-27 08:49:23,455 [execute] INFO git cat-file --batch-check [2023-10-27T08:49:23.541Z] 2023-10-27 08:49:23,455 [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-27T08:49:23.541Z] 2023-10-27 08:49:23,459 [execute] INFO git rev-list 0e97f2ea95920156386b8f1e594f6386a724cafc -- [2023-10-27T08:49:23.541Z] 2023-10-27 08:49:23,459 [execute] DEBUG Popen(['git', 'rev-list', '0e97f2ea95920156386b8f1e594f6386a724cafc', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-27T08:49:23.541Z] 2023-10-27 08:49:23,467 [execute] INFO git fetch -v origin [2023-10-27T08:49:23.541Z] 2023-10-27 08:49:23,467 [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-27T08:49:24.109Z] 2023-10-27 08:49:24,019 [run_push] DEBUG no remote changes detected [2023-10-27T08:49:24.109Z] 2023-10-27 08:49:24,020 [execute] INFO git push origin semver [2023-10-27T08:49:24.109Z] 2023-10-27 08:49:24,020 [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-27T08:49:25.045Z] 2023-10-27 08:49:24,787 [run_push] DEBUG push all version tags [2023-10-27T08:49:25.045Z] 2023-10-27 08:49:24,787 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-27T08:49:25.045Z] 2023-10-27 08:49:24,788 [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-27T08:49:25.615Z] 2023-10-27 08:49:25,545 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-27T08:49:25.615Z] 3.1.0-dev.23 [Pipeline] } [2023-10-27T08:49:25.625Z] $ docker exec --env ******** --env ******** 2dbb4ef13af73696c3bba3fa402b459b7ddbebaee6cbe611c2280396b4598933 ssh-agent -k [2023-10-27T08:49:25.738Z] unset SSH_AUTH_SOCK; [2023-10-27T08:49:25.739Z] unset SSH_AGENT_PID; [2023-10-27T08:49:25.739Z] echo Agent pid 38 killed; [2023-10-27T08:49:25.746Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T08:49:26.049Z] + git semver [Pipeline] } [2023-10-27T08:49:26.321Z] $ docker stop --time=1 2dbb4ef13af73696c3bba3fa402b459b7ddbebaee6cbe611c2280396b4598933 [2023-10-27T08:49:27.582Z] $ docker rm -f --volumes 2dbb4ef13af73696c3bba3fa402b459b7ddbebaee6cbe611c2280396b4598933 [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-27T08:49:28.136Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-10-27T08:49:28.136Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-27T08:49:28.136Z] total 16 [2023-10-27T08:49:28.136Z] drwxr-xr-x 3 root root 4096 Oct 27 08:41 . [2023-10-27T08:49:28.136Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 08:49 .. [2023-10-27T08:49:28.136Z] drwxr-xr-x 2 root root 4096 Oct 27 08:41 cost [2023-10-27T08:49:28.136Z] -rw-r--r-- 1 root root 88 Oct 27 08:41 cost.csv [2023-10-27T08:49:28.136Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-27T08:49:28.136Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-27T08:49:28.136Z] total 16 [2023-10-27T08:49:28.136Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 08:41 . [2023-10-27T08:49:28.136Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 08:49 .. [2023-10-27T08:49:28.136Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 08:41 cost [2023-10-27T08:49:28.136Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 27 08:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:49:28.423Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:49:29.276Z] ---> package-listing.sh [2023-10-27T08:49:29.276Z] ++ facter osfamily [2023-10-27T08:49:29.276Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-27T08:49:29.534Z] + OS_FAMILY=debian [2023-10-27T08:49:29.534Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-10-27T08:49:29.534Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-27T08:49:29.534Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-27T08:49:29.534Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-27T08:49:29.534Z] + PACKAGES=/tmp/packages_start.txt [2023-10-27T08:49:29.534Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-27T08:49:29.534Z] + PACKAGES=/tmp/packages_end.txt [2023-10-27T08:49:29.534Z] + case "${OS_FAMILY}" in [2023-10-27T08:49:29.534Z] + dpkg -l [2023-10-27T08:49:29.534Z] + grep '^ii' [2023-10-27T08:49:29.534Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-27T08:49:29.534Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-27T08:49:29.534Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-27T08:49:29.534Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-27T08:49:29.534Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-10-27T08:49:29.534Z] + 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-27T08:49:29.543Z] 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-27T08:49:29.819Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T08:49:30.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T08:49:30.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T08:49:30.444Z] prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container [2023-10-27T08:49:30.475Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-27T08:49:30.698Z] $ docker top 65f6f5495f04fc22768da5ceb0f2e7d0431e4b50063f3ca35c4291289f89fe6f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T08:49:31.234Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-27T08:49:31.517Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-27T08:49:31.803Z] + ls /var/log/sa-host [2023-10-27T08:49:31.803Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T08:49:31.862Z] provisioning config files... [2023-10-27T08:49:31.869Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17918765655076032295tmp [Pipeline] { [Pipeline] echo [2023-10-27T08:49:31.884Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:49:32.166Z] ---> create-netrc.sh [Pipeline] } [2023-10-27T08:49:32.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:49:32.504Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-27T08:49:32.512Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:49:32.794Z] ---> sudo-logs.sh [2023-10-27T08:49:32.794Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-27T08:49:32.819Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:49:33.101Z] ---> job-cost.sh [2023-10-27T08:49:33.101Z] lf-activate-venv: SKIPPING [2023-10-27T08:49:33.101Z] DEBUG: total: 0.2199999988079071 [2023-10-27T08:49:33.101Z] INFO: Retrieving Stack Cost... [2023-10-27T08:49:33.669Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T08:49:33.927Z] INFO: Archiving Costs [Pipeline] echo [2023-10-27T08:49:33.938Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T08:49:34.219Z] ---> logs-deploy.sh [2023-10-27T08:49:34.219Z] lf-activate-venv: SKIPPING [2023-10-27T08:49:34.219Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/136 [2023-10-27T08:49:34.219Z] INFO: archiving workspace using pattern(s): [2023-10-27T08:49:35.155Z] Archives upload complete. [2023-10-27T08:49:35.155Z] INFO: archiving logs to Nexus