Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea9b4c32d21bf45c7fb886341563953752c62ac9 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-ssh727221488839907208.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-ssh17822877134065077487.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-ssh7928930943502776028.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-ssh7905029242336845896.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-ssh1006019373337236097.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7795 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 ea9b4c32d21bf45c7fb886341563953752c62ac9 (main) Commit message: "Merge pull request #505 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.30" > 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 ea9b4c32d21bf45c7fb886341563953752c62ac9 # timeout=10 > git rev-list --no-walk 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-25T06:05:10.103Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-25T06:05:10.147Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-25T06:05:10.161Z] ========================================================= [2023-09-25T06:05:10.161Z] EdgeX Global Pipelines Version Info [2023-09-25T06:05:10.161Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:05:10.888Z] ------------------- [2023-09-25T06:05:10.888Z] stable info: [2023-09-25T06:05:10.888Z] ------------------- [2023-09-25T06:05:10.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-25T06:05:10.888Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T06:05:10.888Z] Message: update stable to v1.0.254 [2023-09-25T06:05:11.460Z] ------------------- [2023-09-25T06:05:11.460Z] experimental info: [2023-09-25T06:05:11.460Z] ------------------- [2023-09-25T06:05:11.460Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-25T06:05:11.460Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T06:05:11.460Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-25T06:05:11.663Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-25T06:05:11.680Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-25T06:05:11.694Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-25T06:05:11.711Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-25T06:05:11.726Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-25T06:05:11.741Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-25T06:05:11.751Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-25T06:05:11.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-25T06:05:11.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-25T06:05:11.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-25T06:05:11.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-25T06:05:11.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-25T06:05:11.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-25T06:05:11.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-25T06:05:11.880Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T06:05:11.894Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T06:05:11.907Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T06:05:11.920Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T06:05:11.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-25T06:05:11.950Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-25T06:05:11.966Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-25T06:05:11.976Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-25T06:05:11.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-25T06:05:11.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-25T06:05:12.004Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-25T06:05:12.013Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-25T06:05:12.022Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-25T06:05:12.031Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-25T06:05:12.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-25T06:05:12.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-25T06:05:12.065Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea9b4c32d21bf45c7fb886341563953752c62ac9 [Pipeline] echo [2023-09-25T06:05:12.082Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea9b4c3 [Pipeline] echo [2023-09-25T06:05:12.098Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T06:05:12.141Z] provisioning config files... [2023-09-25T06:05:12.155Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12998606877918992408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:05:12.463Z] ---> docker-login.sh [2023-09-25T06:05:12.463Z] nexus3.edgexfoundry.org:10001 [2023-09-25T06:05:12.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:05:13.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:05:13.011Z] Configure a credential helper to remove this warning. See [2023-09-25T06:05:13.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:05:13.011Z] [2023-09-25T06:05:13.011Z] Login Succeeded [2023-09-25T06:05:13.011Z] nexus3.edgexfoundry.org:10002 [2023-09-25T06:05:13.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:05:13.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:05:13.011Z] Configure a credential helper to remove this warning. See [2023-09-25T06:05:13.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:05:13.011Z] [2023-09-25T06:05:13.011Z] Login Succeeded [2023-09-25T06:05:13.011Z] nexus3.edgexfoundry.org:10003 [2023-09-25T06:05:13.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:05:13.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:05:13.011Z] Configure a credential helper to remove this warning. See [2023-09-25T06:05:13.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:05:13.011Z] [2023-09-25T06:05:13.011Z] Login Succeeded [2023-09-25T06:05:13.011Z] nexus3.edgexfoundry.org:10004 [2023-09-25T06:05:13.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:05:13.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:05:13.270Z] Configure a credential helper to remove this warning. See [2023-09-25T06:05:13.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:05:13.270Z] [2023-09-25T06:05:13.270Z] Login Succeeded [2023-09-25T06:05:13.270Z] docker.io [2023-09-25T06:05:13.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:05:13.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:05:13.529Z] Configure a credential helper to remove this warning. See [2023-09-25T06:05:13.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:05:13.529Z] [2023-09-25T06:05:13.529Z] Login Succeeded [2023-09-25T06:05:13.529Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T06:05:13.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-25T06:05:13.919Z] + git rev-list -1 --merges ea9b4c32d21bf45c7fb886341563953752c62ac9~1..ea9b4c32d21bf45c7fb886341563953752c62ac9 [Pipeline] echo [2023-09-25T06:05:13.969Z] -----------> git rev-list -1 --merges ea9b4c32d21bf45c7fb886341563953752c62ac9~1..ea9b4c32d21bf45c7fb886341563953752c62ac9 ea9b4c32d21bf45c7fb886341563953752c62ac9 [2023-09-25T06:05:13.969Z] ea9b4c32d21bf45c7fb886341563953752c62ac9 [false] [Pipeline] sh [2023-09-25T06:05:14.260Z] + git log --format=format:%s -1 ea9b4c32d21bf45c7fb886341563953752c62ac9 [Pipeline] echo [2023-09-25T06:05:14.275Z] ========================================================= [2023-09-25T06:05:14.275Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-25T06:05:14.275Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T06:05:14.620Z] + git log --format=format:%s -1 ea9b4c32d21bf45c7fb886341563953752c62ac9 [Pipeline] echo [2023-09-25T06:05:14.632Z] [semverPrep] GIT_COMMIT: ea9b4c32d21bf45c7fb886341563953752c62ac9, Commit Message: Merge pull request #505 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.30 [Pipeline] echo [2023-09-25T06:05:14.642Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-25T06:05:15.003Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T06:05:15.003Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-25T06:05:15.003Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-25T06:05:15.003Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-25T06:05:15.003Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-25T06:05:15.003Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-25T06:05:15.003Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:05:15.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T06:05:15.414Z] [2023-09-25T06:05:15.414Z] 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-25T06:05:16.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T06:05:16.483Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-25T06:05:16.484Z] b85a868b505f: Pulling fs layer [2023-09-25T06:05:16.484Z] e2be974225ed: Pulling fs layer [2023-09-25T06:05:16.484Z] 339a4e72a1f5: Pulling fs layer [2023-09-25T06:05:16.484Z] 988bab9f4d93: Pulling fs layer [2023-09-25T06:05:16.484Z] 1469e6f7b9e6: Pulling fs layer [2023-09-25T06:05:16.484Z] eaf3925da568: Pulling fs layer [2023-09-25T06:05:16.484Z] bab4dde63d76: Pulling fs layer [2023-09-25T06:05:16.484Z] bde34c3a00c8: Pulling fs layer [2023-09-25T06:05:16.484Z] b352a97aabf1: Pulling fs layer [2023-09-25T06:05:16.484Z] 4872d77fe225: Pulling fs layer [2023-09-25T06:05:16.484Z] 5851b861e8e6: Pulling fs layer [2023-09-25T06:05:16.484Z] 1469e6f7b9e6: Waiting [2023-09-25T06:05:16.484Z] eaf3925da568: Waiting [2023-09-25T06:05:16.484Z] bab4dde63d76: Waiting [2023-09-25T06:05:16.484Z] bde34c3a00c8: Waiting [2023-09-25T06:05:16.484Z] b352a97aabf1: Waiting [2023-09-25T06:05:16.484Z] 4872d77fe225: Waiting [2023-09-25T06:05:16.484Z] 5851b861e8e6: Waiting [2023-09-25T06:05:16.484Z] 988bab9f4d93: Waiting [2023-09-25T06:05:16.484Z] e2be974225ed: Download complete [2023-09-25T06:05:16.484Z] 988bab9f4d93: Download complete [2023-09-25T06:05:16.484Z] 339a4e72a1f5: Verifying Checksum [2023-09-25T06:05:16.484Z] 339a4e72a1f5: Download complete [2023-09-25T06:05:16.484Z] 1469e6f7b9e6: Download complete [2023-09-25T06:05:16.484Z] eaf3925da568: Verifying Checksum [2023-09-25T06:05:16.484Z] eaf3925da568: Download complete [2023-09-25T06:05:16.484Z] bde34c3a00c8: Download complete [2023-09-25T06:05:16.484Z] b352a97aabf1: Download complete [2023-09-25T06:05:16.743Z] 4872d77fe225: Download complete [2023-09-25T06:05:16.743Z] 5851b861e8e6: Verifying Checksum [2023-09-25T06:05:16.743Z] 5851b861e8e6: Download complete [2023-09-25T06:05:16.743Z] b85a868b505f: Verifying Checksum [2023-09-25T06:05:16.743Z] b85a868b505f: Download complete [2023-09-25T06:05:17.002Z] bab4dde63d76: Verifying Checksum [2023-09-25T06:05:17.002Z] bab4dde63d76: Download complete [2023-09-25T06:05:17.955Z] b85a868b505f: Pull complete [2023-09-25T06:05:18.214Z] e2be974225ed: Pull complete [2023-09-25T06:05:18.784Z] 339a4e72a1f5: Pull complete [2023-09-25T06:05:18.784Z] 988bab9f4d93: Pull complete [2023-09-25T06:05:19.043Z] 1469e6f7b9e6: Pull complete [2023-09-25T06:05:19.302Z] eaf3925da568: Pull complete [2023-09-25T06:05:21.205Z] bab4dde63d76: Pull complete [2023-09-25T06:05:21.205Z] bde34c3a00c8: Pull complete [2023-09-25T06:05:21.464Z] b352a97aabf1: Pull complete [2023-09-25T06:05:21.464Z] 4872d77fe225: Pull complete [2023-09-25T06:05:21.725Z] 5851b861e8e6: Pull complete [2023-09-25T06:05:21.725Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-25T06:05:21.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T06:05:21.725Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:05:21.832Z] prd-ubuntu20.04-docker-8c-8g-7795 does not seem to be running inside a container [2023-09-25T06:05:21.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T06:05:25.665Z] $ docker top 9b00ec88b58189e34c6b4f58043c591b437a5ad0d8be2d4d94be069950ed8dfa -eo pid,comm [2023-09-25T06:05:25.912Z] 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-25T06:05:25.912Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T06:05:25.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T06:05:25.951Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T06:05:26.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T06:05:26.258Z] $ docker exec 9b00ec88b58189e34c6b4f58043c591b437a5ad0d8be2d4d94be069950ed8dfa ssh-agent [2023-09-25T06:05:26.897Z] SSH_AUTH_SOCK=/tmp/ssh-OXkDILQywaIE/agent.32 [2023-09-25T06:05:26.897Z] SSH_AGENT_PID=38 [2023-09-25T06:05:26.907Z] Running ssh-add (command line suppressed) [2023-09-25T06:05:27.027Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2536976351626030647.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2536976351626030647.key) [2023-09-25T06:05:29.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T06:05:31.065Z] + git tag --points-at HEAD [Pipeline] } [2023-09-25T06:05:31.155Z] $ docker exec --env ******** --env ******** 9b00ec88b58189e34c6b4f58043c591b437a5ad0d8be2d4d94be069950ed8dfa ssh-agent -k [2023-09-25T06:05:31.262Z] unset SSH_AUTH_SOCK; [2023-09-25T06:05:31.263Z] unset SSH_AGENT_PID; [2023-09-25T06:05:31.263Z] echo Agent pid 38 killed; [2023-09-25T06:05:31.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-25T06:05:31.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T06:05:31.294Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T06:05:31.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T06:05:31.430Z] $ docker exec 9b00ec88b58189e34c6b4f58043c591b437a5ad0d8be2d4d94be069950ed8dfa ssh-agent [2023-09-25T06:05:31.545Z] SSH_AUTH_SOCK=/tmp/ssh-QHzhptSsqfuD/agent.69 [2023-09-25T06:05:31.545Z] SSH_AGENT_PID=75 [2023-09-25T06:05:31.551Z] Running ssh-add (command line suppressed) [2023-09-25T06:05:31.667Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3159844597189493733.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3159844597189493733.key) [2023-09-25T06:05:31.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T06:05:31.999Z] + git semver init [2023-09-25T06:05:32.259Z] 2023-09-25 06:05:32,235 [run_init] DEBUG init version:0.0.0 force:False [2023-09-25T06:05:32.259Z] 2023-09-25 06:05:32,236 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-25T06:05:32.259Z] 2023-09-25 06:05:32,236 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-25T06:05:32.259Z] 2023-09-25 06:05:32,237 [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-25T06:05:33.198Z] 2023-09-25 06:05:33,016 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-09-25T06:05:33.198Z] 2023-09-25 06:05:33,017 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-09-25T06:05:33.198Z] 2023-09-25 06:05:33,017 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-25T06:05:33.198Z] 2023-09-25 06:05:33,017 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-25T06:05:33.198Z] 3.1.0-dev.13 [Pipeline] } [2023-09-25T06:05:33.212Z] $ docker exec --env ******** --env ******** 9b00ec88b58189e34c6b4f58043c591b437a5ad0d8be2d4d94be069950ed8dfa ssh-agent -k [2023-09-25T06:05:33.309Z] unset SSH_AUTH_SOCK; [2023-09-25T06:05:33.310Z] unset SSH_AGENT_PID; [2023-09-25T06:05:33.310Z] echo Agent pid 75 killed; [2023-09-25T06:05:33.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T06:05:33.629Z] + git semver [Pipeline] } [2023-09-25T06:05:33.908Z] $ docker stop --time=1 9b00ec88b58189e34c6b4f58043c591b437a5ad0d8be2d4d94be069950ed8dfa [2023-09-25T06:05:35.233Z] $ docker rm -f --volumes 9b00ec88b58189e34c6b4f58043c591b437a5ad0d8be2d4d94be069950ed8dfa [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T06:05:35.563Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-25T06:05:35.768Z] Stashed 1 file(s) [Pipeline] echo [2023-09-25T06:05:35.771Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.13 [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-25T06:05:35.937Z] provisioning config files... [2023-09-25T06:05:35.945Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11793150859267569881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:05:36.242Z] ---> docker-login.sh [2023-09-25T06:05:36.242Z] nexus3.edgexfoundry.org:10001 [2023-09-25T06:05:36.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:05:36.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:05:36.242Z] Configure a credential helper to remove this warning. See [2023-09-25T06:05:36.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:05:36.242Z] [2023-09-25T06:05:36.242Z] Login Succeeded [2023-09-25T06:05:36.242Z] nexus3.edgexfoundry.org:10002 [2023-09-25T06:05:36.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:05:36.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:05:36.242Z] Configure a credential helper to remove this warning. See [2023-09-25T06:05:36.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:05:36.242Z] [2023-09-25T06:05:36.242Z] Login Succeeded [2023-09-25T06:05:36.242Z] nexus3.edgexfoundry.org:10003 [2023-09-25T06:05:36.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:05:36.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:05:36.502Z] Configure a credential helper to remove this warning. See [2023-09-25T06:05:36.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:05:36.502Z] [2023-09-25T06:05:36.502Z] Login Succeeded [2023-09-25T06:05:36.502Z] nexus3.edgexfoundry.org:10004 [2023-09-25T06:05:36.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:05:36.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:05:36.502Z] Configure a credential helper to remove this warning. See [2023-09-25T06:05:36.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:05:36.502Z] [2023-09-25T06:05:36.502Z] Login Succeeded [2023-09-25T06:05:36.502Z] docker.io [2023-09-25T06:05:36.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:05:36.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:05:36.761Z] Configure a credential helper to remove this warning. See [2023-09-25T06:05:36.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:05:36.761Z] [2023-09-25T06:05:36.761Z] Login Succeeded [2023-09-25T06:05:36.761Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T06:05:36.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T06:05:36.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T06:05:36.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T06:05:36.848Z] ========================================================= [2023-09-25T06:05:36.848Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-25T06:05:36.848Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:05:37.166Z] + 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-25T06:05:37.166Z] Sending build context to Docker daemon 6.475MB [2023-09-25T06:05:37.166Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T06:05:37.166Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-25T06:05:37.424Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-25T06:05:37.424Z] 7264a8db6415: Pulling fs layer [2023-09-25T06:05:37.424Z] c4d48a809fc2: Pulling fs layer [2023-09-25T06:05:37.424Z] 4f1c88b9dad5: Pulling fs layer [2023-09-25T06:05:37.424Z] ad3a456e5733: Pulling fs layer [2023-09-25T06:05:37.424Z] 33e27b845d1e: Pulling fs layer [2023-09-25T06:05:37.424Z] c68163c4e522: Pulling fs layer [2023-09-25T06:05:37.424Z] 50da416c3ac9: Pulling fs layer [2023-09-25T06:05:37.424Z] 23d2d4c4bb30: Pulling fs layer [2023-09-25T06:05:37.424Z] 50da416c3ac9: Waiting [2023-09-25T06:05:37.424Z] 23d2d4c4bb30: Waiting [2023-09-25T06:05:37.424Z] 33e27b845d1e: Waiting [2023-09-25T06:05:37.424Z] c68163c4e522: Waiting [2023-09-25T06:05:37.424Z] ad3a456e5733: Waiting [2023-09-25T06:05:37.424Z] c4d48a809fc2: Download complete [2023-09-25T06:05:37.424Z] ad3a456e5733: Download complete [2023-09-25T06:05:37.424Z] 33e27b845d1e: Verifying Checksum [2023-09-25T06:05:37.424Z] 33e27b845d1e: Download complete [2023-09-25T06:05:37.424Z] 7264a8db6415: Verifying Checksum [2023-09-25T06:05:37.424Z] 7264a8db6415: Download complete [2023-09-25T06:05:37.424Z] c68163c4e522: Verifying Checksum [2023-09-25T06:05:37.424Z] c68163c4e522: Download complete [2023-09-25T06:05:37.683Z] 7264a8db6415: Pull complete [2023-09-25T06:05:37.683Z] 23d2d4c4bb30: Verifying Checksum [2023-09-25T06:05:37.683Z] 23d2d4c4bb30: Download complete [2023-09-25T06:05:37.683Z] c4d48a809fc2: Pull complete [2023-09-25T06:05:37.944Z] 4f1c88b9dad5: Verifying Checksum [2023-09-25T06:05:37.944Z] 4f1c88b9dad5: Download complete [2023-09-25T06:05:38.202Z] 50da416c3ac9: Verifying Checksum [2023-09-25T06:05:38.202Z] 50da416c3ac9: Download complete [2023-09-25T06:05:41.482Z] 4f1c88b9dad5: Pull complete [2023-09-25T06:05:41.482Z] ad3a456e5733: Pull complete [2023-09-25T06:05:41.482Z] 33e27b845d1e: Pull complete [2023-09-25T06:05:41.482Z] c68163c4e522: Pull complete [2023-09-25T06:05:44.771Z] 50da416c3ac9: Pull complete [2023-09-25T06:05:46.145Z] 23d2d4c4bb30: Pull complete [2023-09-25T06:05:46.712Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-25T06:05:46.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-25T06:05:46.971Z] ---> 0786185ac409 [2023-09-25T06:05:46.971Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-25T06:05:50.888Z] Still waiting to schedule task [2023-09-25T06:05:50.888Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-25T06:06:05.172Z] ---> Running in d9ce93910bd3 [2023-09-25T06:06:06.111Z] Removing intermediate container d9ce93910bd3 [2023-09-25T06:06:06.111Z] ---> 5b2881bcdd72 [2023-09-25T06:06:06.111Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T06:06:07.050Z] ---> Running in c4bd892294d2 [2023-09-25T06:06:07.986Z] Removing intermediate container c4bd892294d2 [2023-09-25T06:06:07.986Z] ---> b07c5140c4d0 [2023-09-25T06:06:07.986Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-25T06:06:08.554Z] ---> Running in 812e7ad8e848 [2023-09-25T06:06:09.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T06:06:09.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T06:06:10.023Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T06:06:10.023Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-25T06:06:10.023Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T06:06:10.023Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T06:06:10.023Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-25T06:06:10.023Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-25T06:06:10.023Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-25T06:06:10.282Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-25T06:06:10.282Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T06:06:10.282Z] OK: 270 MiB in 60 packages [2023-09-25T06:06:13.624Z] Removing intermediate container 812e7ad8e848 [2023-09-25T06:06:13.624Z] ---> 1e51522abd65 [2023-09-25T06:06:13.624Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-25T06:06:14.192Z] ---> Running in 08c9c47d0710 [2023-09-25T06:06:15.570Z] Removing intermediate container 08c9c47d0710 [2023-09-25T06:06:15.570Z] ---> e9e752d396d1 [2023-09-25T06:06:15.570Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-25T06:06:16.189Z] ---> 12f2a91726b3 [2023-09-25T06:06:16.189Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T06:06:17.568Z] ---> Running in 8f8fb801bef0 [2023-09-25T06:07:14.149Z] Removing intermediate container 8f8fb801bef0 [2023-09-25T06:07:14.149Z] ---> 60525d477242 [2023-09-25T06:07:14.149Z] Step 9/10 : COPY . . [2023-09-25T06:07:14.149Z] ---> 17c235d79bbb [2023-09-25T06:07:14.149Z] Step 10/10 : RUN ${MAKE} [2023-09-25T06:07:14.149Z] ---> Running in 5b66f1465c3d [2023-09-25T06:07:14.149Z] noop [2023-09-25T06:07:14.149Z] Removing intermediate container 5b66f1465c3d [2023-09-25T06:07:14.149Z] ---> 4c207f25cf9d [2023-09-25T06:07:14.149Z] Successfully built 4c207f25cf9d [2023-09-25T06:07:14.149Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:07:14.471Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T06:07:14.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:07:14.548Z] prd-ubuntu20.04-docker-8c-8g-7795 does not seem to be running inside a container [2023-09-25T06:07:14.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T06:07:15.041Z] $ docker top 8c65382e7628efe7f4bdd310f5a92a26f9112a5c5cf6203b7354698c955079fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T06:07:15.379Z] + go version [2023-09-25T06:07:15.379Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-25T06:07:15.392Z] $ docker stop --time=1 8c65382e7628efe7f4bdd310f5a92a26f9112a5c5cf6203b7354698c955079fa [2023-09-25T06:07:16.832Z] $ docker rm -f --volumes 8c65382e7628efe7f4bdd310f5a92a26f9112a5c5cf6203b7354698c955079fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:07:17.237Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T06:07:17.237Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:07:17.304Z] prd-ubuntu20.04-docker-8c-8g-7795 does not seem to be running inside a container [2023-09-25T06:07:17.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T06:07:17.646Z] $ docker top e4a25ceb2aba79deacd37f3f44cddd09ac4578fa40326a4c4556077ca74471df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T06:07:17.977Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-25T06:07:18.269Z] + make test [2023-09-25T06:07:18.269Z] go test ./... -coverprofile=coverage.out [2023-09-25T06:07:20.169Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-25T06:07:30.128Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-25T06:07:30.128Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2023-09-25T06:07:35.389Z] go vet ./... [2023-09-25T06:07:36.519Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7796 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-09-25T06:07:36.532Z] Running in /w/workspace/device-modbus-go/127 [Pipeline] { [Pipeline] checkout [2023-09-25T06:07:36.567Z] Selected Git installation does not exist. Using Default [2023-09-25T06:07:36.568Z] The recommended git tool is: NONE [2023-09-25T06:07:38.668Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T06:07:38.668Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T06:07:38.668Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T06:07:38.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T06:07:38.691Z] $ docker stop --time=1 e4a25ceb2aba79deacd37f3f44cddd09ac4578fa40326a4c4556077ca74471df [2023-09-25T06:07:41.880Z] using credential edgex-jenkins-ssh [2023-09-25T06:07:41.898Z] Cloning the remote Git repository [2023-09-25T06:07:41.950Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-25T06:07:42.056Z] > git init /w/workspace/device-modbus-go/127 # timeout=10 [2023-09-25T06:07:42.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-25T06:07:42.218Z] > git --version # timeout=10 [2023-09-25T06:07:42.237Z] > git --version # 'git version 2.25.1' [2023-09-25T06:07:42.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T06:07:42.398Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T06:07:44.448Z] $ docker rm -f --volumes e4a25ceb2aba79deacd37f3f44cddd09ac4578fa40326a4c4556077ca74471df [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T06:07:45.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T06:07:45.166Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-25T06:07:45.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T06:07:45.950Z] + ls -al . [2023-09-25T06:07:45.950Z] total 192 [2023-09-25T06:07:45.950Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 06:07 . [2023-09-25T06:07:45.950Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:05 .. [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 25 06:05 .dockerignore [2023-09-25T06:07:45.950Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 06:07 .git [2023-09-25T06:07:45.950Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:05 .github [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 25 06:05 .gitignore [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 06:05 .golangci.yml [2023-09-25T06:07:45.950Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 06:05 .semver [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 25 06:05 Attribution.txt [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 25 06:05 CHANGELOG.md [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 25 06:05 Dockerfile [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 06:05 GOVERNANCE.md [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 06:05 Jenkinsfile [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 06:05 LICENSE [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 25 06:05 Makefile [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 25 06:05 OWNERS.md [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 25 06:05 README.md [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 25 06:05 VERSION [2023-09-25T06:07:45.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 06:05 bin [2023-09-25T06:07:45.950Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:05 cmd [2023-09-25T06:07:45.950Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 25 06:07 coverage.out [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 25 06:05 go.mod [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 25 06:05 go.sum [2023-09-25T06:07:45.950Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:05 internal [2023-09-25T06:07:45.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 06:05 simulator [2023-09-25T06:07:45.950Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:05 snap [2023-09-25T06:07:45.950Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 25 06:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:07:46.252Z] + 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=ea9b4c32d21bf45c7fb886341563953752c62ac9 --label arch=amd64 --label version=3.1.0-dev.13 . [2023-09-25T06:07:46.252Z] Sending build context to Docker daemon 6.5MB [2023-09-25T06:07:46.253Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T06:07:46.253Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-25T06:07:46.253Z] ---> 4c207f25cf9d [2023-09-25T06:07:46.253Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-25T06:07:46.421Z] Avoid second fetch [2023-09-25T06:07:46.422Z] Checking out Revision ea9b4c32d21bf45c7fb886341563953752c62ac9 (main) [2023-09-25T06:07:45.547Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-25T06:07:45.569Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T06:07:46.444Z] > git config core.sparsecheckout # timeout=10 [2023-09-25T06:07:46.519Z] > git checkout -f ea9b4c32d21bf45c7fb886341563953752c62ac9 # timeout=10 [2023-09-25T06:07:47.001Z] Commit message: "Merge pull request #505 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.30" [2023-09-25T06:07:47.212Z] ---> Running in 01cf380a6d4c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T06:07:47.780Z] Removing intermediate container 01cf380a6d4c [2023-09-25T06:07:47.780Z] ---> 78fa339c8793 [2023-09-25T06:07:47.780Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T06:07:47.961Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-25T06:07:47.961Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T06:07:47.961Z] Dload Upload Total Spent Left Speed [2023-09-25T06:07:47.961Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-09-25T06:07:48.348Z] ---> Running in 6b267168e09b [2023-09-25T06:07:48.578Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-25T06:07:48.911Z] + sudo tee /etc/docker/daemon.new [2023-09-25T06:07:48.911Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-25T06:07:48.911Z] { [2023-09-25T06:07:48.912Z] "registry-mirrors": [ [2023-09-25T06:07:48.912Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-25T06:07:48.912Z] ], [2023-09-25T06:07:48.912Z] "bip": "10.250.0.254/24", [2023-09-25T06:07:48.912Z] "hosts": [ [2023-09-25T06:07:48.912Z] "tcp://0.0.0.0:5555", [2023-09-25T06:07:48.912Z] "unix:///var/run/docker.sock" [2023-09-25T06:07:48.912Z] ], [2023-09-25T06:07:48.912Z] "mtu": 1458, [2023-09-25T06:07:48.912Z] "selinux-enabled": true, [2023-09-25T06:07:48.912Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-25T06:07:48.912Z] } [2023-09-25T06:07:48.917Z] Removing intermediate container 6b267168e09b [2023-09-25T06:07:48.917Z] ---> 978e52dd990b [2023-09-25T06:07:48.917Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-25T06:07:48.917Z] ---> Running in 5f8e8b404234 [Pipeline] sh [2023-09-25T06:07:49.242Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-25T06:07:49.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T06:07:49.587Z] + sudo service docker restart [2023-09-25T06:07:49.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T06:07:50.001Z] OK: 270 MiB in 60 packages [2023-09-25T06:07:50.938Z] Removing intermediate container 5f8e8b404234 [2023-09-25T06:07:50.938Z] ---> 05bfeb5a4888 [2023-09-25T06:07:50.938Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-25T06:07:51.197Z] ---> Running in 635d4a900728 [2023-09-25T06:07:51.197Z] Removing intermediate container 635d4a900728 [2023-09-25T06:07:51.197Z] ---> 13a527d53a42 [2023-09-25T06:07:51.197Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-25T06:07:51.455Z] ---> 171da9a30d48 [2023-09-25T06:07:51.455Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T06:07:51.455Z] ---> Running in 59733ae238f2 [2023-09-25T06:07:52.023Z] Removing intermediate container 59733ae238f2 [2023-09-25T06:07:52.023Z] ---> 161d686b872b [2023-09-25T06:07:52.023Z] Step 9/22 : COPY . . [2023-09-25T06:07:52.281Z] ---> c4f64d423bd9 [2023-09-25T06:07:52.281Z] Step 10/22 : RUN ${MAKE} [2023-09-25T06:07:52.541Z] ---> Running in c4ecc0665987 [2023-09-25T06:07:52.800Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T06:08:07.857Z] provisioning config files... [2023-09-25T06:08:07.885Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/127@tmp/config8925331053570087738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:08:08.237Z] ---> docker-login.sh [2023-09-25T06:08:08.237Z] nexus3.edgexfoundry.org:10001 [2023-09-25T06:08:08.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:08:08.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:08:08.774Z] Configure a credential helper to remove this warning. See [2023-09-25T06:08:08.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:08:08.774Z] [2023-09-25T06:08:08.774Z] Login Succeeded [2023-09-25T06:08:08.774Z] nexus3.edgexfoundry.org:10002 [2023-09-25T06:08:09.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:08:09.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:08:09.045Z] Configure a credential helper to remove this warning. See [2023-09-25T06:08:09.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:08:09.045Z] [2023-09-25T06:08:09.317Z] Login Succeeded [2023-09-25T06:08:09.317Z] nexus3.edgexfoundry.org:10003 [2023-09-25T06:08:09.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:08:09.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:08:09.588Z] Configure a credential helper to remove this warning. See [2023-09-25T06:08:09.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:08:09.588Z] [2023-09-25T06:08:09.588Z] Login Succeeded [2023-09-25T06:08:09.588Z] nexus3.edgexfoundry.org:10004 [2023-09-25T06:08:09.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:08:09.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:08:09.868Z] Configure a credential helper to remove this warning. See [2023-09-25T06:08:09.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:08:09.868Z] [2023-09-25T06:08:09.868Z] Login Succeeded [2023-09-25T06:08:09.868Z] docker.io [2023-09-25T06:08:10.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:08:10.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:08:10.412Z] Configure a credential helper to remove this warning. See [2023-09-25T06:08:10.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:08:10.412Z] [2023-09-25T06:08:10.412Z] Login Succeeded [2023-09-25T06:08:10.412Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T06:08:10.425Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T06:08:10.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T06:08:10.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T06:08:10.699Z] ========================================================= [2023-09-25T06:08:10.699Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-25T06:08:10.699Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:11.043Z] + 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-25T06:08:11.315Z] Sending build context to Docker daemon 3.36MB [2023-09-25T06:08:11.315Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T06:08:11.315Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-25T06:08:13.271Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-25T06:08:13.271Z] 9fda8d8052c6: Pulling fs layer [2023-09-25T06:08:13.271Z] 5d54e960e981: Pulling fs layer [2023-09-25T06:08:13.271Z] c4a7e357bf2a: Pulling fs layer [2023-09-25T06:08:13.271Z] f0e02332f6b5: Pulling fs layer [2023-09-25T06:08:13.271Z] cefa15bbcfad: Pulling fs layer [2023-09-25T06:08:13.271Z] 17808c966233: Pulling fs layer [2023-09-25T06:08:13.271Z] f0e02332f6b5: Waiting [2023-09-25T06:08:13.271Z] f4c1fc716caa: Pulling fs layer [2023-09-25T06:08:13.271Z] cefa15bbcfad: Waiting [2023-09-25T06:08:13.271Z] 17808c966233: Waiting [2023-09-25T06:08:13.271Z] f4c1fc716caa: Waiting [2023-09-25T06:08:13.271Z] 5d54e960e981: Download complete [2023-09-25T06:08:13.271Z] f0e02332f6b5: Verifying Checksum [2023-09-25T06:08:13.271Z] f0e02332f6b5: Download complete [2023-09-25T06:08:13.271Z] cefa15bbcfad: Verifying Checksum [2023-09-25T06:08:13.271Z] cefa15bbcfad: Download complete [2023-09-25T06:08:13.271Z] 9fda8d8052c6: Download complete [2023-09-25T06:08:13.561Z] f4c1fc716caa: Verifying Checksum [2023-09-25T06:08:13.561Z] f4c1fc716caa: Download complete [2023-09-25T06:08:13.840Z] 9fda8d8052c6: Pull complete [2023-09-25T06:08:14.442Z] 5d54e960e981: Pull complete [2023-09-25T06:08:14.719Z] c4a7e357bf2a: Verifying Checksum [2023-09-25T06:08:14.719Z] c4a7e357bf2a: Download complete [2023-09-25T06:08:14.720Z] Removing intermediate container c4ecc0665987 [2023-09-25T06:08:14.720Z] ---> 43102f690bda [2023-09-25T06:08:14.720Z] Step 11/22 : FROM alpine:3.18 [2023-09-25T06:08:15.747Z] 3.18: Pulling from library/alpine [2023-09-25T06:08:15.747Z] 7264a8db6415: Already exists [2023-09-25T06:08:16.756Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T06:08:16.756Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T06:08:16.756Z] ---> 7e01a0d0a1dc [2023-09-25T06:08:16.756Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-25T06:08:16.756Z] ---> Running in 0adf49458e43 [2023-09-25T06:08:16.756Z] Removing intermediate container 0adf49458e43 [2023-09-25T06:08:16.756Z] ---> 944f4698cb7b [2023-09-25T06:08:16.756Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-25T06:08:16.756Z] ---> Running in a5895a0b1106 [2023-09-25T06:08:16.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T06:08:17.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T06:08:17.141Z] 17808c966233: Verifying Checksum [2023-09-25T06:08:17.141Z] 17808c966233: Download complete [2023-09-25T06:08:17.274Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-25T06:08:17.274Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T06:08:17.274Z] OK: 7 MiB in 16 packages [2023-09-25T06:08:17.532Z] Removing intermediate container a5895a0b1106 [2023-09-25T06:08:17.532Z] ---> 3cdffffec66a [2023-09-25T06:08:17.532Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-25T06:08:18.471Z] ---> 9a9f29ed0d8d [2023-09-25T06:08:18.471Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-25T06:08:18.471Z] ---> 58369eeb684d [2023-09-25T06:08:18.471Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-25T06:08:18.471Z] ---> 35f5c505bc65 [2023-09-25T06:08:18.471Z] Step 17/22 : EXPOSE 59901 [2023-09-25T06:08:18.471Z] ---> Running in 5686af6bab57 [2023-09-25T06:08:18.471Z] Removing intermediate container 5686af6bab57 [2023-09-25T06:08:18.471Z] ---> 67e3e2deb00e [2023-09-25T06:08:18.471Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-25T06:08:18.471Z] ---> Running in fc3f469229a2 [2023-09-25T06:08:18.730Z] Removing intermediate container fc3f469229a2 [2023-09-25T06:08:18.730Z] ---> e01375ebd8b2 [2023-09-25T06:08:18.730Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-25T06:08:18.730Z] ---> Running in 25651b2dbc69 [2023-09-25T06:08:18.730Z] Removing intermediate container 25651b2dbc69 [2023-09-25T06:08:18.730Z] ---> 4603e14d22da [2023-09-25T06:08:18.730Z] Step 20/22 : LABEL arch=amd64 [2023-09-25T06:08:18.730Z] ---> Running in a7cfb780fd65 [2023-09-25T06:08:18.730Z] Removing intermediate container a7cfb780fd65 [2023-09-25T06:08:18.730Z] ---> f05e3c12ba6d [2023-09-25T06:08:18.730Z] Step 21/22 : LABEL git_sha=ea9b4c32d21bf45c7fb886341563953752c62ac9 [2023-09-25T06:08:18.730Z] ---> Running in 01c7a1fd3e5f [2023-09-25T06:08:18.989Z] Removing intermediate container 01c7a1fd3e5f [2023-09-25T06:08:18.989Z] ---> 117e8c3c20d3 [2023-09-25T06:08:18.989Z] Step 22/22 : LABEL version=3.1.0-dev.13 [2023-09-25T06:08:18.989Z] ---> Running in 79575b0f2191 [2023-09-25T06:08:18.989Z] Removing intermediate container 79575b0f2191 [2023-09-25T06:08:18.989Z] ---> ee114081b209 [2023-09-25T06:08:18.989Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T06:08:18.989Z] Successfully built ee114081b209 [2023-09-25T06:08:18.989Z] 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-25T06:08:19.137Z] provisioning config files... [2023-09-25T06:08:19.146Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8414779692630213392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:08:19.451Z] ---> docker-login.sh [2023-09-25T06:08:19.451Z] nexus3.edgexfoundry.org:10001 [2023-09-25T06:08:19.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:08:19.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:08:19.451Z] Configure a credential helper to remove this warning. See [2023-09-25T06:08:19.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:08:19.451Z] [2023-09-25T06:08:19.451Z] Login Succeeded [2023-09-25T06:08:19.451Z] nexus3.edgexfoundry.org:10002 [2023-09-25T06:08:19.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:08:19.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:08:19.451Z] Configure a credential helper to remove this warning. See [2023-09-25T06:08:19.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:08:19.451Z] [2023-09-25T06:08:19.451Z] Login Succeeded [2023-09-25T06:08:19.451Z] nexus3.edgexfoundry.org:10003 [2023-09-25T06:08:19.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:08:19.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:08:19.711Z] Configure a credential helper to remove this warning. See [2023-09-25T06:08:19.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:08:19.711Z] [2023-09-25T06:08:19.711Z] Login Succeeded [2023-09-25T06:08:19.711Z] nexus3.edgexfoundry.org:10004 [2023-09-25T06:08:19.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:08:19.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:08:19.711Z] Configure a credential helper to remove this warning. See [2023-09-25T06:08:19.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:08:19.711Z] [2023-09-25T06:08:19.711Z] Login Succeeded [2023-09-25T06:08:19.711Z] docker.io [2023-09-25T06:08:19.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:08:19.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:08:19.971Z] Configure a credential helper to remove this warning. See [2023-09-25T06:08:19.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:08:19.971Z] [2023-09-25T06:08:19.971Z] Login Succeeded [2023-09-25T06:08:19.971Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T06:08:19.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T06:08:20.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T06:08:20.039Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-09-25T06:08:20.039Z] ea9b4c32d21bf45c7fb886341563953752c62ac9 [2023-09-25T06:08:20.039Z] latest [2023-09-25T06:08:20.039Z] 3.1.0-dev.13 [2023-09-25T06:08:20.039Z] ea9b4c32d21bf45c7fb886341563953752c62ac9-3.1.0-dev.13 [2023-09-25T06:08:20.039Z] main [2023-09-25T06:08:20.039Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:20.373Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:ea9b4c32d21bf45c7fb886341563953752c62ac9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:20.680Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:ea9b4c32d21bf45c7fb886341563953752c62ac9 [2023-09-25T06:08:20.680Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-25T06:08:20.680Z] 471010eb0d6c: Preparing [2023-09-25T06:08:20.680Z] 92246bea85e1: Preparing [2023-09-25T06:08:20.680Z] c393a443c261: Preparing [2023-09-25T06:08:20.680Z] 2c4845302eea: Preparing [2023-09-25T06:08:20.680Z] 4693057ce236: Preparing [2023-09-25T06:08:20.681Z] 4693057ce236: Layer already exists [2023-09-25T06:08:20.681Z] 92246bea85e1: Pushed [2023-09-25T06:08:20.681Z] 471010eb0d6c: Pushed [2023-09-25T06:08:20.939Z] 2c4845302eea: Pushed [2023-09-25T06:08:23.472Z] c393a443c261: Pushed [2023-09-25T06:08:23.472Z] ea9b4c32d21bf45c7fb886341563953752c62ac9: digest: sha256:31a70caf990fb31f59233d79f1bcc7f6daa7924fcf48b7ad08326e700dd1a408 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:23.791Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:24.098Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-25T06:08:24.098Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-25T06:08:24.098Z] 471010eb0d6c: Preparing [2023-09-25T06:08:24.098Z] 92246bea85e1: Preparing [2023-09-25T06:08:24.098Z] c393a443c261: Preparing [2023-09-25T06:08:24.098Z] 2c4845302eea: Preparing [2023-09-25T06:08:24.098Z] 4693057ce236: Preparing [2023-09-25T06:08:24.098Z] 471010eb0d6c: Layer already exists [2023-09-25T06:08:24.098Z] 92246bea85e1: Layer already exists [2023-09-25T06:08:24.098Z] c393a443c261: Layer already exists [2023-09-25T06:08:24.098Z] 4693057ce236: Layer already exists [2023-09-25T06:08:24.098Z] 2c4845302eea: Layer already exists [2023-09-25T06:08:24.098Z] latest: digest: sha256:31a70caf990fb31f59233d79f1bcc7f6daa7924fcf48b7ad08326e700dd1a408 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:24.412Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:24.722Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.13 [2023-09-25T06:08:24.722Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-25T06:08:24.722Z] 471010eb0d6c: Preparing [2023-09-25T06:08:24.722Z] 92246bea85e1: Preparing [2023-09-25T06:08:24.722Z] c393a443c261: Preparing [2023-09-25T06:08:24.722Z] 2c4845302eea: Preparing [2023-09-25T06:08:24.722Z] 4693057ce236: Preparing [2023-09-25T06:08:24.722Z] 4693057ce236: Layer already exists [2023-09-25T06:08:24.722Z] c393a443c261: Layer already exists [2023-09-25T06:08:24.722Z] 92246bea85e1: Layer already exists [2023-09-25T06:08:24.722Z] 2c4845302eea: Layer already exists [2023-09-25T06:08:24.722Z] 471010eb0d6c: Layer already exists [2023-09-25T06:08:24.722Z] 3.1.0-dev.13: digest: sha256:31a70caf990fb31f59233d79f1bcc7f6daa7924fcf48b7ad08326e700dd1a408 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:25.043Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:ea9b4c32d21bf45c7fb886341563953752c62ac9-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:25.347Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:ea9b4c32d21bf45c7fb886341563953752c62ac9-3.1.0-dev.13 [2023-09-25T06:08:25.347Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-25T06:08:25.347Z] 471010eb0d6c: Preparing [2023-09-25T06:08:25.347Z] 92246bea85e1: Preparing [2023-09-25T06:08:25.347Z] c393a443c261: Preparing [2023-09-25T06:08:25.347Z] 2c4845302eea: Preparing [2023-09-25T06:08:25.347Z] 4693057ce236: Preparing [2023-09-25T06:08:25.347Z] 471010eb0d6c: Layer already exists [2023-09-25T06:08:25.347Z] 2c4845302eea: Layer already exists [2023-09-25T06:08:25.347Z] c393a443c261: Layer already exists [2023-09-25T06:08:25.347Z] 92246bea85e1: Layer already exists [2023-09-25T06:08:25.347Z] 4693057ce236: Layer already exists [2023-09-25T06:08:25.347Z] ea9b4c32d21bf45c7fb886341563953752c62ac9-3.1.0-dev.13: digest: sha256:31a70caf990fb31f59233d79f1bcc7f6daa7924fcf48b7ad08326e700dd1a408 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:25.381Z] c4a7e357bf2a: Pull complete [2023-09-25T06:08:25.381Z] f0e02332f6b5: Pull complete [2023-09-25T06:08:25.381Z] cefa15bbcfad: Pull complete [2023-09-25T06:08:25.652Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:25.961Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-09-25T06:08:25.962Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-25T06:08:25.962Z] 471010eb0d6c: Preparing [2023-09-25T06:08:25.962Z] 92246bea85e1: Preparing [2023-09-25T06:08:25.962Z] c393a443c261: Preparing [2023-09-25T06:08:25.962Z] 2c4845302eea: Preparing [2023-09-25T06:08:25.962Z] 4693057ce236: Preparing [2023-09-25T06:08:25.962Z] c393a443c261: Layer already exists [2023-09-25T06:08:25.962Z] 2c4845302eea: Layer already exists [2023-09-25T06:08:25.962Z] 92246bea85e1: Layer already exists [2023-09-25T06:08:25.962Z] 471010eb0d6c: Layer already exists [2023-09-25T06:08:25.962Z] 4693057ce236: Layer already exists [2023-09-25T06:08:25.962Z] main: digest: sha256:31a70caf990fb31f59233d79f1bcc7f6daa7924fcf48b7ad08326e700dd1a408 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T06:08:26.019Z] ===================================================== [Pipeline] echo [2023-09-25T06:08:26.029Z] taggedImages: [2023-09-25T06:08:26.029Z] - nexus3.edgexfoundry.org:10004/device-modbus:ea9b4c32d21bf45c7fb886341563953752c62ac9 [2023-09-25T06:08:26.029Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-25T06:08:26.029Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.13 [2023-09-25T06:08:26.029Z] - nexus3.edgexfoundry.org:10004/device-modbus:ea9b4c32d21bf45c7fb886341563953752c62ac9-3.1.0-dev.13 [2023-09-25T06:08:26.029Z] - 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-25T06:08:26.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T06:08:26.402Z] [2023-09-25T06:08:26.402Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:08:26.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T06:08:26.700Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-25T06:08:26.700Z] 5eb5b503b376: Pulling fs layer [2023-09-25T06:08:26.700Z] 5c69ac0246d0: Pulling fs layer [2023-09-25T06:08:26.700Z] ec43610c2a17: Pulling fs layer [2023-09-25T06:08:26.700Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-25T06:08:26.700Z] 33b1e0a273af: Pulling fs layer [2023-09-25T06:08:26.700Z] 5d3b04190fa2: Pulling fs layer [2023-09-25T06:08:26.700Z] 2f39f015ded8: Pulling fs layer [2023-09-25T06:08:26.700Z] 33b1e0a273af: Waiting [2023-09-25T06:08:26.700Z] 5d3b04190fa2: Waiting [2023-09-25T06:08:26.700Z] 2f39f015ded8: Waiting [2023-09-25T06:08:26.700Z] 3a2ae6a8a46f: Waiting [2023-09-25T06:08:26.700Z] 5c69ac0246d0: Verifying Checksum [2023-09-25T06:08:26.700Z] 5c69ac0246d0: Download complete [2023-09-25T06:08:26.960Z] 3a2ae6a8a46f: Download complete [2023-09-25T06:08:26.960Z] 33b1e0a273af: Verifying Checksum [2023-09-25T06:08:26.960Z] 33b1e0a273af: Download complete [2023-09-25T06:08:26.960Z] 5d3b04190fa2: Verifying Checksum [2023-09-25T06:08:26.960Z] 5d3b04190fa2: Download complete [2023-09-25T06:08:26.960Z] ec43610c2a17: Verifying Checksum [2023-09-25T06:08:26.960Z] ec43610c2a17: Download complete [2023-09-25T06:08:26.960Z] 5eb5b503b376: Verifying Checksum [2023-09-25T06:08:26.960Z] 5eb5b503b376: Download complete [2023-09-25T06:08:27.527Z] 2f39f015ded8: Download complete [2023-09-25T06:08:28.093Z] 5eb5b503b376: Pull complete [2023-09-25T06:08:28.093Z] 5c69ac0246d0: Pull complete [2023-09-25T06:08:28.659Z] ec43610c2a17: Pull complete [2023-09-25T06:08:28.659Z] 3a2ae6a8a46f: Pull complete [2023-09-25T06:08:28.933Z] 33b1e0a273af: Pull complete [2023-09-25T06:08:28.933Z] 5d3b04190fa2: Pull complete [2023-09-25T06:08:30.740Z] 17808c966233: Pull complete [2023-09-25T06:08:31.711Z] f4c1fc716caa: Pull complete [2023-09-25T06:08:31.711Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-25T06:08:31.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-25T06:08:31.711Z] ---> ea914061e18c [2023-09-25T06:08:31.711Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-25T06:08:33.118Z] 2f39f015ded8: Pull complete [2023-09-25T06:08:33.118Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-25T06:08:33.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T06:08:33.118Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:08:33.198Z] prd-ubuntu20.04-docker-8c-8g-7795 does not seem to be running inside a container [2023-09-25T06:08:33.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T06:08:33.754Z] ---> Running in e116169b317a [2023-09-25T06:08:33.754Z] Removing intermediate container e116169b317a [2023-09-25T06:08:33.754Z] ---> b9469b72c080 [2023-09-25T06:08:33.754Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T06:08:33.754Z] ---> Running in a763fb4e753b [2023-09-25T06:08:34.032Z] Removing intermediate container a763fb4e753b [2023-09-25T06:08:34.032Z] ---> 329a5a96444a [2023-09-25T06:08:34.032Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-25T06:08:34.307Z] ---> Running in 68e70506da6d [2023-09-25T06:08:35.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T06:08:35.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T06:08:36.831Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T06:08:36.831Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-25T06:08:36.831Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T06:08:36.831Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T06:08:36.831Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-25T06:08:36.831Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-25T06:08:36.831Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-25T06:08:36.831Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-25T06:08:36.831Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T06:08:36.831Z] OK: 272 MiB in 60 packages [2023-09-25T06:08:37.888Z] $ docker top e068df5ff8488da65a255d96fc67c290c7ab142b6c2d1676a984e496eba0282f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:08:38.286Z] ---> job-cost.sh [2023-09-25T06:08:38.286Z] lf-activate-venv: SKIPPING [2023-09-25T06:08:38.286Z] INFO: No Stack... [2023-09-25T06:08:38.546Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T06:08:38.805Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T06:08:39.096Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-09-25T06:08:39.096Z] + cut -d, -f6 [Pipeline] lock [2023-09-25T06:08:39.109Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-127-stack-cost] [2023-09-25T06:08:39.120Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-127-stack-cost] did not exist. Created. [2023-09-25T06:08:39.120Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T06:08:39.418Z] + echo total: 0.2199999988079071 [2023-09-25T06:08:39.430Z] Removing intermediate container 68e70506da6d [2023-09-25T06:08:39.430Z] ---> 14d25a967dce [2023-09-25T06:08:39.430Z] Step 6/10 : WORKDIR /device-modbus-go [Pipeline] stash [2023-09-25T06:08:39.454Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T06:08:39.462Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-127-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T06:08:39.483Z] $ docker stop --time=1 e068df5ff8488da65a255d96fc67c290c7ab142b6c2d1676a984e496eba0282f [2023-09-25T06:08:39.700Z] ---> Running in 302fe0514305 [2023-09-25T06:08:39.969Z] Removing intermediate container 302fe0514305 [2023-09-25T06:08:39.969Z] ---> 0ac846bcb28b [2023-09-25T06:08:39.969Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-25T06:08:40.239Z] ---> 38b681e98f38 [2023-09-25T06:08:40.239Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T06:08:40.510Z] ---> Running in 537e22f25119 [2023-09-25T06:08:40.879Z] $ docker rm -f --volumes e068df5ff8488da65a255d96fc67c290c7ab142b6c2d1676a984e496eba0282f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-25T06:09:48.428Z] Removing intermediate container 537e22f25119 [2023-09-25T06:09:48.428Z] ---> d1e4a790a46f [2023-09-25T06:09:48.428Z] Step 9/10 : COPY . . [2023-09-25T06:09:48.428Z] ---> b610de6a86e5 [2023-09-25T06:09:48.428Z] Step 10/10 : RUN ${MAKE} [2023-09-25T06:09:48.428Z] ---> Running in e8038543b455 [2023-09-25T06:09:48.428Z] noop [2023-09-25T06:09:48.428Z] Removing intermediate container e8038543b455 [2023-09-25T06:09:48.428Z] ---> 8853b55415e7 [2023-09-25T06:09:48.428Z] Successfully built 8853b55415e7 [2023-09-25T06:09:48.428Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:09:48.789Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T06:09:48.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:09:49.000Z] prd-ubuntu20.04-docker-arm64-4c-16g-7796 does not seem to be running inside a container [2023-09-25T06:09:49.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/127 -v /w/workspace/device-modbus-go/127:/w/workspace/device-modbus-go/127:rw,z -v /w/workspace/device-modbus-go/127@tmp:/w/workspace/device-modbus-go/127@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-25T06:09:50.242Z] $ docker top 881203b021c8abda750ccdfed920f9dde5cc081599892b46ae2e90b74e70d007 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T06:09:51.071Z] + go version [2023-09-25T06:09:51.071Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-25T06:09:51.092Z] $ docker stop --time=1 881203b021c8abda750ccdfed920f9dde5cc081599892b46ae2e90b74e70d007 [2023-09-25T06:09:52.673Z] $ docker rm -f --volumes 881203b021c8abda750ccdfed920f9dde5cc081599892b46ae2e90b74e70d007 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:09:53.241Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T06:09:53.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:09:53.413Z] prd-ubuntu20.04-docker-arm64-4c-16g-7796 does not seem to be running inside a container [2023-09-25T06:09:53.477Z] $ 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/127 -v /w/workspace/device-modbus-go/127:/w/workspace/device-modbus-go/127:rw,z -v /w/workspace/device-modbus-go/127@tmp:/w/workspace/device-modbus-go/127@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-25T06:09:54.608Z] $ docker top fced3b8104e51df733bfd1557be83b5e01125f2e026bfd5ef4db7f2fc7c22250 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T06:09:55.102Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/127 [Pipeline] fileExists [Pipeline] sh [2023-09-25T06:09:55.432Z] + make test [2023-09-25T06:09:55.432Z] go test ./... -coverprofile=coverage.out [2023-09-25T06:09:59.688Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-25T06:11:36.337Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-25T06:11:36.337Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 47.9% of statements [2023-09-25T06:11:36.337Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-25T06:11:36.337Z] go vet ./... [2023-09-25T06:11:51.345Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T06:11:51.345Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T06:11:51.345Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T06:11:51.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T06:11:51.644Z] $ docker stop --time=1 fced3b8104e51df733bfd1557be83b5e01125f2e026bfd5ef4db7f2fc7c22250 [2023-09-25T06:11:53.591Z] $ docker rm -f --volumes fced3b8104e51df733bfd1557be83b5e01125f2e026bfd5ef4db7f2fc7c22250 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T06:11:54.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T06:11:54.838Z] Warning: overwriting stash ‘coverage-report’ [2023-09-25T06:11:55.273Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T06:11:55.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T06:11:56.001Z] + ls -al . [2023-09-25T06:11:56.001Z] total 188 [2023-09-25T06:11:56.001Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 25 06:09 . [2023-09-25T06:11:56.001Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:07 .. [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 25 06:07 .dockerignore [2023-09-25T06:11:56.001Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 06:07 .git [2023-09-25T06:11:56.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:07 .github [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 25 06:07 .gitignore [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 06:07 .golangci.yml [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 25 06:07 Attribution.txt [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 25 06:07 CHANGELOG.md [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 25 06:07 Dockerfile [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 06:07 GOVERNANCE.md [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 06:07 Jenkinsfile [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 06:07 LICENSE [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 25 06:07 Makefile [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 25 06:07 OWNERS.md [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 25 06:07 README.md [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 25 06:05 VERSION [2023-09-25T06:11:56.001Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 06:07 bin [2023-09-25T06:11:56.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:07 cmd [2023-09-25T06:11:56.001Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 25 06:11 coverage.out [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 25 06:07 go.mod [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 25 06:07 go.sum [2023-09-25T06:11:56.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:07 internal [2023-09-25T06:11:56.001Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 06:07 simulator [2023-09-25T06:11:56.001Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:07 snap [2023-09-25T06:11:56.001Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 25 06:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:11:56.363Z] + 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=ea9b4c32d21bf45c7fb886341563953752c62ac9 --label arch=arm64 --label version=3.1.0-dev.13 . [2023-09-25T06:11:57.774Z] Sending build context to Docker daemon 3.385MB [2023-09-25T06:11:57.774Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T06:11:57.774Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-25T06:11:57.774Z] ---> 8853b55415e7 [2023-09-25T06:11:57.774Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-25T06:11:57.774Z] ---> Running in 9508687ebc07 [2023-09-25T06:11:58.046Z] Removing intermediate container 9508687ebc07 [2023-09-25T06:11:58.046Z] ---> 775563c23107 [2023-09-25T06:11:58.046Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T06:11:58.046Z] ---> Running in ed9d9c53abd8 [2023-09-25T06:11:58.312Z] Removing intermediate container ed9d9c53abd8 [2023-09-25T06:11:58.312Z] ---> bf43f2efa004 [2023-09-25T06:11:58.312Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-25T06:11:58.578Z] ---> Running in 74df96f78bc7 [2023-09-25T06:11:59.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T06:11:59.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T06:12:00.764Z] OK: 272 MiB in 60 packages [2023-09-25T06:12:04.288Z] Removing intermediate container 74df96f78bc7 [2023-09-25T06:12:04.288Z] ---> 2b196e3a4289 [2023-09-25T06:12:04.288Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-25T06:12:04.288Z] ---> Running in d3054c71fcda [2023-09-25T06:12:04.556Z] Removing intermediate container d3054c71fcda [2023-09-25T06:12:04.556Z] ---> 3ea90e36eefd [2023-09-25T06:12:04.556Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-25T06:12:05.150Z] ---> bab6a2b1e06d [2023-09-25T06:12:05.150Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T06:12:05.150Z] ---> Running in 4983bd4a7043 [2023-09-25T06:12:07.737Z] Removing intermediate container 4983bd4a7043 [2023-09-25T06:12:07.737Z] ---> 3a33d598b8cc [2023-09-25T06:12:07.737Z] Step 9/22 : COPY . . [2023-09-25T06:12:08.327Z] ---> e49ebd0ede7d [2023-09-25T06:12:08.327Z] Step 10/22 : RUN ${MAKE} [2023-09-25T06:12:08.327Z] ---> Running in c9d2d1438f0f [2023-09-25T06:12:09.289Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-25T06:14:16.491Z] Removing intermediate container c9d2d1438f0f [2023-09-25T06:14:16.491Z] ---> 40dcd8b44bf3 [2023-09-25T06:14:16.491Z] Step 11/22 : FROM alpine:3.18 [2023-09-25T06:14:16.491Z] 3.18: Pulling from library/alpine [2023-09-25T06:14:16.491Z] 9fda8d8052c6: Already exists [2023-09-25T06:14:16.491Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T06:14:16.491Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T06:14:16.491Z] ---> f6648c04cd6c [2023-09-25T06:14:16.491Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-25T06:14:16.491Z] ---> Running in d6a2869db09d [2023-09-25T06:14:16.491Z] Removing intermediate container d6a2869db09d [2023-09-25T06:14:16.491Z] ---> dac1c69c3100 [2023-09-25T06:14:16.491Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-25T06:14:16.491Z] ---> Running in 3b0eec2f50f3 [2023-09-25T06:14:16.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T06:14:16.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T06:14:16.491Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-25T06:14:16.491Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T06:14:16.491Z] OK: 8 MiB in 16 packages [2023-09-25T06:14:16.491Z] Removing intermediate container 3b0eec2f50f3 [2023-09-25T06:14:16.491Z] ---> 549271767edd [2023-09-25T06:14:16.491Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-25T06:14:16.491Z] ---> f94414bd37d8 [2023-09-25T06:14:16.491Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-25T06:14:16.491Z] ---> 9ea4f5d03112 [2023-09-25T06:14:16.491Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-25T06:14:16.491Z] ---> 4a36ddd8ee66 [2023-09-25T06:14:16.491Z] Step 17/22 : EXPOSE 59901 [2023-09-25T06:14:16.491Z] ---> Running in f53b66e51d2d [2023-09-25T06:14:16.491Z] Removing intermediate container f53b66e51d2d [2023-09-25T06:14:16.491Z] ---> 540d10536ffc [2023-09-25T06:14:16.491Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-25T06:14:16.491Z] ---> Running in d200fd241068 [2023-09-25T06:14:16.491Z] Removing intermediate container d200fd241068 [2023-09-25T06:14:16.491Z] ---> 245fbe50e525 [2023-09-25T06:14:16.491Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-25T06:14:16.491Z] ---> Running in ca8fa0b7980a [2023-09-25T06:14:16.491Z] Removing intermediate container ca8fa0b7980a [2023-09-25T06:14:16.491Z] ---> 958dd568ffea [2023-09-25T06:14:16.491Z] Step 20/22 : LABEL arch=arm64 [2023-09-25T06:14:16.491Z] ---> Running in b8ab7c0dca18 [2023-09-25T06:14:16.491Z] Removing intermediate container b8ab7c0dca18 [2023-09-25T06:14:16.491Z] ---> 0fd06718e7f6 [2023-09-25T06:14:16.491Z] Step 21/22 : LABEL git_sha=ea9b4c32d21bf45c7fb886341563953752c62ac9 [2023-09-25T06:14:16.491Z] ---> Running in d30f09fda081 [2023-09-25T06:14:16.491Z] Removing intermediate container d30f09fda081 [2023-09-25T06:14:16.491Z] ---> 2c975f8029db [2023-09-25T06:14:16.491Z] Step 22/22 : LABEL version=3.1.0-dev.13 [2023-09-25T06:14:16.491Z] ---> Running in 8f95767c40dc [2023-09-25T06:14:16.758Z] Removing intermediate container 8f95767c40dc [2023-09-25T06:14:16.758Z] ---> a9718773dd9c [2023-09-25T06:14:16.758Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T06:14:16.758Z] Successfully built a9718773dd9c [2023-09-25T06:14:16.758Z] 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-25T06:14:16.880Z] provisioning config files... [2023-09-25T06:14:16.897Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/127@tmp/config13393869740684585983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:14:17.252Z] ---> docker-login.sh [2023-09-25T06:14:17.253Z] nexus3.edgexfoundry.org:10001 [2023-09-25T06:14:17.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:14:17.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:14:17.523Z] Configure a credential helper to remove this warning. See [2023-09-25T06:14:17.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:14:17.523Z] [2023-09-25T06:14:17.523Z] Login Succeeded [2023-09-25T06:14:17.523Z] nexus3.edgexfoundry.org:10002 [2023-09-25T06:14:17.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:14:17.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:14:17.791Z] Configure a credential helper to remove this warning. See [2023-09-25T06:14:17.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:14:17.791Z] [2023-09-25T06:14:17.791Z] Login Succeeded [2023-09-25T06:14:17.791Z] nexus3.edgexfoundry.org:10003 [2023-09-25T06:14:18.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:14:18.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:14:18.327Z] Configure a credential helper to remove this warning. See [2023-09-25T06:14:18.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:14:18.327Z] [2023-09-25T06:14:18.327Z] Login Succeeded [2023-09-25T06:14:18.327Z] nexus3.edgexfoundry.org:10004 [2023-09-25T06:14:18.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:14:18.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:14:18.596Z] Configure a credential helper to remove this warning. See [2023-09-25T06:14:18.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:14:18.596Z] [2023-09-25T06:14:18.596Z] Login Succeeded [2023-09-25T06:14:18.596Z] docker.io [2023-09-25T06:14:18.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:14:19.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:14:19.133Z] Configure a credential helper to remove this warning. See [2023-09-25T06:14:19.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:14:19.133Z] [2023-09-25T06:14:19.133Z] Login Succeeded [2023-09-25T06:14:19.133Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T06:14:19.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T06:14:19.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T06:14:19.207Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-09-25T06:14:19.207Z] ea9b4c32d21bf45c7fb886341563953752c62ac9 [2023-09-25T06:14:19.207Z] latest [2023-09-25T06:14:19.207Z] 3.1.0-dev.13 [2023-09-25T06:14:19.207Z] ea9b4c32d21bf45c7fb886341563953752c62ac9-3.1.0-dev.13 [2023-09-25T06:14:19.207Z] main [2023-09-25T06:14:19.207Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:14:19.549Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:ea9b4c32d21bf45c7fb886341563953752c62ac9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:14:19.888Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:ea9b4c32d21bf45c7fb886341563953752c62ac9 [2023-09-25T06:14:19.888Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-25T06:14:19.888Z] 82665b9cc657: Preparing [2023-09-25T06:14:19.888Z] 58fe7d0b55e6: Preparing [2023-09-25T06:14:19.888Z] a3d266c76d6d: Preparing [2023-09-25T06:14:19.888Z] dfadbdbca9da: Preparing [2023-09-25T06:14:19.888Z] b2191e2be29d: Preparing [2023-09-25T06:14:19.888Z] b2191e2be29d: Layer already exists [2023-09-25T06:14:20.154Z] dfadbdbca9da: Pushed [2023-09-25T06:14:20.154Z] 82665b9cc657: Pushed [2023-09-25T06:14:20.154Z] 58fe7d0b55e6: Pushed [2023-09-25T06:14:26.785Z] a3d266c76d6d: Pushed [2023-09-25T06:14:26.785Z] ea9b4c32d21bf45c7fb886341563953752c62ac9: digest: sha256:6c1313b40d1e6836085d9cc93288b7e88a83b4fe4f4bf47d62ec8061747bd89e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:14:27.134Z] + 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-25T06:14:27.475Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-25T06:14:27.475Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-25T06:14:27.475Z] 82665b9cc657: Preparing [2023-09-25T06:14:27.475Z] 58fe7d0b55e6: Preparing [2023-09-25T06:14:27.475Z] a3d266c76d6d: Preparing [2023-09-25T06:14:27.475Z] dfadbdbca9da: Preparing [2023-09-25T06:14:27.475Z] b2191e2be29d: Preparing [2023-09-25T06:14:27.475Z] b2191e2be29d: Layer already exists [2023-09-25T06:14:27.475Z] 58fe7d0b55e6: Layer already exists [2023-09-25T06:14:27.475Z] 82665b9cc657: Layer already exists [2023-09-25T06:14:27.475Z] dfadbdbca9da: Layer already exists [2023-09-25T06:14:27.475Z] a3d266c76d6d: Layer already exists [2023-09-25T06:14:27.475Z] latest: digest: sha256:6c1313b40d1e6836085d9cc93288b7e88a83b4fe4f4bf47d62ec8061747bd89e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:14:27.824Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:14:28.159Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.13 [2023-09-25T06:14:28.159Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-25T06:14:28.159Z] 82665b9cc657: Preparing [2023-09-25T06:14:28.159Z] 58fe7d0b55e6: Preparing [2023-09-25T06:14:28.159Z] a3d266c76d6d: Preparing [2023-09-25T06:14:28.159Z] dfadbdbca9da: Preparing [2023-09-25T06:14:28.159Z] b2191e2be29d: Preparing [2023-09-25T06:14:28.159Z] dfadbdbca9da: Layer already exists [2023-09-25T06:14:28.159Z] 58fe7d0b55e6: Layer already exists [2023-09-25T06:14:28.159Z] 82665b9cc657: Layer already exists [2023-09-25T06:14:28.159Z] b2191e2be29d: Layer already exists [2023-09-25T06:14:28.159Z] a3d266c76d6d: Layer already exists [2023-09-25T06:14:28.159Z] 3.1.0-dev.13: digest: sha256:6c1313b40d1e6836085d9cc93288b7e88a83b4fe4f4bf47d62ec8061747bd89e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:14:28.495Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:ea9b4c32d21bf45c7fb886341563953752c62ac9-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:14:28.827Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:ea9b4c32d21bf45c7fb886341563953752c62ac9-3.1.0-dev.13 [2023-09-25T06:14:28.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-25T06:14:28.827Z] 82665b9cc657: Preparing [2023-09-25T06:14:28.827Z] 58fe7d0b55e6: Preparing [2023-09-25T06:14:28.827Z] a3d266c76d6d: Preparing [2023-09-25T06:14:28.827Z] dfadbdbca9da: Preparing [2023-09-25T06:14:28.827Z] b2191e2be29d: Preparing [2023-09-25T06:14:28.827Z] 58fe7d0b55e6: Layer already exists [2023-09-25T06:14:28.827Z] 82665b9cc657: Layer already exists [2023-09-25T06:14:28.827Z] b2191e2be29d: Layer already exists [2023-09-25T06:14:28.827Z] a3d266c76d6d: Layer already exists [2023-09-25T06:14:28.827Z] dfadbdbca9da: Layer already exists [2023-09-25T06:14:28.827Z] ea9b4c32d21bf45c7fb886341563953752c62ac9-3.1.0-dev.13: digest: sha256:6c1313b40d1e6836085d9cc93288b7e88a83b4fe4f4bf47d62ec8061747bd89e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:14:29.159Z] + 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-25T06:14:29.490Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-09-25T06:14:29.490Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-25T06:14:29.490Z] 82665b9cc657: Preparing [2023-09-25T06:14:29.490Z] 58fe7d0b55e6: Preparing [2023-09-25T06:14:29.490Z] a3d266c76d6d: Preparing [2023-09-25T06:14:29.490Z] dfadbdbca9da: Preparing [2023-09-25T06:14:29.490Z] b2191e2be29d: Preparing [2023-09-25T06:14:29.490Z] dfadbdbca9da: Layer already exists [2023-09-25T06:14:29.490Z] b2191e2be29d: Layer already exists [2023-09-25T06:14:29.490Z] 82665b9cc657: Layer already exists [2023-09-25T06:14:29.490Z] a3d266c76d6d: Layer already exists [2023-09-25T06:14:29.490Z] 58fe7d0b55e6: Layer already exists [2023-09-25T06:14:29.490Z] main: digest: sha256:6c1313b40d1e6836085d9cc93288b7e88a83b4fe4f4bf47d62ec8061747bd89e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T06:14:29.532Z] ===================================================== [Pipeline] echo [2023-09-25T06:14:29.538Z] taggedImages: [2023-09-25T06:14:29.538Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:ea9b4c32d21bf45c7fb886341563953752c62ac9 [2023-09-25T06:14:29.538Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-25T06:14:29.538Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.13 [2023-09-25T06:14:29.538Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:ea9b4c32d21bf45c7fb886341563953752c62ac9-3.1.0-dev.13 [2023-09-25T06:14:29.538Z] - 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-25T06:14:29.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T06:14:29.899Z] [2023-09-25T06:14:29.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:14:30.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T06:14:30.233Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-25T06:14:30.233Z] 8998bd30e6a1: Pulling fs layer [2023-09-25T06:14:30.233Z] 04944245beec: Pulling fs layer [2023-09-25T06:14:30.233Z] 699f458cf7ca: Pulling fs layer [2023-09-25T06:14:30.233Z] 765212b225bb: Pulling fs layer [2023-09-25T06:14:30.233Z] f23df028b6ca: Pulling fs layer [2023-09-25T06:14:30.233Z] d65c8cfc05b1: Pulling fs layer [2023-09-25T06:14:30.233Z] 2437ff75d9bd: Pulling fs layer [2023-09-25T06:14:30.233Z] f23df028b6ca: Waiting [2023-09-25T06:14:30.233Z] d65c8cfc05b1: Waiting [2023-09-25T06:14:30.233Z] 2437ff75d9bd: Waiting [2023-09-25T06:14:30.233Z] 765212b225bb: Waiting [2023-09-25T06:14:30.501Z] 04944245beec: Verifying Checksum [2023-09-25T06:14:30.501Z] 04944245beec: Download complete [2023-09-25T06:14:30.501Z] 765212b225bb: Verifying Checksum [2023-09-25T06:14:30.501Z] 765212b225bb: Download complete [2023-09-25T06:14:30.501Z] f23df028b6ca: Verifying Checksum [2023-09-25T06:14:30.501Z] f23df028b6ca: Download complete [2023-09-25T06:14:30.501Z] d65c8cfc05b1: Verifying Checksum [2023-09-25T06:14:30.501Z] d65c8cfc05b1: Download complete [2023-09-25T06:14:30.501Z] 699f458cf7ca: Verifying Checksum [2023-09-25T06:14:30.501Z] 699f458cf7ca: Download complete [2023-09-25T06:14:31.087Z] 8998bd30e6a1: Verifying Checksum [2023-09-25T06:14:31.087Z] 8998bd30e6a1: Download complete [2023-09-25T06:14:33.027Z] 2437ff75d9bd: Verifying Checksum [2023-09-25T06:14:33.027Z] 2437ff75d9bd: Download complete [2023-09-25T06:14:34.969Z] 8998bd30e6a1: Pull complete [2023-09-25T06:14:35.237Z] 04944245beec: Pull complete [2023-09-25T06:14:36.647Z] 699f458cf7ca: Pull complete [2023-09-25T06:14:36.647Z] 765212b225bb: Pull complete [2023-09-25T06:14:37.610Z] f23df028b6ca: Pull complete [2023-09-25T06:14:37.610Z] d65c8cfc05b1: Pull complete [2023-09-25T06:14:52.599Z] 2437ff75d9bd: Pull complete [2023-09-25T06:14:52.599Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-25T06:14:52.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T06:14:52.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:14:52.786Z] prd-ubuntu20.04-docker-arm64-4c-16g-7796 does not seem to be running inside a container [2023-09-25T06:14:52.843Z] $ 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/127 -v /w/workspace/device-modbus-go/127:/w/workspace/device-modbus-go/127:rw,z -v /w/workspace/device-modbus-go/127@tmp:/w/workspace/device-modbus-go/127@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-25T06:14:55.403Z] $ docker top 622b9c4002cd07d86f193060c450029c83f201e7e0d4ad33dca0789ad9211019 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:14:55.904Z] ---> job-cost.sh [2023-09-25T06:14:56.171Z] lf-activate-venv: SKIPPING [2023-09-25T06:14:56.171Z] INFO: No Stack... [2023-09-25T06:14:56.435Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-25T06:14:57.389Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T06:14:57.711Z] + cat /w/workspace/device-modbus-go/127/archives/cost.csv [2023-09-25T06:14:57.711Z] + cut -d, -f6 [Pipeline] lock [2023-09-25T06:14:58.037Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-127-stack-cost] [2023-09-25T06:14:58.043Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-127-stack-cost] did not exist. Created. [2023-09-25T06:14:58.043Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T06:14:58.420Z] /w/workspace/device-modbus-go/127@tmp/durable-192fccc8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-25T06:14:58.775Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-25T06:14:58.802Z] Warning: overwriting stash ‘stack-cost’ [2023-09-25T06:14:58.865Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T06:14:58.874Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-127-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T06:14:58.892Z] $ docker stop --time=1 622b9c4002cd07d86f193060c450029c83f201e7e0d4ad33dca0789ad9211019 [2023-09-25T06:15:00.362Z] $ docker rm -f --volumes 622b9c4002cd07d86f193060c450029c83f201e7e0d4ad33dca0789ad9211019 [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-25T06:15:00.753Z] provisioning config files... [2023-09-25T06:15:00.760Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14744869426781569858tmp [Pipeline] { [Pipeline] sh [2023-09-25T06:15:01.047Z] + set +x [2023-09-25T06:15:01.048Z] + curl -s https://codecov.io/bash [2023-09-25T06:15:01.048Z] + bash -s -- [2023-09-25T06:15:01.048Z] [2023-09-25T06:15:01.048Z] _____ _ [2023-09-25T06:15:01.048Z] / ____| | | [2023-09-25T06:15:01.048Z] | | ___ __| | ___ ___ _____ __ [2023-09-25T06:15:01.048Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-25T06:15:01.048Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-25T06:15:01.048Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-25T06:15:01.048Z] Bash-1.0.6 [2023-09-25T06:15:01.048Z] [2023-09-25T06:15:01.048Z] [2023-09-25T06:15:01.048Z] ==> git version 2.25.1 found [2023-09-25T06:15:01.048Z] ==> 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-25T06:15:01.048Z] Release-Date: 2020-01-08 [2023-09-25T06:15:01.048Z] 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-25T06:15:01.048Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-25T06:15:01.048Z] ==> Jenkins CI detected. [2023-09-25T06:15:01.048Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-09-25T06:15:01.048Z] project root: . [2023-09-25T06:15:01.048Z] --> token set from env [2023-09-25T06:15:01.048Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-25T06:15:01.048Z] ==> Running gcov in . (disable via -X gcov) [2023-09-25T06:15:01.048Z] ==> Python coveragepy not found [2023-09-25T06:15:01.048Z] ==> Searching for coverage reports in: [2023-09-25T06:15:01.048Z] + . [2023-09-25T06:15:01.048Z] -> Found 1 reports [2023-09-25T06:15:01.048Z] ==> Detecting git/mercurial file structure [2023-09-25T06:15:01.306Z] ==> Reading reports [2023-09-25T06:15:01.306Z] + ./coverage.out bytes=24334 [2023-09-25T06:15:01.306Z] ==> Appending adjustments [2023-09-25T06:15:01.306Z] https://docs.codecov.io/docs/fixing-reports [2023-09-25T06:15:01.306Z] + Found adjustments [2023-09-25T06:15:01.306Z] ==> Gzipping contents [2023-09-25T06:15:01.306Z] 4.0K /tmp/codecov.bBe9PX.gz [2023-09-25T06:15:01.306Z] ==> Uploading reports [2023-09-25T06:15:01.306Z] url: https://codecov.io [2023-09-25T06:15:01.306Z] query: branch=main&commit=ea9b4c32d21bf45c7fb886341563953752c62ac9&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-25T06:15:01.306Z] -> Pinging Codecov [2023-09-25T06:15:01.306Z] 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=ea9b4c32d21bf45c7fb886341563953752c62ac9&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-25T06:15:01.306Z] -> Uploading to [2023-09-25T06:15:01.306Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-25/55DBCA73C666E3227836607328DD7E49/ea9b4c32d21bf45c7fb886341563953752c62ac9/ab05f99b-6dd1-4bed-b621-29207fa83aac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T061501Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bff61eb33c2efd8e8b87b1e537bfaff6fae409ed6a96c72b9cff0f6002bd25c4 [2023-09-25T06:15:01.565Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T06:15:01.565Z] Dload Upload Total Spent Left Speed [2023-09-25T06:15:01.824Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 13517 --:--:-- --:--:-- --:--:-- 13563 [2023-09-25T06:15:01.824Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ea9b4c32d21bf45c7fb886341563953752c62ac9 [Pipeline] } [2023-09-25T06:15:01.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-25T06:15:02.025Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-25T06:15:02.039Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:15:02.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T06:15:02.338Z] [2023-09-25T06:15:02.338Z] 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-25T06:15:02.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T06:15:02.633Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-25T06:15:02.633Z] df9b9388f04a: Pulling fs layer [2023-09-25T06:15:02.633Z] 52dc419b0ee2: Pulling fs layer [2023-09-25T06:15:02.633Z] 25bc292e5bac: Pulling fs layer [2023-09-25T06:15:02.633Z] 114826534d7a: Pulling fs layer [2023-09-25T06:15:02.633Z] 4657fd5d0bcf: Pulling fs layer [2023-09-25T06:15:02.633Z] 6ad1cebc031e: Pulling fs layer [2023-09-25T06:15:02.633Z] 8a3aa393b2d8: Pulling fs layer [2023-09-25T06:15:02.633Z] 114826534d7a: Waiting [2023-09-25T06:15:02.633Z] 4657fd5d0bcf: Waiting [2023-09-25T06:15:02.633Z] 8a3aa393b2d8: Waiting [2023-09-25T06:15:02.633Z] 6ad1cebc031e: Waiting [2023-09-25T06:15:02.633Z] 25bc292e5bac: Verifying Checksum [2023-09-25T06:15:02.633Z] 25bc292e5bac: Download complete [2023-09-25T06:15:02.633Z] 52dc419b0ee2: Verifying Checksum [2023-09-25T06:15:02.633Z] 52dc419b0ee2: Download complete [2023-09-25T06:15:02.633Z] 4657fd5d0bcf: Verifying Checksum [2023-09-25T06:15:02.633Z] 4657fd5d0bcf: Download complete [2023-09-25T06:15:02.633Z] df9b9388f04a: Download complete [2023-09-25T06:15:02.891Z] df9b9388f04a: Pull complete [2023-09-25T06:15:02.891Z] 6ad1cebc031e: Verifying Checksum [2023-09-25T06:15:02.891Z] 6ad1cebc031e: Download complete [2023-09-25T06:15:02.891Z] 52dc419b0ee2: Pull complete [2023-09-25T06:15:02.891Z] 25bc292e5bac: Pull complete [2023-09-25T06:15:03.458Z] 114826534d7a: Verifying Checksum [2023-09-25T06:15:03.458Z] 114826534d7a: Download complete [2023-09-25T06:15:03.458Z] 8a3aa393b2d8: Verifying Checksum [2023-09-25T06:15:03.458Z] 8a3aa393b2d8: Download complete [2023-09-25T06:15:06.735Z] 114826534d7a: Pull complete [2023-09-25T06:15:06.735Z] 4657fd5d0bcf: Pull complete [2023-09-25T06:15:06.993Z] 6ad1cebc031e: Pull complete [2023-09-25T06:15:09.523Z] 8a3aa393b2d8: Pull complete [2023-09-25T06:15:09.523Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-25T06:15:09.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T06:15:09.523Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:15:09.608Z] prd-ubuntu20.04-docker-8c-8g-7795 does not seem to be running inside a container [2023-09-25T06:15:09.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-25T06:15:14.762Z] $ docker top a9c556b6c387d2d25c929d24a4b037bbc498df10da5b5cd9c879f045d59d8485 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-25T06:15:14.826Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-09-25T06:15:15.102Z] + set -o pipefail [2023-09-25T06:15:15.102Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-09-25T06:15:23.218Z] [2023-09-25T06:15:23.218Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-09-25T06:15:23.218Z] [2023-09-25T06:15:23.218Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/1b33dede-e5e1-443f-bd41-7010db491946 [2023-09-25T06:15:23.218Z] [2023-09-25T06:15:23.218Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-09-25T06:15:23.218Z] [2023-09-25T06:15:23.218Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-25T06:15:23.218Z] [2023-09-25T06:15:23.218Z] [2023-09-25T06:15:23.218Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-25T06:15:23.218Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-25T06:15:23.218Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-25T06:15:23.233Z] $ docker stop --time=1 a9c556b6c387d2d25c929d24a4b037bbc498df10da5b5cd9c879f045d59d8485 [2023-09-25T06:15:28.180Z] $ docker rm -f --volumes a9c556b6c387d2d25c929d24a4b037bbc498df10da5b5cd9c879f045d59d8485 [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-25T06:15:28.907Z] + git log --format=format:%s -1 ea9b4c32d21bf45c7fb886341563953752c62ac9 [Pipeline] sh [2023-09-25T06:15:29.198Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T06:15:29.198Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:15:29.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T06:15:29.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:15:29.557Z] prd-ubuntu20.04-docker-8c-8g-7795 does not seem to be running inside a container [2023-09-25T06:15:29.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T06:15:30.126Z] $ docker top 0467cbf3d92005a2b1ad3f0ee3b5fdd7731c4e7f1efeefd57f876df62ef804a2 -eo pid,comm [2023-09-25T06:15:30.164Z] 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-25T06:15:30.164Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T06:15:30.205Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T06:15:30.205Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T06:15:30.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T06:15:30.323Z] $ docker exec 0467cbf3d92005a2b1ad3f0ee3b5fdd7731c4e7f1efeefd57f876df62ef804a2 ssh-agent [2023-09-25T06:15:30.431Z] SSH_AUTH_SOCK=/tmp/ssh-K4oTpRauT9dG/agent.32 [2023-09-25T06:15:30.431Z] SSH_AGENT_PID=38 [2023-09-25T06:15:30.435Z] Running ssh-add (command line suppressed) [2023-09-25T06:15:30.541Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7710621614912819320.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7710621614912819320.key) [2023-09-25T06:15:30.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T06:15:30.838Z] + git semver tag [2023-09-25T06:15:31.097Z] 2023-09-25 06:15:31,004 [run_tag] DEBUG tag force:False [2023-09-25T06:15:31.097Z] 2023-09-25 06:15:31,005 [check_head_tag] DEBUG check head tag [2023-09-25T06:15:31.097Z] 2023-09-25 06:15:31,005 [execute] INFO git cat-file --batch-check [2023-09-25T06:15:31.097Z] 2023-09-25 06:15:31,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-25T06:15:31.097Z] 2023-09-25 06:15:31,009 [execute] INFO git cat-file --batch [2023-09-25T06:15:31.097Z] 2023-09-25 06:15:31,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-25T06:15:31.097Z] 2023-09-25 06:15:31,020 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-25T06:15:31.097Z] 2023-09-25 06:15:31,020 [execute] INFO git tag -a v3.1.0-dev.13 -m v3.1.0-dev.13 [2023-09-25T06:15:31.097Z] 2023-09-25 06:15:31,020 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.13', '-m', 'v3.1.0-dev.13'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-25T06:15:31.097Z] 2023-09-25 06:15:31,024 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-25T06:15:31.097Z] 3.1.0-dev.13 [Pipeline] } [2023-09-25T06:15:31.108Z] $ docker exec --env ******** --env ******** 0467cbf3d92005a2b1ad3f0ee3b5fdd7731c4e7f1efeefd57f876df62ef804a2 ssh-agent -k [2023-09-25T06:15:31.196Z] unset SSH_AUTH_SOCK; [2023-09-25T06:15:31.197Z] unset SSH_AGENT_PID; [2023-09-25T06:15:31.197Z] echo Agent pid 38 killed; [2023-09-25T06:15:31.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T06:15:31.494Z] + git semver [Pipeline] } [2023-09-25T06:15:31.766Z] $ docker stop --time=1 0467cbf3d92005a2b1ad3f0ee3b5fdd7731c4e7f1efeefd57f876df62ef804a2 [2023-09-25T06:15:33.046Z] $ docker rm -f --volumes 0467cbf3d92005a2b1ad3f0ee3b5fdd7731c4e7f1efeefd57f876df62ef804a2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:15:33.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T06:15:33.434Z] [2023-09-25T06:15:33.434Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:15:33.726Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T06:15:33.726Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-25T06:15:33.726Z] ab5ef0e58194: Pulling fs layer [2023-09-25T06:15:33.726Z] 9712f1f96733: Pulling fs layer [2023-09-25T06:15:33.726Z] 63f879dbbcfc: Pulling fs layer [2023-09-25T06:15:33.726Z] 0d9ebad4ef96: Pulling fs layer [2023-09-25T06:15:33.726Z] e9a5061849ea: Pulling fs layer [2023-09-25T06:15:33.726Z] d747dcd14b5f: Pulling fs layer [2023-09-25T06:15:33.726Z] 2de7ff778b66: Pulling fs layer [2023-09-25T06:15:33.726Z] d747dcd14b5f: Waiting [2023-09-25T06:15:33.726Z] 0d9ebad4ef96: Waiting [2023-09-25T06:15:33.726Z] 2de7ff778b66: Waiting [2023-09-25T06:15:33.726Z] e9a5061849ea: Waiting [2023-09-25T06:15:33.726Z] 9712f1f96733: Verifying Checksum [2023-09-25T06:15:33.726Z] 9712f1f96733: Download complete [2023-09-25T06:15:33.983Z] 63f879dbbcfc: Verifying Checksum [2023-09-25T06:15:33.983Z] 63f879dbbcfc: Download complete [2023-09-25T06:15:34.247Z] e9a5061849ea: Verifying Checksum [2023-09-25T06:15:34.247Z] e9a5061849ea: Download complete [2023-09-25T06:15:34.247Z] d747dcd14b5f: Verifying Checksum [2023-09-25T06:15:34.247Z] d747dcd14b5f: Download complete [2023-09-25T06:15:34.247Z] ab5ef0e58194: Verifying Checksum [2023-09-25T06:15:34.247Z] ab5ef0e58194: Download complete [2023-09-25T06:15:34.247Z] 0d9ebad4ef96: Verifying Checksum [2023-09-25T06:15:34.247Z] 0d9ebad4ef96: Download complete [2023-09-25T06:15:34.504Z] 2de7ff778b66: Download complete [2023-09-25T06:15:37.033Z] ab5ef0e58194: Pull complete [2023-09-25T06:15:37.033Z] 9712f1f96733: Pull complete [2023-09-25T06:15:37.598Z] 63f879dbbcfc: Pull complete [2023-09-25T06:15:40.876Z] 0d9ebad4ef96: Pull complete [2023-09-25T06:15:41.134Z] e9a5061849ea: Pull complete [2023-09-25T06:15:41.134Z] d747dcd14b5f: Pull complete [2023-09-25T06:15:42.066Z] 2de7ff778b66: Pull complete [2023-09-25T06:15:42.325Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-25T06:15:42.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T06:15:42.325Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:15:42.413Z] prd-ubuntu20.04-docker-8c-8g-7795 does not seem to be running inside a container [2023-09-25T06:15:42.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-25T06:15:48.633Z] $ docker top 1af40d0ceec7c884a1dfc1a754efb79c85024863e1ffaf07283c13c6246ef5e0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-25T06:15:48.701Z] provisioning config files... [2023-09-25T06:15:48.706Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7820481842798617763tmp [2023-09-25T06:15:48.716Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10951050837809345299tmp [2023-09-25T06:15:48.724Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7269119111956322392tmp [Pipeline] { [Pipeline] echo [2023-09-25T06:15:48.736Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:15:49.017Z] ---> sigul-configuration.sh [2023-09-25T06:15:49.017Z] gpg: directory `/root/.gnupg' created [2023-09-25T06:15:49.017Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-25T06:15:49.017Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-25T06:15:49.017Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-25T06:15:49.017Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-25T06:15:49.017Z] gpg: CAST5 encrypted data [2023-09-25T06:15:49.017Z] gpg: encrypted with 1 passphrase [2023-09-25T06:15:49.017Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-25T06:15:49.302Z] + mkdir /home/jenkins [2023-09-25T06:15:49.302Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-25T06:15:49.585Z] + 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-25T06:15:49.593Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:15:49.874Z] ---> sigul-install.sh [2023-09-25T06:15:49.875Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-25T06:15:50.164Z] + git tag --list [2023-09-25T06:15:50.164Z] 0.7.1 [2023-09-25T06:15:50.164Z] v1.0.0 [2023-09-25T06:15:50.164Z] v1.1.0 [2023-09-25T06:15:50.164Z] v1.1.1 [2023-09-25T06:15:50.164Z] v1.2.2 [2023-09-25T06:15:50.164Z] v1.3.0 [2023-09-25T06:15:50.164Z] v1.3.1 [2023-09-25T06:15:50.164Z] v2.0.0 [2023-09-25T06:15:50.164Z] v2.1.0 [2023-09-25T06:15:50.164Z] v2.1.1 [2023-09-25T06:15:50.164Z] v2.2.0 [2023-09-25T06:15:50.164Z] v2.3.0 [2023-09-25T06:15:50.164Z] v3.0 [2023-09-25T06:15:50.164Z] v3.0.0 [2023-09-25T06:15:50.164Z] v3.1.0-dev.1 [2023-09-25T06:15:50.164Z] v3.1.0-dev.10 [2023-09-25T06:15:50.164Z] v3.1.0-dev.11 [2023-09-25T06:15:50.164Z] v3.1.0-dev.12 [2023-09-25T06:15:50.164Z] v3.1.0-dev.13 [2023-09-25T06:15:50.164Z] v3.1.0-dev.2 [2023-09-25T06:15:50.164Z] v3.1.0-dev.3 [2023-09-25T06:15:50.164Z] v3.1.0-dev.4 [2023-09-25T06:15:50.164Z] v3.1.0-dev.5 [2023-09-25T06:15:50.164Z] v3.1.0-dev.6 [2023-09-25T06:15:50.164Z] v3.1.0-dev.7 [2023-09-25T06:15:50.164Z] v3.1.0-dev.8 [2023-09-25T06:15:50.164Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-25T06:15:50.449Z] + lftools sign git-tag v3.1.0-dev.13 [2023-09-25T06:15:51.016Z] Signing Git tag with Sigul... [2023-09-25T06:15:51.017Z] Signing v3.1.0-dev.13 [Pipeline] echo [2023-09-25T06:15:51.282Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:15:51.564Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-25T06:15:51.571Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-25T06:15:51.589Z] $ docker stop --time=1 1af40d0ceec7c884a1dfc1a754efb79c85024863e1ffaf07283c13c6246ef5e0 [2023-09-25T06:15:52.858Z] $ docker rm -f --volumes 1af40d0ceec7c884a1dfc1a754efb79c85024863e1ffaf07283c13c6246ef5e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-25T06:15:53.252Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T06:15:53.252Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:15:53.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T06:15:53.547Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:15:53.616Z] prd-ubuntu20.04-docker-8c-8g-7795 does not seem to be running inside a container [2023-09-25T06:15:53.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T06:15:53.978Z] $ docker top e3a2530e9ca7ce50a6ddb5862a401fde578bc197cf30e46a0637ba464f7fadc4 -eo pid,comm [2023-09-25T06:15:54.025Z] 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-25T06:15:54.025Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T06:15:54.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T06:15:54.054Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T06:15:54.165Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T06:15:54.169Z] $ docker exec e3a2530e9ca7ce50a6ddb5862a401fde578bc197cf30e46a0637ba464f7fadc4 ssh-agent [2023-09-25T06:15:54.279Z] SSH_AUTH_SOCK=/tmp/ssh-KRenLnT5g1ak/agent.32 [2023-09-25T06:15:54.279Z] SSH_AGENT_PID=38 [2023-09-25T06:15:54.284Z] Running ssh-add (command line suppressed) [2023-09-25T06:15:54.384Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5689686919883422921.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5689686919883422921.key) [2023-09-25T06:15:54.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T06:15:54.678Z] + git semver bump pre [2023-09-25T06:15:54.936Z] 2023-09-25 06:15:54,845 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-25T06:15:54.936Z] 2023-09-25 06:15:54,846 [bump_version] DEBUG bumping version:3.1.0-dev.13 on axis:pre with prefix:dev [2023-09-25T06:15:54.936Z] 2023-09-25 06:15:54,846 [bump_version] DEBUG bumped version:3.1.0-dev.14 [2023-09-25T06:15:54.936Z] 2023-09-25 06:15:54,846 [write_version] DEBUG write version:3.1.0-dev.14 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-09-25T06:15:54.936Z] 2023-09-25 06:15:54,846 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-25T06:15:54.936Z] 2023-09-25 06:15:54,846 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-25T06:15:54.936Z] 2023-09-25 06:15:54,847 [execute] INFO git cat-file --batch-check [2023-09-25T06:15:54.936Z] 2023-09-25 06:15:54,848 [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-25T06:15:54.936Z] 2023-09-25 06:15:54,852 [execute] INFO git cat-file --batch [2023-09-25T06:15:54.936Z] 2023-09-25 06:15:54,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T06:15:54.936Z] 2023-09-25 06:15:54,857 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-25T06:15:54.936Z] 3.1.0-dev.14 [Pipeline] } [2023-09-25T06:15:54.946Z] $ docker exec --env ******** --env ******** e3a2530e9ca7ce50a6ddb5862a401fde578bc197cf30e46a0637ba464f7fadc4 ssh-agent -k [2023-09-25T06:15:55.036Z] unset SSH_AUTH_SOCK; [2023-09-25T06:15:55.036Z] unset SSH_AGENT_PID; [2023-09-25T06:15:55.036Z] echo Agent pid 38 killed; [2023-09-25T06:15:55.045Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T06:15:55.349Z] + git semver [Pipeline] } [2023-09-25T06:15:55.623Z] $ docker stop --time=1 e3a2530e9ca7ce50a6ddb5862a401fde578bc197cf30e46a0637ba464f7fadc4 [2023-09-25T06:15:56.875Z] $ docker rm -f --volumes e3a2530e9ca7ce50a6ddb5862a401fde578bc197cf30e46a0637ba464f7fadc4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T06:15:57.219Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T06:15:57.219Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:15:57.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T06:15:57.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:15:57.597Z] prd-ubuntu20.04-docker-8c-8g-7795 does not seem to be running inside a container [2023-09-25T06:15:57.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T06:15:57.960Z] $ docker top ff8b7d167c2d004b99f0ea3015706c81595620eef884c9fc27c5f6952efb5cd8 -eo pid,comm [2023-09-25T06:15:58.002Z] 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-25T06:15:58.002Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T06:15:58.034Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T06:15:58.034Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T06:15:58.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T06:15:58.139Z] $ docker exec ff8b7d167c2d004b99f0ea3015706c81595620eef884c9fc27c5f6952efb5cd8 ssh-agent [2023-09-25T06:15:58.245Z] SSH_AUTH_SOCK=/tmp/ssh-Q4Iomscxm49q/agent.33 [2023-09-25T06:15:58.245Z] SSH_AGENT_PID=39 [2023-09-25T06:15:58.248Z] Running ssh-add (command line suppressed) [2023-09-25T06:15:58.356Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2432859637127217513.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2432859637127217513.key) [2023-09-25T06:15:58.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T06:15:58.759Z] + git semver push [2023-09-25T06:15:59.039Z] 2023-09-25 06:15:58,904 [run_push] DEBUG push [2023-09-25T06:15:59.039Z] 2023-09-25 06:15:58,905 [execute] INFO git cat-file --batch-check [2023-09-25T06:15:59.039Z] 2023-09-25 06:15:58,905 [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-25T06:15:59.039Z] 2023-09-25 06:15:58,908 [execute] INFO git rev-list 39944aa37f429e308437824d7a6586761463321d -- [2023-09-25T06:15:59.039Z] 2023-09-25 06:15:58,908 [execute] DEBUG Popen(['git', 'rev-list', '39944aa37f429e308437824d7a6586761463321d', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-25T06:15:59.039Z] 2023-09-25 06:15:58,916 [execute] INFO git fetch -v origin [2023-09-25T06:15:59.039Z] 2023-09-25 06:15:58,916 [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-25T06:15:59.654Z] 2023-09-25 06:15:59,368 [run_push] DEBUG no remote changes detected [2023-09-25T06:15:59.654Z] 2023-09-25 06:15:59,369 [execute] INFO git push origin semver [2023-09-25T06:15:59.654Z] 2023-09-25 06:15:59,369 [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-25T06:16:00.222Z] 2023-09-25 06:16:00,153 [run_push] DEBUG push all version tags [2023-09-25T06:16:00.222Z] 2023-09-25 06:16:00,154 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-25T06:16:00.222Z] 2023-09-25 06:16:00,154 [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-25T06:16:01.159Z] 2023-09-25 06:16:00,858 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-25T06:16:01.159Z] 3.1.0-dev.14 [Pipeline] } [2023-09-25T06:16:01.171Z] $ docker exec --env ******** --env ******** ff8b7d167c2d004b99f0ea3015706c81595620eef884c9fc27c5f6952efb5cd8 ssh-agent -k [2023-09-25T06:16:01.273Z] unset SSH_AUTH_SOCK; [2023-09-25T06:16:01.273Z] unset SSH_AGENT_PID; [2023-09-25T06:16:01.273Z] echo Agent pid 39 killed; [2023-09-25T06:16:01.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T06:16:01.574Z] + git semver [Pipeline] } [2023-09-25T06:16:01.860Z] $ docker stop --time=1 ff8b7d167c2d004b99f0ea3015706c81595620eef884c9fc27c5f6952efb5cd8 [2023-09-25T06:16:03.112Z] $ docker rm -f --volumes ff8b7d167c2d004b99f0ea3015706c81595620eef884c9fc27c5f6952efb5cd8 [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-25T06:16:03.706Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-09-25T06:16:03.706Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-25T06:16:03.706Z] total 16 [2023-09-25T06:16:03.706Z] drwxr-xr-x 3 root root 4096 Sep 25 06:08 . [2023-09-25T06:16:03.706Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 25 06:15 .. [2023-09-25T06:16:03.706Z] drwxr-xr-x 2 root root 4096 Sep 25 06:08 cost [2023-09-25T06:16:03.706Z] -rw-r--r-- 1 root root 88 Sep 25 06:08 cost.csv [2023-09-25T06:16:03.706Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-25T06:16:03.706Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-25T06:16:03.706Z] total 16 [2023-09-25T06:16:03.706Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 06:08 . [2023-09-25T06:16:03.706Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 25 06:15 .. [2023-09-25T06:16:03.706Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 06:08 cost [2023-09-25T06:16:03.706Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 25 06:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:16:03.995Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:16:04.849Z] ---> package-listing.sh [2023-09-25T06:16:04.849Z] ++ facter osfamily [2023-09-25T06:16:04.849Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-25T06:16:05.108Z] + OS_FAMILY=debian [2023-09-25T06:16:05.108Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-09-25T06:16:05.108Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-25T06:16:05.108Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-25T06:16:05.108Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-25T06:16:05.108Z] + PACKAGES=/tmp/packages_start.txt [2023-09-25T06:16:05.108Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-25T06:16:05.108Z] + PACKAGES=/tmp/packages_end.txt [2023-09-25T06:16:05.108Z] + case "${OS_FAMILY}" in [2023-09-25T06:16:05.108Z] + dpkg -l [2023-09-25T06:16:05.108Z] + grep '^ii' [2023-09-25T06:16:05.108Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-25T06:16:05.108Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-25T06:16:05.108Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-25T06:16:05.108Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-25T06:16:05.108Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-09-25T06:16:05.108Z] + 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-25T06:16:05.119Z] 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-25T06:16:05.393Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:16:05.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T06:16:05.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:16:06.020Z] prd-ubuntu20.04-docker-8c-8g-7795 does not seem to be running inside a container [2023-09-25T06:16:06.050Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T06:16:06.248Z] $ docker top 2d67335a458860cf00dd8ba206d6f38aca096265276c72a051d15cbf843da3f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T06:16:06.582Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-25T06:16:06.865Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-25T06:16:07.150Z] + ls /var/log/sa-host [2023-09-25T06:16:07.151Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T06:16:07.338Z] provisioning config files... [2023-09-25T06:16:07.344Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2386296910113870001tmp [Pipeline] { [Pipeline] echo [2023-09-25T06:16:07.356Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:16:07.636Z] ---> create-netrc.sh [Pipeline] } [2023-09-25T06:16:07.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:16:07.960Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-25T06:16:07.968Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:16:08.249Z] ---> sudo-logs.sh [2023-09-25T06:16:08.250Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-25T06:16:08.281Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:16:08.562Z] ---> job-cost.sh [2023-09-25T06:16:08.562Z] lf-activate-venv: SKIPPING [2023-09-25T06:16:08.562Z] DEBUG: total: 0.2199999988079071 [2023-09-25T06:16:08.562Z] INFO: Retrieving Stack Cost... [2023-09-25T06:16:09.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T06:16:09.387Z] INFO: Archiving Costs [Pipeline] echo [2023-09-25T06:16:09.396Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:16:09.676Z] ---> logs-deploy.sh [2023-09-25T06:16:09.676Z] lf-activate-venv: SKIPPING [2023-09-25T06:16:09.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/127 [2023-09-25T06:16:09.676Z] INFO: archiving workspace using pattern(s): [2023-09-25T06:16:10.611Z] Archives upload complete. [2023-09-25T06:16:10.611Z] INFO: archiving logs to Nexus