Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f99c6f6f95ddf2a2695655a7f109a71384649ab 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-ssh17229550850073476575.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-ssh17542406065480198969.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-ssh4321083288762692330.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-ssh8140007592167067085.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-ssh2490120474829900994.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 ‘prd-ubuntu20.04-docker-8c-8g-7859’ Running on prd-ubuntu20.04-docker-8c-8g-7861 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 8f99c6f6f95ddf2a2695655a7f109a71384649ab (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 8f99c6f6f95ddf2a2695655a7f109a71384649ab # timeout=10 Commit message: "Merge pull request #315 from hahattan/bump-go-mods" > git rev-list --no-walk 8f99c6f6f95ddf2a2695655a7f109a71384649ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T17:15:50.521Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T17:15:50.603Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T17:15:50.628Z] ========================================================= [2022-03-17T17:15:50.628Z] EdgeX Global Pipelines Version Info [2022-03-17T17:15:50.628Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:15:51.386Z] ------------------- [2022-03-17T17:15:51.386Z] stable info: [2022-03-17T17:15:51.386Z] ------------------- [2022-03-17T17:15:51.386Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T17:15:51.386Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T17:15:51.386Z] Message: update stable to v1.0.221 [2022-03-17T17:15:51.962Z] ------------------- [2022-03-17T17:15:51.962Z] experimental info: [2022-03-17T17:15:51.962Z] ------------------- [2022-03-17T17:15:51.962Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T17:15:51.962Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T17:15:51.962Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T17:15:52.085Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-03-17T17:15:52.097Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-03-17T17:15:52.107Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T17:15:52.122Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T17:15:52.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T17:15:52.150Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T17:15:52.164Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T17:15:52.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-17T17:15:52.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T17:15:52.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T17:15:52.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T17:15:52.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-03-17T17:15:52.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T17:15:52.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T17:15:52.281Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T17:15:52.290Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T17:15:52.304Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T17:15:52.319Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T17:15:52.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T17:15:52.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-17T17:15:52.367Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-17T17:15:52.383Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-17T17:15:52.397Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T17:15:52.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T17:15:52.422Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-17T17:15:52.434Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T17:15:52.449Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-17T17:15:52.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-17T17:15:52.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-17T17:15:52.487Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] echo [2022-03-17T17:15:52.498Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f99c6f [Pipeline] echo [2022-03-17T17:15:52.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T17:15:52.552Z] provisioning config files... [2022-03-17T17:15:52.565Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4246564033667817912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:15:52.873Z] ---> docker-login.sh [2022-03-17T17:15:52.873Z] nexus3.edgexfoundry.org:10001 [2022-03-17T17:15:53.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:15:53.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:15:53.135Z] Configure a credential helper to remove this warning. See [2022-03-17T17:15:53.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:15:53.135Z] [2022-03-17T17:15:53.135Z] Login Succeeded [2022-03-17T17:15:53.135Z] nexus3.edgexfoundry.org:10002 [2022-03-17T17:15:53.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:15:53.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:15:53.397Z] Configure a credential helper to remove this warning. See [2022-03-17T17:15:53.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:15:53.397Z] [2022-03-17T17:15:53.397Z] Login Succeeded [2022-03-17T17:15:53.397Z] nexus3.edgexfoundry.org:10003 [2022-03-17T17:15:53.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:15:53.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:15:53.397Z] Configure a credential helper to remove this warning. See [2022-03-17T17:15:53.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:15:53.397Z] [2022-03-17T17:15:53.397Z] Login Succeeded [2022-03-17T17:15:53.397Z] nexus3.edgexfoundry.org:10004 [2022-03-17T17:15:53.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:15:53.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:15:53.659Z] Configure a credential helper to remove this warning. See [2022-03-17T17:15:53.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:15:53.659Z] [2022-03-17T17:15:53.659Z] Login Succeeded [2022-03-17T17:15:53.659Z] docker.io [2022-03-17T17:15:53.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:15:54.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:15:54.235Z] Configure a credential helper to remove this warning. See [2022-03-17T17:15:54.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:15:54.235Z] [2022-03-17T17:15:54.235Z] Login Succeeded [2022-03-17T17:15:54.235Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T17:15:54.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T17:15:54.625Z] + git rev-list -1 --merges 8f99c6f6f95ddf2a2695655a7f109a71384649ab~1..8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] echo [2022-03-17T17:15:54.685Z] -----------> git rev-list -1 --merges 8f99c6f6f95ddf2a2695655a7f109a71384649ab~1..8f99c6f6f95ddf2a2695655a7f109a71384649ab 8f99c6f6f95ddf2a2695655a7f109a71384649ab [2022-03-17T17:15:54.685Z] 8f99c6f6f95ddf2a2695655a7f109a71384649ab [false] [Pipeline] sh [2022-03-17T17:15:54.978Z] + git log --format=format:%s -1 8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] echo [2022-03-17T17:15:54.995Z] ========================================================= [2022-03-17T17:15:54.995Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T17:15:54.995Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T17:15:55.327Z] + git log --format=format:%s -1 8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] echo [2022-03-17T17:15:55.341Z] [semverPrep] GIT_COMMIT: 8f99c6f6f95ddf2a2695655a7f109a71384649ab, Commit Message: Merge pull request #315 from hahattan/bump-go-mods [Pipeline] echo [2022-03-17T17:15:55.352Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T17:15:55.737Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T17:15:55.737Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T17:15:55.737Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T17:15:55.737Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T17:15:55.737Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T17:15:55.737Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T17:15:55.737Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:15:56.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T17:15:56.089Z] [2022-03-17T17:15:56.089Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:15:56.394Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T17:15:56.394Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T17:15:56.394Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T17:15:56.394Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T17:15:56.394Z] 4c7163046ea9: Pulling fs layer [2022-03-17T17:15:56.394Z] 0c2d73faf560: Pulling fs layer [2022-03-17T17:15:56.394Z] 0c2d73faf560: Waiting [2022-03-17T17:15:56.394Z] 3e5f54012d9b: Verifying Checksum [2022-03-17T17:15:56.394Z] 3e5f54012d9b: Download complete [2022-03-17T17:15:56.394Z] a0d0a0d46f8b: Download complete [2022-03-17T17:15:56.394Z] 0c2d73faf560: Verifying Checksum [2022-03-17T17:15:56.394Z] 0c2d73faf560: Download complete [2022-03-17T17:15:56.655Z] 4c7163046ea9: Verifying Checksum [2022-03-17T17:15:56.655Z] 4c7163046ea9: Download complete [2022-03-17T17:15:56.655Z] a0d0a0d46f8b: Pull complete [2022-03-17T17:15:56.655Z] 3e5f54012d9b: Pull complete [2022-03-17T17:15:57.228Z] 4c7163046ea9: Pull complete [2022-03-17T17:15:57.228Z] 0c2d73faf560: Pull complete [2022-03-17T17:15:57.228Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T17:15:57.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T17:15:57.228Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T17:15:57.303Z] prd-ubuntu20.04-docker-8c-8g-7861 does not seem to be running inside a container [2022-03-17T17:15:57.351Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-17T17:15:58.067Z] $ docker top 4e3d38c9bbe9a42d5d4c4695f5fd2f799e86748a5f1f7293659d0d1d7098f8db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T17:15:58.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T17:15:58.175Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T17:15:58.302Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T17:15:58.311Z] $ docker exec 4e3d38c9bbe9a42d5d4c4695f5fd2f799e86748a5f1f7293659d0d1d7098f8db ssh-agent [2022-03-17T17:15:58.433Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpKkmBe/agent.13 [2022-03-17T17:15:58.433Z] SSH_AGENT_PID=19 [2022-03-17T17:15:58.442Z] Running ssh-add (command line suppressed) [2022-03-17T17:15:58.569Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_155336412873755152.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_155336412873755152.key) [2022-03-17T17:15:58.581Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T17:15:58.871Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T17:15:58.898Z] $ docker exec --env ******** --env ******** 4e3d38c9bbe9a42d5d4c4695f5fd2f799e86748a5f1f7293659d0d1d7098f8db ssh-agent -k [2022-03-17T17:15:59.009Z] unset SSH_AUTH_SOCK; [2022-03-17T17:15:59.010Z] unset SSH_AGENT_PID; [2022-03-17T17:15:59.010Z] echo Agent pid 19 killed; [2022-03-17T17:15:59.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T17:15:59.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T17:15:59.042Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T17:15:59.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T17:15:59.181Z] $ docker exec 4e3d38c9bbe9a42d5d4c4695f5fd2f799e86748a5f1f7293659d0d1d7098f8db ssh-agent [2022-03-17T17:15:59.299Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHMnolm/agent.51 [2022-03-17T17:15:59.300Z] SSH_AGENT_PID=57 [2022-03-17T17:15:59.305Z] Running ssh-add (command line suppressed) [2022-03-17T17:15:59.425Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4489757867252899311.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4489757867252899311.key) [2022-03-17T17:15:59.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T17:15:59.732Z] + git semver init [2022-03-17T17:15:59.732Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T17:15:59.732Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-03-17T17:15:59.732Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-03-17T17:15:59.732Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T17:15:59.732Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T17:15:59.732Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T17:15:59.732Z] # $SEMVER_BRANCH = main [2022-03-17T17:15:59.732Z] # $SEMVER_TEMP = /tmp/semver-044277201 [2022-03-17T17:15:59.732Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-03-17T17:16:00.678Z] # '/tmp/semver-044277201' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-03-17T17:16:00.679Z] # -> Force: false [2022-03-17T17:16:00.679Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-03-17T17:16:00.695Z] $ docker exec --env ******** --env ******** 4e3d38c9bbe9a42d5d4c4695f5fd2f799e86748a5f1f7293659d0d1d7098f8db ssh-agent -k [2022-03-17T17:16:00.820Z] unset SSH_AUTH_SOCK; [2022-03-17T17:16:00.821Z] unset SSH_AGENT_PID; [2022-03-17T17:16:00.822Z] echo Agent pid 57 killed; [2022-03-17T17:16:00.828Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T17:16:01.143Z] + git semver [Pipeline] } [2022-03-17T17:16:01.163Z] $ docker stop --time=1 4e3d38c9bbe9a42d5d4c4695f5fd2f799e86748a5f1f7293659d0d1d7098f8db [2022-03-17T17:16:02.497Z] $ docker rm -f 4e3d38c9bbe9a42d5d4c4695f5fd2f799e86748a5f1f7293659d0d1d7098f8db [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T17:16:02.857Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T17:16:03.303Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T17:16:03.306Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T17:16:03.463Z] provisioning config files... [2022-03-17T17:16:03.475Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2668463906591193526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:16:03.776Z] ---> docker-login.sh [2022-03-17T17:16:03.776Z] nexus3.edgexfoundry.org:10001 [2022-03-17T17:16:03.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:16:03.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:16:03.776Z] Configure a credential helper to remove this warning. See [2022-03-17T17:16:03.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:16:03.776Z] [2022-03-17T17:16:03.776Z] Login Succeeded [2022-03-17T17:16:03.776Z] nexus3.edgexfoundry.org:10002 [2022-03-17T17:16:03.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:16:04.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:16:04.038Z] Configure a credential helper to remove this warning. See [2022-03-17T17:16:04.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:16:04.038Z] [2022-03-17T17:16:04.038Z] Login Succeeded [2022-03-17T17:16:04.038Z] nexus3.edgexfoundry.org:10003 [2022-03-17T17:16:04.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:16:04.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:16:04.038Z] Configure a credential helper to remove this warning. See [2022-03-17T17:16:04.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:16:04.038Z] [2022-03-17T17:16:04.038Z] Login Succeeded [2022-03-17T17:16:04.038Z] nexus3.edgexfoundry.org:10004 [2022-03-17T17:16:04.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:16:04.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:16:04.299Z] Configure a credential helper to remove this warning. See [2022-03-17T17:16:04.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:16:04.299Z] [2022-03-17T17:16:04.299Z] Login Succeeded [2022-03-17T17:16:04.299Z] docker.io [2022-03-17T17:16:04.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:16:04.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:16:04.561Z] Configure a credential helper to remove this warning. See [2022-03-17T17:16:04.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:16:04.561Z] [2022-03-17T17:16:04.561Z] Login Succeeded [2022-03-17T17:16:04.561Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T17:16:04.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T17:16:04.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T17:16:04.651Z] ========================================================= [2022-03-17T17:16:04.651Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T17:16:04.651Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:16:04.969Z] + 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-03-17T17:16:04.969Z] Sending build context to Docker daemon 5.714MB [2022-03-17T17:16:04.969Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T17:16:04.969Z] Step 2/10 : FROM ${BASE} AS builder [2022-03-17T17:16:04.969Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T17:16:04.969Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T17:16:04.969Z] 666ba61612fd: Pulling fs layer [2022-03-17T17:16:04.969Z] 8ed8ca486205: Pulling fs layer [2022-03-17T17:16:04.969Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T17:16:04.969Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T17:16:04.969Z] 640e595b4fbd: Pulling fs layer [2022-03-17T17:16:04.969Z] 763cafe07f6e: Pulling fs layer [2022-03-17T17:16:04.969Z] 4fe6c5a15a65: Waiting [2022-03-17T17:16:04.969Z] 22a0e8bec74d: Waiting [2022-03-17T17:16:04.969Z] 640e595b4fbd: Waiting [2022-03-17T17:16:04.969Z] 0c0b528cf693: Pulling fs layer [2022-03-17T17:16:04.969Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T17:16:04.969Z] 763cafe07f6e: Waiting [2022-03-17T17:16:04.969Z] 0c0b528cf693: Waiting [2022-03-17T17:16:04.969Z] 10935f4eaf8b: Waiting [2022-03-17T17:16:04.969Z] 8ed8ca486205: Verifying Checksum [2022-03-17T17:16:04.969Z] 8ed8ca486205: Download complete [2022-03-17T17:16:05.229Z] 666ba61612fd: Download complete [2022-03-17T17:16:05.229Z] 22a0e8bec74d: Download complete [2022-03-17T17:16:05.229Z] 640e595b4fbd: Verifying Checksum [2022-03-17T17:16:05.229Z] 640e595b4fbd: Download complete [2022-03-17T17:16:05.229Z] 59bf1c3509f3: Download complete [2022-03-17T17:16:05.229Z] 763cafe07f6e: Verifying Checksum [2022-03-17T17:16:05.229Z] 763cafe07f6e: Download complete [2022-03-17T17:16:05.229Z] 0c0b528cf693: Verifying Checksum [2022-03-17T17:16:05.229Z] 0c0b528cf693: Download complete [2022-03-17T17:16:05.229Z] 59bf1c3509f3: Pull complete [2022-03-17T17:16:05.491Z] 666ba61612fd: Pull complete [2022-03-17T17:16:05.491Z] 8ed8ca486205: Pull complete [2022-03-17T17:16:05.752Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T17:16:05.752Z] 10935f4eaf8b: Download complete [2022-03-17T17:16:06.012Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T17:16:06.012Z] 4fe6c5a15a65: Download complete [2022-03-17T17:16:10.219Z] 4fe6c5a15a65: Pull complete [2022-03-17T17:16:10.219Z] 22a0e8bec74d: Pull complete [2022-03-17T17:16:10.219Z] 640e595b4fbd: Pull complete [2022-03-17T17:16:10.219Z] 763cafe07f6e: Pull complete [2022-03-17T17:16:10.479Z] 0c0b528cf693: Pull complete [2022-03-17T17:16:13.023Z] 10935f4eaf8b: Pull complete [2022-03-17T17:16:13.023Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T17:16:13.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T17:16:13.023Z] ---> 99d49a6021b9 [2022-03-17T17:16:13.023Z] Step 3/10 : ARG MAKE='make build' [2022-03-17T17:16:13.966Z] ---> Running in c84f11381a29 [2022-03-17T17:16:14.226Z] Removing intermediate container c84f11381a29 [2022-03-17T17:16:14.226Z] ---> 130bd1fa323b [2022-03-17T17:16:14.226Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T17:16:14.226Z] ---> Running in 0bf1d1c81724 [2022-03-17T17:16:14.798Z] Removing intermediate container 0bf1d1c81724 [2022-03-17T17:16:14.798Z] ---> ce1b8ee76aa5 [2022-03-17T17:16:14.798Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T17:16:14.798Z] ---> Running in 34b91784db7c [2022-03-17T17:16:15.060Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T17:16:16.001Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T17:16:16.263Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-03-17T17:16:16.263Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-03-17T17:16:16.524Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-03-17T17:16:16.524Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-03-17T17:16:16.524Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-03-17T17:16:16.785Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-03-17T17:16:16.785Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-03-17T17:16:16.785Z] (8/8) Installing openssh (8.8_p1-r1) [2022-03-17T17:16:17.045Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T17:16:17.045Z] OK: 226 MiB in 60 packages [2022-03-17T17:16:17.310Z] Removing intermediate container 34b91784db7c [2022-03-17T17:16:17.310Z] ---> ab53697fa053 [2022-03-17T17:16:17.310Z] Step 6/10 : WORKDIR /device-modbus-go [2022-03-17T17:16:17.310Z] ---> Running in 6453a2683b39 [2022-03-17T17:16:17.570Z] Removing intermediate container 6453a2683b39 [2022-03-17T17:16:17.570Z] ---> 969f2510204d [2022-03-17T17:16:17.570Z] Step 7/10 : COPY go.mod vendor* ./ [2022-03-17T17:16:17.570Z] ---> 20d49affc631 [2022-03-17T17:16:17.570Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T17:16:17.832Z] ---> Running in b26ba992859c [2022-03-17T17:16:18.413Z] Still waiting to schedule task [2022-03-17T17:16:18.413Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7860’ is offline [2022-03-17T17:16:44.438Z] Removing intermediate container b26ba992859c [2022-03-17T17:16:44.438Z] ---> 4d25b8d0e515 [2022-03-17T17:16:44.438Z] Step 9/10 : COPY . . [2022-03-17T17:16:44.438Z] ---> 8b6150fd02d6 [2022-03-17T17:16:44.438Z] Step 10/10 : RUN ${MAKE} [2022-03-17T17:16:44.438Z] ---> Running in 4b3de27d7338 [2022-03-17T17:16:44.438Z] noop [2022-03-17T17:16:44.438Z] Removing intermediate container 4b3de27d7338 [2022-03-17T17:16:44.438Z] ---> b41b92ffd630 [2022-03-17T17:16:44.438Z] Successfully built b41b92ffd630 [2022-03-17T17:16:44.438Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:16:44.759Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T17:16:44.759Z] . [Pipeline] withDockerContainer [2022-03-17T17:16:44.833Z] prd-ubuntu20.04-docker-8c-8g-7861 does not seem to be running inside a container [2022-03-17T17:16:44.876Z] $ 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 ******** ci-base-image-x86_64 cat [2022-03-17T17:16:45.264Z] $ docker top df09f5628bb895ccc1797744a206d1d1a39dcdfc0f0e2357a2ad93d24dde2ff8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T17:16:45.622Z] + go version [2022-03-17T17:16:45.622Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T17:16:45.640Z] $ docker stop --time=1 df09f5628bb895ccc1797744a206d1d1a39dcdfc0f0e2357a2ad93d24dde2ff8 [2022-03-17T17:16:46.966Z] $ docker rm -f df09f5628bb895ccc1797744a206d1d1a39dcdfc0f0e2357a2ad93d24dde2ff8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:16:47.369Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T17:16:47.369Z] . [Pipeline] withDockerContainer [2022-03-17T17:16:47.451Z] prd-ubuntu20.04-docker-8c-8g-7861 does not seem to be running inside a container [2022-03-17T17:16:47.492Z] $ 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 ******** ci-base-image-x86_64 cat [2022-03-17T17:16:47.910Z] $ docker top 8a6f800df1614be797b487b9af317d395d6d8bda3a1e41cd0c06642102d841d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T17:16:48.273Z] + make test [2022-03-17T17:16:48.273Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-17T17:16:48.532Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-03-17T17:16:56.663Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-03-17T17:16:56.663Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 46.6% of statements [2022-03-17T17:16:56.663Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T17:16:59.223Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T17:16:59.223Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T17:16:59.223Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T17:16:59.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T17:16:59.258Z] $ docker stop --time=1 8a6f800df1614be797b487b9af317d395d6d8bda3a1e41cd0c06642102d841d2 [2022-03-17T17:17:00.930Z] $ docker rm -f 8a6f800df1614be797b487b9af317d395d6d8bda3a1e41cd0c06642102d841d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T17:17:01.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T17:17:01.371Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-17T17:17:01.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T17:17:02.279Z] + ls -al . [2022-03-17T17:17:02.279Z] total 188 [2022-03-17T17:17:02.279Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 17:16 . [2022-03-17T17:17:02.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 17:15 .. [2022-03-17T17:17:02.279Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 17:15 .dockerignore [2022-03-17T17:17:02.280Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 17:15 .git [2022-03-17T17:17:02.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 17:15 .github [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 17 17:15 .gitignore [2022-03-17T17:17:02.280Z] drwx------ 3 jenkins jenkins 4096 Mar 17 17:16 .semver [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 8106 Mar 17 17:15 Attribution.txt [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 6038 Mar 17 17:15 CHANGELOG.md [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 1546 Mar 17 17:15 Dockerfile [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 17:15 GOVERNANCE.md [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 679 Mar 17 17:15 Jenkinsfile [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 17:15 LICENSE [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 1009 Mar 17 17:15 Makefile [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 17 17:15 OWNERS.md [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 3680 Mar 17 17:15 README.md [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 17:16 VERSION [2022-03-17T17:17:02.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 17:15 bin [2022-03-17T17:17:02.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 17:15 cmd [2022-03-17T17:17:02.280Z] -rw-r--r-- 1 jenkins jenkins 23727 Mar 17 17:16 coverage.out [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 2974 Mar 17 17:15 go.mod [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 50753 Mar 17 17:15 go.sum [2022-03-17T17:17:02.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 17:15 internal [2022-03-17T17:17:02.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 17:15 simulator [2022-03-17T17:17:02.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 17:15 snap [2022-03-17T17:17:02.280Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 17 17:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:02.587Z] + 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=8f99c6f6f95ddf2a2695655a7f109a71384649ab --label arch=amd64 --label version=2.2.0-dev.7 . [2022-03-17T17:17:02.587Z] Sending build context to Docker daemon 5.738MB [2022-03-17T17:17:02.587Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T17:17:02.587Z] Step 2/23 : FROM ${BASE} AS builder [2022-03-17T17:17:02.587Z] ---> b41b92ffd630 [2022-03-17T17:17:02.587Z] Step 3/23 : ARG MAKE='make build' [2022-03-17T17:17:02.587Z] ---> Running in 5e4e910f0e63 [2022-03-17T17:17:02.848Z] Removing intermediate container 5e4e910f0e63 [2022-03-17T17:17:02.848Z] ---> 3f18cc556694 [2022-03-17T17:17:02.848Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T17:17:02.848Z] ---> Running in 0a249803b4b5 [2022-03-17T17:17:03.423Z] Removing intermediate container 0a249803b4b5 [2022-03-17T17:17:03.423Z] ---> b96cd0853c5c [2022-03-17T17:17:03.423Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T17:17:03.685Z] ---> Running in 9a139082e177 [2022-03-17T17:17:03.947Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T17:17:04.901Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T17:17:04.901Z] OK: 226 MiB in 60 packages [2022-03-17T17:17:05.479Z] Removing intermediate container 9a139082e177 [2022-03-17T17:17:05.479Z] ---> 8ed44d41355c [2022-03-17T17:17:05.479Z] Step 6/23 : WORKDIR /device-modbus-go [2022-03-17T17:17:05.479Z] ---> Running in c1237878ffca [2022-03-17T17:17:05.479Z] Removing intermediate container c1237878ffca [2022-03-17T17:17:05.479Z] ---> b5c917e2a5d8 [2022-03-17T17:17:05.479Z] Step 7/23 : COPY go.mod vendor* ./ [2022-03-17T17:17:05.741Z] ---> 33186bbe6246 [2022-03-17T17:17:05.741Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T17:17:05.741Z] ---> Running in 46d73f058d06 [2022-03-17T17:17:06.313Z] Removing intermediate container 46d73f058d06 [2022-03-17T17:17:06.313Z] ---> 1cabbc17478c [2022-03-17T17:17:06.313Z] Step 9/23 : COPY . . [2022-03-17T17:17:06.885Z] ---> fc1e376c531c [2022-03-17T17:17:06.885Z] Step 10/23 : RUN ${MAKE} [2022-03-17T17:17:06.885Z] ---> Running in 8baf7642f8e0 [2022-03-17T17:17:07.147Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.7" -o cmd/device-modbus ./cmd [2022-03-17T17:17:15.284Z] Removing intermediate container 8baf7642f8e0 [2022-03-17T17:17:15.284Z] ---> 5b57cac1ce58 [2022-03-17T17:17:15.284Z] Step 11/23 : FROM alpine:3.14 [2022-03-17T17:17:15.546Z] 3.14: Pulling from library/alpine [2022-03-17T17:17:15.546Z] 36ccefbf3d8a: Pulling fs layer [2022-03-17T17:17:15.813Z] 36ccefbf3d8a: Verifying Checksum [2022-03-17T17:17:15.813Z] 36ccefbf3d8a: Download complete [2022-03-17T17:17:16.073Z] 36ccefbf3d8a: Pull complete [2022-03-17T17:17:16.074Z] Digest: sha256:f1ed84ca390bf30ed80fcfe093f9cecee089b022277b15c9a6abcf5ebfd496ae [2022-03-17T17:17:16.074Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T17:17:16.074Z] ---> a33ac4f1069a [2022-03-17T17:17:16.074Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-03-17T17:17:16.074Z] ---> Running in 303fc3b27088 [2022-03-17T17:17:16.074Z] Removing intermediate container 303fc3b27088 [2022-03-17T17:17:16.074Z] ---> 00dd8a42474f [2022-03-17T17:17:16.074Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T17:17:16.334Z] ---> Running in 309854c105c1 [2022-03-17T17:17:16.907Z] Removing intermediate container 309854c105c1 [2022-03-17T17:17:16.907Z] ---> d22695387460 [2022-03-17T17:17:16.907Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-17T17:17:16.907Z] ---> Running in 9a81200dad84 [2022-03-17T17:17:17.167Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-17T17:17:18.112Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-17T17:17:18.372Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-17T17:17:18.372Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T17:17:18.634Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-17T17:17:18.634Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T17:17:18.634Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-17T17:17:18.895Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-17T17:17:18.895Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T17:17:18.895Z] OK: 8 MiB in 20 packages [2022-03-17T17:17:19.468Z] Removing intermediate container 9a81200dad84 [2022-03-17T17:17:19.468Z] ---> bad9770a2083 [2022-03-17T17:17:19.468Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-03-17T17:17:19.731Z] ---> 4586a5d71795 [2022-03-17T17:17:19.731Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-03-17T17:17:19.992Z] ---> 7a458c7f05cf [2022-03-17T17:17:19.992Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-03-17T17:17:19.992Z] ---> a664f924a6cc [2022-03-17T17:17:19.992Z] Step 18/23 : EXPOSE 59901 [2022-03-17T17:17:19.992Z] ---> Running in 65903f639cab [2022-03-17T17:17:20.253Z] Removing intermediate container 65903f639cab [2022-03-17T17:17:20.253Z] ---> 5d89bc61813a [2022-03-17T17:17:20.253Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-03-17T17:17:20.253Z] ---> Running in c96af752f6fe [2022-03-17T17:17:20.253Z] Removing intermediate container c96af752f6fe [2022-03-17T17:17:20.253Z] ---> 239ec4d080f7 [2022-03-17T17:17:20.253Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T17:17:20.253Z] ---> Running in b4365f065507 [2022-03-17T17:17:20.513Z] Removing intermediate container b4365f065507 [2022-03-17T17:17:20.513Z] ---> fbefe158a36c [2022-03-17T17:17:20.513Z] Step 21/23 : LABEL arch=amd64 [2022-03-17T17:17:20.513Z] ---> Running in 3e2f5b73aaf2 [2022-03-17T17:17:20.513Z] Removing intermediate container 3e2f5b73aaf2 [2022-03-17T17:17:20.513Z] ---> 3465ee02d98a [2022-03-17T17:17:20.513Z] Step 22/23 : LABEL git_sha=8f99c6f6f95ddf2a2695655a7f109a71384649ab [2022-03-17T17:17:20.773Z] ---> Running in 90fb77945c64 [2022-03-17T17:17:20.773Z] Removing intermediate container 90fb77945c64 [2022-03-17T17:17:20.773Z] ---> 1cc36c0079ef [2022-03-17T17:17:20.773Z] Step 23/23 : LABEL version=2.2.0-dev.7 [2022-03-17T17:17:20.773Z] ---> Running in c59bbae3f282 [2022-03-17T17:17:20.773Z] Removing intermediate container c59bbae3f282 [2022-03-17T17:17:20.773Z] ---> dca33bdd347c [2022-03-17T17:17:20.773Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T17:17:20.773Z] Successfully built dca33bdd347c [2022-03-17T17:17:20.773Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T17:17:20.859Z] provisioning config files... [2022-03-17T17:17:20.871Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1634014140051734323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:17:21.171Z] ---> docker-login.sh [2022-03-17T17:17:21.171Z] nexus3.edgexfoundry.org:10001 [2022-03-17T17:17:21.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:17:21.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:17:21.171Z] Configure a credential helper to remove this warning. See [2022-03-17T17:17:21.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:17:21.171Z] [2022-03-17T17:17:21.171Z] Login Succeeded [2022-03-17T17:17:21.171Z] nexus3.edgexfoundry.org:10002 [2022-03-17T17:17:21.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:17:21.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:17:21.432Z] Configure a credential helper to remove this warning. See [2022-03-17T17:17:21.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:17:21.432Z] [2022-03-17T17:17:21.432Z] Login Succeeded [2022-03-17T17:17:21.432Z] nexus3.edgexfoundry.org:10003 [2022-03-17T17:17:21.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:17:21.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:17:21.432Z] Configure a credential helper to remove this warning. See [2022-03-17T17:17:21.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:17:21.432Z] [2022-03-17T17:17:21.432Z] Login Succeeded [2022-03-17T17:17:21.432Z] nexus3.edgexfoundry.org:10004 [2022-03-17T17:17:21.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:17:21.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:17:21.694Z] Configure a credential helper to remove this warning. See [2022-03-17T17:17:21.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:17:21.694Z] [2022-03-17T17:17:21.694Z] Login Succeeded [2022-03-17T17:17:21.694Z] docker.io [2022-03-17T17:17:21.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:17:21.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:17:21.955Z] Configure a credential helper to remove this warning. See [2022-03-17T17:17:21.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:17:21.955Z] [2022-03-17T17:17:21.955Z] Login Succeeded [2022-03-17T17:17:21.955Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T17:17:21.963Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T17:17:21.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T17:17:22.019Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-03-17T17:17:22.019Z] 8f99c6f6f95ddf2a2695655a7f109a71384649ab [2022-03-17T17:17:22.019Z] latest [2022-03-17T17:17:22.019Z] 2.2.0-dev.7 [2022-03-17T17:17:22.019Z] 8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 [2022-03-17T17:17:22.019Z] main [2022-03-17T17:17:22.019Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:22.345Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:22.705Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab [2022-03-17T17:17:22.705Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-03-17T17:17:22.705Z] 8fd1ce517b41: Preparing [2022-03-17T17:17:22.705Z] 22fb36bbafc9: Preparing [2022-03-17T17:17:22.705Z] 6b4b26809170: Preparing [2022-03-17T17:17:22.705Z] 59d42c29e254: Preparing [2022-03-17T17:17:22.705Z] aeee385d617a: Preparing [2022-03-17T17:17:22.705Z] 2e38978dfe40: Preparing [2022-03-17T17:17:22.705Z] 2e38978dfe40: Waiting [2022-03-17T17:17:22.705Z] aeee385d617a: Pushed [2022-03-17T17:17:22.705Z] 8fd1ce517b41: Pushed [2022-03-17T17:17:22.705Z] 22fb36bbafc9: Pushed [2022-03-17T17:17:22.705Z] 2e38978dfe40: Layer already exists [2022-03-17T17:17:23.023Z] 59d42c29e254: Pushed [2022-03-17T17:17:24.415Z] 6b4b26809170: Pushed [2022-03-17T17:17:24.415Z] 8f99c6f6f95ddf2a2695655a7f109a71384649ab: digest: sha256:3ff7000c61d6c90016c003daa8c96ddb710d88c59cd9346e61b1e2baea862077 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:24.721Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:25.017Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-03-17T17:17:25.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-03-17T17:17:25.017Z] 8fd1ce517b41: Preparing [2022-03-17T17:17:25.017Z] 22fb36bbafc9: Preparing [2022-03-17T17:17:25.017Z] 6b4b26809170: Preparing [2022-03-17T17:17:25.017Z] 59d42c29e254: Preparing [2022-03-17T17:17:25.017Z] aeee385d617a: Preparing [2022-03-17T17:17:25.017Z] 2e38978dfe40: Preparing [2022-03-17T17:17:25.017Z] 2e38978dfe40: Waiting [2022-03-17T17:17:25.017Z] 8fd1ce517b41: Layer already exists [2022-03-17T17:17:25.017Z] 6b4b26809170: Layer already exists [2022-03-17T17:17:25.017Z] aeee385d617a: Layer already exists [2022-03-17T17:17:25.017Z] 22fb36bbafc9: Layer already exists [2022-03-17T17:17:25.017Z] 59d42c29e254: Layer already exists [2022-03-17T17:17:25.017Z] 2e38978dfe40: Layer already exists [2022-03-17T17:17:25.017Z] latest: digest: sha256:3ff7000c61d6c90016c003daa8c96ddb710d88c59cd9346e61b1e2baea862077 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:25.321Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:25.621Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.7 [2022-03-17T17:17:25.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-03-17T17:17:25.621Z] 8fd1ce517b41: Preparing [2022-03-17T17:17:25.621Z] 22fb36bbafc9: Preparing [2022-03-17T17:17:25.621Z] 6b4b26809170: Preparing [2022-03-17T17:17:25.621Z] 59d42c29e254: Preparing [2022-03-17T17:17:25.621Z] aeee385d617a: Preparing [2022-03-17T17:17:25.621Z] 2e38978dfe40: Preparing [2022-03-17T17:17:25.621Z] 2e38978dfe40: Waiting [2022-03-17T17:17:25.621Z] 22fb36bbafc9: Layer already exists [2022-03-17T17:17:25.621Z] aeee385d617a: Layer already exists [2022-03-17T17:17:25.621Z] 59d42c29e254: Layer already exists [2022-03-17T17:17:25.621Z] 6b4b26809170: Layer already exists [2022-03-17T17:17:25.621Z] 8fd1ce517b41: Layer already exists [2022-03-17T17:17:25.621Z] 2e38978dfe40: Layer already exists [2022-03-17T17:17:25.621Z] 2.2.0-dev.7: digest: sha256:3ff7000c61d6c90016c003daa8c96ddb710d88c59cd9346e61b1e2baea862077 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:25.926Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:26.228Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 [2022-03-17T17:17:26.229Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-03-17T17:17:26.229Z] 8fd1ce517b41: Preparing [2022-03-17T17:17:26.229Z] 22fb36bbafc9: Preparing [2022-03-17T17:17:26.229Z] 6b4b26809170: Preparing [2022-03-17T17:17:26.229Z] 59d42c29e254: Preparing [2022-03-17T17:17:26.229Z] aeee385d617a: Preparing [2022-03-17T17:17:26.229Z] 2e38978dfe40: Preparing [2022-03-17T17:17:26.229Z] 2e38978dfe40: Waiting [2022-03-17T17:17:26.229Z] aeee385d617a: Layer already exists [2022-03-17T17:17:26.229Z] 22fb36bbafc9: Layer already exists [2022-03-17T17:17:26.229Z] 8fd1ce517b41: Layer already exists [2022-03-17T17:17:26.229Z] 59d42c29e254: Layer already exists [2022-03-17T17:17:26.229Z] 6b4b26809170: Layer already exists [2022-03-17T17:17:26.229Z] 2e38978dfe40: Layer already exists [2022-03-17T17:17:26.229Z] 8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7: digest: sha256:3ff7000c61d6c90016c003daa8c96ddb710d88c59cd9346e61b1e2baea862077 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:26.537Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:26.836Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-03-17T17:17:26.836Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-03-17T17:17:26.836Z] 8fd1ce517b41: Preparing [2022-03-17T17:17:26.836Z] 22fb36bbafc9: Preparing [2022-03-17T17:17:26.836Z] 6b4b26809170: Preparing [2022-03-17T17:17:26.836Z] 59d42c29e254: Preparing [2022-03-17T17:17:26.836Z] aeee385d617a: Preparing [2022-03-17T17:17:26.836Z] 2e38978dfe40: Preparing [2022-03-17T17:17:26.836Z] 2e38978dfe40: Waiting [2022-03-17T17:17:26.836Z] 6b4b26809170: Layer already exists [2022-03-17T17:17:26.836Z] 22fb36bbafc9: Layer already exists [2022-03-17T17:17:26.836Z] aeee385d617a: Layer already exists [2022-03-17T17:17:26.836Z] 8fd1ce517b41: Layer already exists [2022-03-17T17:17:26.836Z] 59d42c29e254: Layer already exists [2022-03-17T17:17:26.836Z] 2e38978dfe40: Layer already exists [2022-03-17T17:17:26.836Z] main: digest: sha256:3ff7000c61d6c90016c003daa8c96ddb710d88c59cd9346e61b1e2baea862077 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T17:17:26.873Z] ===================================================== [Pipeline] echo [2022-03-17T17:17:26.884Z] taggedImages: [2022-03-17T17:17:26.884Z] - nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab [2022-03-17T17:17:26.884Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-03-17T17:17:26.884Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.7 [2022-03-17T17:17:26.884Z] - nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 [2022-03-17T17:17:26.884Z] - 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-03-17T17:17:27.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T17:17:27.301Z] [2022-03-17T17:17:27.301Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:17:27.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T17:17:27.608Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T17:17:27.608Z] 5eb5b503b376: Pulling fs layer [2022-03-17T17:17:27.608Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T17:17:27.608Z] ec43610c2a17: Pulling fs layer [2022-03-17T17:17:27.608Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T17:17:27.608Z] 33b1e0a273af: Pulling fs layer [2022-03-17T17:17:27.608Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T17:17:27.608Z] 2f39f015ded8: Pulling fs layer [2022-03-17T17:17:27.608Z] 33b1e0a273af: Waiting [2022-03-17T17:17:27.608Z] 3a2ae6a8a46f: Waiting [2022-03-17T17:17:27.608Z] 5d3b04190fa2: Waiting [2022-03-17T17:17:27.608Z] 5c69ac0246d0: Verifying Checksum [2022-03-17T17:17:27.608Z] 5c69ac0246d0: Download complete [2022-03-17T17:17:27.608Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-17T17:17:27.608Z] 3a2ae6a8a46f: Download complete [2022-03-17T17:17:27.608Z] 33b1e0a273af: Verifying Checksum [2022-03-17T17:17:27.608Z] 33b1e0a273af: Download complete [2022-03-17T17:17:27.608Z] 5d3b04190fa2: Verifying Checksum [2022-03-17T17:17:27.608Z] 5d3b04190fa2: Download complete [2022-03-17T17:17:27.608Z] ec43610c2a17: Verifying Checksum [2022-03-17T17:17:27.608Z] ec43610c2a17: Download complete [2022-03-17T17:17:27.867Z] 5eb5b503b376: Verifying Checksum [2022-03-17T17:17:27.867Z] 5eb5b503b376: Download complete [2022-03-17T17:17:28.436Z] 2f39f015ded8: Download complete [2022-03-17T17:17:29.375Z] 5eb5b503b376: Pull complete [2022-03-17T17:17:29.375Z] 5c69ac0246d0: Pull complete [2022-03-17T17:17:29.942Z] ec43610c2a17: Pull complete [2022-03-17T17:17:29.942Z] 3a2ae6a8a46f: Pull complete [2022-03-17T17:17:30.202Z] 33b1e0a273af: Pull complete [2022-03-17T17:17:30.462Z] 5d3b04190fa2: Pull complete [2022-03-17T17:17:35.747Z] 2f39f015ded8: Pull complete [2022-03-17T17:17:35.747Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T17:17:35.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T17:17:35.747Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T17:17:35.819Z] prd-ubuntu20.04-docker-8c-8g-7861 does not seem to be running inside a container [2022-03-17T17:17:35.861Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-17T17:17:37.515Z] $ docker top 60931e0e5d13faa5eaeaded32bf013504e14f4f8d41e79091a1ccb136ed6c107 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:17:37.921Z] ---> job-cost.sh [2022-03-17T17:17:37.921Z] lf-activate-venv: SKIPPING [2022-03-17T17:17:37.921Z] INFO: No Stack... [2022-03-17T17:17:38.181Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T17:17:38.753Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T17:17:39.050Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-03-17T17:17:39.050Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T17:17:39.066Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-25-stack-cost] [2022-03-17T17:17:39.072Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-25-stack-cost] did not exist. Created. [2022-03-17T17:17:39.072Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T17:17:39.377Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T17:17:39.404Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T17:17:39.410Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T17:17:39.436Z] $ docker stop --time=1 60931e0e5d13faa5eaeaded32bf013504e14f4f8d41e79091a1ccb136ed6c107 [2022-03-17T17:17:40.619Z] $ docker rm -f 60931e0e5d13faa5eaeaded32bf013504e14f4f8d41e79091a1ccb136ed6c107 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T17:18:00.055Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7862 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-03-17T17:18:00.063Z] Running in /w/workspace/device-modbus-go/25 [Pipeline] { [Pipeline] checkout [2022-03-17T17:18:00.729Z] Selected Git installation does not exist. Using Default [2022-03-17T17:18:00.730Z] The recommended git tool is: NONE [2022-03-17T17:18:07.413Z] using credential edgex-jenkins-ssh [2022-03-17T17:18:07.432Z] Cloning the remote Git repository [2022-03-17T17:18:07.533Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-03-17T17:18:07.615Z] > git init /w/workspace/device-modbus-go/25 # timeout=10 [2022-03-17T17:18:07.820Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-03-17T17:18:07.821Z] > git --version # timeout=10 [2022-03-17T17:18:07.901Z] > git --version # 'git version 2.25.1' [2022-03-17T17:18:07.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T17:18:08.085Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T17:18:09.476Z] Avoid second fetch [2022-03-17T17:18:09.476Z] Checking out Revision 8f99c6f6f95ddf2a2695655a7f109a71384649ab (main) [2022-03-17T17:18:09.424Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-03-17T17:18:09.460Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T17:18:09.519Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T17:18:09.549Z] > git checkout -f 8f99c6f6f95ddf2a2695655a7f109a71384649ab # timeout=10 [2022-03-17T17:18:13.785Z] Commit message: "Merge pull request #315 from hahattan/bump-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T17:18:14.742Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T17:18:14.742Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T17:18:14.742Z] Dload Upload Total Spent Left Speed [2022-03-17T17:18:14.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 42448 0 --:--:-- --:--:-- --:--:-- 42600 [Pipeline] sh [2022-03-17T17:18:15.313Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T17:18:15.658Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T17:18:15.658Z] + sudo tee /etc/docker/daemon.new [2022-03-17T17:18:15.658Z] { [2022-03-17T17:18:15.658Z] "registry-mirrors": [ [2022-03-17T17:18:15.658Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T17:18:15.658Z] ], [2022-03-17T17:18:15.658Z] "bip": "10.250.0.254/24", [2022-03-17T17:18:15.658Z] "hosts": [ [2022-03-17T17:18:15.658Z] "tcp://0.0.0.0:5555", [2022-03-17T17:18:15.658Z] "unix:///var/run/docker.sock" [2022-03-17T17:18:15.658Z] ], [2022-03-17T17:18:15.658Z] "mtu": 1458, [2022-03-17T17:18:15.658Z] "selinux-enabled": true, [2022-03-17T17:18:15.658Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T17:18:15.658Z] } [Pipeline] sh [2022-03-17T17:18:16.016Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T17:18:16.364Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T17:18:34.796Z] provisioning config files... [2022-03-17T17:18:34.820Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/25@tmp/config5969449437734668914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:18:35.193Z] ---> docker-login.sh [2022-03-17T17:18:35.193Z] nexus3.edgexfoundry.org:10001 [2022-03-17T17:18:35.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:18:36.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:18:36.071Z] Configure a credential helper to remove this warning. See [2022-03-17T17:18:36.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:18:36.071Z] [2022-03-17T17:18:36.071Z] Login Succeeded [2022-03-17T17:18:36.071Z] nexus3.edgexfoundry.org:10002 [2022-03-17T17:18:36.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:18:36.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:18:36.346Z] Configure a credential helper to remove this warning. See [2022-03-17T17:18:36.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:18:36.346Z] [2022-03-17T17:18:36.346Z] Login Succeeded [2022-03-17T17:18:36.624Z] nexus3.edgexfoundry.org:10003 [2022-03-17T17:18:36.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:18:36.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:18:36.899Z] Configure a credential helper to remove this warning. See [2022-03-17T17:18:36.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:18:36.899Z] [2022-03-17T17:18:36.899Z] Login Succeeded [2022-03-17T17:18:36.899Z] nexus3.edgexfoundry.org:10004 [2022-03-17T17:18:37.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:18:37.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:18:37.501Z] Configure a credential helper to remove this warning. See [2022-03-17T17:18:37.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:18:37.501Z] [2022-03-17T17:18:37.501Z] Login Succeeded [2022-03-17T17:18:37.501Z] docker.io [2022-03-17T17:18:37.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:18:38.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:18:38.372Z] Configure a credential helper to remove this warning. See [2022-03-17T17:18:38.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:18:38.372Z] [2022-03-17T17:18:38.372Z] Login Succeeded [2022-03-17T17:18:38.372Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T17:18:38.392Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T17:18:38.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T17:18:38.947Z] ========================================================= [2022-03-17T17:18:38.947Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T17:18:38.947Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:18:39.302Z] + 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-03-17T17:18:39.579Z] Sending build context to Docker daemon 2.991MB [2022-03-17T17:18:39.579Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T17:18:39.579Z] Step 2/10 : FROM ${BASE} AS builder [2022-03-17T17:18:39.857Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T17:18:39.857Z] 9b3977197b4f: Pulling fs layer [2022-03-17T17:18:39.857Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T17:18:39.857Z] 94645a83ff95: Pulling fs layer [2022-03-17T17:18:39.857Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T17:18:39.857Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T17:18:39.857Z] f7c0051592d6: Pulling fs layer [2022-03-17T17:18:39.857Z] a227ed2f7395: Pulling fs layer [2022-03-17T17:18:39.857Z] 7b1c46037f91: Pulling fs layer [2022-03-17T17:18:39.857Z] 3f3a8bcf1eab: Waiting [2022-03-17T17:18:39.857Z] 0c92f367c5e7: Waiting [2022-03-17T17:18:39.857Z] f7c0051592d6: Waiting [2022-03-17T17:18:39.857Z] a227ed2f7395: Waiting [2022-03-17T17:18:39.857Z] 7b1c46037f91: Waiting [2022-03-17T17:18:39.857Z] 94645a83ff95: Verifying Checksum [2022-03-17T17:18:39.857Z] 94645a83ff95: Download complete [2022-03-17T17:18:39.857Z] 1a89e8eeedd5: Download complete [2022-03-17T17:18:39.857Z] 0c92f367c5e7: Verifying Checksum [2022-03-17T17:18:39.857Z] 0c92f367c5e7: Download complete [2022-03-17T17:18:39.857Z] f7c0051592d6: Verifying Checksum [2022-03-17T17:18:39.857Z] f7c0051592d6: Download complete [2022-03-17T17:18:39.857Z] 9b3977197b4f: Verifying Checksum [2022-03-17T17:18:39.857Z] 9b3977197b4f: Download complete [2022-03-17T17:18:39.857Z] a227ed2f7395: Verifying Checksum [2022-03-17T17:18:39.857Z] a227ed2f7395: Download complete [2022-03-17T17:18:40.849Z] 9b3977197b4f: Pull complete [2022-03-17T17:18:41.453Z] 1a89e8eeedd5: Pull complete [2022-03-17T17:18:41.731Z] 94645a83ff95: Pull complete [2022-03-17T17:18:42.005Z] 7b1c46037f91: Verifying Checksum [2022-03-17T17:18:42.005Z] 7b1c46037f91: Download complete [2022-03-17T17:18:42.605Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T17:18:42.605Z] 3f3a8bcf1eab: Download complete [2022-03-17T17:18:55.017Z] 3f3a8bcf1eab: Pull complete [2022-03-17T17:18:55.017Z] 0c92f367c5e7: Pull complete [2022-03-17T17:18:55.017Z] f7c0051592d6: Pull complete [2022-03-17T17:18:55.293Z] a227ed2f7395: Pull complete [2022-03-17T17:19:02.029Z] 7b1c46037f91: Pull complete [2022-03-17T17:19:02.029Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T17:19:02.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T17:19:02.029Z] ---> f79e39bc4007 [2022-03-17T17:19:02.029Z] Step 3/10 : ARG MAKE='make build' [2022-03-17T17:19:03.035Z] ---> Running in a0da18c65a62 [2022-03-17T17:19:03.309Z] Removing intermediate container a0da18c65a62 [2022-03-17T17:19:03.309Z] ---> 8d8657510617 [2022-03-17T17:19:03.309Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T17:19:03.309Z] ---> Running in 1a531fb695e0 [2022-03-17T17:19:05.288Z] Removing intermediate container 1a531fb695e0 [2022-03-17T17:19:05.289Z] ---> b88a92914b30 [2022-03-17T17:19:05.289Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T17:19:05.289Z] ---> Running in 4af715ae1815 [2022-03-17T17:19:06.277Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T17:19:07.257Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T17:19:07.859Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-03-17T17:19:07.859Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-03-17T17:19:08.130Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-03-17T17:19:08.130Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-03-17T17:19:08.402Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-03-17T17:19:08.402Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-03-17T17:19:08.402Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-03-17T17:19:08.679Z] (8/8) Installing openssh (8.8_p1-r1) [2022-03-17T17:19:08.679Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T17:19:08.679Z] OK: 226 MiB in 60 packages [2022-03-17T17:19:09.668Z] Removing intermediate container 4af715ae1815 [2022-03-17T17:19:09.668Z] ---> 3fd722c583aa [2022-03-17T17:19:09.668Z] Step 6/10 : WORKDIR /device-modbus-go [2022-03-17T17:19:09.948Z] ---> Running in 0d1c5683d6bc [2022-03-17T17:19:10.225Z] Removing intermediate container 0d1c5683d6bc [2022-03-17T17:19:10.225Z] ---> 1c10818f1f0e [2022-03-17T17:19:10.225Z] Step 7/10 : COPY go.mod vendor* ./ [2022-03-17T17:19:12.217Z] ---> 315268fdac6b [2022-03-17T17:19:12.217Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T17:19:12.217Z] ---> Running in 6e5cacc875a2 [2022-03-17T17:20:34.046Z] Removing intermediate container 6e5cacc875a2 [2022-03-17T17:20:34.046Z] ---> b666e59e91cd [2022-03-17T17:20:34.046Z] Step 9/10 : COPY . . [2022-03-17T17:20:34.046Z] ---> cbacb3f5023b [2022-03-17T17:20:34.046Z] Step 10/10 : RUN ${MAKE} [2022-03-17T17:20:34.046Z] ---> Running in 2ecee7867397 [2022-03-17T17:20:34.046Z] noop [2022-03-17T17:20:34.046Z] Removing intermediate container 2ecee7867397 [2022-03-17T17:20:34.046Z] ---> 6e4f0f5d849c [2022-03-17T17:20:34.046Z] Successfully built 6e4f0f5d849c [2022-03-17T17:20:34.046Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:20:34.397Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T17:20:34.397Z] . [Pipeline] withDockerContainer [2022-03-17T17:20:34.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container [2022-03-17T17:20:34.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/25 -v /w/workspace/device-modbus-go/25:/w/workspace/device-modbus-go/25:rw,z -v /w/workspace/device-modbus-go/25@tmp:/w/workspace/device-modbus-go/25@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-03-17T17:20:36.031Z] $ docker top 785529480b17812e917256bfb9d8715e15e760b4185584cf6e097cb626ad8e03 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T17:20:36.954Z] + go version [2022-03-17T17:20:36.954Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T17:20:36.983Z] $ docker stop --time=1 785529480b17812e917256bfb9d8715e15e760b4185584cf6e097cb626ad8e03 [2022-03-17T17:20:38.650Z] $ docker rm -f 785529480b17812e917256bfb9d8715e15e760b4185584cf6e097cb626ad8e03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:20:39.272Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T17:20:39.272Z] . [Pipeline] withDockerContainer [2022-03-17T17:20:39.517Z] prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container [2022-03-17T17:20:39.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/25 -v /w/workspace/device-modbus-go/25:/w/workspace/device-modbus-go/25:rw,z -v /w/workspace/device-modbus-go/25@tmp:/w/workspace/device-modbus-go/25@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-03-17T17:20:40.869Z] $ docker top 4277b7123c404bbda3c7fa8014ba99555437bd29b65776208b18bf5d45206c2c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T17:20:41.796Z] + make test [2022-03-17T17:20:41.796Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-17T17:20:43.239Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-03-17T17:21:30.292Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-03-17T17:21:31.269Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 46.6% of statements [2022-03-17T17:21:31.542Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T17:21:53.729Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T17:21:53.729Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T17:21:53.729Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T17:21:53.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T17:21:53.774Z] $ docker stop --time=1 4277b7123c404bbda3c7fa8014ba99555437bd29b65776208b18bf5d45206c2c [2022-03-17T17:21:55.512Z] $ docker rm -f 4277b7123c404bbda3c7fa8014ba99555437bd29b65776208b18bf5d45206c2c [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T17:21:56.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T17:21:56.351Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T17:21:56.814Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T17:21:57.209Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T17:21:57.548Z] + ls -al . [2022-03-17T17:21:57.548Z] total 184 [2022-03-17T17:21:57.548Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 17:21 . [2022-03-17T17:21:57.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 17:18 .. [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 17:18 .dockerignore [2022-03-17T17:21:57.548Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 17:18 .git [2022-03-17T17:21:57.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 17:18 .github [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 17 17:18 .gitignore [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 8106 Mar 17 17:18 Attribution.txt [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 6038 Mar 17 17:18 CHANGELOG.md [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 1546 Mar 17 17:18 Dockerfile [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 17:18 GOVERNANCE.md [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 679 Mar 17 17:18 Jenkinsfile [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 17:18 LICENSE [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 1009 Mar 17 17:18 Makefile [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 17 17:18 OWNERS.md [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 3680 Mar 17 17:18 README.md [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 17:16 VERSION [2022-03-17T17:21:57.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 17:18 bin [2022-03-17T17:21:57.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 17:18 cmd [2022-03-17T17:21:57.548Z] -rw-r--r-- 1 jenkins jenkins 23727 Mar 17 17:21 coverage.out [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 2974 Mar 17 17:18 go.mod [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 50753 Mar 17 17:18 go.sum [2022-03-17T17:21:57.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 17:18 internal [2022-03-17T17:21:57.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 17:18 simulator [2022-03-17T17:21:57.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 17:18 snap [2022-03-17T17:21:57.548Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 17 17:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:21:57.900Z] + 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=8f99c6f6f95ddf2a2695655a7f109a71384649ab --label arch=arm64 --label version=2.2.0-dev.7 . [2022-03-17T17:21:58.175Z] Sending build context to Docker daemon 3.015MB [2022-03-17T17:21:58.175Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T17:21:58.175Z] Step 2/23 : FROM ${BASE} AS builder [2022-03-17T17:21:58.175Z] ---> 6e4f0f5d849c [2022-03-17T17:21:58.175Z] Step 3/23 : ARG MAKE='make build' [2022-03-17T17:21:58.449Z] ---> Running in e70e4b84b75e [2022-03-17T17:21:58.723Z] Removing intermediate container e70e4b84b75e [2022-03-17T17:21:58.723Z] ---> 0de3e7770e9c [2022-03-17T17:21:58.723Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T17:21:58.723Z] ---> Running in 45edb7d326ae [2022-03-17T17:22:00.700Z] Removing intermediate container 45edb7d326ae [2022-03-17T17:22:00.700Z] ---> 977bfadaad39 [2022-03-17T17:22:00.700Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T17:22:00.700Z] ---> Running in dbc94a632610 [2022-03-17T17:22:01.311Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T17:22:02.290Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T17:22:03.276Z] OK: 226 MiB in 60 packages [2022-03-17T17:22:03.875Z] Removing intermediate container dbc94a632610 [2022-03-17T17:22:03.875Z] ---> 9ab8e4902452 [2022-03-17T17:22:03.875Z] Step 6/23 : WORKDIR /device-modbus-go [2022-03-17T17:22:03.875Z] ---> Running in 70c895573ae5 [2022-03-17T17:22:04.473Z] Removing intermediate container 70c895573ae5 [2022-03-17T17:22:04.473Z] ---> c122a2f9d2f3 [2022-03-17T17:22:04.473Z] Step 7/23 : COPY go.mod vendor* ./ [2022-03-17T17:22:04.746Z] ---> 514fececfb46 [2022-03-17T17:22:04.746Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T17:22:05.025Z] ---> Running in 14ca63783a4a [2022-03-17T17:22:07.134Z] Removing intermediate container 14ca63783a4a [2022-03-17T17:22:07.134Z] ---> 3c91cd81031c [2022-03-17T17:22:07.134Z] Step 9/23 : COPY . . [2022-03-17T17:22:08.187Z] ---> 5429b9abe6de [2022-03-17T17:22:08.187Z] Step 10/23 : RUN ${MAKE} [2022-03-17T17:22:08.187Z] ---> Running in 8b8624e384a4 [2022-03-17T17:22:09.172Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.7" -o cmd/device-modbus ./cmd [2022-03-17T17:22:56.210Z] Removing intermediate container 8b8624e384a4 [2022-03-17T17:22:56.210Z] ---> c1ae6b97f1a9 [2022-03-17T17:22:56.210Z] Step 11/23 : FROM alpine:3.14 [2022-03-17T17:22:56.210Z] 3.14: Pulling from library/alpine [2022-03-17T17:22:56.210Z] be307f383ecc: Pulling fs layer [2022-03-17T17:22:56.210Z] be307f383ecc: Verifying Checksum [2022-03-17T17:22:56.210Z] be307f383ecc: Download complete [2022-03-17T17:22:56.210Z] be307f383ecc: Pull complete [2022-03-17T17:22:56.210Z] Digest: sha256:f1ed84ca390bf30ed80fcfe093f9cecee089b022277b15c9a6abcf5ebfd496ae [2022-03-17T17:22:56.210Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T17:22:56.210Z] ---> 5b8b7b635229 [2022-03-17T17:22:56.210Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-03-17T17:22:56.210Z] ---> Running in 5397f69461d9 [2022-03-17T17:22:56.210Z] Removing intermediate container 5397f69461d9 [2022-03-17T17:22:56.210Z] ---> 2ad2edad7c40 [2022-03-17T17:22:56.210Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T17:22:56.210Z] ---> Running in 78a30c675f0b [2022-03-17T17:22:56.210Z] Removing intermediate container 78a30c675f0b [2022-03-17T17:22:56.210Z] ---> 34478b929880 [2022-03-17T17:22:56.210Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-17T17:22:56.210Z] ---> Running in 8a287f05dcda [2022-03-17T17:22:56.210Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-17T17:22:56.210Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-17T17:22:56.210Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-17T17:22:56.210Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T17:22:56.210Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-17T17:22:56.210Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T17:22:56.210Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-17T17:22:56.210Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-17T17:22:56.210Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T17:22:56.210Z] OK: 8 MiB in 20 packages [2022-03-17T17:22:56.811Z] Removing intermediate container 8a287f05dcda [2022-03-17T17:22:56.811Z] ---> 2af3804eb17c [2022-03-17T17:22:56.811Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-03-17T17:22:57.792Z] ---> 2084c21f608b [2022-03-17T17:22:57.792Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-03-17T17:22:58.388Z] ---> 44381fd2040d [2022-03-17T17:22:58.388Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-03-17T17:22:58.984Z] ---> a5304d13c0d3 [2022-03-17T17:22:58.985Z] Step 18/23 : EXPOSE 59901 [2022-03-17T17:22:58.985Z] ---> Running in b515858edab1 [2022-03-17T17:22:59.257Z] Removing intermediate container b515858edab1 [2022-03-17T17:22:59.257Z] ---> 0efe6e416862 [2022-03-17T17:22:59.257Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-03-17T17:22:59.257Z] ---> Running in c040bfe9ea2c [2022-03-17T17:22:59.539Z] Removing intermediate container c040bfe9ea2c [2022-03-17T17:22:59.539Z] ---> 7a271836bdec [2022-03-17T17:22:59.539Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T17:22:59.819Z] ---> Running in d416c475d3e8 [2022-03-17T17:23:00.094Z] Removing intermediate container d416c475d3e8 [2022-03-17T17:23:00.094Z] ---> 8169a5b9d479 [2022-03-17T17:23:00.094Z] Step 21/23 : LABEL arch=arm64 [2022-03-17T17:23:00.094Z] ---> Running in 87bb465b3234 [2022-03-17T17:23:00.366Z] Removing intermediate container 87bb465b3234 [2022-03-17T17:23:00.366Z] ---> f14c66a6d185 [2022-03-17T17:23:00.366Z] Step 22/23 : LABEL git_sha=8f99c6f6f95ddf2a2695655a7f109a71384649ab [2022-03-17T17:23:00.366Z] ---> Running in c702dc3fff8e [2022-03-17T17:23:00.645Z] Removing intermediate container c702dc3fff8e [2022-03-17T17:23:00.645Z] ---> f89ea30a39ca [2022-03-17T17:23:00.645Z] Step 23/23 : LABEL version=2.2.0-dev.7 [2022-03-17T17:23:00.920Z] ---> Running in f624daed2023 [2022-03-17T17:23:01.193Z] Removing intermediate container f624daed2023 [2022-03-17T17:23:01.193Z] ---> 99bd3f2a6a33 [2022-03-17T17:23:01.193Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T17:23:01.193Z] Successfully built 99bd3f2a6a33 [2022-03-17T17:23:01.193Z] 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-03-17T17:23:01.284Z] provisioning config files... [2022-03-17T17:23:01.303Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/25@tmp/config695012261406556873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:23:01.664Z] ---> docker-login.sh [2022-03-17T17:23:01.664Z] nexus3.edgexfoundry.org:10001 [2022-03-17T17:23:01.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:23:01.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:23:01.939Z] Configure a credential helper to remove this warning. See [2022-03-17T17:23:01.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:23:01.939Z] [2022-03-17T17:23:01.939Z] Login Succeeded [2022-03-17T17:23:01.939Z] nexus3.edgexfoundry.org:10002 [2022-03-17T17:23:02.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:23:02.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:23:02.534Z] Configure a credential helper to remove this warning. See [2022-03-17T17:23:02.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:23:02.534Z] [2022-03-17T17:23:02.534Z] Login Succeeded [2022-03-17T17:23:02.534Z] nexus3.edgexfoundry.org:10003 [2022-03-17T17:23:02.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:23:03.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:23:03.082Z] Configure a credential helper to remove this warning. See [2022-03-17T17:23:03.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:23:03.082Z] [2022-03-17T17:23:03.082Z] Login Succeeded [2022-03-17T17:23:03.082Z] nexus3.edgexfoundry.org:10004 [2022-03-17T17:23:03.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:23:03.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:23:03.356Z] Configure a credential helper to remove this warning. See [2022-03-17T17:23:03.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:23:03.356Z] [2022-03-17T17:23:03.356Z] Login Succeeded [2022-03-17T17:23:03.356Z] docker.io [2022-03-17T17:23:03.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T17:23:04.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T17:23:04.224Z] Configure a credential helper to remove this warning. See [2022-03-17T17:23:04.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T17:23:04.224Z] [2022-03-17T17:23:04.224Z] Login Succeeded [2022-03-17T17:23:04.224Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T17:23:04.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T17:23:04.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T17:23:04.299Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-03-17T17:23:04.299Z] 8f99c6f6f95ddf2a2695655a7f109a71384649ab [2022-03-17T17:23:04.299Z] latest [2022-03-17T17:23:04.299Z] 2.2.0-dev.7 [2022-03-17T17:23:04.299Z] 8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 [2022-03-17T17:23:04.299Z] main [2022-03-17T17:23:04.299Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:04.642Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:04.982Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab [2022-03-17T17:23:04.982Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-03-17T17:23:04.982Z] 04e38b147924: Preparing [2022-03-17T17:23:04.982Z] fa075dbae3b7: Preparing [2022-03-17T17:23:04.982Z] b4c0991c3208: Preparing [2022-03-17T17:23:04.982Z] 62bd205c559b: Preparing [2022-03-17T17:23:04.982Z] ca604e591513: Preparing [2022-03-17T17:23:04.982Z] 62170e181a92: Preparing [2022-03-17T17:23:04.982Z] 62170e181a92: Waiting [2022-03-17T17:23:05.258Z] fa075dbae3b7: Pushed [2022-03-17T17:23:05.258Z] 04e38b147924: Pushed [2022-03-17T17:23:05.258Z] ca604e591513: Pushed [2022-03-17T17:23:05.258Z] 62170e181a92: Layer already exists [2022-03-17T17:23:05.852Z] 62bd205c559b: Pushed [2022-03-17T17:23:08.465Z] b4c0991c3208: Pushed [2022-03-17T17:23:08.465Z] 8f99c6f6f95ddf2a2695655a7f109a71384649ab: digest: sha256:dde9bf50a0eef0fac78ae20c6558f6679bb729becce3549b9274d4634c02e299 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:08.813Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:09.156Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-03-17T17:23:09.156Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-03-17T17:23:09.156Z] 04e38b147924: Preparing [2022-03-17T17:23:09.156Z] fa075dbae3b7: Preparing [2022-03-17T17:23:09.156Z] b4c0991c3208: Preparing [2022-03-17T17:23:09.156Z] 62bd205c559b: Preparing [2022-03-17T17:23:09.156Z] ca604e591513: Preparing [2022-03-17T17:23:09.156Z] 62170e181a92: Preparing [2022-03-17T17:23:09.156Z] 62170e181a92: Waiting [2022-03-17T17:23:09.156Z] fa075dbae3b7: Layer already exists [2022-03-17T17:23:09.156Z] 04e38b147924: Layer already exists [2022-03-17T17:23:09.156Z] ca604e591513: Layer already exists [2022-03-17T17:23:09.156Z] 62bd205c559b: Layer already exists [2022-03-17T17:23:09.156Z] b4c0991c3208: Layer already exists [2022-03-17T17:23:09.156Z] 62170e181a92: Layer already exists [2022-03-17T17:23:09.427Z] latest: digest: sha256:dde9bf50a0eef0fac78ae20c6558f6679bb729becce3549b9274d4634c02e299 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:09.772Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:10.113Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.7 [2022-03-17T17:23:10.113Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-03-17T17:23:10.113Z] 04e38b147924: Preparing [2022-03-17T17:23:10.113Z] fa075dbae3b7: Preparing [2022-03-17T17:23:10.113Z] b4c0991c3208: Preparing [2022-03-17T17:23:10.113Z] 62bd205c559b: Preparing [2022-03-17T17:23:10.113Z] ca604e591513: Preparing [2022-03-17T17:23:10.113Z] 62170e181a92: Preparing [2022-03-17T17:23:10.113Z] 62170e181a92: Waiting [2022-03-17T17:23:10.113Z] b4c0991c3208: Layer already exists [2022-03-17T17:23:10.113Z] 04e38b147924: Layer already exists [2022-03-17T17:23:10.113Z] ca604e591513: Layer already exists [2022-03-17T17:23:10.113Z] 62bd205c559b: Layer already exists [2022-03-17T17:23:10.113Z] fa075dbae3b7: Layer already exists [2022-03-17T17:23:10.113Z] 62170e181a92: Layer already exists [2022-03-17T17:23:10.386Z] 2.2.0-dev.7: digest: sha256:dde9bf50a0eef0fac78ae20c6558f6679bb729becce3549b9274d4634c02e299 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:10.733Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:11.074Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 [2022-03-17T17:23:11.074Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-03-17T17:23:11.074Z] 04e38b147924: Preparing [2022-03-17T17:23:11.074Z] fa075dbae3b7: Preparing [2022-03-17T17:23:11.074Z] b4c0991c3208: Preparing [2022-03-17T17:23:11.074Z] 62bd205c559b: Preparing [2022-03-17T17:23:11.074Z] ca604e591513: Preparing [2022-03-17T17:23:11.074Z] 62170e181a92: Preparing [2022-03-17T17:23:11.074Z] 62170e181a92: Waiting [2022-03-17T17:23:11.074Z] ca604e591513: Layer already exists [2022-03-17T17:23:11.074Z] fa075dbae3b7: Layer already exists [2022-03-17T17:23:11.074Z] 04e38b147924: Layer already exists [2022-03-17T17:23:11.074Z] b4c0991c3208: Layer already exists [2022-03-17T17:23:11.074Z] 62bd205c559b: Layer already exists [2022-03-17T17:23:11.074Z] 62170e181a92: Layer already exists [2022-03-17T17:23:11.345Z] 8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7: digest: sha256:dde9bf50a0eef0fac78ae20c6558f6679bb729becce3549b9274d4634c02e299 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:11.691Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:12.029Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-03-17T17:23:12.029Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-03-17T17:23:12.029Z] 04e38b147924: Preparing [2022-03-17T17:23:12.029Z] fa075dbae3b7: Preparing [2022-03-17T17:23:12.029Z] b4c0991c3208: Preparing [2022-03-17T17:23:12.029Z] 62bd205c559b: Preparing [2022-03-17T17:23:12.029Z] ca604e591513: Preparing [2022-03-17T17:23:12.029Z] 62170e181a92: Preparing [2022-03-17T17:23:12.029Z] 62170e181a92: Waiting [2022-03-17T17:23:12.029Z] 04e38b147924: Layer already exists [2022-03-17T17:23:12.029Z] ca604e591513: Layer already exists [2022-03-17T17:23:12.029Z] 62bd205c559b: Layer already exists [2022-03-17T17:23:12.029Z] b4c0991c3208: Layer already exists [2022-03-17T17:23:12.029Z] fa075dbae3b7: Layer already exists [2022-03-17T17:23:12.029Z] 62170e181a92: Layer already exists [2022-03-17T17:23:12.300Z] main: digest: sha256:dde9bf50a0eef0fac78ae20c6558f6679bb729becce3549b9274d4634c02e299 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T17:23:12.354Z] ===================================================== [Pipeline] echo [2022-03-17T17:23:12.365Z] taggedImages: [2022-03-17T17:23:12.365Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab [2022-03-17T17:23:12.365Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-03-17T17:23:12.365Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.7 [2022-03-17T17:23:12.365Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 [2022-03-17T17:23:12.365Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:12.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T17:23:12.718Z] [2022-03-17T17:23:12.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:13.064Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T17:23:13.064Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T17:23:13.064Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T17:23:13.064Z] 04944245beec: Pulling fs layer [2022-03-17T17:23:13.064Z] 699f458cf7ca: Pulling fs layer [2022-03-17T17:23:13.064Z] 765212b225bb: Pulling fs layer [2022-03-17T17:23:13.064Z] f23df028b6ca: Pulling fs layer [2022-03-17T17:23:13.064Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T17:23:13.064Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T17:23:13.064Z] f23df028b6ca: Waiting [2022-03-17T17:23:13.064Z] d65c8cfc05b1: Waiting [2022-03-17T17:23:13.064Z] 765212b225bb: Waiting [2022-03-17T17:23:13.064Z] 2437ff75d9bd: Waiting [2022-03-17T17:23:13.339Z] 04944245beec: Verifying Checksum [2022-03-17T17:23:13.340Z] 04944245beec: Download complete [2022-03-17T17:23:13.340Z] 765212b225bb: Download complete [2022-03-17T17:23:13.340Z] f23df028b6ca: Verifying Checksum [2022-03-17T17:23:13.340Z] f23df028b6ca: Download complete [2022-03-17T17:23:13.340Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T17:23:13.340Z] d65c8cfc05b1: Download complete [2022-03-17T17:23:13.616Z] 699f458cf7ca: Verifying Checksum [2022-03-17T17:23:13.616Z] 699f458cf7ca: Download complete [2022-03-17T17:23:13.900Z] 8998bd30e6a1: Download complete [2022-03-17T17:23:16.526Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T17:23:16.526Z] 2437ff75d9bd: Download complete [2022-03-17T17:23:18.502Z] 8998bd30e6a1: Pull complete [2022-03-17T17:23:18.777Z] 04944245beec: Pull complete [2022-03-17T17:23:20.214Z] 699f458cf7ca: Pull complete [2022-03-17T17:23:20.489Z] 765212b225bb: Pull complete [2022-03-17T17:23:21.467Z] f23df028b6ca: Pull complete [2022-03-17T17:23:21.741Z] d65c8cfc05b1: Pull complete [2022-03-17T17:23:36.821Z] 2437ff75d9bd: Pull complete [2022-03-17T17:23:36.821Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T17:23:36.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T17:23:36.821Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T17:23:37.045Z] prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container [2022-03-17T17:23:37.134Z] $ 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/25 -v /w/workspace/device-modbus-go/25:/w/workspace/device-modbus-go/25:rw,z -v /w/workspace/device-modbus-go/25@tmp:/w/workspace/device-modbus-go/25@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-03-17T17:23:39.578Z] $ docker top 73211db97333c3c9ed7532254b1f2e5d83ca1c8b87f631a581bbb470a4a4db25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:23:40.601Z] ---> job-cost.sh [2022-03-17T17:23:40.601Z] lf-activate-venv: SKIPPING [2022-03-17T17:23:40.601Z] INFO: No Stack... [2022-03-17T17:23:41.207Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T17:23:42.184Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T17:23:42.851Z] + cat /w/workspace/device-modbus-go/25/archives/cost.csv [2022-03-17T17:23:42.851Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T17:23:42.912Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-25-stack-cost] [2022-03-17T17:23:42.919Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-25-stack-cost] did not exist. Created. [2022-03-17T17:23:42.920Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T17:23:43.595Z] /w/workspace/device-modbus-go/25@tmp/durable-210b4e9d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T17:23:44.275Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T17:23:44.294Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T17:23:44.344Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T17:23:44.351Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T17:23:44.372Z] $ docker stop --time=1 73211db97333c3c9ed7532254b1f2e5d83ca1c8b87f631a581bbb470a4a4db25 [2022-03-17T17:23:45.844Z] $ docker rm -f 73211db97333c3c9ed7532254b1f2e5d83ca1c8b87f631a581bbb470a4a4db25 [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-03-17T17:23:46.469Z] provisioning config files... [2022-03-17T17:23:46.476Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5660861179000668767tmp [Pipeline] { [Pipeline] sh [2022-03-17T17:23:46.775Z] + set +x [2022-03-17T17:23:46.775Z] + curl -s https://codecov.io/bash [2022-03-17T17:23:46.775Z] + bash -s -- [2022-03-17T17:23:46.775Z] [2022-03-17T17:23:46.775Z] _____ _ [2022-03-17T17:23:46.775Z] / ____| | | [2022-03-17T17:23:46.775Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T17:23:46.775Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T17:23:46.775Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T17:23:46.775Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T17:23:46.775Z] Bash-1.0.6 [2022-03-17T17:23:46.775Z] [2022-03-17T17:23:46.775Z] [2022-03-17T17:23:46.775Z] ==> git version 2.25.1 found [2022-03-17T17:23:46.775Z] ==> 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-03-17T17:23:46.775Z] Release-Date: 2020-01-08 [2022-03-17T17:23:46.775Z] 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-03-17T17:23:46.775Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-17T17:23:46.775Z] ==> Jenkins CI detected. [2022-03-17T17:23:46.775Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-03-17T17:23:46.775Z] project root: . [2022-03-17T17:23:46.775Z] --> token set from env [2022-03-17T17:23:46.775Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T17:23:46.775Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T17:23:47.035Z] ==> Python coveragepy not found [2022-03-17T17:23:47.035Z] ==> Searching for coverage reports in: [2022-03-17T17:23:47.035Z] + . [2022-03-17T17:23:47.035Z] -> Found 1 reports [2022-03-17T17:23:47.035Z] ==> Detecting git/mercurial file structure [2022-03-17T17:23:47.035Z] ==> Reading reports [2022-03-17T17:23:47.035Z] + ./coverage.out bytes=23727 [2022-03-17T17:23:47.035Z] ==> Appending adjustments [2022-03-17T17:23:47.035Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T17:23:47.035Z] + Found adjustments [2022-03-17T17:23:47.035Z] ==> Gzipping contents [2022-03-17T17:23:47.035Z] 4.0K /tmp/codecov.ybUXOO.gz [2022-03-17T17:23:47.035Z] ==> Uploading reports [2022-03-17T17:23:47.035Z] url: https://codecov.io [2022-03-17T17:23:47.035Z] query: branch=main&commit=8f99c6f6f95ddf2a2695655a7f109a71384649ab&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T17:23:47.035Z] -> Pinging Codecov [2022-03-17T17:23:47.035Z] 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=8f99c6f6f95ddf2a2695655a7f109a71384649ab&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T17:23:47.297Z] -> Uploading to [2022-03-17T17:23:47.297Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/55DBCA73C666E3227836607328DD7E49/8f99c6f6f95ddf2a2695655a7f109a71384649ab/4041510d-f244-4d94-8409-3726b985410a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T172347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43cb7046cf656aaa6e3fb2bf7ad6b82e136260ae7e97e7302933166c8d70cd3b [2022-03-17T17:23:47.297Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T17:23:47.297Z] Dload Upload Total Spent Left Speed [2022-03-17T17:23:47.558Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4006 0 0 100 4006 0 15003 --:--:-- --:--:-- --:--:-- 15003 [2022-03-17T17:23:47.558Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] } [2022-03-17T17:23:47.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-17T17:23:47.826Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-17T17:23:47.839Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:48.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T17:23:48.138Z] [2022-03-17T17:23:48.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:23:48.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T17:23:48.444Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-17T17:23:48.444Z] 188c0c94c7c5: Pulling fs layer [2022-03-17T17:23:48.444Z] 0ef7d3d256c8: Pulling fs layer [2022-03-17T17:23:48.444Z] de9db76c5a1d: Pulling fs layer [2022-03-17T17:23:48.444Z] 0eba1c9be4d2: Pulling fs layer [2022-03-17T17:23:48.444Z] 0d57e429df01: Pulling fs layer [2022-03-17T17:23:48.444Z] 4e4be7b47b0d: Pulling fs layer [2022-03-17T17:23:48.444Z] e1f770b5df2f: Pulling fs layer [2022-03-17T17:23:48.444Z] 85a0685a4137: Pulling fs layer [2022-03-17T17:23:48.444Z] 0eba1c9be4d2: Waiting [2022-03-17T17:23:48.444Z] e1f770b5df2f: Waiting [2022-03-17T17:23:48.444Z] 85a0685a4137: Waiting [2022-03-17T17:23:48.444Z] 0d57e429df01: Waiting [2022-03-17T17:23:48.444Z] 4e4be7b47b0d: Waiting [2022-03-17T17:23:48.444Z] de9db76c5a1d: Download complete [2022-03-17T17:23:48.444Z] 0ef7d3d256c8: Verifying Checksum [2022-03-17T17:23:48.444Z] 0ef7d3d256c8: Download complete [2022-03-17T17:23:48.444Z] 0d57e429df01: Download complete [2022-03-17T17:23:48.444Z] 4e4be7b47b0d: Verifying Checksum [2022-03-17T17:23:48.444Z] 4e4be7b47b0d: Download complete [2022-03-17T17:23:48.444Z] 188c0c94c7c5: Download complete [2022-03-17T17:23:48.705Z] e1f770b5df2f: Verifying Checksum [2022-03-17T17:23:48.705Z] e1f770b5df2f: Download complete [2022-03-17T17:23:48.705Z] 188c0c94c7c5: Pull complete [2022-03-17T17:23:48.705Z] 0ef7d3d256c8: Pull complete [2022-03-17T17:23:48.966Z] de9db76c5a1d: Pull complete [2022-03-17T17:23:49.229Z] 0eba1c9be4d2: Verifying Checksum [2022-03-17T17:23:49.229Z] 0eba1c9be4d2: Download complete [2022-03-17T17:23:49.520Z] 85a0685a4137: Verifying Checksum [2022-03-17T17:23:49.520Z] 85a0685a4137: Download complete [2022-03-17T17:23:52.852Z] 0eba1c9be4d2: Pull complete [2022-03-17T17:23:52.852Z] 0d57e429df01: Pull complete [2022-03-17T17:23:52.852Z] 4e4be7b47b0d: Pull complete [2022-03-17T17:23:53.111Z] e1f770b5df2f: Pull complete [2022-03-17T17:23:57.311Z] 85a0685a4137: Pull complete [2022-03-17T17:23:57.311Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-17T17:23:57.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T17:23:57.311Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-17T17:23:57.379Z] prd-ubuntu20.04-docker-8c-8g-7861 does not seem to be running inside a container [2022-03-17T17:23:57.417Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-03-17T17:23:59.299Z] $ docker top 2990dc9f653592f49e4969b77c710e0bd0984864540a257fce9795904b717360 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-17T17:23:59.386Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-17T17:23:59.670Z] + set -o pipefail [2022-03-17T17:23:59.670Z] + snyk monitor '--org=edgex-jenkins' [2022-03-17T17:24:03.875Z] [2022-03-17T17:24:03.875Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-03-17T17:24:03.875Z] [2022-03-17T17:24:03.875Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/1e9b8715-260c-4d1a-b132-35d7d49f6016 [2022-03-17T17:24:03.875Z] [2022-03-17T17:24:03.875Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-03-17T17:24:03.875Z] [2022-03-17T17:24:03.875Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-17T17:24:03.875Z] [2022-03-17T17:24:04.136Z] [Pipeline] } [2022-03-17T17:24:04.154Z] $ docker stop --time=1 2990dc9f653592f49e4969b77c710e0bd0984864540a257fce9795904b717360 [2022-03-17T17:24:05.889Z] $ docker rm -f 2990dc9f653592f49e4969b77c710e0bd0984864540a257fce9795904b717360 [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-03-17T17:24:06.604Z] + git log --format=format:%s -1 8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] sh [2022-03-17T17:24:06.900Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T17:24:06.900Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:24:07.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T17:24:07.196Z] . [Pipeline] withDockerContainer [2022-03-17T17:24:07.265Z] prd-ubuntu20.04-docker-8c-8g-7861 does not seem to be running inside a container [2022-03-17T17:24:07.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-17T17:24:07.720Z] $ docker top 112d8540aeea168cabce0b4d360dac4bc3e7ce27e9b04f5f5b469f6cec4dcfc5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T17:24:07.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T17:24:07.816Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T17:24:07.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T17:24:07.963Z] $ docker exec 112d8540aeea168cabce0b4d360dac4bc3e7ce27e9b04f5f5b469f6cec4dcfc5 ssh-agent [2022-03-17T17:24:08.088Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDOdAob/agent.14 [2022-03-17T17:24:08.088Z] SSH_AGENT_PID=20 [2022-03-17T17:24:08.093Z] Running ssh-add (command line suppressed) [2022-03-17T17:24:08.225Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7937265295187412621.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7937265295187412621.key) [2022-03-17T17:24:08.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T17:24:08.532Z] + git semver tag [2022-03-17T17:24:08.532Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T17:24:08.532Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-03-17T17:24:08.532Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-03-17T17:24:08.532Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T17:24:08.532Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T17:24:08.532Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T17:24:08.532Z] # $SEMVER_BRANCH = main [2022-03-17T17:24:08.532Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-03-17T17:24:08.532Z] # 8f99c6f6f95ddf2a2695655a7f109a71384649ab HEAD [2022-03-17T17:24:08.532Z] # -> Force: false [2022-03-17T17:24:08.532Z] # bfe51606ba1b576ffc32832a5a09887e3ec68bb1 refs/tags/v2.2.0-dev.7 [Pipeline] } [2022-03-17T17:24:08.546Z] $ docker exec --env ******** --env ******** 112d8540aeea168cabce0b4d360dac4bc3e7ce27e9b04f5f5b469f6cec4dcfc5 ssh-agent -k [2022-03-17T17:24:08.671Z] unset SSH_AUTH_SOCK; [2022-03-17T17:24:08.671Z] unset SSH_AGENT_PID; [2022-03-17T17:24:08.672Z] echo Agent pid 20 killed; [2022-03-17T17:24:08.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T17:24:08.982Z] + git semver [Pipeline] } [2022-03-17T17:24:08.998Z] $ docker stop --time=1 112d8540aeea168cabce0b4d360dac4bc3e7ce27e9b04f5f5b469f6cec4dcfc5 [2022-03-17T17:24:10.306Z] $ docker rm -f 112d8540aeea168cabce0b4d360dac4bc3e7ce27e9b04f5f5b469f6cec4dcfc5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:24:10.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T17:24:10.711Z] [2022-03-17T17:24:10.711Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:24:11.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T17:24:11.017Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-17T17:24:11.017Z] ab5ef0e58194: Pulling fs layer [2022-03-17T17:24:11.017Z] 9712f1f96733: Pulling fs layer [2022-03-17T17:24:11.017Z] 63f879dbbcfc: Pulling fs layer [2022-03-17T17:24:11.017Z] 0d9ebad4ef96: Pulling fs layer [2022-03-17T17:24:11.017Z] e9a5061849ea: Pulling fs layer [2022-03-17T17:24:11.017Z] d747dcd14b5f: Pulling fs layer [2022-03-17T17:24:11.017Z] 2de7ff778b66: Pulling fs layer [2022-03-17T17:24:11.017Z] e9a5061849ea: Waiting [2022-03-17T17:24:11.017Z] d747dcd14b5f: Waiting [2022-03-17T17:24:11.017Z] 2de7ff778b66: Waiting [2022-03-17T17:24:11.017Z] 0d9ebad4ef96: Waiting [2022-03-17T17:24:11.017Z] 9712f1f96733: Verifying Checksum [2022-03-17T17:24:11.017Z] 9712f1f96733: Download complete [2022-03-17T17:24:11.288Z] 63f879dbbcfc: Verifying Checksum [2022-03-17T17:24:11.288Z] 63f879dbbcfc: Download complete [2022-03-17T17:24:11.548Z] 0d9ebad4ef96: Verifying Checksum [2022-03-17T17:24:11.548Z] 0d9ebad4ef96: Download complete [2022-03-17T17:24:11.548Z] e9a5061849ea: Verifying Checksum [2022-03-17T17:24:11.548Z] e9a5061849ea: Download complete [2022-03-17T17:24:11.548Z] d747dcd14b5f: Verifying Checksum [2022-03-17T17:24:11.548Z] d747dcd14b5f: Download complete [2022-03-17T17:24:11.548Z] ab5ef0e58194: Download complete [2022-03-17T17:24:11.548Z] 2de7ff778b66: Verifying Checksum [2022-03-17T17:24:11.548Z] 2de7ff778b66: Download complete [2022-03-17T17:24:14.842Z] ab5ef0e58194: Pull complete [2022-03-17T17:24:14.842Z] 9712f1f96733: Pull complete [2022-03-17T17:24:15.783Z] 63f879dbbcfc: Pull complete [2022-03-17T17:24:19.983Z] 0d9ebad4ef96: Pull complete [2022-03-17T17:24:20.244Z] e9a5061849ea: Pull complete [2022-03-17T17:24:20.503Z] d747dcd14b5f: Pull complete [2022-03-17T17:24:21.883Z] 2de7ff778b66: Pull complete [2022-03-17T17:24:21.883Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-17T17:24:21.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T17:24:21.883Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-17T17:24:21.953Z] prd-ubuntu20.04-docker-8c-8g-7861 does not seem to be running inside a container [2022-03-17T17:24:21.994Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-03-17T17:24:24.204Z] $ docker top 5c317cb41678ede5a92ee44c9d30f6364d22095098b9bff76597c9d3e66e565b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-17T17:24:24.290Z] provisioning config files... [2022-03-17T17:24:24.300Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5379286298264321076tmp [2022-03-17T17:24:24.313Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6309565347906211203tmp [2022-03-17T17:24:24.325Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3979172710456871869tmp [Pipeline] { [Pipeline] echo [2022-03-17T17:24:24.342Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:24:24.629Z] ---> sigul-configuration.sh [2022-03-17T17:24:24.629Z] gpg: directory `/root/.gnupg' created [2022-03-17T17:24:24.629Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-17T17:24:24.629Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-17T17:24:24.629Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-17T17:24:24.629Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-17T17:24:24.629Z] gpg: CAST5 encrypted data [2022-03-17T17:24:24.629Z] gpg: encrypted with 1 passphrase [2022-03-17T17:24:24.629Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-17T17:24:24.921Z] + mkdir /home/jenkins [2022-03-17T17:24:24.921Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-17T17:24:25.215Z] + 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-03-17T17:24:25.224Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:24:25.508Z] ---> sigul-install.sh [2022-03-17T17:24:25.508Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-17T17:24:25.799Z] + git tag --list [2022-03-17T17:24:25.800Z] 0.7.1 [2022-03-17T17:24:25.800Z] v1.0.0 [2022-03-17T17:24:25.800Z] v1.1.0 [2022-03-17T17:24:25.800Z] v1.1.1 [2022-03-17T17:24:25.800Z] v1.2.2 [2022-03-17T17:24:25.800Z] v1.3.0 [2022-03-17T17:24:25.800Z] v1.3.1 [2022-03-17T17:24:25.800Z] v2.0.0 [2022-03-17T17:24:25.800Z] v2.0.1-dev.1 [2022-03-17T17:24:25.800Z] v2.0.1-dev.10 [2022-03-17T17:24:25.800Z] v2.0.1-dev.11 [2022-03-17T17:24:25.800Z] v2.0.1-dev.12 [2022-03-17T17:24:25.800Z] v2.0.1-dev.2 [2022-03-17T17:24:25.800Z] v2.0.1-dev.3 [2022-03-17T17:24:25.800Z] v2.0.1-dev.4 [2022-03-17T17:24:25.800Z] v2.0.1-dev.5 [2022-03-17T17:24:25.800Z] v2.0.1-dev.6 [2022-03-17T17:24:25.800Z] v2.0.1-dev.7 [2022-03-17T17:24:25.800Z] v2.0.1-dev.8 [2022-03-17T17:24:25.800Z] v2.0.1-dev.9 [2022-03-17T17:24:25.800Z] v2.1.0 [2022-03-17T17:24:25.800Z] v2.2.0-dev.1 [2022-03-17T17:24:25.800Z] v2.2.0-dev.2 [2022-03-17T17:24:25.800Z] v2.2.0-dev.3 [2022-03-17T17:24:25.800Z] v2.2.0-dev.4 [2022-03-17T17:24:25.800Z] v2.2.0-dev.5 [2022-03-17T17:24:25.800Z] v2.2.0-dev.6 [2022-03-17T17:24:25.800Z] v2.2.0-dev.7 [Pipeline] sh [2022-03-17T17:24:26.093Z] + lftools sign git-tag v2.2.0-dev.7 [2022-03-17T17:24:26.665Z] Signing Git tag with Sigul... [2022-03-17T17:24:26.665Z] Signing v2.2.0-dev.7 [Pipeline] echo [2022-03-17T17:24:27.247Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:24:27.535Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-17T17:24:27.546Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-17T17:24:27.573Z] $ docker stop --time=1 5c317cb41678ede5a92ee44c9d30f6364d22095098b9bff76597c9d3e66e565b [2022-03-17T17:24:28.902Z] $ docker rm -f 5c317cb41678ede5a92ee44c9d30f6364d22095098b9bff76597c9d3e66e565b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-17T17:24:29.334Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T17:24:29.334Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:24:29.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T17:24:29.703Z] . [Pipeline] withDockerContainer [2022-03-17T17:24:29.785Z] prd-ubuntu20.04-docker-8c-8g-7861 does not seem to be running inside a container [2022-03-17T17:24:29.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-17T17:24:30.217Z] $ docker top ffa4af630b0c1c7d867a8772f3d68c3295271906b2093f41693a7f878393e48e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T17:24:30.310Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T17:24:30.310Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T17:24:30.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T17:24:30.448Z] $ docker exec ffa4af630b0c1c7d867a8772f3d68c3295271906b2093f41693a7f878393e48e ssh-agent [2022-03-17T17:24:30.583Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPOMHBl/agent.16 [2022-03-17T17:24:30.583Z] SSH_AGENT_PID=22 [2022-03-17T17:24:30.587Z] Running ssh-add (command line suppressed) [2022-03-17T17:24:30.718Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5420511209028392225.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5420511209028392225.key) [2022-03-17T17:24:30.731Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T17:24:31.032Z] + git semver bump pre [2022-03-17T17:24:31.032Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T17:24:31.032Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-03-17T17:24:31.032Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-03-17T17:24:31.032Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T17:24:31.032Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T17:24:31.032Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T17:24:31.032Z] # $SEMVER_BRANCH = main [2022-03-17T17:24:31.032Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-03-17T17:24:31.032Z] 2.2.0-dev.8 [Pipeline] } [2022-03-17T17:24:31.046Z] $ docker exec --env ******** --env ******** ffa4af630b0c1c7d867a8772f3d68c3295271906b2093f41693a7f878393e48e ssh-agent -k [2022-03-17T17:24:31.167Z] unset SSH_AUTH_SOCK; [2022-03-17T17:24:31.167Z] unset SSH_AGENT_PID; [2022-03-17T17:24:31.167Z] echo Agent pid 22 killed; [2022-03-17T17:24:31.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T17:24:31.486Z] + git semver [Pipeline] } [2022-03-17T17:24:31.504Z] $ docker stop --time=1 ffa4af630b0c1c7d867a8772f3d68c3295271906b2093f41693a7f878393e48e [2022-03-17T17:24:32.820Z] $ docker rm -f ffa4af630b0c1c7d867a8772f3d68c3295271906b2093f41693a7f878393e48e [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T17:24:33.174Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T17:24:33.174Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:24:33.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T17:24:33.472Z] . [Pipeline] withDockerContainer [2022-03-17T17:24:33.540Z] prd-ubuntu20.04-docker-8c-8g-7861 does not seem to be running inside a container [2022-03-17T17:24:33.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-17T17:24:33.995Z] $ docker top f3156b58ae2b7552f2b342d6ea2932fa1666183c8e72448dde2208a5f3e9af70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T17:24:34.093Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T17:24:34.093Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T17:24:34.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T17:24:34.238Z] $ docker exec f3156b58ae2b7552f2b342d6ea2932fa1666183c8e72448dde2208a5f3e9af70 ssh-agent [2022-03-17T17:24:34.352Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXphJAbi/agent.14 [2022-03-17T17:24:34.352Z] SSH_AGENT_PID=20 [2022-03-17T17:24:34.358Z] Running ssh-add (command line suppressed) [2022-03-17T17:24:34.476Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4312343897947398563.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4312343897947398563.key) [2022-03-17T17:24:34.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T17:24:34.783Z] + git semver push [2022-03-17T17:24:34.783Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T17:24:34.783Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-03-17T17:24:34.783Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-03-17T17:24:34.783Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T17:24:34.783Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T17:24:34.783Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T17:24:34.783Z] # $SEMVER_BRANCH = main [2022-03-17T17:24:34.783Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-03-17T17:24:36.712Z] $ docker exec --env ******** --env ******** f3156b58ae2b7552f2b342d6ea2932fa1666183c8e72448dde2208a5f3e9af70 ssh-agent -k [2022-03-17T17:24:36.830Z] unset SSH_AUTH_SOCK; [2022-03-17T17:24:36.830Z] unset SSH_AGENT_PID; [2022-03-17T17:24:36.830Z] echo Agent pid 20 killed; [2022-03-17T17:24:36.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T17:24:37.156Z] + git semver [Pipeline] } [2022-03-17T17:24:37.175Z] $ docker stop --time=1 f3156b58ae2b7552f2b342d6ea2932fa1666183c8e72448dde2208a5f3e9af70 [2022-03-17T17:24:38.484Z] $ docker rm -f f3156b58ae2b7552f2b342d6ea2932fa1666183c8e72448dde2208a5f3e9af70 [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-03-17T17:24:39.199Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-03-17T17:24:39.199Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-03-17T17:24:39.199Z] total 16 [2022-03-17T17:24:39.199Z] drwxr-xr-x 3 root root 4096 Mar 17 17:17 . [2022-03-17T17:24:39.199Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 17:24 .. [2022-03-17T17:24:39.200Z] drwxr-xr-x 2 root root 4096 Mar 17 17:17 cost [2022-03-17T17:24:39.200Z] -rw-r--r-- 1 root root 86 Mar 17 17:17 cost.csv [2022-03-17T17:24:39.200Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-03-17T17:24:39.200Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-03-17T17:24:39.200Z] total 16 [2022-03-17T17:24:39.200Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 17:17 . [2022-03-17T17:24:39.200Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 17:24 .. [2022-03-17T17:24:39.200Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 17:17 cost [2022-03-17T17:24:39.200Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 17 17:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:24:39.497Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:24:40.357Z] ---> package-listing.sh [2022-03-17T17:24:40.357Z] ++ facter osfamily [2022-03-17T17:24:40.357Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T17:24:40.617Z] + OS_FAMILY=debian [2022-03-17T17:24:40.617Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-03-17T17:24:40.617Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T17:24:40.617Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T17:24:40.617Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T17:24:40.617Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T17:24:40.617Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-03-17T17:24:40.617Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T17:24:40.617Z] + case "${OS_FAMILY}" in [2022-03-17T17:24:40.617Z] + dpkg -l [2022-03-17T17:24:40.617Z] + grep '^ii' [2022-03-17T17:24:40.617Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T17:24:40.617Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T17:24:40.617Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T17:24:40.617Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-03-17T17:24:40.617Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-03-17T17:24:40.617Z] + 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-03-17T17:24:40.630Z] 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-03-17T17:24:40.909Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T17:24:41.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T17:24:41.465Z] . [Pipeline] withDockerContainer [2022-03-17T17:24:41.531Z] prd-ubuntu20.04-docker-8c-8g-7861 does not seem to be running inside a container [2022-03-17T17:24:41.570Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-17T17:24:41.854Z] $ docker top 000b087e9ad078110d1c896308c3b282e7f5a0304cdc164ecbdb3c9c09beb33f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T17:24:42.219Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T17:24:42.510Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T17:24:42.799Z] + ls /var/log/sa-host [2022-03-17T17:24:42.799Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T17:24:43.019Z] provisioning config files... [2022-03-17T17:24:43.028Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config363980233055146903tmp [Pipeline] { [Pipeline] echo [2022-03-17T17:24:43.047Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:24:43.335Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T17:24:43.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:24:43.683Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T17:24:43.693Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:24:43.979Z] ---> sudo-logs.sh [2022-03-17T17:24:43.979Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T17:24:44.006Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:24:44.292Z] ---> job-cost.sh [2022-03-17T17:24:44.292Z] lf-activate-venv: SKIPPING [2022-03-17T17:24:44.292Z] DEBUG: total: 0.2199999988079071 [2022-03-17T17:24:44.292Z] INFO: Retrieving Stack Cost... [2022-03-17T17:24:44.553Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T17:24:45.123Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T17:24:45.139Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T17:24:45.499Z] ---> logs-deploy.sh [2022-03-17T17:24:45.499Z] lf-activate-venv: SKIPPING [2022-03-17T17:24:45.499Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/25 [2022-03-17T17:24:45.499Z] INFO: archiving workspace using pattern(s): [2022-03-17T17:24:46.439Z] Archives upload complete. [2022-03-17T17:24:46.439Z] INFO: archiving logs to Nexus