Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aeb07f10ff8131d5f056bccd17568abba8c1758b 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-ssh18291380885050486275.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-ssh9334391074306580883.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-ssh3046246406321091450.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-ssh13424433162540001509.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-ssh16452124842778108989.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6035 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 aeb07f10ff8131d5f056bccd17568abba8c1758b (main) Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#500)" > 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 aeb07f10ff8131d5f056bccd17568abba8c1758b # timeout=10 > git rev-list --no-walk 65be627d22220786ca580fff7b0bf73c9ac4aaab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T22:20:02.949Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T22:20:03.011Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T22:20:03.029Z] ========================================================= [2023-09-12T22:20:03.029Z] EdgeX Global Pipelines Version Info [2023-09-12T22:20:03.029Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:20:08.262Z] ------------------- [2023-09-12T22:20:08.262Z] stable info: [2023-09-12T22:20:08.262Z] ------------------- [2023-09-12T22:20:08.262Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T22:20:08.262Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T22:20:08.262Z] Message: update stable to v1.0.254 [2023-09-12T22:20:08.833Z] ------------------- [2023-09-12T22:20:08.833Z] experimental info: [2023-09-12T22:20:08.833Z] ------------------- [2023-09-12T22:20:08.833Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T22:20:08.833Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T22:20:08.834Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T22:20:15.713Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-12T22:20:15.722Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-12T22:20:15.734Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T22:20:15.743Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T22:20:15.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T22:20:15.762Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T22:20:15.778Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T22:20:15.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T22:20:15.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T22:20:15.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T22:20:15.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T22:20:15.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-12T22:20:15.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T22:20:15.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T22:20:15.911Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T22:20:15.934Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T22:20:15.952Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T22:20:15.971Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T22:20:15.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T22:20:16.007Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T22:20:16.022Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T22:20:16.043Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T22:20:16.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T22:20:16.078Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T22:20:16.100Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T22:20:16.120Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T22:20:16.142Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T22:20:16.160Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-12T22:20:16.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-12T22:20:16.206Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-12T22:20:16.220Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aeb07f10ff8131d5f056bccd17568abba8c1758b [Pipeline] echo [2023-09-12T22:20:16.236Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aeb07f1 [Pipeline] echo [2023-09-12T22:20:16.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:20:16.299Z] provisioning config files... [2023-09-12T22:20:16.311Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9186558091231775109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:20:16.609Z] ---> docker-login.sh [2023-09-12T22:20:16.609Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:20:16.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:20:16.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:20:16.869Z] Configure a credential helper to remove this warning. See [2023-09-12T22:20:16.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:20:16.869Z] [2023-09-12T22:20:16.869Z] Login Succeeded [2023-09-12T22:20:16.869Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:20:16.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:20:17.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:20:17.129Z] Configure a credential helper to remove this warning. See [2023-09-12T22:20:17.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:20:17.129Z] [2023-09-12T22:20:17.129Z] Login Succeeded [2023-09-12T22:20:17.129Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:20:17.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:20:17.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:20:17.129Z] Configure a credential helper to remove this warning. See [2023-09-12T22:20:17.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:20:17.129Z] [2023-09-12T22:20:17.129Z] Login Succeeded [2023-09-12T22:20:17.129Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:20:17.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:20:17.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:20:17.129Z] Configure a credential helper to remove this warning. See [2023-09-12T22:20:17.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:20:17.129Z] [2023-09-12T22:20:17.129Z] Login Succeeded [2023-09-12T22:20:17.129Z] docker.io [2023-09-12T22:20:17.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:20:17.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:20:17.390Z] Configure a credential helper to remove this warning. See [2023-09-12T22:20:17.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:20:17.390Z] [2023-09-12T22:20:17.390Z] Login Succeeded [2023-09-12T22:20:17.390Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:20:17.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T22:20:17.747Z] + git rev-list -1 --merges aeb07f10ff8131d5f056bccd17568abba8c1758b~1..aeb07f10ff8131d5f056bccd17568abba8c1758b [Pipeline] echo [2023-09-12T22:20:17.794Z] -----------> git rev-list -1 --merges aeb07f10ff8131d5f056bccd17568abba8c1758b~1..aeb07f10ff8131d5f056bccd17568abba8c1758b aeb07f10ff8131d5f056bccd17568abba8c1758b [false] [Pipeline] sh [2023-09-12T22:20:18.077Z] + git log --format=format:%s -1 aeb07f10ff8131d5f056bccd17568abba8c1758b [Pipeline] echo [2023-09-12T22:20:18.091Z] ========================================================= [2023-09-12T22:20:18.091Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T22:20:18.091Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:20:18.431Z] + git log --format=format:%s -1 aeb07f10ff8131d5f056bccd17568abba8c1758b [Pipeline] echo [2023-09-12T22:20:18.440Z] [semverPrep] GIT_COMMIT: aeb07f10ff8131d5f056bccd17568abba8c1758b, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#500) [Pipeline] echo [2023-09-12T22:20:18.452Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T22:20:18.845Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:20:18.845Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T22:20:18.845Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T22:20:18.845Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T22:20:18.845Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T22:20:18.845Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T22:20:18.845Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:20:19.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:20:19.253Z] [2023-09-12T22:20:19.253Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:20:19.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:20:19.551Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T22:20:19.551Z] b85a868b505f: Pulling fs layer [2023-09-12T22:20:19.551Z] e2be974225ed: Pulling fs layer [2023-09-12T22:20:19.551Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T22:20:19.551Z] 988bab9f4d93: Pulling fs layer [2023-09-12T22:20:19.551Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T22:20:19.551Z] eaf3925da568: Pulling fs layer [2023-09-12T22:20:19.551Z] bab4dde63d76: Pulling fs layer [2023-09-12T22:20:19.551Z] bde34c3a00c8: Pulling fs layer [2023-09-12T22:20:19.551Z] b352a97aabf1: Pulling fs layer [2023-09-12T22:20:19.551Z] 4872d77fe225: Pulling fs layer [2023-09-12T22:20:19.551Z] 988bab9f4d93: Waiting [2023-09-12T22:20:19.551Z] eaf3925da568: Waiting [2023-09-12T22:20:19.551Z] 1469e6f7b9e6: Waiting [2023-09-12T22:20:19.551Z] bde34c3a00c8: Waiting [2023-09-12T22:20:19.551Z] b352a97aabf1: Waiting [2023-09-12T22:20:19.551Z] bab4dde63d76: Waiting [2023-09-12T22:20:19.551Z] 5851b861e8e6: Pulling fs layer [2023-09-12T22:20:19.551Z] 5851b861e8e6: Waiting [2023-09-12T22:20:19.551Z] e2be974225ed: Download complete [2023-09-12T22:20:19.551Z] 988bab9f4d93: Download complete [2023-09-12T22:20:19.551Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T22:20:19.551Z] 1469e6f7b9e6: Download complete [2023-09-12T22:20:19.551Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T22:20:19.551Z] 339a4e72a1f5: Download complete [2023-09-12T22:20:19.809Z] eaf3925da568: Verifying Checksum [2023-09-12T22:20:19.809Z] eaf3925da568: Download complete [2023-09-12T22:20:19.809Z] bde34c3a00c8: Download complete [2023-09-12T22:20:19.809Z] b352a97aabf1: Download complete [2023-09-12T22:20:19.809Z] 4872d77fe225: Verifying Checksum [2023-09-12T22:20:19.809Z] 4872d77fe225: Download complete [2023-09-12T22:20:19.809Z] 5851b861e8e6: Verifying Checksum [2023-09-12T22:20:19.809Z] 5851b861e8e6: Download complete [2023-09-12T22:20:19.809Z] b85a868b505f: Verifying Checksum [2023-09-12T22:20:19.809Z] b85a868b505f: Download complete [2023-09-12T22:20:20.067Z] bab4dde63d76: Verifying Checksum [2023-09-12T22:20:20.067Z] bab4dde63d76: Download complete [2023-09-12T22:20:21.003Z] b85a868b505f: Pull complete [2023-09-12T22:20:21.003Z] e2be974225ed: Pull complete [2023-09-12T22:20:21.568Z] 339a4e72a1f5: Pull complete [2023-09-12T22:20:21.568Z] 988bab9f4d93: Pull complete [2023-09-12T22:20:21.825Z] 1469e6f7b9e6: Pull complete [2023-09-12T22:20:21.825Z] eaf3925da568: Pull complete [2023-09-12T22:20:23.726Z] bab4dde63d76: Pull complete [2023-09-12T22:20:23.726Z] bde34c3a00c8: Pull complete [2023-09-12T22:20:23.726Z] b352a97aabf1: Pull complete [2023-09-12T22:20:23.726Z] 4872d77fe225: Pull complete [2023-09-12T22:20:23.726Z] 5851b861e8e6: Pull complete [2023-09-12T22:20:23.726Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T22:20:23.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:20:23.726Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:20:23.816Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-09-12T22:20:23.842Z] $ 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-09-12T22:20:26.215Z] $ docker top a1a2188caa7bfc28924764670b9bf5de25b289d8abfa693233ac7921667bf1be -eo pid,comm [2023-09-12T22:20:26.269Z] 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-09-12T22:20:26.269Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:20:26.302Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:20:26.302Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:20:26.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:20:26.408Z] $ docker exec a1a2188caa7bfc28924764670b9bf5de25b289d8abfa693233ac7921667bf1be ssh-agent [2023-09-12T22:20:26.507Z] SSH_AUTH_SOCK=/tmp/ssh-3IdYOoMecMp8/agent.32 [2023-09-12T22:20:26.507Z] SSH_AGENT_PID=38 [2023-09-12T22:20:26.512Z] Running ssh-add (command line suppressed) [2023-09-12T22:20:26.611Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12030817274265484369.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12030817274265484369.key) [2023-09-12T22:20:26.625Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:20:26.911Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T22:20:26.921Z] $ docker exec --env ******** --env ******** a1a2188caa7bfc28924764670b9bf5de25b289d8abfa693233ac7921667bf1be ssh-agent -k [2023-09-12T22:20:27.021Z] unset SSH_AUTH_SOCK; [2023-09-12T22:20:27.022Z] unset SSH_AGENT_PID; [2023-09-12T22:20:27.022Z] echo Agent pid 38 killed; [2023-09-12T22:20:27.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T22:20:27.057Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:20:27.058Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:20:27.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:20:27.172Z] $ docker exec a1a2188caa7bfc28924764670b9bf5de25b289d8abfa693233ac7921667bf1be ssh-agent [2023-09-12T22:20:27.267Z] SSH_AUTH_SOCK=/tmp/ssh-Nh7Fn0FTLIe8/agent.71 [2023-09-12T22:20:27.267Z] SSH_AGENT_PID=77 [2023-09-12T22:20:27.271Z] Running ssh-add (command line suppressed) [2023-09-12T22:20:27.368Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17796318229835347972.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17796318229835347972.key) [2023-09-12T22:20:27.382Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:20:27.668Z] + git semver init [2023-09-12T22:20:27.927Z] 2023-09-12 22:20:27,833 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T22:20:27.927Z] 2023-09-12 22:20:27,833 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-12T22:20:27.927Z] 2023-09-12 22:20:27,834 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-12T22:20:27.927Z] 2023-09-12 22:20:27,834 [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-09-12T22:20:28.866Z] 2023-09-12 22:20:28,586 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-09-12T22:20:28.866Z] 2023-09-12 22:20:28,587 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-09-12T22:20:28.866Z] 2023-09-12 22:20:28,587 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-12T22:20:28.866Z] 2023-09-12 22:20:28,587 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-12T22:20:28.866Z] 3.1.0-dev.9 [Pipeline] } [2023-09-12T22:20:28.874Z] $ docker exec --env ******** --env ******** a1a2188caa7bfc28924764670b9bf5de25b289d8abfa693233ac7921667bf1be ssh-agent -k [2023-09-12T22:20:28.961Z] unset SSH_AUTH_SOCK; [2023-09-12T22:20:28.962Z] unset SSH_AGENT_PID; [2023-09-12T22:20:28.962Z] echo Agent pid 77 killed; [2023-09-12T22:20:28.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:20:29.285Z] + git semver [Pipeline] } [2023-09-12T22:20:29.555Z] $ docker stop --time=1 a1a2188caa7bfc28924764670b9bf5de25b289d8abfa693233ac7921667bf1be [2023-09-12T22:20:30.839Z] $ docker rm -f --volumes a1a2188caa7bfc28924764670b9bf5de25b289d8abfa693233ac7921667bf1be [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:20:31.168Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T22:20:31.371Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T22:20:31.374Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:20:31.520Z] provisioning config files... [2023-09-12T22:20:31.530Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11534408664939441766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:20:31.823Z] ---> docker-login.sh [2023-09-12T22:20:31.823Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:20:31.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:20:31.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:20:31.823Z] Configure a credential helper to remove this warning. See [2023-09-12T22:20:31.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:20:31.823Z] [2023-09-12T22:20:31.823Z] Login Succeeded [2023-09-12T22:20:31.823Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:20:31.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:20:31.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:20:31.823Z] Configure a credential helper to remove this warning. See [2023-09-12T22:20:31.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:20:31.823Z] [2023-09-12T22:20:31.823Z] Login Succeeded [2023-09-12T22:20:31.823Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:20:32.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:20:32.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:20:32.082Z] Configure a credential helper to remove this warning. See [2023-09-12T22:20:32.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:20:32.082Z] [2023-09-12T22:20:32.082Z] Login Succeeded [2023-09-12T22:20:32.082Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:20:32.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:20:32.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:20:32.082Z] Configure a credential helper to remove this warning. See [2023-09-12T22:20:32.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:20:32.082Z] [2023-09-12T22:20:32.082Z] Login Succeeded [2023-09-12T22:20:32.082Z] docker.io [2023-09-12T22:20:32.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:20:32.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:20:32.341Z] Configure a credential helper to remove this warning. See [2023-09-12T22:20:32.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:20:32.341Z] [2023-09-12T22:20:32.341Z] Login Succeeded [2023-09-12T22:20:32.341Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:20:32.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:20:32.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:20:32.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:20:32.431Z] ========================================================= [2023-09-12T22:20:32.431Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T22:20:32.431Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:20:32.738Z] + 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-09-12T22:20:32.738Z] Sending build context to Docker daemon 6.423MB [2023-09-12T22:20:32.738Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:20:32.738Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T22:20:32.738Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T22:20:32.738Z] 7264a8db6415: Pulling fs layer [2023-09-12T22:20:32.738Z] c4d48a809fc2: Pulling fs layer [2023-09-12T22:20:32.738Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T22:20:32.738Z] ad3a456e5733: Pulling fs layer [2023-09-12T22:20:32.738Z] 9e4f439ed901: Pulling fs layer [2023-09-12T22:20:32.738Z] feaf6a47b606: Pulling fs layer [2023-09-12T22:20:32.738Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T22:20:32.738Z] 8ac70367396e: Pulling fs layer [2023-09-12T22:20:32.738Z] 6db16350a2e2: Pulling fs layer [2023-09-12T22:20:32.738Z] 9250d5d63582: Pulling fs layer [2023-09-12T22:20:32.738Z] 9e4f439ed901: Waiting [2023-09-12T22:20:32.738Z] feaf6a47b606: Waiting [2023-09-12T22:20:32.738Z] 5e8b037d7d82: Waiting [2023-09-12T22:20:32.738Z] 8ac70367396e: Waiting [2023-09-12T22:20:32.738Z] 6db16350a2e2: Waiting [2023-09-12T22:20:32.738Z] 9250d5d63582: Waiting [2023-09-12T22:20:32.738Z] ad3a456e5733: Waiting [2023-09-12T22:20:32.738Z] c4d48a809fc2: Download complete [2023-09-12T22:20:32.738Z] ad3a456e5733: Verifying Checksum [2023-09-12T22:20:32.738Z] ad3a456e5733: Download complete [2023-09-12T22:20:32.738Z] 9e4f439ed901: Verifying Checksum [2023-09-12T22:20:32.738Z] 9e4f439ed901: Download complete [2023-09-12T22:20:32.996Z] 7264a8db6415: Verifying Checksum [2023-09-12T22:20:32.996Z] 7264a8db6415: Download complete [2023-09-12T22:20:32.996Z] feaf6a47b606: Verifying Checksum [2023-09-12T22:20:32.996Z] feaf6a47b606: Download complete [2023-09-12T22:20:32.996Z] 7264a8db6415: Pull complete [2023-09-12T22:20:33.255Z] 8ac70367396e: Verifying Checksum [2023-09-12T22:20:33.255Z] 8ac70367396e: Download complete [2023-09-12T22:20:33.255Z] c4d48a809fc2: Pull complete [2023-09-12T22:20:33.255Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T22:20:33.255Z] 4f1c88b9dad5: Download complete [2023-09-12T22:20:33.515Z] 6db16350a2e2: Verifying Checksum [2023-09-12T22:20:33.515Z] 6db16350a2e2: Download complete [2023-09-12T22:20:33.774Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T22:20:33.774Z] 5e8b037d7d82: Download complete [2023-09-12T22:20:33.774Z] 9250d5d63582: Verifying Checksum [2023-09-12T22:20:33.774Z] 9250d5d63582: Download complete [2023-09-12T22:20:36.303Z] 4f1c88b9dad5: Pull complete [2023-09-12T22:20:36.303Z] ad3a456e5733: Pull complete [2023-09-12T22:20:36.303Z] 9e4f439ed901: Pull complete [2023-09-12T22:20:36.303Z] feaf6a47b606: Pull complete [2023-09-12T22:20:38.828Z] 5e8b037d7d82: Pull complete [2023-09-12T22:20:39.085Z] 8ac70367396e: Pull complete [2023-09-12T22:20:39.650Z] 6db16350a2e2: Pull complete [2023-09-12T22:20:40.232Z] 9250d5d63582: Pull complete [2023-09-12T22:20:40.232Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T22:20:40.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T22:20:40.232Z] ---> fa269f55d9b9 [2023-09-12T22:20:40.232Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:20:43.533Z] ---> Running in 045dfda2b879 [2023-09-12T22:20:43.533Z] Removing intermediate container 045dfda2b879 [2023-09-12T22:20:43.533Z] ---> d083df4018e7 [2023-09-12T22:20:43.533Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:20:43.533Z] ---> Running in 24a05e83638f [2023-09-12T22:20:43.533Z] Removing intermediate container 24a05e83638f [2023-09-12T22:20:43.533Z] ---> 8b690d298d73 [2023-09-12T22:20:43.533Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-12T22:20:43.533Z] ---> Running in 3ae5baecdaf3 [2023-09-12T22:20:43.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:20:44.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:20:44.311Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:20:44.311Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-12T22:20:44.311Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:20:44.311Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:20:44.311Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-12T22:20:44.311Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-12T22:20:44.311Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-12T22:20:44.311Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-12T22:20:44.311Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:20:44.311Z] OK: 271 MiB in 64 packages [2023-09-12T22:20:44.879Z] Removing intermediate container 3ae5baecdaf3 [2023-09-12T22:20:44.879Z] ---> e3d5640cd074 [2023-09-12T22:20:44.879Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-12T22:20:44.879Z] ---> Running in 96ac9a0b9a03 [2023-09-12T22:20:44.879Z] Removing intermediate container 96ac9a0b9a03 [2023-09-12T22:20:44.879Z] ---> 31095dd6fa2f [2023-09-12T22:20:44.879Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T22:20:45.138Z] ---> 6c6746beb844 [2023-09-12T22:20:45.138Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:20:45.138Z] ---> Running in ab2858cdccd1 [2023-09-12T22:20:46.487Z] Still waiting to schedule task [2023-09-12T22:20:46.487Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T22:21:41.373Z] Removing intermediate container ab2858cdccd1 [2023-09-12T22:21:41.373Z] ---> f8b362408c72 [2023-09-12T22:21:41.373Z] Step 9/10 : COPY . . [2023-09-12T22:21:41.373Z] ---> 275691447dab [2023-09-12T22:21:41.373Z] Step 10/10 : RUN ${MAKE} [2023-09-12T22:21:41.373Z] ---> Running in ae19ead351dd [2023-09-12T22:21:41.373Z] noop [2023-09-12T22:21:41.373Z] Removing intermediate container ae19ead351dd [2023-09-12T22:21:41.373Z] ---> 97aace8039e7 [2023-09-12T22:21:41.373Z] Successfully built 97aace8039e7 [2023-09-12T22:21:41.373Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:21:41.688Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:21:41.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:21:41.757Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-09-12T22:21:41.783Z] $ 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-09-12T22:21:42.097Z] $ docker top cc81a1a755e98144fe9911e8e61a3e068cf3f145f793875acf98b105224c9c10 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:21:42.439Z] + go version [2023-09-12T22:21:42.439Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T22:21:42.447Z] $ docker stop --time=1 cc81a1a755e98144fe9911e8e61a3e068cf3f145f793875acf98b105224c9c10 [2023-09-12T22:21:43.711Z] $ docker rm -f --volumes cc81a1a755e98144fe9911e8e61a3e068cf3f145f793875acf98b105224c9c10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:21:44.133Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:21:44.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:21:44.205Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-09-12T22:21:44.230Z] $ 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-09-12T22:21:44.554Z] $ docker top 6b655ba7c68c80ca646d57fe54607e62237a0e62cccdbc34efd668f021e8c868 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:21:44.895Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:21:45.187Z] + make test [2023-09-12T22:21:45.187Z] go test ./... -coverprofile=coverage.out [2023-09-12T22:21:46.560Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-12T22:21:56.522Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-12T22:21:56.522Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.9% of statements [2023-09-12T22:22:04.622Z] go vet ./... [2023-09-12T22:22:07.147Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:22:07.147Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:22:07.147Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:22:07.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:22:07.166Z] $ docker stop --time=1 6b655ba7c68c80ca646d57fe54607e62237a0e62cccdbc34efd668f021e8c868 [2023-09-12T22:22:10.084Z] $ docker rm -f --volumes 6b655ba7c68c80ca646d57fe54607e62237a0e62cccdbc34efd668f021e8c868 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:22:10.561Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:22:10.613Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T22:22:11.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:22:11.533Z] + ls -al . [2023-09-12T22:22:11.533Z] total 192 [2023-09-12T22:22:11.533Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:21 . [2023-09-12T22:22:11.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:20 .. [2023-09-12T22:22:11.533Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 22:20 .dockerignore [2023-09-12T22:22:11.533Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:21 .git [2023-09-12T22:22:11.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:20 .github [2023-09-12T22:22:11.533Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 12 22:20 .gitignore [2023-09-12T22:22:11.533Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:20 .golangci.yml [2023-09-12T22:22:11.533Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:20 .semver [2023-09-12T22:22:11.533Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 12 22:20 Attribution.txt [2023-09-12T22:22:11.533Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 12 22:20 CHANGELOG.md [2023-09-12T22:22:11.533Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 12 22:20 Dockerfile [2023-09-12T22:22:11.533Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:20 GOVERNANCE.md [2023-09-12T22:22:11.533Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 22:20 Jenkinsfile [2023-09-12T22:22:11.533Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:20 LICENSE [2023-09-12T22:22:11.534Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 12 22:20 Makefile [2023-09-12T22:22:11.534Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 12 22:20 OWNERS.md [2023-09-12T22:22:11.534Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 12 22:20 README.md [2023-09-12T22:22:11.534Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 22:20 VERSION [2023-09-12T22:22:11.534Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:20 bin [2023-09-12T22:22:11.534Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:20 cmd [2023-09-12T22:22:11.534Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 12 22:21 coverage.out [2023-09-12T22:22:11.534Z] -rw-rw-r-- 1 jenkins jenkins 3940 Sep 12 22:20 go.mod [2023-09-12T22:22:11.534Z] -rw-rw-r-- 1 jenkins jenkins 34434 Sep 12 22:20 go.sum [2023-09-12T22:22:11.534Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:20 internal [2023-09-12T22:22:11.534Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:20 simulator [2023-09-12T22:22:11.534Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:20 snap [2023-09-12T22:22:11.534Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 12 22:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:11.877Z] + 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=aeb07f10ff8131d5f056bccd17568abba8c1758b --label arch=amd64 --label version=3.1.0-dev.9 . [2023-09-12T22:22:11.877Z] Sending build context to Docker daemon 6.448MB [2023-09-12T22:22:11.877Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:22:11.877Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-12T22:22:11.877Z] ---> 97aace8039e7 [2023-09-12T22:22:11.877Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:22:12.137Z] ---> Running in b6b6236d2fcc [2023-09-12T22:22:12.137Z] Removing intermediate container b6b6236d2fcc [2023-09-12T22:22:12.137Z] ---> 18747725f9a4 [2023-09-12T22:22:12.137Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:22:12.137Z] ---> Running in 7c427afeadb9 [2023-09-12T22:22:12.137Z] Removing intermediate container 7c427afeadb9 [2023-09-12T22:22:12.137Z] ---> 04fe1d939379 [2023-09-12T22:22:12.137Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-12T22:22:12.396Z] ---> Running in ea5d6a2475e3 [2023-09-12T22:22:12.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:22:12.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:22:12.916Z] OK: 271 MiB in 64 packages [2023-09-12T22:22:13.487Z] Removing intermediate container ea5d6a2475e3 [2023-09-12T22:22:13.487Z] ---> db8762d45d18 [2023-09-12T22:22:13.487Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-12T22:22:13.487Z] ---> Running in b2605df6b8bb [2023-09-12T22:22:13.487Z] Removing intermediate container b2605df6b8bb [2023-09-12T22:22:13.487Z] ---> b741f470e903 [2023-09-12T22:22:13.487Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-12T22:22:13.487Z] ---> 0a8cf33949ab [2023-09-12T22:22:13.487Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:22:13.487Z] ---> Running in f643fb535fc7 [2023-09-12T22:22:14.424Z] Removing intermediate container f643fb535fc7 [2023-09-12T22:22:14.424Z] ---> 4c53d1eb0ec1 [2023-09-12T22:22:14.424Z] Step 9/22 : COPY . . [2023-09-12T22:22:14.424Z] ---> 1522de8d12cd [2023-09-12T22:22:14.424Z] Step 10/22 : RUN ${MAKE} [2023-09-12T22:22:14.424Z] ---> Running in 1960eaaeffba [2023-09-12T22:22:14.683Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-12T22:22:38.619Z] Removing intermediate container 1960eaaeffba [2023-09-12T22:22:38.619Z] ---> cf55e0f3fd2a [2023-09-12T22:22:38.619Z] Step 11/22 : FROM alpine:3.18 [2023-09-12T22:22:38.619Z] 3.18: Pulling from library/alpine [2023-09-12T22:22:38.619Z] 7264a8db6415: Already exists [2023-09-12T22:22:38.619Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:22:38.619Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:22:38.619Z] ---> 7e01a0d0a1dc [2023-09-12T22:22:38.619Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-12T22:22:38.619Z] ---> Running in b81c4774f698 [2023-09-12T22:22:38.619Z] Removing intermediate container b81c4774f698 [2023-09-12T22:22:38.619Z] ---> fba91446b101 [2023-09-12T22:22:38.619Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:22:38.619Z] ---> Running in 6e1031ffd68b [2023-09-12T22:22:38.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:22:38.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:22:38.619Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:22:38.619Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:22:38.619Z] OK: 7 MiB in 16 packages [2023-09-12T22:22:38.619Z] Removing intermediate container 6e1031ffd68b [2023-09-12T22:22:38.619Z] ---> 3704cdac4e09 [2023-09-12T22:22:38.619Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-12T22:22:38.619Z] ---> 18e1d21fcfc5 [2023-09-12T22:22:38.619Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-12T22:22:38.619Z] ---> 0c7fcf9e715e [2023-09-12T22:22:38.619Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-12T22:22:38.619Z] ---> 57f3bad0ca29 [2023-09-12T22:22:38.619Z] Step 17/22 : EXPOSE 59901 [2023-09-12T22:22:38.619Z] ---> Running in d550468b9633 [2023-09-12T22:22:38.619Z] Removing intermediate container d550468b9633 [2023-09-12T22:22:38.619Z] ---> fa0a54314dd1 [2023-09-12T22:22:38.619Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-12T22:22:38.619Z] ---> Running in c2aff1b57265 [2023-09-12T22:22:38.619Z] Removing intermediate container c2aff1b57265 [2023-09-12T22:22:38.619Z] ---> 87dcdf4e6c51 [2023-09-12T22:22:38.619Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T22:22:38.619Z] ---> Running in cab193ad528f [2023-09-12T22:22:38.619Z] Removing intermediate container cab193ad528f [2023-09-12T22:22:38.619Z] ---> a100a1e2ea6d [2023-09-12T22:22:38.619Z] Step 20/22 : LABEL arch=amd64 [2023-09-12T22:22:38.619Z] ---> Running in a36cc15fdd9a [2023-09-12T22:22:38.619Z] Removing intermediate container a36cc15fdd9a [2023-09-12T22:22:38.619Z] ---> 080dbdc0feb8 [2023-09-12T22:22:38.619Z] Step 21/22 : LABEL git_sha=aeb07f10ff8131d5f056bccd17568abba8c1758b [2023-09-12T22:22:38.619Z] ---> Running in ce9e1ecd5812 [2023-09-12T22:22:38.619Z] Removing intermediate container ce9e1ecd5812 [2023-09-12T22:22:38.619Z] ---> df3462e933b6 [2023-09-12T22:22:38.619Z] Step 22/22 : LABEL version=3.1.0-dev.9 [2023-09-12T22:22:38.619Z] ---> Running in 81e7d378bf2e [2023-09-12T22:22:38.878Z] Removing intermediate container 81e7d378bf2e [2023-09-12T22:22:38.878Z] ---> ec3d8d0a3a98 [2023-09-12T22:22:38.878Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:22:38.878Z] Successfully built ec3d8d0a3a98 [2023-09-12T22:22:38.878Z] 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-09-12T22:22:38.992Z] provisioning config files... [2023-09-12T22:22:39.002Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14892701104392439599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:22:39.299Z] ---> docker-login.sh [2023-09-12T22:22:39.300Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:22:39.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:22:39.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:22:39.300Z] Configure a credential helper to remove this warning. See [2023-09-12T22:22:39.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:22:39.300Z] [2023-09-12T22:22:39.300Z] Login Succeeded [2023-09-12T22:22:39.300Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:22:39.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:22:39.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:22:39.300Z] Configure a credential helper to remove this warning. See [2023-09-12T22:22:39.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:22:39.300Z] [2023-09-12T22:22:39.300Z] Login Succeeded [2023-09-12T22:22:39.300Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:22:39.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:22:39.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:22:39.559Z] Configure a credential helper to remove this warning. See [2023-09-12T22:22:39.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:22:39.559Z] [2023-09-12T22:22:39.559Z] Login Succeeded [2023-09-12T22:22:39.559Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:22:39.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:22:39.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:22:39.559Z] Configure a credential helper to remove this warning. See [2023-09-12T22:22:39.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:22:39.559Z] [2023-09-12T22:22:39.559Z] Login Succeeded [2023-09-12T22:22:39.559Z] docker.io [2023-09-12T22:22:39.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:22:39.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:22:39.818Z] Configure a credential helper to remove this warning. See [2023-09-12T22:22:39.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:22:39.818Z] [2023-09-12T22:22:39.818Z] Login Succeeded [2023-09-12T22:22:39.818Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:22:39.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:22:39.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:22:39.888Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-09-12T22:22:39.888Z] aeb07f10ff8131d5f056bccd17568abba8c1758b [2023-09-12T22:22:39.888Z] latest [2023-09-12T22:22:39.888Z] 3.1.0-dev.9 [2023-09-12T22:22:39.888Z] aeb07f10ff8131d5f056bccd17568abba8c1758b-3.1.0-dev.9 [2023-09-12T22:22:39.888Z] main [2023-09-12T22:22:39.888Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:40.219Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:aeb07f10ff8131d5f056bccd17568abba8c1758b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:40.532Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:aeb07f10ff8131d5f056bccd17568abba8c1758b [2023-09-12T22:22:40.532Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-12T22:22:40.532Z] 01621eae8b9f: Preparing [2023-09-12T22:22:40.532Z] 7101ae7104bb: Preparing [2023-09-12T22:22:40.532Z] 68b3563a3a95: Preparing [2023-09-12T22:22:40.532Z] d80062def1e3: Preparing [2023-09-12T22:22:40.532Z] 4693057ce236: Preparing [2023-09-12T22:22:40.532Z] 4693057ce236: Layer already exists [2023-09-12T22:22:40.532Z] 01621eae8b9f: Pushed [2023-09-12T22:22:40.532Z] 7101ae7104bb: Pushed [2023-09-12T22:22:40.532Z] d80062def1e3: Pushed [2023-09-12T22:22:43.816Z] 68b3563a3a95: Pushed [2023-09-12T22:22:43.816Z] aeb07f10ff8131d5f056bccd17568abba8c1758b: digest: sha256:3d61c24f5ac1321e1e970a02347b7c4640f4982205a6a13b6f74fde896ed7ad8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:44.128Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:44.445Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-12T22:22:44.445Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-12T22:22:44.445Z] 01621eae8b9f: Preparing [2023-09-12T22:22:44.445Z] 7101ae7104bb: Preparing [2023-09-12T22:22:44.445Z] 68b3563a3a95: Preparing [2023-09-12T22:22:44.445Z] d80062def1e3: Preparing [2023-09-12T22:22:44.445Z] 4693057ce236: Preparing [2023-09-12T22:22:44.445Z] 4693057ce236: Layer already exists [2023-09-12T22:22:44.445Z] 68b3563a3a95: Layer already exists [2023-09-12T22:22:44.445Z] d80062def1e3: Layer already exists [2023-09-12T22:22:44.445Z] 01621eae8b9f: Layer already exists [2023-09-12T22:22:44.445Z] 7101ae7104bb: Layer already exists [2023-09-12T22:22:44.445Z] latest: digest: sha256:3d61c24f5ac1321e1e970a02347b7c4640f4982205a6a13b6f74fde896ed7ad8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:44.754Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:45.071Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.9 [2023-09-12T22:22:45.071Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-12T22:22:45.071Z] 01621eae8b9f: Preparing [2023-09-12T22:22:45.071Z] 7101ae7104bb: Preparing [2023-09-12T22:22:45.071Z] 68b3563a3a95: Preparing [2023-09-12T22:22:45.071Z] d80062def1e3: Preparing [2023-09-12T22:22:45.071Z] 4693057ce236: Preparing [2023-09-12T22:22:45.071Z] d80062def1e3: Layer already exists [2023-09-12T22:22:45.071Z] 68b3563a3a95: Layer already exists [2023-09-12T22:22:45.071Z] 01621eae8b9f: Layer already exists [2023-09-12T22:22:45.071Z] 4693057ce236: Layer already exists [2023-09-12T22:22:45.071Z] 7101ae7104bb: Layer already exists [2023-09-12T22:22:45.071Z] 3.1.0-dev.9: digest: sha256:3d61c24f5ac1321e1e970a02347b7c4640f4982205a6a13b6f74fde896ed7ad8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:45.377Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:aeb07f10ff8131d5f056bccd17568abba8c1758b-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:45.685Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:aeb07f10ff8131d5f056bccd17568abba8c1758b-3.1.0-dev.9 [2023-09-12T22:22:45.685Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-12T22:22:45.685Z] 01621eae8b9f: Preparing [2023-09-12T22:22:45.685Z] 7101ae7104bb: Preparing [2023-09-12T22:22:45.685Z] 68b3563a3a95: Preparing [2023-09-12T22:22:45.685Z] d80062def1e3: Preparing [2023-09-12T22:22:45.685Z] 4693057ce236: Preparing [2023-09-12T22:22:45.685Z] d80062def1e3: Layer already exists [2023-09-12T22:22:45.685Z] 68b3563a3a95: Layer already exists [2023-09-12T22:22:45.685Z] 4693057ce236: Layer already exists [2023-09-12T22:22:45.685Z] 7101ae7104bb: Layer already exists [2023-09-12T22:22:45.685Z] 01621eae8b9f: Layer already exists [2023-09-12T22:22:45.685Z] aeb07f10ff8131d5f056bccd17568abba8c1758b-3.1.0-dev.9: digest: sha256:3d61c24f5ac1321e1e970a02347b7c4640f4982205a6a13b6f74fde896ed7ad8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:45.993Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:46.299Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-09-12T22:22:46.299Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-12T22:22:46.299Z] 01621eae8b9f: Preparing [2023-09-12T22:22:46.299Z] 7101ae7104bb: Preparing [2023-09-12T22:22:46.299Z] 68b3563a3a95: Preparing [2023-09-12T22:22:46.299Z] d80062def1e3: Preparing [2023-09-12T22:22:46.299Z] 4693057ce236: Preparing [2023-09-12T22:22:46.299Z] 7101ae7104bb: Layer already exists [2023-09-12T22:22:46.299Z] 01621eae8b9f: Layer already exists [2023-09-12T22:22:46.299Z] d80062def1e3: Layer already exists [2023-09-12T22:22:46.299Z] 4693057ce236: Layer already exists [2023-09-12T22:22:46.299Z] 68b3563a3a95: Layer already exists [2023-09-12T22:22:46.299Z] main: digest: sha256:3d61c24f5ac1321e1e970a02347b7c4640f4982205a6a13b6f74fde896ed7ad8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:22:46.337Z] ===================================================== [Pipeline] echo [2023-09-12T22:22:46.342Z] taggedImages: [2023-09-12T22:22:46.342Z] - nexus3.edgexfoundry.org:10004/device-modbus:aeb07f10ff8131d5f056bccd17568abba8c1758b [2023-09-12T22:22:46.342Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-12T22:22:46.342Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.9 [2023-09-12T22:22:46.342Z] - nexus3.edgexfoundry.org:10004/device-modbus:aeb07f10ff8131d5f056bccd17568abba8c1758b-3.1.0-dev.9 [2023-09-12T22:22:46.342Z] - 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-09-12T22:22:46.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:22:46.708Z] [2023-09-12T22:22:46.708Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:22:47.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:22:47.004Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T22:22:47.004Z] 5eb5b503b376: Pulling fs layer [2023-09-12T22:22:47.004Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T22:22:47.004Z] ec43610c2a17: Pulling fs layer [2023-09-12T22:22:47.004Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T22:22:47.004Z] 33b1e0a273af: Pulling fs layer [2023-09-12T22:22:47.004Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T22:22:47.004Z] 2f39f015ded8: Pulling fs layer [2023-09-12T22:22:47.004Z] 33b1e0a273af: Waiting [2023-09-12T22:22:47.004Z] 5d3b04190fa2: Waiting [2023-09-12T22:22:47.004Z] 2f39f015ded8: Waiting [2023-09-12T22:22:47.004Z] 3a2ae6a8a46f: Waiting [2023-09-12T22:22:47.004Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T22:22:47.004Z] 5c69ac0246d0: Download complete [2023-09-12T22:22:47.004Z] 3a2ae6a8a46f: Download complete [2023-09-12T22:22:47.004Z] ec43610c2a17: Verifying Checksum [2023-09-12T22:22:47.004Z] ec43610c2a17: Download complete [2023-09-12T22:22:47.004Z] 33b1e0a273af: Verifying Checksum [2023-09-12T22:22:47.004Z] 33b1e0a273af: Download complete [2023-09-12T22:22:47.004Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T22:22:47.004Z] 5d3b04190fa2: Download complete [2023-09-12T22:22:47.262Z] 5eb5b503b376: Verifying Checksum [2023-09-12T22:22:47.262Z] 5eb5b503b376: Download complete [2023-09-12T22:22:47.826Z] 2f39f015ded8: Download complete [2023-09-12T22:22:48.391Z] 5eb5b503b376: Pull complete [2023-09-12T22:22:48.391Z] 5c69ac0246d0: Pull complete [2023-09-12T22:22:48.957Z] ec43610c2a17: Pull complete [2023-09-12T22:22:48.957Z] 3a2ae6a8a46f: Pull complete [2023-09-12T22:22:49.215Z] 33b1e0a273af: Pull complete [2023-09-12T22:22:49.215Z] 5d3b04190fa2: Pull complete [2023-09-12T22:22:53.395Z] 2f39f015ded8: Pull complete [2023-09-12T22:22:53.395Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T22:22:53.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:22:53.395Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:22:53.477Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-09-12T22:22:53.505Z] $ 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-09-12T22:22:57.527Z] $ docker top b89ca8811b8628d64c627f4099a59d99939cdb254ab4a0cd519c7fce26098f52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:22:57.901Z] ---> job-cost.sh [2023-09-12T22:22:57.901Z] lf-activate-venv: SKIPPING [2023-09-12T22:22:57.901Z] INFO: No Stack... [2023-09-12T22:22:59.277Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:22:59.277Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:22:59.561Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-09-12T22:22:59.561Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T22:22:59.573Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-123-stack-cost] [2023-09-12T22:22:59.581Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-123-stack-cost] did not exist. Created. [2023-09-12T22:22:59.581Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:22:59.885Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T22:22:59.917Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:22:59.923Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:22:59.939Z] $ docker stop --time=1 b89ca8811b8628d64c627f4099a59d99939cdb254ab4a0cd519c7fce26098f52 [2023-09-12T22:23:01.098Z] $ docker rm -f --volumes b89ca8811b8628d64c627f4099a59d99939cdb254ab4a0cd519c7fce26098f52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T22:23:02.461Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6036 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-09-12T22:23:02.473Z] Running in /w/workspace/device-modbus-go/123 [Pipeline] { [Pipeline] checkout [2023-09-12T22:23:02.505Z] Selected Git installation does not exist. Using Default [2023-09-12T22:23:02.505Z] The recommended git tool is: NONE [2023-09-12T22:23:07.559Z] using credential edgex-jenkins-ssh [2023-09-12T22:23:07.577Z] Cloning the remote Git repository [2023-09-12T22:23:07.613Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-12T22:23:07.703Z] > git init /w/workspace/device-modbus-go/123 # timeout=10 [2023-09-12T22:23:07.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-12T22:23:07.834Z] > git --version # timeout=10 [2023-09-12T22:23:07.856Z] > git --version # 'git version 2.25.1' [2023-09-12T22:23:07.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:23:08.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:23:09.853Z] Avoid second fetch [2023-09-12T22:23:09.853Z] Checking out Revision aeb07f10ff8131d5f056bccd17568abba8c1758b (main) [2023-09-12T22:23:09.035Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-12T22:23:09.061Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:23:09.865Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T22:23:10.391Z] Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#500)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:23:09.929Z] > git checkout -f aeb07f10ff8131d5f056bccd17568abba8c1758b # timeout=10 [2023-09-12T22:23:11.270Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T22:23:11.270Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:23:11.270Z] Dload Upload Total Spent Left Speed [2023-09-12T22:23:11.270Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2023-09-12T22:23:11.872Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T22:23:12.205Z] + sudo tee /etc/docker/daemon.new [2023-09-12T22:23:12.205Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T22:23:12.205Z] { [2023-09-12T22:23:12.205Z] "registry-mirrors": [ [2023-09-12T22:23:12.205Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T22:23:12.205Z] ], [2023-09-12T22:23:12.205Z] "bip": "10.250.0.254/24", [2023-09-12T22:23:12.205Z] "hosts": [ [2023-09-12T22:23:12.205Z] "tcp://0.0.0.0:5555", [2023-09-12T22:23:12.205Z] "unix:///var/run/docker.sock" [2023-09-12T22:23:12.205Z] ], [2023-09-12T22:23:12.205Z] "mtu": 1458, [2023-09-12T22:23:12.205Z] "selinux-enabled": true, [2023-09-12T22:23:12.205Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T22:23:12.205Z] } [Pipeline] sh [2023-09-12T22:23:12.534Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T22:23:12.865Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:23:31.112Z] provisioning config files... [2023-09-12T22:23:31.136Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/123@tmp/config13170711237884926545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:23:31.482Z] ---> docker-login.sh [2023-09-12T22:23:31.482Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:23:31.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:23:32.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:23:32.024Z] Configure a credential helper to remove this warning. See [2023-09-12T22:23:32.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:23:32.024Z] [2023-09-12T22:23:32.024Z] Login Succeeded [2023-09-12T22:23:32.024Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:23:32.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:23:32.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:23:32.565Z] Configure a credential helper to remove this warning. See [2023-09-12T22:23:32.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:23:32.565Z] [2023-09-12T22:23:32.565Z] Login Succeeded [2023-09-12T22:23:32.565Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:23:32.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:23:32.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:23:32.834Z] Configure a credential helper to remove this warning. See [2023-09-12T22:23:32.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:23:32.834Z] [2023-09-12T22:23:32.834Z] Login Succeeded [2023-09-12T22:23:32.834Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:23:33.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:23:33.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:23:33.104Z] Configure a credential helper to remove this warning. See [2023-09-12T22:23:33.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:23:33.104Z] [2023-09-12T22:23:33.104Z] Login Succeeded [2023-09-12T22:23:33.104Z] docker.io [2023-09-12T22:23:33.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:23:33.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:23:33.641Z] Configure a credential helper to remove this warning. See [2023-09-12T22:23:33.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:23:33.641Z] [2023-09-12T22:23:33.641Z] Login Succeeded [2023-09-12T22:23:33.641Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:23:33.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:23:33.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:23:33.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:23:33.933Z] ========================================================= [2023-09-12T22:23:33.933Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T22:23:33.933Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:23:34.280Z] + 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-09-12T22:23:34.548Z] Sending build context to Docker daemon 3.332MB [2023-09-12T22:23:34.548Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:23:34.548Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T22:23:34.548Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T22:23:34.548Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T22:23:34.548Z] 5d54e960e981: Pulling fs layer [2023-09-12T22:23:34.548Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T22:23:34.548Z] f0e02332f6b5: Pulling fs layer [2023-09-12T22:23:34.548Z] 66412af1f25a: Pulling fs layer [2023-09-12T22:23:34.548Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T22:23:34.548Z] 9a37bb91b891: Pulling fs layer [2023-09-12T22:23:34.548Z] a29adfc67d43: Pulling fs layer [2023-09-12T22:23:34.548Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T22:23:34.548Z] 1baf3a5c0e64: Waiting [2023-09-12T22:23:34.548Z] a29adfc67d43: Waiting [2023-09-12T22:23:34.548Z] d5de9f91c1a4: Waiting [2023-09-12T22:23:34.548Z] 9a37bb91b891: Waiting [2023-09-12T22:23:34.548Z] f0e02332f6b5: Waiting [2023-09-12T22:23:34.548Z] 66412af1f25a: Waiting [2023-09-12T22:23:34.818Z] 5d54e960e981: Verifying Checksum [2023-09-12T22:23:34.818Z] 5d54e960e981: Download complete [2023-09-12T22:23:34.818Z] f0e02332f6b5: Verifying Checksum [2023-09-12T22:23:34.818Z] f0e02332f6b5: Download complete [2023-09-12T22:23:34.818Z] 66412af1f25a: Verifying Checksum [2023-09-12T22:23:34.818Z] 66412af1f25a: Download complete [2023-09-12T22:23:34.818Z] 9fda8d8052c6: Verifying Checksum [2023-09-12T22:23:34.818Z] 9fda8d8052c6: Download complete [2023-09-12T22:23:35.406Z] 9a37bb91b891: Verifying Checksum [2023-09-12T22:23:35.406Z] 9a37bb91b891: Download complete [2023-09-12T22:23:35.679Z] 9fda8d8052c6: Pull complete [2023-09-12T22:23:35.950Z] a29adfc67d43: Download complete [2023-09-12T22:23:36.551Z] 5d54e960e981: Pull complete [2023-09-12T22:23:36.551Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T22:23:36.551Z] d5de9f91c1a4: Download complete [2023-09-12T22:23:36.551Z] c4a7e357bf2a: Download complete [2023-09-12T22:23:37.542Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T22:23:37.542Z] 1baf3a5c0e64: Download complete [2023-09-12T22:23:49.900Z] c4a7e357bf2a: Pull complete [2023-09-12T22:23:49.900Z] f0e02332f6b5: Pull complete [2023-09-12T22:23:49.900Z] 66412af1f25a: Pull complete [2023-09-12T22:23:55.272Z] 1baf3a5c0e64: Pull complete [2023-09-12T22:23:56.689Z] 9a37bb91b891: Pull complete [2023-09-12T22:23:57.745Z] a29adfc67d43: Pull complete [2023-09-12T22:23:59.218Z] d5de9f91c1a4: Pull complete [2023-09-12T22:23:59.218Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T22:23:59.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T22:23:59.218Z] ---> 746ca1b523b5 [2023-09-12T22:23:59.218Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:24:01.165Z] ---> Running in 6824882c83e7 [2023-09-12T22:24:01.433Z] Removing intermediate container 6824882c83e7 [2023-09-12T22:24:01.433Z] ---> a1e25e97be18 [2023-09-12T22:24:01.433Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:24:01.433Z] ---> Running in bcbc121932e6 [2023-09-12T22:24:01.702Z] Removing intermediate container bcbc121932e6 [2023-09-12T22:24:01.702Z] ---> f66c5f613634 [2023-09-12T22:24:01.702Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-12T22:24:01.702Z] ---> Running in d53115d72a00 [2023-09-12T22:24:03.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:24:03.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:24:04.331Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:24:04.331Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-12T22:24:04.331Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:24:04.331Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:24:04.331Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-12T22:24:04.331Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-12T22:24:04.331Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-12T22:24:04.331Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-12T22:24:04.331Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:24:04.331Z] OK: 274 MiB in 64 packages [2023-09-12T22:24:05.745Z] Removing intermediate container d53115d72a00 [2023-09-12T22:24:05.745Z] ---> ac9b28c8481d [2023-09-12T22:24:05.745Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-12T22:24:05.745Z] ---> Running in 41c3abfdbc15 [2023-09-12T22:24:05.745Z] Removing intermediate container 41c3abfdbc15 [2023-09-12T22:24:05.745Z] ---> 05cf55f26284 [2023-09-12T22:24:05.745Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T22:24:06.328Z] ---> 2f6aa6b32d01 [2023-09-12T22:24:06.328Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:24:06.328Z] ---> Running in bcea678af57b [2023-09-12T22:25:14.222Z] Removing intermediate container bcea678af57b [2023-09-12T22:25:14.222Z] ---> c73d425e2bc7 [2023-09-12T22:25:14.222Z] Step 9/10 : COPY . . [2023-09-12T22:25:14.222Z] ---> f1bbe2ef0838 [2023-09-12T22:25:14.222Z] Step 10/10 : RUN ${MAKE} [2023-09-12T22:25:14.222Z] ---> Running in 976061f26fd1 [2023-09-12T22:25:14.222Z] noop [2023-09-12T22:25:14.222Z] Removing intermediate container 976061f26fd1 [2023-09-12T22:25:14.222Z] ---> f6eb548a9301 [2023-09-12T22:25:14.222Z] Successfully built f6eb548a9301 [2023-09-12T22:25:14.222Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:25:14.573Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:25:14.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:25:14.784Z] prd-ubuntu20.04-docker-arm64-4c-16g-6036 does not seem to be running inside a container [2023-09-12T22:25:14.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/123 -v /w/workspace/device-modbus-go/123:/w/workspace/device-modbus-go/123:rw,z -v /w/workspace/device-modbus-go/123@tmp:/w/workspace/device-modbus-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T22:25:15.998Z] $ docker top 6e35e172c605f5318770aff1436710d16eb273a9f8e2642d97ec1e83b2c61965 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:25:16.885Z] + go version [2023-09-12T22:25:16.885Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T22:25:16.902Z] $ docker stop --time=1 6e35e172c605f5318770aff1436710d16eb273a9f8e2642d97ec1e83b2c61965 [2023-09-12T22:25:18.565Z] $ docker rm -f --volumes 6e35e172c605f5318770aff1436710d16eb273a9f8e2642d97ec1e83b2c61965 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:25:19.137Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:25:19.137Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:25:19.333Z] prd-ubuntu20.04-docker-arm64-4c-16g-6036 does not seem to be running inside a container [2023-09-12T22:25:19.438Z] $ 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/123 -v /w/workspace/device-modbus-go/123:/w/workspace/device-modbus-go/123:rw,z -v /w/workspace/device-modbus-go/123@tmp:/w/workspace/device-modbus-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T22:25:20.729Z] $ docker top 47f1bad50a5dd9c9c7c221ebc5c4616b24a9806e18e2f84246ae360d28318ec2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:25:21.579Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/123 [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:25:21.910Z] + make test [2023-09-12T22:25:21.910Z] go test ./... -coverprofile=coverage.out [2023-09-12T22:25:26.123Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-12T22:27:02.764Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-12T22:27:02.764Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 47.9% of statements [2023-09-12T22:27:02.764Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T22:27:02.764Z] go vet ./... [2023-09-12T22:27:09.411Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:27:09.411Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:27:09.411Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:27:09.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:27:09.439Z] $ docker stop --time=1 47f1bad50a5dd9c9c7c221ebc5c4616b24a9806e18e2f84246ae360d28318ec2 [2023-09-12T22:27:11.184Z] $ docker rm -f --volumes 47f1bad50a5dd9c9c7c221ebc5c4616b24a9806e18e2f84246ae360d28318ec2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:27:12.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:27:12.271Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T22:27:12.668Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:27:13.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:27:13.355Z] + ls -al . [2023-09-12T22:27:13.355Z] total 188 [2023-09-12T22:27:13.356Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 22:25 . [2023-09-12T22:27:13.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:23 .. [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 22:23 .dockerignore [2023-09-12T22:27:13.356Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:23 .git [2023-09-12T22:27:13.356Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:23 .github [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 12 22:23 .gitignore [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:23 .golangci.yml [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 12 22:23 Attribution.txt [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 12 22:23 CHANGELOG.md [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 12 22:23 Dockerfile [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:23 GOVERNANCE.md [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 22:23 Jenkinsfile [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:23 LICENSE [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 12 22:23 Makefile [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 12 22:23 OWNERS.md [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 12 22:23 README.md [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 22:20 VERSION [2023-09-12T22:27:13.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:23 bin [2023-09-12T22:27:13.356Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:23 cmd [2023-09-12T22:27:13.356Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 12 22:26 coverage.out [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 3940 Sep 12 22:23 go.mod [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 34434 Sep 12 22:23 go.sum [2023-09-12T22:27:13.356Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:23 internal [2023-09-12T22:27:13.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:23 simulator [2023-09-12T22:27:13.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:23 snap [2023-09-12T22:27:13.356Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 12 22:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:27:13.683Z] + 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=aeb07f10ff8131d5f056bccd17568abba8c1758b --label arch=arm64 --label version=3.1.0-dev.9 . [2023-09-12T22:27:13.948Z] Sending build context to Docker daemon 3.357MB [2023-09-12T22:27:13.949Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:27:13.949Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-12T22:27:13.949Z] ---> f6eb548a9301 [2023-09-12T22:27:13.949Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:27:13.949Z] ---> Running in cb659ac3bd46 [2023-09-12T22:27:14.214Z] Removing intermediate container cb659ac3bd46 [2023-09-12T22:27:14.214Z] ---> b7febc4a2e55 [2023-09-12T22:27:14.214Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:27:14.214Z] ---> Running in c03c5213f4ca [2023-09-12T22:27:14.481Z] Removing intermediate container c03c5213f4ca [2023-09-12T22:27:14.481Z] ---> f77ed78f658e [2023-09-12T22:27:14.481Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-12T22:27:14.750Z] ---> Running in cec72bccbf99 [2023-09-12T22:27:15.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:27:15.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:27:16.911Z] OK: 274 MiB in 64 packages [2023-09-12T22:27:17.494Z] Removing intermediate container cec72bccbf99 [2023-09-12T22:27:17.494Z] ---> f1a6e40e9868 [2023-09-12T22:27:17.494Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-12T22:27:17.494Z] ---> Running in feae4b0c040f [2023-09-12T22:27:17.760Z] Removing intermediate container feae4b0c040f [2023-09-12T22:27:17.760Z] ---> a253e1475c26 [2023-09-12T22:27:17.760Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-12T22:27:18.341Z] ---> edc44a43be19 [2023-09-12T22:27:18.341Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:27:18.341Z] ---> Running in 091b7901292d [2023-09-12T22:27:23.676Z] Removing intermediate container 091b7901292d [2023-09-12T22:27:23.676Z] ---> 0c81d4c6f1dc [2023-09-12T22:27:23.676Z] Step 9/22 : COPY . . [2023-09-12T22:27:23.676Z] ---> e333a962ab48 [2023-09-12T22:27:23.676Z] Step 10/22 : RUN ${MAKE} [2023-09-12T22:27:23.676Z] ---> Running in 66f1fc5d5597 [2023-09-12T22:27:24.635Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-12T22:29:31.385Z] Removing intermediate container 66f1fc5d5597 [2023-09-12T22:29:31.385Z] ---> d2b7f8f1f495 [2023-09-12T22:29:31.385Z] Step 11/22 : FROM alpine:3.18 [2023-09-12T22:29:31.385Z] 3.18: Pulling from library/alpine [2023-09-12T22:29:31.385Z] 9fda8d8052c6: Already exists [2023-09-12T22:29:31.385Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:29:31.385Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:29:31.385Z] ---> f6648c04cd6c [2023-09-12T22:29:31.385Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-12T22:29:31.385Z] ---> Running in 721d65ad3b98 [2023-09-12T22:29:31.385Z] Removing intermediate container 721d65ad3b98 [2023-09-12T22:29:31.385Z] ---> 47c4b8122b0a [2023-09-12T22:29:31.385Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:29:31.385Z] ---> Running in 8c604c30263b [2023-09-12T22:29:31.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:29:31.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:29:31.385Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:29:31.385Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:29:31.385Z] OK: 8 MiB in 16 packages [2023-09-12T22:29:31.385Z] Removing intermediate container 8c604c30263b [2023-09-12T22:29:31.385Z] ---> 522d4e723771 [2023-09-12T22:29:31.385Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-12T22:29:31.385Z] ---> 021c212daa6a [2023-09-12T22:29:31.385Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-12T22:29:31.385Z] ---> 1cd754c2ee65 [2023-09-12T22:29:31.385Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-12T22:29:31.385Z] ---> 9d508b7d63e5 [2023-09-12T22:29:31.385Z] Step 17/22 : EXPOSE 59901 [2023-09-12T22:29:31.385Z] ---> Running in 9caa2b4fe713 [2023-09-12T22:29:31.385Z] Removing intermediate container 9caa2b4fe713 [2023-09-12T22:29:31.385Z] ---> 9784bfcad57e [2023-09-12T22:29:31.385Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-12T22:29:31.385Z] ---> Running in 943f420fa23e [2023-09-12T22:29:31.385Z] Removing intermediate container 943f420fa23e [2023-09-12T22:29:31.385Z] ---> 5bc33439a272 [2023-09-12T22:29:31.385Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T22:29:31.385Z] ---> Running in 17dba26880d1 [2023-09-12T22:29:31.385Z] Removing intermediate container 17dba26880d1 [2023-09-12T22:29:31.385Z] ---> 96a4324a9c5f [2023-09-12T22:29:31.385Z] Step 20/22 : LABEL arch=arm64 [2023-09-12T22:29:31.385Z] ---> Running in 04644d2af18c [2023-09-12T22:29:31.385Z] Removing intermediate container 04644d2af18c [2023-09-12T22:29:31.385Z] ---> 818bc48ddc55 [2023-09-12T22:29:31.385Z] Step 21/22 : LABEL git_sha=aeb07f10ff8131d5f056bccd17568abba8c1758b [2023-09-12T22:29:31.385Z] ---> Running in 835e18298539 [2023-09-12T22:29:31.385Z] Removing intermediate container 835e18298539 [2023-09-12T22:29:31.385Z] ---> 2a94b3ad52a6 [2023-09-12T22:29:31.385Z] Step 22/22 : LABEL version=3.1.0-dev.9 [2023-09-12T22:29:31.385Z] ---> Running in a09a1167f6d4 [2023-09-12T22:29:31.385Z] Removing intermediate container a09a1167f6d4 [2023-09-12T22:29:31.385Z] ---> d4b1f1a90825 [2023-09-12T22:29:31.385Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:29:31.385Z] Successfully built d4b1f1a90825 [2023-09-12T22:29:31.385Z] 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-09-12T22:29:31.506Z] provisioning config files... [2023-09-12T22:29:31.526Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/123@tmp/config8534278237722312750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:29:31.875Z] ---> docker-login.sh [2023-09-12T22:29:31.875Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:29:31.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:29:32.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:29:32.147Z] Configure a credential helper to remove this warning. See [2023-09-12T22:29:32.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:29:32.147Z] [2023-09-12T22:29:32.147Z] Login Succeeded [2023-09-12T22:29:32.147Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:29:32.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:29:32.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:29:32.413Z] Configure a credential helper to remove this warning. See [2023-09-12T22:29:32.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:29:32.413Z] [2023-09-12T22:29:32.413Z] Login Succeeded [2023-09-12T22:29:32.413Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:29:32.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:29:32.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:29:32.947Z] Configure a credential helper to remove this warning. See [2023-09-12T22:29:32.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:29:32.947Z] [2023-09-12T22:29:32.947Z] Login Succeeded [2023-09-12T22:29:32.947Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:29:33.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:29:33.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:29:33.215Z] Configure a credential helper to remove this warning. See [2023-09-12T22:29:33.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:29:33.215Z] [2023-09-12T22:29:33.215Z] Login Succeeded [2023-09-12T22:29:33.215Z] docker.io [2023-09-12T22:29:33.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:29:33.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:29:33.744Z] Configure a credential helper to remove this warning. See [2023-09-12T22:29:33.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:29:33.744Z] [2023-09-12T22:29:33.744Z] Login Succeeded [2023-09-12T22:29:33.744Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:29:33.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:29:33.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:29:33.817Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-09-12T22:29:33.817Z] aeb07f10ff8131d5f056bccd17568abba8c1758b [2023-09-12T22:29:33.817Z] latest [2023-09-12T22:29:33.817Z] 3.1.0-dev.9 [2023-09-12T22:29:33.817Z] aeb07f10ff8131d5f056bccd17568abba8c1758b-3.1.0-dev.9 [2023-09-12T22:29:33.817Z] main [2023-09-12T22:29:33.817Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:34.173Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:aeb07f10ff8131d5f056bccd17568abba8c1758b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:34.515Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:aeb07f10ff8131d5f056bccd17568abba8c1758b [2023-09-12T22:29:34.516Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-12T22:29:34.516Z] 802777b559d8: Preparing [2023-09-12T22:29:34.516Z] ff65ee9bf819: Preparing [2023-09-12T22:29:34.516Z] a960a73eaf9f: Preparing [2023-09-12T22:29:34.516Z] 0a21165d685e: Preparing [2023-09-12T22:29:34.516Z] b2191e2be29d: Preparing [2023-09-12T22:29:34.780Z] 0a21165d685e: Pushed [2023-09-12T22:29:34.780Z] 802777b559d8: Pushed [2023-09-12T22:29:34.780Z] ff65ee9bf819: Pushed [2023-09-12T22:29:36.718Z] b2191e2be29d: Layer already exists [2023-09-12T22:29:40.051Z] a960a73eaf9f: Pushed [2023-09-12T22:29:40.051Z] aeb07f10ff8131d5f056bccd17568abba8c1758b: digest: sha256:60aba4c5f50e9dec33cd24b1ef958029bc88903306e4ec10d9fd7807513d150b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:40.401Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:40.737Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-12T22:29:40.738Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-12T22:29:40.738Z] 802777b559d8: Preparing [2023-09-12T22:29:40.738Z] ff65ee9bf819: Preparing [2023-09-12T22:29:40.738Z] a960a73eaf9f: Preparing [2023-09-12T22:29:40.738Z] 0a21165d685e: Preparing [2023-09-12T22:29:40.738Z] b2191e2be29d: Preparing [2023-09-12T22:29:40.738Z] b2191e2be29d: Layer already exists [2023-09-12T22:29:40.738Z] ff65ee9bf819: Layer already exists [2023-09-12T22:29:40.738Z] 0a21165d685e: Layer already exists [2023-09-12T22:29:40.738Z] 802777b559d8: Layer already exists [2023-09-12T22:29:40.738Z] a960a73eaf9f: Layer already exists [2023-09-12T22:29:41.001Z] latest: digest: sha256:60aba4c5f50e9dec33cd24b1ef958029bc88903306e4ec10d9fd7807513d150b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:41.347Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:41.677Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.9 [2023-09-12T22:29:41.678Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-12T22:29:41.678Z] 802777b559d8: Preparing [2023-09-12T22:29:41.678Z] ff65ee9bf819: Preparing [2023-09-12T22:29:41.678Z] a960a73eaf9f: Preparing [2023-09-12T22:29:41.678Z] 0a21165d685e: Preparing [2023-09-12T22:29:41.678Z] b2191e2be29d: Preparing [2023-09-12T22:29:41.678Z] a960a73eaf9f: Layer already exists [2023-09-12T22:29:41.678Z] 0a21165d685e: Layer already exists [2023-09-12T22:29:41.678Z] b2191e2be29d: Layer already exists [2023-09-12T22:29:41.678Z] ff65ee9bf819: Layer already exists [2023-09-12T22:29:41.678Z] 802777b559d8: Layer already exists [2023-09-12T22:29:41.678Z] 3.1.0-dev.9: digest: sha256:60aba4c5f50e9dec33cd24b1ef958029bc88903306e4ec10d9fd7807513d150b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:42.023Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:aeb07f10ff8131d5f056bccd17568abba8c1758b-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:42.360Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:aeb07f10ff8131d5f056bccd17568abba8c1758b-3.1.0-dev.9 [2023-09-12T22:29:42.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-12T22:29:42.360Z] 802777b559d8: Preparing [2023-09-12T22:29:42.360Z] ff65ee9bf819: Preparing [2023-09-12T22:29:42.360Z] a960a73eaf9f: Preparing [2023-09-12T22:29:42.360Z] 0a21165d685e: Preparing [2023-09-12T22:29:42.360Z] b2191e2be29d: Preparing [2023-09-12T22:29:42.360Z] b2191e2be29d: Layer already exists [2023-09-12T22:29:42.360Z] a960a73eaf9f: Layer already exists [2023-09-12T22:29:42.360Z] 0a21165d685e: Layer already exists [2023-09-12T22:29:42.360Z] ff65ee9bf819: Layer already exists [2023-09-12T22:29:42.360Z] 802777b559d8: Layer already exists [2023-09-12T22:29:42.360Z] aeb07f10ff8131d5f056bccd17568abba8c1758b-3.1.0-dev.9: digest: sha256:60aba4c5f50e9dec33cd24b1ef958029bc88903306e4ec10d9fd7807513d150b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:42.698Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:43.039Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-09-12T22:29:43.040Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-12T22:29:43.040Z] 802777b559d8: Preparing [2023-09-12T22:29:43.040Z] ff65ee9bf819: Preparing [2023-09-12T22:29:43.040Z] a960a73eaf9f: Preparing [2023-09-12T22:29:43.040Z] 0a21165d685e: Preparing [2023-09-12T22:29:43.040Z] b2191e2be29d: Preparing [2023-09-12T22:29:43.040Z] 0a21165d685e: Layer already exists [2023-09-12T22:29:43.040Z] b2191e2be29d: Layer already exists [2023-09-12T22:29:43.040Z] a960a73eaf9f: Layer already exists [2023-09-12T22:29:43.040Z] 802777b559d8: Layer already exists [2023-09-12T22:29:43.040Z] ff65ee9bf819: Layer already exists [2023-09-12T22:29:43.040Z] main: digest: sha256:60aba4c5f50e9dec33cd24b1ef958029bc88903306e4ec10d9fd7807513d150b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:29:43.100Z] ===================================================== [Pipeline] echo [2023-09-12T22:29:43.110Z] taggedImages: [2023-09-12T22:29:43.110Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:aeb07f10ff8131d5f056bccd17568abba8c1758b [2023-09-12T22:29:43.110Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-12T22:29:43.110Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.9 [2023-09-12T22:29:43.110Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:aeb07f10ff8131d5f056bccd17568abba8c1758b-3.1.0-dev.9 [2023-09-12T22:29:43.110Z] - 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-09-12T22:29:43.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:29:43.456Z] [2023-09-12T22:29:43.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:29:43.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:29:43.778Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T22:29:43.778Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T22:29:43.778Z] 04944245beec: Pulling fs layer [2023-09-12T22:29:43.778Z] 699f458cf7ca: Pulling fs layer [2023-09-12T22:29:43.778Z] 765212b225bb: Pulling fs layer [2023-09-12T22:29:43.778Z] f23df028b6ca: Pulling fs layer [2023-09-12T22:29:43.778Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T22:29:43.778Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T22:29:43.778Z] 765212b225bb: Waiting [2023-09-12T22:29:43.778Z] f23df028b6ca: Waiting [2023-09-12T22:29:43.778Z] d65c8cfc05b1: Waiting [2023-09-12T22:29:43.778Z] 2437ff75d9bd: Waiting [2023-09-12T22:29:43.778Z] 04944245beec: Verifying Checksum [2023-09-12T22:29:43.778Z] 04944245beec: Download complete [2023-09-12T22:29:44.045Z] 765212b225bb: Verifying Checksum [2023-09-12T22:29:44.046Z] 765212b225bb: Download complete [2023-09-12T22:29:44.046Z] f23df028b6ca: Download complete [2023-09-12T22:29:44.046Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T22:29:44.046Z] d65c8cfc05b1: Download complete [2023-09-12T22:29:44.046Z] 699f458cf7ca: Verifying Checksum [2023-09-12T22:29:44.046Z] 699f458cf7ca: Download complete [2023-09-12T22:29:44.633Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T22:29:44.633Z] 8998bd30e6a1: Download complete [2023-09-12T22:29:46.573Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T22:29:46.573Z] 2437ff75d9bd: Download complete [2023-09-12T22:29:50.821Z] 8998bd30e6a1: Pull complete [2023-09-12T22:29:51.088Z] 04944245beec: Pull complete [2023-09-12T22:29:52.494Z] 699f458cf7ca: Pull complete [2023-09-12T22:29:52.494Z] 765212b225bb: Pull complete [2023-09-12T22:29:53.077Z] f23df028b6ca: Pull complete [2023-09-12T22:29:53.344Z] d65c8cfc05b1: Pull complete [2023-09-12T22:30:08.341Z] 2437ff75d9bd: Pull complete [2023-09-12T22:30:08.341Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T22:30:08.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:30:08.341Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:30:08.513Z] prd-ubuntu20.04-docker-arm64-4c-16g-6036 does not seem to be running inside a container [2023-09-12T22:30:08.563Z] $ 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/123 -v /w/workspace/device-modbus-go/123:/w/workspace/device-modbus-go/123:rw,z -v /w/workspace/device-modbus-go/123@tmp:/w/workspace/device-modbus-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T22:30:10.967Z] $ docker top 2c8f973228e356ff7f51f316ebb8e6d02093f2f6b6c1fa1e1b38755488c0bba7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:30:11.491Z] ---> job-cost.sh [2023-09-12T22:30:11.756Z] lf-activate-venv: SKIPPING [2023-09-12T22:30:11.756Z] INFO: No Stack... [2023-09-12T22:30:12.021Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T22:30:12.980Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:30:13.613Z] + cat+ /w/workspace/device-modbus-go/123/archives/cost.csv [2023-09-12T22:30:13.613Z] cut -d, -f6 [Pipeline] lock [2023-09-12T22:30:13.642Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-123-stack-cost] [2023-09-12T22:30:13.647Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-123-stack-cost] did not exist. Created. [2023-09-12T22:30:13.648Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:30:13.973Z] /w/workspace/device-modbus-go/123@tmp/durable-92e21e38/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T22:30:14.299Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T22:30:14.318Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T22:30:14.370Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:30:14.376Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:30:14.385Z] $ docker stop --time=1 2c8f973228e356ff7f51f316ebb8e6d02093f2f6b6c1fa1e1b38755488c0bba7 [2023-09-12T22:30:15.877Z] $ docker rm -f --volumes 2c8f973228e356ff7f51f316ebb8e6d02093f2f6b6c1fa1e1b38755488c0bba7 [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-09-12T22:30:16.327Z] provisioning config files... [2023-09-12T22:30:16.335Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14584328295018610394tmp [Pipeline] { [Pipeline] sh [2023-09-12T22:30:16.637Z] + set +x [2023-09-12T22:30:16.637Z] + bash -s -- [2023-09-12T22:30:16.637Z] + curl -s https://codecov.io/bash [2023-09-12T22:30:16.637Z] [2023-09-12T22:30:16.637Z] _____ _ [2023-09-12T22:30:16.637Z] / ____| | | [2023-09-12T22:30:16.637Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T22:30:16.637Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T22:30:16.637Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T22:30:16.637Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T22:30:16.637Z] Bash-1.0.6 [2023-09-12T22:30:16.637Z] [2023-09-12T22:30:16.637Z] [2023-09-12T22:30:16.637Z] ==> git version 2.25.1 found [2023-09-12T22:30:16.637Z] ==> 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-09-12T22:30:16.637Z] Release-Date: 2020-01-08 [2023-09-12T22:30:16.637Z] 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-09-12T22:30:16.637Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T22:30:16.637Z] ==> Jenkins CI detected. [2023-09-12T22:30:16.637Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-09-12T22:30:16.637Z] project root: . [2023-09-12T22:30:16.637Z] --> token set from env [2023-09-12T22:30:16.637Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T22:30:16.637Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T22:30:16.637Z] ==> Python coveragepy not found [2023-09-12T22:30:16.637Z] ==> Searching for coverage reports in: [2023-09-12T22:30:16.637Z] + . [2023-09-12T22:30:16.637Z] -> Found 1 reports [2023-09-12T22:30:16.637Z] ==> Detecting git/mercurial file structure [2023-09-12T22:30:16.637Z] ==> Reading reports [2023-09-12T22:30:16.895Z] + ./coverage.out bytes=24334 [2023-09-12T22:30:16.895Z] ==> Appending adjustments [2023-09-12T22:30:16.895Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T22:30:16.895Z] + Found adjustments [2023-09-12T22:30:16.895Z] ==> Gzipping contents [2023-09-12T22:30:16.895Z] 4.0K /tmp/codecov.i8agri.gz [2023-09-12T22:30:16.895Z] ==> Uploading reports [2023-09-12T22:30:16.895Z] url: https://codecov.io [2023-09-12T22:30:16.895Z] query: branch=main&commit=aeb07f10ff8131d5f056bccd17568abba8c1758b&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T22:30:16.895Z] -> Pinging Codecov [2023-09-12T22:30:16.895Z] 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=aeb07f10ff8131d5f056bccd17568abba8c1758b&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T22:30:16.895Z] -> Uploading to [2023-09-12T22:30:16.895Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/55DBCA73C666E3227836607328DD7E49/aeb07f10ff8131d5f056bccd17568abba8c1758b/4c403489-f803-4d92-9d40-031aebd6319e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T223016Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d16b3f2af49b9e68255578a10f2d54d85dc9400e53a9f095964d78928d47042 [2023-09-12T22:30:16.895Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:30:16.895Z] Dload Upload Total Spent Left Speed [2023-09-12T22:30:17.154Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21365 --:--:-- --:--:-- --:--:-- 21365 [2023-09-12T22:30:17.154Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/aeb07f10ff8131d5f056bccd17568abba8c1758b [Pipeline] } [2023-09-12T22:30:17.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-12T22:30:17.384Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-12T22:30:17.393Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:30:17.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:30:17.695Z] [2023-09-12T22:30:17.695Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:30:17.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:30:17.998Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-12T22:30:17.998Z] df9b9388f04a: Pulling fs layer [2023-09-12T22:30:17.998Z] 52dc419b0ee2: Pulling fs layer [2023-09-12T22:30:17.998Z] 25bc292e5bac: Pulling fs layer [2023-09-12T22:30:17.998Z] 114826534d7a: Pulling fs layer [2023-09-12T22:30:17.998Z] 4657fd5d0bcf: Pulling fs layer [2023-09-12T22:30:17.998Z] 6ad1cebc031e: Pulling fs layer [2023-09-12T22:30:17.998Z] 8a3aa393b2d8: Pulling fs layer [2023-09-12T22:30:17.998Z] 114826534d7a: Waiting [2023-09-12T22:30:17.998Z] 4657fd5d0bcf: Waiting [2023-09-12T22:30:17.998Z] 6ad1cebc031e: Waiting [2023-09-12T22:30:17.998Z] 8a3aa393b2d8: Waiting [2023-09-12T22:30:17.998Z] 25bc292e5bac: Download complete [2023-09-12T22:30:17.998Z] 52dc419b0ee2: Verifying Checksum [2023-09-12T22:30:17.998Z] 52dc419b0ee2: Download complete [2023-09-12T22:30:17.998Z] 4657fd5d0bcf: Download complete [2023-09-12T22:30:17.998Z] df9b9388f04a: Download complete [2023-09-12T22:30:18.256Z] 6ad1cebc031e: Verifying Checksum [2023-09-12T22:30:18.256Z] 6ad1cebc031e: Download complete [2023-09-12T22:30:18.256Z] df9b9388f04a: Pull complete [2023-09-12T22:30:18.256Z] 52dc419b0ee2: Pull complete [2023-09-12T22:30:18.256Z] 25bc292e5bac: Pull complete [2023-09-12T22:30:18.823Z] 8a3aa393b2d8: Verifying Checksum [2023-09-12T22:30:18.823Z] 8a3aa393b2d8: Download complete [2023-09-12T22:30:18.823Z] 114826534d7a: Verifying Checksum [2023-09-12T22:30:18.823Z] 114826534d7a: Download complete [2023-09-12T22:30:22.108Z] 114826534d7a: Pull complete [2023-09-12T22:30:22.108Z] 4657fd5d0bcf: Pull complete [2023-09-12T22:30:22.367Z] 6ad1cebc031e: Pull complete [2023-09-12T22:30:25.664Z] 8a3aa393b2d8: Pull complete [2023-09-12T22:30:25.664Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-12T22:30:25.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:30:25.664Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:30:25.749Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-09-12T22:30:25.769Z] $ 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-09-12T22:30:30.266Z] $ docker top 5c3039c41bb11fa4f854c926000f429061d3b6e200a26f792d3fefc09908e7c7 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-12T22:30:30.340Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-09-12T22:30:30.613Z] + set -o pipefail [2023-09-12T22:30:30.613Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-09-12T22:30:35.879Z] [2023-09-12T22:30:35.879Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-09-12T22:30:35.879Z] [2023-09-12T22:30:35.879Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/ac29900e-1e6d-4831-a59e-f0f8b2d7f314 [2023-09-12T22:30:35.879Z] [2023-09-12T22:30:35.879Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-09-12T22:30:35.879Z] [2023-09-12T22:30:35.879Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-12T22:30:35.879Z] [2023-09-12T22:30:35.879Z] [2023-09-12T22:30:35.879Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-12T22:30:35.879Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-12T22:30:35.879Z] More details here: https://snyk.co/ue1NS [2023-09-12T22:30:35.879Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-12T22:30:35.879Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-12T22:30:35.880Z] $ docker stop --time=1 5c3039c41bb11fa4f854c926000f429061d3b6e200a26f792d3fefc09908e7c7 [2023-09-12T22:30:39.092Z] $ docker rm -f --volumes 5c3039c41bb11fa4f854c926000f429061d3b6e200a26f792d3fefc09908e7c7 [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-09-12T22:30:39.806Z] + git log --format=format:%s -1 aeb07f10ff8131d5f056bccd17568abba8c1758b [Pipeline] sh [2023-09-12T22:30:40.095Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:30:40.095Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:30:40.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:30:40.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:30:40.461Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-09-12T22:30:40.480Z] $ 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-09-12T22:30:40.901Z] $ docker top 8c0159505c1431f71cdd7f686400515cd482ee6b6dd1a80d17250ee06950a7e9 -eo pid,comm [2023-09-12T22:30:40.954Z] 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-09-12T22:30:40.954Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:30:40.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:30:40.995Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:30:41.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:30:41.091Z] $ docker exec 8c0159505c1431f71cdd7f686400515cd482ee6b6dd1a80d17250ee06950a7e9 ssh-agent [2023-09-12T22:30:41.204Z] SSH_AUTH_SOCK=/tmp/ssh-yTSyYW0GLBXo/agent.34 [2023-09-12T22:30:41.204Z] SSH_AGENT_PID=40 [2023-09-12T22:30:41.209Z] Running ssh-add (command line suppressed) [2023-09-12T22:30:41.304Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9403930260941679138.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9403930260941679138.key) [2023-09-12T22:30:41.327Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:30:41.611Z] + git semver tag [2023-09-12T22:30:41.870Z] 2023-09-12 22:30:41,766 [run_tag] DEBUG tag force:False [2023-09-12T22:30:41.870Z] 2023-09-12 22:30:41,766 [check_head_tag] DEBUG check head tag [2023-09-12T22:30:41.870Z] 2023-09-12 22:30:41,767 [execute] INFO git cat-file --batch-check [2023-09-12T22:30:41.870Z] 2023-09-12 22:30:41,767 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T22:30:41.870Z] 2023-09-12 22:30:41,770 [execute] INFO git cat-file --batch [2023-09-12T22:30:41.870Z] 2023-09-12 22:30:41,770 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T22:30:41.870Z] 2023-09-12 22:30:41,780 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-12T22:30:41.870Z] 2023-09-12 22:30:41,781 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 [2023-09-12T22:30:41.870Z] 2023-09-12 22:30:41,781 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:30:41.870Z] 2023-09-12 22:30:41,786 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-12T22:30:41.870Z] 3.1.0-dev.9 [Pipeline] } [2023-09-12T22:30:41.871Z] $ docker exec --env ******** --env ******** 8c0159505c1431f71cdd7f686400515cd482ee6b6dd1a80d17250ee06950a7e9 ssh-agent -k [2023-09-12T22:30:41.959Z] unset SSH_AUTH_SOCK; [2023-09-12T22:30:41.960Z] unset SSH_AGENT_PID; [2023-09-12T22:30:41.960Z] echo Agent pid 40 killed; [2023-09-12T22:30:41.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:30:42.280Z] + git semver [Pipeline] } [2023-09-12T22:30:42.542Z] $ docker stop --time=1 8c0159505c1431f71cdd7f686400515cd482ee6b6dd1a80d17250ee06950a7e9 [2023-09-12T22:30:43.790Z] $ docker rm -f --volumes 8c0159505c1431f71cdd7f686400515cd482ee6b6dd1a80d17250ee06950a7e9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:30:44.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:30:44.167Z] [2023-09-12T22:30:44.167Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:30:44.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:30:44.464Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-12T22:30:44.464Z] ab5ef0e58194: Pulling fs layer [2023-09-12T22:30:44.464Z] 9712f1f96733: Pulling fs layer [2023-09-12T22:30:44.464Z] 63f879dbbcfc: Pulling fs layer [2023-09-12T22:30:44.464Z] 0d9ebad4ef96: Pulling fs layer [2023-09-12T22:30:44.464Z] e9a5061849ea: Pulling fs layer [2023-09-12T22:30:44.464Z] d747dcd14b5f: Pulling fs layer [2023-09-12T22:30:44.464Z] 2de7ff778b66: Pulling fs layer [2023-09-12T22:30:44.464Z] 0d9ebad4ef96: Waiting [2023-09-12T22:30:44.464Z] d747dcd14b5f: Waiting [2023-09-12T22:30:44.464Z] 2de7ff778b66: Waiting [2023-09-12T22:30:44.464Z] 9712f1f96733: Verifying Checksum [2023-09-12T22:30:44.464Z] 9712f1f96733: Download complete [2023-09-12T22:30:44.721Z] 63f879dbbcfc: Verifying Checksum [2023-09-12T22:30:44.721Z] 63f879dbbcfc: Download complete [2023-09-12T22:30:44.979Z] 0d9ebad4ef96: Verifying Checksum [2023-09-12T22:30:44.979Z] 0d9ebad4ef96: Download complete [2023-09-12T22:30:44.979Z] ab5ef0e58194: Verifying Checksum [2023-09-12T22:30:44.979Z] ab5ef0e58194: Download complete [2023-09-12T22:30:44.979Z] d747dcd14b5f: Download complete [2023-09-12T22:30:44.979Z] e9a5061849ea: Verifying Checksum [2023-09-12T22:30:44.979Z] e9a5061849ea: Download complete [2023-09-12T22:30:44.979Z] 2de7ff778b66: Verifying Checksum [2023-09-12T22:30:44.979Z] 2de7ff778b66: Download complete [2023-09-12T22:30:47.506Z] ab5ef0e58194: Pull complete [2023-09-12T22:30:47.506Z] 9712f1f96733: Pull complete [2023-09-12T22:30:48.071Z] 63f879dbbcfc: Pull complete [2023-09-12T22:30:52.285Z] 0d9ebad4ef96: Pull complete [2023-09-12T22:30:52.285Z] e9a5061849ea: Pull complete [2023-09-12T22:30:52.285Z] d747dcd14b5f: Pull complete [2023-09-12T22:30:52.852Z] 2de7ff778b66: Pull complete [2023-09-12T22:30:53.113Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-12T22:30:53.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:30:53.113Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:30:53.197Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-09-12T22:30:53.222Z] $ 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-09-12T22:30:57.781Z] $ docker top 67930c3216df1cb94c04cf5f34edff4fe43356d6c72faa0a006f374a5c368b9f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:30:57.856Z] provisioning config files... [2023-09-12T22:30:57.862Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8365160688721913454tmp [2023-09-12T22:30:57.872Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12412530776023120015tmp [2023-09-12T22:30:57.880Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17261690863471882199tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:30:57.893Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:30:58.173Z] ---> sigul-configuration.sh [2023-09-12T22:30:58.174Z] gpg: directory `/root/.gnupg' created [2023-09-12T22:30:58.174Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-12T22:30:58.174Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-12T22:30:58.174Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-12T22:30:58.174Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-12T22:30:58.174Z] gpg: CAST5 encrypted data [2023-09-12T22:30:58.174Z] gpg: encrypted with 1 passphrase [2023-09-12T22:30:58.174Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-12T22:30:58.458Z] + mkdir /home/jenkins [2023-09-12T22:30:58.458Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-12T22:30:58.742Z] + 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-09-12T22:30:58.750Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:30:59.031Z] ---> sigul-install.sh [2023-09-12T22:30:59.031Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-12T22:30:59.314Z] + git tag --list [2023-09-12T22:30:59.314Z] 0.7.1 [2023-09-12T22:30:59.314Z] v1.0.0 [2023-09-12T22:30:59.314Z] v1.1.0 [2023-09-12T22:30:59.314Z] v1.1.1 [2023-09-12T22:30:59.314Z] v1.2.2 [2023-09-12T22:30:59.314Z] v1.3.0 [2023-09-12T22:30:59.314Z] v1.3.1 [2023-09-12T22:30:59.314Z] v2.0.0 [2023-09-12T22:30:59.314Z] v2.1.0 [2023-09-12T22:30:59.314Z] v2.1.1 [2023-09-12T22:30:59.314Z] v2.2.0 [2023-09-12T22:30:59.314Z] v2.3.0 [2023-09-12T22:30:59.314Z] v3.0 [2023-09-12T22:30:59.314Z] v3.0.0 [2023-09-12T22:30:59.314Z] v3.1.0-dev.1 [2023-09-12T22:30:59.314Z] v3.1.0-dev.2 [2023-09-12T22:30:59.314Z] v3.1.0-dev.3 [2023-09-12T22:30:59.314Z] v3.1.0-dev.4 [2023-09-12T22:30:59.314Z] v3.1.0-dev.5 [2023-09-12T22:30:59.314Z] v3.1.0-dev.6 [2023-09-12T22:30:59.314Z] v3.1.0-dev.7 [2023-09-12T22:30:59.314Z] v3.1.0-dev.8 [2023-09-12T22:30:59.314Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-12T22:30:59.595Z] + lftools sign git-tag v3.1.0-dev.9 [2023-09-12T22:31:00.161Z] Signing Git tag with Sigul... [2023-09-12T22:31:00.161Z] Signing v3.1.0-dev.9 [Pipeline] echo [2023-09-12T22:31:00.427Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:31:00.706Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-12T22:31:00.714Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-12T22:31:00.725Z] $ docker stop --time=1 67930c3216df1cb94c04cf5f34edff4fe43356d6c72faa0a006f374a5c368b9f [2023-09-12T22:31:02.021Z] $ docker rm -f --volumes 67930c3216df1cb94c04cf5f34edff4fe43356d6c72faa0a006f374a5c368b9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-12T22:31:02.443Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:31:02.443Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:31:02.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:31:02.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:31:02.813Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-09-12T22:31:02.835Z] $ 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-09-12T22:31:03.166Z] $ docker top 35b938c7b4aae08b567c77a60b637752be4fe340b0128f679e28c597be261b43 -eo pid,comm [2023-09-12T22:31:03.219Z] 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-09-12T22:31:03.219Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:31:03.246Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:31:03.246Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:31:03.354Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:31:03.347Z] $ docker exec 35b938c7b4aae08b567c77a60b637752be4fe340b0128f679e28c597be261b43 ssh-agent [2023-09-12T22:31:03.456Z] SSH_AUTH_SOCK=/tmp/ssh-1Ml8EDcyJWSn/agent.31 [2023-09-12T22:31:03.456Z] SSH_AGENT_PID=37 [2023-09-12T22:31:03.461Z] Running ssh-add (command line suppressed) [2023-09-12T22:31:03.552Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9161510914889755481.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9161510914889755481.key) [2023-09-12T22:31:03.575Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:31:03.862Z] + git semver bump pre [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,025 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,025 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,025 [bump_version] DEBUG bumped version:3.1.0-dev.10 [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,025 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,025 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,025 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,027 [execute] INFO git cat-file --batch-check [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,032 [execute] INFO git cat-file --batch [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:31:04.120Z] 2023-09-12 22:31:04,037 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-12T22:31:04.120Z] 3.1.0-dev.10 [Pipeline] } [2023-09-12T22:31:04.118Z] $ docker exec --env ******** --env ******** 35b938c7b4aae08b567c77a60b637752be4fe340b0128f679e28c597be261b43 ssh-agent -k [2023-09-12T22:31:04.204Z] unset SSH_AUTH_SOCK; [2023-09-12T22:31:04.204Z] unset SSH_AGENT_PID; [2023-09-12T22:31:04.204Z] echo Agent pid 37 killed; [2023-09-12T22:31:04.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:31:04.533Z] + git semver [Pipeline] } [2023-09-12T22:31:04.796Z] $ docker stop --time=1 35b938c7b4aae08b567c77a60b637752be4fe340b0128f679e28c597be261b43 [2023-09-12T22:31:06.050Z] $ docker rm -f --volumes 35b938c7b4aae08b567c77a60b637752be4fe340b0128f679e28c597be261b43 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:31:06.396Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:31:06.396Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:31:06.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:31:06.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:31:06.762Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-09-12T22:31:06.778Z] $ 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-09-12T22:31:07.094Z] $ docker top f9112a18c29272c2cfb124ed65543c0915d2fb736b9619b59f42485598e3a3c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:31:07.184Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:31:07.184Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:31:07.286Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:31:07.279Z] $ docker exec f9112a18c29272c2cfb124ed65543c0915d2fb736b9619b59f42485598e3a3c4 ssh-agent [2023-09-12T22:31:07.378Z] SSH_AUTH_SOCK=/tmp/ssh-81o5qkX0vDUq/agent.32 [2023-09-12T22:31:07.378Z] SSH_AGENT_PID=39 [2023-09-12T22:31:07.382Z] Running ssh-add (command line suppressed) [2023-09-12T22:31:07.468Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7325544444306125941.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7325544444306125941.key) [2023-09-12T22:31:07.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:31:07.776Z] + git semver push [2023-09-12T22:31:08.035Z] 2023-09-12 22:31:07,935 [run_push] DEBUG push [2023-09-12T22:31:08.035Z] 2023-09-12 22:31:07,936 [execute] INFO git cat-file --batch-check [2023-09-12T22:31:08.035Z] 2023-09-12 22:31:07,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:31:08.035Z] 2023-09-12 22:31:07,939 [execute] INFO git rev-list 7764b348cbed9da6edac0d9416c371531cfcf891 -- [2023-09-12T22:31:08.035Z] 2023-09-12 22:31:07,940 [execute] DEBUG Popen(['git', 'rev-list', '7764b348cbed9da6edac0d9416c371531cfcf891', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:31:08.035Z] 2023-09-12 22:31:07,948 [execute] INFO git fetch -v origin [2023-09-12T22:31:08.035Z] 2023-09-12 22:31:07,949 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-12T22:31:09.411Z] 2023-09-12 22:31:09,110 [run_push] DEBUG no remote changes detected [2023-09-12T22:31:09.411Z] 2023-09-12 22:31:09,111 [execute] INFO git push origin semver [2023-09-12T22:31:09.411Z] 2023-09-12 22:31:09,111 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:31:09.980Z] 2023-09-12 22:31:09,826 [run_push] DEBUG push all version tags [2023-09-12T22:31:09.980Z] 2023-09-12 22:31:09,826 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-12T22:31:09.980Z] 2023-09-12 22:31:09,827 [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-09-12T22:31:10.546Z] 2023-09-12 22:31:10,516 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-12T22:31:10.546Z] 3.1.0-dev.10 [Pipeline] } [2023-09-12T22:31:10.589Z] $ docker exec --env ******** --env ******** f9112a18c29272c2cfb124ed65543c0915d2fb736b9619b59f42485598e3a3c4 ssh-agent -k [2023-09-12T22:31:10.681Z] unset SSH_AUTH_SOCK; [2023-09-12T22:31:10.682Z] unset SSH_AGENT_PID; [2023-09-12T22:31:10.682Z] echo Agent pid 39 killed; [2023-09-12T22:31:10.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:31:11.044Z] + git semver [Pipeline] } [2023-09-12T22:31:11.347Z] $ docker stop --time=1 f9112a18c29272c2cfb124ed65543c0915d2fb736b9619b59f42485598e3a3c4 [2023-09-12T22:31:12.631Z] $ docker rm -f --volumes f9112a18c29272c2cfb124ed65543c0915d2fb736b9619b59f42485598e3a3c4 [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-09-12T22:31:13.223Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-09-12T22:31:13.223Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-12T22:31:13.223Z] total 16 [2023-09-12T22:31:13.223Z] drwxr-xr-x 3 root root 4096 Sep 12 22:22 . [2023-09-12T22:31:13.223Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 22:30 .. [2023-09-12T22:31:13.223Z] drwxr-xr-x 2 root root 4096 Sep 12 22:22 cost [2023-09-12T22:31:13.223Z] -rw-r--r-- 1 root root 88 Sep 12 22:22 cost.csv [2023-09-12T22:31:13.223Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-12T22:31:13.223Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-12T22:31:13.223Z] total 16 [2023-09-12T22:31:13.223Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:22 . [2023-09-12T22:31:13.223Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 22:30 .. [2023-09-12T22:31:13.223Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 22:22 cost [2023-09-12T22:31:13.223Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 12 22:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:31:13.515Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:31:14.374Z] ---> package-listing.sh [2023-09-12T22:31:14.374Z] ++ facter osfamily [2023-09-12T22:31:14.374Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T22:31:14.634Z] + OS_FAMILY=debian [2023-09-12T22:31:14.634Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-09-12T22:31:14.634Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T22:31:14.634Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T22:31:14.634Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T22:31:14.634Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T22:31:14.634Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-12T22:31:14.634Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T22:31:14.634Z] + case "${OS_FAMILY}" in [2023-09-12T22:31:14.634Z] + dpkg -l [2023-09-12T22:31:14.634Z] + grep '^ii' [2023-09-12T22:31:14.634Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T22:31:14.634Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T22:31:14.634Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T22:31:14.634Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-12T22:31:14.634Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-09-12T22:31:14.634Z] + 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-09-12T22:31:14.643Z] 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-09-12T22:31:14.919Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:31:15.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:31:15.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:31:15.556Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-09-12T22:31:15.578Z] $ 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-09-12T22:31:15.780Z] $ docker top 7489192124d7a319c590ab77100920ce9561c84158e7f5dcf86352854a10a52a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:31:16.132Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T22:31:16.416Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T22:31:16.701Z] + ls /var/log/sa-host [2023-09-12T22:31:16.701Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:31:29.843Z] provisioning config files... [2023-09-12T22:31:29.855Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14192948465256759448tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:31:29.868Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:31:30.147Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T22:31:30.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:31:30.486Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T22:31:30.495Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:31:30.775Z] ---> sudo-logs.sh [2023-09-12T22:31:30.775Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T22:31:30.799Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:31:31.079Z] ---> job-cost.sh [2023-09-12T22:31:31.079Z] lf-activate-venv: SKIPPING [2023-09-12T22:31:31.079Z] DEBUG: total: 0.2199999988079071 [2023-09-12T22:31:31.079Z] INFO: Retrieving Stack Cost... [2023-09-12T22:31:31.338Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:31:31.904Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T22:31:31.915Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:31:32.193Z] ---> logs-deploy.sh [2023-09-12T22:31:32.193Z] lf-activate-venv: SKIPPING [2023-09-12T22:31:32.193Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/123 [2023-09-12T22:31:32.193Z] INFO: archiving workspace using pattern(s): [2023-09-12T22:31:33.129Z] Archives upload complete. [2023-09-12T22:31:33.129Z] INFO: archiving logs to Nexus