Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c15b26e628de1330ea15a2b39e616284bb6f9fc 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-ssh11391676195275445562.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh11071874370424256202.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 c72b16708d6eed9a08be464a432ce22db7d90667 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6745581413808829432.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh11739112890278530968.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh12084046777641247786.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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:true] ========================================================= [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.17 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: true 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11758 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 1c15b26e628de1330ea15a2b39e616284bb6f9fc (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 1c15b26e628de1330ea15a2b39e616284bb6f9fc # timeout=10 Commit message: "Merge pull request #326 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk 9122622c7a3d7137d535c6a9496be9c9c3374114 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T05:05:15.285Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T05:05:15.349Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T05:05:15.365Z] ========================================================= [2022-04-10T05:05:15.365Z] EdgeX Global Pipelines Version Info [2022-04-10T05:05:15.365Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:05:16.194Z] ------------------- [2022-04-10T05:05:16.194Z] stable info: [2022-04-10T05:05:16.194Z] ------------------- [2022-04-10T05:05:16.194Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T05:05:16.194Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T05:05:16.194Z] Message: update stable to v1.0.221 [2022-04-10T05:05:16.766Z] ------------------- [2022-04-10T05:05:16.766Z] experimental info: [2022-04-10T05:05:16.766Z] ------------------- [2022-04-10T05:05:16.766Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T05:05:16.766Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T05:05:16.766Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T05:05:16.916Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-10T05:05:16.928Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-10T05:05:16.945Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T05:05:16.961Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T05:05:16.975Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T05:05:16.986Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T05:05:17.004Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T05:05:17.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-10T05:05:17.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T05:05:17.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T05:05:17.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T05:05:17.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-10T05:05:17.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T05:05:17.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T05:05:17.110Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T05:05:17.121Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T05:05:17.136Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T05:05:17.151Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T05:05:17.162Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T05:05:17.177Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-04-10T05:05:17.190Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-10T05:05:17.207Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-10T05:05:17.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T05:05:17.234Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T05:05:17.249Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T05:05:17.261Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T05:05:17.274Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-10T05:05:17.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-10T05:05:17.308Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-10T05:05:17.317Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] echo [2022-04-10T05:05:17.330Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c15b26 [Pipeline] echo [2022-04-10T05:05:17.341Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:05:17.386Z] provisioning config files... [2022-04-10T05:05:17.403Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config913833380396349504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:05:17.733Z] ---> docker-login.sh [2022-04-10T05:05:17.733Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:05:17.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:17.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:17.994Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:17.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:17.994Z] [2022-04-10T05:05:17.994Z] Login Succeeded [2022-04-10T05:05:17.994Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:05:18.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:18.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:18.256Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:18.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:18.256Z] [2022-04-10T05:05:18.256Z] Login Succeeded [2022-04-10T05:05:18.256Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:05:18.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:18.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:18.516Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:18.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:18.516Z] [2022-04-10T05:05:18.516Z] Login Succeeded [2022-04-10T05:05:18.516Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:05:18.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:18.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:18.516Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:18.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:18.516Z] [2022-04-10T05:05:18.516Z] Login Succeeded [2022-04-10T05:05:18.516Z] docker.io [2022-04-10T05:05:18.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:19.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:19.036Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:19.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:19.036Z] [2022-04-10T05:05:19.036Z] Login Succeeded [2022-04-10T05:05:19.036Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:05:19.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T05:05:19.419Z] + git rev-list -1 --merges 1c15b26e628de1330ea15a2b39e616284bb6f9fc~1..1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] echo [2022-04-10T05:05:19.537Z] -----------> git rev-list -1 --merges 1c15b26e628de1330ea15a2b39e616284bb6f9fc~1..1c15b26e628de1330ea15a2b39e616284bb6f9fc 1c15b26e628de1330ea15a2b39e616284bb6f9fc [2022-04-10T05:05:19.537Z] 1c15b26e628de1330ea15a2b39e616284bb6f9fc [false] [Pipeline] sh [2022-04-10T05:05:19.839Z] + git log --format=format:%s -1 1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] echo [2022-04-10T05:05:19.852Z] ========================================================= [2022-04-10T05:05:19.852Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T05:05:19.852Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:05:20.232Z] + git log --format=format:%s -1 1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] echo [2022-04-10T05:05:20.267Z] [semverPrep] GIT_COMMIT: 1c15b26e628de1330ea15a2b39e616284bb6f9fc, Commit Message: Merge pull request #326 from jpwhitemn/enable-security-hardening [Pipeline] echo [2022-04-10T05:05:20.279Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T05:05:20.684Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:05:20.684Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T05:05:20.684Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T05:05:20.684Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T05:05:20.684Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T05:05:20.684Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T05:05:20.684Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:21.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:05:21.049Z] [2022-04-10T05:05:21.049Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:21.358Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:05:21.358Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T05:05:21.358Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T05:05:21.358Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T05:05:21.358Z] 4c7163046ea9: Pulling fs layer [2022-04-10T05:05:21.358Z] 0c2d73faf560: Pulling fs layer [2022-04-10T05:05:21.358Z] 0c2d73faf560: Waiting [2022-04-10T05:05:21.358Z] 3e5f54012d9b: Download complete [2022-04-10T05:05:21.358Z] a0d0a0d46f8b: Download complete [2022-04-10T05:05:21.358Z] 0c2d73faf560: Verifying Checksum [2022-04-10T05:05:21.358Z] 0c2d73faf560: Download complete [2022-04-10T05:05:21.620Z] 4c7163046ea9: Verifying Checksum [2022-04-10T05:05:21.620Z] 4c7163046ea9: Download complete [2022-04-10T05:05:21.620Z] a0d0a0d46f8b: Pull complete [2022-04-10T05:05:21.620Z] 3e5f54012d9b: Pull complete [2022-04-10T05:05:21.882Z] 4c7163046ea9: Pull complete [2022-04-10T05:05:22.143Z] 0c2d73faf560: Pull complete [2022-04-10T05:05:22.144Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T05:05:22.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:05:22.144Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T05:05:22.226Z] prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container [2022-04-10T05:05:22.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:05:22.963Z] $ docker top 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:05:23.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:05:23.058Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:05:23.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:05:23.209Z] $ docker exec 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 ssh-agent [2022-04-10T05:05:23.328Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCCciKl/agent.14 [2022-04-10T05:05:23.328Z] SSH_AGENT_PID=21 [2022-04-10T05:05:23.339Z] Running ssh-add (command line suppressed) [2022-04-10T05:05:23.464Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3927931897840046108.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3927931897840046108.key) [2022-04-10T05:05:23.470Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:05:23.761Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T05:05:23.788Z] $ docker exec --env ******** --env ******** 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 ssh-agent -k [2022-04-10T05:05:23.911Z] unset SSH_AUTH_SOCK; [2022-04-10T05:05:23.912Z] unset SSH_AGENT_PID; [2022-04-10T05:05:23.912Z] echo Agent pid 21 killed; [2022-04-10T05:05:23.917Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T05:05:23.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:05:23.945Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:05:24.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:05:24.088Z] $ docker exec 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 ssh-agent [2022-04-10T05:05:24.224Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdkCjFE/agent.55 [2022-04-10T05:05:24.224Z] SSH_AGENT_PID=61 [2022-04-10T05:05:24.231Z] Running ssh-add (command line suppressed) [2022-04-10T05:05:24.362Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6035351820201250274.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6035351820201250274.key) [2022-04-10T05:05:24.371Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:05:24.663Z] + git semver init [2022-04-10T05:05:24.663Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:05:24.663Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-10T05:05:24.663Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-10T05:05:24.663Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:05:24.663Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:05:24.663Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:05:24.663Z] # $SEMVER_BRANCH = main [2022-04-10T05:05:24.663Z] # $SEMVER_TEMP = /tmp/semver-688361841 [2022-04-10T05:05:24.663Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-10T05:05:25.604Z] # '/tmp/semver-688361841' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-04-10T05:05:25.604Z] # -> Force: false [2022-04-10T05:05:25.604Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-10T05:05:25.621Z] $ docker exec --env ******** --env ******** 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 ssh-agent -k [2022-04-10T05:05:25.738Z] unset SSH_AUTH_SOCK; [2022-04-10T05:05:25.738Z] unset SSH_AGENT_PID; [2022-04-10T05:05:25.738Z] echo Agent pid 61 killed; [2022-04-10T05:05:25.744Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:05:26.053Z] + git semver [Pipeline] } [2022-04-10T05:05:26.072Z] $ docker stop --time=1 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 [2022-04-10T05:05:27.462Z] $ docker rm -f 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:05:27.817Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T05:05:28.056Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T05:05:28.060Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [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 [2022-04-10T05:05:28.222Z] provisioning config files... [2022-04-10T05:05:28.232Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2026708001386756684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:05:28.536Z] ---> docker-login.sh [2022-04-10T05:05:28.536Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:05:28.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:28.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:28.536Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:28.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:28.536Z] [2022-04-10T05:05:28.536Z] Login Succeeded [2022-04-10T05:05:28.536Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:05:28.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:28.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:28.795Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:28.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:28.795Z] [2022-04-10T05:05:28.795Z] Login Succeeded [2022-04-10T05:05:28.795Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:05:28.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:28.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:28.795Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:28.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:28.795Z] [2022-04-10T05:05:28.795Z] Login Succeeded [2022-04-10T05:05:28.795Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:05:29.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:29.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:29.055Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:29.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:29.055Z] [2022-04-10T05:05:29.055Z] Login Succeeded [2022-04-10T05:05:29.055Z] docker.io [2022-04-10T05:05:29.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:29.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:29.316Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:29.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:29.316Z] [2022-04-10T05:05:29.316Z] Login Succeeded [2022-04-10T05:05:29.316Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:05:29.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:05:29.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:05:29.389Z] ========================================================= [2022-04-10T05:05:29.389Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T05:05:29.389Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:29.692Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-10T05:05:29.692Z] Sending build context to Docker daemon 5.757MB [2022-04-10T05:05:29.692Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:05:29.692Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-10T05:05:29.692Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T05:05:29.692Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T05:05:29.692Z] 666ba61612fd: Pulling fs layer [2022-04-10T05:05:29.692Z] 8ed8ca486205: Pulling fs layer [2022-04-10T05:05:29.692Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T05:05:29.692Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T05:05:29.692Z] 640e595b4fbd: Pulling fs layer [2022-04-10T05:05:29.692Z] 763cafe07f6e: Pulling fs layer [2022-04-10T05:05:29.692Z] 0c0b528cf693: Pulling fs layer [2022-04-10T05:05:29.692Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T05:05:29.692Z] 4fe6c5a15a65: Waiting [2022-04-10T05:05:29.692Z] 22a0e8bec74d: Waiting [2022-04-10T05:05:29.692Z] 640e595b4fbd: Waiting [2022-04-10T05:05:29.692Z] 10935f4eaf8b: Waiting [2022-04-10T05:05:29.692Z] 763cafe07f6e: Waiting [2022-04-10T05:05:29.692Z] 0c0b528cf693: Waiting [2022-04-10T05:05:29.692Z] 8ed8ca486205: Download complete [2022-04-10T05:05:29.692Z] 666ba61612fd: Verifying Checksum [2022-04-10T05:05:29.692Z] 666ba61612fd: Download complete [2022-04-10T05:05:29.692Z] 22a0e8bec74d: Verifying Checksum [2022-04-10T05:05:29.692Z] 22a0e8bec74d: Download complete [2022-04-10T05:05:29.952Z] 640e595b4fbd: Verifying Checksum [2022-04-10T05:05:29.952Z] 640e595b4fbd: Download complete [2022-04-10T05:05:29.952Z] 59bf1c3509f3: Verifying Checksum [2022-04-10T05:05:29.952Z] 59bf1c3509f3: Download complete [2022-04-10T05:05:29.952Z] 763cafe07f6e: Download complete [2022-04-10T05:05:29.952Z] 0c0b528cf693: Verifying Checksum [2022-04-10T05:05:29.952Z] 0c0b528cf693: Download complete [2022-04-10T05:05:29.952Z] 59bf1c3509f3: Pull complete [2022-04-10T05:05:30.213Z] 666ba61612fd: Pull complete [2022-04-10T05:05:30.213Z] 8ed8ca486205: Pull complete [2022-04-10T05:05:30.476Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T05:05:30.476Z] 10935f4eaf8b: Download complete [2022-04-10T05:05:30.476Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T05:05:30.476Z] 4fe6c5a15a65: Download complete [2022-04-10T05:05:34.675Z] 4fe6c5a15a65: Pull complete [2022-04-10T05:05:34.936Z] 22a0e8bec74d: Pull complete [2022-04-10T05:05:34.936Z] 640e595b4fbd: Pull complete [2022-04-10T05:05:34.936Z] 763cafe07f6e: Pull complete [2022-04-10T05:05:35.195Z] 0c0b528cf693: Pull complete [2022-04-10T05:05:37.734Z] 10935f4eaf8b: Pull complete [2022-04-10T05:05:37.734Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T05:05:37.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T05:05:37.734Z] ---> 99d49a6021b9 [2022-04-10T05:05:37.734Z] Step 3/10 : ARG MAKE='make build' [2022-04-10T05:05:39.652Z] ---> Running in 9f0864a8464a [2022-04-10T05:05:39.652Z] Removing intermediate container 9f0864a8464a [2022-04-10T05:05:39.652Z] ---> 073d4229d120 [2022-04-10T05:05:39.652Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:05:39.913Z] ---> Running in 616bcfc6d9a7 [2022-04-10T05:05:40.482Z] Removing intermediate container 616bcfc6d9a7 [2022-04-10T05:05:40.482Z] ---> 5a31919f615a [2022-04-10T05:05:40.482Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T05:05:40.482Z] ---> Running in da7d7c029318 [2022-04-10T05:05:40.749Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:05:41.694Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:05:41.956Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T05:05:42.217Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-10T05:05:42.217Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T05:05:42.217Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T05:05:42.477Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-10T05:05:42.477Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-10T05:05:42.737Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-10T05:05:42.737Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-10T05:05:42.737Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T05:05:42.737Z] OK: 226 MiB in 60 packages [2022-04-10T05:05:43.169Z] Still waiting to schedule task [2022-04-10T05:05:43.169Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-10T05:05:43.311Z] Removing intermediate container da7d7c029318 [2022-04-10T05:05:43.311Z] ---> 497321f6a1cf [2022-04-10T05:05:43.311Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-10T05:05:43.311Z] ---> Running in ef4dcef96e2f [2022-04-10T05:05:43.572Z] Removing intermediate container ef4dcef96e2f [2022-04-10T05:05:43.572Z] ---> 77dd5111b788 [2022-04-10T05:05:43.572Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-10T05:05:43.572Z] ---> acc58e608a82 [2022-04-10T05:05:43.572Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:05:43.572Z] ---> Running in c9c7ae62344e [2022-04-10T05:05:58.529Z] Removing intermediate container c9c7ae62344e [2022-04-10T05:05:58.529Z] ---> 1ac596751e59 [2022-04-10T05:05:58.529Z] Step 9/10 : COPY . . [2022-04-10T05:05:58.791Z] ---> ddec90786936 [2022-04-10T05:05:58.791Z] Step 10/10 : RUN ${MAKE} [2022-04-10T05:05:58.791Z] ---> Running in b619a9b9e47a [2022-04-10T05:05:59.051Z] noop [2022-04-10T05:05:59.312Z] Removing intermediate container b619a9b9e47a [2022-04-10T05:05:59.312Z] ---> 7510122318cb [2022-04-10T05:05:59.312Z] Successfully built 7510122318cb [2022-04-10T05:05:59.312Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:59.619Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T05:05:59.619Z] . [Pipeline] withDockerContainer [2022-04-10T05:05:59.688Z] prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container [2022-04-10T05:05:59.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T05:06:00.142Z] $ docker top 7c7288bdb4b1bcf71e08ef681562196666a81320c53e40ae1bfd5370704815f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:06:00.489Z] + go version [2022-04-10T05:06:00.489Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T05:06:00.509Z] $ docker stop --time=1 7c7288bdb4b1bcf71e08ef681562196666a81320c53e40ae1bfd5370704815f5 [2022-04-10T05:06:01.823Z] $ docker rm -f 7c7288bdb4b1bcf71e08ef681562196666a81320c53e40ae1bfd5370704815f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:02.232Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T05:06:02.232Z] . [Pipeline] withDockerContainer [2022-04-10T05:06:02.298Z] prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container [2022-04-10T05:06:02.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T05:06:02.883Z] $ docker top c5833d6dba901240b1edaa4fbab175c64ee1375cb8c4d5a13e6900f7b9a1b9d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:06:03.285Z] + make test [2022-04-10T05:06:03.285Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-10T05:06:03.563Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-10T05:06:13.580Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-10T05:06:13.580Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements [2022-04-10T05:06:18.855Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T05:06:22.145Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:06:22.145Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:06:22.145Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:06:22.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:06:22.435Z] $ docker stop --time=1 c5833d6dba901240b1edaa4fbab175c64ee1375cb8c4d5a13e6900f7b9a1b9d2 [2022-04-10T05:06:24.298Z] $ docker rm -f c5833d6dba901240b1edaa4fbab175c64ee1375cb8c4d5a13e6900f7b9a1b9d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:06:24.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:06:24.777Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T05:06:25.371Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:06:25.661Z] + ls -al . [2022-04-10T05:06:25.661Z] total 180 [2022-04-10T05:06:25.661Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:06 . [2022-04-10T05:06:25.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:05 .. [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 05:05 .dockerignore [2022-04-10T05:06:25.661Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:05 .git [2022-04-10T05:06:25.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 .github [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 10 05:05 .gitignore [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:05 .golangci.yml [2022-04-10T05:06:25.661Z] drwx------ 3 jenkins jenkins 4096 Apr 10 05:05 .semver [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 10 05:05 Attribution.txt [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 10 05:05 CHANGELOG.md [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 10 05:05 Dockerfile [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:05 GOVERNANCE.md [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 10 05:05 Jenkinsfile [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:05 LICENSE [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 10 05:05 Makefile [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 10 05:05 OWNERS.md [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 10 05:05 README.md [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 05:05 VERSION [2022-04-10T05:06:25.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 bin [2022-04-10T05:06:25.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 cmd [2022-04-10T05:06:25.661Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 10 05:06 coverage.out [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 10 05:05 go.mod [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 10 05:05 go.sum [2022-04-10T05:06:25.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 internal [2022-04-10T05:06:25.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 simulator [2022-04-10T05:06:25.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:05 snap [2022-04-10T05:06:25.661Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 10 05:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:25.967Z] + 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=1c15b26e628de1330ea15a2b39e616284bb6f9fc --label arch=amd64 --label version=2.2.0-dev.10 . [2022-04-10T05:06:25.967Z] Sending build context to Docker daemon 5.782MB [2022-04-10T05:06:25.967Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:06:25.967Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-10T05:06:25.967Z] ---> 7510122318cb [2022-04-10T05:06:25.967Z] Step 3/23 : ARG MAKE='make build' [2022-04-10T05:06:25.967Z] ---> Running in fda1f28e478a [2022-04-10T05:06:26.226Z] Removing intermediate container fda1f28e478a [2022-04-10T05:06:26.226Z] ---> 3eab2c1381a7 [2022-04-10T05:06:26.226Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:06:26.226Z] ---> Running in 1bbbb7e319db [2022-04-10T05:06:26.795Z] Removing intermediate container 1bbbb7e319db [2022-04-10T05:06:26.795Z] ---> c834f16696c8 [2022-04-10T05:06:26.795Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T05:06:26.795Z] ---> Running in 9da1c085f969 [2022-04-10T05:06:27.054Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:06:28.000Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:06:28.261Z] OK: 226 MiB in 60 packages [2022-04-10T05:06:28.834Z] Removing intermediate container 9da1c085f969 [2022-04-10T05:06:28.834Z] ---> d28c9757765e [2022-04-10T05:06:28.834Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-10T05:06:28.834Z] ---> Running in a21f4bc98259 [2022-04-10T05:06:28.834Z] Removing intermediate container a21f4bc98259 [2022-04-10T05:06:28.834Z] ---> be996c183d30 [2022-04-10T05:06:28.834Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-10T05:06:29.095Z] ---> 0911f7b78323 [2022-04-10T05:06:29.095Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:06:29.095Z] ---> Running in 2109cd2e7c12 [2022-04-10T05:06:29.671Z] Removing intermediate container 2109cd2e7c12 [2022-04-10T05:06:29.671Z] ---> 78a65044e6af [2022-04-10T05:06:29.671Z] Step 9/23 : COPY . . [2022-04-10T05:06:30.243Z] ---> 8b711548e7fb [2022-04-10T05:06:30.243Z] Step 10/23 : RUN ${MAKE} [2022-04-10T05:06:30.243Z] ---> Running in b971d9e4c1eb [2022-04-10T05:06:30.503Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-10T05:06:52.451Z] Removing intermediate container b971d9e4c1eb [2022-04-10T05:06:52.451Z] ---> 9b8ee33b6ee1 [2022-04-10T05:06:52.451Z] Step 11/23 : FROM alpine:3.14 [2022-04-10T05:06:52.451Z] 3.14: Pulling from library/alpine [2022-04-10T05:06:52.451Z] 8663204ce13b: Pulling fs layer [2022-04-10T05:06:52.451Z] 8663204ce13b: Download complete [2022-04-10T05:06:52.451Z] 8663204ce13b: Pull complete [2022-04-10T05:06:52.451Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T05:06:52.451Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T05:06:52.451Z] ---> e04c818066af [2022-04-10T05:06:52.451Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-10T05:06:52.451Z] ---> Running in a7e7de652745 [2022-04-10T05:06:52.451Z] Removing intermediate container a7e7de652745 [2022-04-10T05:06:52.451Z] ---> d1204efb67dc [2022-04-10T05:06:52.451Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:06:52.451Z] ---> Running in a1670fdd18f7 [2022-04-10T05:06:52.451Z] Removing intermediate container a1670fdd18f7 [2022-04-10T05:06:52.451Z] ---> e15328fa122e [2022-04-10T05:06:52.451Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-10T05:06:52.451Z] ---> Running in 2cb42e534792 [2022-04-10T05:06:52.451Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:06:52.451Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:06:52.451Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-10T05:06:52.451Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T05:06:52.712Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-10T05:06:52.712Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T05:06:52.974Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-10T05:06:52.974Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-10T05:06:52.974Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T05:06:52.974Z] OK: 8 MiB in 20 packages [2022-04-10T05:06:53.546Z] Removing intermediate container 2cb42e534792 [2022-04-10T05:06:53.546Z] ---> 357f301c10fa [2022-04-10T05:06:53.546Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-10T05:06:54.117Z] ---> 50770cabf856 [2022-04-10T05:06:54.117Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-10T05:06:54.117Z] ---> 27cbceb66a58 [2022-04-10T05:06:54.117Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-10T05:06:54.383Z] ---> 7cc69fb7b7bc [2022-04-10T05:06:54.383Z] Step 18/23 : EXPOSE 59901 [2022-04-10T05:06:54.383Z] ---> Running in 1fcdf2d090c9 [2022-04-10T05:06:54.383Z] Removing intermediate container 1fcdf2d090c9 [2022-04-10T05:06:54.383Z] ---> fd429802736a [2022-04-10T05:06:54.383Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-10T05:06:54.383Z] ---> Running in 984d54111adb [2022-04-10T05:06:54.644Z] Removing intermediate container 984d54111adb [2022-04-10T05:06:54.644Z] ---> e5871c0a15f6 [2022-04-10T05:06:54.644Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T05:06:54.644Z] ---> Running in e37bee0d750c [2022-04-10T05:06:54.644Z] Removing intermediate container e37bee0d750c [2022-04-10T05:06:54.644Z] ---> 043fbf123c09 [2022-04-10T05:06:54.644Z] Step 21/23 : LABEL arch=amd64 [2022-04-10T05:06:54.644Z] ---> Running in 5022b7316cfd [2022-04-10T05:06:54.644Z] Removing intermediate container 5022b7316cfd [2022-04-10T05:06:54.644Z] ---> 40af0be76618 [2022-04-10T05:06:54.644Z] Step 22/23 : LABEL git_sha=1c15b26e628de1330ea15a2b39e616284bb6f9fc [2022-04-10T05:06:54.905Z] ---> Running in e5d2c1ea46a9 [2022-04-10T05:06:54.905Z] Removing intermediate container e5d2c1ea46a9 [2022-04-10T05:06:54.905Z] ---> 04e05ba71ed7 [2022-04-10T05:06:54.905Z] Step 23/23 : LABEL version=2.2.0-dev.10 [2022-04-10T05:06:54.905Z] ---> Running in 1548f296ad37 [2022-04-10T05:06:54.905Z] Removing intermediate container 1548f296ad37 [2022-04-10T05:06:54.905Z] ---> 49527007c314 [2022-04-10T05:06:54.905Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T05:06:54.905Z] Successfully built 49527007c314 [2022-04-10T05:06:54.905Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:06:55.007Z] provisioning config files... [2022-04-10T05:06:55.016Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config327596969869188959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:06:55.333Z] ---> docker-login.sh [2022-04-10T05:06:55.333Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:06:55.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:55.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:55.333Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:55.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:55.333Z] [2022-04-10T05:06:55.333Z] Login Succeeded [2022-04-10T05:06:55.333Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:06:55.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:55.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:55.595Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:55.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:55.595Z] [2022-04-10T05:06:55.595Z] Login Succeeded [2022-04-10T05:06:55.595Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:06:55.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:55.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:55.595Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:55.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:55.595Z] [2022-04-10T05:06:55.595Z] Login Succeeded [2022-04-10T05:06:55.595Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:06:55.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:55.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:55.855Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:55.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:55.855Z] [2022-04-10T05:06:55.855Z] Login Succeeded [2022-04-10T05:06:55.855Z] docker.io [2022-04-10T05:06:55.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:56.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:56.115Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:56.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:56.115Z] [2022-04-10T05:06:56.115Z] Login Succeeded [2022-04-10T05:06:56.115Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:06:56.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:06:56.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:06:56.196Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-04-10T05:06:56.196Z] 1c15b26e628de1330ea15a2b39e616284bb6f9fc [2022-04-10T05:06:56.196Z] latest [2022-04-10T05:06:56.196Z] 2.2.0-dev.10 [2022-04-10T05:06:56.196Z] 1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 [2022-04-10T05:06:56.196Z] main [2022-04-10T05:06:56.196Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:56.514Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:56.814Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc [2022-04-10T05:06:56.815Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-10T05:06:56.815Z] b5b4e0df074c: Preparing [2022-04-10T05:06:56.815Z] c59b94917484: Preparing [2022-04-10T05:06:56.815Z] 93966508ca67: Preparing [2022-04-10T05:06:56.815Z] 74cfab2e0265: Preparing [2022-04-10T05:06:56.815Z] dc28cdfda21e: Preparing [2022-04-10T05:06:56.815Z] b541d28bf3b4: Preparing [2022-04-10T05:06:56.815Z] b541d28bf3b4: Waiting [2022-04-10T05:06:56.815Z] c59b94917484: Pushed [2022-04-10T05:06:56.815Z] dc28cdfda21e: Pushed [2022-04-10T05:06:56.815Z] b5b4e0df074c: Pushed [2022-04-10T05:06:56.815Z] b541d28bf3b4: Layer already exists [2022-04-10T05:06:57.083Z] 74cfab2e0265: Pushed [2022-04-10T05:06:59.635Z] 93966508ca67: Pushed [2022-04-10T05:06:59.635Z] 1c15b26e628de1330ea15a2b39e616284bb6f9fc: digest: sha256:6ec7d3a25bd770dc1aee9e43627b21d47736ff1353dbf6e4110ba6bd46a03336 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:59.938Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:00.237Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-10T05:07:00.237Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-10T05:07:00.237Z] b5b4e0df074c: Preparing [2022-04-10T05:07:00.237Z] c59b94917484: Preparing [2022-04-10T05:07:00.237Z] 93966508ca67: Preparing [2022-04-10T05:07:00.237Z] 74cfab2e0265: Preparing [2022-04-10T05:07:00.237Z] dc28cdfda21e: Preparing [2022-04-10T05:07:00.237Z] b541d28bf3b4: Preparing [2022-04-10T05:07:00.237Z] b541d28bf3b4: Waiting [2022-04-10T05:07:00.237Z] 93966508ca67: Layer already exists [2022-04-10T05:07:00.237Z] c59b94917484: Layer already exists [2022-04-10T05:07:00.237Z] b5b4e0df074c: Layer already exists [2022-04-10T05:07:00.237Z] 74cfab2e0265: Layer already exists [2022-04-10T05:07:00.237Z] dc28cdfda21e: Layer already exists [2022-04-10T05:07:00.237Z] b541d28bf3b4: Layer already exists [2022-04-10T05:07:00.237Z] latest: digest: sha256:6ec7d3a25bd770dc1aee9e43627b21d47736ff1353dbf6e4110ba6bd46a03336 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:00.541Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:00.839Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.10 [2022-04-10T05:07:00.839Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-10T05:07:00.839Z] b5b4e0df074c: Preparing [2022-04-10T05:07:00.839Z] c59b94917484: Preparing [2022-04-10T05:07:00.839Z] 93966508ca67: Preparing [2022-04-10T05:07:00.839Z] 74cfab2e0265: Preparing [2022-04-10T05:07:00.839Z] dc28cdfda21e: Preparing [2022-04-10T05:07:00.839Z] b541d28bf3b4: Preparing [2022-04-10T05:07:00.839Z] b541d28bf3b4: Waiting [2022-04-10T05:07:00.839Z] c59b94917484: Layer already exists [2022-04-10T05:07:00.839Z] dc28cdfda21e: Layer already exists [2022-04-10T05:07:00.839Z] 93966508ca67: Layer already exists [2022-04-10T05:07:00.839Z] b5b4e0df074c: Layer already exists [2022-04-10T05:07:00.839Z] 74cfab2e0265: Layer already exists [2022-04-10T05:07:00.839Z] b541d28bf3b4: Layer already exists [2022-04-10T05:07:00.839Z] 2.2.0-dev.10: digest: sha256:6ec7d3a25bd770dc1aee9e43627b21d47736ff1353dbf6e4110ba6bd46a03336 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:01.141Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:01.438Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 [2022-04-10T05:07:01.438Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-10T05:07:01.438Z] b5b4e0df074c: Preparing [2022-04-10T05:07:01.438Z] c59b94917484: Preparing [2022-04-10T05:07:01.438Z] 93966508ca67: Preparing [2022-04-10T05:07:01.438Z] 74cfab2e0265: Preparing [2022-04-10T05:07:01.438Z] dc28cdfda21e: Preparing [2022-04-10T05:07:01.438Z] b541d28bf3b4: Preparing [2022-04-10T05:07:01.438Z] b541d28bf3b4: Waiting [2022-04-10T05:07:01.438Z] c59b94917484: Layer already exists [2022-04-10T05:07:01.438Z] 74cfab2e0265: Layer already exists [2022-04-10T05:07:01.438Z] dc28cdfda21e: Layer already exists [2022-04-10T05:07:01.438Z] 93966508ca67: Layer already exists [2022-04-10T05:07:01.438Z] b5b4e0df074c: Layer already exists [2022-04-10T05:07:01.438Z] b541d28bf3b4: Layer already exists [2022-04-10T05:07:01.438Z] 1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10: digest: sha256:6ec7d3a25bd770dc1aee9e43627b21d47736ff1353dbf6e4110ba6bd46a03336 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:01.746Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:02.043Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-04-10T05:07:02.043Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-10T05:07:02.043Z] b5b4e0df074c: Preparing [2022-04-10T05:07:02.043Z] c59b94917484: Preparing [2022-04-10T05:07:02.043Z] 93966508ca67: Preparing [2022-04-10T05:07:02.043Z] 74cfab2e0265: Preparing [2022-04-10T05:07:02.043Z] dc28cdfda21e: Preparing [2022-04-10T05:07:02.043Z] b541d28bf3b4: Preparing [2022-04-10T05:07:02.043Z] b541d28bf3b4: Waiting [2022-04-10T05:07:02.043Z] 74cfab2e0265: Layer already exists [2022-04-10T05:07:02.043Z] c59b94917484: Layer already exists [2022-04-10T05:07:02.043Z] b5b4e0df074c: Layer already exists [2022-04-10T05:07:02.043Z] dc28cdfda21e: Layer already exists [2022-04-10T05:07:02.043Z] 93966508ca67: Layer already exists [2022-04-10T05:07:02.043Z] b541d28bf3b4: Layer already exists [2022-04-10T05:07:02.043Z] main: digest: sha256:6ec7d3a25bd770dc1aee9e43627b21d47736ff1353dbf6e4110ba6bd46a03336 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:07:02.083Z] ===================================================== [Pipeline] echo [2022-04-10T05:07:02.091Z] taggedImages: [2022-04-10T05:07:02.091Z] - nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc [2022-04-10T05:07:02.091Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-10T05:07:02.091Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.10 [2022-04-10T05:07:02.091Z] - nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 [2022-04-10T05:07:02.091Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:02.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:07:02.472Z] [2022-04-10T05:07:02.472Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:02.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:07:02.787Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T05:07:02.787Z] 5eb5b503b376: Pulling fs layer [2022-04-10T05:07:02.787Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T05:07:02.787Z] ec43610c2a17: Pulling fs layer [2022-04-10T05:07:02.787Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T05:07:02.787Z] 33b1e0a273af: Pulling fs layer [2022-04-10T05:07:02.787Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T05:07:02.787Z] 2f39f015ded8: Pulling fs layer [2022-04-10T05:07:02.787Z] 5d3b04190fa2: Waiting [2022-04-10T05:07:02.787Z] 33b1e0a273af: Waiting [2022-04-10T05:07:02.787Z] 2f39f015ded8: Waiting [2022-04-10T05:07:02.787Z] 3a2ae6a8a46f: Waiting [2022-04-10T05:07:02.787Z] 5c69ac0246d0: Verifying Checksum [2022-04-10T05:07:02.787Z] 5c69ac0246d0: Download complete [2022-04-10T05:07:02.787Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T05:07:02.787Z] 3a2ae6a8a46f: Download complete [2022-04-10T05:07:02.787Z] 33b1e0a273af: Verifying Checksum [2022-04-10T05:07:02.787Z] 33b1e0a273af: Download complete [2022-04-10T05:07:02.787Z] ec43610c2a17: Verifying Checksum [2022-04-10T05:07:02.787Z] ec43610c2a17: Download complete [2022-04-10T05:07:03.046Z] 5eb5b503b376: Verifying Checksum [2022-04-10T05:07:03.046Z] 5eb5b503b376: Download complete [2022-04-10T05:07:03.615Z] 2f39f015ded8: Verifying Checksum [2022-04-10T05:07:03.615Z] 2f39f015ded8: Download complete [2022-04-10T05:07:04.182Z] 5eb5b503b376: Pull complete [2022-04-10T05:07:04.182Z] 5c69ac0246d0: Pull complete [2022-04-10T05:07:04.749Z] ec43610c2a17: Pull complete [2022-04-10T05:07:04.749Z] 3a2ae6a8a46f: Pull complete [2022-04-10T05:07:05.008Z] 33b1e0a273af: Pull complete [2022-04-10T05:07:05.008Z] 5d3b04190fa2: Pull complete [2022-04-10T05:07:09.205Z] 2f39f015ded8: Pull complete [2022-04-10T05:07:09.205Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T05:07:09.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:07:09.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T05:07:09.274Z] prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container [2022-04-10T05:07:09.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T05:07:11.446Z] $ docker top ee78bd81d82b9e4bed0640af4615e7da9848359ad104ee62e8c0fc98a1ee2111 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:07:11.838Z] ---> job-cost.sh [2022-04-10T05:07:11.838Z] lf-activate-venv: SKIPPING [2022-04-10T05:07:11.838Z] INFO: No Stack... [2022-04-10T05:07:12.411Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:07:12.672Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:07:12.976Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-04-10T05:07:12.976Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T05:07:12.994Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] [2022-04-10T05:07:13.003Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] did not exist. Created. [2022-04-10T05:07:13.003Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:07:13.334Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-10T05:07:13.359Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:07:13.370Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:07:13.393Z] $ docker stop --time=1 ee78bd81d82b9e4bed0640af4615e7da9848359ad104ee62e8c0fc98a1ee2111 [2022-04-10T05:07:14.545Z] $ docker rm -f ee78bd81d82b9e4bed0640af4615e7da9848359ad104ee62e8c0fc98a1ee2111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T05:14:59.402Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11866 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-04-10T05:14:59.414Z] Running in /w/workspace/device-modbus-go/28 [Pipeline] { [Pipeline] checkout [2022-04-10T05:14:59.781Z] Selected Git installation does not exist. Using Default [2022-04-10T05:14:59.781Z] The recommended git tool is: NONE [2022-04-10T05:15:10.304Z] using credential edgex-jenkins-ssh [2022-04-10T05:15:10.353Z] Cloning the remote Git repository [2022-04-10T05:15:10.478Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-10T05:15:10.606Z] > git init /w/workspace/device-modbus-go/28 # timeout=10 [2022-04-10T05:15:10.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-10T05:15:10.893Z] > git --version # timeout=10 [2022-04-10T05:15:10.947Z] > git --version # 'git version 2.25.1' [2022-04-10T05:15:10.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T05:15:11.166Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:15:12.602Z] Avoid second fetch [2022-04-10T05:15:12.603Z] Checking out Revision 1c15b26e628de1330ea15a2b39e616284bb6f9fc (main) [2022-04-10T05:15:12.469Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-10T05:15:12.539Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:15:12.706Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T05:15:12.782Z] > git checkout -f 1c15b26e628de1330ea15a2b39e616284bb6f9fc # timeout=10 [2022-04-10T05:15:18.540Z] Commit message: "Merge pull request #326 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:15:19.505Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T05:15:19.505Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:15:19.505Z] Dload Upload Total Spent Left Speed [2022-04-10T05:15:19.505Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2022-04-10T05:15:20.073Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T05:15:20.431Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T05:15:20.431Z] + sudo tee /etc/docker/daemon.new [2022-04-10T05:15:20.431Z] { [2022-04-10T05:15:20.431Z] "registry-mirrors": [ [2022-04-10T05:15:20.431Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T05:15:20.431Z] ], [2022-04-10T05:15:20.431Z] "bip": "10.250.0.254/24", [2022-04-10T05:15:20.431Z] "hosts": [ [2022-04-10T05:15:20.431Z] "tcp://0.0.0.0:5555", [2022-04-10T05:15:20.431Z] "unix:///var/run/docker.sock" [2022-04-10T05:15:20.431Z] ], [2022-04-10T05:15:20.431Z] "mtu": 1458, [2022-04-10T05:15:20.431Z] "selinux-enabled": true, [2022-04-10T05:15:20.431Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T05:15:20.431Z] } [Pipeline] sh [2022-04-10T05:15:20.795Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T05:15:21.144Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:15:39.534Z] provisioning config files... [2022-04-10T05:15:39.566Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/28@tmp/config2523741769846658744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:40.016Z] ---> docker-login.sh [2022-04-10T05:15:40.016Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:15:40.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:40.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:40.911Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:40.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:40.911Z] [2022-04-10T05:15:40.911Z] Login Succeeded [2022-04-10T05:15:40.911Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:15:41.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:41.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:41.524Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:41.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:41.524Z] [2022-04-10T05:15:41.524Z] Login Succeeded [2022-04-10T05:15:41.524Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:15:42.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:42.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:42.127Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:42.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:42.127Z] [2022-04-10T05:15:42.127Z] Login Succeeded [2022-04-10T05:15:42.127Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:15:42.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:42.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:42.791Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:42.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:42.791Z] [2022-04-10T05:15:42.791Z] Login Succeeded [2022-04-10T05:15:42.791Z] docker.io [2022-04-10T05:15:43.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:43.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:43.670Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:43.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:43.670Z] [2022-04-10T05:15:43.670Z] Login Succeeded [2022-04-10T05:15:43.670Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:15:43.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:15:44.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:15:44.186Z] ========================================================= [2022-04-10T05:15:44.186Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T05:15:44.186Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:15:44.599Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-10T05:15:44.879Z] Sending build context to Docker daemon 3.014MB [2022-04-10T05:15:44.879Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:15:44.879Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-10T05:15:45.162Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T05:15:45.162Z] 9b3977197b4f: Pulling fs layer [2022-04-10T05:15:45.162Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T05:15:45.162Z] 94645a83ff95: Pulling fs layer [2022-04-10T05:15:45.162Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T05:15:45.162Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T05:15:45.162Z] f7c0051592d6: Pulling fs layer [2022-04-10T05:15:45.162Z] a227ed2f7395: Pulling fs layer [2022-04-10T05:15:45.162Z] 7b1c46037f91: Pulling fs layer [2022-04-10T05:15:45.162Z] f7c0051592d6: Waiting [2022-04-10T05:15:45.162Z] a227ed2f7395: Waiting [2022-04-10T05:15:45.162Z] 7b1c46037f91: Waiting [2022-04-10T05:15:45.162Z] 0c92f367c5e7: Waiting [2022-04-10T05:15:45.162Z] 3f3a8bcf1eab: Waiting [2022-04-10T05:15:45.162Z] 94645a83ff95: Verifying Checksum [2022-04-10T05:15:45.162Z] 94645a83ff95: Download complete [2022-04-10T05:15:45.162Z] 1a89e8eeedd5: Download complete [2022-04-10T05:15:45.162Z] 0c92f367c5e7: Verifying Checksum [2022-04-10T05:15:45.162Z] 0c92f367c5e7: Download complete [2022-04-10T05:15:45.162Z] f7c0051592d6: Download complete [2022-04-10T05:15:45.446Z] a227ed2f7395: Verifying Checksum [2022-04-10T05:15:45.446Z] a227ed2f7395: Download complete [2022-04-10T05:15:45.446Z] 9b3977197b4f: Download complete [2022-04-10T05:15:46.072Z] 9b3977197b4f: Pull complete [2022-04-10T05:15:46.697Z] 1a89e8eeedd5: Pull complete [2022-04-10T05:15:47.319Z] 94645a83ff95: Pull complete [2022-04-10T05:15:47.929Z] 7b1c46037f91: Download complete [2022-04-10T05:15:48.536Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T05:15:48.536Z] 3f3a8bcf1eab: Download complete [2022-04-10T05:16:03.697Z] 3f3a8bcf1eab: Pull complete [2022-04-10T05:16:03.697Z] 0c92f367c5e7: Pull complete [2022-04-10T05:16:03.697Z] f7c0051592d6: Pull complete [2022-04-10T05:16:03.697Z] a227ed2f7395: Pull complete [2022-04-10T05:16:10.477Z] 7b1c46037f91: Pull complete [2022-04-10T05:16:10.477Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T05:16:10.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T05:16:10.477Z] ---> f79e39bc4007 [2022-04-10T05:16:10.477Z] Step 3/10 : ARG MAKE='make build' [2022-04-10T05:16:10.477Z] ---> Running in d6630faec0dd [2022-04-10T05:16:10.760Z] Removing intermediate container d6630faec0dd [2022-04-10T05:16:10.760Z] ---> e8e7db9fe72f [2022-04-10T05:16:10.760Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:16:10.760Z] ---> Running in 9e4cc52cd990 [2022-04-10T05:16:12.756Z] Removing intermediate container 9e4cc52cd990 [2022-04-10T05:16:12.756Z] ---> 13d23f7e6649 [2022-04-10T05:16:12.756Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T05:16:12.756Z] ---> Running in 924f3cd2a6c9 [2022-04-10T05:16:13.753Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:16:14.728Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:16:15.707Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T05:16:15.707Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-10T05:16:15.979Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T05:16:16.257Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T05:16:16.257Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-10T05:16:16.257Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-10T05:16:16.531Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-10T05:16:16.531Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-10T05:16:16.531Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T05:16:16.809Z] OK: 226 MiB in 60 packages [2022-04-10T05:16:17.809Z] Removing intermediate container 924f3cd2a6c9 [2022-04-10T05:16:17.809Z] ---> c18e76966813 [2022-04-10T05:16:17.809Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-10T05:16:17.809Z] ---> Running in fd353b1b6337 [2022-04-10T05:16:18.084Z] Removing intermediate container fd353b1b6337 [2022-04-10T05:16:18.084Z] ---> 14a4e9908011 [2022-04-10T05:16:18.084Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-10T05:16:18.678Z] ---> 8c68235d0fa1 [2022-04-10T05:16:18.678Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:16:18.678Z] ---> Running in 2cf8344b8898 [2022-04-10T05:17:15.262Z] Removing intermediate container 2cf8344b8898 [2022-04-10T05:17:15.262Z] ---> 0e470f849638 [2022-04-10T05:17:15.262Z] Step 9/10 : COPY . . [2022-04-10T05:17:15.262Z] ---> 1636f2e757ac [2022-04-10T05:17:15.262Z] Step 10/10 : RUN ${MAKE} [2022-04-10T05:17:15.262Z] ---> Running in e4cefbb78260 [2022-04-10T05:17:15.262Z] noop [2022-04-10T05:17:15.262Z] Removing intermediate container e4cefbb78260 [2022-04-10T05:17:15.262Z] ---> 19e38c6ea6c7 [2022-04-10T05:17:15.262Z] Successfully built 19e38c6ea6c7 [2022-04-10T05:17:15.262Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:17:15.621Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:17:15.621Z] . [Pipeline] withDockerContainer [2022-04-10T05:17:15.905Z] prd-ubuntu20.04-docker-arm64-4c-16g-11866 does not seem to be running inside a container [2022-04-10T05:17:16.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/28 -v /w/workspace/device-modbus-go/28:/w/workspace/device-modbus-go/28:rw,z -v /w/workspace/device-modbus-go/28@tmp:/w/workspace/device-modbus-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T05:17:17.540Z] $ docker top a56220f7b278e89ac5ed82274a942b5d6314be1f37cff415d2ce34d5e0f0f441 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:17:18.515Z] + go version [2022-04-10T05:17:18.515Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T05:17:18.545Z] $ docker stop --time=1 a56220f7b278e89ac5ed82274a942b5d6314be1f37cff415d2ce34d5e0f0f441 [2022-04-10T05:17:20.248Z] $ docker rm -f a56220f7b278e89ac5ed82274a942b5d6314be1f37cff415d2ce34d5e0f0f441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:17:20.906Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:17:20.906Z] . [Pipeline] withDockerContainer [2022-04-10T05:17:21.176Z] prd-ubuntu20.04-docker-arm64-4c-16g-11866 does not seem to be running inside a container [2022-04-10T05:17:21.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/28 -v /w/workspace/device-modbus-go/28:/w/workspace/device-modbus-go/28:rw,z -v /w/workspace/device-modbus-go/28@tmp:/w/workspace/device-modbus-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T05:17:22.702Z] $ docker top 6989b3f0d1b44a1aeef0b0b0324c9983aec10be79b5f4d5072113d92d1fd449e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:17:23.686Z] + make test [2022-04-10T05:17:23.686Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-10T05:17:25.680Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-10T05:19:02.637Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-10T05:19:02.637Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 46.4% of statements [2022-04-10T05:19:02.637Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T05:19:02.637Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T05:19:24.875Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:19:24.875Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:19:24.875Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:19:24.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:19:24.920Z] $ docker stop --time=1 6989b3f0d1b44a1aeef0b0b0324c9983aec10be79b5f4d5072113d92d1fd449e [2022-04-10T05:19:26.704Z] $ docker rm -f 6989b3f0d1b44a1aeef0b0b0324c9983aec10be79b5f4d5072113d92d1fd449e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:19:27.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:19:27.712Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T05:19:28.291Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:19:28.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:19:29.045Z] + ls -al . [2022-04-10T05:19:29.045Z] total 176 [2022-04-10T05:19:29.045Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:19 . [2022-04-10T05:19:29.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:15 .. [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 05:15 .dockerignore [2022-04-10T05:19:29.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:15 .git [2022-04-10T05:19:29.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 .github [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 10 05:15 .gitignore [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:15 .golangci.yml [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 10 05:15 Attribution.txt [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 10 05:15 CHANGELOG.md [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 10 05:15 Dockerfile [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:15 GOVERNANCE.md [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 10 05:15 Jenkinsfile [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:15 LICENSE [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 10 05:15 Makefile [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 10 05:15 OWNERS.md [2022-04-10T05:19:29.045Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 10 05:15 README.md [2022-04-10T05:19:29.046Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 05:05 VERSION [2022-04-10T05:19:29.046Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 bin [2022-04-10T05:19:29.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 cmd [2022-04-10T05:19:29.046Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 10 05:18 coverage.out [2022-04-10T05:19:29.046Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 10 05:15 go.mod [2022-04-10T05:19:29.046Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 10 05:15 go.sum [2022-04-10T05:19:29.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 internal [2022-04-10T05:19:29.046Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 simulator [2022-04-10T05:19:29.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:15 snap [2022-04-10T05:19:29.046Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 10 05:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:29.396Z] + 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=1c15b26e628de1330ea15a2b39e616284bb6f9fc --label arch=arm64 --label version=2.2.0-dev.10 . [2022-04-10T05:19:29.673Z] Sending build context to Docker daemon 3.039MB [2022-04-10T05:19:29.950Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:19:29.950Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-10T05:19:29.950Z] ---> 19e38c6ea6c7 [2022-04-10T05:19:29.950Z] Step 3/23 : ARG MAKE='make build' [2022-04-10T05:19:29.950Z] ---> Running in 982a6ddfea38 [2022-04-10T05:19:30.228Z] Removing intermediate container 982a6ddfea38 [2022-04-10T05:19:30.228Z] ---> 1dce478ca8a8 [2022-04-10T05:19:30.228Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:19:30.508Z] ---> Running in 8c1c8909e50d [2022-04-10T05:19:32.504Z] Removing intermediate container 8c1c8909e50d [2022-04-10T05:19:32.504Z] ---> fd77b39d9662 [2022-04-10T05:19:32.504Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T05:19:32.504Z] ---> Running in 8132f33c9409 [2022-04-10T05:19:33.495Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:19:34.093Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:19:35.543Z] OK: 226 MiB in 60 packages [2022-04-10T05:19:36.151Z] Removing intermediate container 8132f33c9409 [2022-04-10T05:19:36.151Z] ---> 4fb85ffb2abd [2022-04-10T05:19:36.151Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-10T05:19:36.151Z] ---> Running in bed31d8c5597 [2022-04-10T05:19:36.427Z] Removing intermediate container bed31d8c5597 [2022-04-10T05:19:36.427Z] ---> b570d3caeae7 [2022-04-10T05:19:36.427Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-10T05:19:37.029Z] ---> 09031543fc91 [2022-04-10T05:19:37.029Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:19:37.306Z] ---> Running in 45ffe7b98024 [2022-04-10T05:19:39.298Z] Removing intermediate container 45ffe7b98024 [2022-04-10T05:19:39.298Z] ---> a2e064b8329c [2022-04-10T05:19:39.298Z] Step 9/23 : COPY . . [2022-04-10T05:19:40.287Z] ---> b7cae32b81c5 [2022-04-10T05:19:40.287Z] Step 10/23 : RUN ${MAKE} [2022-04-10T05:19:40.287Z] ---> Running in 644a8d4c35c8 [2022-04-10T05:19:41.272Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-10T05:21:48.182Z] Removing intermediate container 644a8d4c35c8 [2022-04-10T05:21:48.182Z] ---> c3a893d760ae [2022-04-10T05:21:48.182Z] Step 11/23 : FROM alpine:3.14 [2022-04-10T05:21:48.182Z] 3.14: Pulling from library/alpine [2022-04-10T05:21:48.182Z] 455c02918c45: Pulling fs layer [2022-04-10T05:21:48.182Z] 455c02918c45: Verifying Checksum [2022-04-10T05:21:48.182Z] 455c02918c45: Download complete [2022-04-10T05:21:48.182Z] 455c02918c45: Pull complete [2022-04-10T05:21:48.182Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T05:21:48.182Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T05:21:48.182Z] ---> ac73e934f311 [2022-04-10T05:21:48.182Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-10T05:21:48.182Z] ---> Running in 39653c8a4e3c [2022-04-10T05:21:48.182Z] Removing intermediate container 39653c8a4e3c [2022-04-10T05:21:48.182Z] ---> 25aedc59cf71 [2022-04-10T05:21:48.182Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:21:48.182Z] ---> Running in 444c2c52c06b [2022-04-10T05:21:49.163Z] Removing intermediate container 444c2c52c06b [2022-04-10T05:21:49.163Z] ---> 846e4125c758 [2022-04-10T05:21:49.163Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-10T05:21:49.163Z] ---> Running in f073ce46354d [2022-04-10T05:21:50.147Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:21:51.133Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:21:52.115Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-10T05:21:52.115Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T05:21:52.115Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-10T05:21:52.115Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T05:21:52.389Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-10T05:21:52.389Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-10T05:21:52.389Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T05:21:52.664Z] OK: 8 MiB in 20 packages [2022-04-10T05:21:53.655Z] Removing intermediate container f073ce46354d [2022-04-10T05:21:53.655Z] ---> 946880c6beb0 [2022-04-10T05:21:53.655Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-10T05:21:55.099Z] ---> 9704e4d1edd4 [2022-04-10T05:21:55.099Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-10T05:21:55.699Z] ---> 48b3a96bb293 [2022-04-10T05:21:55.699Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-10T05:21:56.307Z] ---> a819815fefec [2022-04-10T05:21:56.307Z] Step 18/23 : EXPOSE 59901 [2022-04-10T05:21:56.307Z] ---> Running in a1ccf67f3649 [2022-04-10T05:21:56.582Z] Removing intermediate container a1ccf67f3649 [2022-04-10T05:21:56.582Z] ---> 3076ebc2ac8c [2022-04-10T05:21:56.582Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-10T05:21:56.582Z] ---> Running in 142d159cf017 [2022-04-10T05:21:56.856Z] Removing intermediate container 142d159cf017 [2022-04-10T05:21:56.856Z] ---> ced197397127 [2022-04-10T05:21:56.856Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T05:21:56.856Z] ---> Running in d577f9fc34fb [2022-04-10T05:21:57.456Z] Removing intermediate container d577f9fc34fb [2022-04-10T05:21:57.456Z] ---> e6b527ab6edc [2022-04-10T05:21:57.456Z] Step 21/23 : LABEL arch=arm64 [2022-04-10T05:21:57.456Z] ---> Running in 068cb26f3edc [2022-04-10T05:21:57.731Z] Removing intermediate container 068cb26f3edc [2022-04-10T05:21:57.731Z] ---> 107ba49ff245 [2022-04-10T05:21:57.731Z] Step 22/23 : LABEL git_sha=1c15b26e628de1330ea15a2b39e616284bb6f9fc [2022-04-10T05:21:57.731Z] ---> Running in 5b335eefaa94 [2022-04-10T05:21:58.014Z] Removing intermediate container 5b335eefaa94 [2022-04-10T05:21:58.014Z] ---> 365234414f09 [2022-04-10T05:21:58.014Z] Step 23/23 : LABEL version=2.2.0-dev.10 [2022-04-10T05:21:58.293Z] ---> Running in 200127b0ef52 [2022-04-10T05:21:58.568Z] Removing intermediate container 200127b0ef52 [2022-04-10T05:21:58.569Z] ---> 6a531e2a7835 [2022-04-10T05:21:58.569Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T05:21:58.569Z] Successfully built 6a531e2a7835 [2022-04-10T05:21:58.569Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:21:58.684Z] provisioning config files... [2022-04-10T05:21:58.703Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/28@tmp/config618592559255782157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:59.062Z] ---> docker-login.sh [2022-04-10T05:21:59.062Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:21:59.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:21:59.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:21:59.338Z] Configure a credential helper to remove this warning. See [2022-04-10T05:21:59.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:21:59.338Z] [2022-04-10T05:21:59.338Z] Login Succeeded [2022-04-10T05:21:59.338Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:21:59.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:21:59.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:21:59.942Z] Configure a credential helper to remove this warning. See [2022-04-10T05:21:59.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:21:59.942Z] [2022-04-10T05:21:59.942Z] Login Succeeded [2022-04-10T05:21:59.942Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:22:00.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:22:00.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:22:00.495Z] Configure a credential helper to remove this warning. See [2022-04-10T05:22:00.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:22:00.495Z] [2022-04-10T05:22:00.495Z] Login Succeeded [2022-04-10T05:22:00.495Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:22:00.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:22:01.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:22:01.046Z] Configure a credential helper to remove this warning. See [2022-04-10T05:22:01.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:22:01.046Z] [2022-04-10T05:22:01.046Z] Login Succeeded [2022-04-10T05:22:01.046Z] docker.io [2022-04-10T05:22:01.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:22:01.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:22:01.918Z] Configure a credential helper to remove this warning. See [2022-04-10T05:22:01.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:22:01.918Z] [2022-04-10T05:22:01.918Z] Login Succeeded [2022-04-10T05:22:01.918Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:22:01.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:22:01.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:22:02.005Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-04-10T05:22:02.005Z] 1c15b26e628de1330ea15a2b39e616284bb6f9fc [2022-04-10T05:22:02.005Z] latest [2022-04-10T05:22:02.005Z] 2.2.0-dev.10 [2022-04-10T05:22:02.005Z] 1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 [2022-04-10T05:22:02.005Z] main [2022-04-10T05:22:02.005Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:02.377Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:02.725Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc [2022-04-10T05:22:02.725Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-10T05:22:02.725Z] 01d89403cd66: Preparing [2022-04-10T05:22:02.725Z] 40e35cd09216: Preparing [2022-04-10T05:22:02.725Z] 8216c5eb6de4: Preparing [2022-04-10T05:22:02.725Z] 0aca7159ed00: Preparing [2022-04-10T05:22:02.725Z] aad0ff63bb20: Preparing [2022-04-10T05:22:02.725Z] f73e7dbfee58: Preparing [2022-04-10T05:22:02.725Z] f73e7dbfee58: Waiting [2022-04-10T05:22:03.003Z] 40e35cd09216: Pushed [2022-04-10T05:22:03.003Z] aad0ff63bb20: Pushed [2022-04-10T05:22:03.003Z] 01d89403cd66: Pushed [2022-04-10T05:22:03.003Z] f73e7dbfee58: Layer already exists [2022-04-10T05:22:03.608Z] 0aca7159ed00: Pushed [2022-04-10T05:22:09.026Z] 8216c5eb6de4: Pushed [2022-04-10T05:22:09.026Z] 1c15b26e628de1330ea15a2b39e616284bb6f9fc: digest: sha256:cfc21ea7986e3d2cc2bb4a7ac7d228595fb4e9279f18f58d3a6dab224e2dda29 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:09.383Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:09.737Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-10T05:22:09.737Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-10T05:22:09.737Z] 01d89403cd66: Preparing [2022-04-10T05:22:09.737Z] 40e35cd09216: Preparing [2022-04-10T05:22:09.737Z] 8216c5eb6de4: Preparing [2022-04-10T05:22:09.737Z] 0aca7159ed00: Preparing [2022-04-10T05:22:09.737Z] aad0ff63bb20: Preparing [2022-04-10T05:22:09.737Z] f73e7dbfee58: Preparing [2022-04-10T05:22:09.737Z] 0aca7159ed00: Layer already exists [2022-04-10T05:22:09.737Z] 8216c5eb6de4: Layer already exists [2022-04-10T05:22:09.737Z] 01d89403cd66: Layer already exists [2022-04-10T05:22:09.737Z] 40e35cd09216: Layer already exists [2022-04-10T05:22:09.737Z] aad0ff63bb20: Layer already exists [2022-04-10T05:22:10.013Z] f73e7dbfee58: Layer already exists [2022-04-10T05:22:10.013Z] latest: digest: sha256:cfc21ea7986e3d2cc2bb4a7ac7d228595fb4e9279f18f58d3a6dab224e2dda29 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:10.370Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:10.727Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.10 [2022-04-10T05:22:10.728Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-10T05:22:10.728Z] 01d89403cd66: Preparing [2022-04-10T05:22:10.728Z] 40e35cd09216: Preparing [2022-04-10T05:22:10.728Z] 8216c5eb6de4: Preparing [2022-04-10T05:22:10.728Z] 0aca7159ed00: Preparing [2022-04-10T05:22:10.728Z] aad0ff63bb20: Preparing [2022-04-10T05:22:10.728Z] f73e7dbfee58: Preparing [2022-04-10T05:22:10.728Z] f73e7dbfee58: Waiting [2022-04-10T05:22:10.728Z] aad0ff63bb20: Layer already exists [2022-04-10T05:22:10.728Z] 01d89403cd66: Layer already exists [2022-04-10T05:22:10.728Z] 40e35cd09216: Layer already exists [2022-04-10T05:22:10.728Z] 8216c5eb6de4: Layer already exists [2022-04-10T05:22:10.728Z] 0aca7159ed00: Layer already exists [2022-04-10T05:22:11.003Z] f73e7dbfee58: Layer already exists [2022-04-10T05:22:11.003Z] 2.2.0-dev.10: digest: sha256:cfc21ea7986e3d2cc2bb4a7ac7d228595fb4e9279f18f58d3a6dab224e2dda29 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:11.360Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:11.713Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 [2022-04-10T05:22:11.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-10T05:22:11.713Z] 01d89403cd66: Preparing [2022-04-10T05:22:11.713Z] 40e35cd09216: Preparing [2022-04-10T05:22:11.713Z] 8216c5eb6de4: Preparing [2022-04-10T05:22:11.713Z] 0aca7159ed00: Preparing [2022-04-10T05:22:11.713Z] aad0ff63bb20: Preparing [2022-04-10T05:22:11.713Z] f73e7dbfee58: Preparing [2022-04-10T05:22:11.713Z] f73e7dbfee58: Waiting [2022-04-10T05:22:11.713Z] 40e35cd09216: Layer already exists [2022-04-10T05:22:11.713Z] 0aca7159ed00: Layer already exists [2022-04-10T05:22:11.713Z] 01d89403cd66: Layer already exists [2022-04-10T05:22:11.713Z] 8216c5eb6de4: Layer already exists [2022-04-10T05:22:11.713Z] aad0ff63bb20: Layer already exists [2022-04-10T05:22:11.713Z] f73e7dbfee58: Layer already exists [2022-04-10T05:22:11.987Z] 1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10: digest: sha256:cfc21ea7986e3d2cc2bb4a7ac7d228595fb4e9279f18f58d3a6dab224e2dda29 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:12.345Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:12.698Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-04-10T05:22:12.698Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-10T05:22:12.698Z] 01d89403cd66: Preparing [2022-04-10T05:22:12.698Z] 40e35cd09216: Preparing [2022-04-10T05:22:12.698Z] 8216c5eb6de4: Preparing [2022-04-10T05:22:12.698Z] 0aca7159ed00: Preparing [2022-04-10T05:22:12.698Z] aad0ff63bb20: Preparing [2022-04-10T05:22:12.698Z] f73e7dbfee58: Preparing [2022-04-10T05:22:12.698Z] f73e7dbfee58: Waiting [2022-04-10T05:22:12.698Z] 01d89403cd66: Layer already exists [2022-04-10T05:22:12.698Z] aad0ff63bb20: Layer already exists [2022-04-10T05:22:12.698Z] 8216c5eb6de4: Layer already exists [2022-04-10T05:22:12.698Z] 0aca7159ed00: Layer already exists [2022-04-10T05:22:12.698Z] 40e35cd09216: Layer already exists [2022-04-10T05:22:12.698Z] f73e7dbfee58: Layer already exists [2022-04-10T05:22:12.973Z] main: digest: sha256:cfc21ea7986e3d2cc2bb4a7ac7d228595fb4e9279f18f58d3a6dab224e2dda29 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:22:13.022Z] ===================================================== [Pipeline] echo [2022-04-10T05:22:13.032Z] taggedImages: [2022-04-10T05:22:13.032Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc [2022-04-10T05:22:13.032Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-10T05:22:13.032Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.10 [2022-04-10T05:22:13.032Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 [2022-04-10T05:22:13.032Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:13.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:22:13.413Z] [2022-04-10T05:22:13.413Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:13.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:22:14.047Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T05:22:14.047Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T05:22:14.047Z] 04944245beec: Pulling fs layer [2022-04-10T05:22:14.047Z] 699f458cf7ca: Pulling fs layer [2022-04-10T05:22:14.047Z] 765212b225bb: Pulling fs layer [2022-04-10T05:22:14.047Z] f23df028b6ca: Pulling fs layer [2022-04-10T05:22:14.047Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T05:22:14.047Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T05:22:14.047Z] f23df028b6ca: Waiting [2022-04-10T05:22:14.047Z] d65c8cfc05b1: Waiting [2022-04-10T05:22:14.047Z] 2437ff75d9bd: Waiting [2022-04-10T05:22:14.047Z] 765212b225bb: Waiting [2022-04-10T05:22:14.047Z] 04944245beec: Download complete [2022-04-10T05:22:14.047Z] 765212b225bb: Verifying Checksum [2022-04-10T05:22:14.047Z] 765212b225bb: Download complete [2022-04-10T05:22:14.047Z] f23df028b6ca: Verifying Checksum [2022-04-10T05:22:14.047Z] f23df028b6ca: Download complete [2022-04-10T05:22:14.323Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T05:22:14.323Z] d65c8cfc05b1: Download complete [2022-04-10T05:22:14.323Z] 699f458cf7ca: Verifying Checksum [2022-04-10T05:22:14.323Z] 699f458cf7ca: Download complete [2022-04-10T05:22:14.600Z] 8998bd30e6a1: Verifying Checksum [2022-04-10T05:22:14.600Z] 8998bd30e6a1: Download complete [2022-04-10T05:22:17.231Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T05:22:17.231Z] 2437ff75d9bd: Download complete [2022-04-10T05:22:19.214Z] 8998bd30e6a1: Pull complete [2022-04-10T05:22:19.487Z] 04944245beec: Pull complete [2022-04-10T05:22:20.927Z] 699f458cf7ca: Pull complete [2022-04-10T05:22:21.204Z] 765212b225bb: Pull complete [2022-04-10T05:22:22.187Z] f23df028b6ca: Pull complete [2022-04-10T05:22:22.187Z] d65c8cfc05b1: Pull complete [2022-04-10T05:22:37.300Z] 2437ff75d9bd: Pull complete [2022-04-10T05:22:37.300Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T05:22:37.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:22:37.300Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T05:22:37.562Z] prd-ubuntu20.04-docker-arm64-4c-16g-11866 does not seem to be running inside a container [2022-04-10T05:22:37.660Z] $ 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/28 -v /w/workspace/device-modbus-go/28:/w/workspace/device-modbus-go/28:rw,z -v /w/workspace/device-modbus-go/28@tmp:/w/workspace/device-modbus-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-10T05:22:40.193Z] $ docker top f20a3c3d8519be4ede37e7a1d7ff633a4b49ba010e3fdf51af17af2b0c5474ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:22:41.130Z] ---> job-cost.sh [2022-04-10T05:22:41.130Z] lf-activate-venv: SKIPPING [2022-04-10T05:22:41.130Z] INFO: No Stack... [2022-04-10T05:22:41.403Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T05:22:42.377Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:22:43.041Z] + + catcut /w/workspace/device-modbus-go/28/archives/cost.csv -d, [2022-04-10T05:22:43.041Z] -f6 [Pipeline] lock [2022-04-10T05:22:43.111Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] [2022-04-10T05:22:43.119Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] did not exist. Created. [2022-04-10T05:22:43.119Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:22:43.807Z] /w/workspace/device-modbus-go/28@tmp/durable-b5063acd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T05:22:44.490Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-10T05:22:44.510Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T05:22:44.572Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:22:44.579Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:22:44.600Z] $ docker stop --time=1 f20a3c3d8519be4ede37e7a1d7ff633a4b49ba010e3fdf51af17af2b0c5474ad [2022-04-10T05:22:46.110Z] $ docker rm -f f20a3c3d8519be4ede37e7a1d7ff633a4b49ba010e3fdf51af17af2b0c5474ad [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 [2022-04-10T05:22:46.572Z] provisioning config files... [2022-04-10T05:22:46.580Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config118181980917229906tmp [Pipeline] { [Pipeline] sh [2022-04-10T05:22:46.870Z] + set +x [2022-04-10T05:22:46.870Z] + + bashcurl -s -s -- https://codecov.io/bash [2022-04-10T05:22:46.870Z] [2022-04-10T05:22:46.870Z] [2022-04-10T05:22:46.870Z] _____ _ [2022-04-10T05:22:46.870Z] / ____| | | [2022-04-10T05:22:46.870Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T05:22:46.870Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T05:22:46.870Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T05:22:46.870Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T05:22:46.870Z] Bash-1.0.6 [2022-04-10T05:22:46.870Z] [2022-04-10T05:22:46.870Z] [2022-04-10T05:22:46.870Z] ==> git version 2.25.1 found [2022-04-10T05:22:46.870Z] ==> 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 [2022-04-10T05:22:46.870Z] Release-Date: 2020-01-08 [2022-04-10T05:22:46.870Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-10T05:22:46.870Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T05:22:46.870Z] ==> Jenkins CI detected. [2022-04-10T05:22:46.870Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-04-10T05:22:46.870Z] project root: . [2022-04-10T05:22:46.870Z] --> token set from env [2022-04-10T05:22:46.870Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T05:22:46.870Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T05:22:46.870Z] ==> Python coveragepy not found [2022-04-10T05:22:46.870Z] ==> Searching for coverage reports in: [2022-04-10T05:22:46.870Z] + . [2022-04-10T05:22:46.870Z] -> Found 1 reports [2022-04-10T05:22:46.870Z] ==> Detecting git/mercurial file structure [2022-04-10T05:22:46.870Z] ==> Reading reports [2022-04-10T05:22:46.870Z] + ./coverage.out bytes=24065 [2022-04-10T05:22:46.870Z] ==> Appending adjustments [2022-04-10T05:22:46.870Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T05:22:46.870Z] + Found adjustments [2022-04-10T05:22:47.131Z] ==> Gzipping contents [2022-04-10T05:22:47.131Z] 4.0K /tmp/codecov.HGCQyu.gz [2022-04-10T05:22:47.131Z] ==> Uploading reports [2022-04-10T05:22:47.131Z] url: https://codecov.io [2022-04-10T05:22:47.131Z] query: branch=main&commit=1c15b26e628de1330ea15a2b39e616284bb6f9fc&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:22:47.131Z] -> Pinging Codecov [2022-04-10T05:22:47.131Z] 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=1c15b26e628de1330ea15a2b39e616284bb6f9fc&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:22:47.390Z] -> Uploading to [2022-04-10T05:22:47.390Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/55DBCA73C666E3227836607328DD7E49/1c15b26e628de1330ea15a2b39e616284bb6f9fc/b46b33c8-d7ee-4e1c-b9ce-bf317d893d73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T052247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f9fb97d01cf38508b0a81db266b8e9511b890cdd1946e933a561333c2b83a27 [2022-04-10T05:22:47.390Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:22:47.390Z] Dload Upload Total Spent Left Speed [2022-04-10T05:22:47.390Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4031 0 0 100 4031 0 19567 --:--:-- --:--:-- --:--:-- 19567 [2022-04-10T05:22:47.390Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] } [2022-04-10T05:22:47.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-10T05:22:47.543Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-10T05:22:47.552Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:47.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:22:47.845Z] [2022-04-10T05:22:47.845Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:48.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:22:48.147Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-10T05:22:48.147Z] 188c0c94c7c5: Pulling fs layer [2022-04-10T05:22:48.147Z] 0ef7d3d256c8: Pulling fs layer [2022-04-10T05:22:48.147Z] de9db76c5a1d: Pulling fs layer [2022-04-10T05:22:48.147Z] 0eba1c9be4d2: Pulling fs layer [2022-04-10T05:22:48.147Z] 0d57e429df01: Pulling fs layer [2022-04-10T05:22:48.147Z] 4e4be7b47b0d: Pulling fs layer [2022-04-10T05:22:48.147Z] e1f770b5df2f: Pulling fs layer [2022-04-10T05:22:48.147Z] 85a0685a4137: Pulling fs layer [2022-04-10T05:22:48.147Z] 0d57e429df01: Waiting [2022-04-10T05:22:48.147Z] 4e4be7b47b0d: Waiting [2022-04-10T05:22:48.147Z] e1f770b5df2f: Waiting [2022-04-10T05:22:48.147Z] 85a0685a4137: Waiting [2022-04-10T05:22:48.147Z] 0eba1c9be4d2: Waiting [2022-04-10T05:22:48.147Z] de9db76c5a1d: Verifying Checksum [2022-04-10T05:22:48.147Z] de9db76c5a1d: Download complete [2022-04-10T05:22:48.147Z] 0ef7d3d256c8: Verifying Checksum [2022-04-10T05:22:48.147Z] 0ef7d3d256c8: Download complete [2022-04-10T05:22:48.147Z] 0d57e429df01: Verifying Checksum [2022-04-10T05:22:48.147Z] 0d57e429df01: Download complete [2022-04-10T05:22:48.147Z] 4e4be7b47b0d: Verifying Checksum [2022-04-10T05:22:48.147Z] 4e4be7b47b0d: Download complete [2022-04-10T05:22:48.147Z] 188c0c94c7c5: Verifying Checksum [2022-04-10T05:22:48.147Z] 188c0c94c7c5: Download complete [2022-04-10T05:22:48.406Z] e1f770b5df2f: Verifying Checksum [2022-04-10T05:22:48.406Z] e1f770b5df2f: Download complete [2022-04-10T05:22:48.406Z] 188c0c94c7c5: Pull complete [2022-04-10T05:22:48.406Z] 0ef7d3d256c8: Pull complete [2022-04-10T05:22:48.666Z] de9db76c5a1d: Pull complete [2022-04-10T05:22:48.924Z] 0eba1c9be4d2: Download complete [2022-04-10T05:22:48.924Z] 85a0685a4137: Verifying Checksum [2022-04-10T05:22:48.924Z] 85a0685a4137: Download complete [2022-04-10T05:22:52.213Z] 0eba1c9be4d2: Pull complete [2022-04-10T05:22:52.213Z] 0d57e429df01: Pull complete [2022-04-10T05:22:52.473Z] 4e4be7b47b0d: Pull complete [2022-04-10T05:22:52.732Z] e1f770b5df2f: Pull complete [2022-04-10T05:22:56.023Z] 85a0685a4137: Pull complete [2022-04-10T05:22:56.023Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-10T05:22:56.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:22:56.023Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-10T05:22:56.086Z] prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container [2022-04-10T05:22:56.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-10T05:22:58.409Z] $ docker top 740c47f00472adf252467f35900aa6ee4029eab3ab953b4f5033ab1b61b881e1 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-10T05:22:58.486Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-10T05:22:58.772Z] + set -o pipefail [2022-04-10T05:22:58.772Z] + snyk monitor '--org=edgex-jenkins' [2022-04-10T05:23:04.055Z] [2022-04-10T05:23:04.055Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-04-10T05:23:04.055Z] [2022-04-10T05:23:04.055Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/89c750cd-c330-4adf-8c6f-f2d9f26cd2a8 [2022-04-10T05:23:04.055Z] [2022-04-10T05:23:04.055Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-04-10T05:23:04.055Z] [2022-04-10T05:23:04.055Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-10T05:23:04.055Z] [2022-04-10T05:23:04.055Z] [Pipeline] } [2022-04-10T05:23:04.071Z] $ docker stop --time=1 740c47f00472adf252467f35900aa6ee4029eab3ab953b4f5033ab1b61b881e1 [2022-04-10T05:23:06.209Z] $ docker rm -f 740c47f00472adf252467f35900aa6ee4029eab3ab953b4f5033ab1b61b881e1 [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 [2022-04-10T05:23:06.942Z] + git log --format=format:%s -1 1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] sh [2022-04-10T05:23:07.242Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:23:07.242Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:07.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:23:07.536Z] . [Pipeline] withDockerContainer [2022-04-10T05:23:07.616Z] prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container [2022-04-10T05:23:07.654Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:23:08.123Z] $ docker top c743bdcbcbc6ac25aa3c73b536da97cb3e527d4dc3f73edc76b9919aa2f8c41b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:23:08.227Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:23:08.227Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:23:08.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:23:08.358Z] $ docker exec c743bdcbcbc6ac25aa3c73b536da97cb3e527d4dc3f73edc76b9919aa2f8c41b ssh-agent [2022-04-10T05:23:08.475Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMnDgHI/agent.13 [2022-04-10T05:23:08.475Z] SSH_AGENT_PID=20 [2022-04-10T05:23:08.480Z] Running ssh-add (command line suppressed) [2022-04-10T05:23:08.595Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1168485486363220756.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1168485486363220756.key) [2022-04-10T05:23:08.607Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:23:08.897Z] + git semver tag [2022-04-10T05:23:08.897Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:23:08.897Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-10T05:23:08.897Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-10T05:23:08.897Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:23:08.897Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:23:08.897Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:23:08.897Z] # $SEMVER_BRANCH = main [2022-04-10T05:23:08.897Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-10T05:23:08.897Z] # 1c15b26e628de1330ea15a2b39e616284bb6f9fc HEAD [2022-04-10T05:23:08.897Z] # -> Force: false [2022-04-10T05:23:08.897Z] # 205f2dbb846efb195e816033a56bf8c56f0f78c4 refs/tags/v2.2.0-dev.10 [Pipeline] } [2022-04-10T05:23:08.910Z] $ docker exec --env ******** --env ******** c743bdcbcbc6ac25aa3c73b536da97cb3e527d4dc3f73edc76b9919aa2f8c41b ssh-agent -k [2022-04-10T05:23:09.022Z] unset SSH_AUTH_SOCK; [2022-04-10T05:23:09.022Z] unset SSH_AGENT_PID; [2022-04-10T05:23:09.022Z] echo Agent pid 20 killed; [2022-04-10T05:23:09.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:23:09.332Z] + git semver [Pipeline] } [2022-04-10T05:23:09.348Z] $ docker stop --time=1 c743bdcbcbc6ac25aa3c73b536da97cb3e527d4dc3f73edc76b9919aa2f8c41b [2022-04-10T05:23:10.647Z] $ docker rm -f c743bdcbcbc6ac25aa3c73b536da97cb3e527d4dc3f73edc76b9919aa2f8c41b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:11.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:23:11.053Z] [2022-04-10T05:23:11.053Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:11.355Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:23:11.355Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-10T05:23:11.355Z] ab5ef0e58194: Pulling fs layer [2022-04-10T05:23:11.355Z] 9712f1f96733: Pulling fs layer [2022-04-10T05:23:11.355Z] 63f879dbbcfc: Pulling fs layer [2022-04-10T05:23:11.355Z] 0d9ebad4ef96: Pulling fs layer [2022-04-10T05:23:11.355Z] e9a5061849ea: Pulling fs layer [2022-04-10T05:23:11.355Z] d747dcd14b5f: Pulling fs layer [2022-04-10T05:23:11.355Z] 2de7ff778b66: Pulling fs layer [2022-04-10T05:23:11.355Z] e9a5061849ea: Waiting [2022-04-10T05:23:11.355Z] d747dcd14b5f: Waiting [2022-04-10T05:23:11.355Z] 2de7ff778b66: Waiting [2022-04-10T05:23:11.355Z] 0d9ebad4ef96: Waiting [2022-04-10T05:23:11.355Z] 9712f1f96733: Verifying Checksum [2022-04-10T05:23:11.355Z] 9712f1f96733: Download complete [2022-04-10T05:23:11.615Z] 63f879dbbcfc: Verifying Checksum [2022-04-10T05:23:11.615Z] 63f879dbbcfc: Download complete [2022-04-10T05:23:11.877Z] e9a5061849ea: Verifying Checksum [2022-04-10T05:23:11.877Z] e9a5061849ea: Download complete [2022-04-10T05:23:11.877Z] d747dcd14b5f: Verifying Checksum [2022-04-10T05:23:11.877Z] d747dcd14b5f: Download complete [2022-04-10T05:23:11.877Z] 0d9ebad4ef96: Verifying Checksum [2022-04-10T05:23:11.877Z] 0d9ebad4ef96: Download complete [2022-04-10T05:23:11.877Z] ab5ef0e58194: Verifying Checksum [2022-04-10T05:23:11.877Z] ab5ef0e58194: Download complete [2022-04-10T05:23:11.877Z] 2de7ff778b66: Download complete [2022-04-10T05:23:15.166Z] ab5ef0e58194: Pull complete [2022-04-10T05:23:15.166Z] 9712f1f96733: Pull complete [2022-04-10T05:23:15.425Z] 63f879dbbcfc: Pull complete [2022-04-10T05:23:18.713Z] 0d9ebad4ef96: Pull complete [2022-04-10T05:23:19.284Z] e9a5061849ea: Pull complete [2022-04-10T05:23:19.284Z] d747dcd14b5f: Pull complete [2022-04-10T05:23:20.220Z] 2de7ff778b66: Pull complete [2022-04-10T05:23:20.220Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-10T05:23:20.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:23:20.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-10T05:23:20.287Z] prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container [2022-04-10T05:23:20.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-10T05:23:22.403Z] $ docker top d7f1385c23730baa2bb803bae45167c2de69a1e7398d5b51b4a3dfa0b31b47f8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:23:22.490Z] provisioning config files... [2022-04-10T05:23:22.498Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5436175596666458786tmp [2022-04-10T05:23:22.509Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1334218999559909552tmp [2022-04-10T05:23:22.519Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2827996258368028825tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:23:22.540Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:22.827Z] ---> sigul-configuration.sh [2022-04-10T05:23:22.828Z] gpg: directory `/root/.gnupg' created [2022-04-10T05:23:22.828Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-10T05:23:22.828Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-10T05:23:22.828Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-10T05:23:22.828Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-10T05:23:22.828Z] gpg: CAST5 encrypted data [2022-04-10T05:23:22.828Z] gpg: encrypted with 1 passphrase [2022-04-10T05:23:22.828Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-10T05:23:23.117Z] + mkdir /home/jenkins [2022-04-10T05:23:23.117Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-10T05:23:23.405Z] + 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 [2022-04-10T05:23:23.416Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:23.704Z] ---> sigul-install.sh [2022-04-10T05:23:23.704Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-10T05:23:23.992Z] + git tag --list [2022-04-10T05:23:23.993Z] 0.7.1 [2022-04-10T05:23:23.993Z] v1.0.0 [2022-04-10T05:23:23.993Z] v1.1.0 [2022-04-10T05:23:23.993Z] v1.1.1 [2022-04-10T05:23:23.993Z] v1.2.2 [2022-04-10T05:23:23.993Z] v1.3.0 [2022-04-10T05:23:23.993Z] v1.3.1 [2022-04-10T05:23:23.993Z] v2.0.0 [2022-04-10T05:23:23.993Z] v2.0.1-dev.1 [2022-04-10T05:23:23.993Z] v2.0.1-dev.10 [2022-04-10T05:23:23.993Z] v2.0.1-dev.11 [2022-04-10T05:23:23.993Z] v2.0.1-dev.12 [2022-04-10T05:23:23.993Z] v2.0.1-dev.2 [2022-04-10T05:23:23.993Z] v2.0.1-dev.3 [2022-04-10T05:23:23.993Z] v2.0.1-dev.4 [2022-04-10T05:23:23.993Z] v2.0.1-dev.5 [2022-04-10T05:23:23.993Z] v2.0.1-dev.6 [2022-04-10T05:23:23.993Z] v2.0.1-dev.7 [2022-04-10T05:23:23.993Z] v2.0.1-dev.8 [2022-04-10T05:23:23.993Z] v2.0.1-dev.9 [2022-04-10T05:23:23.993Z] v2.1.0 [2022-04-10T05:23:23.993Z] v2.2.0-dev.1 [2022-04-10T05:23:23.993Z] v2.2.0-dev.10 [2022-04-10T05:23:23.993Z] v2.2.0-dev.2 [2022-04-10T05:23:23.993Z] v2.2.0-dev.3 [2022-04-10T05:23:23.993Z] v2.2.0-dev.4 [2022-04-10T05:23:23.993Z] v2.2.0-dev.5 [2022-04-10T05:23:23.993Z] v2.2.0-dev.6 [2022-04-10T05:23:23.993Z] v2.2.0-dev.7 [2022-04-10T05:23:23.993Z] v2.2.0-dev.8 [2022-04-10T05:23:23.993Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-10T05:23:24.284Z] + lftools sign git-tag v2.2.0-dev.10 [2022-04-10T05:23:24.853Z] Signing Git tag with Sigul... [2022-04-10T05:23:24.853Z] Signing v2.2.0-dev.10 [Pipeline] echo [2022-04-10T05:23:25.123Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:25.409Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-10T05:23:25.420Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-10T05:23:25.442Z] $ docker stop --time=1 d7f1385c23730baa2bb803bae45167c2de69a1e7398d5b51b4a3dfa0b31b47f8 [2022-04-10T05:23:26.766Z] $ docker rm -f d7f1385c23730baa2bb803bae45167c2de69a1e7398d5b51b4a3dfa0b31b47f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-10T05:23:27.190Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:23:27.190Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:27.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:23:27.483Z] . [Pipeline] withDockerContainer [2022-04-10T05:23:27.552Z] prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container [2022-04-10T05:23:27.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:23:27.966Z] $ docker top 0956ef3ba2ceeb526ecb93f8f420590fb7ae76f8a8a4718c430337d19935a337 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:23:28.062Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:23:28.062Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:23:28.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:23:28.197Z] $ docker exec 0956ef3ba2ceeb526ecb93f8f420590fb7ae76f8a8a4718c430337d19935a337 ssh-agent [2022-04-10T05:23:28.316Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdBBmoH/agent.14 [2022-04-10T05:23:28.316Z] SSH_AGENT_PID=20 [2022-04-10T05:23:28.322Z] Running ssh-add (command line suppressed) [2022-04-10T05:23:28.434Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1775724834577223354.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1775724834577223354.key) [2022-04-10T05:23:28.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:23:28.742Z] + git semver bump pre [2022-04-10T05:23:28.742Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:23:28.742Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-10T05:23:28.742Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-10T05:23:28.742Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:23:28.742Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:23:28.742Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:23:28.742Z] # $SEMVER_BRANCH = main [2022-04-10T05:23:28.742Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-10T05:23:28.742Z] 2.2.0-dev.11 [Pipeline] } [2022-04-10T05:23:28.756Z] $ docker exec --env ******** --env ******** 0956ef3ba2ceeb526ecb93f8f420590fb7ae76f8a8a4718c430337d19935a337 ssh-agent -k [2022-04-10T05:23:28.860Z] unset SSH_AUTH_SOCK; [2022-04-10T05:23:28.860Z] unset SSH_AGENT_PID; [2022-04-10T05:23:28.860Z] echo Agent pid 20 killed; [2022-04-10T05:23:28.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:23:29.169Z] + git semver [Pipeline] } [2022-04-10T05:23:29.185Z] $ docker stop --time=1 0956ef3ba2ceeb526ecb93f8f420590fb7ae76f8a8a4718c430337d19935a337 [2022-04-10T05:23:30.444Z] $ docker rm -f 0956ef3ba2ceeb526ecb93f8f420590fb7ae76f8a8a4718c430337d19935a337 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:23:30.796Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:23:30.796Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:31.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:23:31.093Z] . [Pipeline] withDockerContainer [2022-04-10T05:23:31.159Z] prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container [2022-04-10T05:23:31.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:23:31.571Z] $ docker top 9a493112c22bcd96f802cd8a96eee60776f93760da2fad58ab8b4e9a6577529e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:23:31.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:23:31.665Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:23:31.806Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:23:31.813Z] $ docker exec 9a493112c22bcd96f802cd8a96eee60776f93760da2fad58ab8b4e9a6577529e ssh-agent [2022-04-10T05:23:31.943Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkOelCp/agent.14 [2022-04-10T05:23:31.943Z] SSH_AGENT_PID=20 [2022-04-10T05:23:31.948Z] Running ssh-add (command line suppressed) [2022-04-10T05:23:32.071Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7412012174360922006.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7412012174360922006.key) [2022-04-10T05:23:32.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:23:32.378Z] + git semver push [2022-04-10T05:23:32.378Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:23:32.378Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-10T05:23:32.378Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-10T05:23:32.379Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:23:32.379Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:23:32.379Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:23:32.379Z] # $SEMVER_BRANCH = main [2022-04-10T05:23:32.379Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-10T05:23:33.782Z] $ docker exec --env ******** --env ******** 9a493112c22bcd96f802cd8a96eee60776f93760da2fad58ab8b4e9a6577529e ssh-agent -k [2022-04-10T05:23:33.891Z] unset SSH_AUTH_SOCK; [2022-04-10T05:23:33.891Z] unset SSH_AGENT_PID; [2022-04-10T05:23:33.893Z] echo Agent pid 20 killed; [2022-04-10T05:23:33.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:23:34.206Z] + git semver [Pipeline] } [2022-04-10T05:23:34.224Z] $ docker stop --time=1 9a493112c22bcd96f802cd8a96eee60776f93760da2fad58ab8b4e9a6577529e [2022-04-10T05:23:35.514Z] $ docker rm -f 9a493112c22bcd96f802cd8a96eee60776f93760da2fad58ab8b4e9a6577529e [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 [2022-04-10T05:23:36.080Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-04-10T05:23:36.080Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-10T05:23:36.080Z] total 16 [2022-04-10T05:23:36.080Z] drwxr-xr-x 3 root root 4096 Apr 10 05:07 . [2022-04-10T05:23:36.080Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 05:23 .. [2022-04-10T05:23:36.080Z] drwxr-xr-x 2 root root 4096 Apr 10 05:07 cost [2022-04-10T05:23:36.080Z] -rw-r--r-- 1 root root 86 Apr 10 05:07 cost.csv [2022-04-10T05:23:36.080Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-10T05:23:36.080Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-10T05:23:36.080Z] total 16 [2022-04-10T05:23:36.080Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:07 . [2022-04-10T05:23:36.080Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 05:23 .. [2022-04-10T05:23:36.080Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:07 cost [2022-04-10T05:23:36.080Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 10 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:36.461Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:37.330Z] ---> package-listing.sh [2022-04-10T05:23:37.330Z] ++ facter osfamily [2022-04-10T05:23:37.330Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T05:23:37.589Z] + OS_FAMILY=debian [2022-04-10T05:23:37.589Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-04-10T05:23:37.589Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T05:23:37.589Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T05:23:37.589Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T05:23:37.589Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T05:23:37.589Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-10T05:23:37.589Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T05:23:37.589Z] + case "${OS_FAMILY}" in [2022-04-10T05:23:37.589Z] + dpkg -l [2022-04-10T05:23:37.589Z] + grep '^ii' [2022-04-10T05:23:37.589Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T05:23:37.589Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T05:23:37.589Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T05:23:37.589Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-10T05:23:37.589Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-04-10T05:23:37.589Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-04-10T05:23:37.601Z] 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 [2022-04-10T05:23:37.880Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:38.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:23:38.433Z] . [Pipeline] withDockerContainer [2022-04-10T05:23:38.499Z] prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container [2022-04-10T05:23:38.536Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T05:23:38.795Z] $ docker top b0ba07877aaa47accc8f112d5ff8940160809272e82cb3e532420de9d737323c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:23:39.168Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T05:23:39.455Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T05:23:39.744Z] + ls /var/log/sa-host [2022-04-10T05:23:39.744Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:23:39.830Z] provisioning config files... [2022-04-10T05:23:39.838Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6086372891699956533tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:23:39.848Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:40.131Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T05:23:40.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:40.464Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T05:23:40.473Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:40.756Z] ---> sudo-logs.sh [2022-04-10T05:23:40.756Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T05:23:40.778Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:41.061Z] ---> job-cost.sh [2022-04-10T05:23:41.062Z] lf-activate-venv: SKIPPING [2022-04-10T05:23:41.062Z] DEBUG: total: 0.2199999988079071 [2022-04-10T05:23:41.062Z] INFO: Retrieving Stack Cost... [2022-04-10T05:23:41.321Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:23:41.892Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T05:23:41.908Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:42.194Z] ---> logs-deploy.sh [2022-04-10T05:23:42.194Z] lf-activate-venv: SKIPPING [2022-04-10T05:23:42.194Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/28 [2022-04-10T05:23:42.194Z] INFO: archiving workspace using pattern(s): [2022-04-10T05:23:43.136Z] Archives upload complete. [2022-04-10T05:23:43.136Z] INFO: archiving logs to Nexus