Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 244abab361647dcef607fbcbfbdaea3ae1f72309 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-ssh4290185960069786504.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-ssh3413061296587254862.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-ssh5030432566341813217.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-ssh7893675576445412124.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-ssh16788640096650301645.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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20790’ Running on prd-ubuntu20.04-docker-8c-8g-20793 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 244abab361647dcef607fbcbfbdaea3ae1f72309 (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 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 Commit message: "test(snap): add CI workflow (#330)" > git rev-list --no-walk f4ca74df0424dae884c5f6599910fb97153f1e42 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T09:10:00.141Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-13T09:10:00.188Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T09:10:00.204Z] ========================================================= [2022-04-13T09:10:00.204Z] EdgeX Global Pipelines Version Info [2022-04-13T09:10:00.204Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:10:00.963Z] ------------------- [2022-04-13T09:10:00.963Z] stable info: [2022-04-13T09:10:00.963Z] ------------------- [2022-04-13T09:10:00.963Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T09:10:00.963Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T09:10:00.963Z] Message: update stable to v1.0.221 [2022-04-13T09:10:01.537Z] ------------------- [2022-04-13T09:10:01.537Z] experimental info: [2022-04-13T09:10:01.537Z] ------------------- [2022-04-13T09:10:01.537Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T09:10:01.537Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T09:10:01.537Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T09:10:01.663Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-13T09:10:01.675Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-13T09:10:01.687Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T09:10:01.698Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T09:10:01.710Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T09:10:01.722Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T09:10:01.733Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T09:10:01.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-13T09:10:01.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T09:10:01.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T09:10:01.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T09:10:01.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-13T09:10:01.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T09:10:01.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T09:10:01.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T09:10:01.843Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T09:10:01.852Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T09:10:01.861Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T09:10:01.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T09:10:01.882Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T09:10:01.894Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-13T09:10:01.902Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-13T09:10:01.911Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T09:10:01.920Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T09:10:01.929Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T09:10:01.938Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T09:10:01.956Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-13T09:10:01.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-13T09:10:01.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-13T09:10:01.986Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 244abab361647dcef607fbcbfbdaea3ae1f72309 [Pipeline] echo [2022-04-13T09:10:01.994Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 244abab [Pipeline] echo [2022-04-13T09:10:02.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:10:02.044Z] provisioning config files... [2022-04-13T09:10:02.056Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8927696144209730217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:10:02.362Z] ---> docker-login.sh [2022-04-13T09:10:02.362Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:10:02.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:02.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:02.623Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:02.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:02.623Z] [2022-04-13T09:10:02.623Z] Login Succeeded [2022-04-13T09:10:02.885Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:10:02.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:02.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:02.885Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:02.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:02.885Z] [2022-04-13T09:10:02.885Z] Login Succeeded [2022-04-13T09:10:02.885Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:10:02.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:03.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:03.148Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:03.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:03.148Z] [2022-04-13T09:10:03.148Z] Login Succeeded [2022-04-13T09:10:03.148Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:10:03.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:03.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:03.148Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:03.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:03.148Z] [2022-04-13T09:10:03.148Z] Login Succeeded [2022-04-13T09:10:03.148Z] docker.io [2022-04-13T09:10:03.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:03.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:03.720Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:03.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:03.720Z] [2022-04-13T09:10:03.720Z] Login Succeeded [2022-04-13T09:10:03.720Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:10:03.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T09:10:04.107Z] + git rev-list -1 --merges 244abab361647dcef607fbcbfbdaea3ae1f72309~1..244abab361647dcef607fbcbfbdaea3ae1f72309 [Pipeline] echo [2022-04-13T09:10:04.219Z] -----------> git rev-list -1 --merges 244abab361647dcef607fbcbfbdaea3ae1f72309~1..244abab361647dcef607fbcbfbdaea3ae1f72309 244abab361647dcef607fbcbfbdaea3ae1f72309 [false] [Pipeline] sh [2022-04-13T09:10:04.508Z] + git log --format=format:%s -1 244abab361647dcef607fbcbfbdaea3ae1f72309 [Pipeline] echo [2022-04-13T09:10:04.526Z] ========================================================= [2022-04-13T09:10:04.526Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T09:10:04.526Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T09:10:04.866Z] + git log --format=format:%s -1 244abab361647dcef607fbcbfbdaea3ae1f72309 [Pipeline] echo [2022-04-13T09:10:04.878Z] [semverPrep] GIT_COMMIT: 244abab361647dcef607fbcbfbdaea3ae1f72309, Commit Message: test(snap): add CI workflow (#330) [Pipeline] echo [2022-04-13T09:10:04.886Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T09:10:05.261Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:10:05.261Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T09:10:05.261Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T09:10:05.261Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T09:10:05.261Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T09:10:05.261Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T09:10:05.261Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:10:05.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:10:05.600Z] [2022-04-13T09:10:05.600Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:10:05.901Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:10:05.901Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T09:10:05.901Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T09:10:05.901Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T09:10:05.901Z] 4c7163046ea9: Pulling fs layer [2022-04-13T09:10:05.901Z] 0c2d73faf560: Pulling fs layer [2022-04-13T09:10:05.901Z] 0c2d73faf560: Waiting [2022-04-13T09:10:05.901Z] 3e5f54012d9b: Download complete [2022-04-13T09:10:05.901Z] a0d0a0d46f8b: Verifying Checksum [2022-04-13T09:10:05.901Z] a0d0a0d46f8b: Download complete [2022-04-13T09:10:06.160Z] 0c2d73faf560: Verifying Checksum [2022-04-13T09:10:06.160Z] 0c2d73faf560: Download complete [2022-04-13T09:10:06.160Z] 4c7163046ea9: Verifying Checksum [2022-04-13T09:10:06.160Z] 4c7163046ea9: Download complete [2022-04-13T09:10:06.160Z] a0d0a0d46f8b: Pull complete [2022-04-13T09:10:06.160Z] 3e5f54012d9b: Pull complete [2022-04-13T09:10:06.421Z] 4c7163046ea9: Pull complete [2022-04-13T09:10:06.683Z] 0c2d73faf560: Pull complete [2022-04-13T09:10:06.683Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T09:10:06.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:10:06.684Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T09:10:06.762Z] prd-ubuntu20.04-docker-8c-8g-20793 does not seem to be running inside a container [2022-04-13T09:10:06.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T09:10:07.584Z] $ docker top 72216bb80b69173554ef267bdb5ac40d6000a0d7230f2c1797c35925d65f8d72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:10:07.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:10:07.689Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:10:07.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:10:07.824Z] $ docker exec 72216bb80b69173554ef267bdb5ac40d6000a0d7230f2c1797c35925d65f8d72 ssh-agent [2022-04-13T09:10:07.937Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcCeMol/agent.14 [2022-04-13T09:10:07.937Z] SSH_AGENT_PID=20 [2022-04-13T09:10:07.946Z] Running ssh-add (command line suppressed) [2022-04-13T09:10:08.067Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1951050342012123347.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1951050342012123347.key) [2022-04-13T09:10:08.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:10:08.369Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T09:10:08.392Z] $ docker exec --env ******** --env ******** 72216bb80b69173554ef267bdb5ac40d6000a0d7230f2c1797c35925d65f8d72 ssh-agent -k [2022-04-13T09:10:08.498Z] unset SSH_AUTH_SOCK; [2022-04-13T09:10:08.498Z] unset SSH_AGENT_PID; [2022-04-13T09:10:08.499Z] echo Agent pid 20 killed; [2022-04-13T09:10:08.502Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T09:10:08.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:10:08.528Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:10:08.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:10:08.669Z] $ docker exec 72216bb80b69173554ef267bdb5ac40d6000a0d7230f2c1797c35925d65f8d72 ssh-agent [2022-04-13T09:10:08.787Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfogKmE/agent.53 [2022-04-13T09:10:08.787Z] SSH_AGENT_PID=60 [2022-04-13T09:10:08.793Z] Running ssh-add (command line suppressed) [2022-04-13T09:10:08.908Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2177999246303290492.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2177999246303290492.key) [2022-04-13T09:10:08.919Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:10:09.212Z] + git semver init [2022-04-13T09:10:09.212Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:10:09.212Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-13T09:10:09.212Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-13T09:10:09.212Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:10:09.212Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:10:09.212Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:10:09.212Z] # $SEMVER_BRANCH = main [2022-04-13T09:10:09.212Z] # $SEMVER_TEMP = /tmp/semver-541984942 [2022-04-13T09:10:09.212Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-13T09:10:10.157Z] # '/tmp/semver-541984942' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-04-13T09:10:10.157Z] # -> Force: false [2022-04-13T09:10:10.157Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-13T09:10:10.176Z] $ docker exec --env ******** --env ******** 72216bb80b69173554ef267bdb5ac40d6000a0d7230f2c1797c35925d65f8d72 ssh-agent -k [2022-04-13T09:10:10.275Z] unset SSH_AUTH_SOCK; [2022-04-13T09:10:10.275Z] unset SSH_AGENT_PID; [2022-04-13T09:10:10.276Z] echo Agent pid 60 killed; [2022-04-13T09:10:10.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:10:10.596Z] + git semver [Pipeline] } [2022-04-13T09:10:10.619Z] $ docker stop --time=1 72216bb80b69173554ef267bdb5ac40d6000a0d7230f2c1797c35925d65f8d72 [2022-04-13T09:10:11.953Z] $ docker rm -f 72216bb80b69173554ef267bdb5ac40d6000a0d7230f2c1797c35925d65f8d72 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:10:12.305Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T09:10:12.551Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T09:10:12.555Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:10:12.710Z] provisioning config files... [2022-04-13T09:10:12.723Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4063479778737569484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:10:13.022Z] ---> docker-login.sh [2022-04-13T09:10:13.022Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:10:13.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:13.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:13.022Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:13.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:13.022Z] [2022-04-13T09:10:13.022Z] Login Succeeded [2022-04-13T09:10:13.022Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:10:13.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:13.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:13.022Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:13.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:13.022Z] [2022-04-13T09:10:13.284Z] Login Succeeded [2022-04-13T09:10:13.284Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:10:13.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:13.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:13.284Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:13.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:13.284Z] [2022-04-13T09:10:13.284Z] Login Succeeded [2022-04-13T09:10:13.284Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:10:13.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:13.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:13.284Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:13.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:13.284Z] [2022-04-13T09:10:13.284Z] Login Succeeded [2022-04-13T09:10:13.284Z] docker.io [2022-04-13T09:10:13.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:13.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:13.803Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:13.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:13.803Z] [2022-04-13T09:10:13.803Z] Login Succeeded [2022-04-13T09:10:13.803Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:10:13.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T09:10:13.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:10:13.889Z] ========================================================= [2022-04-13T09:10:13.889Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T09:10:13.889Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:10:14.205Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-13T09:10:14.205Z] Sending build context to Docker daemon 5.786MB [2022-04-13T09:10:14.205Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:10:14.205Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-13T09:10:14.205Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T09:10:14.206Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T09:10:14.206Z] 666ba61612fd: Pulling fs layer [2022-04-13T09:10:14.206Z] 8ed8ca486205: Pulling fs layer [2022-04-13T09:10:14.206Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T09:10:14.206Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T09:10:14.206Z] 640e595b4fbd: Pulling fs layer [2022-04-13T09:10:14.206Z] 763cafe07f6e: Pulling fs layer [2022-04-13T09:10:14.206Z] 0c0b528cf693: Pulling fs layer [2022-04-13T09:10:14.206Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T09:10:14.206Z] 22a0e8bec74d: Waiting [2022-04-13T09:10:14.206Z] 4fe6c5a15a65: Waiting [2022-04-13T09:10:14.206Z] 0c0b528cf693: Waiting [2022-04-13T09:10:14.206Z] 10935f4eaf8b: Waiting [2022-04-13T09:10:14.206Z] 640e595b4fbd: Waiting [2022-04-13T09:10:14.206Z] 8ed8ca486205: Verifying Checksum [2022-04-13T09:10:14.206Z] 8ed8ca486205: Download complete [2022-04-13T09:10:14.206Z] 666ba61612fd: Verifying Checksum [2022-04-13T09:10:14.206Z] 666ba61612fd: Download complete [2022-04-13T09:10:14.206Z] 22a0e8bec74d: Verifying Checksum [2022-04-13T09:10:14.206Z] 22a0e8bec74d: Download complete [2022-04-13T09:10:14.206Z] 640e595b4fbd: Verifying Checksum [2022-04-13T09:10:14.206Z] 640e595b4fbd: Download complete [2022-04-13T09:10:14.468Z] 763cafe07f6e: Verifying Checksum [2022-04-13T09:10:14.468Z] 763cafe07f6e: Download complete [2022-04-13T09:10:14.468Z] 59bf1c3509f3: Verifying Checksum [2022-04-13T09:10:14.468Z] 59bf1c3509f3: Download complete [2022-04-13T09:10:14.468Z] 0c0b528cf693: Verifying Checksum [2022-04-13T09:10:14.468Z] 0c0b528cf693: Download complete [2022-04-13T09:10:14.468Z] 59bf1c3509f3: Pull complete [2022-04-13T09:10:14.733Z] 666ba61612fd: Pull complete [2022-04-13T09:10:14.733Z] 8ed8ca486205: Pull complete [2022-04-13T09:10:14.995Z] 10935f4eaf8b: Verifying Checksum [2022-04-13T09:10:14.995Z] 4fe6c5a15a65: Verifying Checksum [2022-04-13T09:10:14.995Z] 4fe6c5a15a65: Download complete [2022-04-13T09:10:19.190Z] 4fe6c5a15a65: Pull complete [2022-04-13T09:10:19.190Z] 22a0e8bec74d: Pull complete [2022-04-13T09:10:19.190Z] 640e595b4fbd: Pull complete [2022-04-13T09:10:19.190Z] 763cafe07f6e: Pull complete [2022-04-13T09:10:19.190Z] 0c0b528cf693: Pull complete [2022-04-13T09:10:21.111Z] 10935f4eaf8b: Pull complete [2022-04-13T09:10:21.111Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T09:10:21.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T09:10:21.111Z] ---> 99d49a6021b9 [2022-04-13T09:10:21.111Z] Step 3/10 : ARG MAKE='make build' [2022-04-13T09:10:22.500Z] ---> Running in 799868dc6eab [2022-04-13T09:10:22.500Z] Removing intermediate container 799868dc6eab [2022-04-13T09:10:22.500Z] ---> 9b4dfa09486a [2022-04-13T09:10:22.500Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:10:22.500Z] ---> Running in 7ae53d91ec9f [2022-04-13T09:10:23.439Z] Removing intermediate container 7ae53d91ec9f [2022-04-13T09:10:23.439Z] ---> caedcf47a882 [2022-04-13T09:10:23.439Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T09:10:23.439Z] ---> Running in 19aaa4668129 [2022-04-13T09:10:23.439Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T09:10:24.378Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T09:10:24.637Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T09:10:24.898Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-13T09:10:24.898Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T09:10:25.159Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T09:10:25.159Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-13T09:10:25.422Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-13T09:10:25.422Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-13T09:10:25.422Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-13T09:10:25.684Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T09:10:25.684Z] OK: 226 MiB in 60 packages [2022-04-13T09:10:26.261Z] Removing intermediate container 19aaa4668129 [2022-04-13T09:10:26.261Z] ---> cba1b2bf51a9 [2022-04-13T09:10:26.261Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-13T09:10:26.261Z] ---> Running in 00c29c838ea0 [2022-04-13T09:10:26.261Z] Removing intermediate container 00c29c838ea0 [2022-04-13T09:10:26.261Z] ---> 2756fe366e54 [2022-04-13T09:10:26.261Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-13T09:10:26.261Z] ---> fb472fb6e33a [2022-04-13T09:10:26.261Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:10:26.522Z] ---> Running in 5d8fdd87c982 [2022-04-13T09:10:27.663Z] Still waiting to schedule task [2022-04-13T09:10:27.664Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20791’ [2022-04-13T09:10:38.747Z] Removing intermediate container 5d8fdd87c982 [2022-04-13T09:10:38.747Z] ---> 4cf592f5e9c3 [2022-04-13T09:10:38.747Z] Step 9/10 : COPY . . [2022-04-13T09:10:39.006Z] ---> 6422e28b776c [2022-04-13T09:10:39.006Z] Step 10/10 : RUN ${MAKE} [2022-04-13T09:10:39.006Z] ---> Running in 45da184efddd [2022-04-13T09:10:39.266Z] noop [2022-04-13T09:10:39.526Z] Removing intermediate container 45da184efddd [2022-04-13T09:10:39.526Z] ---> bd197ba50978 [2022-04-13T09:10:39.526Z] Successfully built bd197ba50978 [2022-04-13T09:10:39.526Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:10:39.824Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T09:10:39.824Z] . [Pipeline] withDockerContainer [2022-04-13T09:10:39.889Z] prd-ubuntu20.04-docker-8c-8g-20793 does not seem to be running inside a container [2022-04-13T09:10:39.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T09:10:40.294Z] $ docker top de7c4fc9110736a3a7cc2b890a7510edc7d1f84e9d8f5e44dca5ea0b1cb69ee4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T09:10:40.646Z] + go version [2022-04-13T09:10:40.646Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T09:10:40.664Z] $ docker stop --time=1 de7c4fc9110736a3a7cc2b890a7510edc7d1f84e9d8f5e44dca5ea0b1cb69ee4 [2022-04-13T09:10:41.954Z] $ docker rm -f de7c4fc9110736a3a7cc2b890a7510edc7d1f84e9d8f5e44dca5ea0b1cb69ee4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:10:42.355Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T09:10:42.355Z] . [Pipeline] withDockerContainer [2022-04-13T09:10:42.421Z] prd-ubuntu20.04-docker-8c-8g-20793 does not seem to be running inside a container [2022-04-13T09:10:42.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T09:10:42.830Z] $ docker top 63ff6198e00ed39496a9354a9d6e2ba54cbe4f52f13578412ebddb96f7e29030 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T09:10:43.194Z] + make test [2022-04-13T09:10:43.194Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T09:10:43.455Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-13T09:10:53.461Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-13T09:10:53.461Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements [2022-04-13T09:10:58.782Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T09:11:02.985Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T09:11:02.985Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T09:11:02.985Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T09:11:02.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T09:11:03.016Z] $ docker stop --time=1 63ff6198e00ed39496a9354a9d6e2ba54cbe4f52f13578412ebddb96f7e29030 [2022-04-13T09:11:04.917Z] $ docker rm -f 63ff6198e00ed39496a9354a9d6e2ba54cbe4f52f13578412ebddb96f7e29030 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:11:05.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T09:11:05.423Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T09:11:06.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T09:11:06.348Z] + ls -al . [2022-04-13T09:11:06.348Z] total 180 [2022-04-13T09:11:06.348Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:11 . [2022-04-13T09:11:06.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:09 .. [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 09:09 .dockerignore [2022-04-13T09:11:06.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:09 .git [2022-04-13T09:11:06.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 .github [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 09:09 .gitignore [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:09 .golangci.yml [2022-04-13T09:11:06.348Z] drwx------ 3 jenkins jenkins 4096 Apr 13 09:10 .semver [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 13 09:09 Attribution.txt [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 13 09:09 CHANGELOG.md [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 13 09:09 Dockerfile [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:09 GOVERNANCE.md [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 09:09 Jenkinsfile [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:09 LICENSE [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 13 09:09 Makefile [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 09:09 OWNERS.md [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 13 09:09 README.md [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:10 VERSION [2022-04-13T09:11:06.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:09 bin [2022-04-13T09:11:06.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 cmd [2022-04-13T09:11:06.348Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 13 09:10 coverage.out [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 13 09:09 go.mod [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 13 09:09 go.sum [2022-04-13T09:11:06.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 internal [2022-04-13T09:11:06.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:09 simulator [2022-04-13T09:11:06.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:09 snap [2022-04-13T09:11:06.348Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 09:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:06.646Z] + 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=244abab361647dcef607fbcbfbdaea3ae1f72309 --label arch=amd64 --label version=2.2.0-dev.12 . [2022-04-13T09:11:06.646Z] Sending build context to Docker daemon 5.811MB [2022-04-13T09:11:06.646Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:11:06.646Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-13T09:11:06.646Z] ---> bd197ba50978 [2022-04-13T09:11:06.646Z] Step 3/23 : ARG MAKE='make build' [2022-04-13T09:11:06.646Z] ---> Running in 45b5ab02291d [2022-04-13T09:11:06.905Z] Removing intermediate container 45b5ab02291d [2022-04-13T09:11:06.905Z] ---> fba9fc63f3e2 [2022-04-13T09:11:06.905Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:11:06.905Z] ---> Running in 6efac3b43867 [2022-04-13T09:11:07.478Z] Removing intermediate container 6efac3b43867 [2022-04-13T09:11:07.478Z] ---> a2a95014fda5 [2022-04-13T09:11:07.478Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T09:11:07.478Z] ---> Running in be0242aad9a8 [2022-04-13T09:11:07.737Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T09:11:08.683Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T09:11:08.945Z] OK: 226 MiB in 60 packages [2022-04-13T09:11:09.205Z] Removing intermediate container be0242aad9a8 [2022-04-13T09:11:09.205Z] ---> 806fced7ee89 [2022-04-13T09:11:09.205Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-13T09:11:09.205Z] ---> Running in c7d28cded828 [2022-04-13T09:11:09.464Z] Removing intermediate container c7d28cded828 [2022-04-13T09:11:09.464Z] ---> be7e9c31d3d8 [2022-04-13T09:11:09.464Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-13T09:11:09.464Z] ---> 120cb72bf98c [2022-04-13T09:11:09.464Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:11:09.464Z] ---> Running in fb25698c25c0 [2022-04-13T09:11:10.407Z] Removing intermediate container fb25698c25c0 [2022-04-13T09:11:10.407Z] ---> d0462b8c7c70 [2022-04-13T09:11:10.407Z] Step 9/23 : COPY . . [2022-04-13T09:11:10.407Z] ---> 7b065791bdfb [2022-04-13T09:11:10.407Z] Step 10/23 : RUN ${MAKE} [2022-04-13T09:11:10.407Z] ---> Running in 0c9f5b2de648 [2022-04-13T09:11:10.666Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-13T09:11:32.622Z] Removing intermediate container 0c9f5b2de648 [2022-04-13T09:11:32.622Z] ---> 2aab706f8618 [2022-04-13T09:11:32.622Z] Step 11/23 : FROM alpine:3.14 [2022-04-13T09:11:32.622Z] 3.14: Pulling from library/alpine [2022-04-13T09:11:32.622Z] 8663204ce13b: Pulling fs layer [2022-04-13T09:11:32.622Z] 8663204ce13b: Verifying Checksum [2022-04-13T09:11:32.622Z] 8663204ce13b: Download complete [2022-04-13T09:11:32.622Z] 8663204ce13b: Pull complete [2022-04-13T09:11:32.622Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T09:11:32.622Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T09:11:32.622Z] ---> e04c818066af [2022-04-13T09:11:32.622Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-13T09:11:32.622Z] ---> Running in 0af4dd137797 [2022-04-13T09:11:32.622Z] Removing intermediate container 0af4dd137797 [2022-04-13T09:11:32.622Z] ---> e5e3a5aa4a63 [2022-04-13T09:11:32.622Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:11:32.622Z] ---> Running in 9d1b8e877917 [2022-04-13T09:11:32.622Z] Removing intermediate container 9d1b8e877917 [2022-04-13T09:11:32.622Z] ---> 6f8023eb7774 [2022-04-13T09:11:32.622Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T09:11:32.622Z] ---> Running in e711299c6d53 [2022-04-13T09:11:32.622Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-13T09:11:32.622Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-13T09:11:32.622Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T09:11:32.622Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T09:11:32.622Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T09:11:32.622Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T09:11:32.622Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T09:11:32.622Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T09:11:32.622Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T09:11:32.622Z] OK: 8 MiB in 20 packages [2022-04-13T09:11:32.882Z] Removing intermediate container e711299c6d53 [2022-04-13T09:11:32.882Z] ---> 1822767e046f [2022-04-13T09:11:32.882Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-13T09:11:33.450Z] ---> b32bff2c7a50 [2022-04-13T09:11:33.450Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-13T09:11:33.711Z] ---> f1669c721126 [2022-04-13T09:11:33.711Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-13T09:11:33.711Z] ---> b49714309f5d [2022-04-13T09:11:33.711Z] Step 18/23 : EXPOSE 59901 [2022-04-13T09:11:33.973Z] ---> Running in 697d7b8b9a3c [2022-04-13T09:11:33.973Z] Removing intermediate container 697d7b8b9a3c [2022-04-13T09:11:33.973Z] ---> a6c2961a8b3a [2022-04-13T09:11:33.973Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-13T09:11:33.973Z] ---> Running in 590f98e7c45e [2022-04-13T09:11:33.973Z] Removing intermediate container 590f98e7c45e [2022-04-13T09:11:33.973Z] ---> 64bc25648940 [2022-04-13T09:11:33.973Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T09:11:33.973Z] ---> Running in 6af5ef2eaeaa [2022-04-13T09:11:34.232Z] Removing intermediate container 6af5ef2eaeaa [2022-04-13T09:11:34.232Z] ---> 5179923bebee [2022-04-13T09:11:34.232Z] Step 21/23 : LABEL arch=amd64 [2022-04-13T09:11:34.232Z] ---> Running in 58008553583e [2022-04-13T09:11:34.232Z] Removing intermediate container 58008553583e [2022-04-13T09:11:34.232Z] ---> 3b40315ce18c [2022-04-13T09:11:34.232Z] Step 22/23 : LABEL git_sha=244abab361647dcef607fbcbfbdaea3ae1f72309 [2022-04-13T09:11:34.232Z] ---> Running in 0bc7a3029cb9 [2022-04-13T09:11:34.492Z] Removing intermediate container 0bc7a3029cb9 [2022-04-13T09:11:34.492Z] ---> 487153ecc311 [2022-04-13T09:11:34.492Z] Step 23/23 : LABEL version=2.2.0-dev.12 [2022-04-13T09:11:34.492Z] ---> Running in 6ad7a831cf9f [2022-04-13T09:11:34.492Z] Removing intermediate container 6ad7a831cf9f [2022-04-13T09:11:34.492Z] ---> e19335a56abf [2022-04-13T09:11:34.492Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T09:11:34.492Z] Successfully built e19335a56abf [2022-04-13T09:11:34.492Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:11:34.577Z] provisioning config files... [2022-04-13T09:11:34.588Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6812118891725929195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:11:34.886Z] ---> docker-login.sh [2022-04-13T09:11:34.886Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:11:34.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:11:34.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:11:34.886Z] Configure a credential helper to remove this warning. See [2022-04-13T09:11:34.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:11:34.886Z] [2022-04-13T09:11:34.886Z] Login Succeeded [2022-04-13T09:11:34.886Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:11:34.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:11:35.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:11:35.145Z] Configure a credential helper to remove this warning. See [2022-04-13T09:11:35.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:11:35.145Z] [2022-04-13T09:11:35.145Z] Login Succeeded [2022-04-13T09:11:35.145Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:11:35.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:11:35.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:11:35.145Z] Configure a credential helper to remove this warning. See [2022-04-13T09:11:35.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:11:35.145Z] [2022-04-13T09:11:35.145Z] Login Succeeded [2022-04-13T09:11:35.145Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:11:35.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:11:35.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:11:35.405Z] Configure a credential helper to remove this warning. See [2022-04-13T09:11:35.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:11:35.405Z] [2022-04-13T09:11:35.405Z] Login Succeeded [2022-04-13T09:11:35.405Z] docker.io [2022-04-13T09:11:35.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:11:35.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:11:35.665Z] Configure a credential helper to remove this warning. See [2022-04-13T09:11:35.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:11:35.665Z] [2022-04-13T09:11:35.665Z] Login Succeeded [2022-04-13T09:11:35.665Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:11:35.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:11:35.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:11:35.728Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-04-13T09:11:35.728Z] 244abab361647dcef607fbcbfbdaea3ae1f72309 [2022-04-13T09:11:35.728Z] latest [2022-04-13T09:11:35.728Z] 2.2.0-dev.12 [2022-04-13T09:11:35.728Z] 244abab361647dcef607fbcbfbdaea3ae1f72309-2.2.0-dev.12 [2022-04-13T09:11:35.728Z] main [2022-04-13T09:11:35.728Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:36.045Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:244abab361647dcef607fbcbfbdaea3ae1f72309 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:36.336Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:244abab361647dcef607fbcbfbdaea3ae1f72309 [2022-04-13T09:11:36.336Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-13T09:11:36.336Z] d2ba21fd2b77: Preparing [2022-04-13T09:11:36.336Z] acf7c688398a: Preparing [2022-04-13T09:11:36.336Z] 9bc405f52fde: Preparing [2022-04-13T09:11:36.336Z] 67b1670f5a29: Preparing [2022-04-13T09:11:36.336Z] fa1d66ea5153: Preparing [2022-04-13T09:11:36.336Z] b541d28bf3b4: Preparing [2022-04-13T09:11:36.336Z] fa1d66ea5153: Pushed [2022-04-13T09:11:36.336Z] d2ba21fd2b77: Pushed [2022-04-13T09:11:36.336Z] acf7c688398a: Pushed [2022-04-13T09:11:36.336Z] b541d28bf3b4: Layer already exists [2022-04-13T09:11:36.597Z] 67b1670f5a29: Pushed [2022-04-13T09:11:39.131Z] 9bc405f52fde: Pushed [2022-04-13T09:11:39.131Z] 244abab361647dcef607fbcbfbdaea3ae1f72309: digest: sha256:c6ae3eec2198db6589201d1d5d4e222332f0fec47ab3d506b211663ce9d2d5ab size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:39.427Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:39.717Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-13T09:11:39.717Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-13T09:11:39.717Z] d2ba21fd2b77: Preparing [2022-04-13T09:11:39.717Z] acf7c688398a: Preparing [2022-04-13T09:11:39.717Z] 9bc405f52fde: Preparing [2022-04-13T09:11:39.717Z] 67b1670f5a29: Preparing [2022-04-13T09:11:39.717Z] fa1d66ea5153: Preparing [2022-04-13T09:11:39.717Z] b541d28bf3b4: Preparing [2022-04-13T09:11:39.717Z] b541d28bf3b4: Waiting [2022-04-13T09:11:39.717Z] 9bc405f52fde: Layer already exists [2022-04-13T09:11:39.717Z] fa1d66ea5153: Layer already exists [2022-04-13T09:11:39.717Z] d2ba21fd2b77: Layer already exists [2022-04-13T09:11:39.717Z] 67b1670f5a29: Layer already exists [2022-04-13T09:11:39.717Z] acf7c688398a: Layer already exists [2022-04-13T09:11:39.717Z] b541d28bf3b4: Layer already exists [2022-04-13T09:11:39.717Z] latest: digest: sha256:c6ae3eec2198db6589201d1d5d4e222332f0fec47ab3d506b211663ce9d2d5ab size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:40.016Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:40.309Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.12 [2022-04-13T09:11:40.309Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-13T09:11:40.309Z] d2ba21fd2b77: Preparing [2022-04-13T09:11:40.309Z] acf7c688398a: Preparing [2022-04-13T09:11:40.309Z] 9bc405f52fde: Preparing [2022-04-13T09:11:40.309Z] 67b1670f5a29: Preparing [2022-04-13T09:11:40.309Z] fa1d66ea5153: Preparing [2022-04-13T09:11:40.309Z] b541d28bf3b4: Preparing [2022-04-13T09:11:40.309Z] b541d28bf3b4: Waiting [2022-04-13T09:11:40.309Z] acf7c688398a: Layer already exists [2022-04-13T09:11:40.309Z] fa1d66ea5153: Layer already exists [2022-04-13T09:11:40.309Z] 67b1670f5a29: Layer already exists [2022-04-13T09:11:40.309Z] d2ba21fd2b77: Layer already exists [2022-04-13T09:11:40.309Z] 9bc405f52fde: Layer already exists [2022-04-13T09:11:40.309Z] b541d28bf3b4: Layer already exists [2022-04-13T09:11:40.309Z] 2.2.0-dev.12: digest: sha256:c6ae3eec2198db6589201d1d5d4e222332f0fec47ab3d506b211663ce9d2d5ab size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:40.604Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:244abab361647dcef607fbcbfbdaea3ae1f72309-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:40.898Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:244abab361647dcef607fbcbfbdaea3ae1f72309-2.2.0-dev.12 [2022-04-13T09:11:40.898Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-13T09:11:40.898Z] d2ba21fd2b77: Preparing [2022-04-13T09:11:40.898Z] acf7c688398a: Preparing [2022-04-13T09:11:40.898Z] 9bc405f52fde: Preparing [2022-04-13T09:11:40.898Z] 67b1670f5a29: Preparing [2022-04-13T09:11:40.898Z] fa1d66ea5153: Preparing [2022-04-13T09:11:40.898Z] b541d28bf3b4: Preparing [2022-04-13T09:11:40.898Z] b541d28bf3b4: Waiting [2022-04-13T09:11:40.898Z] fa1d66ea5153: Layer already exists [2022-04-13T09:11:40.898Z] 67b1670f5a29: Layer already exists [2022-04-13T09:11:40.898Z] 9bc405f52fde: Layer already exists [2022-04-13T09:11:40.898Z] d2ba21fd2b77: Layer already exists [2022-04-13T09:11:40.898Z] acf7c688398a: Layer already exists [2022-04-13T09:11:40.898Z] b541d28bf3b4: Layer already exists [2022-04-13T09:11:40.898Z] 244abab361647dcef607fbcbfbdaea3ae1f72309-2.2.0-dev.12: digest: sha256:c6ae3eec2198db6589201d1d5d4e222332f0fec47ab3d506b211663ce9d2d5ab size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:41.195Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:41.491Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-04-13T09:11:41.491Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-13T09:11:41.491Z] d2ba21fd2b77: Preparing [2022-04-13T09:11:41.491Z] acf7c688398a: Preparing [2022-04-13T09:11:41.491Z] 9bc405f52fde: Preparing [2022-04-13T09:11:41.491Z] 67b1670f5a29: Preparing [2022-04-13T09:11:41.491Z] fa1d66ea5153: Preparing [2022-04-13T09:11:41.491Z] b541d28bf3b4: Preparing [2022-04-13T09:11:41.491Z] b541d28bf3b4: Waiting [2022-04-13T09:11:41.491Z] 9bc405f52fde: Layer already exists [2022-04-13T09:11:41.491Z] 67b1670f5a29: Layer already exists [2022-04-13T09:11:41.491Z] d2ba21fd2b77: Layer already exists [2022-04-13T09:11:41.491Z] fa1d66ea5153: Layer already exists [2022-04-13T09:11:41.491Z] acf7c688398a: Layer already exists [2022-04-13T09:11:41.491Z] b541d28bf3b4: Layer already exists [2022-04-13T09:11:41.491Z] main: digest: sha256:c6ae3eec2198db6589201d1d5d4e222332f0fec47ab3d506b211663ce9d2d5ab size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:11:41.527Z] ===================================================== [Pipeline] echo [2022-04-13T09:11:41.537Z] taggedImages: [2022-04-13T09:11:41.537Z] - nexus3.edgexfoundry.org:10004/device-modbus:244abab361647dcef607fbcbfbdaea3ae1f72309 [2022-04-13T09:11:41.537Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-13T09:11:41.537Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.12 [2022-04-13T09:11:41.537Z] - nexus3.edgexfoundry.org:10004/device-modbus:244abab361647dcef607fbcbfbdaea3ae1f72309-2.2.0-dev.12 [2022-04-13T09:11:41.537Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:41.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:11:41.910Z] [2022-04-13T09:11:41.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:42.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:11:42.223Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T09:11:42.223Z] 5eb5b503b376: Pulling fs layer [2022-04-13T09:11:42.223Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T09:11:42.223Z] ec43610c2a17: Pulling fs layer [2022-04-13T09:11:42.223Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T09:11:42.223Z] 33b1e0a273af: Pulling fs layer [2022-04-13T09:11:42.223Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T09:11:42.223Z] 2f39f015ded8: Pulling fs layer [2022-04-13T09:11:42.223Z] 3a2ae6a8a46f: Waiting [2022-04-13T09:11:42.223Z] 33b1e0a273af: Waiting [2022-04-13T09:11:42.223Z] 5d3b04190fa2: Waiting [2022-04-13T09:11:42.223Z] 2f39f015ded8: Waiting [2022-04-13T09:11:42.223Z] 5c69ac0246d0: Verifying Checksum [2022-04-13T09:11:42.223Z] 5c69ac0246d0: Download complete [2022-04-13T09:11:42.223Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T09:11:42.223Z] 3a2ae6a8a46f: Download complete [2022-04-13T09:11:42.223Z] 33b1e0a273af: Verifying Checksum [2022-04-13T09:11:42.223Z] 33b1e0a273af: Download complete [2022-04-13T09:11:42.223Z] 5d3b04190fa2: Verifying Checksum [2022-04-13T09:11:42.223Z] 5d3b04190fa2: Download complete [2022-04-13T09:11:42.223Z] ec43610c2a17: Verifying Checksum [2022-04-13T09:11:42.223Z] ec43610c2a17: Download complete [2022-04-13T09:11:42.483Z] 5eb5b503b376: Verifying Checksum [2022-04-13T09:11:42.483Z] 5eb5b503b376: Download complete [2022-04-13T09:11:43.052Z] 2f39f015ded8: Download complete [2022-04-13T09:11:43.620Z] 5eb5b503b376: Pull complete [2022-04-13T09:11:43.620Z] 5c69ac0246d0: Pull complete [2022-04-13T09:11:44.186Z] ec43610c2a17: Pull complete [2022-04-13T09:11:44.186Z] 3a2ae6a8a46f: Pull complete [2022-04-13T09:11:44.445Z] 33b1e0a273af: Pull complete [2022-04-13T09:11:44.445Z] 5d3b04190fa2: Pull complete [2022-04-13T09:11:48.642Z] 2f39f015ded8: Pull complete [2022-04-13T09:11:48.642Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T09:11:48.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:11:48.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T09:11:48.709Z] prd-ubuntu20.04-docker-8c-8g-20793 does not seem to be running inside a container [2022-04-13T09:11:48.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T09:11:50.452Z] $ docker top 9669f887a73a0ce1e8f7aa88f99febdacaac435592304619731d09e5c6bd39ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:11:50.867Z] ---> job-cost.sh [2022-04-13T09:11:50.867Z] lf-activate-venv: SKIPPING [2022-04-13T09:11:50.867Z] INFO: No Stack... [2022-04-13T09:11:51.439Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T09:11:51.700Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T09:11:51.995Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-04-13T09:11:51.995Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T09:11:52.011Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-30-stack-cost] [2022-04-13T09:11:52.016Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-30-stack-cost] did not exist. Created. [2022-04-13T09:11:52.017Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T09:11:52.327Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T09:11:52.354Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T09:11:52.361Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T09:11:52.388Z] $ docker stop --time=1 9669f887a73a0ce1e8f7aa88f99febdacaac435592304619731d09e5c6bd39ca [2022-04-13T09:11:53.559Z] $ docker rm -f 9669f887a73a0ce1e8f7aa88f99febdacaac435592304619731d09e5c6bd39ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T09:13:26.667Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20796 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-04-13T09:13:26.681Z] Running in /w/workspace/device-modbus-go/30 [Pipeline] { [Pipeline] checkout [2022-04-13T09:13:26.935Z] Selected Git installation does not exist. Using Default [2022-04-13T09:13:26.935Z] The recommended git tool is: NONE [2022-04-13T09:13:35.297Z] using credential edgex-jenkins-ssh [2022-04-13T09:13:35.318Z] Cloning the remote Git repository [2022-04-13T09:13:35.407Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-13T09:13:35.498Z] > git init /w/workspace/device-modbus-go/30 # timeout=10 [2022-04-13T09:13:35.628Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-13T09:13:35.630Z] > git --version # timeout=10 [2022-04-13T09:13:35.667Z] > git --version # 'git version 2.25.1' [2022-04-13T09:13:35.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T09:13:35.845Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T09:13:37.455Z] Avoid second fetch [2022-04-13T09:13:37.456Z] Checking out Revision 244abab361647dcef607fbcbfbdaea3ae1f72309 (main) [2022-04-13T09:13:37.372Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-13T09:13:37.433Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T09:13:37.507Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T09:13:37.532Z] > git checkout -f 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 [2022-04-13T09:13:42.345Z] Commit message: "test(snap): add CI workflow (#330)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T09:13:43.210Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T09:13:43.210Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T09:13:43.210Z] Dload Upload Total Spent Left Speed [2022-04-13T09:13:43.210Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-04-13T09:13:43.894Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T09:13:44.258Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-13T09:13:44.258Z] + sudo tee /etc/docker/daemon.new [2022-04-13T09:13:44.258Z] { [2022-04-13T09:13:44.258Z] "registry-mirrors": [ [2022-04-13T09:13:44.258Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T09:13:44.258Z] ], [2022-04-13T09:13:44.258Z] "bip": "10.250.0.254/24", [2022-04-13T09:13:44.258Z] "hosts": [ [2022-04-13T09:13:44.258Z] "tcp://0.0.0.0:5555", [2022-04-13T09:13:44.258Z] "unix:///var/run/docker.sock" [2022-04-13T09:13:44.258Z] ], [2022-04-13T09:13:44.258Z] "mtu": 1458, [2022-04-13T09:13:44.258Z] "selinux-enabled": true, [2022-04-13T09:13:44.258Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T09:13:44.258Z] } [Pipeline] sh [2022-04-13T09:13:44.620Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T09:13:44.978Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:14:03.358Z] provisioning config files... [2022-04-13T09:14:03.382Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/30@tmp/config319735313598387634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:14:03.753Z] ---> docker-login.sh [2022-04-13T09:14:03.753Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:14:04.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:14:04.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:14:04.628Z] Configure a credential helper to remove this warning. See [2022-04-13T09:14:04.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:14:04.628Z] [2022-04-13T09:14:04.628Z] Login Succeeded [2022-04-13T09:14:04.628Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:14:04.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:14:05.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:14:05.175Z] Configure a credential helper to remove this warning. See [2022-04-13T09:14:05.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:14:05.175Z] [2022-04-13T09:14:05.175Z] Login Succeeded [2022-04-13T09:14:05.175Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:14:05.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:14:05.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:14:05.452Z] Configure a credential helper to remove this warning. See [2022-04-13T09:14:05.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:14:05.452Z] [2022-04-13T09:14:05.452Z] Login Succeeded [2022-04-13T09:14:05.452Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:14:05.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:14:06.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:14:06.003Z] Configure a credential helper to remove this warning. See [2022-04-13T09:14:06.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:14:06.003Z] [2022-04-13T09:14:06.003Z] Login Succeeded [2022-04-13T09:14:06.003Z] docker.io [2022-04-13T09:14:06.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:14:06.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:14:06.935Z] Configure a credential helper to remove this warning. See [2022-04-13T09:14:06.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:14:06.935Z] [2022-04-13T09:14:06.935Z] Login Succeeded [2022-04-13T09:14:06.935Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:14:06.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T09:14:07.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:14:07.660Z] ========================================================= [2022-04-13T09:14:07.660Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T09:14:07.660Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:14:08.016Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-13T09:14:08.294Z] Sending build context to Docker daemon 3.037MB [2022-04-13T09:14:08.569Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:14:08.569Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-13T09:14:08.569Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T09:14:08.569Z] 9b3977197b4f: Pulling fs layer [2022-04-13T09:14:08.569Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T09:14:08.569Z] 94645a83ff95: Pulling fs layer [2022-04-13T09:14:08.569Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T09:14:08.569Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T09:14:08.569Z] f7c0051592d6: Pulling fs layer [2022-04-13T09:14:08.569Z] a227ed2f7395: Pulling fs layer [2022-04-13T09:14:08.569Z] 7b1c46037f91: Pulling fs layer [2022-04-13T09:14:08.569Z] 3f3a8bcf1eab: Waiting [2022-04-13T09:14:08.569Z] 0c92f367c5e7: Waiting [2022-04-13T09:14:08.569Z] a227ed2f7395: Waiting [2022-04-13T09:14:08.569Z] 7b1c46037f91: Waiting [2022-04-13T09:14:08.569Z] f7c0051592d6: Waiting [2022-04-13T09:14:08.569Z] 94645a83ff95: Download complete [2022-04-13T09:14:08.569Z] 1a89e8eeedd5: Verifying Checksum [2022-04-13T09:14:08.569Z] 1a89e8eeedd5: Download complete [2022-04-13T09:14:08.569Z] 0c92f367c5e7: Download complete [2022-04-13T09:14:08.850Z] f7c0051592d6: Verifying Checksum [2022-04-13T09:14:08.850Z] f7c0051592d6: Download complete [2022-04-13T09:14:08.850Z] 9b3977197b4f: Download complete [2022-04-13T09:14:08.850Z] a227ed2f7395: Verifying Checksum [2022-04-13T09:14:08.850Z] a227ed2f7395: Download complete [2022-04-13T09:14:09.462Z] 9b3977197b4f: Pull complete [2022-04-13T09:14:10.070Z] 1a89e8eeedd5: Pull complete [2022-04-13T09:14:10.679Z] 94645a83ff95: Pull complete [2022-04-13T09:14:10.956Z] 7b1c46037f91: Verifying Checksum [2022-04-13T09:14:10.956Z] 7b1c46037f91: Download complete [2022-04-13T09:14:11.566Z] 3f3a8bcf1eab: Download complete [2022-04-13T09:14:23.977Z] 3f3a8bcf1eab: Pull complete [2022-04-13T09:14:23.977Z] 0c92f367c5e7: Pull complete [2022-04-13T09:14:23.977Z] f7c0051592d6: Pull complete [2022-04-13T09:14:24.252Z] a227ed2f7395: Pull complete [2022-04-13T09:14:31.018Z] 7b1c46037f91: Pull complete [2022-04-13T09:14:31.018Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T09:14:31.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T09:14:31.018Z] ---> f79e39bc4007 [2022-04-13T09:14:31.018Z] Step 3/10 : ARG MAKE='make build' [2022-04-13T09:14:31.622Z] ---> Running in fea043c3a03f [2022-04-13T09:14:31.900Z] Removing intermediate container fea043c3a03f [2022-04-13T09:14:31.900Z] ---> 647059a09cc7 [2022-04-13T09:14:31.900Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:14:32.177Z] ---> Running in 862d121d8900 [2022-04-13T09:14:34.160Z] Removing intermediate container 862d121d8900 [2022-04-13T09:14:34.160Z] ---> 2ac186952f30 [2022-04-13T09:14:34.160Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T09:14:34.160Z] ---> Running in 9c7264f07778 [2022-04-13T09:14:35.145Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T09:14:36.127Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T09:14:36.724Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T09:14:36.997Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-13T09:14:36.997Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T09:14:37.272Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T09:14:37.272Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-13T09:14:37.547Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-13T09:14:37.547Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-13T09:14:37.547Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-13T09:14:37.823Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T09:14:37.823Z] OK: 226 MiB in 60 packages [2022-04-13T09:14:38.831Z] Removing intermediate container 9c7264f07778 [2022-04-13T09:14:38.831Z] ---> 726b96938a18 [2022-04-13T09:14:38.831Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-13T09:14:38.831Z] ---> Running in d5fc53f08a67 [2022-04-13T09:14:39.111Z] Removing intermediate container d5fc53f08a67 [2022-04-13T09:14:39.111Z] ---> d782eb98e636 [2022-04-13T09:14:39.111Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-13T09:14:39.709Z] ---> d53d96dcac68 [2022-04-13T09:14:39.710Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:14:39.710Z] ---> Running in 204c44aff528 [2022-04-13T09:15:26.739Z] Removing intermediate container 204c44aff528 [2022-04-13T09:15:26.739Z] ---> 1df40f01b1e1 [2022-04-13T09:15:26.739Z] Step 9/10 : COPY . . [2022-04-13T09:15:27.734Z] ---> 6fa8bf79fd14 [2022-04-13T09:15:27.734Z] Step 10/10 : RUN ${MAKE} [2022-04-13T09:15:27.734Z] ---> Running in b947b7fe0b0e [2022-04-13T09:15:28.726Z] noop [2022-04-13T09:15:29.335Z] Removing intermediate container b947b7fe0b0e [2022-04-13T09:15:29.335Z] ---> 1b60fff844c8 [2022-04-13T09:15:29.335Z] Successfully built 1b60fff844c8 [2022-04-13T09:15:29.335Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:15:29.690Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T09:15:29.690Z] . [Pipeline] withDockerContainer [2022-04-13T09:15:29.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-20796 does not seem to be running inside a container [2022-04-13T09:15:30.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/30 -v /w/workspace/device-modbus-go/30:/w/workspace/device-modbus-go/30:rw,z -v /w/workspace/device-modbus-go/30@tmp:/w/workspace/device-modbus-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-13T09:15:31.650Z] $ docker top 1dd5e65ebef7d9262d77afbc87ead5c20120609860fcae5f14eb1cc8b9cadbd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T09:15:32.646Z] + go version [2022-04-13T09:15:32.646Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T09:15:32.677Z] $ docker stop --time=1 1dd5e65ebef7d9262d77afbc87ead5c20120609860fcae5f14eb1cc8b9cadbd3 [2022-04-13T09:15:34.384Z] $ docker rm -f 1dd5e65ebef7d9262d77afbc87ead5c20120609860fcae5f14eb1cc8b9cadbd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:15:35.020Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T09:15:35.020Z] . [Pipeline] withDockerContainer [2022-04-13T09:15:35.278Z] prd-ubuntu20.04-docker-arm64-4c-16g-20796 does not seem to be running inside a container [2022-04-13T09:15:35.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/30 -v /w/workspace/device-modbus-go/30:/w/workspace/device-modbus-go/30:rw,z -v /w/workspace/device-modbus-go/30@tmp:/w/workspace/device-modbus-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-13T09:15:36.731Z] $ docker top 8f9d0a1b9b01480fe1d8dc909e7721d6c13de3d7af77c7616c7d89f44b4ba573 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T09:15:37.669Z] + make test [2022-04-13T09:15:37.669Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T09:15:39.801Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-13T09:17:16.723Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-13T09:17:16.723Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 46.4% of statements [2022-04-13T09:17:16.723Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T09:17:16.723Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T09:17:35.083Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T09:17:35.083Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T09:17:35.083Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T09:17:37.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T09:17:37.755Z] $ docker stop --time=1 8f9d0a1b9b01480fe1d8dc909e7721d6c13de3d7af77c7616c7d89f44b4ba573 [2022-04-13T09:17:39.646Z] $ docker rm -f 8f9d0a1b9b01480fe1d8dc909e7721d6c13de3d7af77c7616c7d89f44b4ba573 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:17:40.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T09:17:40.709Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T09:17:41.304Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T09:17:41.724Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T09:17:42.070Z] + ls -al . [2022-04-13T09:17:42.070Z] total 176 [2022-04-13T09:17:42.070Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 09:17 . [2022-04-13T09:17:42.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:13 .. [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 09:13 .dockerignore [2022-04-13T09:17:42.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:13 .git [2022-04-13T09:17:42.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:13 .github [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 09:13 .gitignore [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:13 .golangci.yml [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 13 09:13 Attribution.txt [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 13 09:13 CHANGELOG.md [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 13 09:13 Dockerfile [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:13 GOVERNANCE.md [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 09:13 Jenkinsfile [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:13 LICENSE [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 13 09:13 Makefile [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 09:13 OWNERS.md [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 13 09:13 README.md [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:10 VERSION [2022-04-13T09:17:42.070Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:13 bin [2022-04-13T09:17:42.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:13 cmd [2022-04-13T09:17:42.070Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 13 09:17 coverage.out [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 13 09:13 go.mod [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 13 09:13 go.sum [2022-04-13T09:17:42.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:13 internal [2022-04-13T09:17:42.070Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:13 simulator [2022-04-13T09:17:42.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:13 snap [2022-04-13T09:17:42.070Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 09:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:17:42.426Z] + 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=244abab361647dcef607fbcbfbdaea3ae1f72309 --label arch=arm64 --label version=2.2.0-dev.12 . [2022-04-13T09:17:42.709Z] Sending build context to Docker daemon 3.062MB [2022-04-13T09:17:42.709Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:17:42.709Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-13T09:17:42.709Z] ---> 1b60fff844c8 [2022-04-13T09:17:42.709Z] Step 3/23 : ARG MAKE='make build' [2022-04-13T09:17:42.986Z] ---> Running in bbddc203da2a [2022-04-13T09:17:43.266Z] Removing intermediate container bbddc203da2a [2022-04-13T09:17:43.266Z] ---> 4cfbcfb4b1ca [2022-04-13T09:17:43.266Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:17:43.266Z] ---> Running in 83e144e784bb [2022-04-13T09:17:45.274Z] Removing intermediate container 83e144e784bb [2022-04-13T09:17:45.274Z] ---> f85e98d4ebba [2022-04-13T09:17:45.274Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T09:17:45.274Z] ---> Running in 2000a4625f7d [2022-04-13T09:17:46.267Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T09:17:47.250Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T09:17:48.236Z] OK: 226 MiB in 60 packages [2022-04-13T09:17:49.241Z] Removing intermediate container 2000a4625f7d [2022-04-13T09:17:49.241Z] ---> d468640ae446 [2022-04-13T09:17:49.241Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-13T09:17:49.241Z] ---> Running in 291b43134908 [2022-04-13T09:17:49.515Z] Removing intermediate container 291b43134908 [2022-04-13T09:17:49.515Z] ---> cb3b305bf7aa [2022-04-13T09:17:49.515Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-13T09:17:50.118Z] ---> b60a9ed62847 [2022-04-13T09:17:50.118Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:17:50.118Z] ---> Running in a6e683a121b5 [2022-04-13T09:17:52.105Z] Removing intermediate container a6e683a121b5 [2022-04-13T09:17:52.105Z] ---> d4be8963ebb1 [2022-04-13T09:17:52.105Z] Step 9/23 : COPY . . [2022-04-13T09:17:53.096Z] ---> 8a1f130e74f7 [2022-04-13T09:17:53.096Z] Step 10/23 : RUN ${MAKE} [2022-04-13T09:17:53.096Z] ---> Running in 58f160568d0b [2022-04-13T09:17:54.544Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-13T09:20:16.506Z] Removing intermediate container 58f160568d0b [2022-04-13T09:20:16.506Z] ---> 796265693ce9 [2022-04-13T09:20:16.506Z] Step 11/23 : FROM alpine:3.14 [2022-04-13T09:20:16.506Z] 3.14: Pulling from library/alpine [2022-04-13T09:20:16.506Z] 455c02918c45: Pulling fs layer [2022-04-13T09:20:16.506Z] 455c02918c45: Verifying Checksum [2022-04-13T09:20:16.506Z] 455c02918c45: Download complete [2022-04-13T09:20:16.506Z] 455c02918c45: Pull complete [2022-04-13T09:20:16.506Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T09:20:16.506Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T09:20:16.506Z] ---> ac73e934f311 [2022-04-13T09:20:16.506Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-13T09:20:16.506Z] ---> Running in 7b38605b30b5 [2022-04-13T09:20:16.506Z] Removing intermediate container 7b38605b30b5 [2022-04-13T09:20:16.506Z] ---> ae6e02297e48 [2022-04-13T09:20:16.506Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:20:16.506Z] ---> Running in 53db98878469 [2022-04-13T09:20:16.506Z] Removing intermediate container 53db98878469 [2022-04-13T09:20:16.506Z] ---> c1985b76f9f3 [2022-04-13T09:20:16.506Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T09:20:16.506Z] ---> Running in 95add2e8c989 [2022-04-13T09:20:16.506Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-13T09:20:16.506Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-13T09:20:16.506Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T09:20:16.506Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T09:20:16.506Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T09:20:16.507Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T09:20:16.507Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T09:20:16.507Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T09:20:16.507Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T09:20:16.507Z] OK: 8 MiB in 20 packages [2022-04-13T09:20:16.507Z] Removing intermediate container 95add2e8c989 [2022-04-13T09:20:16.507Z] ---> 984673877996 [2022-04-13T09:20:16.507Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-13T09:20:16.507Z] ---> 45869e93eb9a [2022-04-13T09:20:16.507Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-13T09:20:16.507Z] ---> 74a89e90238d [2022-04-13T09:20:16.507Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-13T09:20:16.507Z] ---> 86d475d676d5 [2022-04-13T09:20:16.507Z] Step 18/23 : EXPOSE 59901 [2022-04-13T09:20:16.507Z] ---> Running in 8e683c19782b [2022-04-13T09:20:16.507Z] Removing intermediate container 8e683c19782b [2022-04-13T09:20:16.507Z] ---> 3ea69a9b6ad6 [2022-04-13T09:20:16.507Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-13T09:20:16.507Z] ---> Running in 44e617be84e2 [2022-04-13T09:20:16.507Z] Removing intermediate container 44e617be84e2 [2022-04-13T09:20:16.507Z] ---> 345156b6837a [2022-04-13T09:20:16.507Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T09:20:16.507Z] ---> Running in 96eb5cffe875 [2022-04-13T09:20:16.507Z] Removing intermediate container 96eb5cffe875 [2022-04-13T09:20:16.507Z] ---> 08215000fae0 [2022-04-13T09:20:16.507Z] Step 21/23 : LABEL arch=arm64 [2022-04-13T09:20:16.507Z] ---> Running in bde1a580c110 [2022-04-13T09:20:16.507Z] Removing intermediate container bde1a580c110 [2022-04-13T09:20:16.507Z] ---> 22a04602c8e8 [2022-04-13T09:20:16.507Z] Step 22/23 : LABEL git_sha=244abab361647dcef607fbcbfbdaea3ae1f72309 [2022-04-13T09:20:16.507Z] ---> Running in 0c2a6f77d99b [2022-04-13T09:20:16.507Z] Removing intermediate container 0c2a6f77d99b [2022-04-13T09:20:16.507Z] ---> 6d462c88e908 [2022-04-13T09:20:16.507Z] Step 23/23 : LABEL version=2.2.0-dev.12 [2022-04-13T09:20:16.507Z] ---> Running in e5401a9dae2b [2022-04-13T09:20:16.507Z] Removing intermediate container e5401a9dae2b [2022-04-13T09:20:16.507Z] ---> f9c9d2f850cd [2022-04-13T09:20:16.507Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T09:20:16.507Z] Successfully built f9c9d2f850cd [2022-04-13T09:20:16.507Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:20:16.618Z] provisioning config files... [2022-04-13T09:20:16.641Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/30@tmp/config1086184277255183377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:20:17.004Z] ---> docker-login.sh [2022-04-13T09:20:17.005Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:20:17.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:20:17.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:20:17.278Z] Configure a credential helper to remove this warning. See [2022-04-13T09:20:17.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:20:17.278Z] [2022-04-13T09:20:17.278Z] Login Succeeded [2022-04-13T09:20:17.278Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:20:17.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:20:17.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:20:17.875Z] Configure a credential helper to remove this warning. See [2022-04-13T09:20:17.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:20:17.875Z] [2022-04-13T09:20:17.875Z] Login Succeeded [2022-04-13T09:20:17.875Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:20:18.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:20:18.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:20:18.472Z] Configure a credential helper to remove this warning. See [2022-04-13T09:20:18.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:20:18.472Z] [2022-04-13T09:20:18.472Z] Login Succeeded [2022-04-13T09:20:18.472Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:20:18.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:20:19.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:20:19.018Z] Configure a credential helper to remove this warning. See [2022-04-13T09:20:19.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:20:19.018Z] [2022-04-13T09:20:19.018Z] Login Succeeded [2022-04-13T09:20:19.018Z] docker.io [2022-04-13T09:20:19.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:20:19.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:20:19.893Z] Configure a credential helper to remove this warning. See [2022-04-13T09:20:19.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:20:19.893Z] [2022-04-13T09:20:19.893Z] Login Succeeded [2022-04-13T09:20:19.893Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:20:19.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:20:19.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:20:19.962Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-04-13T09:20:19.962Z] 244abab361647dcef607fbcbfbdaea3ae1f72309 [2022-04-13T09:20:19.962Z] latest [2022-04-13T09:20:19.963Z] 2.2.0-dev.12 [2022-04-13T09:20:19.963Z] 244abab361647dcef607fbcbfbdaea3ae1f72309-2.2.0-dev.12 [2022-04-13T09:20:19.963Z] main [2022-04-13T09:20:19.963Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:20.334Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:244abab361647dcef607fbcbfbdaea3ae1f72309 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:20.676Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:244abab361647dcef607fbcbfbdaea3ae1f72309 [2022-04-13T09:20:20.676Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-13T09:20:20.676Z] 216da7b800a3: Preparing [2022-04-13T09:20:20.676Z] 881bbc94001b: Preparing [2022-04-13T09:20:20.676Z] cbaff1756b9b: Preparing [2022-04-13T09:20:20.676Z] 78f727f1653d: Preparing [2022-04-13T09:20:20.676Z] f1796525d66a: Preparing [2022-04-13T09:20:20.676Z] f73e7dbfee58: Preparing [2022-04-13T09:20:20.676Z] f73e7dbfee58: Waiting [2022-04-13T09:20:20.955Z] f1796525d66a: Pushed [2022-04-13T09:20:20.955Z] 216da7b800a3: Pushed [2022-04-13T09:20:20.955Z] 881bbc94001b: Pushed [2022-04-13T09:20:20.955Z] f73e7dbfee58: Layer already exists [2022-04-13T09:20:21.553Z] 78f727f1653d: Pushed [2022-04-13T09:20:26.949Z] cbaff1756b9b: Pushed [2022-04-13T09:20:26.949Z] 244abab361647dcef607fbcbfbdaea3ae1f72309: digest: sha256:0b4c64e735699c89f613c447773cbbeaa63347d33ed1b9ba7c5044ce5267e58b size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:27.304Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:27.657Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-13T09:20:27.657Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-13T09:20:27.657Z] 216da7b800a3: Preparing [2022-04-13T09:20:27.657Z] 881bbc94001b: Preparing [2022-04-13T09:20:27.657Z] cbaff1756b9b: Preparing [2022-04-13T09:20:27.657Z] 78f727f1653d: Preparing [2022-04-13T09:20:27.657Z] f1796525d66a: Preparing [2022-04-13T09:20:27.657Z] f73e7dbfee58: Preparing [2022-04-13T09:20:27.657Z] f73e7dbfee58: Waiting [2022-04-13T09:20:27.657Z] cbaff1756b9b: Layer already exists [2022-04-13T09:20:27.657Z] 78f727f1653d: Layer already exists [2022-04-13T09:20:27.657Z] f1796525d66a: Layer already exists [2022-04-13T09:20:27.657Z] 881bbc94001b: Layer already exists [2022-04-13T09:20:27.657Z] 216da7b800a3: Layer already exists [2022-04-13T09:20:27.930Z] f73e7dbfee58: Layer already exists [2022-04-13T09:20:27.931Z] latest: digest: sha256:0b4c64e735699c89f613c447773cbbeaa63347d33ed1b9ba7c5044ce5267e58b size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:28.282Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:28.632Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.12 [2022-04-13T09:20:28.632Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-13T09:20:28.632Z] 216da7b800a3: Preparing [2022-04-13T09:20:28.632Z] 881bbc94001b: Preparing [2022-04-13T09:20:28.632Z] cbaff1756b9b: Preparing [2022-04-13T09:20:28.632Z] 78f727f1653d: Preparing [2022-04-13T09:20:28.632Z] f1796525d66a: Preparing [2022-04-13T09:20:28.632Z] f73e7dbfee58: Preparing [2022-04-13T09:20:28.632Z] f73e7dbfee58: Waiting [2022-04-13T09:20:28.632Z] cbaff1756b9b: Layer already exists [2022-04-13T09:20:28.632Z] 881bbc94001b: Layer already exists [2022-04-13T09:20:28.632Z] 216da7b800a3: Layer already exists [2022-04-13T09:20:28.632Z] 78f727f1653d: Layer already exists [2022-04-13T09:20:28.632Z] f1796525d66a: Layer already exists [2022-04-13T09:20:28.905Z] f73e7dbfee58: Layer already exists [2022-04-13T09:20:28.905Z] 2.2.0-dev.12: digest: sha256:0b4c64e735699c89f613c447773cbbeaa63347d33ed1b9ba7c5044ce5267e58b size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:29.257Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:244abab361647dcef607fbcbfbdaea3ae1f72309-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:29.614Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:244abab361647dcef607fbcbfbdaea3ae1f72309-2.2.0-dev.12 [2022-04-13T09:20:29.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-13T09:20:29.614Z] 216da7b800a3: Preparing [2022-04-13T09:20:29.614Z] 881bbc94001b: Preparing [2022-04-13T09:20:29.614Z] cbaff1756b9b: Preparing [2022-04-13T09:20:29.614Z] 78f727f1653d: Preparing [2022-04-13T09:20:29.614Z] f1796525d66a: Preparing [2022-04-13T09:20:29.614Z] f73e7dbfee58: Preparing [2022-04-13T09:20:29.614Z] f73e7dbfee58: Waiting [2022-04-13T09:20:29.614Z] 78f727f1653d: Layer already exists [2022-04-13T09:20:29.614Z] 216da7b800a3: Layer already exists [2022-04-13T09:20:29.614Z] 881bbc94001b: Layer already exists [2022-04-13T09:20:29.614Z] cbaff1756b9b: Layer already exists [2022-04-13T09:20:29.614Z] f1796525d66a: Layer already exists [2022-04-13T09:20:29.614Z] f73e7dbfee58: Layer already exists [2022-04-13T09:20:29.888Z] 244abab361647dcef607fbcbfbdaea3ae1f72309-2.2.0-dev.12: digest: sha256:0b4c64e735699c89f613c447773cbbeaa63347d33ed1b9ba7c5044ce5267e58b size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:30.243Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:30.598Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-04-13T09:20:30.598Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-13T09:20:30.598Z] 216da7b800a3: Preparing [2022-04-13T09:20:30.598Z] 881bbc94001b: Preparing [2022-04-13T09:20:30.598Z] cbaff1756b9b: Preparing [2022-04-13T09:20:30.598Z] 78f727f1653d: Preparing [2022-04-13T09:20:30.598Z] f1796525d66a: Preparing [2022-04-13T09:20:30.598Z] f73e7dbfee58: Preparing [2022-04-13T09:20:30.598Z] f73e7dbfee58: Waiting [2022-04-13T09:20:30.875Z] f1796525d66a: Layer already exists [2022-04-13T09:20:30.875Z] 78f727f1653d: Layer already exists [2022-04-13T09:20:30.875Z] 216da7b800a3: Layer already exists [2022-04-13T09:20:30.875Z] cbaff1756b9b: Layer already exists [2022-04-13T09:20:30.875Z] 881bbc94001b: Layer already exists [2022-04-13T09:20:30.875Z] f73e7dbfee58: Layer already exists [2022-04-13T09:20:30.875Z] main: digest: sha256:0b4c64e735699c89f613c447773cbbeaa63347d33ed1b9ba7c5044ce5267e58b size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:20:30.924Z] ===================================================== [Pipeline] echo [2022-04-13T09:20:30.935Z] taggedImages: [2022-04-13T09:20:30.935Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:244abab361647dcef607fbcbfbdaea3ae1f72309 [2022-04-13T09:20:30.935Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-13T09:20:30.935Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.12 [2022-04-13T09:20:30.935Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:244abab361647dcef607fbcbfbdaea3ae1f72309-2.2.0-dev.12 [2022-04-13T09:20:30.935Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:31.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T09:20:31.314Z] [2022-04-13T09:20:31.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:31.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T09:20:31.943Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T09:20:31.943Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T09:20:31.943Z] 04944245beec: Pulling fs layer [2022-04-13T09:20:31.943Z] 699f458cf7ca: Pulling fs layer [2022-04-13T09:20:31.943Z] 765212b225bb: Pulling fs layer [2022-04-13T09:20:31.943Z] f23df028b6ca: Pulling fs layer [2022-04-13T09:20:31.943Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T09:20:31.943Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T09:20:31.943Z] 765212b225bb: Waiting [2022-04-13T09:20:31.943Z] d65c8cfc05b1: Waiting [2022-04-13T09:20:31.943Z] f23df028b6ca: Waiting [2022-04-13T09:20:31.943Z] 2437ff75d9bd: Waiting [2022-04-13T09:20:31.943Z] 04944245beec: Verifying Checksum [2022-04-13T09:20:31.943Z] 04944245beec: Download complete [2022-04-13T09:20:31.943Z] 765212b225bb: Verifying Checksum [2022-04-13T09:20:31.943Z] 765212b225bb: Download complete [2022-04-13T09:20:31.943Z] f23df028b6ca: Verifying Checksum [2022-04-13T09:20:31.943Z] f23df028b6ca: Download complete [2022-04-13T09:20:31.943Z] d65c8cfc05b1: Verifying Checksum [2022-04-13T09:20:31.943Z] d65c8cfc05b1: Download complete [2022-04-13T09:20:32.219Z] 699f458cf7ca: Verifying Checksum [2022-04-13T09:20:32.219Z] 699f458cf7ca: Download complete [2022-04-13T09:20:32.496Z] 8998bd30e6a1: Verifying Checksum [2022-04-13T09:20:32.496Z] 8998bd30e6a1: Download complete [2022-04-13T09:20:35.132Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T09:20:35.132Z] 2437ff75d9bd: Download complete [2022-04-13T09:20:36.577Z] 8998bd30e6a1: Pull complete [2022-04-13T09:20:37.177Z] 04944245beec: Pull complete [2022-04-13T09:20:38.613Z] 699f458cf7ca: Pull complete [2022-04-13T09:20:38.887Z] 765212b225bb: Pull complete [2022-04-13T09:20:39.866Z] f23df028b6ca: Pull complete [2022-04-13T09:20:39.866Z] d65c8cfc05b1: Pull complete [2022-04-13T09:20:54.954Z] 2437ff75d9bd: Pull complete [2022-04-13T09:20:54.955Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T09:20:54.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T09:20:54.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T09:20:55.218Z] prd-ubuntu20.04-docker-arm64-4c-16g-20796 does not seem to be running inside a container [2022-04-13T09:20:55.315Z] $ 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/30 -v /w/workspace/device-modbus-go/30:/w/workspace/device-modbus-go/30:rw,z -v /w/workspace/device-modbus-go/30@tmp:/w/workspace/device-modbus-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-13T09:20:58.015Z] $ docker top dfea2e6a43e334c3c19e05dc3df85ed92fdf12b63d4c1d72ed863bf98857096c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:20:58.969Z] ---> job-cost.sh [2022-04-13T09:20:58.970Z] lf-activate-venv: SKIPPING [2022-04-13T09:20:58.970Z] INFO: No Stack... [2022-04-13T09:20:59.566Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T09:21:00.547Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T09:21:01.230Z] + cat /w/workspace/device-modbus-go/30/archives/cost.csv [2022-04-13T09:21:01.230Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T09:21:01.305Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-30-stack-cost] [2022-04-13T09:21:01.312Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-30-stack-cost] did not exist. Created. [2022-04-13T09:21:01.312Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T09:21:02.011Z] /w/workspace/device-modbus-go/30@tmp/durable-b73bc137/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T09:21:02.700Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T09:21:02.722Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T09:21:02.772Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T09:21:02.781Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T09:21:02.800Z] $ docker stop --time=1 dfea2e6a43e334c3c19e05dc3df85ed92fdf12b63d4c1d72ed863bf98857096c [2022-04-13T09:21:04.359Z] $ docker rm -f dfea2e6a43e334c3c19e05dc3df85ed92fdf12b63d4c1d72ed863bf98857096c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-13T09:21:04.835Z] provisioning config files... [2022-04-13T09:21:04.843Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4257219050208956645tmp [Pipeline] { [Pipeline] sh [2022-04-13T09:21:05.149Z] + set +x [2022-04-13T09:21:05.150Z] + curl -s https://codecov.io/bash [2022-04-13T09:21:05.150Z] + bash -s -- [2022-04-13T09:21:05.150Z] [2022-04-13T09:21:05.150Z] _____ _ [2022-04-13T09:21:05.150Z] / ____| | | [2022-04-13T09:21:05.150Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T09:21:05.150Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T09:21:05.150Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T09:21:05.150Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T09:21:05.150Z] Bash-1.0.6 [2022-04-13T09:21:05.150Z] [2022-04-13T09:21:05.150Z] [2022-04-13T09:21:05.150Z] ==> git version 2.25.1 found [2022-04-13T09:21:05.150Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-13T09:21:05.150Z] Release-Date: 2020-01-08 [2022-04-13T09:21:05.150Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-13T09:21:05.150Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T09:21:05.150Z] ==> Jenkins CI detected. [2022-04-13T09:21:05.150Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-04-13T09:21:05.150Z] project root: . [2022-04-13T09:21:05.150Z] --> token set from env [2022-04-13T09:21:05.150Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T09:21:05.150Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T09:21:05.150Z] ==> Python coveragepy not found [2022-04-13T09:21:05.150Z] ==> Searching for coverage reports in: [2022-04-13T09:21:05.150Z] + . [2022-04-13T09:21:05.150Z] -> Found 1 reports [2022-04-13T09:21:05.150Z] ==> Detecting git/mercurial file structure [2022-04-13T09:21:05.150Z] ==> Reading reports [2022-04-13T09:21:05.150Z] + ./coverage.out bytes=24065 [2022-04-13T09:21:05.150Z] ==> Appending adjustments [2022-04-13T09:21:05.150Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T09:21:05.410Z] + Found adjustments [2022-04-13T09:21:05.410Z] ==> Gzipping contents [2022-04-13T09:21:05.410Z] 4.0K /tmp/codecov.MfGCv4.gz [2022-04-13T09:21:05.410Z] ==> Uploading reports [2022-04-13T09:21:05.410Z] url: https://codecov.io [2022-04-13T09:21:05.410Z] query: branch=main&commit=244abab361647dcef607fbcbfbdaea3ae1f72309&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-13T09:21:05.410Z] -> Pinging Codecov [2022-04-13T09:21:05.410Z] 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=244abab361647dcef607fbcbfbdaea3ae1f72309&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-13T09:21:05.670Z] -> Uploading to [2022-04-13T09:21:05.670Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/55DBCA73C666E3227836607328DD7E49/244abab361647dcef607fbcbfbdaea3ae1f72309/fa4712bf-86b5-4066-900e-4d627c3ba6c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T092105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d34889380d4144a7a507fe638648c53d34129c18ac9dcf9c4297307a9e43cb4 [2022-04-13T09:21:05.670Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T09:21:05.670Z] Dload Upload Total Spent Left Speed [2022-04-13T09:21:05.930Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4031 0 0 100 4031 0 15624 --:--:-- --:--:-- --:--:-- 15684 [2022-04-13T09:21:05.931Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/244abab361647dcef607fbcbfbdaea3ae1f72309 [Pipeline] } [2022-04-13T09:21:05.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-13T09:21:06.070Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-13T09:21:06.086Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:21:06.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T09:21:06.389Z] [2022-04-13T09:21:06.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:21:06.693Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T09:21:06.693Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-13T09:21:06.693Z] 188c0c94c7c5: Pulling fs layer [2022-04-13T09:21:06.693Z] 0ef7d3d256c8: Pulling fs layer [2022-04-13T09:21:06.693Z] de9db76c5a1d: Pulling fs layer [2022-04-13T09:21:06.693Z] 0eba1c9be4d2: Pulling fs layer [2022-04-13T09:21:06.693Z] 0d57e429df01: Pulling fs layer [2022-04-13T09:21:06.693Z] 4e4be7b47b0d: Pulling fs layer [2022-04-13T09:21:06.693Z] e1f770b5df2f: Pulling fs layer [2022-04-13T09:21:06.693Z] 85a0685a4137: Pulling fs layer [2022-04-13T09:21:06.693Z] 0eba1c9be4d2: Waiting [2022-04-13T09:21:06.693Z] e1f770b5df2f: Waiting [2022-04-13T09:21:06.693Z] 0d57e429df01: Waiting [2022-04-13T09:21:06.693Z] 85a0685a4137: Waiting [2022-04-13T09:21:06.693Z] 4e4be7b47b0d: Waiting [2022-04-13T09:21:06.693Z] de9db76c5a1d: Verifying Checksum [2022-04-13T09:21:06.693Z] de9db76c5a1d: Download complete [2022-04-13T09:21:06.693Z] 0ef7d3d256c8: Download complete [2022-04-13T09:21:06.693Z] 0d57e429df01: Download complete [2022-04-13T09:21:06.693Z] 4e4be7b47b0d: Verifying Checksum [2022-04-13T09:21:06.693Z] 4e4be7b47b0d: Download complete [2022-04-13T09:21:06.693Z] 188c0c94c7c5: Verifying Checksum [2022-04-13T09:21:06.693Z] 188c0c94c7c5: Download complete [2022-04-13T09:21:06.956Z] 188c0c94c7c5: Pull complete [2022-04-13T09:21:06.956Z] e1f770b5df2f: Verifying Checksum [2022-04-13T09:21:06.956Z] e1f770b5df2f: Download complete [2022-04-13T09:21:06.956Z] 0ef7d3d256c8: Pull complete [2022-04-13T09:21:07.218Z] de9db76c5a1d: Pull complete [2022-04-13T09:21:07.477Z] 0eba1c9be4d2: Verifying Checksum [2022-04-13T09:21:07.477Z] 0eba1c9be4d2: Download complete [2022-04-13T09:21:07.735Z] 85a0685a4137: Verifying Checksum [2022-04-13T09:21:07.735Z] 85a0685a4137: Download complete [2022-04-13T09:21:11.018Z] 0eba1c9be4d2: Pull complete [2022-04-13T09:21:11.018Z] 0d57e429df01: Pull complete [2022-04-13T09:21:11.018Z] 4e4be7b47b0d: Pull complete [2022-04-13T09:21:11.018Z] e1f770b5df2f: Pull complete [2022-04-13T09:21:14.315Z] 85a0685a4137: Pull complete [2022-04-13T09:21:14.316Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-13T09:21:14.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T09:21:14.316Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-13T09:21:14.379Z] prd-ubuntu20.04-docker-8c-8g-20793 does not seem to be running inside a container [2022-04-13T09:21:14.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-13T09:21:16.704Z] $ docker top 0c5b8e61376878d4f368e22b6b3c2ef46f47b8966386e2c842bf3c8e7f9708a8 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-13T09:21:16.777Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-13T09:21:17.058Z] + set -o pipefail [2022-04-13T09:21:17.058Z] + snyk monitor '--org=edgex-jenkins' [2022-04-13T09:21:22.353Z] [2022-04-13T09:21:22.353Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-04-13T09:21:22.353Z] [2022-04-13T09:21:22.353Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/eff612af-177f-4891-a676-96afe443fb31 [2022-04-13T09:21:22.353Z] [2022-04-13T09:21:22.353Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-04-13T09:21:22.353Z] [2022-04-13T09:21:22.353Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-13T09:21:22.353Z] [2022-04-13T09:21:22.353Z] [Pipeline] } [2022-04-13T09:21:22.369Z] $ docker stop --time=1 0c5b8e61376878d4f368e22b6b3c2ef46f47b8966386e2c842bf3c8e7f9708a8 [2022-04-13T09:21:24.585Z] $ docker rm -f 0c5b8e61376878d4f368e22b6b3c2ef46f47b8966386e2c842bf3c8e7f9708a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T09:21:25.303Z] + git log --format=format:%s -1 244abab361647dcef607fbcbfbdaea3ae1f72309 [Pipeline] sh [2022-04-13T09:21:25.595Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:21:25.595Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:21:25.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:21:25.889Z] . [Pipeline] withDockerContainer [2022-04-13T09:21:25.959Z] prd-ubuntu20.04-docker-8c-8g-20793 does not seem to be running inside a container [2022-04-13T09:21:26.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T09:21:26.420Z] $ docker top 0d5f3f21db02186ad096ea2738ef30e966a73f8ed658eef01e75e5647741e22a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:21:26.523Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:21:26.523Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:21:26.638Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:21:26.645Z] $ docker exec 0d5f3f21db02186ad096ea2738ef30e966a73f8ed658eef01e75e5647741e22a ssh-agent [2022-04-13T09:21:26.770Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbOABDB/agent.16 [2022-04-13T09:21:26.770Z] SSH_AGENT_PID=22 [2022-04-13T09:21:26.775Z] Running ssh-add (command line suppressed) [2022-04-13T09:21:26.891Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4306731835757865668.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4306731835757865668.key) [2022-04-13T09:21:26.903Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:21:27.188Z] + git semver tag [2022-04-13T09:21:27.188Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:21:27.188Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-13T09:21:27.188Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-13T09:21:27.188Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:21:27.188Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:21:27.188Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:21:27.188Z] # $SEMVER_BRANCH = main [2022-04-13T09:21:27.188Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-13T09:21:27.188Z] # 244abab361647dcef607fbcbfbdaea3ae1f72309 HEAD [2022-04-13T09:21:27.188Z] # -> Force: false [2022-04-13T09:21:27.188Z] # be194161672f30585eeeedbc4f72f8d2fb5cf2cb refs/tags/v2.2.0-dev.12 [Pipeline] } [2022-04-13T09:21:27.203Z] $ docker exec --env ******** --env ******** 0d5f3f21db02186ad096ea2738ef30e966a73f8ed658eef01e75e5647741e22a ssh-agent -k [2022-04-13T09:21:27.320Z] unset SSH_AUTH_SOCK; [2022-04-13T09:21:27.320Z] unset SSH_AGENT_PID; [2022-04-13T09:21:27.320Z] echo Agent pid 22 killed; [2022-04-13T09:21:27.328Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:21:27.634Z] + git semver [Pipeline] } [2022-04-13T09:21:27.655Z] $ docker stop --time=1 0d5f3f21db02186ad096ea2738ef30e966a73f8ed658eef01e75e5647741e22a [2022-04-13T09:21:28.939Z] $ docker rm -f 0d5f3f21db02186ad096ea2738ef30e966a73f8ed658eef01e75e5647741e22a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:21:29.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T09:21:29.350Z] [2022-04-13T09:21:29.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:21:29.652Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T09:21:29.652Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-13T09:21:29.652Z] ab5ef0e58194: Pulling fs layer [2022-04-13T09:21:29.652Z] 9712f1f96733: Pulling fs layer [2022-04-13T09:21:29.652Z] 63f879dbbcfc: Pulling fs layer [2022-04-13T09:21:29.652Z] 0d9ebad4ef96: Pulling fs layer [2022-04-13T09:21:29.652Z] e9a5061849ea: Pulling fs layer [2022-04-13T09:21:29.652Z] d747dcd14b5f: Pulling fs layer [2022-04-13T09:21:29.652Z] 2de7ff778b66: Pulling fs layer [2022-04-13T09:21:29.652Z] d747dcd14b5f: Waiting [2022-04-13T09:21:29.652Z] 2de7ff778b66: Waiting [2022-04-13T09:21:29.652Z] 0d9ebad4ef96: Waiting [2022-04-13T09:21:29.652Z] e9a5061849ea: Waiting [2022-04-13T09:21:29.652Z] 9712f1f96733: Verifying Checksum [2022-04-13T09:21:29.652Z] 9712f1f96733: Download complete [2022-04-13T09:21:29.914Z] 63f879dbbcfc: Verifying Checksum [2022-04-13T09:21:29.914Z] 63f879dbbcfc: Download complete [2022-04-13T09:21:30.178Z] e9a5061849ea: Verifying Checksum [2022-04-13T09:21:30.178Z] e9a5061849ea: Download complete [2022-04-13T09:21:30.178Z] d747dcd14b5f: Download complete [2022-04-13T09:21:30.178Z] 0d9ebad4ef96: Verifying Checksum [2022-04-13T09:21:30.178Z] 0d9ebad4ef96: Download complete [2022-04-13T09:21:30.178Z] ab5ef0e58194: Verifying Checksum [2022-04-13T09:21:30.178Z] ab5ef0e58194: Download complete [2022-04-13T09:21:30.178Z] 2de7ff778b66: Verifying Checksum [2022-04-13T09:21:30.178Z] 2de7ff778b66: Download complete [2022-04-13T09:21:32.781Z] ab5ef0e58194: Pull complete [2022-04-13T09:21:32.781Z] 9712f1f96733: Pull complete [2022-04-13T09:21:33.720Z] 63f879dbbcfc: Pull complete [2022-04-13T09:21:37.009Z] 0d9ebad4ef96: Pull complete [2022-04-13T09:21:37.269Z] e9a5061849ea: Pull complete [2022-04-13T09:21:37.269Z] d747dcd14b5f: Pull complete [2022-04-13T09:21:38.649Z] 2de7ff778b66: Pull complete [2022-04-13T09:21:38.649Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-13T09:21:38.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T09:21:38.649Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-13T09:21:38.715Z] prd-ubuntu20.04-docker-8c-8g-20793 does not seem to be running inside a container [2022-04-13T09:21:38.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-13T09:21:40.733Z] $ docker top 35f731a8a999a6a888cbdf9ef0fcf66604db9fb881aa9cfe2fef05473da4a1c5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:21:40.807Z] provisioning config files... [2022-04-13T09:21:40.813Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2810339035859492203tmp [2022-04-13T09:21:40.825Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7134322723521258501tmp [2022-04-13T09:21:40.834Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1604697823896845294tmp [Pipeline] { [Pipeline] echo [2022-04-13T09:21:40.849Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:41.135Z] ---> sigul-configuration.sh [2022-04-13T09:21:41.135Z] gpg: directory `/root/.gnupg' created [2022-04-13T09:21:41.135Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-13T09:21:41.135Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-13T09:21:41.135Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-13T09:21:41.135Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-13T09:21:41.135Z] gpg: CAST5 encrypted data [2022-04-13T09:21:41.135Z] gpg: encrypted with 1 passphrase [2022-04-13T09:21:41.135Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-13T09:21:41.417Z] + mkdir /home/jenkins [2022-04-13T09:21:41.417Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-13T09:21:41.706Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-04-13T09:21:41.717Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:42.008Z] ---> sigul-install.sh [2022-04-13T09:21:42.008Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-13T09:21:42.298Z] + git tag --list [2022-04-13T09:21:42.298Z] 0.7.1 [2022-04-13T09:21:42.298Z] v1.0.0 [2022-04-13T09:21:42.298Z] v1.1.0 [2022-04-13T09:21:42.298Z] v1.1.1 [2022-04-13T09:21:42.298Z] v1.2.2 [2022-04-13T09:21:42.298Z] v1.3.0 [2022-04-13T09:21:42.298Z] v1.3.1 [2022-04-13T09:21:42.298Z] v2.0.0 [2022-04-13T09:21:42.298Z] v2.0.1-dev.1 [2022-04-13T09:21:42.298Z] v2.0.1-dev.10 [2022-04-13T09:21:42.298Z] v2.0.1-dev.11 [2022-04-13T09:21:42.298Z] v2.0.1-dev.12 [2022-04-13T09:21:42.298Z] v2.0.1-dev.2 [2022-04-13T09:21:42.298Z] v2.0.1-dev.3 [2022-04-13T09:21:42.298Z] v2.0.1-dev.4 [2022-04-13T09:21:42.298Z] v2.0.1-dev.5 [2022-04-13T09:21:42.298Z] v2.0.1-dev.6 [2022-04-13T09:21:42.298Z] v2.0.1-dev.7 [2022-04-13T09:21:42.298Z] v2.0.1-dev.8 [2022-04-13T09:21:42.298Z] v2.0.1-dev.9 [2022-04-13T09:21:42.298Z] v2.1.0 [2022-04-13T09:21:42.298Z] v2.2.0-dev.1 [2022-04-13T09:21:42.298Z] v2.2.0-dev.10 [2022-04-13T09:21:42.298Z] v2.2.0-dev.11 [2022-04-13T09:21:42.298Z] v2.2.0-dev.12 [2022-04-13T09:21:42.298Z] v2.2.0-dev.2 [2022-04-13T09:21:42.298Z] v2.2.0-dev.3 [2022-04-13T09:21:42.298Z] v2.2.0-dev.4 [2022-04-13T09:21:42.298Z] v2.2.0-dev.5 [2022-04-13T09:21:42.298Z] v2.2.0-dev.6 [2022-04-13T09:21:42.298Z] v2.2.0-dev.7 [2022-04-13T09:21:42.298Z] v2.2.0-dev.8 [2022-04-13T09:21:42.298Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-13T09:21:42.589Z] + lftools sign git-tag v2.2.0-dev.12 [2022-04-13T09:21:43.161Z] Signing Git tag with Sigul... [2022-04-13T09:21:43.161Z] Signing v2.2.0-dev.12 [Pipeline] echo [2022-04-13T09:21:43.432Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:43.721Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-13T09:21:43.729Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-13T09:21:43.756Z] $ docker stop --time=1 35f731a8a999a6a888cbdf9ef0fcf66604db9fb881aa9cfe2fef05473da4a1c5 [2022-04-13T09:21:45.081Z] $ docker rm -f 35f731a8a999a6a888cbdf9ef0fcf66604db9fb881aa9cfe2fef05473da4a1c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-13T09:21:45.470Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:21:45.471Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:21:45.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:21:45.762Z] . [Pipeline] withDockerContainer [2022-04-13T09:21:45.832Z] prd-ubuntu20.04-docker-8c-8g-20793 does not seem to be running inside a container [2022-04-13T09:21:45.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T09:21:46.257Z] $ docker top 66a409faabe6f227fde73fe9bd0700132df01e3748313ca150dcfdd49439d49c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:21:46.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:21:46.352Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:21:46.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:21:46.489Z] $ docker exec 66a409faabe6f227fde73fe9bd0700132df01e3748313ca150dcfdd49439d49c ssh-agent [2022-04-13T09:21:46.604Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLBoHnm/agent.15 [2022-04-13T09:21:46.604Z] SSH_AGENT_PID=21 [2022-04-13T09:21:46.609Z] Running ssh-add (command line suppressed) [2022-04-13T09:21:46.725Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4142944610088271323.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4142944610088271323.key) [2022-04-13T09:21:46.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:21:47.022Z] + git semver bump pre [2022-04-13T09:21:47.023Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:21:47.023Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-13T09:21:47.023Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-13T09:21:47.023Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:21:47.023Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:21:47.023Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:21:47.023Z] # $SEMVER_BRANCH = main [2022-04-13T09:21:47.023Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-13T09:21:47.023Z] 2.2.0-dev.13 [Pipeline] } [2022-04-13T09:21:47.036Z] $ docker exec --env ******** --env ******** 66a409faabe6f227fde73fe9bd0700132df01e3748313ca150dcfdd49439d49c ssh-agent -k [2022-04-13T09:21:47.142Z] unset SSH_AUTH_SOCK; [2022-04-13T09:21:47.142Z] unset SSH_AGENT_PID; [2022-04-13T09:21:47.143Z] echo Agent pid 21 killed; [2022-04-13T09:21:47.150Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:21:47.459Z] + git semver [Pipeline] } [2022-04-13T09:21:47.477Z] $ docker stop --time=1 66a409faabe6f227fde73fe9bd0700132df01e3748313ca150dcfdd49439d49c [2022-04-13T09:21:48.767Z] $ docker rm -f 66a409faabe6f227fde73fe9bd0700132df01e3748313ca150dcfdd49439d49c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:21:49.116Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:21:49.116Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:21:49.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:21:49.413Z] . [Pipeline] withDockerContainer [2022-04-13T09:21:49.479Z] prd-ubuntu20.04-docker-8c-8g-20793 does not seem to be running inside a container [2022-04-13T09:21:49.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T09:21:49.876Z] $ docker top a67983f82c450804bc28daae7293f55ffbe7e9283b03717ac4d56b1443923058 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:21:49.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:21:49.960Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:21:50.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:21:50.082Z] $ docker exec a67983f82c450804bc28daae7293f55ffbe7e9283b03717ac4d56b1443923058 ssh-agent [2022-04-13T09:21:50.202Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOCLicj/agent.14 [2022-04-13T09:21:50.202Z] SSH_AGENT_PID=20 [2022-04-13T09:21:50.209Z] Running ssh-add (command line suppressed) [2022-04-13T09:21:50.329Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4785490576017707641.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4785490576017707641.key) [2022-04-13T09:21:50.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:21:50.630Z] + git semver push [2022-04-13T09:21:50.630Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:21:50.630Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-13T09:21:50.630Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-13T09:21:50.630Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:21:50.630Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:21:50.630Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:21:50.630Z] # $SEMVER_BRANCH = main [2022-04-13T09:21:50.630Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-13T09:21:52.557Z] $ docker exec --env ******** --env ******** a67983f82c450804bc28daae7293f55ffbe7e9283b03717ac4d56b1443923058 ssh-agent -k [2022-04-13T09:21:52.669Z] unset SSH_AUTH_SOCK; [2022-04-13T09:21:52.669Z] unset SSH_AGENT_PID; [2022-04-13T09:21:52.669Z] echo Agent pid 20 killed; [2022-04-13T09:21:52.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:21:52.991Z] + git semver [Pipeline] } [2022-04-13T09:21:53.008Z] $ docker stop --time=1 a67983f82c450804bc28daae7293f55ffbe7e9283b03717ac4d56b1443923058 [2022-04-13T09:21:54.304Z] $ docker rm -f a67983f82c450804bc28daae7293f55ffbe7e9283b03717ac4d56b1443923058 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-13T09:21:54.920Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-04-13T09:21:54.920Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-13T09:21:54.920Z] total 16 [2022-04-13T09:21:54.920Z] drwxr-xr-x 3 root root 4096 Apr 13 09:11 . [2022-04-13T09:21:54.920Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 09:21 .. [2022-04-13T09:21:54.920Z] drwxr-xr-x 2 root root 4096 Apr 13 09:11 cost [2022-04-13T09:21:54.920Z] -rw-r--r-- 1 root root 86 Apr 13 09:11 cost.csv [2022-04-13T09:21:54.920Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-13T09:21:54.920Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-13T09:21:54.920Z] total 16 [2022-04-13T09:21:54.920Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:11 . [2022-04-13T09:21:54.920Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 09:21 .. [2022-04-13T09:21:54.920Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 09:11 cost [2022-04-13T09:21:54.920Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 13 09:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:55.216Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:56.132Z] ---> package-listing.sh [2022-04-13T09:21:56.132Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T09:21:56.132Z] ++ facter osfamily [2022-04-13T09:21:56.132Z] + OS_FAMILY=debian [2022-04-13T09:21:56.132Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-04-13T09:21:56.132Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T09:21:56.132Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T09:21:56.132Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T09:21:56.132Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T09:21:56.132Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-13T09:21:56.132Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T09:21:56.132Z] + case "${OS_FAMILY}" in [2022-04-13T09:21:56.132Z] + dpkg -l [2022-04-13T09:21:56.132Z] + grep '^ii' [2022-04-13T09:21:56.424Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T09:21:56.424Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T09:21:56.424Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T09:21:56.424Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-13T09:21:56.424Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-04-13T09:21:56.424Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-04-13T09:21:56.447Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-13T09:21:56.724Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:21:57.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:21:57.284Z] . [Pipeline] withDockerContainer [2022-04-13T09:21:57.346Z] prd-ubuntu20.04-docker-8c-8g-20793 does not seem to be running inside a container [2022-04-13T09:21:57.380Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T09:21:57.623Z] $ docker top 765034f43fad27abdf1ed1894636ef3db66be645482bbc3afe11dac67fb2cb86 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T09:21:57.977Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T09:21:58.264Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T09:21:58.552Z] + ls /var/log/sa-host [2022-04-13T09:21:58.552Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:21:58.645Z] provisioning config files... [2022-04-13T09:21:58.653Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1530257200345938094tmp [Pipeline] { [Pipeline] echo [2022-04-13T09:21:58.672Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:58.956Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T09:21:58.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:59.291Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T09:21:59.302Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:59.589Z] ---> sudo-logs.sh [2022-04-13T09:21:59.589Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T09:21:59.622Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:59.907Z] ---> job-cost.sh [2022-04-13T09:21:59.908Z] lf-activate-venv: SKIPPING [2022-04-13T09:21:59.908Z] DEBUG: total: 0.2199999988079071 [2022-04-13T09:21:59.908Z] INFO: Retrieving Stack Cost... [2022-04-13T09:22:00.168Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T09:22:00.739Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T09:22:00.756Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:22:01.043Z] ---> logs-deploy.sh [2022-04-13T09:22:01.043Z] lf-activate-venv: SKIPPING [2022-04-13T09:22:01.043Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/30 [2022-04-13T09:22:01.043Z] INFO: archiving workspace using pattern(s): [2022-04-13T09:22:01.990Z] Archives upload complete. [2022-04-13T09:22:01.990Z] INFO: archiving logs to Nexus