Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e01a1226a5cf77919213724cb5799907c2b0adaa 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-ssh4653079665008934404.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-ssh15214221547579948608.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-ssh6068354164278342545.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-ssh16174631874626348854.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-ssh14807273242191895795.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23806 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 e01a1226a5cf77919213724cb5799907c2b0adaa (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 e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 Commit message: "feat(snap): add support for env var injection (#336)" > git rev-list --no-walk 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T15:44:00.429Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T15:44:00.497Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T15:44:00.519Z] ========================================================= [2022-04-26T15:44:00.519Z] EdgeX Global Pipelines Version Info [2022-04-26T15:44:00.519Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:44:01.320Z] ------------------- [2022-04-26T15:44:01.320Z] stable info: [2022-04-26T15:44:01.320Z] ------------------- [2022-04-26T15:44:01.320Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T15:44:01.320Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T15:44:01.320Z] Message: update stable to v1.0.221 [2022-04-26T15:44:01.896Z] ------------------- [2022-04-26T15:44:01.896Z] experimental info: [2022-04-26T15:44:01.896Z] ------------------- [2022-04-26T15:44:01.896Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T15:44:01.896Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T15:44:01.896Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T15:44:02.023Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-26T15:44:02.037Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-26T15:44:02.052Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T15:44:02.064Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T15:44:02.082Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T15:44:02.093Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T15:44:02.109Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T15:44:02.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T15:44:02.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T15:44:02.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T15:44:02.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T15:44:02.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-26T15:44:02.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T15:44:02.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T15:44:02.254Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:44:02.271Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:44:02.291Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:44:02.309Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:44:02.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T15:44:02.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T15:44:02.355Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T15:44:02.371Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T15:44:02.382Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T15:44:02.394Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T15:44:02.415Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T15:44:02.433Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T15:44:02.449Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-26T15:44:02.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-26T15:44:02.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-26T15:44:02.509Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] echo [2022-04-26T15:44:02.529Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e01a122 [Pipeline] echo [2022-04-26T15:44:02.550Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:44:02.602Z] provisioning config files... [2022-04-26T15:44:02.620Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7854436953050804169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:44:03.004Z] ---> docker-login.sh [2022-04-26T15:44:03.004Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:44:03.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:44:03.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:44:03.267Z] Configure a credential helper to remove this warning. See [2022-04-26T15:44:03.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:44:03.267Z] [2022-04-26T15:44:03.267Z] Login Succeeded [2022-04-26T15:44:03.267Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:44:03.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:44:03.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:44:03.530Z] Configure a credential helper to remove this warning. See [2022-04-26T15:44:03.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:44:03.530Z] [2022-04-26T15:44:03.530Z] Login Succeeded [2022-04-26T15:44:03.530Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:44:03.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:44:03.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:44:03.792Z] Configure a credential helper to remove this warning. See [2022-04-26T15:44:03.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:44:03.792Z] [2022-04-26T15:44:03.792Z] Login Succeeded [2022-04-26T15:44:03.792Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:44:03.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:44:03.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:44:03.792Z] Configure a credential helper to remove this warning. See [2022-04-26T15:44:03.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:44:03.792Z] [2022-04-26T15:44:03.792Z] Login Succeeded [2022-04-26T15:44:03.792Z] docker.io [2022-04-26T15:44:03.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:44:04.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:44:04.371Z] Configure a credential helper to remove this warning. See [2022-04-26T15:44:04.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:44:04.371Z] [2022-04-26T15:44:04.371Z] Login Succeeded [2022-04-26T15:44:04.371Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:44:04.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T15:44:04.753Z] + git rev-list -1 --merges e01a1226a5cf77919213724cb5799907c2b0adaa~1..e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] echo [2022-04-26T15:44:04.786Z] -----------> git rev-list -1 --merges e01a1226a5cf77919213724cb5799907c2b0adaa~1..e01a1226a5cf77919213724cb5799907c2b0adaa e01a1226a5cf77919213724cb5799907c2b0adaa [false] [Pipeline] sh [2022-04-26T15:44:05.098Z] + git log --format=format:%s -1 e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] echo [2022-04-26T15:44:05.116Z] ========================================================= [2022-04-26T15:44:05.116Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T15:44:05.116Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T15:44:05.469Z] + git log --format=format:%s -1 e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] echo [2022-04-26T15:44:05.482Z] [semverPrep] GIT_COMMIT: e01a1226a5cf77919213724cb5799907c2b0adaa, Commit Message: feat(snap): add support for env var injection (#336) [Pipeline] echo [2022-04-26T15:44:05.490Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T15:44:05.883Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T15:44:05.883Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T15:44:05.883Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T15:44:05.883Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T15:44:05.883Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T15:44:05.883Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T15:44:05.883Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:44:06.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:44:06.240Z] [2022-04-26T15:44:06.240Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:44:06.549Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:44:06.549Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T15:44:06.549Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T15:44:06.549Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T15:44:06.549Z] 4c7163046ea9: Pulling fs layer [2022-04-26T15:44:06.549Z] 0c2d73faf560: Pulling fs layer [2022-04-26T15:44:06.549Z] 0c2d73faf560: Waiting [2022-04-26T15:44:06.549Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T15:44:06.549Z] 3e5f54012d9b: Download complete [2022-04-26T15:44:06.549Z] a0d0a0d46f8b: Verifying Checksum [2022-04-26T15:44:06.549Z] a0d0a0d46f8b: Download complete [2022-04-26T15:44:06.549Z] 4c7163046ea9: Verifying Checksum [2022-04-26T15:44:06.549Z] 4c7163046ea9: Download complete [2022-04-26T15:44:06.809Z] 0c2d73faf560: Verifying Checksum [2022-04-26T15:44:06.809Z] 0c2d73faf560: Download complete [2022-04-26T15:44:06.809Z] a0d0a0d46f8b: Pull complete [2022-04-26T15:44:06.809Z] 3e5f54012d9b: Pull complete [2022-04-26T15:44:07.391Z] 4c7163046ea9: Pull complete [2022-04-26T15:44:07.391Z] 0c2d73faf560: Pull complete [2022-04-26T15:44:07.391Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T15:44:07.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:44:07.391Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T15:44:07.469Z] prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container [2022-04-26T15:44:07.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T15:44:08.278Z] $ docker top ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T15:44:08.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:44:08.397Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:44:08.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:44:08.543Z] $ docker exec ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e ssh-agent [2022-04-26T15:44:08.675Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkneLeo/agent.14 [2022-04-26T15:44:08.675Z] SSH_AGENT_PID=20 [2022-04-26T15:44:08.683Z] Running ssh-add (command line suppressed) [2022-04-26T15:44:08.803Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4577612401896988897.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4577612401896988897.key) [2022-04-26T15:44:08.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:44:09.120Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T15:44:09.130Z] $ docker exec --env ******** --env ******** ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e ssh-agent -k [2022-04-26T15:44:09.237Z] unset SSH_AUTH_SOCK; [2022-04-26T15:44:09.238Z] unset SSH_AGENT_PID; [2022-04-26T15:44:09.238Z] echo Agent pid 20 killed; [2022-04-26T15:44:09.254Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T15:44:09.277Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:44:09.277Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:44:09.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:44:09.421Z] $ docker exec ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e ssh-agent [2022-04-26T15:44:09.557Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIdgNmK/agent.53 [2022-04-26T15:44:09.557Z] SSH_AGENT_PID=59 [2022-04-26T15:44:09.562Z] Running ssh-add (command line suppressed) [2022-04-26T15:44:09.677Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6839247465669850662.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6839247465669850662.key) [2022-04-26T15:44:09.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:44:09.986Z] + git semver init [2022-04-26T15:44:09.986Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T15:44:09.986Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-26T15:44:09.986Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-26T15:44:09.986Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T15:44:09.986Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T15:44:09.986Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T15:44:09.986Z] # $SEMVER_BRANCH = main [2022-04-26T15:44:09.986Z] # $SEMVER_TEMP = /tmp/semver-537996854 [2022-04-26T15:44:09.986Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-26T15:44:10.932Z] # '/tmp/semver-537996854' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-04-26T15:44:10.932Z] # -> Force: false [2022-04-26T15:44:10.932Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-26T15:44:10.941Z] $ docker exec --env ******** --env ******** ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e ssh-agent -k [2022-04-26T15:44:11.065Z] unset SSH_AUTH_SOCK; [2022-04-26T15:44:11.065Z] unset SSH_AGENT_PID; [2022-04-26T15:44:11.065Z] echo Agent pid 59 killed; [2022-04-26T15:44:11.081Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T15:44:11.396Z] + git semver [Pipeline] } [2022-04-26T15:44:11.410Z] $ docker stop --time=1 ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e [2022-04-26T15:44:13.069Z] $ docker rm -f ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:44:13.473Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T15:44:13.784Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T15:44:13.788Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.13 [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-26T15:44:13.940Z] provisioning config files... [2022-04-26T15:44:13.961Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1903353901066244639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:44:14.268Z] ---> docker-login.sh [2022-04-26T15:44:14.268Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:44:14.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:44:14.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:44:14.268Z] Configure a credential helper to remove this warning. See [2022-04-26T15:44:14.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:44:14.268Z] [2022-04-26T15:44:14.268Z] Login Succeeded [2022-04-26T15:44:14.268Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:44:14.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:44:14.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:44:14.529Z] Configure a credential helper to remove this warning. See [2022-04-26T15:44:14.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:44:14.529Z] [2022-04-26T15:44:14.529Z] Login Succeeded [2022-04-26T15:44:14.529Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:44:14.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:44:14.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:44:14.529Z] Configure a credential helper to remove this warning. See [2022-04-26T15:44:14.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:44:14.529Z] [2022-04-26T15:44:14.529Z] Login Succeeded [2022-04-26T15:44:14.529Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:44:14.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:44:14.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:44:14.791Z] Configure a credential helper to remove this warning. See [2022-04-26T15:44:14.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:44:14.791Z] [2022-04-26T15:44:14.791Z] Login Succeeded [2022-04-26T15:44:14.791Z] docker.io [2022-04-26T15:44:14.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:44:15.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:44:15.053Z] Configure a credential helper to remove this warning. See [2022-04-26T15:44:15.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:44:15.053Z] [2022-04-26T15:44:15.053Z] Login Succeeded [2022-04-26T15:44:15.053Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:44:15.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T15:44:15.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:44:15.148Z] ========================================================= [2022-04-26T15:44:15.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T15:44:15.149Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:44:15.545Z] + 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-26T15:44:15.545Z] Sending build context to Docker daemon 5.848MB [2022-04-26T15:44:15.545Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:44:15.545Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-26T15:44:15.545Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T15:44:15.545Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T15:44:15.545Z] 666ba61612fd: Pulling fs layer [2022-04-26T15:44:15.545Z] 8ed8ca486205: Pulling fs layer [2022-04-26T15:44:15.545Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T15:44:15.545Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T15:44:15.545Z] ca2b28591e48: Pulling fs layer [2022-04-26T15:44:15.545Z] a51346096db8: Pulling fs layer [2022-04-26T15:44:15.545Z] daebc70d1ce1: Pulling fs layer [2022-04-26T15:44:15.545Z] 0e18a0eac166: Pulling fs layer [2022-04-26T15:44:15.545Z] 22a0e8bec74d: Waiting [2022-04-26T15:44:15.545Z] 4fe6c5a15a65: Waiting [2022-04-26T15:44:15.545Z] a51346096db8: Waiting [2022-04-26T15:44:15.545Z] ca2b28591e48: Waiting [2022-04-26T15:44:15.545Z] 0e18a0eac166: Waiting [2022-04-26T15:44:15.545Z] 8ed8ca486205: Download complete [2022-04-26T15:44:15.806Z] 666ba61612fd: Download complete [2022-04-26T15:44:15.806Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T15:44:15.806Z] 22a0e8bec74d: Download complete [2022-04-26T15:44:15.806Z] ca2b28591e48: Verifying Checksum [2022-04-26T15:44:15.806Z] ca2b28591e48: Download complete [2022-04-26T15:44:15.806Z] 59bf1c3509f3: Download complete [2022-04-26T15:44:15.806Z] a51346096db8: Verifying Checksum [2022-04-26T15:44:15.806Z] a51346096db8: Download complete [2022-04-26T15:44:15.806Z] daebc70d1ce1: Verifying Checksum [2022-04-26T15:44:15.806Z] daebc70d1ce1: Download complete [2022-04-26T15:44:15.806Z] 59bf1c3509f3: Pull complete [2022-04-26T15:44:16.067Z] 666ba61612fd: Pull complete [2022-04-26T15:44:16.067Z] 8ed8ca486205: Pull complete [2022-04-26T15:44:16.329Z] 0e18a0eac166: Verifying Checksum [2022-04-26T15:44:16.329Z] 0e18a0eac166: Download complete [2022-04-26T15:44:16.600Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T15:44:16.600Z] 4fe6c5a15a65: Download complete [2022-04-26T15:44:20.805Z] 4fe6c5a15a65: Pull complete [2022-04-26T15:44:20.805Z] 22a0e8bec74d: Pull complete [2022-04-26T15:44:20.805Z] ca2b28591e48: Pull complete [2022-04-26T15:44:20.805Z] a51346096db8: Pull complete [2022-04-26T15:44:20.805Z] daebc70d1ce1: Pull complete [2022-04-26T15:44:23.377Z] 0e18a0eac166: Pull complete [2022-04-26T15:44:23.377Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T15:44:23.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T15:44:23.377Z] ---> f018257e8ee9 [2022-04-26T15:44:23.377Z] Step 3/10 : ARG MAKE='make build' [2022-04-26T15:44:25.301Z] ---> Running in ecb864d59cba [2022-04-26T15:44:25.301Z] Removing intermediate container ecb864d59cba [2022-04-26T15:44:25.301Z] ---> 9207ad5f0e54 [2022-04-26T15:44:25.301Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:44:25.301Z] ---> Running in e6b4924ba0fb [2022-04-26T15:44:25.874Z] Removing intermediate container e6b4924ba0fb [2022-04-26T15:44:25.874Z] ---> 5b2158519b30 [2022-04-26T15:44:25.874Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T15:44:25.874Z] ---> Running in e8591601b8dc [2022-04-26T15:44:26.136Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:44:27.080Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:44:27.340Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T15:44:27.340Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-26T15:44:27.601Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T15:44:27.601Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T15:44:27.601Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-26T15:44:27.862Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-26T15:44:27.862Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-26T15:44:27.862Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-26T15:44:28.123Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T15:44:28.123Z] OK: 226 MiB in 60 packages [2022-04-26T15:44:28.694Z] Removing intermediate container e8591601b8dc [2022-04-26T15:44:28.694Z] ---> 8e7d68a51028 [2022-04-26T15:44:28.694Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-26T15:44:28.694Z] ---> Running in 4bc249bb1f98 [2022-04-26T15:44:28.694Z] Removing intermediate container 4bc249bb1f98 [2022-04-26T15:44:28.695Z] ---> b2bd0cc69f4e [2022-04-26T15:44:28.695Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-26T15:44:28.906Z] Still waiting to schedule task [2022-04-26T15:44:28.907Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-26T15:44:28.956Z] ---> 853a93e8c00b [2022-04-26T15:44:28.957Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:44:28.957Z] ---> Running in 2ab6506c6f2c [2022-04-26T15:44:43.874Z] Removing intermediate container 2ab6506c6f2c [2022-04-26T15:44:43.874Z] ---> bed1a35f11a2 [2022-04-26T15:44:43.874Z] Step 9/10 : COPY . . [2022-04-26T15:44:43.874Z] ---> f4dc6fc96a1d [2022-04-26T15:44:43.874Z] Step 10/10 : RUN ${MAKE} [2022-04-26T15:44:43.874Z] ---> Running in e7928cd52992 [2022-04-26T15:44:43.874Z] noop [2022-04-26T15:44:43.874Z] Removing intermediate container e7928cd52992 [2022-04-26T15:44:43.874Z] ---> a390403025f2 [2022-04-26T15:44:43.874Z] Successfully built a390403025f2 [2022-04-26T15:44:43.874Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:44:44.177Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:44:44.178Z] . [Pipeline] withDockerContainer [2022-04-26T15:44:44.247Z] prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container [2022-04-26T15:44:44.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-26T15:44:44.696Z] $ docker top 80df96fcff69f34b87a8b06774d6cf03d7a16c28be57caa1d89b4c7f54cdf2c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T15:44:45.054Z] + go version [2022-04-26T15:44:45.054Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T15:44:45.073Z] $ docker stop --time=1 80df96fcff69f34b87a8b06774d6cf03d7a16c28be57caa1d89b4c7f54cdf2c3 [2022-04-26T15:44:46.403Z] $ docker rm -f 80df96fcff69f34b87a8b06774d6cf03d7a16c28be57caa1d89b4c7f54cdf2c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:44:46.888Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:44:46.888Z] . [Pipeline] withDockerContainer [2022-04-26T15:44:46.957Z] prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container [2022-04-26T15:44:47.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-26T15:44:47.427Z] $ docker top 08fb01d1a091e957d0552942ece82796acc68ce50a314a0482a674098f316a98 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T15:44:47.790Z] + make test [2022-04-26T15:44:47.790Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T15:44:48.052Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-26T15:44:58.042Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-26T15:44:58.042Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.4% of statements [2022-04-26T15:45:04.621Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T15:45:07.932Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T15:45:07.932Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T15:45:07.932Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T15:45:08.520Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T15:45:08.545Z] $ docker stop --time=1 08fb01d1a091e957d0552942ece82796acc68ce50a314a0482a674098f316a98 [2022-04-26T15:45:10.708Z] $ docker rm -f 08fb01d1a091e957d0552942ece82796acc68ce50a314a0482a674098f316a98 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:45:11.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T15:45:11.168Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T15:45:11.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T15:45:12.138Z] + ls -al . [2022-04-26T15:45:12.138Z] total 180 [2022-04-26T15:45:12.138Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 15:45 . [2022-04-26T15:45:12.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:43 .. [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 15:43 .dockerignore [2022-04-26T15:45:12.138Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:43 .git [2022-04-26T15:45:12.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:43 .github [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 26 15:43 .gitignore [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 15:43 .golangci.yml [2022-04-26T15:45:12.138Z] drwx------ 3 jenkins jenkins 4096 Apr 26 15:44 .semver [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 26 15:43 Attribution.txt [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 26 15:43 CHANGELOG.md [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 26 15:43 Dockerfile [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:43 GOVERNANCE.md [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 15:43 Jenkinsfile [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 15:43 LICENSE [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 26 15:43 Makefile [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 26 15:43 OWNERS.md [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 26 15:43 README.md [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:44 VERSION [2022-04-26T15:45:12.138Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:43 bin [2022-04-26T15:45:12.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:43 cmd [2022-04-26T15:45:12.138Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 26 15:44 coverage.out [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 26 15:43 go.mod [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 26 15:43 go.sum [2022-04-26T15:45:12.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:43 internal [2022-04-26T15:45:12.138Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:43 simulator [2022-04-26T15:45:12.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:43 snap [2022-04-26T15:45:12.138Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 26 15:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:12.438Z] + 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=e01a1226a5cf77919213724cb5799907c2b0adaa --label arch=amd64 --label version=2.2.0-dev.13 . [2022-04-26T15:45:12.438Z] Sending build context to Docker daemon 5.873MB [2022-04-26T15:45:12.438Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:45:12.438Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-26T15:45:12.438Z] ---> a390403025f2 [2022-04-26T15:45:12.438Z] Step 3/23 : ARG MAKE='make build' [2022-04-26T15:45:12.698Z] ---> Running in 2214f39d97af [2022-04-26T15:45:12.698Z] Removing intermediate container 2214f39d97af [2022-04-26T15:45:12.698Z] ---> 61e4984a3646 [2022-04-26T15:45:12.698Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:45:12.698Z] ---> Running in ddfa499196aa [2022-04-26T15:45:13.268Z] Removing intermediate container ddfa499196aa [2022-04-26T15:45:13.268Z] ---> ec9ff35e3137 [2022-04-26T15:45:13.268Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T15:45:13.268Z] ---> Running in ec86c8223cfb [2022-04-26T15:45:13.529Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:45:14.471Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:45:14.744Z] OK: 226 MiB in 60 packages [2022-04-26T15:45:15.003Z] Removing intermediate container ec86c8223cfb [2022-04-26T15:45:15.003Z] ---> 2b08d0e42e5f [2022-04-26T15:45:15.003Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-26T15:45:15.003Z] ---> Running in fcf39e090dce [2022-04-26T15:45:15.263Z] Removing intermediate container fcf39e090dce [2022-04-26T15:45:15.263Z] ---> 76117c81a6e7 [2022-04-26T15:45:15.263Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-26T15:45:15.263Z] ---> 14b46da84fed [2022-04-26T15:45:15.263Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:45:15.263Z] ---> Running in 5b93e6f5a562 [2022-04-26T15:45:15.831Z] Removing intermediate container 5b93e6f5a562 [2022-04-26T15:45:15.831Z] ---> 0978ab9c3d3c [2022-04-26T15:45:15.831Z] Step 9/23 : COPY . . [2022-04-26T15:45:16.403Z] ---> 5e0c2a964160 [2022-04-26T15:45:16.403Z] Step 10/23 : RUN ${MAKE} [2022-04-26T15:45:16.403Z] ---> Running in 00768f5e39a6 [2022-04-26T15:45:16.664Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-26T15:45:38.610Z] Removing intermediate container 00768f5e39a6 [2022-04-26T15:45:38.610Z] ---> 29228e6dab25 [2022-04-26T15:45:38.610Z] Step 11/23 : FROM alpine:3.14 [2022-04-26T15:45:38.610Z] 3.14: Pulling from library/alpine [2022-04-26T15:45:38.610Z] 8663204ce13b: Pulling fs layer [2022-04-26T15:45:38.610Z] 8663204ce13b: Verifying Checksum [2022-04-26T15:45:38.610Z] 8663204ce13b: Download complete [2022-04-26T15:45:38.610Z] 8663204ce13b: Pull complete [2022-04-26T15:45:38.610Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T15:45:38.610Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T15:45:38.610Z] ---> e04c818066af [2022-04-26T15:45:38.610Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-26T15:45:38.610Z] ---> Running in f0f462daa0a6 [2022-04-26T15:45:38.610Z] Removing intermediate container f0f462daa0a6 [2022-04-26T15:45:38.610Z] ---> a0faa672c1b8 [2022-04-26T15:45:38.610Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:45:38.610Z] ---> Running in 07e494b0a36c [2022-04-26T15:45:38.610Z] Removing intermediate container 07e494b0a36c [2022-04-26T15:45:38.610Z] ---> 5d72c3d87c6c [2022-04-26T15:45:38.610Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T15:45:38.610Z] ---> Running in 9ceb47e7faef [2022-04-26T15:45:38.610Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:45:38.610Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:45:38.610Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T15:45:38.870Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T15:45:38.870Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T15:45:38.870Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T15:45:39.131Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T15:45:39.131Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T15:45:39.131Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T15:45:39.131Z] OK: 8 MiB in 20 packages [2022-04-26T15:45:39.700Z] Removing intermediate container 9ceb47e7faef [2022-04-26T15:45:39.700Z] ---> 6b00ff5401b2 [2022-04-26T15:45:39.700Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-26T15:45:40.273Z] ---> 63498ded2249 [2022-04-26T15:45:40.273Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-26T15:45:40.531Z] ---> 31377a1bdc07 [2022-04-26T15:45:40.531Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-26T15:45:40.531Z] ---> dd10fbe3ea16 [2022-04-26T15:45:40.531Z] Step 18/23 : EXPOSE 59901 [2022-04-26T15:45:40.531Z] ---> Running in 6882e71dfd07 [2022-04-26T15:45:40.790Z] Removing intermediate container 6882e71dfd07 [2022-04-26T15:45:40.790Z] ---> 49ac63f3fb30 [2022-04-26T15:45:40.790Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-26T15:45:40.790Z] ---> Running in 7c3a7ab894ab [2022-04-26T15:45:40.790Z] Removing intermediate container 7c3a7ab894ab [2022-04-26T15:45:40.790Z] ---> 1ab13b699453 [2022-04-26T15:45:40.790Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T15:45:40.790Z] ---> Running in edf6531f318f [2022-04-26T15:45:41.050Z] Removing intermediate container edf6531f318f [2022-04-26T15:45:41.050Z] ---> 0f53f34674ad [2022-04-26T15:45:41.050Z] Step 21/23 : LABEL arch=amd64 [2022-04-26T15:45:41.050Z] ---> Running in 01f5ff1e9319 [2022-04-26T15:45:41.050Z] Removing intermediate container 01f5ff1e9319 [2022-04-26T15:45:41.050Z] ---> b46857108871 [2022-04-26T15:45:41.050Z] Step 22/23 : LABEL git_sha=e01a1226a5cf77919213724cb5799907c2b0adaa [2022-04-26T15:45:41.050Z] ---> Running in 60083287fedf [2022-04-26T15:45:41.311Z] Removing intermediate container 60083287fedf [2022-04-26T15:45:41.311Z] ---> 64dba97f3fab [2022-04-26T15:45:41.311Z] Step 23/23 : LABEL version=2.2.0-dev.13 [2022-04-26T15:45:41.311Z] ---> Running in eae4377c1485 [2022-04-26T15:45:41.311Z] Removing intermediate container eae4377c1485 [2022-04-26T15:45:41.311Z] ---> 72bac845cb38 [2022-04-26T15:45:41.311Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T15:45:41.311Z] Successfully built 72bac845cb38 [2022-04-26T15:45:41.311Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:45:41.410Z] provisioning config files... [2022-04-26T15:45:41.420Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2023807076159785614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:45:41.729Z] ---> docker-login.sh [2022-04-26T15:45:41.730Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:45:41.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:45:41.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:45:41.730Z] Configure a credential helper to remove this warning. See [2022-04-26T15:45:41.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:45:41.730Z] [2022-04-26T15:45:41.730Z] Login Succeeded [2022-04-26T15:45:41.730Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:45:41.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:45:41.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:45:41.990Z] Configure a credential helper to remove this warning. See [2022-04-26T15:45:41.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:45:41.990Z] [2022-04-26T15:45:41.990Z] Login Succeeded [2022-04-26T15:45:41.990Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:45:41.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:45:41.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:45:41.990Z] Configure a credential helper to remove this warning. See [2022-04-26T15:45:41.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:45:41.990Z] [2022-04-26T15:45:41.990Z] Login Succeeded [2022-04-26T15:45:41.990Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:45:41.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:45:42.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:45:42.250Z] Configure a credential helper to remove this warning. See [2022-04-26T15:45:42.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:45:42.250Z] [2022-04-26T15:45:42.250Z] Login Succeeded [2022-04-26T15:45:42.250Z] docker.io [2022-04-26T15:45:42.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:45:42.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:45:42.509Z] Configure a credential helper to remove this warning. See [2022-04-26T15:45:42.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:45:42.509Z] [2022-04-26T15:45:42.509Z] Login Succeeded [2022-04-26T15:45:42.509Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:45:42.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T15:45:42.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:45:42.554Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-04-26T15:45:42.555Z] e01a1226a5cf77919213724cb5799907c2b0adaa [2022-04-26T15:45:42.555Z] latest [2022-04-26T15:45:42.555Z] 2.2.0-dev.13 [2022-04-26T15:45:42.555Z] e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 [2022-04-26T15:45:42.555Z] main [2022-04-26T15:45:42.555Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:42.857Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:43.147Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa [2022-04-26T15:45:43.147Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-26T15:45:43.147Z] 918890e33a97: Preparing [2022-04-26T15:45:43.147Z] d1f6c26379f0: Preparing [2022-04-26T15:45:43.147Z] 7dd640b83738: Preparing [2022-04-26T15:45:43.147Z] 3579e8c740bf: Preparing [2022-04-26T15:45:43.147Z] 5156bca52968: Preparing [2022-04-26T15:45:43.147Z] b541d28bf3b4: Preparing [2022-04-26T15:45:43.147Z] b541d28bf3b4: Waiting [2022-04-26T15:45:43.147Z] d1f6c26379f0: Pushed [2022-04-26T15:45:43.147Z] 918890e33a97: Pushed [2022-04-26T15:45:43.147Z] 5156bca52968: Pushed [2022-04-26T15:45:43.147Z] b541d28bf3b4: Layer already exists [2022-04-26T15:45:43.408Z] 3579e8c740bf: Pushed [2022-04-26T15:45:45.956Z] 7dd640b83738: Pushed [2022-04-26T15:45:45.956Z] e01a1226a5cf77919213724cb5799907c2b0adaa: digest: sha256:5bad905ed9420f64f053304d047a6d0bb54aa217d68d650626aa648ccad72922 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:46.255Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:46.550Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-26T15:45:46.551Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-26T15:45:46.551Z] 918890e33a97: Preparing [2022-04-26T15:45:46.551Z] d1f6c26379f0: Preparing [2022-04-26T15:45:46.551Z] 7dd640b83738: Preparing [2022-04-26T15:45:46.551Z] 3579e8c740bf: Preparing [2022-04-26T15:45:46.551Z] 5156bca52968: Preparing [2022-04-26T15:45:46.551Z] b541d28bf3b4: Preparing [2022-04-26T15:45:46.551Z] b541d28bf3b4: Waiting [2022-04-26T15:45:46.551Z] 5156bca52968: Layer already exists [2022-04-26T15:45:46.551Z] 7dd640b83738: Layer already exists [2022-04-26T15:45:46.551Z] 3579e8c740bf: Layer already exists [2022-04-26T15:45:46.551Z] 918890e33a97: Layer already exists [2022-04-26T15:45:46.551Z] d1f6c26379f0: Layer already exists [2022-04-26T15:45:46.551Z] b541d28bf3b4: Layer already exists [2022-04-26T15:45:46.551Z] latest: digest: sha256:5bad905ed9420f64f053304d047a6d0bb54aa217d68d650626aa648ccad72922 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:46.851Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:47.142Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.13 [2022-04-26T15:45:47.142Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-26T15:45:47.142Z] 918890e33a97: Preparing [2022-04-26T15:45:47.142Z] d1f6c26379f0: Preparing [2022-04-26T15:45:47.142Z] 7dd640b83738: Preparing [2022-04-26T15:45:47.142Z] 3579e8c740bf: Preparing [2022-04-26T15:45:47.142Z] 5156bca52968: Preparing [2022-04-26T15:45:47.142Z] b541d28bf3b4: Preparing [2022-04-26T15:45:47.142Z] b541d28bf3b4: Waiting [2022-04-26T15:45:47.142Z] 5156bca52968: Layer already exists [2022-04-26T15:45:47.142Z] 918890e33a97: Layer already exists [2022-04-26T15:45:47.142Z] 7dd640b83738: Layer already exists [2022-04-26T15:45:47.142Z] d1f6c26379f0: Layer already exists [2022-04-26T15:45:47.142Z] 3579e8c740bf: Layer already exists [2022-04-26T15:45:47.142Z] b541d28bf3b4: Layer already exists [2022-04-26T15:45:47.142Z] 2.2.0-dev.13: digest: sha256:5bad905ed9420f64f053304d047a6d0bb54aa217d68d650626aa648ccad72922 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:47.441Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:47.734Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 [2022-04-26T15:45:47.734Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-26T15:45:47.734Z] 918890e33a97: Preparing [2022-04-26T15:45:47.734Z] d1f6c26379f0: Preparing [2022-04-26T15:45:47.734Z] 7dd640b83738: Preparing [2022-04-26T15:45:47.734Z] 3579e8c740bf: Preparing [2022-04-26T15:45:47.734Z] 5156bca52968: Preparing [2022-04-26T15:45:47.734Z] b541d28bf3b4: Preparing [2022-04-26T15:45:47.734Z] b541d28bf3b4: Waiting [2022-04-26T15:45:47.734Z] 3579e8c740bf: Layer already exists [2022-04-26T15:45:47.734Z] 7dd640b83738: Layer already exists [2022-04-26T15:45:47.734Z] 918890e33a97: Layer already exists [2022-04-26T15:45:47.734Z] d1f6c26379f0: Layer already exists [2022-04-26T15:45:47.734Z] 5156bca52968: Layer already exists [2022-04-26T15:45:47.734Z] b541d28bf3b4: Layer already exists [2022-04-26T15:45:47.734Z] e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13: digest: sha256:5bad905ed9420f64f053304d047a6d0bb54aa217d68d650626aa648ccad72922 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:48.028Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:48.325Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-04-26T15:45:48.325Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-26T15:45:48.325Z] 918890e33a97: Preparing [2022-04-26T15:45:48.325Z] d1f6c26379f0: Preparing [2022-04-26T15:45:48.325Z] 7dd640b83738: Preparing [2022-04-26T15:45:48.325Z] 3579e8c740bf: Preparing [2022-04-26T15:45:48.325Z] 5156bca52968: Preparing [2022-04-26T15:45:48.325Z] b541d28bf3b4: Preparing [2022-04-26T15:45:48.325Z] b541d28bf3b4: Waiting [2022-04-26T15:45:48.325Z] 7dd640b83738: Layer already exists [2022-04-26T15:45:48.325Z] 918890e33a97: Layer already exists [2022-04-26T15:45:48.325Z] 3579e8c740bf: Layer already exists [2022-04-26T15:45:48.325Z] 5156bca52968: Layer already exists [2022-04-26T15:45:48.325Z] d1f6c26379f0: Layer already exists [2022-04-26T15:45:48.325Z] b541d28bf3b4: Layer already exists [2022-04-26T15:45:48.325Z] main: digest: sha256:5bad905ed9420f64f053304d047a6d0bb54aa217d68d650626aa648ccad72922 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T15:45:48.358Z] ===================================================== [Pipeline] echo [2022-04-26T15:45:48.369Z] taggedImages: [2022-04-26T15:45:48.369Z] - nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa [2022-04-26T15:45:48.369Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-26T15:45:48.369Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.13 [2022-04-26T15:45:48.369Z] - nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 [2022-04-26T15:45:48.369Z] - 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-26T15:45:48.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:45:48.728Z] [2022-04-26T15:45:48.728Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:45:49.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:45:49.043Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T15:45:49.043Z] 5eb5b503b376: Pulling fs layer [2022-04-26T15:45:49.043Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T15:45:49.043Z] ec43610c2a17: Pulling fs layer [2022-04-26T15:45:49.044Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T15:45:49.044Z] 33b1e0a273af: Pulling fs layer [2022-04-26T15:45:49.044Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T15:45:49.044Z] 2f39f015ded8: Pulling fs layer [2022-04-26T15:45:49.044Z] 3a2ae6a8a46f: Waiting [2022-04-26T15:45:49.044Z] 33b1e0a273af: Waiting [2022-04-26T15:45:49.044Z] 5d3b04190fa2: Waiting [2022-04-26T15:45:49.044Z] 2f39f015ded8: Waiting [2022-04-26T15:45:49.044Z] 5c69ac0246d0: Download complete [2022-04-26T15:45:49.044Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T15:45:49.044Z] 3a2ae6a8a46f: Download complete [2022-04-26T15:45:49.044Z] 33b1e0a273af: Verifying Checksum [2022-04-26T15:45:49.044Z] 33b1e0a273af: Download complete [2022-04-26T15:45:49.044Z] ec43610c2a17: Verifying Checksum [2022-04-26T15:45:49.044Z] ec43610c2a17: Download complete [2022-04-26T15:45:49.044Z] 5d3b04190fa2: Download complete [2022-04-26T15:45:49.302Z] 5eb5b503b376: Verifying Checksum [2022-04-26T15:45:49.302Z] 5eb5b503b376: Download complete [2022-04-26T15:45:49.872Z] 2f39f015ded8: Download complete [2022-04-26T15:45:50.439Z] 5eb5b503b376: Pull complete [2022-04-26T15:45:50.699Z] 5c69ac0246d0: Pull complete [2022-04-26T15:45:50.958Z] ec43610c2a17: Pull complete [2022-04-26T15:45:51.218Z] 3a2ae6a8a46f: Pull complete [2022-04-26T15:45:51.510Z] 33b1e0a273af: Pull complete [2022-04-26T15:45:51.510Z] 5d3b04190fa2: Pull complete [2022-04-26T15:45:55.763Z] 2f39f015ded8: Pull complete [2022-04-26T15:45:55.763Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T15:45:55.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:45:55.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T15:45:55.824Z] prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container [2022-04-26T15:45:55.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T15:45:57.800Z] $ docker top 4801b3dcac67d0b1f616db4234cbfcfed028e13ed934b3831fdd7c7fd6bda731 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:45:58.177Z] ---> job-cost.sh [2022-04-26T15:45:58.177Z] lf-activate-venv: SKIPPING [2022-04-26T15:45:58.177Z] INFO: No Stack... [2022-04-26T15:45:58.438Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T15:45:59.009Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T15:45:59.304Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-04-26T15:45:59.304Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T15:45:59.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] [2022-04-26T15:45:59.330Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] did not exist. Created. [2022-04-26T15:45:59.330Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T15:45:59.641Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T15:45:59.667Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T15:45:59.674Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T15:45:59.704Z] $ docker stop --time=1 4801b3dcac67d0b1f616db4234cbfcfed028e13ed934b3831fdd7c7fd6bda731 [2022-04-26T15:46:00.951Z] $ docker rm -f 4801b3dcac67d0b1f616db4234cbfcfed028e13ed934b3831fdd7c7fd6bda731 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T16:24:40.481Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-28021 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-04-26T16:24:40.504Z] Running in /w/workspace/device-modbus-go/31 [Pipeline] { [Pipeline] checkout [2022-04-26T16:24:40.778Z] Selected Git installation does not exist. Using Default [2022-04-26T16:24:40.779Z] The recommended git tool is: NONE [2022-04-26T16:24:47.569Z] using credential edgex-jenkins-ssh [2022-04-26T16:24:47.589Z] Cloning the remote Git repository [2022-04-26T16:24:47.649Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-26T16:24:47.720Z] > git init /w/workspace/device-modbus-go/31 # timeout=10 [2022-04-26T16:24:47.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-26T16:24:47.800Z] > git --version # timeout=10 [2022-04-26T16:24:47.891Z] > git --version # 'git version 2.25.1' [2022-04-26T16:24:47.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T16:24:47.977Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T16:24:49.152Z] Avoid second fetch [2022-04-26T16:24:49.153Z] Checking out Revision e01a1226a5cf77919213724cb5799907c2b0adaa (main) [2022-04-26T16:24:49.119Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-26T16:24:49.137Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T16:24:49.178Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T16:24:49.200Z] > git checkout -f e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 [2022-04-26T16:24:53.418Z] Commit message: "feat(snap): add support for env var injection (#336)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:24:54.366Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T16:24:54.366Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T16:24:54.366Z] Dload Upload Total Spent Left Speed [2022-04-26T16:24:54.366Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91100 0 --:--:-- --:--:-- --:--:-- 90404 [Pipeline] sh [2022-04-26T16:24:54.920Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T16:24:55.263Z] + + sudo tee /etc/docker/daemon.new [2022-04-26T16:24:55.263Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T16:24:55.263Z] { [2022-04-26T16:24:55.263Z] "registry-mirrors": [ [2022-04-26T16:24:55.263Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T16:24:55.263Z] ], [2022-04-26T16:24:55.263Z] "bip": "10.250.0.254/24", [2022-04-26T16:24:55.263Z] "hosts": [ [2022-04-26T16:24:55.263Z] "tcp://0.0.0.0:5555", [2022-04-26T16:24:55.263Z] "unix:///var/run/docker.sock" [2022-04-26T16:24:55.263Z] ], [2022-04-26T16:24:55.263Z] "mtu": 1458, [2022-04-26T16:24:55.263Z] "selinux-enabled": true, [2022-04-26T16:24:55.263Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T16:24:55.263Z] } [Pipeline] sh [2022-04-26T16:24:55.624Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T16:24:55.979Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:25:14.388Z] provisioning config files... [2022-04-26T16:25:14.414Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/31@tmp/config1171347891310675253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:25:14.777Z] ---> docker-login.sh [2022-04-26T16:25:14.777Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:25:15.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:25:15.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:25:15.651Z] Configure a credential helper to remove this warning. See [2022-04-26T16:25:15.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:25:15.651Z] [2022-04-26T16:25:15.651Z] Login Succeeded [2022-04-26T16:25:15.651Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:25:15.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:25:15.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:25:15.925Z] Configure a credential helper to remove this warning. See [2022-04-26T16:25:15.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:25:15.925Z] [2022-04-26T16:25:15.925Z] Login Succeeded [2022-04-26T16:25:15.925Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:25:16.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:25:16.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:25:16.525Z] Configure a credential helper to remove this warning. See [2022-04-26T16:25:16.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:25:16.525Z] [2022-04-26T16:25:16.525Z] Login Succeeded [2022-04-26T16:25:16.525Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:25:16.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:25:17.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:25:17.082Z] Configure a credential helper to remove this warning. See [2022-04-26T16:25:17.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:25:17.082Z] [2022-04-26T16:25:17.082Z] Login Succeeded [2022-04-26T16:25:17.082Z] docker.io [2022-04-26T16:25:17.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:25:17.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:25:17.632Z] Configure a credential helper to remove this warning. See [2022-04-26T16:25:17.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:25:17.632Z] [2022-04-26T16:25:17.632Z] Login Succeeded [2022-04-26T16:25:17.632Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:25:17.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T16:25:18.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:25:18.249Z] ========================================================= [2022-04-26T16:25:18.249Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T16:25:18.249Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:25:18.603Z] + 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-26T16:25:18.880Z] Sending build context to Docker daemon 3.08MB [2022-04-26T16:25:18.880Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:25:18.880Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-26T16:25:19.155Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T16:25:19.155Z] 9b3977197b4f: Pulling fs layer [2022-04-26T16:25:19.155Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T16:25:19.155Z] 94645a83ff95: Pulling fs layer [2022-04-26T16:25:19.155Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T16:25:19.155Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T16:25:19.155Z] 3096ccb668a1: Pulling fs layer [2022-04-26T16:25:19.155Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T16:25:19.155Z] a4caa8a26152: Pulling fs layer [2022-04-26T16:25:19.155Z] 3f3a8bcf1eab: Waiting [2022-04-26T16:25:19.155Z] 3096ccb668a1: Waiting [2022-04-26T16:25:19.155Z] 0c92f367c5e7: Waiting [2022-04-26T16:25:19.155Z] a4caa8a26152: Waiting [2022-04-26T16:25:19.155Z] e8cf19c19ddd: Waiting [2022-04-26T16:25:19.155Z] 94645a83ff95: Verifying Checksum [2022-04-26T16:25:19.155Z] 94645a83ff95: Download complete [2022-04-26T16:25:19.155Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T16:25:19.155Z] 1a89e8eeedd5: Download complete [2022-04-26T16:25:19.155Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T16:25:19.155Z] 3096ccb668a1: Verifying Checksum [2022-04-26T16:25:19.155Z] 3096ccb668a1: Download complete [2022-04-26T16:25:19.155Z] 9b3977197b4f: Verifying Checksum [2022-04-26T16:25:19.155Z] 9b3977197b4f: Download complete [2022-04-26T16:25:19.155Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T16:25:19.155Z] e8cf19c19ddd: Download complete [2022-04-26T16:25:19.761Z] 9b3977197b4f: Pull complete [2022-04-26T16:25:20.373Z] 1a89e8eeedd5: Pull complete [2022-04-26T16:25:20.660Z] 94645a83ff95: Pull complete [2022-04-26T16:25:21.259Z] a4caa8a26152: Verifying Checksum [2022-04-26T16:25:21.259Z] a4caa8a26152: Download complete [2022-04-26T16:25:21.858Z] 3f3a8bcf1eab: Download complete [2022-04-26T16:25:34.286Z] 3f3a8bcf1eab: Pull complete [2022-04-26T16:25:34.286Z] 0c92f367c5e7: Pull complete [2022-04-26T16:25:34.286Z] 3096ccb668a1: Pull complete [2022-04-26T16:25:34.561Z] e8cf19c19ddd: Pull complete [2022-04-26T16:25:41.307Z] a4caa8a26152: Pull complete [2022-04-26T16:25:41.307Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T16:25:41.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T16:25:41.307Z] ---> 725f1c02e7f9 [2022-04-26T16:25:41.307Z] Step 3/10 : ARG MAKE='make build' [2022-04-26T16:25:41.906Z] ---> Running in d96b8de88a61 [2022-04-26T16:25:42.181Z] Removing intermediate container d96b8de88a61 [2022-04-26T16:25:42.181Z] ---> 91806c22d43c [2022-04-26T16:25:42.181Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:25:42.181Z] ---> Running in 62fb75a73be4 [2022-04-26T16:25:44.193Z] Removing intermediate container 62fb75a73be4 [2022-04-26T16:25:44.193Z] ---> 78db6693186d [2022-04-26T16:25:44.193Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T16:25:44.193Z] ---> Running in 25ada07961a3 [2022-04-26T16:25:45.169Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:25:46.148Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:25:46.745Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T16:25:46.745Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-26T16:25:47.021Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T16:25:47.021Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T16:25:47.295Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-26T16:25:47.295Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-26T16:25:47.295Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-26T16:25:47.570Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-26T16:25:47.570Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T16:25:47.570Z] OK: 226 MiB in 60 packages [2022-04-26T16:25:49.558Z] Removing intermediate container 25ada07961a3 [2022-04-26T16:25:49.558Z] ---> 5a2b339b8b7f [2022-04-26T16:25:49.558Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-26T16:25:49.558Z] ---> Running in a37bb8f8edc1 [2022-04-26T16:25:49.834Z] Removing intermediate container a37bb8f8edc1 [2022-04-26T16:25:49.834Z] ---> 763f8e663b02 [2022-04-26T16:25:49.834Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-26T16:25:50.439Z] ---> 2d229e94190d [2022-04-26T16:25:50.439Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:25:50.439Z] ---> Running in 61a489f3363b [2022-04-26T16:26:37.473Z] Removing intermediate container 61a489f3363b [2022-04-26T16:26:37.473Z] ---> 9de1a2058280 [2022-04-26T16:26:37.473Z] Step 9/10 : COPY . . [2022-04-26T16:26:37.473Z] ---> 07d3bf0e61d0 [2022-04-26T16:26:37.473Z] Step 10/10 : RUN ${MAKE} [2022-04-26T16:26:37.473Z] ---> Running in 6809ed697ce2 [2022-04-26T16:26:37.473Z] noop [2022-04-26T16:26:38.079Z] Removing intermediate container 6809ed697ce2 [2022-04-26T16:26:38.079Z] ---> 39d910d3015b [2022-04-26T16:26:38.079Z] Successfully built 39d910d3015b [2022-04-26T16:26:38.079Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:26:38.426Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T16:26:38.426Z] . [Pipeline] withDockerContainer [2022-04-26T16:26:38.668Z] prd-ubuntu20.04-docker-arm64-4c-16g-28021 does not seem to be running inside a container [2022-04-26T16:26:38.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/31 -v /w/workspace/device-modbus-go/31:/w/workspace/device-modbus-go/31:rw,z -v /w/workspace/device-modbus-go/31@tmp:/w/workspace/device-modbus-go/31@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-26T16:26:40.037Z] $ docker top 8c7f0a5a4584b7e81c0583a41c18d749cf6767107375681a4af7e98540307c04 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:26:40.958Z] + go version [2022-04-26T16:26:40.958Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T16:26:40.993Z] $ docker stop --time=1 8c7f0a5a4584b7e81c0583a41c18d749cf6767107375681a4af7e98540307c04 [2022-04-26T16:26:42.674Z] $ docker rm -f 8c7f0a5a4584b7e81c0583a41c18d749cf6767107375681a4af7e98540307c04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:26:43.269Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T16:26:43.269Z] . [Pipeline] withDockerContainer [2022-04-26T16:26:43.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-28021 does not seem to be running inside a container [2022-04-26T16:26:43.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/31 -v /w/workspace/device-modbus-go/31:/w/workspace/device-modbus-go/31:rw,z -v /w/workspace/device-modbus-go/31@tmp:/w/workspace/device-modbus-go/31@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-26T16:26:44.877Z] $ docker top 28daa8e462407dd825a58fa63f4433ece1a93d5d02c23a8273b4489c9c8fedef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T16:26:45.794Z] + make test [2022-04-26T16:26:45.794Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T16:26:47.237Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-26T16:28:09.058Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-26T16:28:09.058Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 46.4% of statements [2022-04-26T16:28:09.058Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T16:28:09.058Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T16:28:27.419Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T16:28:27.419Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T16:28:27.419Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T16:28:30.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T16:28:30.852Z] $ docker stop --time=1 28daa8e462407dd825a58fa63f4433ece1a93d5d02c23a8273b4489c9c8fedef [2022-04-26T16:28:32.561Z] $ docker rm -f 28daa8e462407dd825a58fa63f4433ece1a93d5d02c23a8273b4489c9c8fedef [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:28:33.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T16:28:33.481Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T16:28:33.920Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:28:34.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T16:28:34.648Z] + ls -al . [2022-04-26T16:28:34.649Z] total 176 [2022-04-26T16:28:34.649Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 16:28 . [2022-04-26T16:28:34.649Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:24 .. [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 16:24 .dockerignore [2022-04-26T16:28:34.649Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:24 .git [2022-04-26T16:28:34.649Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:24 .github [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 26 16:24 .gitignore [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:24 .golangci.yml [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 26 16:24 Attribution.txt [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 26 16:24 CHANGELOG.md [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 26 16:24 Dockerfile [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:24 GOVERNANCE.md [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 16:24 Jenkinsfile [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:24 LICENSE [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 26 16:24 Makefile [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 26 16:24 OWNERS.md [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 26 16:24 README.md [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:44 VERSION [2022-04-26T16:28:34.649Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:24 bin [2022-04-26T16:28:34.649Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:24 cmd [2022-04-26T16:28:34.649Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 26 16:27 coverage.out [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 26 16:24 go.mod [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 26 16:24 go.sum [2022-04-26T16:28:34.649Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:24 internal [2022-04-26T16:28:34.649Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:24 simulator [2022-04-26T16:28:34.649Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:24 snap [2022-04-26T16:28:34.649Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 26 16:24 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:28:34.990Z] + 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=e01a1226a5cf77919213724cb5799907c2b0adaa --label arch=arm64 --label version=2.2.0-dev.13 . [2022-04-26T16:28:35.261Z] Sending build context to Docker daemon 3.105MB [2022-04-26T16:28:35.261Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:28:35.261Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-26T16:28:35.261Z] ---> 39d910d3015b [2022-04-26T16:28:35.261Z] Step 3/23 : ARG MAKE='make build' [2022-04-26T16:28:35.531Z] ---> Running in 58f036999ccf [2022-04-26T16:28:35.802Z] Removing intermediate container 58f036999ccf [2022-04-26T16:28:35.802Z] ---> 294567b5b7d1 [2022-04-26T16:28:35.802Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:28:35.802Z] ---> Running in b8aea3790052 [2022-04-26T16:28:37.239Z] Removing intermediate container b8aea3790052 [2022-04-26T16:28:37.239Z] ---> b6aed51e2beb [2022-04-26T16:28:37.239Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T16:28:37.514Z] ---> Running in b2c8c640443c [2022-04-26T16:28:38.498Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:28:39.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:28:40.070Z] OK: 226 MiB in 60 packages [2022-04-26T16:28:41.062Z] Removing intermediate container b2c8c640443c [2022-04-26T16:28:41.062Z] ---> 99547a040622 [2022-04-26T16:28:41.062Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-26T16:28:41.062Z] ---> Running in 997bacda1d0c [2022-04-26T16:28:41.336Z] Removing intermediate container 997bacda1d0c [2022-04-26T16:28:41.336Z] ---> b83a020fc4f1 [2022-04-26T16:28:41.336Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-26T16:28:41.934Z] ---> 77a25211852e [2022-04-26T16:28:41.934Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:28:41.934Z] ---> Running in f73617187491 [2022-04-26T16:28:43.908Z] Removing intermediate container f73617187491 [2022-04-26T16:28:43.908Z] ---> d68b446070cd [2022-04-26T16:28:43.908Z] Step 9/23 : COPY . . [2022-04-26T16:28:44.514Z] ---> 2ce3866f8ba0 [2022-04-26T16:28:44.514Z] Step 10/23 : RUN ${MAKE} [2022-04-26T16:28:44.792Z] ---> Running in 0521a2fb4c26 [2022-04-26T16:28:45.776Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-26T16:30:52.664Z] Removing intermediate container 0521a2fb4c26 [2022-04-26T16:30:52.664Z] ---> d9ebd2dd94b9 [2022-04-26T16:30:52.664Z] Step 11/23 : FROM alpine:3.14 [2022-04-26T16:30:52.664Z] 3.14: Pulling from library/alpine [2022-04-26T16:30:52.664Z] 455c02918c45: Pulling fs layer [2022-04-26T16:30:52.664Z] 455c02918c45: Verifying Checksum [2022-04-26T16:30:52.664Z] 455c02918c45: Pull complete [2022-04-26T16:30:52.664Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T16:30:52.664Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T16:30:52.664Z] ---> ac73e934f311 [2022-04-26T16:30:52.664Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-26T16:30:52.664Z] ---> Running in 64dbdfe12947 [2022-04-26T16:30:52.664Z] Removing intermediate container 64dbdfe12947 [2022-04-26T16:30:52.664Z] ---> 767035d1720b [2022-04-26T16:30:52.664Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:30:52.664Z] ---> Running in 115352d6b386 [2022-04-26T16:30:52.664Z] Removing intermediate container 115352d6b386 [2022-04-26T16:30:52.664Z] ---> 895788695725 [2022-04-26T16:30:52.664Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T16:30:52.664Z] ---> Running in 37ade5fbc3c0 [2022-04-26T16:30:52.664Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:30:52.664Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:30:52.664Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T16:30:52.664Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T16:30:52.664Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T16:30:52.664Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T16:30:52.664Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T16:30:52.664Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T16:30:52.664Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T16:30:52.664Z] OK: 8 MiB in 20 packages [2022-04-26T16:30:52.664Z] Removing intermediate container 37ade5fbc3c0 [2022-04-26T16:30:52.664Z] ---> a97029aef90c [2022-04-26T16:30:52.664Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-26T16:30:52.664Z] ---> defda0679c40 [2022-04-26T16:30:52.664Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-26T16:30:52.664Z] ---> 4ea54c98570f [2022-04-26T16:30:52.664Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-26T16:30:52.664Z] ---> 367bc7b2a136 [2022-04-26T16:30:52.664Z] Step 18/23 : EXPOSE 59901 [2022-04-26T16:30:52.664Z] ---> Running in 9e428dbcf9d4 [2022-04-26T16:30:52.664Z] Removing intermediate container 9e428dbcf9d4 [2022-04-26T16:30:52.664Z] ---> 9e7567223491 [2022-04-26T16:30:52.664Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-26T16:30:52.664Z] ---> Running in 6fa6ba55410e [2022-04-26T16:30:52.664Z] Removing intermediate container 6fa6ba55410e [2022-04-26T16:30:52.664Z] ---> bd68c4ed1403 [2022-04-26T16:30:52.664Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T16:30:52.664Z] ---> Running in bf8f90c885fa [2022-04-26T16:30:52.664Z] Removing intermediate container bf8f90c885fa [2022-04-26T16:30:52.664Z] ---> 9365f7a0d0ad [2022-04-26T16:30:52.664Z] Step 21/23 : LABEL arch=arm64 [2022-04-26T16:30:52.664Z] ---> Running in b7bfc2ea485f [2022-04-26T16:30:52.664Z] Removing intermediate container b7bfc2ea485f [2022-04-26T16:30:52.664Z] ---> db74074ccd47 [2022-04-26T16:30:52.664Z] Step 22/23 : LABEL git_sha=e01a1226a5cf77919213724cb5799907c2b0adaa [2022-04-26T16:30:52.664Z] ---> Running in a992f301348e [2022-04-26T16:30:52.664Z] Removing intermediate container a992f301348e [2022-04-26T16:30:52.665Z] ---> b937467fedd4 [2022-04-26T16:30:52.665Z] Step 23/23 : LABEL version=2.2.0-dev.13 [2022-04-26T16:30:52.665Z] ---> Running in 28375b27d647 [2022-04-26T16:30:52.665Z] Removing intermediate container 28375b27d647 [2022-04-26T16:30:52.665Z] ---> 5ba9e71986e6 [2022-04-26T16:30:52.665Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T16:30:52.665Z] Successfully built 5ba9e71986e6 [2022-04-26T16:30:52.665Z] 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-26T16:30:52.782Z] provisioning config files... [2022-04-26T16:30:52.800Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/31@tmp/config2812851719414136716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:30:53.158Z] ---> docker-login.sh [2022-04-26T16:30:53.159Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:30:53.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:30:53.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:30:53.432Z] Configure a credential helper to remove this warning. See [2022-04-26T16:30:53.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:30:53.432Z] [2022-04-26T16:30:53.432Z] Login Succeeded [2022-04-26T16:30:53.432Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:30:54.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:30:54.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:30:54.040Z] Configure a credential helper to remove this warning. See [2022-04-26T16:30:54.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:30:54.040Z] [2022-04-26T16:30:54.040Z] Login Succeeded [2022-04-26T16:30:54.040Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:30:54.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:30:54.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:30:54.587Z] Configure a credential helper to remove this warning. See [2022-04-26T16:30:54.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:30:54.587Z] [2022-04-26T16:30:54.587Z] Login Succeeded [2022-04-26T16:30:54.587Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:30:54.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:30:55.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:30:55.135Z] Configure a credential helper to remove this warning. See [2022-04-26T16:30:55.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:30:55.135Z] [2022-04-26T16:30:55.135Z] Login Succeeded [2022-04-26T16:30:55.135Z] docker.io [2022-04-26T16:30:55.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:30:55.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:30:55.679Z] Configure a credential helper to remove this warning. See [2022-04-26T16:30:55.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:30:55.679Z] [2022-04-26T16:30:55.679Z] Login Succeeded [2022-04-26T16:30:55.679Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:30:55.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T16:30:55.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:30:55.755Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-04-26T16:30:55.755Z] e01a1226a5cf77919213724cb5799907c2b0adaa [2022-04-26T16:30:55.755Z] latest [2022-04-26T16:30:55.755Z] 2.2.0-dev.13 [2022-04-26T16:30:55.755Z] e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 [2022-04-26T16:30:55.755Z] main [2022-04-26T16:30:55.755Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:30:56.114Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:30:56.457Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa [2022-04-26T16:30:56.457Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-26T16:30:56.457Z] cb3a7724c7ec: Preparing [2022-04-26T16:30:56.457Z] 0179d8b42b36: Preparing [2022-04-26T16:30:56.457Z] b10a23f12424: Preparing [2022-04-26T16:30:56.457Z] 1313d68abd2c: Preparing [2022-04-26T16:30:56.457Z] 063de7fe751e: Preparing [2022-04-26T16:30:56.457Z] f73e7dbfee58: Preparing [2022-04-26T16:30:56.732Z] 063de7fe751e: Pushed [2022-04-26T16:30:56.732Z] 0179d8b42b36: Pushed [2022-04-26T16:30:56.732Z] cb3a7724c7ec: Pushed [2022-04-26T16:30:56.732Z] f73e7dbfee58: Layer already exists [2022-04-26T16:30:57.327Z] 1313d68abd2c: Pushed [2022-04-26T16:31:02.718Z] b10a23f12424: Pushed [2022-04-26T16:31:02.718Z] e01a1226a5cf77919213724cb5799907c2b0adaa: digest: sha256:57451720db73b62603d90a55f71843d3e6ebed5b5e1c6e5a60d7c6c4aaecc865 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:03.066Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:03.405Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-26T16:31:03.405Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-26T16:31:03.405Z] cb3a7724c7ec: Preparing [2022-04-26T16:31:03.405Z] 0179d8b42b36: Preparing [2022-04-26T16:31:03.405Z] b10a23f12424: Preparing [2022-04-26T16:31:03.405Z] 1313d68abd2c: Preparing [2022-04-26T16:31:03.405Z] 063de7fe751e: Preparing [2022-04-26T16:31:03.405Z] f73e7dbfee58: Preparing [2022-04-26T16:31:03.405Z] f73e7dbfee58: Waiting [2022-04-26T16:31:03.405Z] 063de7fe751e: Layer already exists [2022-04-26T16:31:03.405Z] cb3a7724c7ec: Layer already exists [2022-04-26T16:31:03.405Z] 0179d8b42b36: Layer already exists [2022-04-26T16:31:03.405Z] 1313d68abd2c: Layer already exists [2022-04-26T16:31:03.405Z] b10a23f12424: Layer already exists [2022-04-26T16:31:03.405Z] f73e7dbfee58: Layer already exists [2022-04-26T16:31:03.678Z] latest: digest: sha256:57451720db73b62603d90a55f71843d3e6ebed5b5e1c6e5a60d7c6c4aaecc865 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:04.028Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:04.370Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.13 [2022-04-26T16:31:04.370Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-26T16:31:04.370Z] cb3a7724c7ec: Preparing [2022-04-26T16:31:04.370Z] 0179d8b42b36: Preparing [2022-04-26T16:31:04.370Z] b10a23f12424: Preparing [2022-04-26T16:31:04.370Z] 1313d68abd2c: Preparing [2022-04-26T16:31:04.370Z] 063de7fe751e: Preparing [2022-04-26T16:31:04.370Z] f73e7dbfee58: Preparing [2022-04-26T16:31:04.370Z] f73e7dbfee58: Waiting [2022-04-26T16:31:04.370Z] 063de7fe751e: Layer already exists [2022-04-26T16:31:04.370Z] 1313d68abd2c: Layer already exists [2022-04-26T16:31:04.370Z] b10a23f12424: Layer already exists [2022-04-26T16:31:04.370Z] cb3a7724c7ec: Layer already exists [2022-04-26T16:31:04.370Z] 0179d8b42b36: Layer already exists [2022-04-26T16:31:04.370Z] f73e7dbfee58: Layer already exists [2022-04-26T16:31:04.641Z] 2.2.0-dev.13: digest: sha256:57451720db73b62603d90a55f71843d3e6ebed5b5e1c6e5a60d7c6c4aaecc865 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:04.991Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:05.330Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 [2022-04-26T16:31:05.330Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-26T16:31:05.330Z] cb3a7724c7ec: Preparing [2022-04-26T16:31:05.330Z] 0179d8b42b36: Preparing [2022-04-26T16:31:05.330Z] b10a23f12424: Preparing [2022-04-26T16:31:05.330Z] 1313d68abd2c: Preparing [2022-04-26T16:31:05.330Z] 063de7fe751e: Preparing [2022-04-26T16:31:05.330Z] f73e7dbfee58: Preparing [2022-04-26T16:31:05.330Z] f73e7dbfee58: Waiting [2022-04-26T16:31:05.330Z] cb3a7724c7ec: Layer already exists [2022-04-26T16:31:05.330Z] 1313d68abd2c: Layer already exists [2022-04-26T16:31:05.330Z] b10a23f12424: Layer already exists [2022-04-26T16:31:05.330Z] 063de7fe751e: Layer already exists [2022-04-26T16:31:05.330Z] 0179d8b42b36: Layer already exists [2022-04-26T16:31:05.330Z] f73e7dbfee58: Layer already exists [2022-04-26T16:31:05.600Z] e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13: digest: sha256:57451720db73b62603d90a55f71843d3e6ebed5b5e1c6e5a60d7c6c4aaecc865 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:05.948Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:06.291Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-04-26T16:31:06.291Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-26T16:31:06.291Z] cb3a7724c7ec: Preparing [2022-04-26T16:31:06.291Z] 0179d8b42b36: Preparing [2022-04-26T16:31:06.291Z] b10a23f12424: Preparing [2022-04-26T16:31:06.291Z] 1313d68abd2c: Preparing [2022-04-26T16:31:06.291Z] 063de7fe751e: Preparing [2022-04-26T16:31:06.291Z] f73e7dbfee58: Preparing [2022-04-26T16:31:06.291Z] f73e7dbfee58: Waiting [2022-04-26T16:31:06.291Z] 1313d68abd2c: Layer already exists [2022-04-26T16:31:06.291Z] b10a23f12424: Layer already exists [2022-04-26T16:31:06.291Z] 0179d8b42b36: Layer already exists [2022-04-26T16:31:06.291Z] cb3a7724c7ec: Layer already exists [2022-04-26T16:31:06.291Z] 063de7fe751e: Layer already exists [2022-04-26T16:31:06.291Z] f73e7dbfee58: Layer already exists [2022-04-26T16:31:06.564Z] main: digest: sha256:57451720db73b62603d90a55f71843d3e6ebed5b5e1c6e5a60d7c6c4aaecc865 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T16:31:06.614Z] ===================================================== [Pipeline] echo [2022-04-26T16:31:06.626Z] taggedImages: [2022-04-26T16:31:06.626Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa [2022-04-26T16:31:06.626Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-26T16:31:06.626Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.13 [2022-04-26T16:31:06.626Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 [2022-04-26T16:31:06.626Z] - 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-26T16:31:07.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:31:07.005Z] [2022-04-26T16:31:07.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:07.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:31:07.646Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T16:31:07.646Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T16:31:07.646Z] 04944245beec: Pulling fs layer [2022-04-26T16:31:07.646Z] 699f458cf7ca: Pulling fs layer [2022-04-26T16:31:07.646Z] 765212b225bb: Pulling fs layer [2022-04-26T16:31:07.646Z] f23df028b6ca: Pulling fs layer [2022-04-26T16:31:07.646Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T16:31:07.646Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T16:31:07.646Z] f23df028b6ca: Waiting [2022-04-26T16:31:07.646Z] d65c8cfc05b1: Waiting [2022-04-26T16:31:07.646Z] 2437ff75d9bd: Waiting [2022-04-26T16:31:07.646Z] 765212b225bb: Waiting [2022-04-26T16:31:07.646Z] 04944245beec: Verifying Checksum [2022-04-26T16:31:07.646Z] 04944245beec: Download complete [2022-04-26T16:31:07.646Z] 765212b225bb: Verifying Checksum [2022-04-26T16:31:07.646Z] 765212b225bb: Download complete [2022-04-26T16:31:07.646Z] f23df028b6ca: Verifying Checksum [2022-04-26T16:31:07.646Z] f23df028b6ca: Download complete [2022-04-26T16:31:07.646Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T16:31:07.646Z] d65c8cfc05b1: Download complete [2022-04-26T16:31:07.646Z] 699f458cf7ca: Verifying Checksum [2022-04-26T16:31:07.646Z] 699f458cf7ca: Download complete [2022-04-26T16:31:08.250Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T16:31:08.250Z] 8998bd30e6a1: Download complete [2022-04-26T16:31:10.231Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T16:31:10.231Z] 2437ff75d9bd: Download complete [2022-04-26T16:31:12.861Z] 8998bd30e6a1: Pull complete [2022-04-26T16:31:13.135Z] 04944245beec: Pull complete [2022-04-26T16:31:14.575Z] 699f458cf7ca: Pull complete [2022-04-26T16:31:14.851Z] 765212b225bb: Pull complete [2022-04-26T16:31:15.450Z] f23df028b6ca: Pull complete [2022-04-26T16:31:15.724Z] d65c8cfc05b1: Pull complete [2022-04-26T16:31:30.828Z] 2437ff75d9bd: Pull complete [2022-04-26T16:31:30.828Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T16:31:30.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:31:30.828Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T16:31:31.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-28021 does not seem to be running inside a container [2022-04-26T16:31:31.164Z] $ 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/31 -v /w/workspace/device-modbus-go/31:/w/workspace/device-modbus-go/31:rw,z -v /w/workspace/device-modbus-go/31@tmp:/w/workspace/device-modbus-go/31@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-26T16:31:33.721Z] $ docker top d84c83e18dc8de8237cf7cfd262490efc0b2b4289785dd7909f10ef833de7688 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:31:34.689Z] ---> job-cost.sh [2022-04-26T16:31:34.689Z] lf-activate-venv: SKIPPING [2022-04-26T16:31:34.689Z] INFO: No Stack... [2022-04-26T16:31:34.963Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T16:31:35.940Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T16:31:36.604Z] + + catcut -d, -f6 [2022-04-26T16:31:36.604Z] /w/workspace/device-modbus-go/31/archives/cost.csv [Pipeline] lock [2022-04-26T16:31:36.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] [2022-04-26T16:31:36.681Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] did not exist. Created. [2022-04-26T16:31:36.681Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T16:31:37.369Z] /w/workspace/device-modbus-go/31@tmp/durable-6b822c71/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T16:31:38.055Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T16:31:38.082Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T16:31:38.134Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T16:31:38.141Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T16:31:38.169Z] $ docker stop --time=1 d84c83e18dc8de8237cf7cfd262490efc0b2b4289785dd7909f10ef833de7688 [2022-04-26T16:31:39.663Z] $ docker rm -f d84c83e18dc8de8237cf7cfd262490efc0b2b4289785dd7909f10ef833de7688 [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-26T16:31:40.229Z] provisioning config files... [2022-04-26T16:31:40.239Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config973360445558829770tmp [Pipeline] { [Pipeline] sh [2022-04-26T16:31:40.543Z] + set +x [2022-04-26T16:31:40.543Z] + + bash -s -- [2022-04-26T16:31:40.543Z] curl -s https://codecov.io/bash [2022-04-26T16:31:40.543Z] [2022-04-26T16:31:40.543Z] _____ _ [2022-04-26T16:31:40.543Z] / ____| | | [2022-04-26T16:31:40.543Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T16:31:40.543Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T16:31:40.543Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T16:31:40.543Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T16:31:40.543Z] Bash-1.0.6 [2022-04-26T16:31:40.543Z] [2022-04-26T16:31:40.543Z] [2022-04-26T16:31:40.543Z] ==> git version 2.25.1 found [2022-04-26T16:31:40.543Z] ==> 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-26T16:31:40.543Z] Release-Date: 2020-01-08 [2022-04-26T16:31:40.543Z] 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-26T16:31:40.543Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T16:31:40.543Z] ==> Jenkins CI detected. [2022-04-26T16:31:40.543Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-04-26T16:31:40.543Z] project root: . [2022-04-26T16:31:40.543Z] --> token set from env [2022-04-26T16:31:40.543Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T16:31:40.543Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T16:31:40.543Z] ==> Python coveragepy not found [2022-04-26T16:31:40.543Z] ==> Searching for coverage reports in: [2022-04-26T16:31:40.543Z] + . [2022-04-26T16:31:40.543Z] -> Found 1 reports [2022-04-26T16:31:40.543Z] ==> Detecting git/mercurial file structure [2022-04-26T16:31:40.543Z] ==> Reading reports [2022-04-26T16:31:40.543Z] + ./coverage.out bytes=24065 [2022-04-26T16:31:40.543Z] ==> Appending adjustments [2022-04-26T16:31:40.543Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T16:31:40.804Z] + Found adjustments [2022-04-26T16:31:40.804Z] ==> Gzipping contents [2022-04-26T16:31:40.805Z] 4.0K /tmp/codecov.V8O7rT.gz [2022-04-26T16:31:40.805Z] ==> Uploading reports [2022-04-26T16:31:40.805Z] url: https://codecov.io [2022-04-26T16:31:40.805Z] query: branch=main&commit=e01a1226a5cf77919213724cb5799907c2b0adaa&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-26T16:31:40.805Z] -> Pinging Codecov [2022-04-26T16:31:40.805Z] 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=e01a1226a5cf77919213724cb5799907c2b0adaa&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-26T16:31:41.066Z] -> Uploading to [2022-04-26T16:31:41.066Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/55DBCA73C666E3227836607328DD7E49/e01a1226a5cf77919213724cb5799907c2b0adaa/271dfa22-1af3-4f61-8ba5-b4d6adf33061.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T163140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cf23b75910fdfca7fb043fb746c02554bd86fa0d81ff2aae86d4365ced172cb9 [2022-04-26T16:31:41.066Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T16:31:41.066Z] Dload Upload Total Spent Left Speed [2022-04-26T16:31:41.327Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4012 0 0 100 4012 0 16716 --:--:-- --:--:-- --:--:-- 16716 [2022-04-26T16:31:41.327Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] } [2022-04-26T16:31:41.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-26T16:31:41.469Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-26T16:31:41.482Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:41.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T16:31:41.777Z] [2022-04-26T16:31:41.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:31:42.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T16:31:42.080Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-26T16:31:42.080Z] 188c0c94c7c5: Pulling fs layer [2022-04-26T16:31:42.080Z] 0ef7d3d256c8: Pulling fs layer [2022-04-26T16:31:42.080Z] de9db76c5a1d: Pulling fs layer [2022-04-26T16:31:42.080Z] 0eba1c9be4d2: Pulling fs layer [2022-04-26T16:31:42.080Z] 0d57e429df01: Pulling fs layer [2022-04-26T16:31:42.080Z] 4e4be7b47b0d: Pulling fs layer [2022-04-26T16:31:42.080Z] e1f770b5df2f: Pulling fs layer [2022-04-26T16:31:42.080Z] 85a0685a4137: Pulling fs layer [2022-04-26T16:31:42.080Z] 0d57e429df01: Waiting [2022-04-26T16:31:42.080Z] 0eba1c9be4d2: Waiting [2022-04-26T16:31:42.080Z] 4e4be7b47b0d: Waiting [2022-04-26T16:31:42.080Z] e1f770b5df2f: Waiting [2022-04-26T16:31:42.080Z] de9db76c5a1d: Download complete [2022-04-26T16:31:42.080Z] 0ef7d3d256c8: Verifying Checksum [2022-04-26T16:31:42.080Z] 0ef7d3d256c8: Download complete [2022-04-26T16:31:42.080Z] 0d57e429df01: Verifying Checksum [2022-04-26T16:31:42.080Z] 0d57e429df01: Download complete [2022-04-26T16:31:42.080Z] 4e4be7b47b0d: Verifying Checksum [2022-04-26T16:31:42.080Z] 4e4be7b47b0d: Download complete [2022-04-26T16:31:42.080Z] 188c0c94c7c5: Verifying Checksum [2022-04-26T16:31:42.080Z] 188c0c94c7c5: Download complete [2022-04-26T16:31:42.342Z] 188c0c94c7c5: Pull complete [2022-04-26T16:31:42.342Z] e1f770b5df2f: Verifying Checksum [2022-04-26T16:31:42.342Z] e1f770b5df2f: Download complete [2022-04-26T16:31:42.342Z] 0ef7d3d256c8: Pull complete [2022-04-26T16:31:42.607Z] de9db76c5a1d: Pull complete [2022-04-26T16:31:42.867Z] 0eba1c9be4d2: Verifying Checksum [2022-04-26T16:31:42.867Z] 0eba1c9be4d2: Download complete [2022-04-26T16:31:42.867Z] 85a0685a4137: Verifying Checksum [2022-04-26T16:31:42.867Z] 85a0685a4137: Download complete [2022-04-26T16:31:46.157Z] 0eba1c9be4d2: Pull complete [2022-04-26T16:31:46.416Z] 0d57e429df01: Pull complete [2022-04-26T16:31:46.416Z] 4e4be7b47b0d: Pull complete [2022-04-26T16:31:46.675Z] e1f770b5df2f: Pull complete [2022-04-26T16:31:49.970Z] 85a0685a4137: Pull complete [2022-04-26T16:31:49.970Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-26T16:31:49.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T16:31:49.970Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-26T16:31:50.088Z] prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container [2022-04-26T16:31:50.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-26T16:31:52.907Z] $ docker top 2c266952815c209e789a201e19bcf1a5eaf2e89a9dd36124c6ba8e35bbf22602 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-26T16:31:52.966Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-26T16:31:53.249Z] + set -o pipefail [2022-04-26T16:31:53.249Z] + snyk monitor '--org=edgex-jenkins' [2022-04-26T16:31:58.539Z] [2022-04-26T16:31:58.539Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-04-26T16:31:58.539Z] [2022-04-26T16:31:58.539Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/2cbb335f-5088-4c74-8822-0725dd3f5d7c [2022-04-26T16:31:58.539Z] [2022-04-26T16:31:58.539Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-04-26T16:31:58.539Z] [2022-04-26T16:31:58.539Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-26T16:31:58.539Z] [2022-04-26T16:31:58.539Z] [Pipeline] } [2022-04-26T16:31:58.578Z] $ docker stop --time=1 2c266952815c209e789a201e19bcf1a5eaf2e89a9dd36124c6ba8e35bbf22602 [2022-04-26T16:32:01.040Z] $ docker rm -f 2c266952815c209e789a201e19bcf1a5eaf2e89a9dd36124c6ba8e35bbf22602 [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-26T16:32:01.752Z] + git log --format=format:%s -1 e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] sh [2022-04-26T16:32:02.051Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:32:02.051Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:32:02.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:32:02.356Z] . [Pipeline] withDockerContainer [2022-04-26T16:32:02.429Z] prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container [2022-04-26T16:32:02.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T16:32:02.957Z] $ docker top e89a3520d38cca6a4149025a3ed09477eb0ea09d4e21ba59ef26b62590dc7dab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:32:03.035Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:32:03.035Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:32:03.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:32:03.192Z] $ docker exec e89a3520d38cca6a4149025a3ed09477eb0ea09d4e21ba59ef26b62590dc7dab ssh-agent [2022-04-26T16:32:03.284Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIlnHOc/agent.14 [2022-04-26T16:32:03.284Z] SSH_AGENT_PID=20 [2022-04-26T16:32:03.289Z] Running ssh-add (command line suppressed) [2022-04-26T16:32:03.421Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8111125144545277263.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8111125144545277263.key) [2022-04-26T16:32:03.410Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:32:03.701Z] + git semver tag [2022-04-26T16:32:03.701Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:32:03.701Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-26T16:32:03.701Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-26T16:32:03.701Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:32:03.701Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:32:03.701Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:32:03.701Z] # $SEMVER_BRANCH = main [2022-04-26T16:32:03.701Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-26T16:32:03.701Z] # e01a1226a5cf77919213724cb5799907c2b0adaa HEAD [2022-04-26T16:32:03.701Z] # -> Force: false [2022-04-26T16:32:03.701Z] # 71381e8fbb91020a9acf9f43440a2016c307d25a refs/tags/v2.2.0-dev.13 [Pipeline] } [2022-04-26T16:32:03.734Z] $ docker exec --env ******** --env ******** e89a3520d38cca6a4149025a3ed09477eb0ea09d4e21ba59ef26b62590dc7dab ssh-agent -k [2022-04-26T16:32:03.841Z] unset SSH_AUTH_SOCK; [2022-04-26T16:32:03.841Z] unset SSH_AGENT_PID; [2022-04-26T16:32:03.841Z] echo Agent pid 20 killed; [2022-04-26T16:32:03.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:32:04.136Z] + git semver [Pipeline] } [2022-04-26T16:32:04.176Z] $ docker stop --time=1 e89a3520d38cca6a4149025a3ed09477eb0ea09d4e21ba59ef26b62590dc7dab [2022-04-26T16:32:05.488Z] $ docker rm -f e89a3520d38cca6a4149025a3ed09477eb0ea09d4e21ba59ef26b62590dc7dab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:32:05.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T16:32:05.871Z] [2022-04-26T16:32:05.871Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:32:06.179Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T16:32:06.179Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-26T16:32:06.179Z] ab5ef0e58194: Pulling fs layer [2022-04-26T16:32:06.179Z] 9712f1f96733: Pulling fs layer [2022-04-26T16:32:06.179Z] 63f879dbbcfc: Pulling fs layer [2022-04-26T16:32:06.179Z] 0d9ebad4ef96: Pulling fs layer [2022-04-26T16:32:06.179Z] e9a5061849ea: Pulling fs layer [2022-04-26T16:32:06.179Z] d747dcd14b5f: Pulling fs layer [2022-04-26T16:32:06.179Z] 2de7ff778b66: Pulling fs layer [2022-04-26T16:32:06.179Z] 0d9ebad4ef96: Waiting [2022-04-26T16:32:06.179Z] e9a5061849ea: Waiting [2022-04-26T16:32:06.179Z] d747dcd14b5f: Waiting [2022-04-26T16:32:06.179Z] 2de7ff778b66: Waiting [2022-04-26T16:32:06.179Z] 9712f1f96733: Verifying Checksum [2022-04-26T16:32:06.440Z] 63f879dbbcfc: Verifying Checksum [2022-04-26T16:32:06.440Z] 63f879dbbcfc: Download complete [2022-04-26T16:32:06.699Z] e9a5061849ea: Verifying Checksum [2022-04-26T16:32:06.699Z] e9a5061849ea: Download complete [2022-04-26T16:32:06.699Z] d747dcd14b5f: Download complete [2022-04-26T16:32:06.699Z] 0d9ebad4ef96: Verifying Checksum [2022-04-26T16:32:06.699Z] 0d9ebad4ef96: Download complete [2022-04-26T16:32:06.699Z] ab5ef0e58194: Verifying Checksum [2022-04-26T16:32:06.699Z] ab5ef0e58194: Download complete [2022-04-26T16:32:06.699Z] 2de7ff778b66: Verifying Checksum [2022-04-26T16:32:06.699Z] 2de7ff778b66: Download complete [2022-04-26T16:32:09.990Z] ab5ef0e58194: Pull complete [2022-04-26T16:32:09.990Z] 9712f1f96733: Pull complete [2022-04-26T16:32:10.252Z] 63f879dbbcfc: Pull complete [2022-04-26T16:32:14.451Z] 0d9ebad4ef96: Pull complete [2022-04-26T16:32:14.451Z] e9a5061849ea: Pull complete [2022-04-26T16:32:14.451Z] d747dcd14b5f: Pull complete [2022-04-26T16:32:15.388Z] 2de7ff778b66: Pull complete [2022-04-26T16:32:15.388Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-26T16:32:15.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T16:32:15.388Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-26T16:32:15.453Z] prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container [2022-04-26T16:32:15.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-26T16:32:17.784Z] $ docker top be79224f828dedd0f1dc94d551101bb31124a2e03ce18f1743f7cc055c0c37ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:32:17.844Z] provisioning config files... [2022-04-26T16:32:17.853Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5461082034192796089tmp [2022-04-26T16:32:17.863Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8255795447252307936tmp [2022-04-26T16:32:17.874Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5036840989751097971tmp [Pipeline] { [Pipeline] echo [2022-04-26T16:32:17.890Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:32:18.177Z] ---> sigul-configuration.sh [2022-04-26T16:32:18.177Z] gpg: directory `/root/.gnupg' created [2022-04-26T16:32:18.177Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-26T16:32:18.177Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-26T16:32:18.177Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-26T16:32:18.177Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-26T16:32:18.177Z] gpg: CAST5 encrypted data [2022-04-26T16:32:18.177Z] gpg: encrypted with 1 passphrase [2022-04-26T16:32:18.177Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-26T16:32:18.466Z] + mkdir /home/jenkins [2022-04-26T16:32:18.467Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-26T16:32:18.759Z] + 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-26T16:32:18.768Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:32:19.057Z] ---> sigul-install.sh [2022-04-26T16:32:19.057Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-26T16:32:19.348Z] + git tag --list [2022-04-26T16:32:19.348Z] 0.7.1 [2022-04-26T16:32:19.348Z] v1.0.0 [2022-04-26T16:32:19.348Z] v1.1.0 [2022-04-26T16:32:19.348Z] v1.1.1 [2022-04-26T16:32:19.348Z] v1.2.2 [2022-04-26T16:32:19.348Z] v1.3.0 [2022-04-26T16:32:19.348Z] v1.3.1 [2022-04-26T16:32:19.348Z] v2.0.0 [2022-04-26T16:32:19.348Z] v2.0.1-dev.1 [2022-04-26T16:32:19.348Z] v2.0.1-dev.10 [2022-04-26T16:32:19.348Z] v2.0.1-dev.11 [2022-04-26T16:32:19.348Z] v2.0.1-dev.12 [2022-04-26T16:32:19.348Z] v2.0.1-dev.2 [2022-04-26T16:32:19.348Z] v2.0.1-dev.3 [2022-04-26T16:32:19.348Z] v2.0.1-dev.4 [2022-04-26T16:32:19.348Z] v2.0.1-dev.5 [2022-04-26T16:32:19.348Z] v2.0.1-dev.6 [2022-04-26T16:32:19.348Z] v2.0.1-dev.7 [2022-04-26T16:32:19.348Z] v2.0.1-dev.8 [2022-04-26T16:32:19.348Z] v2.0.1-dev.9 [2022-04-26T16:32:19.348Z] v2.1.0 [2022-04-26T16:32:19.348Z] v2.2.0-dev.1 [2022-04-26T16:32:19.348Z] v2.2.0-dev.10 [2022-04-26T16:32:19.348Z] v2.2.0-dev.11 [2022-04-26T16:32:19.348Z] v2.2.0-dev.12 [2022-04-26T16:32:19.348Z] v2.2.0-dev.13 [2022-04-26T16:32:19.348Z] v2.2.0-dev.2 [2022-04-26T16:32:19.348Z] v2.2.0-dev.3 [2022-04-26T16:32:19.348Z] v2.2.0-dev.4 [2022-04-26T16:32:19.348Z] v2.2.0-dev.5 [2022-04-26T16:32:19.348Z] v2.2.0-dev.6 [2022-04-26T16:32:19.348Z] v2.2.0-dev.7 [2022-04-26T16:32:19.348Z] v2.2.0-dev.8 [2022-04-26T16:32:19.348Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-26T16:32:19.636Z] + lftools sign git-tag v2.2.0-dev.13 [2022-04-26T16:32:20.209Z] Signing Git tag with Sigul... [2022-04-26T16:32:20.209Z] Signing v2.2.0-dev.13 [Pipeline] echo [2022-04-26T16:32:20.794Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:32:21.084Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-26T16:32:21.093Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-26T16:32:21.143Z] $ docker stop --time=1 be79224f828dedd0f1dc94d551101bb31124a2e03ce18f1743f7cc055c0c37ed [2022-04-26T16:32:22.459Z] $ docker rm -f be79224f828dedd0f1dc94d551101bb31124a2e03ce18f1743f7cc055c0c37ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-26T16:32:22.859Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:32:22.859Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:32:23.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:32:23.154Z] . [Pipeline] withDockerContainer [2022-04-26T16:32:23.221Z] prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container [2022-04-26T16:32:23.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T16:32:23.659Z] $ docker top 561c745590f6336da80eb8650ab5d756c1c359f976613d7e0a112390c070e3c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:32:23.727Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:32:23.727Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:32:23.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:32:23.902Z] $ docker exec 561c745590f6336da80eb8650ab5d756c1c359f976613d7e0a112390c070e3c5 ssh-agent [2022-04-26T16:32:24.002Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhJbGoG/agent.14 [2022-04-26T16:32:24.002Z] SSH_AGENT_PID=21 [2022-04-26T16:32:24.012Z] Running ssh-add (command line suppressed) [2022-04-26T16:32:24.136Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_247018659505377276.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_247018659505377276.key) [2022-04-26T16:32:24.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:32:24.426Z] + git semver bump pre [2022-04-26T16:32:24.426Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:32:24.426Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-26T16:32:24.426Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-26T16:32:24.426Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:32:24.426Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:32:24.426Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:32:24.426Z] # $SEMVER_BRANCH = main [2022-04-26T16:32:24.426Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-26T16:32:24.426Z] 2.2.0-dev.14 [Pipeline] } [2022-04-26T16:32:24.462Z] $ docker exec --env ******** --env ******** 561c745590f6336da80eb8650ab5d756c1c359f976613d7e0a112390c070e3c5 ssh-agent -k [2022-04-26T16:32:24.576Z] unset SSH_AUTH_SOCK; [2022-04-26T16:32:24.576Z] unset SSH_AGENT_PID; [2022-04-26T16:32:24.576Z] echo Agent pid 21 killed; [2022-04-26T16:32:24.563Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:32:24.876Z] + git semver [Pipeline] } [2022-04-26T16:32:24.916Z] $ docker stop --time=1 561c745590f6336da80eb8650ab5d756c1c359f976613d7e0a112390c070e3c5 [2022-04-26T16:32:26.226Z] $ docker rm -f 561c745590f6336da80eb8650ab5d756c1c359f976613d7e0a112390c070e3c5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:32:26.565Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:32:26.566Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:32:26.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:32:26.872Z] . [Pipeline] withDockerContainer [2022-04-26T16:32:26.944Z] prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container [2022-04-26T16:32:27.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T16:32:27.395Z] $ docker top d51a1e137289bf0ea7268994f8d2f812c78d2a3e84f7a907ac9fc4f6eb66e168 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:32:27.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:32:27.463Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:32:27.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:32:27.621Z] $ docker exec d51a1e137289bf0ea7268994f8d2f812c78d2a3e84f7a907ac9fc4f6eb66e168 ssh-agent [2022-04-26T16:32:27.711Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXboPHac/agent.14 [2022-04-26T16:32:27.711Z] SSH_AGENT_PID=21 [2022-04-26T16:32:27.717Z] Running ssh-add (command line suppressed) [2022-04-26T16:32:27.868Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2826087358061322948.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2826087358061322948.key) [2022-04-26T16:32:27.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:32:28.149Z] + git semver push [2022-04-26T16:32:28.149Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:32:28.149Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-26T16:32:28.149Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-26T16:32:28.149Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:32:28.149Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:32:28.149Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:32:28.149Z] # $SEMVER_BRANCH = main [2022-04-26T16:32:28.149Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-26T16:32:30.733Z] $ docker exec --env ******** --env ******** d51a1e137289bf0ea7268994f8d2f812c78d2a3e84f7a907ac9fc4f6eb66e168 ssh-agent -k [2022-04-26T16:32:30.834Z] unset SSH_AUTH_SOCK; [2022-04-26T16:32:30.834Z] unset SSH_AGENT_PID; [2022-04-26T16:32:30.834Z] echo Agent pid 21 killed; [2022-04-26T16:32:30.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:32:31.139Z] + git semver [Pipeline] } [2022-04-26T16:32:31.177Z] $ docker stop --time=1 d51a1e137289bf0ea7268994f8d2f812c78d2a3e84f7a907ac9fc4f6eb66e168 [2022-04-26T16:32:32.526Z] $ docker rm -f d51a1e137289bf0ea7268994f8d2f812c78d2a3e84f7a907ac9fc4f6eb66e168 [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-26T16:32:33.153Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-04-26T16:32:33.153Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-26T16:32:33.153Z] total 16 [2022-04-26T16:32:33.153Z] drwxr-xr-x 3 root root 4096 Apr 26 15:45 . [2022-04-26T16:32:33.153Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:32 .. [2022-04-26T16:32:33.153Z] drwxr-xr-x 2 root root 4096 Apr 26 15:45 cost [2022-04-26T16:32:33.153Z] -rw-r--r-- 1 root root 86 Apr 26 15:45 cost.csv [2022-04-26T16:32:33.153Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-26T16:32:33.153Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-26T16:32:33.153Z] total 16 [2022-04-26T16:32:33.153Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:45 . [2022-04-26T16:32:33.153Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:32 .. [2022-04-26T16:32:33.153Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:45 cost [2022-04-26T16:32:33.153Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 26 15:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:32:33.449Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:32:34.320Z] ---> package-listing.sh [2022-04-26T16:32:34.320Z] ++ facter osfamily [2022-04-26T16:32:34.320Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T16:32:34.581Z] + OS_FAMILY=debian [2022-04-26T16:32:34.581Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-04-26T16:32:34.581Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T16:32:34.581Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T16:32:34.581Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T16:32:34.581Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T16:32:34.581Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-26T16:32:34.581Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T16:32:34.581Z] + case "${OS_FAMILY}" in [2022-04-26T16:32:34.581Z] + dpkg -l [2022-04-26T16:32:34.581Z] + grep '^ii' [2022-04-26T16:32:34.581Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T16:32:34.581Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T16:32:34.581Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T16:32:34.581Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-26T16:32:34.581Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-04-26T16:32:34.581Z] + 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-26T16:32:34.595Z] 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-26T16:32:34.877Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:32:35.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:32:35.438Z] . [Pipeline] withDockerContainer [2022-04-26T16:32:35.511Z] prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container [2022-04-26T16:32:35.574Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T16:32:35.814Z] $ docker top 6c5da8c52b98777746a34af96b1d5d8c73ee3b9ab8bbc1fd3e35080bc7f0d1c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:32:36.148Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T16:32:36.439Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T16:32:36.727Z] + ls /var/log/sa-host [2022-04-26T16:32:36.727Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:32:36.823Z] provisioning config files... [2022-04-26T16:32:36.834Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config128462635144062917tmp [Pipeline] { [Pipeline] echo [2022-04-26T16:32:36.852Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:32:37.138Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T16:32:37.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:32:37.484Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T16:32:37.496Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:32:37.783Z] ---> sudo-logs.sh [2022-04-26T16:32:37.784Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T16:32:37.808Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:32:38.097Z] ---> job-cost.sh [2022-04-26T16:32:38.097Z] lf-activate-venv: SKIPPING [2022-04-26T16:32:38.097Z] DEBUG: total: 0.2199999988079071 [2022-04-26T16:32:38.097Z] INFO: Retrieving Stack Cost... [2022-04-26T16:32:38.670Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T16:32:39.244Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T16:32:39.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:32:39.545Z] ---> logs-deploy.sh [2022-04-26T16:32:39.545Z] lf-activate-venv: SKIPPING [2022-04-26T16:32:39.545Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/31 [2022-04-26T16:32:39.545Z] INFO: archiving workspace using pattern(s): [2022-04-26T16:32:40.491Z] Archives upload complete. [2022-04-26T16:32:40.491Z] INFO: archiving logs to Nexus