Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2cc3518655efefba22ff17e7bf1dcccbd8773e75 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-ssh2188991067902193691.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7723729652479980079.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh17148179401893201747.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh554477558638157544.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-ssh11966093649578775191.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.20 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 ‘prd-centos7-blackbox-4c-2g-15339’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-15340’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15709’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15710 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 2cc3518655efefba22ff17e7bf1dcccbd8773e75 (main) Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#481)" > 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 2cc3518655efefba22ff17e7bf1dcccbd8773e75 # timeout=10 > git rev-list --no-walk 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T11:48:02.189Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T11:48:02.261Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T11:48:02.282Z] ========================================================= [2023-05-16T11:48:02.282Z] EdgeX Global Pipelines Version Info [2023-05-16T11:48:02.282Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-16T11:48:03.002Z] ------------------- [2023-05-16T11:48:03.002Z] stable info: [2023-05-16T11:48:03.002Z] ------------------- [2023-05-16T11:48:03.002Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T11:48:03.002Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T11:48:03.002Z] Message: update stable to v1.0.249 [2023-05-16T11:48:03.574Z] ------------------- [2023-05-16T11:48:03.574Z] experimental info: [2023-05-16T11:48:03.574Z] ------------------- [2023-05-16T11:48:03.574Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T11:48:03.574Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T11:48:03.574Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T11:48:03.726Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-16T11:48:03.736Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-16T11:48:03.745Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T11:48:03.755Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T11:48:03.765Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T11:48:03.773Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T11:48:03.782Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T11:48:03.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T11:48:03.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T11:48:03.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T11:48:03.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T11:48:03.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-16T11:48:03.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T11:48:03.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T11:48:03.890Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T11:48:03.907Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T11:48:03.923Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T11:48:03.936Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T11:48:03.948Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T11:48:03.959Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T11:48:03.974Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T11:48:03.989Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T11:48:04.008Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T11:48:04.023Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T11:48:04.031Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T11:48:04.040Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T11:48:04.048Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T11:48:04.058Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-16T11:48:04.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-16T11:48:04.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-16T11:48:04.105Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] echo [2023-05-16T11:48:04.118Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2cc3518 [Pipeline] echo [2023-05-16T11:48:04.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T11:48:04.178Z] provisioning config files... [2023-05-16T11:48:04.190Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10766120894490450564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T11:48:04.493Z] ---> docker-login.sh [2023-05-16T11:48:04.493Z] nexus3.edgexfoundry.org:10001 [2023-05-16T11:48:04.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:48:04.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:48:04.766Z] Configure a credential helper to remove this warning. See [2023-05-16T11:48:04.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:48:04.766Z] [2023-05-16T11:48:04.766Z] Login Succeeded [2023-05-16T11:48:04.766Z] nexus3.edgexfoundry.org:10002 [2023-05-16T11:48:04.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:48:05.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:48:05.027Z] Configure a credential helper to remove this warning. See [2023-05-16T11:48:05.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:48:05.027Z] [2023-05-16T11:48:05.027Z] Login Succeeded [2023-05-16T11:48:05.027Z] nexus3.edgexfoundry.org:10003 [2023-05-16T11:48:05.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:48:05.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:48:05.027Z] Configure a credential helper to remove this warning. See [2023-05-16T11:48:05.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:48:05.027Z] [2023-05-16T11:48:05.027Z] Login Succeeded [2023-05-16T11:48:05.027Z] nexus3.edgexfoundry.org:10004 [2023-05-16T11:48:05.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:48:05.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:48:05.027Z] Configure a credential helper to remove this warning. See [2023-05-16T11:48:05.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:48:05.027Z] [2023-05-16T11:48:05.027Z] Login Succeeded [2023-05-16T11:48:05.027Z] docker.io [2023-05-16T11:48:05.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:48:05.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:48:05.548Z] Configure a credential helper to remove this warning. See [2023-05-16T11:48:05.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:48:05.548Z] [2023-05-16T11:48:05.548Z] Login Succeeded [2023-05-16T11:48:05.548Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T11:48:05.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T11:48:05.925Z] + git rev-list -1 --merges 2cc3518655efefba22ff17e7bf1dcccbd8773e75~1..2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] echo [2023-05-16T11:48:05.979Z] -----------> git rev-list -1 --merges 2cc3518655efefba22ff17e7bf1dcccbd8773e75~1..2cc3518655efefba22ff17e7bf1dcccbd8773e75 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [false] [Pipeline] sh [2023-05-16T11:48:06.267Z] + git log --format=format:%s -1 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] echo [2023-05-16T11:48:06.293Z] ========================================================= [2023-05-16T11:48:06.293Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T11:48:06.293Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T11:48:06.614Z] + git log --format=format:%s -1 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] echo [2023-05-16T11:48:06.626Z] [semverPrep] GIT_COMMIT: 2cc3518655efefba22ff17e7bf1dcccbd8773e75, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#481) [Pipeline] echo [2023-05-16T11:48:06.635Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T11:48:06.994Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T11:48:06.994Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T11:48:06.994Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T11:48:06.994Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T11:48:06.994Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T11:48:06.994Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T11:48:06.994Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:48:07.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T11:48:07.356Z] [2023-05-16T11:48:07.356Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:48:07.663Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T11:48:07.663Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T11:48:07.663Z] b85a868b505f: Pulling fs layer [2023-05-16T11:48:07.663Z] e2be974225ed: Pulling fs layer [2023-05-16T11:48:07.663Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T11:48:07.663Z] 988bab9f4d93: Pulling fs layer [2023-05-16T11:48:07.663Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T11:48:07.663Z] eaf3925da568: Pulling fs layer [2023-05-16T11:48:07.663Z] bab4dde63d76: Pulling fs layer [2023-05-16T11:48:07.663Z] bde34c3a00c8: Pulling fs layer [2023-05-16T11:48:07.663Z] b352a97aabf1: Pulling fs layer [2023-05-16T11:48:07.663Z] 4872d77fe225: Pulling fs layer [2023-05-16T11:48:07.663Z] 5851b861e8e6: Pulling fs layer [2023-05-16T11:48:07.663Z] 4872d77fe225: Waiting [2023-05-16T11:48:07.663Z] 5851b861e8e6: Waiting [2023-05-16T11:48:07.663Z] bde34c3a00c8: Waiting [2023-05-16T11:48:07.663Z] 1469e6f7b9e6: Waiting [2023-05-16T11:48:07.663Z] eaf3925da568: Waiting [2023-05-16T11:48:07.663Z] b352a97aabf1: Waiting [2023-05-16T11:48:07.663Z] bab4dde63d76: Waiting [2023-05-16T11:48:07.663Z] e2be974225ed: Verifying Checksum [2023-05-16T11:48:07.663Z] e2be974225ed: Download complete [2023-05-16T11:48:07.663Z] 988bab9f4d93: Verifying Checksum [2023-05-16T11:48:07.663Z] 988bab9f4d93: Download complete [2023-05-16T11:48:07.663Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T11:48:07.663Z] 1469e6f7b9e6: Download complete [2023-05-16T11:48:07.923Z] eaf3925da568: Verifying Checksum [2023-05-16T11:48:07.923Z] eaf3925da568: Download complete [2023-05-16T11:48:07.923Z] 339a4e72a1f5: Download complete [2023-05-16T11:48:07.923Z] bde34c3a00c8: Verifying Checksum [2023-05-16T11:48:07.923Z] bde34c3a00c8: Download complete [2023-05-16T11:48:07.923Z] b352a97aabf1: Download complete [2023-05-16T11:48:07.923Z] 4872d77fe225: Verifying Checksum [2023-05-16T11:48:07.923Z] 4872d77fe225: Download complete [2023-05-16T11:48:07.923Z] 5851b861e8e6: Verifying Checksum [2023-05-16T11:48:07.923Z] 5851b861e8e6: Download complete [2023-05-16T11:48:07.923Z] b85a868b505f: Verifying Checksum [2023-05-16T11:48:07.923Z] b85a868b505f: Download complete [2023-05-16T11:48:08.182Z] bab4dde63d76: Verifying Checksum [2023-05-16T11:48:08.182Z] bab4dde63d76: Download complete [2023-05-16T11:48:09.119Z] b85a868b505f: Pull complete [2023-05-16T11:48:09.119Z] e2be974225ed: Pull complete [2023-05-16T11:48:09.686Z] 339a4e72a1f5: Pull complete [2023-05-16T11:48:09.686Z] 988bab9f4d93: Pull complete [2023-05-16T11:48:09.946Z] 1469e6f7b9e6: Pull complete [2023-05-16T11:48:09.946Z] eaf3925da568: Pull complete [2023-05-16T11:48:11.848Z] bab4dde63d76: Pull complete [2023-05-16T11:48:11.848Z] bde34c3a00c8: Pull complete [2023-05-16T11:48:11.848Z] b352a97aabf1: Pull complete [2023-05-16T11:48:11.848Z] 4872d77fe225: Pull complete [2023-05-16T11:48:12.108Z] 5851b861e8e6: Pull complete [2023-05-16T11:48:12.108Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T11:48:12.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T11:48:12.108Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T11:48:12.206Z] prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container [2023-05-16T11:48:12.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-16T11:48:16.678Z] $ docker top 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa -eo pid,comm [2023-05-16T11:48:16.729Z] 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-05-16T11:48:16.729Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T11:48:16.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T11:48:16.769Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T11:48:16.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T11:48:16.883Z] $ docker exec 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa ssh-agent [2023-05-16T11:48:16.983Z] SSH_AUTH_SOCK=/tmp/ssh-pfREl7j5GGjv/agent.32 [2023-05-16T11:48:16.983Z] SSH_AGENT_PID=38 [2023-05-16T11:48:16.990Z] Running ssh-add (command line suppressed) [2023-05-16T11:48:17.101Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1711180828122763519.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1711180828122763519.key) [2023-05-16T11:48:17.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T11:48:17.409Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T11:48:17.424Z] $ docker exec --env ******** --env ******** 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa ssh-agent -k [2023-05-16T11:48:17.523Z] unset SSH_AUTH_SOCK; [2023-05-16T11:48:17.524Z] unset SSH_AGENT_PID; [2023-05-16T11:48:17.524Z] echo Agent pid 38 killed; [2023-05-16T11:48:17.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T11:48:17.559Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T11:48:17.559Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T11:48:17.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T11:48:17.670Z] $ docker exec 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa ssh-agent [2023-05-16T11:48:17.765Z] SSH_AUTH_SOCK=/tmp/ssh-DBtrBmpygndJ/agent.71 [2023-05-16T11:48:17.765Z] SSH_AGENT_PID=77 [2023-05-16T11:48:17.771Z] Running ssh-add (command line suppressed) [2023-05-16T11:48:17.868Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7605930437259222284.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7605930437259222284.key) [2023-05-16T11:48:17.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T11:48:18.168Z] + git semver init [2023-05-16T11:48:18.429Z] 2023-05-16 11:48:18,337 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T11:48:18.429Z] 2023-05-16 11:48:18,338 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-16T11:48:18.429Z] 2023-05-16 11:48:18,339 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-16T11:48:18.429Z] 2023-05-16 11:48:18,339 [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-05-16T11:48:19.369Z] 2023-05-16 11:48:19,135 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-16T11:48:19.369Z] 2023-05-16 11:48:19,135 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-16T11:48:19.369Z] 2023-05-16 11:48:19,135 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-16T11:48:19.369Z] 2023-05-16 11:48:19,135 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-16T11:48:19.369Z] 3.0.0-dev.41 [Pipeline] } [2023-05-16T11:48:19.382Z] $ docker exec --env ******** --env ******** 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa ssh-agent -k [2023-05-16T11:48:19.491Z] unset SSH_AUTH_SOCK; [2023-05-16T11:48:19.492Z] unset SSH_AGENT_PID; [2023-05-16T11:48:19.492Z] echo Agent pid 77 killed; [2023-05-16T11:48:19.499Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T11:48:19.815Z] + git semver [Pipeline] } [2023-05-16T11:48:20.097Z] $ docker stop --time=1 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa [2023-05-16T11:48:21.411Z] $ docker rm -f --volumes 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T11:48:21.740Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T11:48:21.943Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T11:48:21.946Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.41 [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-05-16T11:48:22.116Z] provisioning config files... [2023-05-16T11:48:22.126Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10879174848103125011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T11:48:22.424Z] ---> docker-login.sh [2023-05-16T11:48:22.424Z] nexus3.edgexfoundry.org:10001 [2023-05-16T11:48:22.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:48:22.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:48:22.424Z] Configure a credential helper to remove this warning. See [2023-05-16T11:48:22.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:48:22.424Z] [2023-05-16T11:48:22.424Z] Login Succeeded [2023-05-16T11:48:22.424Z] nexus3.edgexfoundry.org:10002 [2023-05-16T11:48:22.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:48:22.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:48:22.424Z] Configure a credential helper to remove this warning. See [2023-05-16T11:48:22.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:48:22.424Z] [2023-05-16T11:48:22.424Z] Login Succeeded [2023-05-16T11:48:22.424Z] nexus3.edgexfoundry.org:10003 [2023-05-16T11:48:22.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:48:22.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:48:22.684Z] Configure a credential helper to remove this warning. See [2023-05-16T11:48:22.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:48:22.684Z] [2023-05-16T11:48:22.684Z] Login Succeeded [2023-05-16T11:48:22.684Z] nexus3.edgexfoundry.org:10004 [2023-05-16T11:48:22.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:48:22.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:48:22.684Z] Configure a credential helper to remove this warning. See [2023-05-16T11:48:22.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:48:22.684Z] [2023-05-16T11:48:22.684Z] Login Succeeded [2023-05-16T11:48:22.684Z] docker.io [2023-05-16T11:48:22.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:48:22.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:48:22.944Z] Configure a credential helper to remove this warning. See [2023-05-16T11:48:22.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:48:22.944Z] [2023-05-16T11:48:22.944Z] Login Succeeded [2023-05-16T11:48:22.944Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T11:48:22.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T11:48:23.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T11:48:23.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T11:48:23.051Z] ========================================================= [2023-05-16T11:48:23.051Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T11:48:23.051Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:48:23.375Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T11:48:23.375Z] Sending build context to Docker daemon 6.516MB [2023-05-16T11:48:23.375Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T11:48:23.375Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-16T11:48:23.375Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T11:48:23.375Z] f56be85fc22e: Pulling fs layer [2023-05-16T11:48:23.375Z] 85791d961cd3: Pulling fs layer [2023-05-16T11:48:23.375Z] d694b5ae8c79: Pulling fs layer [2023-05-16T11:48:23.375Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T11:48:23.375Z] 4d19c01a9841: Pulling fs layer [2023-05-16T11:48:23.375Z] 9325e15d5711: Pulling fs layer [2023-05-16T11:48:23.375Z] 556b6ee489ea: Pulling fs layer [2023-05-16T11:48:23.375Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T11:48:23.375Z] 9325e15d5711: Waiting [2023-05-16T11:48:23.375Z] 556b6ee489ea: Waiting [2023-05-16T11:48:23.375Z] c5a4b2cf53e6: Waiting [2023-05-16T11:48:23.375Z] 9f32a84ed3da: Waiting [2023-05-16T11:48:23.375Z] 4d19c01a9841: Waiting [2023-05-16T11:48:23.375Z] 85791d961cd3: Download complete [2023-05-16T11:48:23.375Z] 9f32a84ed3da: Download complete [2023-05-16T11:48:23.637Z] 4d19c01a9841: Verifying Checksum [2023-05-16T11:48:23.637Z] 4d19c01a9841: Download complete [2023-05-16T11:48:23.637Z] f56be85fc22e: Verifying Checksum [2023-05-16T11:48:23.637Z] f56be85fc22e: Download complete [2023-05-16T11:48:23.637Z] 9325e15d5711: Verifying Checksum [2023-05-16T11:48:23.637Z] 9325e15d5711: Download complete [2023-05-16T11:48:23.637Z] f56be85fc22e: Pull complete [2023-05-16T11:48:23.900Z] 85791d961cd3: Pull complete [2023-05-16T11:48:24.158Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T11:48:24.158Z] c5a4b2cf53e6: Download complete [2023-05-16T11:48:24.158Z] d694b5ae8c79: Verifying Checksum [2023-05-16T11:48:24.417Z] 556b6ee489ea: Verifying Checksum [2023-05-16T11:48:24.417Z] 556b6ee489ea: Download complete [2023-05-16T11:48:27.703Z] d694b5ae8c79: Pull complete [2023-05-16T11:48:27.703Z] 9f32a84ed3da: Pull complete [2023-05-16T11:48:27.703Z] 4d19c01a9841: Pull complete [2023-05-16T11:48:27.703Z] 9325e15d5711: Pull complete [2023-05-16T11:48:30.240Z] 556b6ee489ea: Pull complete [2023-05-16T11:48:30.809Z] c5a4b2cf53e6: Pull complete [2023-05-16T11:48:30.809Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T11:48:30.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T11:48:30.810Z] ---> c4be618373d6 [2023-05-16T11:48:30.810Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-16T11:48:36.098Z] ---> Running in c6824b85d821 [2023-05-16T11:48:36.098Z] Removing intermediate container c6824b85d821 [2023-05-16T11:48:36.098Z] ---> 051392f3de81 [2023-05-16T11:48:36.098Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T11:48:36.098Z] ---> Running in 729a30ad433a [2023-05-16T11:48:36.357Z] Removing intermediate container 729a30ad433a [2023-05-16T11:48:36.357Z] ---> 65b252f909c7 [2023-05-16T11:48:36.357Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-16T11:48:36.357Z] ---> Running in 82942503c4bb [2023-05-16T11:48:36.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T11:48:36.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T11:48:36.877Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T11:48:36.877Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-16T11:48:36.877Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T11:48:36.877Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T11:48:36.877Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-05-16T11:48:36.877Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-05-16T11:48:36.877Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-05-16T11:48:36.877Z] (8/8) Installing openssh (9.1_p1-r3) [2023-05-16T11:48:36.877Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T11:48:36.877Z] OK: 270 MiB in 61 packages [2023-05-16T11:48:37.059Z] Still waiting to schedule task [2023-05-16T11:48:37.059Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15711’ is offline [2023-05-16T11:48:37.445Z] Removing intermediate container 82942503c4bb [2023-05-16T11:48:37.445Z] ---> 29b4e63c3e8d [2023-05-16T11:48:37.445Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-16T11:48:37.445Z] ---> Running in 4f24f977c803 [2023-05-16T11:48:37.704Z] Removing intermediate container 4f24f977c803 [2023-05-16T11:48:37.704Z] ---> c225b562d0e7 [2023-05-16T11:48:37.704Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-16T11:48:37.704Z] ---> b127d28f9a05 [2023-05-16T11:48:37.704Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T11:48:37.704Z] ---> Running in 356950d9cb15 [2023-05-16T11:49:04.254Z] Removing intermediate container 356950d9cb15 [2023-05-16T11:49:04.254Z] ---> ae43de22c927 [2023-05-16T11:49:04.254Z] Step 9/10 : COPY . . [2023-05-16T11:49:04.254Z] ---> 4531ff309feb [2023-05-16T11:49:04.254Z] Step 10/10 : RUN ${MAKE} [2023-05-16T11:49:04.254Z] ---> Running in d12e4596d656 [2023-05-16T11:49:04.254Z] noop [2023-05-16T11:49:04.254Z] Removing intermediate container d12e4596d656 [2023-05-16T11:49:04.254Z] ---> 90d303862705 [2023-05-16T11:49:04.254Z] Successfully built 90d303862705 [2023-05-16T11:49:04.254Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:49:04.564Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T11:49:04.564Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T11:49:04.632Z] prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container [2023-05-16T11:49:04.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T11:49:04.993Z] $ docker top 8a61d12fdb357c65d99619c9d45ad0f60cea216fa7a1057deca18ff071e427ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T11:49:05.333Z] + go version [2023-05-16T11:49:05.333Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T11:49:05.347Z] $ docker stop --time=1 8a61d12fdb357c65d99619c9d45ad0f60cea216fa7a1057deca18ff071e427ae [2023-05-16T11:49:06.693Z] $ docker rm -f --volumes 8a61d12fdb357c65d99619c9d45ad0f60cea216fa7a1057deca18ff071e427ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:49:07.131Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T11:49:07.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T11:49:07.202Z] prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container [2023-05-16T11:49:07.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T11:49:07.546Z] $ docker top 29e5da298a6f343ff35efbb73220fdd0bbdeab9e28df68c7d9caf3225d3b395b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T11:49:07.883Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-16T11:49:08.182Z] + make test [2023-05-16T11:49:08.182Z] go test ./... -coverprofile=coverage.out [2023-05-16T11:49:12.370Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-16T11:49:22.337Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-16T11:49:22.337Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements [2023-05-16T11:49:27.603Z] go vet ./... [2023-05-16T11:49:30.885Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T11:49:30.885Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T11:49:30.885Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T11:49:30.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T11:49:30.911Z] $ docker stop --time=1 29e5da298a6f343ff35efbb73220fdd0bbdeab9e28df68c7d9caf3225d3b395b [2023-05-16T11:49:36.650Z] $ docker rm -f --volumes 29e5da298a6f343ff35efbb73220fdd0bbdeab9e28df68c7d9caf3225d3b395b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T11:49:37.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T11:49:37.221Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T11:49:37.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T11:49:38.022Z] + ls -al . [2023-05-16T11:49:38.022Z] total 184 [2023-05-16T11:49:38.022Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 11:49 . [2023-05-16T11:49:38.022Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:48 .. [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 11:48 .dockerignore [2023-05-16T11:49:38.022Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:48 .git [2023-05-16T11:49:38.022Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:48 .github [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 331 May 16 11:48 .gitignore [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 11:48 .golangci.yml [2023-05-16T11:49:38.022Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 11:48 .semver [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 16 11:48 Attribution.txt [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 16 11:48 CHANGELOG.md [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 16 11:48 Dockerfile [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 11:48 GOVERNANCE.md [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 680 May 16 11:48 Jenkinsfile [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 11:48 LICENSE [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 16 11:48 Makefile [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 11:48 OWNERS.md [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 16 11:48 README.md [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 12 May 16 11:48 VERSION [2023-05-16T11:49:38.022Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:48 bin [2023-05-16T11:49:38.022Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:48 cmd [2023-05-16T11:49:38.022Z] -rw-r--r-- 1 jenkins jenkins 24160 May 16 11:49 coverage.out [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 16 11:48 go.mod [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 16 11:48 go.sum [2023-05-16T11:49:38.022Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:48 internal [2023-05-16T11:49:38.022Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:48 simulator [2023-05-16T11:49:38.022Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:48 snap [2023-05-16T11:49:38.022Z] -rw-rw-r-- 1 jenkins jenkins 229 May 16 11:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:49:38.338Z] + 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=2cc3518655efefba22ff17e7bf1dcccbd8773e75 --label arch=amd64 --label version=3.0.0-dev.41 . [2023-05-16T11:49:38.338Z] Sending build context to Docker daemon 6.541MB [2023-05-16T11:49:38.338Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T11:49:38.338Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-16T11:49:38.338Z] ---> 90d303862705 [2023-05-16T11:49:38.338Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-16T11:49:38.338Z] ---> Running in c7771a19e707 [2023-05-16T11:49:38.596Z] Removing intermediate container c7771a19e707 [2023-05-16T11:49:38.596Z] ---> e4fd5b538a50 [2023-05-16T11:49:38.596Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T11:49:38.596Z] ---> Running in 34112ddeef05 [2023-05-16T11:49:38.596Z] Removing intermediate container 34112ddeef05 [2023-05-16T11:49:38.596Z] ---> 7551dcf5c612 [2023-05-16T11:49:38.596Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-16T11:49:38.596Z] ---> Running in a3464f8179f9 [2023-05-16T11:49:38.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T11:49:38.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T11:49:39.114Z] OK: 270 MiB in 61 packages [2023-05-16T11:49:39.681Z] Removing intermediate container a3464f8179f9 [2023-05-16T11:49:39.681Z] ---> ff79b05d4c05 [2023-05-16T11:49:39.681Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-16T11:49:39.681Z] ---> Running in 6e8e4d77a6f8 [2023-05-16T11:49:39.681Z] Removing intermediate container 6e8e4d77a6f8 [2023-05-16T11:49:39.681Z] ---> 038fa710d752 [2023-05-16T11:49:39.681Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-16T11:49:39.681Z] ---> 06494068b602 [2023-05-16T11:49:39.681Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T11:49:39.681Z] ---> Running in 30ffb8429c1e [2023-05-16T11:49:40.624Z] Removing intermediate container 30ffb8429c1e [2023-05-16T11:49:40.624Z] ---> 60116d5dd188 [2023-05-16T11:49:40.624Z] Step 9/22 : COPY . . [2023-05-16T11:49:40.881Z] ---> 8b782da3136e [2023-05-16T11:49:40.881Z] Step 10/22 : RUN ${MAKE} [2023-05-16T11:49:40.881Z] ---> Running in 45224727ce72 [2023-05-16T11:49:41.451Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.41" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-16T11:50:03.439Z] Removing intermediate container 45224727ce72 [2023-05-16T11:50:03.439Z] ---> 21e2e315df5c [2023-05-16T11:50:03.439Z] Step 11/22 : FROM alpine:3.17 [2023-05-16T11:50:03.439Z] 3.17: Pulling from library/alpine [2023-05-16T11:50:03.439Z] f56be85fc22e: Already exists [2023-05-16T11:50:03.439Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T11:50:03.439Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T11:50:03.439Z] ---> 9ed4aefc74f6 [2023-05-16T11:50:03.439Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-16T11:50:03.439Z] ---> Running in d1e77a8768ef [2023-05-16T11:50:03.439Z] Removing intermediate container d1e77a8768ef [2023-05-16T11:50:03.439Z] ---> 1caa55b01aac [2023-05-16T11:50:03.439Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-16T11:50:03.439Z] ---> Running in c08f83edba5c [2023-05-16T11:50:03.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T11:50:03.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T11:50:03.700Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T11:50:03.700Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T11:50:03.700Z] OK: 7 MiB in 16 packages [2023-05-16T11:50:03.959Z] Removing intermediate container c08f83edba5c [2023-05-16T11:50:03.959Z] ---> 6eae3c477256 [2023-05-16T11:50:03.959Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-16T11:50:04.907Z] ---> d31bcf98c925 [2023-05-16T11:50:04.907Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-16T11:50:05.165Z] ---> fcbbc079de0c [2023-05-16T11:50:05.165Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-16T11:50:05.165Z] ---> 066258e4f1a4 [2023-05-16T11:50:05.165Z] Step 17/22 : EXPOSE 59901 [2023-05-16T11:50:05.165Z] ---> Running in a10f480305cb [2023-05-16T11:50:05.424Z] Removing intermediate container a10f480305cb [2023-05-16T11:50:05.425Z] ---> cf95876bb391 [2023-05-16T11:50:05.425Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-16T11:50:05.425Z] ---> Running in cd899303ed05 [2023-05-16T11:50:05.425Z] Removing intermediate container cd899303ed05 [2023-05-16T11:50:05.425Z] ---> cdb5a8877def [2023-05-16T11:50:05.425Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-16T11:50:05.425Z] ---> Running in 5e87891e7c6d [2023-05-16T11:50:05.425Z] Removing intermediate container 5e87891e7c6d [2023-05-16T11:50:05.425Z] ---> df7519c3d2f9 [2023-05-16T11:50:05.425Z] Step 20/22 : LABEL arch=amd64 [2023-05-16T11:50:05.425Z] ---> Running in 6a0277f04950 [2023-05-16T11:50:05.684Z] Removing intermediate container 6a0277f04950 [2023-05-16T11:50:05.684Z] ---> 15ce950bdda5 [2023-05-16T11:50:05.684Z] Step 21/22 : LABEL git_sha=2cc3518655efefba22ff17e7bf1dcccbd8773e75 [2023-05-16T11:50:05.684Z] ---> Running in 1792dd5059e6 [2023-05-16T11:50:05.684Z] Removing intermediate container 1792dd5059e6 [2023-05-16T11:50:05.684Z] ---> 1ee642e3fbee [2023-05-16T11:50:05.684Z] Step 22/22 : LABEL version=3.0.0-dev.41 [2023-05-16T11:50:05.684Z] ---> Running in d7792b27fbb2 [2023-05-16T11:50:05.684Z] Removing intermediate container d7792b27fbb2 [2023-05-16T11:50:05.684Z] ---> 033cc97d32d5 [2023-05-16T11:50:05.684Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T11:50:05.684Z] Successfully built 033cc97d32d5 [2023-05-16T11:50:05.684Z] 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-05-16T11:50:05.805Z] provisioning config files... [2023-05-16T11:50:05.813Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5556513614931843786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T11:50:06.103Z] ---> docker-login.sh [2023-05-16T11:50:06.103Z] nexus3.edgexfoundry.org:10001 [2023-05-16T11:50:06.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:50:06.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:50:06.103Z] Configure a credential helper to remove this warning. See [2023-05-16T11:50:06.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:50:06.103Z] [2023-05-16T11:50:06.103Z] Login Succeeded [2023-05-16T11:50:06.103Z] nexus3.edgexfoundry.org:10002 [2023-05-16T11:50:06.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:50:06.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:50:06.103Z] Configure a credential helper to remove this warning. See [2023-05-16T11:50:06.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:50:06.103Z] [2023-05-16T11:50:06.103Z] Login Succeeded [2023-05-16T11:50:06.103Z] nexus3.edgexfoundry.org:10003 [2023-05-16T11:50:06.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:50:06.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:50:06.362Z] Configure a credential helper to remove this warning. See [2023-05-16T11:50:06.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:50:06.362Z] [2023-05-16T11:50:06.362Z] Login Succeeded [2023-05-16T11:50:06.362Z] nexus3.edgexfoundry.org:10004 [2023-05-16T11:50:06.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:50:06.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:50:06.362Z] Configure a credential helper to remove this warning. See [2023-05-16T11:50:06.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:50:06.362Z] [2023-05-16T11:50:06.362Z] Login Succeeded [2023-05-16T11:50:06.362Z] docker.io [2023-05-16T11:50:06.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:50:06.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:50:06.620Z] Configure a credential helper to remove this warning. See [2023-05-16T11:50:06.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:50:06.620Z] [2023-05-16T11:50:06.620Z] Login Succeeded [2023-05-16T11:50:06.620Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T11:50:06.626Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-16T11:50:06.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T11:50:06.685Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-16T11:50:06.685Z] 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [2023-05-16T11:50:06.685Z] latest [2023-05-16T11:50:06.685Z] 3.0.0-dev.41 [2023-05-16T11:50:06.685Z] 2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 [2023-05-16T11:50:06.685Z] main [2023-05-16T11:50:06.685Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:07.021Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:07.328Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75 [2023-05-16T11:50:07.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-16T11:50:07.328Z] fb24dc32a37a: Preparing [2023-05-16T11:50:07.328Z] 761d5ffef8fd: Preparing [2023-05-16T11:50:07.328Z] 7477b2258e9d: Preparing [2023-05-16T11:50:07.328Z] 7c9297daa1bd: Preparing [2023-05-16T11:50:07.328Z] f1417ff83b31: Preparing [2023-05-16T11:50:07.328Z] f1417ff83b31: Layer already exists [2023-05-16T11:50:07.328Z] 7c9297daa1bd: Pushed [2023-05-16T11:50:07.328Z] fb24dc32a37a: Pushed [2023-05-16T11:50:07.328Z] 761d5ffef8fd: Pushed [2023-05-16T11:50:09.866Z] 7477b2258e9d: Pushed [2023-05-16T11:50:09.866Z] 2cc3518655efefba22ff17e7bf1dcccbd8773e75: digest: sha256:211df69c6d37af449cce3af8264c98b4228a22234bc0545a01016f4056dc24b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:10.190Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:10.503Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-16T11:50:10.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-16T11:50:10.503Z] fb24dc32a37a: Preparing [2023-05-16T11:50:10.503Z] 761d5ffef8fd: Preparing [2023-05-16T11:50:10.503Z] 7477b2258e9d: Preparing [2023-05-16T11:50:10.503Z] 7c9297daa1bd: Preparing [2023-05-16T11:50:10.503Z] f1417ff83b31: Preparing [2023-05-16T11:50:10.503Z] 7477b2258e9d: Layer already exists [2023-05-16T11:50:10.503Z] 7c9297daa1bd: Layer already exists [2023-05-16T11:50:10.503Z] fb24dc32a37a: Layer already exists [2023-05-16T11:50:10.503Z] f1417ff83b31: Layer already exists [2023-05-16T11:50:10.503Z] 761d5ffef8fd: Layer already exists [2023-05-16T11:50:10.503Z] latest: digest: sha256:211df69c6d37af449cce3af8264c98b4228a22234bc0545a01016f4056dc24b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:10.820Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:11.135Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.41 [2023-05-16T11:50:11.135Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-16T11:50:11.135Z] fb24dc32a37a: Preparing [2023-05-16T11:50:11.135Z] 761d5ffef8fd: Preparing [2023-05-16T11:50:11.135Z] 7477b2258e9d: Preparing [2023-05-16T11:50:11.135Z] 7c9297daa1bd: Preparing [2023-05-16T11:50:11.135Z] f1417ff83b31: Preparing [2023-05-16T11:50:11.135Z] 7477b2258e9d: Layer already exists [2023-05-16T11:50:11.135Z] fb24dc32a37a: Layer already exists [2023-05-16T11:50:11.135Z] 7c9297daa1bd: Layer already exists [2023-05-16T11:50:11.135Z] 761d5ffef8fd: Layer already exists [2023-05-16T11:50:11.135Z] f1417ff83b31: Layer already exists [2023-05-16T11:50:11.135Z] 3.0.0-dev.41: digest: sha256:211df69c6d37af449cce3af8264c98b4228a22234bc0545a01016f4056dc24b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:11.447Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:11.756Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 [2023-05-16T11:50:11.756Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-16T11:50:11.756Z] fb24dc32a37a: Preparing [2023-05-16T11:50:11.756Z] 761d5ffef8fd: Preparing [2023-05-16T11:50:11.756Z] 7477b2258e9d: Preparing [2023-05-16T11:50:11.756Z] 7c9297daa1bd: Preparing [2023-05-16T11:50:11.756Z] f1417ff83b31: Preparing [2023-05-16T11:50:11.756Z] 7477b2258e9d: Layer already exists [2023-05-16T11:50:11.756Z] fb24dc32a37a: Layer already exists [2023-05-16T11:50:11.756Z] f1417ff83b31: Layer already exists [2023-05-16T11:50:11.756Z] 761d5ffef8fd: Layer already exists [2023-05-16T11:50:11.756Z] 7c9297daa1bd: Layer already exists [2023-05-16T11:50:11.756Z] 2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41: digest: sha256:211df69c6d37af449cce3af8264c98b4228a22234bc0545a01016f4056dc24b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:12.079Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:12.396Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-16T11:50:12.396Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-16T11:50:12.396Z] fb24dc32a37a: Preparing [2023-05-16T11:50:12.396Z] 761d5ffef8fd: Preparing [2023-05-16T11:50:12.396Z] 7477b2258e9d: Preparing [2023-05-16T11:50:12.396Z] 7c9297daa1bd: Preparing [2023-05-16T11:50:12.396Z] f1417ff83b31: Preparing [2023-05-16T11:50:12.396Z] fb24dc32a37a: Layer already exists [2023-05-16T11:50:12.396Z] 7477b2258e9d: Layer already exists [2023-05-16T11:50:12.396Z] f1417ff83b31: Layer already exists [2023-05-16T11:50:12.396Z] 761d5ffef8fd: Layer already exists [2023-05-16T11:50:12.396Z] 7c9297daa1bd: Layer already exists [2023-05-16T11:50:12.396Z] main: digest: sha256:211df69c6d37af449cce3af8264c98b4228a22234bc0545a01016f4056dc24b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-16T11:50:12.455Z] ===================================================== [Pipeline] echo [2023-05-16T11:50:12.465Z] taggedImages: [2023-05-16T11:50:12.465Z] - nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75 [2023-05-16T11:50:12.465Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-16T11:50:12.465Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.41 [2023-05-16T11:50:12.465Z] - nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 [2023-05-16T11:50:12.465Z] - 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-05-16T11:50:12.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T11:50:12.846Z] [2023-05-16T11:50:12.846Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:50:13.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T11:50:13.149Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T11:50:13.149Z] 5eb5b503b376: Pulling fs layer [2023-05-16T11:50:13.149Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T11:50:13.149Z] ec43610c2a17: Pulling fs layer [2023-05-16T11:50:13.149Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T11:50:13.149Z] 33b1e0a273af: Pulling fs layer [2023-05-16T11:50:13.149Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T11:50:13.149Z] 2f39f015ded8: Pulling fs layer [2023-05-16T11:50:13.149Z] 5d3b04190fa2: Waiting [2023-05-16T11:50:13.149Z] 3a2ae6a8a46f: Waiting [2023-05-16T11:50:13.149Z] 2f39f015ded8: Waiting [2023-05-16T11:50:13.149Z] 33b1e0a273af: Waiting [2023-05-16T11:50:13.149Z] 5c69ac0246d0: Download complete [2023-05-16T11:50:13.149Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T11:50:13.149Z] 3a2ae6a8a46f: Download complete [2023-05-16T11:50:13.409Z] 33b1e0a273af: Verifying Checksum [2023-05-16T11:50:13.409Z] 33b1e0a273af: Download complete [2023-05-16T11:50:13.409Z] 5d3b04190fa2: Verifying Checksum [2023-05-16T11:50:13.409Z] 5d3b04190fa2: Download complete [2023-05-16T11:50:13.409Z] ec43610c2a17: Verifying Checksum [2023-05-16T11:50:13.409Z] ec43610c2a17: Download complete [2023-05-16T11:50:13.409Z] 5eb5b503b376: Verifying Checksum [2023-05-16T11:50:13.409Z] 5eb5b503b376: Download complete [2023-05-16T11:50:13.988Z] 2f39f015ded8: Download complete [2023-05-16T11:50:14.554Z] 5eb5b503b376: Pull complete [2023-05-16T11:50:14.810Z] 5c69ac0246d0: Pull complete [2023-05-16T11:50:15.068Z] ec43610c2a17: Pull complete [2023-05-16T11:50:15.327Z] 3a2ae6a8a46f: Pull complete [2023-05-16T11:50:15.327Z] 33b1e0a273af: Pull complete [2023-05-16T11:50:15.584Z] 5d3b04190fa2: Pull complete [2023-05-16T11:50:19.772Z] 2f39f015ded8: Pull complete [2023-05-16T11:50:19.772Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T11:50:19.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T11:50:19.772Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T11:50:19.866Z] prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container [2023-05-16T11:50:19.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T11:50:24.273Z] $ docker top 70929462bb39730e0ffa7ab38e82f583d07409fa71c21fd983fba4fe9e6e12ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T11:50:24.637Z] ---> job-cost.sh [2023-05-16T11:50:24.637Z] lf-activate-venv: SKIPPING [2023-05-16T11:50:24.637Z] INFO: No Stack... [2023-05-16T11:50:24.897Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T11:50:25.157Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T11:50:25.445Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-16T11:50:25.445Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T11:50:25.460Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] [2023-05-16T11:50:25.469Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] did not exist. Created. [2023-05-16T11:50:25.469Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T11:50:25.776Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T11:50:25.808Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T11:50:25.819Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T11:50:25.839Z] $ docker stop --time=1 70929462bb39730e0ffa7ab38e82f583d07409fa71c21fd983fba4fe9e6e12ae [2023-05-16T11:50:27.004Z] $ docker rm -f --volumes 70929462bb39730e0ffa7ab38e82f583d07409fa71c21fd983fba4fe9e6e12ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T11:51:20.283Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15714 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-16T11:51:20.297Z] Running in /w/workspace/device-modbus-go/107 [Pipeline] { [Pipeline] checkout [2023-05-16T11:51:20.337Z] Selected Git installation does not exist. Using Default [2023-05-16T11:51:20.337Z] The recommended git tool is: NONE [2023-05-16T11:51:26.517Z] using credential edgex-jenkins-ssh [2023-05-16T11:51:26.539Z] Cloning the remote Git repository [2023-05-16T11:51:26.597Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-16T11:51:26.711Z] > git init /w/workspace/device-modbus-go/107 # timeout=10 [2023-05-16T11:51:26.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-16T11:51:26.865Z] > git --version # timeout=10 [2023-05-16T11:51:26.885Z] > git --version # 'git version 2.25.1' [2023-05-16T11:51:26.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T11:51:27.053Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T11:51:28.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-16T11:51:28.319Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T11:51:29.330Z] Avoid second fetch [2023-05-16T11:51:29.331Z] Checking out Revision 2cc3518655efefba22ff17e7bf1dcccbd8773e75 (main) [2023-05-16T11:51:29.992Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#481)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T11:51:29.350Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T11:51:29.438Z] > git checkout -f 2cc3518655efefba22ff17e7bf1dcccbd8773e75 # timeout=10 [2023-05-16T11:51:30.907Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T11:51:30.907Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T11:51:30.907Z] Dload Upload Total Spent Left Speed [2023-05-16T11:51:30.907Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-05-16T11:51:31.620Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T11:51:31.974Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T11:51:31.975Z] + sudo tee /etc/docker/daemon.new [2023-05-16T11:51:31.975Z] { [2023-05-16T11:51:31.975Z] "registry-mirrors": [ [2023-05-16T11:51:31.975Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T11:51:31.975Z] ], [2023-05-16T11:51:31.975Z] "bip": "10.250.0.254/24", [2023-05-16T11:51:31.975Z] "hosts": [ [2023-05-16T11:51:31.975Z] "tcp://0.0.0.0:5555", [2023-05-16T11:51:31.975Z] "unix:///var/run/docker.sock" [2023-05-16T11:51:31.975Z] ], [2023-05-16T11:51:31.975Z] "mtu": 1458, [2023-05-16T11:51:31.975Z] "selinux-enabled": true, [2023-05-16T11:51:31.975Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T11:51:31.975Z] } [Pipeline] sh [2023-05-16T11:51:32.328Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T11:51:32.690Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T11:51:51.001Z] provisioning config files... [2023-05-16T11:51:51.033Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/107@tmp/config3688197701291506219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T11:51:51.404Z] ---> docker-login.sh [2023-05-16T11:51:51.404Z] nexus3.edgexfoundry.org:10001 [2023-05-16T11:51:51.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:51:52.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:51:52.260Z] Configure a credential helper to remove this warning. See [2023-05-16T11:51:52.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:51:52.260Z] [2023-05-16T11:51:52.260Z] Login Succeeded [2023-05-16T11:51:52.260Z] nexus3.edgexfoundry.org:10002 [2023-05-16T11:51:52.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:51:52.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:51:52.530Z] Configure a credential helper to remove this warning. See [2023-05-16T11:51:52.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:51:52.530Z] [2023-05-16T11:51:52.530Z] Login Succeeded [2023-05-16T11:51:52.530Z] nexus3.edgexfoundry.org:10003 [2023-05-16T11:51:52.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:51:52.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:51:52.802Z] Configure a credential helper to remove this warning. See [2023-05-16T11:51:52.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:51:52.802Z] [2023-05-16T11:51:52.802Z] Login Succeeded [2023-05-16T11:51:52.802Z] nexus3.edgexfoundry.org:10004 [2023-05-16T11:51:53.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:51:53.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:51:53.344Z] Configure a credential helper to remove this warning. See [2023-05-16T11:51:53.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:51:53.344Z] [2023-05-16T11:51:53.344Z] Login Succeeded [2023-05-16T11:51:53.344Z] docker.io [2023-05-16T11:51:53.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T11:51:53.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T11:51:53.882Z] Configure a credential helper to remove this warning. See [2023-05-16T11:51:53.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T11:51:53.882Z] [2023-05-16T11:51:53.882Z] Login Succeeded [2023-05-16T11:51:53.882Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T11:51:53.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T11:51:54.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T11:51:54.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T11:51:54.226Z] ========================================================= [2023-05-16T11:51:54.226Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T11:51:54.226Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:51:54.575Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T11:51:54.846Z] Sending build context to Docker daemon 3.411MB [2023-05-16T11:51:54.846Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T11:51:54.846Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-16T11:51:55.120Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T11:51:55.120Z] c41833b44d91: Pulling fs layer [2023-05-16T11:51:55.120Z] ed15518f5707: Pulling fs layer [2023-05-16T11:51:55.120Z] feae8fd75edb: Pulling fs layer [2023-05-16T11:51:55.120Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T11:51:55.120Z] 3cdef696dda3: Pulling fs layer [2023-05-16T11:51:55.120Z] 2ced38df9373: Pulling fs layer [2023-05-16T11:51:55.120Z] 58f1dce35555: Pulling fs layer [2023-05-16T11:51:55.120Z] 242c74f7c9fa: Waiting [2023-05-16T11:51:55.120Z] 3cdef696dda3: Waiting [2023-05-16T11:51:55.120Z] 2ced38df9373: Waiting [2023-05-16T11:51:55.120Z] 58f1dce35555: Waiting [2023-05-16T11:51:55.120Z] ed15518f5707: Download complete [2023-05-16T11:51:55.120Z] 242c74f7c9fa: Download complete [2023-05-16T11:51:55.120Z] 3cdef696dda3: Verifying Checksum [2023-05-16T11:51:55.120Z] 3cdef696dda3: Download complete [2023-05-16T11:51:55.120Z] c41833b44d91: Verifying Checksum [2023-05-16T11:51:55.120Z] c41833b44d91: Download complete [2023-05-16T11:51:56.100Z] c41833b44d91: Pull complete [2023-05-16T11:51:56.694Z] 58f1dce35555: Verifying Checksum [2023-05-16T11:51:56.694Z] 58f1dce35555: Download complete [2023-05-16T11:51:56.978Z] ed15518f5707: Pull complete [2023-05-16T11:51:57.944Z] feae8fd75edb: Verifying Checksum [2023-05-16T11:51:57.944Z] feae8fd75edb: Download complete [2023-05-16T11:51:57.944Z] 2ced38df9373: Verifying Checksum [2023-05-16T11:51:57.944Z] 2ced38df9373: Download complete [2023-05-16T11:52:08.048Z] feae8fd75edb: Pull complete [2023-05-16T11:52:08.048Z] 242c74f7c9fa: Pull complete [2023-05-16T11:52:08.319Z] 3cdef696dda3: Pull complete [2023-05-16T11:52:18.435Z] 2ced38df9373: Pull complete [2023-05-16T11:52:19.862Z] 58f1dce35555: Pull complete [2023-05-16T11:52:19.862Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T11:52:19.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T11:52:19.862Z] ---> fadd8f120f05 [2023-05-16T11:52:19.862Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-16T11:52:22.459Z] ---> Running in a821c980ffc7 [2023-05-16T11:52:22.459Z] Removing intermediate container a821c980ffc7 [2023-05-16T11:52:22.459Z] ---> 365c29b3d8f3 [2023-05-16T11:52:22.459Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T11:52:22.459Z] ---> Running in 7c843f2bf1d4 [2023-05-16T11:52:22.728Z] Removing intermediate container 7c843f2bf1d4 [2023-05-16T11:52:22.728Z] ---> d4a63e1b7b7a [2023-05-16T11:52:22.728Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-16T11:52:22.997Z] ---> Running in 6628c9435a4d [2023-05-16T11:52:23.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T11:52:24.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T11:52:25.906Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T11:52:25.906Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-16T11:52:25.906Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T11:52:25.906Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T11:52:25.906Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-05-16T11:52:25.906Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-05-16T11:52:25.906Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-05-16T11:52:26.176Z] (8/8) Installing openssh (9.1_p1-r3) [2023-05-16T11:52:26.176Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T11:52:26.176Z] OK: 270 MiB in 61 packages [2023-05-16T11:52:27.145Z] Removing intermediate container 6628c9435a4d [2023-05-16T11:52:27.145Z] ---> 510a2dd82e07 [2023-05-16T11:52:27.145Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-16T11:52:27.145Z] ---> Running in 0e914c324410 [2023-05-16T11:52:27.732Z] Removing intermediate container 0e914c324410 [2023-05-16T11:52:27.732Z] ---> a25c4e3cebdd [2023-05-16T11:52:27.732Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-16T11:52:28.003Z] ---> 9dbdda40ff15 [2023-05-16T11:52:28.003Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T11:52:28.276Z] ---> Running in f0b7482bebdf [2023-05-16T11:53:36.227Z] Removing intermediate container f0b7482bebdf [2023-05-16T11:53:36.227Z] ---> a8eca97fb9d2 [2023-05-16T11:53:36.227Z] Step 9/10 : COPY . . [2023-05-16T11:53:36.227Z] ---> 73f19061319a [2023-05-16T11:53:36.227Z] Step 10/10 : RUN ${MAKE} [2023-05-16T11:53:36.227Z] ---> Running in 8781e0b5e27d [2023-05-16T11:53:36.227Z] noop [2023-05-16T11:53:36.227Z] Removing intermediate container 8781e0b5e27d [2023-05-16T11:53:36.227Z] ---> 959ea07724a5 [2023-05-16T11:53:36.227Z] Successfully built 959ea07724a5 [2023-05-16T11:53:36.227Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:53:36.604Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T11:53:36.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T11:53:36.846Z] prd-ubuntu20.04-docker-arm64-4c-16g-15714 does not seem to be running inside a container [2023-05-16T11:53:36.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/107 -v /w/workspace/device-modbus-go/107:/w/workspace/device-modbus-go/107:rw,z -v /w/workspace/device-modbus-go/107@tmp:/w/workspace/device-modbus-go/107@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-05-16T11:53:38.226Z] $ docker top 2bb78c719a98ef9b600450b127bb2f541ab7fe39d590ca9406e38c0bf61c7ea8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T11:53:39.095Z] + go version [2023-05-16T11:53:39.095Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T11:53:39.114Z] $ docker stop --time=1 2bb78c719a98ef9b600450b127bb2f541ab7fe39d590ca9406e38c0bf61c7ea8 [2023-05-16T11:53:40.750Z] $ docker rm -f --volumes 2bb78c719a98ef9b600450b127bb2f541ab7fe39d590ca9406e38c0bf61c7ea8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:53:41.327Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T11:53:41.327Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T11:53:41.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-15714 does not seem to be running inside a container [2023-05-16T11:53:41.604Z] $ 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/107 -v /w/workspace/device-modbus-go/107:/w/workspace/device-modbus-go/107:rw,z -v /w/workspace/device-modbus-go/107@tmp:/w/workspace/device-modbus-go/107@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-05-16T11:53:42.858Z] $ docker top 4083c4d2a5c1858adf835babc72585005c9b5d34c27c720b607e7bbe441146d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T11:53:43.717Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/107 [Pipeline] fileExists [Pipeline] sh [2023-05-16T11:53:44.375Z] + make test [2023-05-16T11:53:44.375Z] go test ./... -coverprofile=coverage.out [2023-05-16T11:54:23.330Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-16T11:56:45.091Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-16T11:56:48.442Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.4% of statements [2023-05-16T11:56:49.409Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T11:56:49.409Z] go vet ./... [2023-05-16T11:57:21.679Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T11:57:21.679Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T11:57:21.679Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T11:57:21.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T11:57:21.710Z] $ docker stop --time=1 4083c4d2a5c1858adf835babc72585005c9b5d34c27c720b607e7bbe441146d8 [2023-05-16T11:57:23.694Z] $ docker rm -f --volumes 4083c4d2a5c1858adf835babc72585005c9b5d34c27c720b607e7bbe441146d8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T11:57:24.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T11:57:25.003Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T11:57:25.658Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T11:57:26.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T11:57:26.385Z] + ls -al . [2023-05-16T11:57:26.385Z] total 180 [2023-05-16T11:57:26.385Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 11:53 . [2023-05-16T11:57:26.385Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:51 .. [2023-05-16T11:57:26.385Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 11:51 .dockerignore [2023-05-16T11:57:26.385Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:51 .git [2023-05-16T11:57:26.385Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:51 .github [2023-05-16T11:57:26.385Z] -rw-rw-r-- 1 jenkins jenkins 331 May 16 11:51 .gitignore [2023-05-16T11:57:26.385Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 11:51 .golangci.yml [2023-05-16T11:57:26.385Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 16 11:51 Attribution.txt [2023-05-16T11:57:26.385Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 16 11:51 CHANGELOG.md [2023-05-16T11:57:26.385Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 16 11:51 Dockerfile [2023-05-16T11:57:26.386Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 11:51 GOVERNANCE.md [2023-05-16T11:57:26.386Z] -rw-rw-r-- 1 jenkins jenkins 680 May 16 11:51 Jenkinsfile [2023-05-16T11:57:26.386Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 11:51 LICENSE [2023-05-16T11:57:26.386Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 16 11:51 Makefile [2023-05-16T11:57:26.386Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 11:51 OWNERS.md [2023-05-16T11:57:26.386Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 16 11:51 README.md [2023-05-16T11:57:26.386Z] -rw-rw-r-- 1 jenkins jenkins 12 May 16 11:48 VERSION [2023-05-16T11:57:26.386Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:51 bin [2023-05-16T11:57:26.386Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:51 cmd [2023-05-16T11:57:26.386Z] -rw-r--r-- 1 jenkins jenkins 24160 May 16 11:56 coverage.out [2023-05-16T11:57:26.386Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 16 11:51 go.mod [2023-05-16T11:57:26.386Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 16 11:51 go.sum [2023-05-16T11:57:26.386Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:51 internal [2023-05-16T11:57:26.386Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:51 simulator [2023-05-16T11:57:26.386Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:51 snap [2023-05-16T11:57:26.386Z] -rw-rw-r-- 1 jenkins jenkins 229 May 16 11:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T11:57:26.742Z] + 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=2cc3518655efefba22ff17e7bf1dcccbd8773e75 --label arch=arm64 --label version=3.0.0-dev.41 . [2023-05-16T11:57:27.014Z] Sending build context to Docker daemon 3.437MB [2023-05-16T11:57:27.014Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T11:57:27.014Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-16T11:57:27.014Z] ---> 959ea07724a5 [2023-05-16T11:57:27.014Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-16T11:57:27.283Z] ---> Running in 7f31ca99e2d3 [2023-05-16T11:57:27.552Z] Removing intermediate container 7f31ca99e2d3 [2023-05-16T11:57:27.552Z] ---> 040fa2484628 [2023-05-16T11:57:27.552Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T11:57:27.552Z] ---> Running in 7cc22cee8d3f [2023-05-16T11:57:27.821Z] Removing intermediate container 7cc22cee8d3f [2023-05-16T11:57:27.821Z] ---> b3c4c5daea7d [2023-05-16T11:57:27.821Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-16T11:57:28.095Z] ---> Running in e9a46cbe1774 [2023-05-16T11:57:29.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T11:57:30.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T11:57:30.992Z] OK: 270 MiB in 61 packages [2023-05-16T11:57:31.958Z] Removing intermediate container e9a46cbe1774 [2023-05-16T11:57:31.958Z] ---> c25e87cd4cc0 [2023-05-16T11:57:31.958Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-16T11:57:31.958Z] ---> Running in 41f2517a48d0 [2023-05-16T11:57:32.226Z] Removing intermediate container 41f2517a48d0 [2023-05-16T11:57:32.226Z] ---> 10ae958cc040 [2023-05-16T11:57:32.226Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-16T11:57:32.813Z] ---> 628233faaeb4 [2023-05-16T11:57:32.813Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T11:57:33.082Z] ---> Running in ada04fcd79e5 [2023-05-16T11:57:35.674Z] Removing intermediate container ada04fcd79e5 [2023-05-16T11:57:35.674Z] ---> e21d3f239781 [2023-05-16T11:57:35.674Z] Step 9/22 : COPY . . [2023-05-16T11:57:36.638Z] ---> 48c10d3fad30 [2023-05-16T11:57:36.638Z] Step 10/22 : RUN ${MAKE} [2023-05-16T11:57:36.638Z] ---> Running in 39efcc486d63 [2023-05-16T11:57:37.610Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.41" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-16T12:00:02.471Z] Removing intermediate container 39efcc486d63 [2023-05-16T12:00:02.471Z] ---> bba8441f5908 [2023-05-16T12:00:02.471Z] Step 11/22 : FROM alpine:3.17 [2023-05-16T12:00:02.471Z] 3.17: Pulling from library/alpine [2023-05-16T12:00:02.471Z] c41833b44d91: Already exists [2023-05-16T12:00:02.471Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T12:00:02.471Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T12:00:02.471Z] ---> 51e60588ff2c [2023-05-16T12:00:02.471Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-16T12:00:02.471Z] ---> Running in 6351526b1be3 [2023-05-16T12:00:02.471Z] Removing intermediate container 6351526b1be3 [2023-05-16T12:00:02.471Z] ---> d913afefefae [2023-05-16T12:00:02.471Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-16T12:00:02.471Z] ---> Running in a1def06e9978 [2023-05-16T12:00:02.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T12:00:02.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T12:00:03.431Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T12:00:03.432Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T12:00:03.432Z] OK: 8 MiB in 16 packages [2023-05-16T12:00:04.391Z] Removing intermediate container a1def06e9978 [2023-05-16T12:00:04.391Z] ---> dcfa152c1842 [2023-05-16T12:00:04.391Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-16T12:00:05.811Z] ---> 48587f621a64 [2023-05-16T12:00:05.811Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-16T12:00:06.078Z] ---> 0c20c99d1d6d [2023-05-16T12:00:06.078Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-16T12:00:06.663Z] ---> 777eb33476b2 [2023-05-16T12:00:06.663Z] Step 17/22 : EXPOSE 59901 [2023-05-16T12:00:06.663Z] ---> Running in d0fcae221c51 [2023-05-16T12:00:06.930Z] Removing intermediate container d0fcae221c51 [2023-05-16T12:00:06.930Z] ---> 84f754ec6dc7 [2023-05-16T12:00:06.930Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-16T12:00:06.930Z] ---> Running in 0bf049d86a86 [2023-05-16T12:00:07.196Z] Removing intermediate container 0bf049d86a86 [2023-05-16T12:00:07.196Z] ---> 36667cd86f81 [2023-05-16T12:00:07.196Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-16T12:00:07.464Z] ---> Running in bc30648bc085 [2023-05-16T12:00:07.748Z] Removing intermediate container bc30648bc085 [2023-05-16T12:00:07.748Z] ---> 450fc9b2388a [2023-05-16T12:00:07.748Z] Step 20/22 : LABEL arch=arm64 [2023-05-16T12:00:07.748Z] ---> Running in dac1d8f323d0 [2023-05-16T12:00:08.018Z] Removing intermediate container dac1d8f323d0 [2023-05-16T12:00:08.018Z] ---> f89799bbeeb8 [2023-05-16T12:00:08.018Z] Step 21/22 : LABEL git_sha=2cc3518655efefba22ff17e7bf1dcccbd8773e75 [2023-05-16T12:00:08.018Z] ---> Running in 7a98dc4320c5 [2023-05-16T12:00:08.601Z] Removing intermediate container 7a98dc4320c5 [2023-05-16T12:00:08.601Z] ---> bc7e9ded3fa7 [2023-05-16T12:00:08.601Z] Step 22/22 : LABEL version=3.0.0-dev.41 [2023-05-16T12:00:08.601Z] ---> Running in b4260ea7a5da [2023-05-16T12:00:08.868Z] Removing intermediate container b4260ea7a5da [2023-05-16T12:00:08.868Z] ---> 6e983f03a66f [2023-05-16T12:00:08.868Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T12:00:08.868Z] Successfully built 6e983f03a66f [2023-05-16T12:00:08.868Z] 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-05-16T12:00:08.958Z] provisioning config files... [2023-05-16T12:00:08.977Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/107@tmp/config11903709891392846361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:00:09.317Z] ---> docker-login.sh [2023-05-16T12:00:09.317Z] nexus3.edgexfoundry.org:10001 [2023-05-16T12:00:09.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T12:00:09.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T12:00:09.585Z] Configure a credential helper to remove this warning. See [2023-05-16T12:00:09.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T12:00:09.585Z] [2023-05-16T12:00:09.585Z] Login Succeeded [2023-05-16T12:00:09.585Z] nexus3.edgexfoundry.org:10002 [2023-05-16T12:00:09.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T12:00:09.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T12:00:09.852Z] Configure a credential helper to remove this warning. See [2023-05-16T12:00:09.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T12:00:09.852Z] [2023-05-16T12:00:09.852Z] Login Succeeded [2023-05-16T12:00:09.852Z] nexus3.edgexfoundry.org:10003 [2023-05-16T12:00:10.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T12:00:10.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T12:00:10.388Z] Configure a credential helper to remove this warning. See [2023-05-16T12:00:10.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T12:00:10.388Z] [2023-05-16T12:00:10.388Z] Login Succeeded [2023-05-16T12:00:10.388Z] nexus3.edgexfoundry.org:10004 [2023-05-16T12:00:10.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T12:00:10.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T12:00:10.656Z] Configure a credential helper to remove this warning. See [2023-05-16T12:00:10.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T12:00:10.656Z] [2023-05-16T12:00:10.656Z] Login Succeeded [2023-05-16T12:00:10.656Z] docker.io [2023-05-16T12:00:10.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T12:00:17.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T12:00:17.566Z] Configure a credential helper to remove this warning. See [2023-05-16T12:00:17.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T12:00:17.566Z] [2023-05-16T12:00:17.566Z] Login Succeeded [2023-05-16T12:00:17.566Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T12:00:17.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-16T12:00:17.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T12:00:17.630Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-16T12:00:17.630Z] 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [2023-05-16T12:00:17.630Z] latest [2023-05-16T12:00:17.630Z] 3.0.0-dev.41 [2023-05-16T12:00:17.630Z] 2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 [2023-05-16T12:00:17.630Z] main [2023-05-16T12:00:17.630Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:18.003Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:18.354Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75 [2023-05-16T12:00:18.354Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-16T12:00:18.354Z] 5f5ad8283a38: Preparing [2023-05-16T12:00:18.354Z] a77a63509bfa: Preparing [2023-05-16T12:00:18.354Z] 795b78e4c6ae: Preparing [2023-05-16T12:00:18.354Z] af6a8d9b535e: Preparing [2023-05-16T12:00:18.354Z] 26cbea5cba74: Preparing [2023-05-16T12:00:18.354Z] 26cbea5cba74: Layer already exists [2023-05-16T12:00:18.624Z] a77a63509bfa: Pushed [2023-05-16T12:00:18.624Z] af6a8d9b535e: Pushed [2023-05-16T12:00:18.624Z] 5f5ad8283a38: Pushed [2023-05-16T12:00:23.968Z] 795b78e4c6ae: Pushed [2023-05-16T12:00:23.968Z] 2cc3518655efefba22ff17e7bf1dcccbd8773e75: digest: sha256:29dabeb19008f8afa7821c2932c127d4c2616183e6bfe24a46ab1d1813a2d1ae size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:24.323Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:24.675Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-16T12:00:24.675Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-16T12:00:24.675Z] 5f5ad8283a38: Preparing [2023-05-16T12:00:24.675Z] a77a63509bfa: Preparing [2023-05-16T12:00:24.675Z] 795b78e4c6ae: Preparing [2023-05-16T12:00:24.675Z] af6a8d9b535e: Preparing [2023-05-16T12:00:24.675Z] 26cbea5cba74: Preparing [2023-05-16T12:00:24.675Z] 26cbea5cba74: Layer already exists [2023-05-16T12:00:24.675Z] 5f5ad8283a38: Layer already exists [2023-05-16T12:00:24.675Z] af6a8d9b535e: Layer already exists [2023-05-16T12:00:24.675Z] 795b78e4c6ae: Layer already exists [2023-05-16T12:00:24.675Z] a77a63509bfa: Layer already exists [2023-05-16T12:00:24.942Z] latest: digest: sha256:29dabeb19008f8afa7821c2932c127d4c2616183e6bfe24a46ab1d1813a2d1ae size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:25.287Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:25.642Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.41 [2023-05-16T12:00:25.642Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-16T12:00:25.642Z] 5f5ad8283a38: Preparing [2023-05-16T12:00:25.642Z] a77a63509bfa: Preparing [2023-05-16T12:00:25.642Z] 795b78e4c6ae: Preparing [2023-05-16T12:00:25.642Z] af6a8d9b535e: Preparing [2023-05-16T12:00:25.642Z] 26cbea5cba74: Preparing [2023-05-16T12:00:25.642Z] 26cbea5cba74: Layer already exists [2023-05-16T12:00:25.642Z] 795b78e4c6ae: Layer already exists [2023-05-16T12:00:25.642Z] a77a63509bfa: Layer already exists [2023-05-16T12:00:25.642Z] 5f5ad8283a38: Layer already exists [2023-05-16T12:00:25.642Z] af6a8d9b535e: Layer already exists [2023-05-16T12:00:25.642Z] 3.0.0-dev.41: digest: sha256:29dabeb19008f8afa7821c2932c127d4c2616183e6bfe24a46ab1d1813a2d1ae size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:26.005Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:26.359Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 [2023-05-16T12:00:26.359Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-16T12:00:26.359Z] 5f5ad8283a38: Preparing [2023-05-16T12:00:26.359Z] a77a63509bfa: Preparing [2023-05-16T12:00:26.359Z] 795b78e4c6ae: Preparing [2023-05-16T12:00:26.359Z] af6a8d9b535e: Preparing [2023-05-16T12:00:26.359Z] 26cbea5cba74: Preparing [2023-05-16T12:00:26.359Z] af6a8d9b535e: Layer already exists [2023-05-16T12:00:26.359Z] 5f5ad8283a38: Layer already exists [2023-05-16T12:00:26.359Z] 26cbea5cba74: Layer already exists [2023-05-16T12:00:26.359Z] a77a63509bfa: Layer already exists [2023-05-16T12:00:26.359Z] 795b78e4c6ae: Layer already exists [2023-05-16T12:00:26.359Z] 2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41: digest: sha256:29dabeb19008f8afa7821c2932c127d4c2616183e6bfe24a46ab1d1813a2d1ae size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:26.720Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:27.074Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-16T12:00:27.074Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-16T12:00:27.074Z] 5f5ad8283a38: Preparing [2023-05-16T12:00:27.074Z] a77a63509bfa: Preparing [2023-05-16T12:00:27.074Z] 795b78e4c6ae: Preparing [2023-05-16T12:00:27.074Z] af6a8d9b535e: Preparing [2023-05-16T12:00:27.074Z] 26cbea5cba74: Preparing [2023-05-16T12:00:27.074Z] 26cbea5cba74: Layer already exists [2023-05-16T12:00:27.074Z] a77a63509bfa: Layer already exists [2023-05-16T12:00:27.074Z] 795b78e4c6ae: Layer already exists [2023-05-16T12:00:27.074Z] 5f5ad8283a38: Layer already exists [2023-05-16T12:00:27.074Z] af6a8d9b535e: Layer already exists [2023-05-16T12:00:27.074Z] main: digest: sha256:29dabeb19008f8afa7821c2932c127d4c2616183e6bfe24a46ab1d1813a2d1ae size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-16T12:00:27.408Z] ===================================================== [Pipeline] echo [2023-05-16T12:00:27.418Z] taggedImages: [2023-05-16T12:00:27.418Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75 [2023-05-16T12:00:27.418Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-16T12:00:27.418Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.41 [2023-05-16T12:00:27.418Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 [2023-05-16T12:00:27.418Z] - 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-05-16T12:00:27.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T12:00:27.787Z] [2023-05-16T12:00:27.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:00:28.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T12:00:28.125Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T12:00:28.125Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T12:00:28.125Z] 04944245beec: Pulling fs layer [2023-05-16T12:00:28.125Z] 699f458cf7ca: Pulling fs layer [2023-05-16T12:00:28.125Z] 765212b225bb: Pulling fs layer [2023-05-16T12:00:28.125Z] f23df028b6ca: Pulling fs layer [2023-05-16T12:00:28.125Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T12:00:28.125Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T12:00:28.125Z] 765212b225bb: Waiting [2023-05-16T12:00:28.125Z] f23df028b6ca: Waiting [2023-05-16T12:00:28.125Z] d65c8cfc05b1: Waiting [2023-05-16T12:00:28.125Z] 2437ff75d9bd: Waiting [2023-05-16T12:00:28.393Z] 04944245beec: Verifying Checksum [2023-05-16T12:00:28.393Z] 04944245beec: Download complete [2023-05-16T12:00:28.393Z] 765212b225bb: Verifying Checksum [2023-05-16T12:00:28.393Z] 765212b225bb: Download complete [2023-05-16T12:00:28.393Z] f23df028b6ca: Verifying Checksum [2023-05-16T12:00:28.393Z] f23df028b6ca: Download complete [2023-05-16T12:00:28.394Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T12:00:28.394Z] d65c8cfc05b1: Download complete [2023-05-16T12:00:28.663Z] 699f458cf7ca: Verifying Checksum [2023-05-16T12:00:28.663Z] 699f458cf7ca: Download complete [2023-05-16T12:00:28.930Z] 8998bd30e6a1: Verifying Checksum [2023-05-16T12:00:28.930Z] 8998bd30e6a1: Download complete [2023-05-16T12:00:31.517Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T12:00:31.517Z] 2437ff75d9bd: Download complete [2023-05-16T12:00:32.932Z] 8998bd30e6a1: Pull complete [2023-05-16T12:00:33.523Z] 04944245beec: Pull complete [2023-05-16T12:00:34.934Z] 699f458cf7ca: Pull complete [2023-05-16T12:00:34.934Z] 765212b225bb: Pull complete [2023-05-16T12:00:35.893Z] f23df028b6ca: Pull complete [2023-05-16T12:00:35.893Z] d65c8cfc05b1: Pull complete [2023-05-16T12:00:50.914Z] 2437ff75d9bd: Pull complete [2023-05-16T12:00:50.914Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T12:00:50.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T12:00:50.914Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T12:00:51.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-15714 does not seem to be running inside a container [2023-05-16T12:00:51.162Z] $ 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/107 -v /w/workspace/device-modbus-go/107:/w/workspace/device-modbus-go/107:rw,z -v /w/workspace/device-modbus-go/107@tmp:/w/workspace/device-modbus-go/107@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-05-16T12:00:53.886Z] $ docker top 2b623ba4e466746978276d494f7ccea39d4d36c496253e13b2f18ab47354a2a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:00:54.735Z] ---> job-cost.sh [2023-05-16T12:00:54.735Z] lf-activate-venv: SKIPPING [2023-05-16T12:00:54.735Z] INFO: No Stack... [2023-05-16T12:00:55.002Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T12:00:55.959Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T12:00:56.601Z] + cut -d, -f6 [2023-05-16T12:00:56.601Z] + cat /w/workspace/device-modbus-go/107/archives/cost.csv [Pipeline] lock [2023-05-16T12:00:56.673Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] [2023-05-16T12:00:56.680Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] did not exist. Created. [2023-05-16T12:00:56.680Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T12:00:57.332Z] /w/workspace/device-modbus-go/107@tmp/durable-7265c51c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T12:00:58.058Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T12:00:58.079Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T12:00:58.143Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T12:00:58.153Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T12:00:58.174Z] $ docker stop --time=1 2b623ba4e466746978276d494f7ccea39d4d36c496253e13b2f18ab47354a2a2 [2023-05-16T12:00:59.690Z] $ docker rm -f --volumes 2b623ba4e466746978276d494f7ccea39d4d36c496253e13b2f18ab47354a2a2 [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-05-16T12:01:00.113Z] provisioning config files... [2023-05-16T12:01:00.121Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5733087799579140004tmp [Pipeline] { [Pipeline] sh [2023-05-16T12:01:00.417Z] + set +x [2023-05-16T12:01:00.417Z] + curl -s https://codecov.io/bash [2023-05-16T12:01:00.417Z] + bash -s -- [2023-05-16T12:01:00.417Z] [2023-05-16T12:01:00.417Z] _____ _ [2023-05-16T12:01:00.417Z] / ____| | | [2023-05-16T12:01:00.417Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T12:01:00.417Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T12:01:00.417Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T12:01:00.417Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T12:01:00.417Z] Bash-1.0.6 [2023-05-16T12:01:00.417Z] [2023-05-16T12:01:00.417Z] [2023-05-16T12:01:00.417Z] ==> git version 2.25.1 found [2023-05-16T12:01:00.417Z] ==> 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-05-16T12:01:00.417Z] Release-Date: 2020-01-08 [2023-05-16T12:01:00.417Z] 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-05-16T12:01:00.417Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T12:01:00.417Z] ==> Jenkins CI detected. [2023-05-16T12:01:00.417Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-16T12:01:00.417Z] project root: . [2023-05-16T12:01:00.417Z] --> token set from env [2023-05-16T12:01:00.417Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T12:01:00.417Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T12:01:00.417Z] ==> Python coveragepy not found [2023-05-16T12:01:00.417Z] ==> Searching for coverage reports in: [2023-05-16T12:01:00.417Z] + . [2023-05-16T12:01:00.417Z] -> Found 1 reports [2023-05-16T12:01:00.417Z] ==> Detecting git/mercurial file structure [2023-05-16T12:01:00.417Z] ==> Reading reports [2023-05-16T12:01:00.417Z] + ./coverage.out bytes=24160 [2023-05-16T12:01:00.417Z] ==> Appending adjustments [2023-05-16T12:01:00.417Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T12:01:00.677Z] + Found adjustments [2023-05-16T12:01:00.677Z] ==> Gzipping contents [2023-05-16T12:01:00.677Z] 4.0K /tmp/codecov.UJoI7z.gz [2023-05-16T12:01:00.677Z] ==> Uploading reports [2023-05-16T12:01:00.677Z] url: https://codecov.io [2023-05-16T12:01:00.677Z] query: branch=main&commit=2cc3518655efefba22ff17e7bf1dcccbd8773e75&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-16T12:01:00.677Z] -> Pinging Codecov [2023-05-16T12:01:00.677Z] 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=2cc3518655efefba22ff17e7bf1dcccbd8773e75&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-16T12:01:00.677Z] -> Uploading to [2023-05-16T12:01:00.677Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/55DBCA73C666E3227836607328DD7E49/2cc3518655efefba22ff17e7bf1dcccbd8773e75/7270506d-68b2-4e38-a166-a31abd51924e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T120100Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1e3924ce31301f2853c03beef0c062b29687f5d13a4ea053ab59a948d5124df [2023-05-16T12:01:00.937Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T12:01:00.937Z] Dload Upload Total Spent Left Speed [2023-05-16T12:01:00.937Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17917 --:--:-- --:--:-- --:--:-- 17917 [2023-05-16T12:01:00.937Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] } [2023-05-16T12:01:00.945Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-16T12:01:01.086Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-16T12:01:01.096Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:01:01.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-16T12:01:01.400Z] [2023-05-16T12:01:01.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:01:01.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-16T12:01:01.694Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-16T12:01:01.694Z] df9b9388f04a: Pulling fs layer [2023-05-16T12:01:01.694Z] 52dc419b0ee2: Pulling fs layer [2023-05-16T12:01:01.694Z] 25bc292e5bac: Pulling fs layer [2023-05-16T12:01:01.694Z] 114826534d7a: Pulling fs layer [2023-05-16T12:01:01.694Z] 4657fd5d0bcf: Pulling fs layer [2023-05-16T12:01:01.694Z] 6ad1cebc031e: Pulling fs layer [2023-05-16T12:01:01.694Z] 8a3aa393b2d8: Pulling fs layer [2023-05-16T12:01:01.694Z] 114826534d7a: Waiting [2023-05-16T12:01:01.694Z] 4657fd5d0bcf: Waiting [2023-05-16T12:01:01.694Z] 6ad1cebc031e: Waiting [2023-05-16T12:01:01.694Z] 8a3aa393b2d8: Waiting [2023-05-16T12:01:01.694Z] 25bc292e5bac: Verifying Checksum [2023-05-16T12:01:01.694Z] 25bc292e5bac: Download complete [2023-05-16T12:01:01.694Z] 52dc419b0ee2: Download complete [2023-05-16T12:01:01.694Z] 4657fd5d0bcf: Download complete [2023-05-16T12:01:01.694Z] df9b9388f04a: Verifying Checksum [2023-05-16T12:01:01.953Z] 6ad1cebc031e: Verifying Checksum [2023-05-16T12:01:01.953Z] 6ad1cebc031e: Download complete [2023-05-16T12:01:01.953Z] df9b9388f04a: Pull complete [2023-05-16T12:01:01.953Z] 52dc419b0ee2: Pull complete [2023-05-16T12:01:01.953Z] 25bc292e5bac: Pull complete [2023-05-16T12:01:02.523Z] 114826534d7a: Verifying Checksum [2023-05-16T12:01:02.523Z] 114826534d7a: Download complete [2023-05-16T12:01:02.523Z] 8a3aa393b2d8: Verifying Checksum [2023-05-16T12:01:02.523Z] 8a3aa393b2d8: Download complete [2023-05-16T12:01:06.707Z] 114826534d7a: Pull complete [2023-05-16T12:01:06.707Z] 4657fd5d0bcf: Pull complete [2023-05-16T12:01:06.707Z] 6ad1cebc031e: Pull complete [2023-05-16T12:01:10.065Z] 8a3aa393b2d8: Pull complete [2023-05-16T12:01:10.065Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-16T12:01:10.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-16T12:01:10.065Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T12:01:10.151Z] prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container [2023-05-16T12:01:10.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-16T12:01:14.164Z] $ docker top c9ffc3f9b8507e6ff97eae302f2bf1224a853eafb9dd40cdf509874b65b66995 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-16T12:01:14.229Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-16T12:01:14.506Z] + set -o pipefail [2023-05-16T12:01:14.506Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-16T12:01:18.695Z] [2023-05-16T12:01:18.695Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-16T12:01:18.695Z] [2023-05-16T12:01:18.695Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/86d34ff3-ba75-441d-9d94-a5a9ca8d58f8 [2023-05-16T12:01:18.695Z] [2023-05-16T12:01:18.695Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-16T12:01:18.695Z] [2023-05-16T12:01:18.695Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-16T12:01:18.695Z] [2023-05-16T12:01:18.695Z] [2023-05-16T12:01:18.695Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-16T12:01:18.695Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-16T12:01:18.695Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-16T12:01:18.705Z] $ docker stop --time=1 c9ffc3f9b8507e6ff97eae302f2bf1224a853eafb9dd40cdf509874b65b66995 [2023-05-16T12:01:22.257Z] $ docker rm -f --volumes c9ffc3f9b8507e6ff97eae302f2bf1224a853eafb9dd40cdf509874b65b66995 [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-05-16T12:01:22.956Z] + git log --format=format:%s -1 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] sh [2023-05-16T12:01:23.250Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T12:01:23.250Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:01:23.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T12:01:23.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T12:01:23.617Z] prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container [2023-05-16T12:01:23.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-16T12:01:24.033Z] $ docker top 22e03c132a4c28338a62aab4c1e763d945c093da5271139f151f686bb85e08d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T12:01:24.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T12:01:24.125Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T12:01:24.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T12:01:24.238Z] $ docker exec 22e03c132a4c28338a62aab4c1e763d945c093da5271139f151f686bb85e08d6 ssh-agent [2023-05-16T12:01:24.347Z] SSH_AUTH_SOCK=/tmp/ssh-fgQlmhVd1OGK/agent.32 [2023-05-16T12:01:24.347Z] SSH_AGENT_PID=38 [2023-05-16T12:01:24.351Z] Running ssh-add (command line suppressed) [2023-05-16T12:01:24.461Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16878739631446262471.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16878739631446262471.key) [2023-05-16T12:01:24.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T12:01:24.761Z] + git semver tag [2023-05-16T12:01:25.022Z] 2023-05-16 12:01:24,917 [run_tag] DEBUG tag force:False [2023-05-16T12:01:25.022Z] 2023-05-16 12:01:24,917 [check_head_tag] DEBUG check head tag [2023-05-16T12:01:25.022Z] 2023-05-16 12:01:24,918 [execute] INFO git cat-file --batch-check [2023-05-16T12:01:25.022Z] 2023-05-16 12:01:24,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-16T12:01:25.022Z] 2023-05-16 12:01:24,921 [execute] INFO git cat-file --batch [2023-05-16T12:01:25.022Z] 2023-05-16 12:01:24,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-16T12:01:25.022Z] 2023-05-16 12:01:24,943 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-16T12:01:25.022Z] 2023-05-16 12:01:24,944 [execute] INFO git tag -a v3.0.0-dev.41 -m v3.0.0-dev.41 [2023-05-16T12:01:25.022Z] 2023-05-16 12:01:24,944 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.41', '-m', 'v3.0.0-dev.41'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-16T12:01:25.022Z] 2023-05-16 12:01:24,947 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-16T12:01:25.022Z] 3.0.0-dev.41 [Pipeline] } [2023-05-16T12:01:25.030Z] $ docker exec --env ******** --env ******** 22e03c132a4c28338a62aab4c1e763d945c093da5271139f151f686bb85e08d6 ssh-agent -k [2023-05-16T12:01:25.120Z] unset SSH_AUTH_SOCK; [2023-05-16T12:01:25.121Z] unset SSH_AGENT_PID; [2023-05-16T12:01:25.121Z] echo Agent pid 38 killed; [2023-05-16T12:01:25.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T12:01:25.437Z] + git semver [Pipeline] } [2023-05-16T12:01:25.709Z] $ docker stop --time=1 22e03c132a4c28338a62aab4c1e763d945c093da5271139f151f686bb85e08d6 [2023-05-16T12:01:26.982Z] $ docker rm -f --volumes 22e03c132a4c28338a62aab4c1e763d945c093da5271139f151f686bb85e08d6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:01:27.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-16T12:01:27.362Z] [2023-05-16T12:01:27.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:01:27.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-16T12:01:27.665Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-16T12:01:27.665Z] ab5ef0e58194: Pulling fs layer [2023-05-16T12:01:27.665Z] 9712f1f96733: Pulling fs layer [2023-05-16T12:01:27.665Z] 63f879dbbcfc: Pulling fs layer [2023-05-16T12:01:27.665Z] 0d9ebad4ef96: Pulling fs layer [2023-05-16T12:01:27.665Z] e9a5061849ea: Pulling fs layer [2023-05-16T12:01:27.665Z] d747dcd14b5f: Pulling fs layer [2023-05-16T12:01:27.665Z] 2de7ff778b66: Pulling fs layer [2023-05-16T12:01:27.665Z] 0d9ebad4ef96: Waiting [2023-05-16T12:01:27.665Z] e9a5061849ea: Waiting [2023-05-16T12:01:27.665Z] d747dcd14b5f: Waiting [2023-05-16T12:01:27.665Z] 2de7ff778b66: Waiting [2023-05-16T12:01:27.665Z] 9712f1f96733: Verifying Checksum [2023-05-16T12:01:27.665Z] 9712f1f96733: Download complete [2023-05-16T12:01:27.924Z] 63f879dbbcfc: Verifying Checksum [2023-05-16T12:01:27.924Z] 63f879dbbcfc: Download complete [2023-05-16T12:01:28.186Z] 0d9ebad4ef96: Verifying Checksum [2023-05-16T12:01:28.186Z] 0d9ebad4ef96: Download complete [2023-05-16T12:01:28.186Z] d747dcd14b5f: Verifying Checksum [2023-05-16T12:01:28.186Z] d747dcd14b5f: Download complete [2023-05-16T12:01:28.186Z] e9a5061849ea: Verifying Checksum [2023-05-16T12:01:28.186Z] e9a5061849ea: Download complete [2023-05-16T12:01:28.186Z] ab5ef0e58194: Verifying Checksum [2023-05-16T12:01:28.186Z] ab5ef0e58194: Download complete [2023-05-16T12:01:28.186Z] 2de7ff778b66: Verifying Checksum [2023-05-16T12:01:28.186Z] 2de7ff778b66: Download complete [2023-05-16T12:01:30.715Z] ab5ef0e58194: Pull complete [2023-05-16T12:01:30.715Z] 9712f1f96733: Pull complete [2023-05-16T12:01:31.649Z] 63f879dbbcfc: Pull complete [2023-05-16T12:01:34.950Z] 0d9ebad4ef96: Pull complete [2023-05-16T12:01:34.950Z] e9a5061849ea: Pull complete [2023-05-16T12:01:34.950Z] d747dcd14b5f: Pull complete [2023-05-16T12:01:35.882Z] 2de7ff778b66: Pull complete [2023-05-16T12:01:35.882Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-16T12:01:35.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-16T12:01:35.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T12:01:35.975Z] prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container [2023-05-16T12:01:36.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-16T12:01:40.955Z] $ docker top 78282d3e7910415d597fe0cccefd702578a7c2cc364e09d1d1e1b067b3cd948b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-16T12:01:41.035Z] provisioning config files... [2023-05-16T12:01:41.043Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14470901355337782531tmp [2023-05-16T12:01:41.053Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6802171264900016033tmp [2023-05-16T12:01:41.060Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6716015063618677176tmp [Pipeline] { [Pipeline] echo [2023-05-16T12:01:41.077Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:01:41.359Z] ---> sigul-configuration.sh [2023-05-16T12:01:41.360Z] gpg: directory `/root/.gnupg' created [2023-05-16T12:01:41.360Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-16T12:01:41.360Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-16T12:01:41.360Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-16T12:01:41.360Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-16T12:01:41.360Z] gpg: CAST5 encrypted data [2023-05-16T12:01:41.360Z] gpg: encrypted with 1 passphrase [2023-05-16T12:01:41.360Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-16T12:01:41.647Z] + mkdir /home/jenkins [2023-05-16T12:01:41.647Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-16T12:01:41.935Z] + 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-05-16T12:01:41.945Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:01:42.233Z] ---> sigul-install.sh [2023-05-16T12:01:42.233Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-16T12:01:42.520Z] + git tag --list [2023-05-16T12:01:42.520Z] 0.7.1 [2023-05-16T12:01:42.520Z] v1.0.0 [2023-05-16T12:01:42.520Z] v1.1.0 [2023-05-16T12:01:42.520Z] v1.1.1 [2023-05-16T12:01:42.520Z] v1.2.2 [2023-05-16T12:01:42.520Z] v1.3.0 [2023-05-16T12:01:42.520Z] v1.3.1 [2023-05-16T12:01:42.520Z] v2.0.0 [2023-05-16T12:01:42.520Z] v2.1.0 [2023-05-16T12:01:42.520Z] v2.1.1 [2023-05-16T12:01:42.520Z] v2.1.1-dev.1 [2023-05-16T12:01:42.520Z] v2.1.1-dev.2 [2023-05-16T12:01:42.520Z] v2.1.1-dev.3 [2023-05-16T12:01:42.520Z] v2.2.0 [2023-05-16T12:01:42.520Z] v2.2.1-dev.1 [2023-05-16T12:01:42.520Z] v2.2.1-dev.2 [2023-05-16T12:01:42.520Z] v2.2.1-dev.3 [2023-05-16T12:01:42.520Z] v2.2.1-dev.4 [2023-05-16T12:01:42.520Z] v2.2.1-dev.5 [2023-05-16T12:01:42.520Z] v2.2.1-dev.6 [2023-05-16T12:01:42.520Z] v2.2.1-dev.7 [2023-05-16T12:01:42.520Z] v2.3.0 [2023-05-16T12:01:42.520Z] v2.3.0-dev.10 [2023-05-16T12:01:42.520Z] v2.3.0-dev.11 [2023-05-16T12:01:42.520Z] v2.3.0-dev.12 [2023-05-16T12:01:42.520Z] v2.3.0-dev.13 [2023-05-16T12:01:42.520Z] v2.3.0-dev.14 [2023-05-16T12:01:42.520Z] v2.3.0-dev.15 [2023-05-16T12:01:42.520Z] v2.3.0-dev.16 [2023-05-16T12:01:42.520Z] v2.3.0-dev.17 [2023-05-16T12:01:42.520Z] v2.3.0-dev.18 [2023-05-16T12:01:42.520Z] v2.3.0-dev.19 [2023-05-16T12:01:42.520Z] v2.3.0-dev.20 [2023-05-16T12:01:42.520Z] v2.3.0-dev.21 [2023-05-16T12:01:42.520Z] v2.3.0-dev.22 [2023-05-16T12:01:42.520Z] v2.3.0-dev.23 [2023-05-16T12:01:42.520Z] v2.3.0-dev.24 [2023-05-16T12:01:42.520Z] v2.3.0-dev.25 [2023-05-16T12:01:42.520Z] v2.3.0-dev.7 [2023-05-16T12:01:42.520Z] v2.3.0-dev.8 [2023-05-16T12:01:42.520Z] v2.3.0-dev.9 [2023-05-16T12:01:42.520Z] v3.0.0-dev.1 [2023-05-16T12:01:42.520Z] v3.0.0-dev.10 [2023-05-16T12:01:42.520Z] v3.0.0-dev.11 [2023-05-16T12:01:42.520Z] v3.0.0-dev.12 [2023-05-16T12:01:42.520Z] v3.0.0-dev.13 [2023-05-16T12:01:42.520Z] v3.0.0-dev.14 [2023-05-16T12:01:42.520Z] v3.0.0-dev.15 [2023-05-16T12:01:42.520Z] v3.0.0-dev.16 [2023-05-16T12:01:42.520Z] v3.0.0-dev.17 [2023-05-16T12:01:42.520Z] v3.0.0-dev.18 [2023-05-16T12:01:42.520Z] v3.0.0-dev.19 [2023-05-16T12:01:42.520Z] v3.0.0-dev.2 [2023-05-16T12:01:42.520Z] v3.0.0-dev.20 [2023-05-16T12:01:42.520Z] v3.0.0-dev.21 [2023-05-16T12:01:42.520Z] v3.0.0-dev.22 [2023-05-16T12:01:42.520Z] v3.0.0-dev.23 [2023-05-16T12:01:42.520Z] v3.0.0-dev.24 [2023-05-16T12:01:42.520Z] v3.0.0-dev.25 [2023-05-16T12:01:42.520Z] v3.0.0-dev.26 [2023-05-16T12:01:42.520Z] v3.0.0-dev.27 [2023-05-16T12:01:42.520Z] v3.0.0-dev.28 [2023-05-16T12:01:42.520Z] v3.0.0-dev.29 [2023-05-16T12:01:42.520Z] v3.0.0-dev.3 [2023-05-16T12:01:42.520Z] v3.0.0-dev.30 [2023-05-16T12:01:42.520Z] v3.0.0-dev.31 [2023-05-16T12:01:42.520Z] v3.0.0-dev.32 [2023-05-16T12:01:42.520Z] v3.0.0-dev.33 [2023-05-16T12:01:42.520Z] v3.0.0-dev.34 [2023-05-16T12:01:42.520Z] v3.0.0-dev.35 [2023-05-16T12:01:42.520Z] v3.0.0-dev.36 [2023-05-16T12:01:42.520Z] v3.0.0-dev.37 [2023-05-16T12:01:42.520Z] v3.0.0-dev.38 [2023-05-16T12:01:42.520Z] v3.0.0-dev.39 [2023-05-16T12:01:42.520Z] v3.0.0-dev.4 [2023-05-16T12:01:42.520Z] v3.0.0-dev.40 [2023-05-16T12:01:42.520Z] v3.0.0-dev.41 [2023-05-16T12:01:42.520Z] v3.0.0-dev.5 [2023-05-16T12:01:42.520Z] v3.0.0-dev.6 [2023-05-16T12:01:42.520Z] v3.0.0-dev.7 [2023-05-16T12:01:42.520Z] v3.0.0-dev.8 [2023-05-16T12:01:42.520Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-16T12:01:42.810Z] + lftools sign git-tag v3.0.0-dev.41 [2023-05-16T12:01:43.380Z] Signing Git tag with Sigul... [2023-05-16T12:01:43.380Z] Signing v3.0.0-dev.41 [Pipeline] echo [2023-05-16T12:01:43.650Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:01:43.933Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-16T12:01:43.939Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-16T12:01:43.957Z] $ docker stop --time=1 78282d3e7910415d597fe0cccefd702578a7c2cc364e09d1d1e1b067b3cd948b [2023-05-16T12:01:45.249Z] $ docker rm -f --volumes 78282d3e7910415d597fe0cccefd702578a7c2cc364e09d1d1e1b067b3cd948b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-16T12:01:45.683Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T12:01:45.683Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:01:45.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T12:01:45.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T12:01:46.056Z] prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container [2023-05-16T12:01:46.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-16T12:01:46.416Z] $ docker top 144843b54b758aca580321ce581b0308fc97589949ea1d4ead27cfcfed8b1273 -eo pid,comm [2023-05-16T12:01:46.459Z] 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-05-16T12:01:46.459Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T12:01:46.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T12:01:46.498Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T12:01:46.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T12:01:46.623Z] $ docker exec 144843b54b758aca580321ce581b0308fc97589949ea1d4ead27cfcfed8b1273 ssh-agent [2023-05-16T12:01:46.743Z] SSH_AUTH_SOCK=/tmp/ssh-NW0VZZ4ExfQT/agent.32 [2023-05-16T12:01:46.743Z] SSH_AGENT_PID=38 [2023-05-16T12:01:46.748Z] Running ssh-add (command line suppressed) [2023-05-16T12:01:46.855Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_430102999460377274.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_430102999460377274.key) [2023-05-16T12:01:46.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T12:01:47.150Z] + git semver bump pre [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,313 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,313 [bump_version] DEBUG bumping version:3.0.0-dev.41 on axis:pre with prefix:dev [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,314 [bump_version] DEBUG bumped version:3.0.0-dev.42 [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,314 [write_version] DEBUG write version:3.0.0-dev.42 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,314 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,314 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,316 [execute] INFO git cat-file --batch-check [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,321 [execute] INFO git cat-file --batch [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T12:01:47.411Z] 2023-05-16 12:01:47,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-16T12:01:47.411Z] 3.0.0-dev.42 [Pipeline] } [2023-05-16T12:01:47.422Z] $ docker exec --env ******** --env ******** 144843b54b758aca580321ce581b0308fc97589949ea1d4ead27cfcfed8b1273 ssh-agent -k [2023-05-16T12:01:47.535Z] unset SSH_AUTH_SOCK; [2023-05-16T12:01:47.535Z] unset SSH_AGENT_PID; [2023-05-16T12:01:47.535Z] echo Agent pid 38 killed; [2023-05-16T12:01:47.544Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T12:01:47.845Z] + git semver [Pipeline] } [2023-05-16T12:01:48.119Z] $ docker stop --time=1 144843b54b758aca580321ce581b0308fc97589949ea1d4ead27cfcfed8b1273 [2023-05-16T12:01:49.378Z] $ docker rm -f --volumes 144843b54b758aca580321ce581b0308fc97589949ea1d4ead27cfcfed8b1273 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T12:01:49.724Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T12:01:49.724Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:01:50.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T12:01:50.019Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T12:01:50.091Z] prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container [2023-05-16T12:01:50.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-16T12:01:50.459Z] $ docker top 7a9cf74f09ffa287c2a1313f3f228e280134089c7e6efc3a7963489a2b227ddc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T12:01:50.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T12:01:50.545Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T12:01:50.655Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T12:01:50.658Z] $ docker exec 7a9cf74f09ffa287c2a1313f3f228e280134089c7e6efc3a7963489a2b227ddc ssh-agent [2023-05-16T12:01:50.780Z] SSH_AUTH_SOCK=/tmp/ssh-PTIZ1sUuH7v5/agent.31 [2023-05-16T12:01:50.781Z] SSH_AGENT_PID=37 [2023-05-16T12:01:50.786Z] Running ssh-add (command line suppressed) [2023-05-16T12:01:50.884Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14331118818741419714.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14331118818741419714.key) [2023-05-16T12:01:50.899Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T12:01:51.189Z] + git semver push [2023-05-16T12:01:51.452Z] 2023-05-16 12:01:51,381 [run_push] DEBUG push [2023-05-16T12:01:51.452Z] 2023-05-16 12:01:51,381 [execute] INFO git cat-file --batch-check [2023-05-16T12:01:51.452Z] 2023-05-16 12:01:51,381 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T12:01:51.452Z] 2023-05-16 12:01:51,385 [execute] INFO git rev-list e884e3d94d082d957305451ab703e895584ff2d1 -- [2023-05-16T12:01:51.452Z] 2023-05-16 12:01:51,386 [execute] DEBUG Popen(['git', 'rev-list', 'e884e3d94d082d957305451ab703e895584ff2d1', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-16T12:01:51.452Z] 2023-05-16 12:01:51,393 [execute] INFO git fetch -v origin [2023-05-16T12:01:51.452Z] 2023-05-16 12:01:51,394 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-16T12:01:52.023Z] 2023-05-16 12:01:51,888 [run_push] DEBUG no remote changes detected [2023-05-16T12:01:52.023Z] 2023-05-16 12:01:51,888 [execute] INFO git push origin semver [2023-05-16T12:01:52.023Z] 2023-05-16 12:01:51,889 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-16T12:01:52.964Z] 2023-05-16 12:01:52,802 [run_push] DEBUG push all version tags [2023-05-16T12:01:52.964Z] 2023-05-16 12:01:52,803 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-16T12:01:52.964Z] 2023-05-16 12:01:52,803 [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-05-16T12:01:53.903Z] 2023-05-16 12:01:53,605 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-16T12:01:53.903Z] 3.0.0-dev.42 [Pipeline] } [2023-05-16T12:01:53.912Z] $ docker exec --env ******** --env ******** 7a9cf74f09ffa287c2a1313f3f228e280134089c7e6efc3a7963489a2b227ddc ssh-agent -k [2023-05-16T12:01:54.005Z] unset SSH_AUTH_SOCK; [2023-05-16T12:01:54.005Z] unset SSH_AGENT_PID; [2023-05-16T12:01:54.006Z] echo Agent pid 37 killed; [2023-05-16T12:01:54.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T12:01:54.333Z] + git semver [Pipeline] } [2023-05-16T12:01:54.606Z] $ docker stop --time=1 7a9cf74f09ffa287c2a1313f3f228e280134089c7e6efc3a7963489a2b227ddc [2023-05-16T12:01:55.874Z] $ docker rm -f --volumes 7a9cf74f09ffa287c2a1313f3f228e280134089c7e6efc3a7963489a2b227ddc [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-05-16T12:01:56.465Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-16T12:01:56.465Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-16T12:01:56.465Z] total 16 [2023-05-16T12:01:56.465Z] drwxr-xr-x 3 root root 4096 May 16 11:50 . [2023-05-16T12:01:56.465Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 12:01 .. [2023-05-16T12:01:56.465Z] drwxr-xr-x 2 root root 4096 May 16 11:50 cost [2023-05-16T12:01:56.465Z] -rw-r--r-- 1 root root 88 May 16 11:50 cost.csv [2023-05-16T12:01:56.465Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-16T12:01:56.465Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-16T12:01:56.465Z] total 16 [2023-05-16T12:01:56.465Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 11:50 . [2023-05-16T12:01:56.465Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 12:01 .. [2023-05-16T12:01:56.465Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 11:50 cost [2023-05-16T12:01:56.465Z] -rw-r--r-- 1 jenkins jenkins 88 May 16 11:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:01:56.756Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:01:57.616Z] ---> package-listing.sh [2023-05-16T12:01:57.617Z] ++ facter osfamily [2023-05-16T12:01:57.617Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T12:01:57.876Z] + OS_FAMILY=debian [2023-05-16T12:01:57.876Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-16T12:01:57.876Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T12:01:57.876Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T12:01:57.876Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T12:01:57.876Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T12:01:57.876Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-16T12:01:57.876Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T12:01:57.876Z] + case "${OS_FAMILY}" in [2023-05-16T12:01:57.876Z] + dpkg -l [2023-05-16T12:01:57.876Z] + grep '^ii' [2023-05-16T12:01:57.876Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T12:01:57.876Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T12:01:57.876Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T12:01:57.876Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-16T12:01:57.876Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-16T12:01:57.877Z] + 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-05-16T12:01:57.887Z] 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-05-16T12:01:58.167Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T12:01:58.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T12:01:58.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T12:01:58.796Z] prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container [2023-05-16T12:01:58.825Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T12:01:59.048Z] $ docker top 5bc1871ef331fc52dbc822f3350417835bf66fd69d17974549e2dadf57435c80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T12:01:59.513Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T12:01:59.827Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T12:02:00.182Z] + ls /var/log/sa-host [2023-05-16T12:02:00.182Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T12:02:00.334Z] provisioning config files... [2023-05-16T12:02:00.355Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12023334682191721586tmp [Pipeline] { [Pipeline] echo [2023-05-16T12:02:00.374Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:02:00.657Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T12:02:00.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:02:00.992Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T12:02:01.001Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:02:01.283Z] ---> sudo-logs.sh [2023-05-16T12:02:01.283Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T12:02:01.311Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:02:01.592Z] ---> job-cost.sh [2023-05-16T12:02:01.592Z] lf-activate-venv: SKIPPING [2023-05-16T12:02:01.592Z] DEBUG: total: 0.2199999988079071 [2023-05-16T12:02:01.592Z] INFO: Retrieving Stack Cost... [2023-05-16T12:02:01.852Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T12:02:02.424Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T12:02:02.433Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T12:02:02.715Z] ---> logs-deploy.sh [2023-05-16T12:02:02.715Z] lf-activate-venv: SKIPPING [2023-05-16T12:02:02.715Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/107 [2023-05-16T12:02:02.715Z] INFO: archiving workspace using pattern(s): [2023-05-16T12:02:03.660Z] Archives upload complete. [2023-05-16T12:02:03.660Z] INFO: archiving logs to Nexus