Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e881fe54d34e3489b353c0554336186a92f7554 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-ssh11217853463667347952.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2642465032494140045.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9937485417269862408.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3124288256665519867.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-ssh12115166159067994800.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4624’ Running on prd-ubuntu20.04-docker-8c-8g-4626 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 3e881fe54d34e3489b353c0554336186a92f7554 (main) > 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 3e881fe54d34e3489b353c0554336186a92f7554 # timeout=10 Commit message: "Merge pull request #403 from hahattan/bump-sdk" > git rev-list --no-walk bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-06T04:34:05.709Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-06T04:34:05.761Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-06T04:34:05.774Z] ========================================================= [2023-02-06T04:34:05.774Z] EdgeX Global Pipelines Version Info [2023-02-06T04:34:05.774Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:34:06.536Z] ------------------- [2023-02-06T04:34:06.536Z] stable info: [2023-02-06T04:34:06.536Z] ------------------- [2023-02-06T04:34:06.536Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-06T04:34:06.536Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T04:34:06.536Z] Message: update stable to v1.0.244 [2023-02-06T04:34:07.130Z] ------------------- [2023-02-06T04:34:07.130Z] experimental info: [2023-02-06T04:34:07.130Z] ------------------- [2023-02-06T04:34:07.130Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-06T04:34:07.130Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T04:34:07.130Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-06T04:34:07.352Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-06T04:34:07.368Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-06T04:34:07.386Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-06T04:34:07.398Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-06T04:34:07.409Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-06T04:34:07.420Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-06T04:34:07.430Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-06T04:34:07.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-06T04:34:07.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-06T04:34:07.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-06T04:34:07.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-06T04:34:07.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-06T04:34:07.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-06T04:34:07.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-06T04:34:07.525Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-06T04:34:07.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-06T04:34:07.552Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T04:34:07.569Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T04:34:07.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-06T04:34:07.601Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-06T04:34:07.612Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-06T04:34:07.623Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-06T04:34:07.635Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-06T04:34:07.649Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-06T04:34:07.660Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-06T04:34:07.670Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-06T04:34:07.685Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-06T04:34:07.698Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-06T04:34:07.712Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-06T04:34:07.724Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-06T04:34:07.735Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] echo [2023-02-06T04:34:07.746Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e881fe [Pipeline] echo [2023-02-06T04:34:07.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T04:34:07.799Z] provisioning config files... [2023-02-06T04:34:07.814Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1189656755813084862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:34:08.124Z] ---> docker-login.sh [2023-02-06T04:34:08.124Z] nexus3.edgexfoundry.org:10001 [2023-02-06T04:34:08.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:34:08.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:34:08.651Z] Configure a credential helper to remove this warning. See [2023-02-06T04:34:08.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:34:08.651Z] [2023-02-06T04:34:08.651Z] Login Succeeded [2023-02-06T04:34:08.651Z] nexus3.edgexfoundry.org:10002 [2023-02-06T04:34:08.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:34:08.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:34:08.651Z] Configure a credential helper to remove this warning. See [2023-02-06T04:34:08.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:34:08.651Z] [2023-02-06T04:34:08.651Z] Login Succeeded [2023-02-06T04:34:08.651Z] nexus3.edgexfoundry.org:10003 [2023-02-06T04:34:08.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:34:08.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:34:08.912Z] Configure a credential helper to remove this warning. See [2023-02-06T04:34:08.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:34:08.912Z] [2023-02-06T04:34:08.912Z] Login Succeeded [2023-02-06T04:34:08.912Z] nexus3.edgexfoundry.org:10004 [2023-02-06T04:34:08.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:34:08.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:34:08.912Z] Configure a credential helper to remove this warning. See [2023-02-06T04:34:08.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:34:08.912Z] [2023-02-06T04:34:08.912Z] Login Succeeded [2023-02-06T04:34:08.912Z] docker.io [2023-02-06T04:34:09.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:34:09.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:34:09.438Z] Configure a credential helper to remove this warning. See [2023-02-06T04:34:09.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:34:09.438Z] [2023-02-06T04:34:09.438Z] Login Succeeded [2023-02-06T04:34:09.438Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T04:34:09.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-06T04:34:09.806Z] + git rev-list -1 --merges 3e881fe54d34e3489b353c0554336186a92f7554~1..3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] echo [2023-02-06T04:34:09.877Z] -----------> git rev-list -1 --merges 3e881fe54d34e3489b353c0554336186a92f7554~1..3e881fe54d34e3489b353c0554336186a92f7554 3e881fe54d34e3489b353c0554336186a92f7554 [2023-02-06T04:34:09.877Z] 3e881fe54d34e3489b353c0554336186a92f7554 [false] [Pipeline] sh [2023-02-06T04:34:10.168Z] + git log --format=format:%s -1 3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] echo [2023-02-06T04:34:10.183Z] ========================================================= [2023-02-06T04:34:10.183Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-06T04:34:10.183Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T04:34:10.502Z] + git log --format=format:%s -1 3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] echo [2023-02-06T04:34:10.517Z] [semverPrep] GIT_COMMIT: 3e881fe54d34e3489b353c0554336186a92f7554, Commit Message: Merge pull request #403 from hahattan/bump-sdk [Pipeline] echo [2023-02-06T04:34:10.526Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-06T04:34:10.860Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-06T04:34:10.860Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-06T04:34:10.860Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-06T04:34:10.860Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-06T04:34:10.860Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-06T04:34:10.860Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-06T04:34:10.860Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:34:11.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T04:34:11.202Z] [2023-02-06T04:34:11.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:34:11.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T04:34:11.517Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-06T04:34:11.517Z] b85a868b505f: Pulling fs layer [2023-02-06T04:34:11.517Z] e2be974225ed: Pulling fs layer [2023-02-06T04:34:11.517Z] 339a4e72a1f5: Pulling fs layer [2023-02-06T04:34:11.517Z] 988bab9f4d93: Pulling fs layer [2023-02-06T04:34:11.517Z] 1469e6f7b9e6: Pulling fs layer [2023-02-06T04:34:11.517Z] eaf3925da568: Pulling fs layer [2023-02-06T04:34:11.517Z] bab4dde63d76: Pulling fs layer [2023-02-06T04:34:11.517Z] bde34c3a00c8: Pulling fs layer [2023-02-06T04:34:11.517Z] b352a97aabf1: Pulling fs layer [2023-02-06T04:34:11.517Z] 4872d77fe225: Pulling fs layer [2023-02-06T04:34:11.517Z] 5851b861e8e6: Pulling fs layer [2023-02-06T04:34:11.517Z] eaf3925da568: Waiting [2023-02-06T04:34:11.517Z] b352a97aabf1: Waiting [2023-02-06T04:34:11.517Z] 988bab9f4d93: Waiting [2023-02-06T04:34:11.517Z] 4872d77fe225: Waiting [2023-02-06T04:34:11.517Z] 5851b861e8e6: Waiting [2023-02-06T04:34:11.517Z] 1469e6f7b9e6: Waiting [2023-02-06T04:34:11.779Z] e2be974225ed: Verifying Checksum [2023-02-06T04:34:11.779Z] e2be974225ed: Download complete [2023-02-06T04:34:11.779Z] 988bab9f4d93: Verifying Checksum [2023-02-06T04:34:11.779Z] 988bab9f4d93: Download complete [2023-02-06T04:34:11.779Z] 1469e6f7b9e6: Verifying Checksum [2023-02-06T04:34:11.779Z] 1469e6f7b9e6: Download complete [2023-02-06T04:34:11.779Z] eaf3925da568: Verifying Checksum [2023-02-06T04:34:11.779Z] eaf3925da568: Download complete [2023-02-06T04:34:12.044Z] 339a4e72a1f5: Verifying Checksum [2023-02-06T04:34:12.044Z] 339a4e72a1f5: Download complete [2023-02-06T04:34:12.044Z] bde34c3a00c8: Verifying Checksum [2023-02-06T04:34:12.044Z] bde34c3a00c8: Download complete [2023-02-06T04:34:12.044Z] b85a868b505f: Download complete [2023-02-06T04:34:12.044Z] b352a97aabf1: Verifying Checksum [2023-02-06T04:34:12.044Z] b352a97aabf1: Download complete [2023-02-06T04:34:12.044Z] 4872d77fe225: Download complete [2023-02-06T04:34:12.044Z] 5851b861e8e6: Download complete [2023-02-06T04:34:12.617Z] bab4dde63d76: Verifying Checksum [2023-02-06T04:34:12.617Z] bab4dde63d76: Download complete [2023-02-06T04:34:13.193Z] b85a868b505f: Pull complete [2023-02-06T04:34:13.457Z] e2be974225ed: Pull complete [2023-02-06T04:34:13.718Z] 339a4e72a1f5: Pull complete [2023-02-06T04:34:13.981Z] 988bab9f4d93: Pull complete [2023-02-06T04:34:14.242Z] 1469e6f7b9e6: Pull complete [2023-02-06T04:34:14.242Z] eaf3925da568: Pull complete [2023-02-06T04:34:16.161Z] bab4dde63d76: Pull complete [2023-02-06T04:34:16.161Z] bde34c3a00c8: Pull complete [2023-02-06T04:34:16.161Z] b352a97aabf1: Pull complete [2023-02-06T04:34:16.161Z] 4872d77fe225: Pull complete [2023-02-06T04:34:16.161Z] 5851b861e8e6: Pull complete [2023-02-06T04:34:16.161Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-06T04:34:16.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T04:34:16.161Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:34:16.269Z] prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container [2023-02-06T04:34:16.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-06T04:34:17.891Z] $ docker top 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 -eo pid,comm [2023-02-06T04:34:17.969Z] 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-02-06T04:34:17.969Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-06T04:34:18.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T04:34:18.013Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T04:34:18.131Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T04:34:18.121Z] $ docker exec 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 ssh-agent [2023-02-06T04:34:18.242Z] SSH_AUTH_SOCK=/tmp/ssh-KreceOitdxYc/agent.32 [2023-02-06T04:34:18.242Z] SSH_AGENT_PID=38 [2023-02-06T04:34:18.251Z] Running ssh-add (command line suppressed) [2023-02-06T04:34:18.334Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13565700373301325267.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13565700373301325267.key) [2023-02-06T04:34:18.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T04:34:18.656Z] + git tag --points-at HEAD [Pipeline] } [2023-02-06T04:34:18.664Z] $ docker exec --env ******** --env ******** 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 ssh-agent -k [2023-02-06T04:34:18.771Z] unset SSH_AUTH_SOCK; [2023-02-06T04:34:18.772Z] unset SSH_AGENT_PID; [2023-02-06T04:34:18.773Z] echo Agent pid 38 killed; [2023-02-06T04:34:18.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-06T04:34:18.824Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T04:34:18.824Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T04:34:18.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T04:34:18.930Z] $ docker exec 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 ssh-agent [2023-02-06T04:34:19.057Z] SSH_AUTH_SOCK=/tmp/ssh-tI100hzm6b93/agent.70 [2023-02-06T04:34:19.057Z] SSH_AGENT_PID=76 [2023-02-06T04:34:19.062Z] Running ssh-add (command line suppressed) [2023-02-06T04:34:19.145Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2438874393295865228.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2438874393295865228.key) [2023-02-06T04:34:19.185Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T04:34:19.476Z] + git semver init [2023-02-06T04:34:19.735Z] 2023-02-06 04:34:19,649 [run_init] DEBUG init version:0.0.0 force:False [2023-02-06T04:34:19.735Z] 2023-02-06 04:34:19,650 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-06T04:34:19.735Z] 2023-02-06 04:34:19,650 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-06T04:34:19.735Z] 2023-02-06 04:34:19,651 [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-02-06T04:34:21.125Z] 2023-02-06 04:34:20,756 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-02-06T04:34:21.125Z] 2023-02-06 04:34:20,757 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-02-06T04:34:21.125Z] 2023-02-06 04:34:20,757 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-06T04:34:21.125Z] 2023-02-06 04:34:20,757 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-06T04:34:21.125Z] 3.0.0-dev.7 [Pipeline] } [2023-02-06T04:34:21.125Z] $ docker exec --env ******** --env ******** 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 ssh-agent -k [2023-02-06T04:34:21.232Z] unset SSH_AUTH_SOCK; [2023-02-06T04:34:21.232Z] unset SSH_AGENT_PID; [2023-02-06T04:34:21.232Z] echo Agent pid 76 killed; [2023-02-06T04:34:21.253Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-06T04:34:21.552Z] + git semver [Pipeline] } [2023-02-06T04:34:21.822Z] $ docker stop --time=1 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 [2023-02-06T04:34:23.205Z] $ docker rm -f --volumes 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T04:34:23.563Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-06T04:34:23.824Z] Stashed 1 file(s) [Pipeline] echo [2023-02-06T04:34:23.827Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.7 [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-02-06T04:34:23.966Z] provisioning config files... [2023-02-06T04:34:23.980Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11161962109126778907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:34:24.283Z] ---> docker-login.sh [2023-02-06T04:34:24.283Z] nexus3.edgexfoundry.org:10001 [2023-02-06T04:34:24.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:34:24.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:34:24.283Z] Configure a credential helper to remove this warning. See [2023-02-06T04:34:24.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:34:24.283Z] [2023-02-06T04:34:24.283Z] Login Succeeded [2023-02-06T04:34:24.283Z] nexus3.edgexfoundry.org:10002 [2023-02-06T04:34:24.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:34:24.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:34:24.547Z] Configure a credential helper to remove this warning. See [2023-02-06T04:34:24.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:34:24.547Z] [2023-02-06T04:34:24.547Z] Login Succeeded [2023-02-06T04:34:24.547Z] nexus3.edgexfoundry.org:10003 [2023-02-06T04:34:24.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:34:24.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:34:24.547Z] Configure a credential helper to remove this warning. See [2023-02-06T04:34:24.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:34:24.547Z] [2023-02-06T04:34:24.547Z] Login Succeeded [2023-02-06T04:34:24.547Z] nexus3.edgexfoundry.org:10004 [2023-02-06T04:34:24.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:34:24.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:34:24.812Z] Configure a credential helper to remove this warning. See [2023-02-06T04:34:24.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:34:24.812Z] [2023-02-06T04:34:24.812Z] Login Succeeded [2023-02-06T04:34:24.812Z] docker.io [2023-02-06T04:34:24.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:34:25.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:34:25.076Z] Configure a credential helper to remove this warning. See [2023-02-06T04:34:25.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:34:25.076Z] [2023-02-06T04:34:25.076Z] Login Succeeded [2023-02-06T04:34:25.076Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T04:34:25.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T04:34:25.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T04:34:25.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T04:34:25.173Z] ========================================================= [2023-02-06T04:34:25.173Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-06T04:34:25.173Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:34:25.481Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-06T04:34:25.481Z] Sending build context to Docker daemon 6.324MB [2023-02-06T04:34:25.481Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T04:34:25.481Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-06T04:34:25.481Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-06T04:34:25.481Z] 213ec9aee27d: Pulling fs layer [2023-02-06T04:34:25.481Z] 4583459ba037: Pulling fs layer [2023-02-06T04:34:25.481Z] 93c1e223e6f2: Pulling fs layer [2023-02-06T04:34:25.481Z] 53926ce57604: Pulling fs layer [2023-02-06T04:34:25.481Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-06T04:34:25.481Z] 22ff95d597cd: Pulling fs layer [2023-02-06T04:34:25.481Z] 12d6caf4c0d1: Pulling fs layer [2023-02-06T04:34:25.481Z] 96b7cbca73a9: Pulling fs layer [2023-02-06T04:34:25.481Z] a7acece74701: Pulling fs layer [2023-02-06T04:34:25.481Z] 53926ce57604: Waiting [2023-02-06T04:34:25.481Z] 22ff95d597cd: Waiting [2023-02-06T04:34:25.481Z] a7acece74701: Waiting [2023-02-06T04:34:25.481Z] 12d6caf4c0d1: Waiting [2023-02-06T04:34:25.481Z] 96b7cbca73a9: Waiting [2023-02-06T04:34:25.481Z] 93c1e223e6f2: Verifying Checksum [2023-02-06T04:34:25.747Z] 4583459ba037: Download complete [2023-02-06T04:34:25.747Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-06T04:34:25.747Z] 21b2b0c7a3f4: Download complete [2023-02-06T04:34:25.747Z] 22ff95d597cd: Verifying Checksum [2023-02-06T04:34:25.747Z] 22ff95d597cd: Download complete [2023-02-06T04:34:25.747Z] 213ec9aee27d: Verifying Checksum [2023-02-06T04:34:25.747Z] 213ec9aee27d: Download complete [2023-02-06T04:34:25.747Z] 12d6caf4c0d1: Verifying Checksum [2023-02-06T04:34:25.747Z] 12d6caf4c0d1: Download complete [2023-02-06T04:34:25.747Z] 213ec9aee27d: Pull complete [2023-02-06T04:34:26.028Z] 4583459ba037: Pull complete [2023-02-06T04:34:26.028Z] 93c1e223e6f2: Pull complete [2023-02-06T04:34:26.633Z] a7acece74701: Verifying Checksum [2023-02-06T04:34:26.633Z] a7acece74701: Download complete [2023-02-06T04:34:27.209Z] 96b7cbca73a9: Verifying Checksum [2023-02-06T04:34:27.209Z] 96b7cbca73a9: Download complete [2023-02-06T04:34:27.209Z] 53926ce57604: Verifying Checksum [2023-02-06T04:34:27.209Z] 53926ce57604: Download complete [2023-02-06T04:34:31.415Z] 53926ce57604: Pull complete [2023-02-06T04:34:31.415Z] 21b2b0c7a3f4: Pull complete [2023-02-06T04:34:31.415Z] 22ff95d597cd: Pull complete [2023-02-06T04:34:31.415Z] 12d6caf4c0d1: Pull complete [2023-02-06T04:34:33.321Z] 96b7cbca73a9: Pull complete [2023-02-06T04:34:34.269Z] a7acece74701: Pull complete [2023-02-06T04:34:34.269Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-06T04:34:34.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-06T04:34:34.269Z] ---> db6d94c90886 [2023-02-06T04:34:34.269Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-06T04:34:37.585Z] ---> Running in fa078a9dc5de [2023-02-06T04:34:37.585Z] Removing intermediate container fa078a9dc5de [2023-02-06T04:34:37.585Z] ---> a4e5652da8dc [2023-02-06T04:34:37.585Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T04:34:37.585Z] ---> Running in dc48afbba893 [2023-02-06T04:34:37.585Z] Removing intermediate container dc48afbba893 [2023-02-06T04:34:37.585Z] ---> c25923f1ade6 [2023-02-06T04:34:37.585Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-06T04:34:37.845Z] ---> Running in 3491088b9cb7 [2023-02-06T04:34:38.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T04:34:38.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T04:34:38.375Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-06T04:34:38.375Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-06T04:34:38.375Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-06T04:34:38.375Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-06T04:34:38.375Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-06T04:34:38.375Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-06T04:34:38.375Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-06T04:34:38.375Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-06T04:34:38.633Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T04:34:38.633Z] OK: 217 MiB in 59 packages [2023-02-06T04:34:38.929Z] Still waiting to schedule task [2023-02-06T04:34:38.929Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4625’ [2023-02-06T04:34:39.204Z] Removing intermediate container 3491088b9cb7 [2023-02-06T04:34:39.204Z] ---> c9bd855e2ac3 [2023-02-06T04:34:39.204Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-06T04:34:39.204Z] ---> Running in 97484c7e994b [2023-02-06T04:34:39.204Z] Removing intermediate container 97484c7e994b [2023-02-06T04:34:39.204Z] ---> 501e0c346548 [2023-02-06T04:34:39.204Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-06T04:34:39.466Z] ---> 318a57eac0b4 [2023-02-06T04:34:39.466Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T04:34:39.466Z] ---> Running in 7d47f34c096c [2023-02-06T04:35:06.077Z] Removing intermediate container 7d47f34c096c [2023-02-06T04:35:06.077Z] ---> 4e38cbcc2f14 [2023-02-06T04:35:06.077Z] Step 9/10 : COPY . . [2023-02-06T04:35:06.336Z] ---> 0617627c56cb [2023-02-06T04:35:06.336Z] Step 10/10 : RUN ${MAKE} [2023-02-06T04:35:06.336Z] ---> Running in cf5d347fdf5c [2023-02-06T04:35:06.597Z] noop [2023-02-06T04:35:06.859Z] Removing intermediate container cf5d347fdf5c [2023-02-06T04:35:06.859Z] ---> 9f8797321120 [2023-02-06T04:35:06.859Z] Successfully built 9f8797321120 [2023-02-06T04:35:06.859Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:35:07.196Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T04:35:07.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:35:07.283Z] prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container [2023-02-06T04:35:07.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-06T04:35:07.686Z] $ docker top 10e8b6070e9306fa8fa453f4504a9dca149198839a770fbcf4e15ae91c85c948 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T04:35:08.022Z] + go version [2023-02-06T04:35:08.022Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-06T04:35:08.039Z] $ docker stop --time=1 10e8b6070e9306fa8fa453f4504a9dca149198839a770fbcf4e15ae91c85c948 [2023-02-06T04:35:09.328Z] $ docker rm -f --volumes 10e8b6070e9306fa8fa453f4504a9dca149198839a770fbcf4e15ae91c85c948 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:35:09.745Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T04:35:09.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:35:09.828Z] prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container [2023-02-06T04:35:09.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-06T04:35:10.259Z] $ docker top 82a706791889dec491cbbc33631c36f6d60b30e93785996b4b3be0f84cf97f11 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T04:35:10.598Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-06T04:35:10.902Z] + make test [2023-02-06T04:35:10.902Z] go test ./... -coverprofile=coverage.out [2023-02-06T04:35:11.160Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-06T04:35:21.138Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-06T04:35:21.138Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2023-02-06T04:35:26.416Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-06T04:35:26.416Z] go vet ./... [2023-02-06T04:35:29.727Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T04:35:29.727Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T04:35:29.727Z] ./bin/test-attribution-txt.sh [2023-02-06T04:35:29.727Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-06T04:35:29.727Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-06T04:35:29.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T04:35:29.761Z] $ docker stop --time=1 82a706791889dec491cbbc33631c36f6d60b30e93785996b4b3be0f84cf97f11 [2023-02-06T04:35:31.739Z] $ docker rm -f --volumes 82a706791889dec491cbbc33631c36f6d60b30e93785996b4b3be0f84cf97f11 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T04:35:32.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T04:35:32.208Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-06T04:35:32.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T04:35:32.959Z] + ls -al . [2023-02-06T04:35:32.960Z] total 184 [2023-02-06T04:35:32.960Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 04:35 . [2023-02-06T04:35:32.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:34 .. [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 04:34 .dockerignore [2023-02-06T04:35:32.960Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 04:35 .git [2023-02-06T04:35:32.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:34 .github [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 6 04:34 .gitignore [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 04:34 .golangci.yml [2023-02-06T04:35:32.960Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 04:34 .semver [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 10017 Feb 6 04:34 Attribution.txt [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 6 04:34 CHANGELOG.md [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 6 04:34 Dockerfile [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 04:34 GOVERNANCE.md [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 6 04:34 Jenkinsfile [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 04:34 LICENSE [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 6 04:34 Makefile [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 6 04:34 OWNERS.md [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 6 04:34 README.md [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 6 04:34 VERSION [2023-02-06T04:35:32.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:34 bin [2023-02-06T04:35:32.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:34 cmd [2023-02-06T04:35:32.960Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 6 04:35 coverage.out [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 3495 Feb 6 04:34 go.mod [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 33619 Feb 6 04:34 go.sum [2023-02-06T04:35:32.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:34 internal [2023-02-06T04:35:32.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:34 simulator [2023-02-06T04:35:32.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:34 snap [2023-02-06T04:35:32.960Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 6 04:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:35:33.287Z] + 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=3e881fe54d34e3489b353c0554336186a92f7554 --label arch=amd64 --label version=3.0.0-dev.7 . [2023-02-06T04:35:33.287Z] Sending build context to Docker daemon 6.348MB [2023-02-06T04:35:33.287Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T04:35:33.287Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-06T04:35:33.287Z] ---> 9f8797321120 [2023-02-06T04:35:33.288Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-06T04:35:33.288Z] ---> Running in 2beb8527d37b [2023-02-06T04:35:33.547Z] Removing intermediate container 2beb8527d37b [2023-02-06T04:35:33.547Z] ---> 4e9720c7af55 [2023-02-06T04:35:33.547Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T04:35:33.547Z] ---> Running in ab77b09b167b [2023-02-06T04:35:33.547Z] Removing intermediate container ab77b09b167b [2023-02-06T04:35:33.547Z] ---> 61496b162ec2 [2023-02-06T04:35:33.547Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-06T04:35:33.806Z] ---> Running in ce127e843239 [2023-02-06T04:35:34.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T04:35:34.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T04:35:34.330Z] OK: 217 MiB in 59 packages [2023-02-06T04:35:34.902Z] Removing intermediate container ce127e843239 [2023-02-06T04:35:34.902Z] ---> 185624a6dd61 [2023-02-06T04:35:34.902Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-06T04:35:34.902Z] ---> Running in 8de9b1c48eb8 [2023-02-06T04:35:34.902Z] Removing intermediate container 8de9b1c48eb8 [2023-02-06T04:35:34.902Z] ---> cfe45cd5fc72 [2023-02-06T04:35:34.902Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-06T04:35:35.163Z] ---> 4601deaba3a7 [2023-02-06T04:35:35.163Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T04:35:35.163Z] ---> Running in 5c1f0e9e115b [2023-02-06T04:35:36.114Z] Removing intermediate container 5c1f0e9e115b [2023-02-06T04:35:36.114Z] ---> e8e0ac71bad8 [2023-02-06T04:35:36.114Z] Step 9/22 : COPY . . [2023-02-06T04:35:36.374Z] ---> eadc249cbc95 [2023-02-06T04:35:36.374Z] Step 10/22 : RUN ${MAKE} [2023-02-06T04:35:36.374Z] ---> Running in 0a3f25de8160 [2023-02-06T04:35:36.636Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-06T04:35:54.773Z] Removing intermediate container 0a3f25de8160 [2023-02-06T04:35:54.773Z] ---> 8441aa09f96b [2023-02-06T04:35:54.773Z] Step 11/22 : FROM alpine:3.14 [2023-02-06T04:35:54.773Z] 3.14: Pulling from library/alpine [2023-02-06T04:35:54.773Z] c7ed990a2339: Pulling fs layer [2023-02-06T04:35:54.773Z] c7ed990a2339: Verifying Checksum [2023-02-06T04:35:54.773Z] c7ed990a2339: Download complete [2023-02-06T04:35:54.773Z] c7ed990a2339: Pull complete [2023-02-06T04:35:54.773Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-02-06T04:35:54.773Z] Status: Downloaded newer image for alpine:3.14 [2023-02-06T04:35:54.773Z] ---> dd53f409bf0b [2023-02-06T04:35:54.773Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-06T04:35:54.773Z] ---> Running in ffff5bdc64ca [2023-02-06T04:35:54.773Z] Removing intermediate container ffff5bdc64ca [2023-02-06T04:35:54.773Z] ---> 2ce362a430ec [2023-02-06T04:35:54.773Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-06T04:35:54.773Z] ---> Running in 451c704304e1 [2023-02-06T04:35:55.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-06T04:35:55.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-06T04:35:55.552Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-06T04:35:55.552Z] Executing busybox-1.33.1-r8.trigger [2023-02-06T04:35:55.552Z] OK: 6 MiB in 15 packages [2023-02-06T04:35:55.814Z] Removing intermediate container 451c704304e1 [2023-02-06T04:35:55.814Z] ---> 05cd1470d051 [2023-02-06T04:35:55.814Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-06T04:35:56.386Z] ---> e97168f3661d [2023-02-06T04:35:56.386Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-06T04:35:56.386Z] ---> aeab91dd4e95 [2023-02-06T04:35:56.386Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-06T04:35:56.647Z] ---> 9aff519e497c [2023-02-06T04:35:56.647Z] Step 17/22 : EXPOSE 59901 [2023-02-06T04:35:56.647Z] ---> Running in 90ce7e2be098 [2023-02-06T04:35:56.647Z] Removing intermediate container 90ce7e2be098 [2023-02-06T04:35:56.647Z] ---> 216460955c2e [2023-02-06T04:35:56.647Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-06T04:35:56.911Z] ---> Running in e19037c4d86b [2023-02-06T04:35:56.911Z] Removing intermediate container e19037c4d86b [2023-02-06T04:35:56.911Z] ---> 768d5cefccb5 [2023-02-06T04:35:56.911Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-06T04:35:56.911Z] ---> Running in c994000edd7e [2023-02-06T04:35:56.911Z] Removing intermediate container c994000edd7e [2023-02-06T04:35:56.911Z] ---> e9cd90f84100 [2023-02-06T04:35:56.911Z] Step 20/22 : LABEL arch=amd64 [2023-02-06T04:35:57.236Z] ---> Running in 25e817045706 [2023-02-06T04:35:57.236Z] Removing intermediate container 25e817045706 [2023-02-06T04:35:57.236Z] ---> cd30af5affe6 [2023-02-06T04:35:57.236Z] Step 21/22 : LABEL git_sha=3e881fe54d34e3489b353c0554336186a92f7554 [2023-02-06T04:35:57.236Z] ---> Running in 62ab6e5ea746 [2023-02-06T04:35:57.236Z] Removing intermediate container 62ab6e5ea746 [2023-02-06T04:35:57.236Z] ---> 02e2e67ec49b [2023-02-06T04:35:57.236Z] Step 22/22 : LABEL version=3.0.0-dev.7 [2023-02-06T04:35:57.236Z] ---> Running in cb5ebc6e443d [2023-02-06T04:35:57.520Z] Removing intermediate container cb5ebc6e443d [2023-02-06T04:35:57.520Z] ---> fcef64c64bd6 [2023-02-06T04:35:57.520Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T04:35:57.520Z] Successfully built fcef64c64bd6 [2023-02-06T04:35:57.520Z] 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-02-06T04:35:57.657Z] provisioning config files... [2023-02-06T04:35:57.684Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14359648243991730445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:35:58.034Z] ---> docker-login.sh [2023-02-06T04:35:58.034Z] nexus3.edgexfoundry.org:10001 [2023-02-06T04:35:58.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:35:58.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:35:58.034Z] Configure a credential helper to remove this warning. See [2023-02-06T04:35:58.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:35:58.034Z] [2023-02-06T04:35:58.034Z] Login Succeeded [2023-02-06T04:35:58.034Z] nexus3.edgexfoundry.org:10002 [2023-02-06T04:35:58.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:35:58.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:35:58.034Z] Configure a credential helper to remove this warning. See [2023-02-06T04:35:58.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:35:58.035Z] [2023-02-06T04:35:58.035Z] Login Succeeded [2023-02-06T04:35:58.035Z] nexus3.edgexfoundry.org:10003 [2023-02-06T04:35:58.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:35:58.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:35:58.298Z] Configure a credential helper to remove this warning. See [2023-02-06T04:35:58.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:35:58.298Z] [2023-02-06T04:35:58.298Z] Login Succeeded [2023-02-06T04:35:58.298Z] nexus3.edgexfoundry.org:10004 [2023-02-06T04:35:58.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:35:58.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:35:58.298Z] Configure a credential helper to remove this warning. See [2023-02-06T04:35:58.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:35:58.298Z] [2023-02-06T04:35:58.298Z] Login Succeeded [2023-02-06T04:35:58.298Z] docker.io [2023-02-06T04:35:58.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:35:58.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:35:58.558Z] Configure a credential helper to remove this warning. See [2023-02-06T04:35:58.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:35:58.558Z] [2023-02-06T04:35:58.558Z] Login Succeeded [2023-02-06T04:35:58.558Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T04:35:58.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-06T04:35:58.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T04:35:58.615Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-02-06T04:35:58.615Z] 3e881fe54d34e3489b353c0554336186a92f7554 [2023-02-06T04:35:58.615Z] latest [2023-02-06T04:35:58.615Z] 3.0.0-dev.7 [2023-02-06T04:35:58.615Z] 3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 [2023-02-06T04:35:58.615Z] main [2023-02-06T04:35:58.615Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:35:58.949Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:35:59.268Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554 [2023-02-06T04:35:59.269Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-06T04:35:59.269Z] 6a0a3965b374: Preparing [2023-02-06T04:35:59.269Z] 8d9f8e527a3a: Preparing [2023-02-06T04:35:59.269Z] 506b60bed4d1: Preparing [2023-02-06T04:35:59.269Z] c7eb2c38d8d3: Preparing [2023-02-06T04:35:59.269Z] 63493a9ab2d4: Preparing [2023-02-06T04:35:59.269Z] 63493a9ab2d4: Layer already exists [2023-02-06T04:35:59.269Z] 6a0a3965b374: Pushed [2023-02-06T04:35:59.269Z] 8d9f8e527a3a: Pushed [2023-02-06T04:35:59.269Z] c7eb2c38d8d3: Pushed [2023-02-06T04:36:01.820Z] 506b60bed4d1: Pushed [2023-02-06T04:36:01.820Z] 3e881fe54d34e3489b353c0554336186a92f7554: digest: sha256:d7d1dab298fbbab0cd5dd9c7c860c21a1faa7995a53d32289c6b00042cdb753e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:36:02.147Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:36:02.460Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-06T04:36:02.460Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-06T04:36:02.460Z] 6a0a3965b374: Preparing [2023-02-06T04:36:02.460Z] 8d9f8e527a3a: Preparing [2023-02-06T04:36:02.460Z] 506b60bed4d1: Preparing [2023-02-06T04:36:02.460Z] c7eb2c38d8d3: Preparing [2023-02-06T04:36:02.460Z] 63493a9ab2d4: Preparing [2023-02-06T04:36:02.460Z] 8d9f8e527a3a: Layer already exists [2023-02-06T04:36:02.460Z] c7eb2c38d8d3: Layer already exists [2023-02-06T04:36:02.460Z] 63493a9ab2d4: Layer already exists [2023-02-06T04:36:02.460Z] 506b60bed4d1: Layer already exists [2023-02-06T04:36:02.460Z] 6a0a3965b374: Layer already exists [2023-02-06T04:36:02.460Z] latest: digest: sha256:d7d1dab298fbbab0cd5dd9c7c860c21a1faa7995a53d32289c6b00042cdb753e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:36:02.778Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:36:03.096Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.7 [2023-02-06T04:36:03.096Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-06T04:36:03.096Z] 6a0a3965b374: Preparing [2023-02-06T04:36:03.096Z] 8d9f8e527a3a: Preparing [2023-02-06T04:36:03.096Z] 506b60bed4d1: Preparing [2023-02-06T04:36:03.096Z] c7eb2c38d8d3: Preparing [2023-02-06T04:36:03.096Z] 63493a9ab2d4: Preparing [2023-02-06T04:36:03.096Z] 63493a9ab2d4: Layer already exists [2023-02-06T04:36:03.096Z] c7eb2c38d8d3: Layer already exists [2023-02-06T04:36:03.096Z] 8d9f8e527a3a: Layer already exists [2023-02-06T04:36:03.096Z] 506b60bed4d1: Layer already exists [2023-02-06T04:36:03.096Z] 6a0a3965b374: Layer already exists [2023-02-06T04:36:03.096Z] 3.0.0-dev.7: digest: sha256:d7d1dab298fbbab0cd5dd9c7c860c21a1faa7995a53d32289c6b00042cdb753e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:36:03.415Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:36:03.731Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 [2023-02-06T04:36:03.731Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-06T04:36:03.731Z] 6a0a3965b374: Preparing [2023-02-06T04:36:03.731Z] 8d9f8e527a3a: Preparing [2023-02-06T04:36:03.731Z] 506b60bed4d1: Preparing [2023-02-06T04:36:03.731Z] c7eb2c38d8d3: Preparing [2023-02-06T04:36:03.731Z] 63493a9ab2d4: Preparing [2023-02-06T04:36:03.731Z] c7eb2c38d8d3: Layer already exists [2023-02-06T04:36:03.731Z] 63493a9ab2d4: Layer already exists [2023-02-06T04:36:03.731Z] 6a0a3965b374: Layer already exists [2023-02-06T04:36:03.731Z] 506b60bed4d1: Layer already exists [2023-02-06T04:36:03.731Z] 8d9f8e527a3a: Layer already exists [2023-02-06T04:36:03.731Z] 3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7: digest: sha256:d7d1dab298fbbab0cd5dd9c7c860c21a1faa7995a53d32289c6b00042cdb753e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:36:04.052Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:36:04.384Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-02-06T04:36:04.385Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-06T04:36:04.385Z] 6a0a3965b374: Preparing [2023-02-06T04:36:04.385Z] 8d9f8e527a3a: Preparing [2023-02-06T04:36:04.385Z] 506b60bed4d1: Preparing [2023-02-06T04:36:04.385Z] c7eb2c38d8d3: Preparing [2023-02-06T04:36:04.385Z] 63493a9ab2d4: Preparing [2023-02-06T04:36:04.385Z] 8d9f8e527a3a: Layer already exists [2023-02-06T04:36:04.385Z] c7eb2c38d8d3: Layer already exists [2023-02-06T04:36:04.385Z] 6a0a3965b374: Layer already exists [2023-02-06T04:36:04.385Z] 63493a9ab2d4: Layer already exists [2023-02-06T04:36:04.385Z] 506b60bed4d1: Layer already exists [2023-02-06T04:36:04.385Z] main: digest: sha256:d7d1dab298fbbab0cd5dd9c7c860c21a1faa7995a53d32289c6b00042cdb753e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-06T04:36:04.420Z] ===================================================== [Pipeline] echo [2023-02-06T04:36:04.426Z] taggedImages: [2023-02-06T04:36:04.426Z] - nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554 [2023-02-06T04:36:04.426Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-06T04:36:04.426Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.7 [2023-02-06T04:36:04.426Z] - nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 [2023-02-06T04:36:04.426Z] - 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-02-06T04:36:04.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T04:36:04.789Z] [2023-02-06T04:36:04.789Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:36:05.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T04:36:05.096Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-06T04:36:05.096Z] 5eb5b503b376: Pulling fs layer [2023-02-06T04:36:05.096Z] 5c69ac0246d0: Pulling fs layer [2023-02-06T04:36:05.096Z] ec43610c2a17: Pulling fs layer [2023-02-06T04:36:05.096Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-06T04:36:05.096Z] 33b1e0a273af: Pulling fs layer [2023-02-06T04:36:05.096Z] 5d3b04190fa2: Pulling fs layer [2023-02-06T04:36:05.096Z] 2f39f015ded8: Pulling fs layer [2023-02-06T04:36:05.096Z] 33b1e0a273af: Waiting [2023-02-06T04:36:05.096Z] 5d3b04190fa2: Waiting [2023-02-06T04:36:05.096Z] 2f39f015ded8: Waiting [2023-02-06T04:36:05.096Z] 3a2ae6a8a46f: Waiting [2023-02-06T04:36:05.096Z] 5c69ac0246d0: Verifying Checksum [2023-02-06T04:36:05.096Z] 5c69ac0246d0: Download complete [2023-02-06T04:36:05.096Z] 3a2ae6a8a46f: Download complete [2023-02-06T04:36:05.364Z] 33b1e0a273af: Verifying Checksum [2023-02-06T04:36:05.364Z] 33b1e0a273af: Download complete [2023-02-06T04:36:05.364Z] 5d3b04190fa2: Download complete [2023-02-06T04:36:05.364Z] ec43610c2a17: Verifying Checksum [2023-02-06T04:36:05.364Z] ec43610c2a17: Download complete [2023-02-06T04:36:05.633Z] 5eb5b503b376: Download complete [2023-02-06T04:36:06.202Z] 2f39f015ded8: Download complete [2023-02-06T04:36:06.773Z] 5eb5b503b376: Pull complete [2023-02-06T04:36:06.773Z] 5c69ac0246d0: Pull complete [2023-02-06T04:36:07.032Z] ec43610c2a17: Pull complete [2023-02-06T04:36:07.292Z] 3a2ae6a8a46f: Pull complete [2023-02-06T04:36:07.292Z] 33b1e0a273af: Pull complete [2023-02-06T04:36:07.551Z] 5d3b04190fa2: Pull complete [2023-02-06T04:36:11.760Z] 2f39f015ded8: Pull complete [2023-02-06T04:36:11.760Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-06T04:36:11.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T04:36:11.760Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:36:11.841Z] prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container [2023-02-06T04:36:11.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-06T04:36:13.983Z] $ docker top e427beba3ed8c72444b41cf9747b4bcbb828857919c5404d4dec98170cd16d09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:36:14.351Z] ---> job-cost.sh [2023-02-06T04:36:14.351Z] lf-activate-venv: SKIPPING [2023-02-06T04:36:14.351Z] INFO: No Stack... [2023-02-06T04:36:14.929Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T04:36:15.505Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T04:36:15.802Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-02-06T04:36:15.802Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T04:36:15.818Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] [2023-02-06T04:36:15.828Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] did not exist. Created. [2023-02-06T04:36:15.828Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T04:36:16.138Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-06T04:36:16.177Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T04:36:16.184Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T04:36:16.208Z] $ docker stop --time=1 e427beba3ed8c72444b41cf9747b4bcbb828857919c5404d4dec98170cd16d09 [2023-02-06T04:36:17.377Z] $ docker rm -f --volumes e427beba3ed8c72444b41cf9747b4bcbb828857919c5404d4dec98170cd16d09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-06T04:37:27.007Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4628 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-02-06T04:37:27.020Z] Running in /w/workspace/device-modbus-go/73 [Pipeline] { [Pipeline] checkout [2023-02-06T04:37:27.059Z] Selected Git installation does not exist. Using Default [2023-02-06T04:37:27.059Z] The recommended git tool is: NONE [2023-02-06T04:37:32.575Z] using credential edgex-jenkins-ssh [2023-02-06T04:37:32.597Z] Cloning the remote Git repository [2023-02-06T04:37:32.647Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-06T04:37:32.729Z] > git init /w/workspace/device-modbus-go/73 # timeout=10 [2023-02-06T04:37:32.929Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-06T04:37:32.931Z] > git --version # timeout=10 [2023-02-06T04:37:32.956Z] > git --version # 'git version 2.25.1' [2023-02-06T04:37:32.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T04:37:33.029Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T04:37:34.252Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-06T04:37:34.279Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T04:37:35.236Z] Avoid second fetch [2023-02-06T04:37:35.236Z] Checking out Revision 3e881fe54d34e3489b353c0554336186a92f7554 (main) [2023-02-06T04:37:35.257Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T04:37:35.279Z] > git checkout -f 3e881fe54d34e3489b353c0554336186a92f7554 # timeout=10 [2023-02-06T04:37:35.837Z] Commit message: "Merge pull request #403 from hahattan/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T04:37:36.795Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-06T04:37:36.795Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T04:37:36.795Z] Dload Upload Total Spent Left Speed [2023-02-06T04:37:36.795Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh [2023-02-06T04:37:37.359Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-06T04:37:37.696Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-06T04:37:37.696Z] + sudo tee /etc/docker/daemon.new [2023-02-06T04:37:37.696Z] { [2023-02-06T04:37:37.696Z] "registry-mirrors": [ [2023-02-06T04:37:37.696Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-06T04:37:37.696Z] ], [2023-02-06T04:37:37.696Z] "bip": "10.250.0.254/24", [2023-02-06T04:37:37.696Z] "hosts": [ [2023-02-06T04:37:37.696Z] "tcp://0.0.0.0:5555", [2023-02-06T04:37:37.696Z] "unix:///var/run/docker.sock" [2023-02-06T04:37:37.696Z] ], [2023-02-06T04:37:37.696Z] "mtu": 1458, [2023-02-06T04:37:37.696Z] "selinux-enabled": true, [2023-02-06T04:37:37.696Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-06T04:37:37.696Z] } [Pipeline] sh [2023-02-06T04:37:38.039Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-06T04:37:38.385Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T04:37:56.677Z] provisioning config files... [2023-02-06T04:37:56.709Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/73@tmp/config6127625712414954477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:37:57.074Z] ---> docker-login.sh [2023-02-06T04:37:57.074Z] nexus3.edgexfoundry.org:10001 [2023-02-06T04:37:57.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:37:57.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:37:57.666Z] Configure a credential helper to remove this warning. See [2023-02-06T04:37:57.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:37:57.666Z] [2023-02-06T04:37:57.666Z] Login Succeeded [2023-02-06T04:37:57.666Z] nexus3.edgexfoundry.org:10002 [2023-02-06T04:37:57.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:37:58.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:37:58.209Z] Configure a credential helper to remove this warning. See [2023-02-06T04:37:58.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:37:58.209Z] [2023-02-06T04:37:58.209Z] Login Succeeded [2023-02-06T04:37:58.209Z] nexus3.edgexfoundry.org:10003 [2023-02-06T04:37:58.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:37:58.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:37:58.482Z] Configure a credential helper to remove this warning. See [2023-02-06T04:37:58.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:37:58.482Z] [2023-02-06T04:37:58.482Z] Login Succeeded [2023-02-06T04:37:58.482Z] nexus3.edgexfoundry.org:10004 [2023-02-06T04:37:58.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:37:59.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:37:59.027Z] Configure a credential helper to remove this warning. See [2023-02-06T04:37:59.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:37:59.027Z] [2023-02-06T04:37:59.027Z] Login Succeeded [2023-02-06T04:37:59.027Z] docker.io [2023-02-06T04:37:59.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:37:59.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:37:59.569Z] Configure a credential helper to remove this warning. See [2023-02-06T04:37:59.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:37:59.569Z] [2023-02-06T04:37:59.569Z] Login Succeeded [2023-02-06T04:37:59.569Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T04:37:59.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T04:37:59.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T04:37:59.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T04:37:59.903Z] ========================================================= [2023-02-06T04:37:59.903Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-06T04:37:59.903Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:38:00.257Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-06T04:38:03.639Z] Sending build context to Docker daemon 3.292MB [2023-02-06T04:38:03.639Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T04:38:03.639Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-06T04:38:03.639Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-06T04:38:03.639Z] 9b18e9b68314: Pulling fs layer [2023-02-06T04:38:03.639Z] 35d82f9e3411: Pulling fs layer [2023-02-06T04:38:03.639Z] e16973657156: Pulling fs layer [2023-02-06T04:38:03.639Z] fc693d55d65f: Pulling fs layer [2023-02-06T04:38:03.639Z] 7e9fc2657dce: Pulling fs layer [2023-02-06T04:38:03.639Z] dda99020689f: Pulling fs layer [2023-02-06T04:38:03.639Z] db1c61fa0a46: Pulling fs layer [2023-02-06T04:38:03.639Z] 891c053d2c06: Pulling fs layer [2023-02-06T04:38:03.639Z] fc693d55d65f: Waiting [2023-02-06T04:38:03.639Z] 7e9fc2657dce: Waiting [2023-02-06T04:38:03.639Z] dda99020689f: Waiting [2023-02-06T04:38:03.639Z] db1c61fa0a46: Waiting [2023-02-06T04:38:03.639Z] 891c053d2c06: Waiting [2023-02-06T04:38:03.639Z] e16973657156: Verifying Checksum [2023-02-06T04:38:03.639Z] e16973657156: Download complete [2023-02-06T04:38:03.639Z] 35d82f9e3411: Download complete [2023-02-06T04:38:03.639Z] 7e9fc2657dce: Verifying Checksum [2023-02-06T04:38:03.639Z] 7e9fc2657dce: Download complete [2023-02-06T04:38:03.639Z] dda99020689f: Verifying Checksum [2023-02-06T04:38:03.639Z] dda99020689f: Download complete [2023-02-06T04:38:03.639Z] 9b18e9b68314: Download complete [2023-02-06T04:38:04.620Z] 9b18e9b68314: Pull complete [2023-02-06T04:38:04.620Z] 891c053d2c06: Verifying Checksum [2023-02-06T04:38:04.620Z] 891c053d2c06: Download complete [2023-02-06T04:38:04.892Z] 35d82f9e3411: Pull complete [2023-02-06T04:38:05.163Z] e16973657156: Pull complete [2023-02-06T04:38:05.763Z] db1c61fa0a46: Verifying Checksum [2023-02-06T04:38:05.763Z] db1c61fa0a46: Download complete [2023-02-06T04:38:06.743Z] fc693d55d65f: Verifying Checksum [2023-02-06T04:38:06.743Z] fc693d55d65f: Download complete [2023-02-06T04:38:19.099Z] fc693d55d65f: Pull complete [2023-02-06T04:38:19.099Z] 7e9fc2657dce: Pull complete [2023-02-06T04:38:19.099Z] dda99020689f: Pull complete [2023-02-06T04:38:25.790Z] db1c61fa0a46: Pull complete [2023-02-06T04:38:27.223Z] 891c053d2c06: Pull complete [2023-02-06T04:38:27.223Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-06T04:38:27.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-06T04:38:27.223Z] ---> f96f9c87975a [2023-02-06T04:38:27.223Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-06T04:38:29.829Z] ---> Running in 255505d3a067 [2023-02-06T04:38:29.829Z] Removing intermediate container 255505d3a067 [2023-02-06T04:38:29.829Z] ---> 6e120fbb029b [2023-02-06T04:38:29.829Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T04:38:29.829Z] ---> Running in cf792b0a4df0 [2023-02-06T04:38:30.107Z] Removing intermediate container cf792b0a4df0 [2023-02-06T04:38:30.107Z] ---> 7e769fca7106 [2023-02-06T04:38:30.107Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-06T04:38:30.107Z] ---> Running in faa0e4e95139 [2023-02-06T04:38:31.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T04:38:31.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T04:38:33.308Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-06T04:38:33.308Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-06T04:38:33.308Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-06T04:38:33.308Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-06T04:38:33.308Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-06T04:38:33.308Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-06T04:38:33.582Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-06T04:38:33.582Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-06T04:38:33.582Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T04:38:33.582Z] OK: 228 MiB in 59 packages [2023-02-06T04:38:35.004Z] Removing intermediate container faa0e4e95139 [2023-02-06T04:38:35.004Z] ---> d2a845f8adc4 [2023-02-06T04:38:35.004Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-06T04:38:35.004Z] ---> Running in ad331be633b5 [2023-02-06T04:38:35.004Z] Removing intermediate container ad331be633b5 [2023-02-06T04:38:35.004Z] ---> ae7903c10d10 [2023-02-06T04:38:35.004Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-06T04:38:35.603Z] ---> 9bf064564e7b [2023-02-06T04:38:35.603Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T04:38:35.873Z] ---> Running in cda3b371b634 [2023-02-06T04:39:43.791Z] Removing intermediate container cda3b371b634 [2023-02-06T04:39:43.791Z] ---> 1a6ef63cdd07 [2023-02-06T04:39:43.791Z] Step 9/10 : COPY . . [2023-02-06T04:39:43.791Z] ---> 4a18bce2dfc6 [2023-02-06T04:39:43.791Z] Step 10/10 : RUN ${MAKE} [2023-02-06T04:39:43.791Z] ---> Running in 3eba85f57212 [2023-02-06T04:39:43.791Z] noop [2023-02-06T04:39:43.791Z] Removing intermediate container 3eba85f57212 [2023-02-06T04:39:43.791Z] ---> 2cf0653015ca [2023-02-06T04:39:43.791Z] Successfully built 2cf0653015ca [2023-02-06T04:39:43.791Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:39:44.153Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T04:39:44.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:39:44.364Z] prd-ubuntu20.04-docker-arm64-4c-16g-4628 does not seem to be running inside a container [2023-02-06T04:39:44.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/73 -v /w/workspace/device-modbus-go/73:/w/workspace/device-modbus-go/73:rw,z -v /w/workspace/device-modbus-go/73@tmp:/w/workspace/device-modbus-go/73@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-02-06T04:39:45.626Z] $ docker top 4b2ab235f2bd1dd490f44ac8bb864cf041b3f4248e95f9f5a53029654bac4e7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T04:39:46.452Z] + go version [2023-02-06T04:39:46.452Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-06T04:39:46.476Z] $ docker stop --time=1 4b2ab235f2bd1dd490f44ac8bb864cf041b3f4248e95f9f5a53029654bac4e7b [2023-02-06T04:39:48.131Z] $ docker rm -f --volumes 4b2ab235f2bd1dd490f44ac8bb864cf041b3f4248e95f9f5a53029654bac4e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:39:48.663Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T04:39:48.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:39:48.845Z] prd-ubuntu20.04-docker-arm64-4c-16g-4628 does not seem to be running inside a container [2023-02-06T04:39:48.916Z] $ 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/73 -v /w/workspace/device-modbus-go/73:/w/workspace/device-modbus-go/73:rw,z -v /w/workspace/device-modbus-go/73@tmp:/w/workspace/device-modbus-go/73@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-02-06T04:39:50.130Z] $ docker top c411844b3b3715abb688575bdaf3366c4d42ea8fcdfa3c8cfed053254b1a2068 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T04:39:50.970Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/73 [Pipeline] fileExists [Pipeline] sh [2023-02-06T04:39:51.620Z] + make test [2023-02-06T04:39:51.620Z] go test ./... -coverprofile=coverage.out [2023-02-06T04:39:53.569Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-06T04:41:15.211Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-06T04:41:15.211Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 47.7% of statements [2023-02-06T04:41:15.211Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-06T04:41:15.211Z] go vet ./... [2023-02-06T04:41:37.277Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T04:41:37.277Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T04:41:37.277Z] ./bin/test-attribution-txt.sh [2023-02-06T04:41:37.277Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-06T04:41:37.277Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-06T04:41:37.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T04:41:37.311Z] $ docker stop --time=1 c411844b3b3715abb688575bdaf3366c4d42ea8fcdfa3c8cfed053254b1a2068 [2023-02-06T04:41:39.214Z] $ docker rm -f --volumes c411844b3b3715abb688575bdaf3366c4d42ea8fcdfa3c8cfed053254b1a2068 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T04:41:40.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T04:41:40.177Z] Warning: overwriting stash ‘coverage-report’ [2023-02-06T04:41:41.373Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T04:41:41.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T04:41:42.097Z] + ls -al . [2023-02-06T04:41:42.097Z] total 180 [2023-02-06T04:41:42.097Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 04:39 . [2023-02-06T04:41:42.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:37 .. [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 04:37 .dockerignore [2023-02-06T04:41:42.097Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 04:37 .git [2023-02-06T04:41:42.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:37 .github [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 6 04:37 .gitignore [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 04:37 .golangci.yml [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 10017 Feb 6 04:37 Attribution.txt [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 6 04:37 CHANGELOG.md [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 6 04:37 Dockerfile [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 04:37 GOVERNANCE.md [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 6 04:37 Jenkinsfile [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 04:37 LICENSE [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 6 04:37 Makefile [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 6 04:37 OWNERS.md [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 6 04:37 README.md [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 6 04:34 VERSION [2023-02-06T04:41:42.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:37 bin [2023-02-06T04:41:42.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:37 cmd [2023-02-06T04:41:42.097Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 6 04:41 coverage.out [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 3495 Feb 6 04:37 go.mod [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 33619 Feb 6 04:37 go.sum [2023-02-06T04:41:42.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:37 internal [2023-02-06T04:41:42.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:37 simulator [2023-02-06T04:41:42.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:37 snap [2023-02-06T04:41:42.097Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 6 04:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:41:42.438Z] + 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=3e881fe54d34e3489b353c0554336186a92f7554 --label arch=arm64 --label version=3.0.0-dev.7 . [2023-02-06T04:41:42.704Z] Sending build context to Docker daemon 3.316MB [2023-02-06T04:41:42.704Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T04:41:42.704Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-06T04:41:42.704Z] ---> 2cf0653015ca [2023-02-06T04:41:42.704Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-06T04:41:42.971Z] ---> Running in e4ea129e31e4 [2023-02-06T04:41:43.240Z] Removing intermediate container e4ea129e31e4 [2023-02-06T04:41:43.240Z] ---> c0d4c6e4a43a [2023-02-06T04:41:43.240Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T04:41:43.240Z] ---> Running in 985d5ea58dc9 [2023-02-06T04:41:43.512Z] Removing intermediate container 985d5ea58dc9 [2023-02-06T04:41:43.513Z] ---> 1f28d45cea78 [2023-02-06T04:41:43.513Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-06T04:41:43.780Z] ---> Running in 5e8bbdbc8927 [2023-02-06T04:41:45.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T04:41:45.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T04:41:46.952Z] OK: 228 MiB in 59 packages [2023-02-06T04:41:47.935Z] Removing intermediate container 5e8bbdbc8927 [2023-02-06T04:41:47.935Z] ---> 9d106cd3e4ce [2023-02-06T04:41:47.935Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-06T04:41:47.935Z] ---> Running in eead661dcd62 [2023-02-06T04:41:48.202Z] Removing intermediate container eead661dcd62 [2023-02-06T04:41:48.202Z] ---> 794ff82133b4 [2023-02-06T04:41:48.202Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-06T04:41:48.794Z] ---> 7c1ddb1d70e2 [2023-02-06T04:41:48.794Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T04:41:48.794Z] ---> Running in da1ddc13187d [2023-02-06T04:41:51.375Z] Removing intermediate container da1ddc13187d [2023-02-06T04:41:51.375Z] ---> 85c6ac49b0a1 [2023-02-06T04:41:51.375Z] Step 9/22 : COPY . . [2023-02-06T04:41:53.953Z] ---> 5fbe564c04f9 [2023-02-06T04:41:53.953Z] Step 10/22 : RUN ${MAKE} [2023-02-06T04:41:53.953Z] ---> Running in a3b649a23635 [2023-02-06T04:41:54.917Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-06T04:44:31.652Z] Removing intermediate container a3b649a23635 [2023-02-06T04:44:31.652Z] ---> e8f456acb6c6 [2023-02-06T04:44:31.652Z] Step 11/22 : FROM alpine:3.14 [2023-02-06T04:44:31.652Z] 3.14: Pulling from library/alpine [2023-02-06T04:44:31.652Z] 90cda3b7c325: Pulling fs layer [2023-02-06T04:44:31.652Z] 90cda3b7c325: Verifying Checksum [2023-02-06T04:44:31.652Z] 90cda3b7c325: Download complete [2023-02-06T04:44:31.652Z] 90cda3b7c325: Pull complete [2023-02-06T04:44:31.652Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-02-06T04:44:31.652Z] Status: Downloaded newer image for alpine:3.14 [2023-02-06T04:44:31.652Z] ---> 275902a1839d [2023-02-06T04:44:31.652Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-06T04:44:31.652Z] ---> Running in fef73716777d [2023-02-06T04:44:31.652Z] Removing intermediate container fef73716777d [2023-02-06T04:44:31.652Z] ---> 5bf7806052df [2023-02-06T04:44:31.652Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-06T04:44:31.652Z] ---> Running in f6e521aa2b81 [2023-02-06T04:44:31.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-06T04:44:31.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-06T04:44:31.652Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-06T04:44:31.652Z] Executing busybox-1.33.1-r8.trigger [2023-02-06T04:44:31.652Z] OK: 6 MiB in 15 packages [2023-02-06T04:44:31.652Z] Removing intermediate container f6e521aa2b81 [2023-02-06T04:44:31.652Z] ---> 968c14669562 [2023-02-06T04:44:31.652Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-06T04:44:31.652Z] ---> d66d22134663 [2023-02-06T04:44:31.652Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-06T04:44:31.652Z] ---> 897e9c06d050 [2023-02-06T04:44:31.652Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-06T04:44:31.652Z] ---> 0af84f4435e9 [2023-02-06T04:44:31.652Z] Step 17/22 : EXPOSE 59901 [2023-02-06T04:44:31.652Z] ---> Running in 9d2269bd14c1 [2023-02-06T04:44:31.652Z] Removing intermediate container 9d2269bd14c1 [2023-02-06T04:44:31.652Z] ---> 7bf79f2d93db [2023-02-06T04:44:31.652Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-06T04:44:31.652Z] ---> Running in 5f32389638f2 [2023-02-06T04:44:31.652Z] Removing intermediate container 5f32389638f2 [2023-02-06T04:44:31.652Z] ---> 0aa775a6f172 [2023-02-06T04:44:31.652Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-06T04:44:31.652Z] ---> Running in b1b68b5a6a35 [2023-02-06T04:44:31.652Z] Removing intermediate container b1b68b5a6a35 [2023-02-06T04:44:31.652Z] ---> 9cfd5ee4a23f [2023-02-06T04:44:31.652Z] Step 20/22 : LABEL arch=arm64 [2023-02-06T04:44:31.652Z] ---> Running in 4116f418a768 [2023-02-06T04:44:31.652Z] Removing intermediate container 4116f418a768 [2023-02-06T04:44:31.652Z] ---> e1de63ea2e57 [2023-02-06T04:44:31.652Z] Step 21/22 : LABEL git_sha=3e881fe54d34e3489b353c0554336186a92f7554 [2023-02-06T04:44:31.652Z] ---> Running in 16dd21d3687d [2023-02-06T04:44:31.652Z] Removing intermediate container 16dd21d3687d [2023-02-06T04:44:31.652Z] ---> 1e868fce8f40 [2023-02-06T04:44:31.652Z] Step 22/22 : LABEL version=3.0.0-dev.7 [2023-02-06T04:44:31.652Z] ---> Running in 3f54a0ada543 [2023-02-06T04:44:31.918Z] Removing intermediate container 3f54a0ada543 [2023-02-06T04:44:31.918Z] ---> a061677a2087 [2023-02-06T04:44:31.918Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T04:44:31.918Z] Successfully built a061677a2087 [2023-02-06T04:44:31.918Z] 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-02-06T04:44:32.022Z] provisioning config files... [2023-02-06T04:44:32.037Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/73@tmp/config11981761837451029759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:44:32.372Z] ---> docker-login.sh [2023-02-06T04:44:32.372Z] nexus3.edgexfoundry.org:10001 [2023-02-06T04:44:32.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:44:32.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:44:32.641Z] Configure a credential helper to remove this warning. See [2023-02-06T04:44:32.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:44:32.641Z] [2023-02-06T04:44:32.641Z] Login Succeeded [2023-02-06T04:44:32.641Z] nexus3.edgexfoundry.org:10002 [2023-02-06T04:44:32.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:44:33.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:44:33.178Z] Configure a credential helper to remove this warning. See [2023-02-06T04:44:33.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:44:33.178Z] [2023-02-06T04:44:33.178Z] Login Succeeded [2023-02-06T04:44:33.178Z] nexus3.edgexfoundry.org:10003 [2023-02-06T04:44:33.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:44:33.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:44:33.445Z] Configure a credential helper to remove this warning. See [2023-02-06T04:44:33.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:44:33.445Z] [2023-02-06T04:44:33.445Z] Login Succeeded [2023-02-06T04:44:33.445Z] nexus3.edgexfoundry.org:10004 [2023-02-06T04:44:33.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:44:33.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:44:33.981Z] Configure a credential helper to remove this warning. See [2023-02-06T04:44:33.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:44:33.981Z] [2023-02-06T04:44:33.981Z] Login Succeeded [2023-02-06T04:44:33.981Z] docker.io [2023-02-06T04:44:34.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T04:44:34.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T04:44:34.510Z] Configure a credential helper to remove this warning. See [2023-02-06T04:44:34.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T04:44:34.510Z] [2023-02-06T04:44:34.510Z] Login Succeeded [2023-02-06T04:44:34.510Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T04:44:34.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-06T04:44:34.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T04:44:34.578Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-02-06T04:44:34.578Z] 3e881fe54d34e3489b353c0554336186a92f7554 [2023-02-06T04:44:34.578Z] latest [2023-02-06T04:44:34.578Z] 3.0.0-dev.7 [2023-02-06T04:44:34.578Z] 3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 [2023-02-06T04:44:34.578Z] main [2023-02-06T04:44:34.578Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:34.932Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:35.277Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554 [2023-02-06T04:44:35.277Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-06T04:44:35.277Z] cf7163158044: Preparing [2023-02-06T04:44:35.277Z] a3262cb8c212: Preparing [2023-02-06T04:44:35.277Z] df38d6bb28c1: Preparing [2023-02-06T04:44:35.277Z] 7584376f1f50: Preparing [2023-02-06T04:44:35.277Z] 28c3ef001483: Preparing [2023-02-06T04:44:35.277Z] 28c3ef001483: Layer already exists [2023-02-06T04:44:35.544Z] a3262cb8c212: Pushed [2023-02-06T04:44:35.544Z] cf7163158044: Pushed [2023-02-06T04:44:35.544Z] 7584376f1f50: Pushed [2023-02-06T04:44:40.884Z] df38d6bb28c1: Pushed [2023-02-06T04:44:40.884Z] 3e881fe54d34e3489b353c0554336186a92f7554: digest: sha256:965c53a724aa4e94235471e7efee327d3e394f2789dd8e0c0e55a4d7dd24907d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:41.245Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:41.590Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-06T04:44:41.590Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-06T04:44:41.590Z] cf7163158044: Preparing [2023-02-06T04:44:41.590Z] a3262cb8c212: Preparing [2023-02-06T04:44:41.590Z] df38d6bb28c1: Preparing [2023-02-06T04:44:41.590Z] 7584376f1f50: Preparing [2023-02-06T04:44:41.590Z] 28c3ef001483: Preparing [2023-02-06T04:44:41.590Z] df38d6bb28c1: Layer already exists [2023-02-06T04:44:41.590Z] a3262cb8c212: Layer already exists [2023-02-06T04:44:41.590Z] 28c3ef001483: Layer already exists [2023-02-06T04:44:41.590Z] 7584376f1f50: Layer already exists [2023-02-06T04:44:41.590Z] cf7163158044: Layer already exists [2023-02-06T04:44:41.857Z] latest: digest: sha256:965c53a724aa4e94235471e7efee327d3e394f2789dd8e0c0e55a4d7dd24907d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:42.204Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:42.561Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.7 [2023-02-06T04:44:42.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-06T04:44:42.561Z] cf7163158044: Preparing [2023-02-06T04:44:42.561Z] a3262cb8c212: Preparing [2023-02-06T04:44:42.561Z] df38d6bb28c1: Preparing [2023-02-06T04:44:42.561Z] 7584376f1f50: Preparing [2023-02-06T04:44:42.561Z] 28c3ef001483: Preparing [2023-02-06T04:44:42.561Z] 7584376f1f50: Layer already exists [2023-02-06T04:44:42.561Z] df38d6bb28c1: Layer already exists [2023-02-06T04:44:42.561Z] a3262cb8c212: Layer already exists [2023-02-06T04:44:42.561Z] cf7163158044: Layer already exists [2023-02-06T04:44:42.561Z] 28c3ef001483: Layer already exists [2023-02-06T04:44:42.561Z] 3.0.0-dev.7: digest: sha256:965c53a724aa4e94235471e7efee327d3e394f2789dd8e0c0e55a4d7dd24907d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:42.905Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:43.237Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 [2023-02-06T04:44:43.237Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-06T04:44:43.237Z] cf7163158044: Preparing [2023-02-06T04:44:43.237Z] a3262cb8c212: Preparing [2023-02-06T04:44:43.237Z] df38d6bb28c1: Preparing [2023-02-06T04:44:43.237Z] 7584376f1f50: Preparing [2023-02-06T04:44:43.237Z] 28c3ef001483: Preparing [2023-02-06T04:44:43.237Z] a3262cb8c212: Layer already exists [2023-02-06T04:44:43.237Z] cf7163158044: Layer already exists [2023-02-06T04:44:43.237Z] 7584376f1f50: Layer already exists [2023-02-06T04:44:43.237Z] df38d6bb28c1: Layer already exists [2023-02-06T04:44:43.237Z] 28c3ef001483: Layer already exists [2023-02-06T04:44:43.237Z] 3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7: digest: sha256:965c53a724aa4e94235471e7efee327d3e394f2789dd8e0c0e55a4d7dd24907d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:43.576Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:43.910Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-02-06T04:44:43.910Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-06T04:44:43.910Z] cf7163158044: Preparing [2023-02-06T04:44:43.910Z] a3262cb8c212: Preparing [2023-02-06T04:44:43.910Z] df38d6bb28c1: Preparing [2023-02-06T04:44:43.910Z] 7584376f1f50: Preparing [2023-02-06T04:44:43.910Z] 28c3ef001483: Preparing [2023-02-06T04:44:43.910Z] df38d6bb28c1: Layer already exists [2023-02-06T04:44:43.910Z] 28c3ef001483: Layer already exists [2023-02-06T04:44:43.910Z] 7584376f1f50: Layer already exists [2023-02-06T04:44:43.910Z] a3262cb8c212: Layer already exists [2023-02-06T04:44:43.910Z] cf7163158044: Layer already exists [2023-02-06T04:44:43.910Z] main: digest: sha256:965c53a724aa4e94235471e7efee327d3e394f2789dd8e0c0e55a4d7dd24907d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-06T04:44:44.218Z] ===================================================== [Pipeline] echo [2023-02-06T04:44:44.223Z] taggedImages: [2023-02-06T04:44:44.223Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554 [2023-02-06T04:44:44.223Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-06T04:44:44.223Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.7 [2023-02-06T04:44:44.223Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 [2023-02-06T04:44:44.223Z] - 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-02-06T04:44:44.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T04:44:44.571Z] [2023-02-06T04:44:44.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:44:44.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T04:44:44.896Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-06T04:44:44.896Z] 8998bd30e6a1: Pulling fs layer [2023-02-06T04:44:44.896Z] 04944245beec: Pulling fs layer [2023-02-06T04:44:44.896Z] 699f458cf7ca: Pulling fs layer [2023-02-06T04:44:44.896Z] 765212b225bb: Pulling fs layer [2023-02-06T04:44:44.896Z] f23df028b6ca: Pulling fs layer [2023-02-06T04:44:44.896Z] d65c8cfc05b1: Pulling fs layer [2023-02-06T04:44:44.896Z] 2437ff75d9bd: Pulling fs layer [2023-02-06T04:44:44.896Z] 765212b225bb: Waiting [2023-02-06T04:44:44.896Z] f23df028b6ca: Waiting [2023-02-06T04:44:44.896Z] d65c8cfc05b1: Waiting [2023-02-06T04:44:44.896Z] 2437ff75d9bd: Waiting [2023-02-06T04:44:45.167Z] 04944245beec: Verifying Checksum [2023-02-06T04:44:45.167Z] 04944245beec: Download complete [2023-02-06T04:44:45.167Z] 765212b225bb: Verifying Checksum [2023-02-06T04:44:45.167Z] 765212b225bb: Download complete [2023-02-06T04:44:45.434Z] f23df028b6ca: Verifying Checksum [2023-02-06T04:44:45.434Z] f23df028b6ca: Download complete [2023-02-06T04:44:45.434Z] d65c8cfc05b1: Download complete [2023-02-06T04:44:45.434Z] 699f458cf7ca: Verifying Checksum [2023-02-06T04:44:45.434Z] 699f458cf7ca: Download complete [2023-02-06T04:44:46.019Z] 8998bd30e6a1: Verifying Checksum [2023-02-06T04:44:46.020Z] 8998bd30e6a1: Download complete [2023-02-06T04:44:47.961Z] 2437ff75d9bd: Verifying Checksum [2023-02-06T04:44:47.961Z] 2437ff75d9bd: Download complete [2023-02-06T04:44:49.898Z] 8998bd30e6a1: Pull complete [2023-02-06T04:44:50.164Z] 04944245beec: Pull complete [2023-02-06T04:44:51.565Z] 699f458cf7ca: Pull complete [2023-02-06T04:44:51.565Z] 765212b225bb: Pull complete [2023-02-06T04:44:53.502Z] f23df028b6ca: Pull complete [2023-02-06T04:44:53.502Z] d65c8cfc05b1: Pull complete [2023-02-06T04:45:05.831Z] 2437ff75d9bd: Pull complete [2023-02-06T04:45:05.831Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-06T04:45:05.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T04:45:05.831Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:45:06.077Z] prd-ubuntu20.04-docker-arm64-4c-16g-4628 does not seem to be running inside a container [2023-02-06T04:45:06.148Z] $ 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/73 -v /w/workspace/device-modbus-go/73:/w/workspace/device-modbus-go/73:rw,z -v /w/workspace/device-modbus-go/73@tmp:/w/workspace/device-modbus-go/73@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-02-06T04:45:08.758Z] $ docker top 917128dfcad1bc9999b351d5047ee40187e2ec830db94fd1b6daea244092cf1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:45:09.272Z] ---> job-cost.sh [2023-02-06T04:45:09.541Z] lf-activate-venv: SKIPPING [2023-02-06T04:45:09.541Z] INFO: No Stack... [2023-02-06T04:45:09.810Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-06T04:45:10.780Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T04:45:11.124Z] + cat /w/workspace/device-modbus-go/73/archives/cost.csv [2023-02-06T04:45:11.124Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T04:45:11.192Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] [2023-02-06T04:45:11.198Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] did not exist. Created. [2023-02-06T04:45:11.198Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T04:45:11.540Z] /w/workspace/device-modbus-go/73@tmp/durable-d578c73d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-06T04:45:11.869Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-06T04:45:11.892Z] Warning: overwriting stash ‘stack-cost’ [2023-02-06T04:45:11.943Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T04:45:11.950Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T04:45:11.969Z] $ docker stop --time=1 917128dfcad1bc9999b351d5047ee40187e2ec830db94fd1b6daea244092cf1e [2023-02-06T04:45:13.429Z] $ docker rm -f --volumes 917128dfcad1bc9999b351d5047ee40187e2ec830db94fd1b6daea244092cf1e [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-02-06T04:45:13.806Z] provisioning config files... [2023-02-06T04:45:13.813Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18117967444301657187tmp [Pipeline] { [Pipeline] sh [2023-02-06T04:45:14.107Z] + set +x [2023-02-06T04:45:14.107Z] + bash -s -- [2023-02-06T04:45:14.107Z] + curl -s https://codecov.io/bash [2023-02-06T04:45:14.107Z] [2023-02-06T04:45:14.107Z] _____ _ [2023-02-06T04:45:14.107Z] / ____| | | [2023-02-06T04:45:14.107Z] | | ___ __| | ___ ___ _____ __ [2023-02-06T04:45:14.107Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-06T04:45:14.107Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-06T04:45:14.107Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-06T04:45:14.107Z] Bash-1.0.6 [2023-02-06T04:45:14.107Z] [2023-02-06T04:45:14.107Z] [2023-02-06T04:45:14.107Z] ==> git version 2.25.1 found [2023-02-06T04:45:14.107Z] ==> 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-02-06T04:45:14.107Z] Release-Date: 2020-01-08 [2023-02-06T04:45:14.107Z] 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-02-06T04:45:14.107Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-06T04:45:14.107Z] ==> Jenkins CI detected. [2023-02-06T04:45:14.107Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-02-06T04:45:14.107Z] project root: . [2023-02-06T04:45:14.107Z] --> token set from env [2023-02-06T04:45:14.107Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-06T04:45:14.107Z] ==> Running gcov in . (disable via -X gcov) [2023-02-06T04:45:14.107Z] ==> Python coveragepy not found [2023-02-06T04:45:14.107Z] ==> Searching for coverage reports in: [2023-02-06T04:45:14.107Z] + . [2023-02-06T04:45:14.107Z] -> Found 1 reports [2023-02-06T04:45:14.107Z] ==> Detecting git/mercurial file structure [2023-02-06T04:45:14.107Z] ==> Reading reports [2023-02-06T04:45:14.107Z] + ./coverage.out bytes=23241 [2023-02-06T04:45:14.107Z] ==> Appending adjustments [2023-02-06T04:45:14.107Z] https://docs.codecov.io/docs/fixing-reports [2023-02-06T04:45:14.366Z] + Found adjustments [2023-02-06T04:45:14.366Z] ==> Gzipping contents [2023-02-06T04:45:14.366Z] 4.0K /tmp/codecov.phR05k.gz [2023-02-06T04:45:14.366Z] ==> Uploading reports [2023-02-06T04:45:14.366Z] url: https://codecov.io [2023-02-06T04:45:14.366Z] query: branch=main&commit=3e881fe54d34e3489b353c0554336186a92f7554&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-06T04:45:14.366Z] -> Pinging Codecov [2023-02-06T04:45:14.366Z] 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=3e881fe54d34e3489b353c0554336186a92f7554&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-06T04:45:14.625Z] -> Uploading to [2023-02-06T04:45:14.625Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-06/55DBCA73C666E3227836607328DD7E49/3e881fe54d34e3489b353c0554336186a92f7554/811c8400-5761-4d17-a6da-d628fafc7706.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T044514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e4403aab18a62e7fadcff18fa10b9dea3f1adf44050c09e387429e4c5f66ec4 [2023-02-06T04:45:14.625Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T04:45:14.625Z] Dload Upload Total Spent Left Speed [2023-02-06T04:45:14.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3883 0 0 100 3883 0 13818 --:--:-- --:--:-- --:--:-- 13818 [2023-02-06T04:45:14.884Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] } [2023-02-06T04:45:14.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-06T04:45:15.006Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-06T04:45:15.017Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:45:15.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-06T04:45:15.309Z] [2023-02-06T04:45:15.309Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:45:15.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-06T04:45:15.666Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-06T04:45:15.666Z] df9b9388f04a: Pulling fs layer [2023-02-06T04:45:15.666Z] 52dc419b0ee2: Pulling fs layer [2023-02-06T04:45:15.666Z] 25bc292e5bac: Pulling fs layer [2023-02-06T04:45:15.666Z] 114826534d7a: Pulling fs layer [2023-02-06T04:45:15.666Z] 4657fd5d0bcf: Pulling fs layer [2023-02-06T04:45:15.666Z] 6ad1cebc031e: Pulling fs layer [2023-02-06T04:45:15.666Z] 8a3aa393b2d8: Pulling fs layer [2023-02-06T04:45:15.666Z] 114826534d7a: Waiting [2023-02-06T04:45:15.666Z] 4657fd5d0bcf: Waiting [2023-02-06T04:45:15.666Z] 6ad1cebc031e: Waiting [2023-02-06T04:45:15.666Z] 8a3aa393b2d8: Waiting [2023-02-06T04:45:15.667Z] 25bc292e5bac: Download complete [2023-02-06T04:45:15.667Z] 52dc419b0ee2: Verifying Checksum [2023-02-06T04:45:15.667Z] 52dc419b0ee2: Download complete [2023-02-06T04:45:15.667Z] 4657fd5d0bcf: Verifying Checksum [2023-02-06T04:45:15.667Z] 4657fd5d0bcf: Download complete [2023-02-06T04:45:15.936Z] df9b9388f04a: Verifying Checksum [2023-02-06T04:45:15.936Z] df9b9388f04a: Download complete [2023-02-06T04:45:15.936Z] df9b9388f04a: Pull complete [2023-02-06T04:45:16.214Z] 52dc419b0ee2: Pull complete [2023-02-06T04:45:16.214Z] 25bc292e5bac: Pull complete [2023-02-06T04:45:16.501Z] 6ad1cebc031e: Verifying Checksum [2023-02-06T04:45:16.501Z] 6ad1cebc031e: Download complete [2023-02-06T04:45:17.544Z] 114826534d7a: Verifying Checksum [2023-02-06T04:45:17.544Z] 114826534d7a: Download complete [2023-02-06T04:45:17.806Z] 8a3aa393b2d8: Verifying Checksum [2023-02-06T04:45:17.806Z] 8a3aa393b2d8: Download complete [2023-02-06T04:45:20.331Z] 114826534d7a: Pull complete [2023-02-06T04:45:20.331Z] 4657fd5d0bcf: Pull complete [2023-02-06T04:45:20.895Z] 6ad1cebc031e: Pull complete [2023-02-06T04:45:23.421Z] 8a3aa393b2d8: Pull complete [2023-02-06T04:45:23.421Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-06T04:45:23.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-06T04:45:23.421Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:45:23.489Z] prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container [2023-02-06T04:45:23.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-02-06T04:45:25.402Z] $ docker top 2b22e24658672adfd057267cc8e4d8150ef4c5dbfe70d63570690f374f3c015e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-06T04:45:25.452Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-02-06T04:45:25.727Z] + set -o pipefail [2023-02-06T04:45:25.727Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-02-06T04:45:29.919Z] [2023-02-06T04:45:29.919Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-02-06T04:45:29.919Z] [2023-02-06T04:45:29.919Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/d2286d49-5e00-48ad-8cd4-4ebd67268efd [2023-02-06T04:45:29.919Z] [2023-02-06T04:45:29.919Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-02-06T04:45:29.919Z] [2023-02-06T04:45:29.919Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-06T04:45:29.919Z] [2023-02-06T04:45:29.919Z] [2023-02-06T04:45:29.919Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-06T04:45:29.919Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-06T04:45:29.919Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-06T04:45:30.201Z] $ docker stop --time=1 2b22e24658672adfd057267cc8e4d8150ef4c5dbfe70d63570690f374f3c015e [2023-02-06T04:45:32.320Z] $ docker rm -f --volumes 2b22e24658672adfd057267cc8e4d8150ef4c5dbfe70d63570690f374f3c015e [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-02-06T04:45:32.970Z] + git log --format=format:%s -1 3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] sh [2023-02-06T04:45:33.260Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-06T04:45:33.260Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:45:33.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T04:45:33.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:45:33.621Z] prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container [2023-02-06T04:45:33.663Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-06T04:45:34.065Z] $ docker top 8577a11dcffd68467aa8f0a93f3d6f2d0879baf77a06279c4f90ea3ece7d3e60 -eo pid,comm [2023-02-06T04:45:34.100Z] 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-02-06T04:45:34.100Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-06T04:45:34.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T04:45:34.126Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T04:45:34.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T04:45:34.247Z] $ docker exec 8577a11dcffd68467aa8f0a93f3d6f2d0879baf77a06279c4f90ea3ece7d3e60 ssh-agent [2023-02-06T04:45:34.334Z] SSH_AUTH_SOCK=/tmp/ssh-QDIg71vKrTOb/agent.32 [2023-02-06T04:45:34.334Z] SSH_AGENT_PID=38 [2023-02-06T04:45:34.338Z] Running ssh-add (command line suppressed) [2023-02-06T04:45:34.459Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_123154199850059609.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_123154199850059609.key) [2023-02-06T04:45:34.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T04:45:34.742Z] + git semver tag [2023-02-06T04:45:34.999Z] 2023-02-06 04:45:34,920 [run_tag] DEBUG tag force:False [2023-02-06T04:45:34.999Z] 2023-02-06 04:45:34,920 [check_head_tag] DEBUG check head tag [2023-02-06T04:45:34.999Z] 2023-02-06 04:45:34,921 [execute] INFO git cat-file --batch-check [2023-02-06T04:45:34.999Z] 2023-02-06 04:45:34,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-06T04:45:34.999Z] 2023-02-06 04:45:34,925 [execute] INFO git cat-file --batch [2023-02-06T04:45:34.999Z] 2023-02-06 04:45:34,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-06T04:45:34.999Z] 2023-02-06 04:45:34,941 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-06T04:45:34.999Z] 2023-02-06 04:45:34,941 [execute] INFO git tag -a v3.0.0-dev.7 -m v3.0.0-dev.7 [2023-02-06T04:45:34.999Z] 2023-02-06 04:45:34,941 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.7', '-m', 'v3.0.0-dev.7'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-06T04:45:34.999Z] 2023-02-06 04:45:34,946 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-06T04:45:34.999Z] 3.0.0-dev.7 [Pipeline] } [2023-02-06T04:45:35.021Z] $ docker exec --env ******** --env ******** 8577a11dcffd68467aa8f0a93f3d6f2d0879baf77a06279c4f90ea3ece7d3e60 ssh-agent -k [2023-02-06T04:45:35.112Z] unset SSH_AUTH_SOCK; [2023-02-06T04:45:35.112Z] unset SSH_AGENT_PID; [2023-02-06T04:45:35.112Z] echo Agent pid 38 killed; [2023-02-06T04:45:35.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-06T04:45:35.401Z] + git semver [Pipeline] } [2023-02-06T04:45:35.686Z] $ docker stop --time=1 8577a11dcffd68467aa8f0a93f3d6f2d0879baf77a06279c4f90ea3ece7d3e60 [2023-02-06T04:45:36.990Z] $ docker rm -f --volumes 8577a11dcffd68467aa8f0a93f3d6f2d0879baf77a06279c4f90ea3ece7d3e60 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:45:37.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-06T04:45:37.349Z] [2023-02-06T04:45:37.349Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:45:37.648Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-06T04:45:37.648Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-06T04:45:37.648Z] ab5ef0e58194: Pulling fs layer [2023-02-06T04:45:37.648Z] 9712f1f96733: Pulling fs layer [2023-02-06T04:45:37.648Z] 63f879dbbcfc: Pulling fs layer [2023-02-06T04:45:37.648Z] 0d9ebad4ef96: Pulling fs layer [2023-02-06T04:45:37.648Z] e9a5061849ea: Pulling fs layer [2023-02-06T04:45:37.648Z] d747dcd14b5f: Pulling fs layer [2023-02-06T04:45:37.648Z] 2de7ff778b66: Pulling fs layer [2023-02-06T04:45:37.648Z] e9a5061849ea: Waiting [2023-02-06T04:45:37.648Z] 0d9ebad4ef96: Waiting [2023-02-06T04:45:37.648Z] d747dcd14b5f: Waiting [2023-02-06T04:45:37.648Z] 9712f1f96733: Download complete [2023-02-06T04:45:38.612Z] 63f879dbbcfc: Verifying Checksum [2023-02-06T04:45:38.612Z] 63f879dbbcfc: Download complete [2023-02-06T04:45:38.612Z] ab5ef0e58194: Verifying Checksum [2023-02-06T04:45:38.612Z] ab5ef0e58194: Download complete [2023-02-06T04:45:38.871Z] d747dcd14b5f: Download complete [2023-02-06T04:45:38.871Z] 0d9ebad4ef96: Verifying Checksum [2023-02-06T04:45:38.871Z] 0d9ebad4ef96: Download complete [2023-02-06T04:45:38.871Z] e9a5061849ea: Verifying Checksum [2023-02-06T04:45:38.871Z] e9a5061849ea: Download complete [2023-02-06T04:45:38.871Z] 2de7ff778b66: Verifying Checksum [2023-02-06T04:45:38.871Z] 2de7ff778b66: Download complete [2023-02-06T04:45:41.400Z] ab5ef0e58194: Pull complete [2023-02-06T04:45:41.400Z] 9712f1f96733: Pull complete [2023-02-06T04:45:41.965Z] 63f879dbbcfc: Pull complete [2023-02-06T04:45:45.244Z] 0d9ebad4ef96: Pull complete [2023-02-06T04:45:45.244Z] e9a5061849ea: Pull complete [2023-02-06T04:45:45.244Z] d747dcd14b5f: Pull complete [2023-02-06T04:45:46.178Z] 2de7ff778b66: Pull complete [2023-02-06T04:45:46.178Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-06T04:45:46.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-06T04:45:46.178Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:45:46.264Z] prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container [2023-02-06T04:45:46.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-02-06T04:45:48.580Z] $ docker top b000eebd11a2a5d8443cd89c2de2bfc9e6c0ad7990888bd25e18fbf8a04e2f59 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-06T04:45:48.642Z] provisioning config files... [2023-02-06T04:45:48.648Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6364043253306514313tmp [2023-02-06T04:45:48.659Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11653272110238162002tmp [2023-02-06T04:45:48.668Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5230318105009443135tmp [Pipeline] { [Pipeline] echo [2023-02-06T04:45:48.687Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:45:48.970Z] ---> sigul-configuration.sh [2023-02-06T04:45:48.970Z] gpg: directory `/root/.gnupg' created [2023-02-06T04:45:48.970Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-06T04:45:48.970Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-06T04:45:48.970Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-06T04:45:48.970Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-06T04:45:48.970Z] gpg: CAST5 encrypted data [2023-02-06T04:45:48.970Z] gpg: encrypted with 1 passphrase [2023-02-06T04:45:48.970Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-06T04:45:49.257Z] + mkdir /home/jenkins [2023-02-06T04:45:49.257Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-06T04:45:49.541Z] + 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-02-06T04:45:49.551Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:45:49.833Z] ---> sigul-install.sh [2023-02-06T04:45:49.833Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-06T04:45:50.118Z] + git tag --list [2023-02-06T04:45:50.118Z] 0.7.1 [2023-02-06T04:45:50.118Z] v1.0.0 [2023-02-06T04:45:50.118Z] v1.1.0 [2023-02-06T04:45:50.118Z] v1.1.1 [2023-02-06T04:45:50.118Z] v1.2.2 [2023-02-06T04:45:50.118Z] v1.3.0 [2023-02-06T04:45:50.118Z] v1.3.1 [2023-02-06T04:45:50.118Z] v2.0.0 [2023-02-06T04:45:50.118Z] v2.1.0 [2023-02-06T04:45:50.118Z] v2.1.1 [2023-02-06T04:45:50.118Z] v2.1.1-dev.1 [2023-02-06T04:45:50.118Z] v2.1.1-dev.2 [2023-02-06T04:45:50.118Z] v2.1.1-dev.3 [2023-02-06T04:45:50.118Z] v2.2.0 [2023-02-06T04:45:50.118Z] v2.2.1-dev.1 [2023-02-06T04:45:50.118Z] v2.2.1-dev.2 [2023-02-06T04:45:50.118Z] v2.2.1-dev.3 [2023-02-06T04:45:50.118Z] v2.2.1-dev.4 [2023-02-06T04:45:50.118Z] v2.2.1-dev.5 [2023-02-06T04:45:50.118Z] v2.2.1-dev.6 [2023-02-06T04:45:50.118Z] v2.2.1-dev.7 [2023-02-06T04:45:50.118Z] v2.3.0 [2023-02-06T04:45:50.118Z] v2.3.0-dev.10 [2023-02-06T04:45:50.118Z] v2.3.0-dev.11 [2023-02-06T04:45:50.118Z] v2.3.0-dev.12 [2023-02-06T04:45:50.118Z] v2.3.0-dev.13 [2023-02-06T04:45:50.118Z] v2.3.0-dev.14 [2023-02-06T04:45:50.118Z] v2.3.0-dev.15 [2023-02-06T04:45:50.118Z] v2.3.0-dev.16 [2023-02-06T04:45:50.118Z] v2.3.0-dev.17 [2023-02-06T04:45:50.118Z] v2.3.0-dev.18 [2023-02-06T04:45:50.118Z] v2.3.0-dev.19 [2023-02-06T04:45:50.118Z] v2.3.0-dev.20 [2023-02-06T04:45:50.118Z] v2.3.0-dev.21 [2023-02-06T04:45:50.118Z] v2.3.0-dev.22 [2023-02-06T04:45:50.118Z] v2.3.0-dev.23 [2023-02-06T04:45:50.118Z] v2.3.0-dev.24 [2023-02-06T04:45:50.118Z] v2.3.0-dev.25 [2023-02-06T04:45:50.118Z] v2.3.0-dev.7 [2023-02-06T04:45:50.118Z] v2.3.0-dev.8 [2023-02-06T04:45:50.118Z] v2.3.0-dev.9 [2023-02-06T04:45:50.118Z] v3.0.0-dev.1 [2023-02-06T04:45:50.118Z] v3.0.0-dev.2 [2023-02-06T04:45:50.118Z] v3.0.0-dev.3 [2023-02-06T04:45:50.118Z] v3.0.0-dev.4 [2023-02-06T04:45:50.118Z] v3.0.0-dev.5 [2023-02-06T04:45:50.118Z] v3.0.0-dev.6 [2023-02-06T04:45:50.118Z] v3.0.0-dev.7 [Pipeline] sh [2023-02-06T04:45:50.405Z] + lftools sign git-tag v3.0.0-dev.7 [2023-02-06T04:45:50.972Z] Signing Git tag with Sigul... [2023-02-06T04:45:50.972Z] Signing v3.0.0-dev.7 [Pipeline] echo [2023-02-06T04:45:51.549Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:45:51.834Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-06T04:45:51.842Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-06T04:45:51.870Z] $ docker stop --time=1 b000eebd11a2a5d8443cd89c2de2bfc9e6c0ad7990888bd25e18fbf8a04e2f59 [2023-02-06T04:45:53.187Z] $ docker rm -f --volumes b000eebd11a2a5d8443cd89c2de2bfc9e6c0ad7990888bd25e18fbf8a04e2f59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-06T04:45:53.563Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-06T04:45:53.563Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:45:53.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T04:45:53.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:45:53.939Z] prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container [2023-02-06T04:45:53.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-06T04:45:54.375Z] $ docker top 9bae1e5a3920095c2ec42d527e59b29195b3d57ef355b463a40364182022f819 -eo pid,comm [2023-02-06T04:45:54.412Z] 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-02-06T04:45:54.412Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-06T04:45:54.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T04:45:54.448Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T04:45:54.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T04:45:54.581Z] $ docker exec 9bae1e5a3920095c2ec42d527e59b29195b3d57ef355b463a40364182022f819 ssh-agent [2023-02-06T04:45:54.687Z] SSH_AUTH_SOCK=/tmp/ssh-MRj39FTOpe9q/agent.33 [2023-02-06T04:45:54.687Z] SSH_AGENT_PID=39 [2023-02-06T04:45:54.691Z] Running ssh-add (command line suppressed) [2023-02-06T04:45:54.813Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11904935051743977046.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11904935051743977046.key) [2023-02-06T04:45:54.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T04:45:55.102Z] + git semver bump pre [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,300 [bump_version] DEBUG bumping version:3.0.0-dev.7 on axis:pre with prefix:dev [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,300 [bump_version] DEBUG bumped version:3.0.0-dev.8 [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,300 [write_version] DEBUG write version:3.0.0-dev.8 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,300 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,302 [execute] INFO git cat-file --batch-check [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,308 [execute] INFO git cat-file --batch [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T04:45:55.361Z] 2023-02-06 04:45:55,315 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-06T04:45:55.361Z] 3.0.0-dev.8 [Pipeline] } [2023-02-06T04:45:55.384Z] $ docker exec --env ******** --env ******** 9bae1e5a3920095c2ec42d527e59b29195b3d57ef355b463a40364182022f819 ssh-agent -k [2023-02-06T04:45:55.500Z] unset SSH_AUTH_SOCK; [2023-02-06T04:45:55.500Z] unset SSH_AGENT_PID; [2023-02-06T04:45:55.500Z] echo Agent pid 39 killed; [2023-02-06T04:45:55.497Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-06T04:45:55.799Z] + git semver [Pipeline] } [2023-02-06T04:45:56.083Z] $ docker stop --time=1 9bae1e5a3920095c2ec42d527e59b29195b3d57ef355b463a40364182022f819 [2023-02-06T04:45:57.406Z] $ docker rm -f --volumes 9bae1e5a3920095c2ec42d527e59b29195b3d57ef355b463a40364182022f819 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T04:45:57.745Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-06T04:45:57.745Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:45:58.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T04:45:58.048Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:45:58.125Z] prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container [2023-02-06T04:45:58.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-06T04:45:58.531Z] $ docker top 092c564ac49a55e5cfb9081b9719b55d44a4f10f9a40d57ab0bdf302f308c6fb -eo pid,comm [2023-02-06T04:45:58.563Z] 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-02-06T04:45:58.563Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-06T04:45:58.596Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T04:45:58.596Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T04:45:58.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T04:45:58.723Z] $ docker exec 092c564ac49a55e5cfb9081b9719b55d44a4f10f9a40d57ab0bdf302f308c6fb ssh-agent [2023-02-06T04:45:58.826Z] SSH_AUTH_SOCK=/tmp/ssh-1rUlZRABk0QF/agent.32 [2023-02-06T04:45:58.826Z] SSH_AGENT_PID=38 [2023-02-06T04:45:58.834Z] Running ssh-add (command line suppressed) [2023-02-06T04:45:58.952Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2853462912765338957.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2853462912765338957.key) [2023-02-06T04:45:58.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T04:45:59.238Z] + git semver push [2023-02-06T04:45:59.498Z] 2023-02-06 04:45:59,436 [run_push] DEBUG push [2023-02-06T04:45:59.498Z] 2023-02-06 04:45:59,437 [execute] INFO git cat-file --batch-check [2023-02-06T04:45:59.498Z] 2023-02-06 04:45:59,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T04:45:59.498Z] 2023-02-06 04:45:59,441 [execute] INFO git rev-list b289dae33e79dd3e284e4ee327771ca1be21a375 -- [2023-02-06T04:45:59.498Z] 2023-02-06 04:45:59,441 [execute] DEBUG Popen(['git', 'rev-list', 'b289dae33e79dd3e284e4ee327771ca1be21a375', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-06T04:45:59.498Z] 2023-02-06 04:45:59,450 [execute] INFO git fetch -v origin [2023-02-06T04:45:59.498Z] 2023-02-06 04:45:59,450 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-06T04:46:00.067Z] 2023-02-06 04:46:00,040 [run_push] DEBUG no remote changes detected [2023-02-06T04:46:00.067Z] 2023-02-06 04:46:00,040 [execute] INFO git push origin semver [2023-02-06T04:46:00.067Z] 2023-02-06 04:46:00,041 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-06T04:46:01.449Z] 2023-02-06 04:46:01,119 [run_push] DEBUG push all version tags [2023-02-06T04:46:01.449Z] 2023-02-06 04:46:01,119 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-06T04:46:01.449Z] 2023-02-06 04:46:01,120 [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-02-06T04:46:02.018Z] 2023-02-06 04:46:01,970 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-06T04:46:02.018Z] 3.0.0-dev.8 [Pipeline] } [2023-02-06T04:46:02.042Z] $ docker exec --env ******** --env ******** 092c564ac49a55e5cfb9081b9719b55d44a4f10f9a40d57ab0bdf302f308c6fb ssh-agent -k [2023-02-06T04:46:02.138Z] unset SSH_AUTH_SOCK; [2023-02-06T04:46:02.138Z] unset SSH_AGENT_PID; [2023-02-06T04:46:02.138Z] echo Agent pid 38 killed; [2023-02-06T04:46:02.138Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-06T04:46:02.439Z] + git semver [Pipeline] } [2023-02-06T04:46:02.722Z] $ docker stop --time=1 092c564ac49a55e5cfb9081b9719b55d44a4f10f9a40d57ab0bdf302f308c6fb [2023-02-06T04:46:04.075Z] $ docker rm -f --volumes 092c564ac49a55e5cfb9081b9719b55d44a4f10f9a40d57ab0bdf302f308c6fb [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-02-06T04:46:04.714Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-02-06T04:46:04.714Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-06T04:46:04.714Z] total 16 [2023-02-06T04:46:04.714Z] drwxr-xr-x 3 root root 4096 Feb 6 04:36 . [2023-02-06T04:46:04.714Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 04:45 .. [2023-02-06T04:46:04.714Z] drwxr-xr-x 2 root root 4096 Feb 6 04:36 cost [2023-02-06T04:46:04.714Z] -rw-r--r-- 1 root root 87 Feb 6 04:36 cost.csv [2023-02-06T04:46:04.714Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-06T04:46:04.714Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-06T04:46:04.714Z] total 16 [2023-02-06T04:46:04.714Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 04:36 . [2023-02-06T04:46:04.714Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 04:45 .. [2023-02-06T04:46:04.714Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 04:36 cost [2023-02-06T04:46:04.714Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 6 04:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:46:05.034Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:46:05.898Z] ---> package-listing.sh [2023-02-06T04:46:05.898Z] ++ facter osfamily [2023-02-06T04:46:05.898Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-06T04:46:06.157Z] + OS_FAMILY=debian [2023-02-06T04:46:06.157Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-02-06T04:46:06.157Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-06T04:46:06.157Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-06T04:46:06.157Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-06T04:46:06.157Z] + PACKAGES=/tmp/packages_start.txt [2023-02-06T04:46:06.157Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-06T04:46:06.157Z] + PACKAGES=/tmp/packages_end.txt [2023-02-06T04:46:06.157Z] + case "${OS_FAMILY}" in [2023-02-06T04:46:06.157Z] + dpkg -l [2023-02-06T04:46:06.157Z] + grep '^ii' [2023-02-06T04:46:06.157Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-06T04:46:06.157Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-06T04:46:06.157Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-06T04:46:06.157Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-06T04:46:06.157Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-02-06T04:46:06.157Z] + 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-02-06T04:46:06.164Z] 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-02-06T04:46:06.437Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T04:46:06.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T04:46:06.995Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T04:46:07.062Z] prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container [2023-02-06T04:46:07.103Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-06T04:46:07.339Z] $ docker top 2b5acb06faf12da2f5a5265692097ee7fce18e014a4874da1a3a6bd5e94fb6d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T04:46:07.668Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-06T04:46:07.951Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-06T04:46:08.235Z] + ls /var/log/sa-host [2023-02-06T04:46:08.235Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T04:46:08.306Z] provisioning config files... [2023-02-06T04:46:08.314Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4649527253800616283tmp [Pipeline] { [Pipeline] echo [2023-02-06T04:46:08.329Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:46:08.608Z] ---> create-netrc.sh [Pipeline] } [2023-02-06T04:46:08.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:46:08.937Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-06T04:46:08.947Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:46:09.228Z] ---> sudo-logs.sh [2023-02-06T04:46:09.228Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-06T04:46:09.250Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:46:09.529Z] ---> job-cost.sh [2023-02-06T04:46:09.529Z] lf-activate-venv: SKIPPING [2023-02-06T04:46:09.529Z] DEBUG: total: 0.2199999988079071 [2023-02-06T04:46:09.529Z] INFO: Retrieving Stack Cost... [2023-02-06T04:46:10.097Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T04:46:10.356Z] INFO: Archiving Costs [Pipeline] echo [2023-02-06T04:46:10.369Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T04:46:10.653Z] ---> logs-deploy.sh [2023-02-06T04:46:10.653Z] lf-activate-venv: SKIPPING [2023-02-06T04:46:10.653Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/73 [2023-02-06T04:46:10.653Z] INFO: archiving workspace using pattern(s): [2023-02-06T04:46:11.587Z] Archives upload complete. [2023-02-06T04:46:11.587Z] INFO: archiving logs to Nexus